From 8111fd0a21e21a9686818968ba115917dcfd7335 Mon Sep 17 00:00:00 2001 From: Iakov 'Jake' Kirilenko Date: Sat, 18 Nov 2023 18:24:12 +0300 Subject: [PATCH 1/6] Merge MevisLab/pythonqt master with 5.15 support --- README.md | 6 +- .../CPPPyWrapperExample.pro | 2 - .../PyCPPWrapperExample.pro | 4 +- .../PyCustomMetaTypeExample.pro | 4 +- .../PyDecoratorsExample.pro | 4 +- .../PyGettingStarted/PyGettingStarted.pro | 4 +- examples/PyGuiExample/PyGuiExample.pro | 4 +- examples/PyLauncher/PyLauncher.pro | 4 +- .../PyScriptingConsole/PyScriptingConsole.pro | 4 +- generator/abstractmetabuilder.cpp | 266 +- generator/abstractmetabuilder.h | 6 +- generator/abstractmetalang.cpp | 32 +- generator/abstractmetalang.h | 24 +- generator/asttoxml.cpp | 23 +- generator/generator.cpp | 4 +- generator/generator.pri | 5 + generator/generatorsetqtscript.cpp | 23 +- generator/generatorsetqtscript.h | 1 + generator/main.cpp | 17 +- generator/main.h | 26 +- generator/parser/ast.cpp | 2 +- generator/parser/ast.h | 2 + generator/parser/binder.cpp | 11 +- generator/parser/codemodel.cpp | 86 +- generator/parser/codemodel.h | 77 +- generator/parser/codemodel_pointer.h | 14 +- generator/parser/compiler_utils.cpp | 2 + generator/parser/compiler_utils.h | 1 - generator/parser/control.cpp | 9 +- generator/parser/control.h | 4 + generator/parser/declarator_compiler.cpp | 2 +- generator/parser/lexer.cpp | 2657 ++++++------- generator/parser/lexer.h | 6 +- generator/parser/name_compiler.cpp | 10 +- generator/parser/parser.cpp | 767 ++-- generator/parser/parser.h | 32 +- generator/parser/rpp/pp-engine-bits.h | 6 +- generator/parser/rpp/pp-environment.h | 4 +- generator/parser/rpp/pp-internal.h | 6 +- generator/parser/rpp/pp-macro-expander.h | 16 +- generator/parser/rpp/pp-macro.h | 2 +- generator/parser/rpp/preprocessor.cpp | 2 +- generator/parser/tokens.cpp | 27 +- generator/parser/tokens.h | 7 +- generator/parser/type_compiler.cpp | 23 +- generator/parser/type_compiler.h | 4 +- generator/prigenerator.cpp | 18 +- generator/prigenerator.h | 4 + generator/qtscript_masterinclude.h | 52 +- generator/setupgenerator.cpp | 42 +- generator/setupgenerator.h | 12 +- generator/shellgenerator.cpp | 27 +- generator/shellgenerator.h | 2 - generator/shellheadergenerator.cpp | 88 +- generator/shellimplgenerator.cpp | 6 +- generator/typeparser.cpp | 11 +- generator/typesystem.cpp | 3463 +++++++++-------- generator/typesystem.h | 39 +- generator/typesystem_core.xml | 50 +- generator/typesystem_gui.xml | 23 +- generator/typesystem_network.xml | 3 + generator/typesystem_qml.xml | 1 + src/PythonQt.cpp | 6 +- src/PythonQtClassInfo.cpp | 5 + src/PythonQtConversion.cpp | 50 +- src/PythonQtConversion.h | 2 + src/PythonQtImporter.cpp | 22 +- src/PythonQtMethodInfo.cpp | 13 +- src/PythonQtPythonInclude.h | 4 - src/PythonQtSlot.cpp | 2 +- src/PythonQtStdDecorators.cpp | 8 +- src/PythonQtStdDecorators.h | 27 +- src/PythonQtVariants.h | 3 +- src/gui/PythonQtScriptingConsole.h | 2 +- src/src.pro | 10 +- tests/tests.pro | 4 +- 76 files changed, 4517 insertions(+), 3724 deletions(-) diff --git a/README.md b/README.md index eaec7848..c9d52a99 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ the directory where the python lib file is located. Then you should set the When using the prebuild Python installer, this will be: ```cmd -set PYTHON_PATH=c:\Python38 -set PYTHON_LIB=c:\Python38\libs -set PYTHON_VERSION=38 +set PYTHON_PATH=c:\Python311 +set PYTHON_LIB=c:\Python311\libs +set PYTHON_VERSION=3.11 ``` diff --git a/examples/CPPPyWrapperExample/CPPPyWrapperExample.pro b/examples/CPPPyWrapperExample/CPPPyWrapperExample.pro index 81968172..14851bcd 100644 --- a/examples/CPPPyWrapperExample/CPPPyWrapperExample.pro +++ b/examples/CPPPyWrapperExample/CPPPyWrapperExample.pro @@ -9,9 +9,7 @@ mac:CONFIG -= app_bundle include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) -contains(QT_MAJOR_VERSION, 5) { QT += widgets -} SOURCES += \ CPPPyWrapperExample.cpp diff --git a/examples/PyCPPWrapperExample/PyCPPWrapperExample.pro b/examples/PyCPPWrapperExample/PyCPPWrapperExample.pro index d8d378b5..d8ca30c5 100644 --- a/examples/PyCPPWrapperExample/PyCPPWrapperExample.pro +++ b/examples/PyCPPWrapperExample/PyCPPWrapperExample.pro @@ -12,9 +12,7 @@ TEMPLATE = app include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets HEADERS += \ CustomObjects.h diff --git a/examples/PyCustomMetaTypeExample/PyCustomMetaTypeExample.pro b/examples/PyCustomMetaTypeExample/PyCustomMetaTypeExample.pro index 69db9b5a..952449f5 100644 --- a/examples/PyCustomMetaTypeExample/PyCustomMetaTypeExample.pro +++ b/examples/PyCustomMetaTypeExample/PyCustomMetaTypeExample.pro @@ -12,9 +12,7 @@ DESTDIR = ../../lib include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets HEADERS += \ CustomObject.h diff --git a/examples/PyDecoratorsExample/PyDecoratorsExample.pro b/examples/PyDecoratorsExample/PyDecoratorsExample.pro index 7367f220..06bb8de4 100644 --- a/examples/PyDecoratorsExample/PyDecoratorsExample.pro +++ b/examples/PyDecoratorsExample/PyDecoratorsExample.pro @@ -12,9 +12,7 @@ DESTDIR = ../../lib include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets HEADERS += \ PyExampleDecorators.h diff --git a/examples/PyGettingStarted/PyGettingStarted.pro b/examples/PyGettingStarted/PyGettingStarted.pro index 1a5fee84..bf1d4d05 100644 --- a/examples/PyGettingStarted/PyGettingStarted.pro +++ b/examples/PyGettingStarted/PyGettingStarted.pro @@ -14,9 +14,7 @@ CONFIG += console include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets SOURCES += \ main.cpp diff --git a/examples/PyGuiExample/PyGuiExample.pro b/examples/PyGuiExample/PyGuiExample.pro index 7baa529b..bd200da0 100644 --- a/examples/PyGuiExample/PyGuiExample.pro +++ b/examples/PyGuiExample/PyGuiExample.pro @@ -11,9 +11,7 @@ mac:CONFIG -= app_bundle DESTDIR = ../../lib -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) diff --git a/examples/PyLauncher/PyLauncher.pro b/examples/PyLauncher/PyLauncher.pro index f1f98b40..e8b9686b 100644 --- a/examples/PyLauncher/PyLauncher.pro +++ b/examples/PyLauncher/PyLauncher.pro @@ -11,9 +11,7 @@ mac:CONFIG -= app_bundle DESTDIR = ../../lib -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) diff --git a/examples/PyScriptingConsole/PyScriptingConsole.pro b/examples/PyScriptingConsole/PyScriptingConsole.pro index c7e24e48..b6e572ee 100644 --- a/examples/PyScriptingConsole/PyScriptingConsole.pro +++ b/examples/PyScriptingConsole/PyScriptingConsole.pro @@ -15,9 +15,7 @@ include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) include ( ../../build/PythonQt_QtAll.prf ) -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets HEADERS += \ PyExampleObject.h diff --git a/generator/abstractmetabuilder.cpp b/generator/abstractmetabuilder.cpp index 623979c7..e7cb889b 100644 --- a/generator/abstractmetabuilder.cpp +++ b/generator/abstractmetabuilder.cpp @@ -54,7 +54,9 @@ #include #include #include -#include +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) +# include +#endif #include #include @@ -148,6 +150,11 @@ AbstractMetaBuilder::AbstractMetaBuilder() { } +AbstractMetaBuilder::~AbstractMetaBuilder() +{ + qDeleteAll(m_meta_classes); +} + void AbstractMetaBuilder::checkFunctionModifications() { TypeDatabase *types = TypeDatabase::instance(); @@ -358,33 +365,27 @@ void AbstractMetaBuilder::traverseBinaryArithmeticOperator(FunctionModelItem ite } void AbstractMetaBuilder::fixQObjectForScope(TypeDatabase *types, - NamespaceModelItem scope) + NamespaceModelItem scope) { for (ClassModelItem item : scope->classes()) { QString qualified_name = item->qualifiedName().join("::"); TypeEntry *entry = types->findType(qualified_name); if (entry) { - if (isQObject(qualified_name) && entry->isComplex()) { - ((ComplexTypeEntry *) entry)->setQObject(true); - } - } + if (isQObject(qualified_name) && entry->isComplex()) { + ((ComplexTypeEntry *) entry)->setQObject(true); + } + } } for (NamespaceModelItem item : scope->namespaceMap().values()) { if (scope != item) - fixQObjectForScope(types, item); + fixQObjectForScope(types, item); } } -static bool class_less_than(AbstractMetaClass *a, AbstractMetaClass *b) -{ - return a->name() < b->name(); -} - - void AbstractMetaBuilder::sortLists() { - qSort(m_meta_classes.begin(), m_meta_classes.end(), class_less_than); + m_meta_classes.sort(); for (AbstractMetaClass *cls : m_meta_classes) { cls->sortFunctions(); } @@ -400,11 +401,15 @@ bool AbstractMetaBuilder::build() return false; QTextStream stream(&file); - stream.setCodec(QTextCodec::codecForName("UTF-8")); +# if QT_VERSION < QT_VERSION_CHECK(6,0,0) + stream.setCodec(QTextCodec::codecForName("UTF-8")); + /* Note required in Qt6: see the same call in asttoxml.cpp */ +# endif QByteArray contents = stream.readAll().toUtf8(); file.close(); Control control; + control.setSkipFunctionBody(true); Parser p(&control); pool __pool; @@ -612,7 +617,15 @@ void AbstractMetaBuilder::addAbstractMetaClass(AbstractMetaClass *cls) cls->setOriginalAttributes(cls->attributes()); if (cls->typeEntry()->isContainer()) { - m_templates << cls; + QString name = cls->typeEntry()->name(); + if (cls->functions().size() || cls->baseClassNames().size()) { + if (!m_templates.contains(name)) { + m_templates[name] = cls; + } + else { + ReportHandler::warning(QString("Duplicate container type template '%1'").arg(name)); + } + } } else { m_meta_classes << cls; if (cls->typeEntry()->designatedInterface()) { @@ -971,7 +984,7 @@ AbstractMetaEnum *AbstractMetaBuilder::traverseEnum(EnumModelItem enum_item, Abs meta_enum->addEnumValue(meta_enum_value); ReportHandler::debugFull(" - " + meta_enum_value->name() + " = " - + meta_enum_value->value()); + + QString::number(meta_enum_value->value())); // Add into global register... if (enclosing) @@ -1091,6 +1104,7 @@ AbstractMetaClass *AbstractMetaBuilder::traverseClass(ClassModelItem class_item) template_args.append(param_type); } meta_class->setTemplateArguments(template_args); + meta_class->setHasActualDeclaration(class_item->hasActualDeclaration()); parseQ_Property(meta_class, class_item->propertyDeclarations()); @@ -1125,8 +1139,9 @@ AbstractMetaClass *AbstractMetaBuilder::traverseClass(ClassModelItem class_item) m_current_class = old_current_class; - // Set the default include file name - if (!type->include().isValid()) { + // Set the default include file name. In case we saw an template instance earlier, + // overwrite the include file when we see the actual declaration. + if (!type->include().isValid() || class_item->hasActualDeclaration()) { QFileInfo info(class_item->fileName()); type->setInclude(Include(Include::IncludePath, info.fileName())); } @@ -1238,7 +1253,7 @@ void AbstractMetaBuilder::traverseFunctions(ScopeModelItem scope_item, AbstractM } } else if (QPropertySpec *write = meta_class->propertySpecForWrite(meta_function->name())) { - if (write->type() == meta_function->arguments().at(0)->type()->typeEntry()) { + if (meta_function->arguments().size() == 1 && write->type() == meta_function->arguments().at(0)->type()->typeEntry()) { *meta_function += AbstractMetaAttributes::PropertyWriter; meta_function->setPropertySpec(write); // printf("%s is writer for %s\n", @@ -1332,13 +1347,7 @@ bool AbstractMetaBuilder::setupInheritance(AbstractMetaClass *meta_class) TypeParser::Info info = TypeParser::parse(complete_name); QString base_name = info.qualified_name.join("::"); - AbstractMetaClass *templ = 0; - for (AbstractMetaClass *c : m_templates) { - if (c->typeEntry()->name() == base_name) { - templ = c; - break; - } - } + AbstractMetaClass *templ = m_templates.value(base_name); if (templ == 0) templ = m_meta_classes.findClass(base_name); @@ -1444,7 +1453,13 @@ void AbstractMetaBuilder::traverseEnums(ScopeModelItem scope_item, AbstractMetaC { EnumList enums = scope_item->enums(); for (EnumModelItem enum_item : enums) { - AbstractMetaEnum *meta_enum = traverseEnum(enum_item, meta_class, QSet::fromList(enumsDeclarations)); + AbstractMetaEnum *meta_enum = traverseEnum(enum_item, meta_class, +#if QT_VERSION < QT_VERSION_CHECK(5,14,0) + QSet::fromList(enumsDeclarations) +#else + QSet(enumsDeclarations.begin(), enumsDeclarations.end()) +#endif + ); if (meta_enum) { meta_enum->setOriginalAttributes(meta_enum->attributes()); meta_class->addEnum(meta_enum); @@ -1476,6 +1491,25 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(FunctionModelItem fu return 0; } + // Also filter out functions with template parameters in classes without template arguments + // (we don't support templated classes directly, but derived classes might derive from template instantiations) + if (function_item->templateParameters().size() && m_current_class->templateArguments().empty()) { + return 0; + } + + if (function_item->isAuto()) { + /*TODO: it might work just to output 'auto', but this would require + * understanding what AbstractMetabuild::translateType() does and + * changing it. auto is only used once anyway. + */ + ReportHandler::warning(QString("%1: skipping auto function type '%2'") + .arg(function_name) + .arg(function_item->type().toString())); + m_rejected_functions[class_name + "::" + function_name + " " + function_item->type().toString()] = + UnmatchedReturnType; + return 0; + } + QString cast_type; if (function_name.startsWith("operator")) { @@ -1491,6 +1525,8 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(FunctionModelItem fu AbstractMetaFunction *meta_function = createMetaFunction(); meta_function->setConstant(function_item->isConstant()); + meta_function->setConstexpr(function_item->isConstexpr()); + meta_function->setAuto(function_item->isAuto()); meta_function->setException(function_item->exception()); ReportHandler::debugMedium(QString(" - %2()").arg(function_name)); @@ -1568,6 +1604,11 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(FunctionModelItem fu meta_function->setFunctionType(AbstractMetaFunction::SlotFunction); } + if (function_item->isDeleted()) { + meta_function->setInvalid(true); + return meta_function; + } + ArgumentList arguments = function_item->arguments(); AbstractMetaArgumentList meta_arguments; @@ -1625,15 +1666,15 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(FunctionModelItem fu // If we where not able to translate the default argument make it // reset all default arguments before this one too. - for (int i=0; isetDefaultValueExpression(QString()); - } + } - if (ReportHandler::debugLevel() == ReportHandler::FullDebug) { + if (ReportHandler::debugLevel() == ReportHandler::FullDebug) { for (AbstractMetaArgument *arg : meta_arguments) { ReportHandler::debugFull(" - " + arg->toString()); - } - } + } + } return meta_function; } @@ -1671,7 +1712,7 @@ AbstractMetaType *AbstractMetaBuilder::translateType(const TypeInfo &_typei, boo } - if (typei.isFunctionPointer()) { + if (typei.isFunctionPointer() || typei.isRvalueReference()) { // function pointers or r-value references are not supported *ok = false; return 0; } @@ -1694,10 +1735,12 @@ AbstractMetaType *AbstractMetaBuilder::translateType(const TypeInfo &_typei, boo //newInfo.setArguments(typei.arguments()); newInfo.setIndirections(typei.indirections()); newInfo.setConstant(typei.isConstant()); + newInfo.setConstexpr(typei.isConstexpr()); newInfo.setFunctionPointer(typei.isFunctionPointer()); newInfo.setQualifiedName(typei.qualifiedName()); newInfo.setReference(typei.isReference()); newInfo.setVolatile(typei.isVolatile()); + newInfo.setMutable(typei.isMutable()); AbstractMetaType *elementType = translateType(newInfo, ok); if (!(*ok)) @@ -2458,55 +2501,112 @@ void AbstractMetaBuilder::dumpLog() AbstractMetaClassList AbstractMetaBuilder::classesTopologicalSorted() const { - AbstractMetaClassList res; - - AbstractMetaClassList classes = m_meta_classes; - qSort(classes); - - QSet noDependency; - QHash* > hash; - for (AbstractMetaClass *cls : classes) { - QSet *depends = new QSet(); + /* This function is the standard topological sort of a Directed Acyclic + * Graph (a DAG). It outputs a partially ordered list of the nodes in the + * graph such that a node is output after all of its children. + * + * In the previous implementation it seemed to account for around 68-69% of + * the entire run time of pythonqt_generator however this might be an + * artefact of the profiling technique used as these changes make not + * significant difference to the run time of the generator. + * + * However the previous implementation also leaked memory and modified a + * QHash while iterating over it with a QHashIterator; a potentially fatal + * "use after free". + * + * This version is somewhat like the python equivalent using list + * comprehensions. + */ + + /* Build a hash list of QSet for each class. 'class' is represented + * by a pointer to the AbstractMetaClass from m_meta_classes. + */ + ReportHandler::debugSparse(QString("TSORT: %1 meta classes") + .arg(m_meta_classes.count())); + QHash> classes; + classes.reserve(m_meta_classes.count()); + + for (auto cls : m_meta_classes) { + /* Add the baseClass and the interfaces the class uses. The latter + * are stored in an AbstractMetaClassList which is uses a QList, so: + */ + auto entry(classes.insert(cls, +# if QT_VERSION < QT_VERSION_CHECK(5,14,0) + QSet::fromList(cls->interfaces()) +# else + QSet(cls->interfaces().cbegin(), + cls->interfaces().cend()) +# endif + )); if (cls->baseClass()) - depends->insert(cls->baseClass()); - - for (AbstractMetaClass *interface : cls->interfaces()) { - AbstractMetaClass *impl = interface->primaryInterfaceImplementor(); - if (impl == cls) - continue; - depends->insert(impl); - } - - if (depends->empty()) { - noDependency.insert(cls); - } else { - hash.insert(cls, depends); - } - } - - while (!noDependency.empty()) { - for (AbstractMetaClass *cls : noDependency.values()) { - if(!cls->isInterface()) - res.append(cls); - noDependency.remove(cls); - QHashIterator* > i(hash); - while (i.hasNext()) { - i.next(); - i.value()->remove(cls); - if (i.value()->empty()) { - AbstractMetaClass *key = i.key(); - noDependency.insert(key); - hash.remove(key); - delete(i.value()); - } - } - } - } - - if (!noDependency.empty() || !hash.empty()) { - qWarning("dependency graph was cyclic."); - } - - return res; + entry.value().insert(cls->baseClass()); + entry.value().remove(cls); // may come from interfaces + } + + /* This and the qFatals below are fatal internal errors in the code of + * pythonqt_generator. + */ + if (m_meta_classes.count() != classes.count()) + qFatal("TOPO SORT: duplicate meta classes (%lld != %lld)", + static_cast(m_meta_classes.count()), + static_cast(classes.count())); + + /* Loop: output all the classes with no remaining dependencies to the + * result and then also remove those now output classes from the remaining + * classes in the hash table. + */ + AbstractMetaClassList result; + result.reserve(classes.count()); + QSet handled; + handled.reserve(classes.count()); + int interfaceClasses(0), depthFromLeaf(0); + + while (!classes.empty()) { + handled.clear(); + int iFCount(0); + + /* Output classes where all children have already been output (initially + * the leaf nodes): + */ + for (auto i(classes.cbegin()); i != classes.cend(); ++i) + if (i.value().empty()) + handled.insert(i.key()); + + /* Something must have been done; if not this is not a DAG because + * there is a cycle. + */ + if (handled.empty()) + qFatal("TOPOSORT: %lld cyclic meta classes @depth %d.", + static_cast(classes.count()), depthFromLeaf); + + /* Remove all 'handled' from the hash table. */ + for (auto cls : handled) + if (!classes.remove(cls)) + qFatal("TOPO SORT: class remove failed @depth %d.", + depthFromLeaf); + + /* Then remove the 'handled' set from the classes values: */ + for (QSet &set : classes) + set -= handled; + + /* Output only those handled classes there are not interfaces: */ + for (auto cls : handled) { + if (!cls->isInterface()) + result.append(cls); + else + ++iFCount; + } + + ReportHandler::debugSparse( + QString("TSORT: depth %1: %2 classes (%3 interface)") + .arg(depthFromLeaf).arg(handled.count()).arg(iFCount)); + interfaceClasses += iFCount; + ++depthFromLeaf; + } + + ReportHandler::debugSparse(QString( + "TSORT: %1 result classes, %2 interface classes)") + .arg(result.count()).arg(interfaceClasses)); + return result; } diff --git a/generator/abstractmetabuilder.h b/generator/abstractmetabuilder.h index f4c00b11..13ddf285 100644 --- a/generator/abstractmetabuilder.h +++ b/generator/abstractmetabuilder.h @@ -62,7 +62,7 @@ class AbstractMetaBuilder }; AbstractMetaBuilder(); - virtual ~AbstractMetaBuilder() {}; + virtual ~AbstractMetaBuilder(); AbstractMetaClassList classes() const { return m_meta_classes; } AbstractMetaClassList classesTopologicalSorted() const; @@ -127,7 +127,7 @@ class AbstractMetaBuilder bool isEnum(const QStringList &qualified_name); void fixQObjectForScope (TypeDatabase *types, - NamespaceModelItem item); + NamespaceModelItem item); // QtScript QSet qtMetaTypeDeclaredTypeNames() const @@ -150,7 +150,7 @@ class AbstractMetaBuilder QString m_file_name; AbstractMetaClassList m_meta_classes; - AbstractMetaClassList m_templates; + QHash m_templates; FileModelItem m_dom; QSet m_used_types; diff --git a/generator/abstractmetalang.cpp b/generator/abstractmetalang.cpp index 156421e8..45703f84 100644 --- a/generator/abstractmetalang.cpp +++ b/generator/abstractmetalang.cpp @@ -39,6 +39,8 @@ ** ****************************************************************************/ +#include // for std::stable_sort + #include "abstractmetalang.h" #include "reporthandler.h" @@ -53,7 +55,7 @@ AbstractMetaType *AbstractMetaType::copy() const cpy->setConstant(isConstant()); cpy->setReference(isReference()); cpy->setIndirections(indirections()); - cpy->setInstantiations(instantiations()); + cpy->setInstantiations(instantiations()); cpy->setArrayElementCount(arrayElementCount()); cpy->setOriginalTypeDescription(originalTypeDescription()); cpy->setOriginalTemplateType(originalTemplateType() ? originalTemplateType()->copy() : 0); @@ -313,6 +315,8 @@ AbstractMetaFunction *AbstractMetaFunction::copy() const if (type()) cpy->setType(type()->copy()); cpy->setConstant(isConstant()); + cpy->setConstexpr(isConstexpr()); + cpy->setAuto(isAuto()); cpy->setException(exception()); cpy->setOriginalAttributes(originalAttributes()); @@ -364,6 +368,8 @@ QString AbstractMetaFunction::signature() const if (isConstant()) s += " const"; + if (isConstexpr()) + s += " constexpr"; return s; } @@ -655,6 +661,8 @@ QString AbstractMetaFunction::minimalSignature() const minimalSignature += ")"; if (isConstant()) minimalSignature += "const"; + if (isConstexpr()) + minimalSignature += "constexpr"; minimalSignature = TypeSystem::normalizedSignature(minimalSignature.toLocal8Bit().constData()); m_cached_minimal_signature = minimalSignature; @@ -972,7 +980,7 @@ AbstractMetaFunctionList AbstractMetaClass::virtualOverrideFunctions() const void AbstractMetaClass::sortFunctions() { - qSort(m_functions.begin(), m_functions.end(), function_sorter); + std::sort(m_functions.begin(), m_functions.end(), function_sorter); } void AbstractMetaClass::setFunctions(const AbstractMetaFunctionList &functions) @@ -1018,8 +1026,8 @@ void AbstractMetaClass::setFunctions(const AbstractMetaFunctionList &functions) } #ifndef QT_NO_DEBUG - bool duplicate_function = false; - for (int j=0; jmodifications(m_functions.at(j)->implementingClass()); bool removed = false; @@ -1058,7 +1066,7 @@ void AbstractMetaClass::setFunctions(const AbstractMetaFunctionList &functions) } } } - Q_UNUSED(duplicate_function); //Use: Q_ASSERT(!duplicate_function); + //Q_ASSERT(!duplicate_function); #endif } @@ -1090,7 +1098,7 @@ void AbstractMetaClass::addFunction(AbstractMetaFunction *function) if (!function->isDestructor()) { m_functions << function; // seems like this is not needed and takes a lot of performance - //qSort(m_functions.begin(), m_functions.end(), function_sorter); + //std::sort(m_functions.begin(), m_functions.end(), function_sorter); } @@ -1195,7 +1203,7 @@ bool AbstractMetaClass::hasVirtualDestructor() const static bool functions_contains(const AbstractMetaFunctionList &l, const AbstractMetaFunction *func) { foreach (const AbstractMetaFunction *f, l) { - if ((f->compareTo(func) & AbstractMetaFunction::PrettySimilar) == AbstractMetaFunction::PrettySimilar) + if ((f->compareTo(func) & AbstractMetaFunction::PrettySimilar) == AbstractMetaFunction::PrettySimilar) return true; } return false; @@ -1679,7 +1687,7 @@ void AbstractMetaClass::fixFunctions() AbstractMetaFunction *f = funcs.at(fi); if (f->isRemovedFromAllLanguages(f->implementingClass())) continue; - + uint cmp = f->compareTo(sf); if (cmp & AbstractMetaFunction::EqualModifiedName) { @@ -1824,7 +1832,7 @@ void AbstractMetaClass::fixFunctions() super_class = super_class->baseClass(); } else { iface_idx++; - } + } } // printf("end fix functions for %s\n", qPrintable(name())); @@ -2015,3 +2023,9 @@ AbstractMetaClass *AbstractMetaClassList::findClass(const QString &name) const return 0; } + + +void AbstractMetaClassList::sort(void) +{ + std::stable_sort(begin(), end(), AbstractMetaClass::less_than); +} diff --git a/generator/abstractmetalang.h b/generator/abstractmetalang.h index 8d3c8421..f161c5c7 100644 --- a/generator/abstractmetalang.h +++ b/generator/abstractmetalang.h @@ -71,6 +71,7 @@ class AbstractMetaClassList : public QList AbstractMetaClass *findClass(const QString &name) const; AbstractMetaEnumValue *findEnumValue(const QString &string) const; AbstractMetaEnum *findEnum(const EnumTypeEntry *entry) const; + void sort(); }; @@ -198,7 +199,7 @@ class AbstractMetaType // true when use pattern is container bool hasInstantiations() const { return !m_instantiations.isEmpty(); } void addInstantiation(AbstractMetaType *inst) { m_instantiations << inst; } - void setInstantiations(const QList &insts) { m_instantiations = insts; } + void setInstantiations(const QList &insts) { m_instantiations = insts; } QList instantiations() const { return m_instantiations; } void setInstantiationInCpp(bool incpp) { m_cpp_instantiation = incpp; } bool hasInstantiationInCpp() const { return hasInstantiations() && m_cpp_instantiation; } @@ -410,6 +411,7 @@ class AbstractMetaFunction : public AbstractMetaAttributes AbstractMetaFunction() : m_constant(false), + m_constexpr(false), m_invalid(false) { } @@ -487,6 +489,12 @@ class AbstractMetaFunction : public AbstractMetaAttributes bool isConstant() const { return m_constant; } void setConstant(bool constant) { m_constant = constant; } + bool isConstexpr() const { return m_constexpr; } + void setConstexpr(bool constant) { m_constexpr = constant; } + + bool isAuto() const { return m_auto; } + void setAuto(bool isAuto) { m_auto = isAuto; } + QString exception() const { return m_exception; } void setException(const QString &exception) { m_exception = exception; } QString toString() const { return m_name; } @@ -550,6 +558,8 @@ class AbstractMetaFunction : public AbstractMetaAttributes AbstractMetaArgumentList m_arguments; QString m_exception; uint m_constant : 1; + uint m_constexpr : 1; + uint m_auto : 1; uint m_invalid : 1; }; @@ -665,6 +675,7 @@ class AbstractMetaClass : public AbstractMetaAttributes m_has_equals_operator(false), m_has_clone_operator(false), m_is_type_alias(false), + m_has_actual_declaration(false), m_qDebug_stream_function(0) { } @@ -786,6 +797,9 @@ class AbstractMetaClass : public AbstractMetaAttributes void setHasCloneOperator(bool on) { m_has_clone_operator = on; } bool hasCloneOperator() const { return m_has_clone_operator; } + void setHasActualDeclaration(bool on) { m_has_actual_declaration = on; } + bool hasActualDeclaration() const { return m_has_actual_declaration; } + QString getDefaultNonZeroFunction() const; void addPropertySpec(QPropertySpec *spec) { m_property_specs << spec; } @@ -826,6 +840,11 @@ class AbstractMetaClass : public AbstractMetaAttributes return qualifiedCppName() < a.qualifiedCppName(); } + static bool less_than(const AbstractMetaClass *cl, + const AbstractMetaClass *cr) { + return cl->name() < cr->name(); + } + private: uint m_namespace : 1; uint m_qobject : 1; @@ -841,7 +860,8 @@ class AbstractMetaClass : public AbstractMetaAttributes uint m_has_equals_operator : 1; uint m_has_clone_operator :1; uint m_is_type_alias : 1; - uint m_reserved : 18; + uint m_has_actual_declaration : 1; + uint m_reserved : 17; QString m_destructor_exception; const AbstractMetaClass *m_enclosing_class{}; diff --git a/generator/asttoxml.cpp b/generator/asttoxml.cpp index 04ca07db..eb3913b8 100644 --- a/generator/asttoxml.cpp +++ b/generator/asttoxml.cpp @@ -47,7 +47,9 @@ #include #include -#include +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) +# include +#endif #include void astToXML(QString name) { @@ -57,7 +59,18 @@ void astToXML(QString name) { return; QTextStream stream(&file); +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) stream.setCodec(QTextCodec::codecForName("UTF-8")); +#else + /* NOTE, for Qt6: + * + * stream.setEncoding(QStringConverter::Utf8) + * + * is the default but will be overridden if the UTF-16 BOM is seen. This + * is almost certainly the correct behavior because the BOM isn't valid in + * a text stream otherwise. + */ +#endif QByteArray contents = stream.readAll().toUtf8(); file.close(); @@ -73,9 +86,9 @@ void astToXML(QString name) { QFile outputFile; if (!outputFile.open(stdout, QIODevice::WriteOnly)) - { - return; - } + { + return; + } QXmlStreamWriter s( &outputFile); s.setAutoFormatting( true ); @@ -164,7 +177,7 @@ void writeOutClass(QXmlStreamWriter &s, ClassModelItem &item) { writeOutEnum(s, enumItem); } - QHash functionMap = item->functionMap(); + QMultiHash functionMap = item->functionMap(); for (FunctionModelItem funcItem : functionMap.values()) { writeOutFunction(s, funcItem); } diff --git a/generator/generator.cpp b/generator/generator.cpp index 9dd70748..0babb905 100644 --- a/generator/generator.cpp +++ b/generator/generator.cpp @@ -61,7 +61,7 @@ void Generator::generate() return; } - qStableSort(m_classes); + m_classes.sort(); foreach (AbstractMetaClass *cls, m_classes) { if (!shouldGenerate(cls)) @@ -85,7 +85,7 @@ void Generator::printClasses() QTextStream s(stdout); AbstractMetaClassList classes = m_classes; - qSort(classes); + classes.sort(); foreach (AbstractMetaClass *cls, classes) { if (!shouldGenerate(cls)) diff --git a/generator/generator.pri b/generator/generator.pri index 94134260..332d03ab 100644 --- a/generator/generator.pri +++ b/generator/generator.pri @@ -72,6 +72,11 @@ SOURCES += \ QT += core xml +greaterThan(QT_MAJOR_VERSION, 5) { + QT += core5compat + message("WARNING: Qt module core5compat for XML handling in typesystem.cpp") +} + win32-msvc.net { QMAKE_CXXFLAGS += /Zm500 QMAKE_CXXFLAGS -= -Zm200 diff --git a/generator/generatorsetqtscript.cpp b/generator/generatorsetqtscript.cpp index abedf346..e9655646 100644 --- a/generator/generatorsetqtscript.cpp +++ b/generator/generatorsetqtscript.cpp @@ -55,11 +55,22 @@ QString GeneratorSetQtScript::usage() { QString usage = "QtScript:\n" " --nothing-to-report-yet \n"; + " --max-classes-per-file= \n"; return usage; } bool GeneratorSetQtScript::readParameters(const QMap args) { + if (args.contains("max-classes-per-file")) { + bool ok; + int n = args.value("max-classes-per-file").toInt(&ok); + if (ok && n > 0) { + maxClassesPerFile = n; + } + else { + printf("Invalid value for option --max-classes-per-file (must be number > 0)\n"); + } + } return GeneratorSet::readParameters(args); } @@ -78,10 +89,10 @@ QString GeneratorSetQtScript::generate() { AbstractMetaClassList classes = builder.classesTopologicalSorted(); QSet declaredTypeNames = builder.qtMetaTypeDeclaredTypeNames(); - PriGenerator priGenerator; + PriGenerator priGenerator(maxClassesPerFile); priGenerator.setOutputDirectory(outDir); - SetupGenerator setupGenerator; + SetupGenerator setupGenerator(maxClassesPerFile); setupGenerator.setOutputDirectory(outDir); setupGenerator.setQtMetaTypeDeclaredTypeNames(declaredTypeNames); setupGenerator.setClasses(classes); @@ -102,10 +113,10 @@ QString GeneratorSetQtScript::generate() { return QString("Classes in typesystem: %1\n" "Generated:\n" - " - header....: %4 (%5)\n" - " - impl......: %6 (%7)\n" - " - modules...: %8 (%9)\n" - " - pri.......: %10 (%11)\n" + " - header....: %2 (%3)\n" + " - impl......: %4 (%5)\n" + " - modules...: %6 (%7)\n" + " - pri.......: %8 (%9)\n" ) .arg(builder.classes().size()) diff --git a/generator/generatorsetqtscript.h b/generator/generatorsetqtscript.h index 55795e48..06d83690 100644 --- a/generator/generatorsetqtscript.h +++ b/generator/generatorsetqtscript.h @@ -62,6 +62,7 @@ class GeneratorSetQtScript : public GeneratorSet private: MetaQtScriptBuilder builder; + int maxClassesPerFile{30}; }; diff --git a/generator/main.cpp b/generator/main.cpp index a01b968a..b75f06c7 100644 --- a/generator/main.cpp +++ b/generator/main.cpp @@ -39,12 +39,15 @@ ** ****************************************************************************/ +#include + #include "main.h" #include "asttoxml.h" #include "reporthandler.h" #include "typesystem.h" #include "generatorset.h" #include "fileout.h" +#include "control.h" #include @@ -53,6 +56,8 @@ void displayHelp(GeneratorSet *generatorSet); #include int main(int argc, char *argv[]) { + ReportHandler::setContext("Arguments"); + QScopedPointer gs(GeneratorSet::getInstance()); QString default_file = ":/trolltech/generator/qtscript_masterinclude.h"; @@ -98,6 +103,10 @@ int main(int argc, char *argv[]) ReportHandler::setDebugLevel(ReportHandler::FullDebug); } + if (args.contains("print-parser-errors")) { + Control::setPrintErrors(true); + } + if (args.contains("dummy")) { FileOut::dummy = true; } @@ -110,7 +119,7 @@ int main(int argc, char *argv[]) FileOut::license = true; if (args.contains("rebuild-only")) { - QStringList classes = args.value("rebuild-only").split(",", QString::SkipEmptyParts); + QStringList classes = args.value("rebuild-only").split(",", Qt::SkipEmptyParts); TypeDatabase::instance()->setRebuildClasses(classes); } @@ -135,11 +144,13 @@ int main(int argc, char *argv[]) printf("Please wait while source files are being generated...\n"); printf("Parsing typesystem file [%s]\n", qPrintable(typesystemFileName)); + ReportHandler::setContext("Typesystem"); if (!TypeDatabase::instance()->parseFile(typesystemFileName)) qFatal("Cannot parse file: '%s'", qPrintable(typesystemFileName)); printf("PreProcessing - Generate [%s] using [%s] and include-paths [%s]\n", qPrintable(pp_file), qPrintable(fileName), qPrintable(args.value("include-paths"))); + ReportHandler::setContext("Preprocess"); if (!Preprocess::preprocess(fileName, pp_file, args.value("include-paths"))) { fprintf(stderr, "Preprocessor failed on file: '%s'\n", qPrintable(fileName)); return 1; @@ -148,16 +159,19 @@ int main(int argc, char *argv[]) if (args.contains("ast-to-xml")) { printf("Running ast-to-xml on file [%s] using pp_file [%s] and include-paths [%s]\n", qPrintable(fileName), qPrintable(pp_file), qPrintable(args.value("include-paths"))); + ReportHandler::setContext(QString("AST-to-XML")); astToXML(pp_file); return 0; } printf("Building model using [%s]\n", qPrintable(pp_file)); + ReportHandler::setContext("Build"); gs->buildModel(pp_file); if (args.contains("dump-object-tree")) { gs->dumpObjectTree(); return 0; } + ReportHandler::setContext("Generate"); printf("%s\n", qPrintable(gs->generate())); printf("Done, %d warnings (%d known issues)\n", ReportHandler::warningCount(), @@ -175,6 +189,7 @@ void displayHelp(GeneratorSet* generatorSet) { printf("Available options:\n\n"); printf("General:\n"); printf(" --debug-level=[sparse|medium|full] \n" + " --print-parser-errors \n" " --dump-object-tree \n" " --help, -h or -? \n" " --no-suppress-warnings \n" diff --git a/generator/main.h b/generator/main.h index cf0d87d0..15fc6dc1 100644 --- a/generator/main.h +++ b/generator/main.h @@ -46,7 +46,6 @@ #include #include -#include struct Preprocess { @@ -88,14 +87,8 @@ struct Preprocess includes += commandLineIncludes.split(path_splitter); // Include Qt - QProcess process; - QString qtHeadersVariable = "QT_INSTALL_HEADERS"; - process.start("qmake -query " + qtHeadersVariable); - process.waitForFinished(-1); - - QString qtHeadersDir = process.readAllStandardOutput().simplified(); - - if (qtHeadersDir.isEmpty()) { + QString qtdir = getenv ("QTDIR"); + if (qtdir.isEmpty()) { #if defined(Q_OS_MAC) qWarning("QTDIR environment variable not set. Assuming standard binary install using frameworks."); QString frameworkDir = "/Library/Frameworks"; @@ -110,14 +103,15 @@ struct Preprocess #endif } else { std::cout << "-------------------------------------------------------------" << std::endl; - std::cout << "Using QT headers at: " << qtHeadersDir.toLocal8Bit().constData() << std::endl; + std::cout << "Using QT at: " << qtdir.toLocal8Bit().constData() << std::endl; std::cout << "-------------------------------------------------------------" << std::endl; - includes << (qtHeadersDir + "/QtXml"); - includes << (qtHeadersDir + "/QtNetwork"); - includes << (qtHeadersDir + "/QtCore"); - includes << (qtHeadersDir + "/QtGui"); - includes << (qtHeadersDir + "/QtOpenGL"); - includes << qtHeadersDir; + qtdir += "/include"; + includes << (qtdir + "/QtXml"); + includes << (qtdir + "/QtNetwork"); + includes << (qtdir + "/QtCore"); + includes << (qtdir + "/QtGui"); + includes << (qtdir + "/QtOpenGL"); + includes << qtdir; } foreach (QString include, includes) { preprocess.push_include_path(QDir::toNativeSeparators(include).toStdString()); diff --git a/generator/parser/ast.cpp b/generator/parser/ast.cpp index 55357304..6e89ab0a 100644 --- a/generator/parser/ast.cpp +++ b/generator/parser/ast.cpp @@ -48,5 +48,5 @@ QString AST::toString(TokenStream *stream) const { const Token &tk = stream->token((int) start_token); const Token &end_tk = stream->token ((int) end_token); - return QString::fromLatin1(tk.text + tk.position, end_tk.position - tk.position); + return QString::fromLatin1(tk.text + tk.position, static_cast(end_tk.position - tk.position)); } diff --git a/generator/parser/ast.h b/generator/parser/ast.h index 06b9baac..181c6388 100644 --- a/generator/parser/ast.h +++ b/generator/parser/ast.h @@ -512,6 +512,8 @@ struct InitializerAST: public AST InitializerClauseAST *initializer_clause{}; ExpressionAST *expression{}; + bool isDefault{}; + bool isDeleted{}; }; struct InitializerClauseAST: public AST diff --git a/generator/parser/binder.cpp b/generator/parser/binder.cpp index 502ecc44..6f0e2adb 100644 --- a/generator/parser/binder.cpp +++ b/generator/parser/binder.cpp @@ -266,7 +266,7 @@ void Binder::declare_symbol(SimpleDeclarationAST *node, InitDeclaratorAST *init_ { name_cc.run(id); warnHere(); - std::cerr << "** WARNING scope not found for symbol:" + std::cerr << "** WARNING scope not found for symbol: " << qPrintable(name_cc.name()) << std::endl; return; } @@ -282,7 +282,9 @@ void Binder::declare_symbol(SimpleDeclarationAST *node, InitDeclaratorAST *init_ fun->setAccessPolicy(_M_current_access); fun->setFunctionType(_M_current_function_type); fun->setName(name_cc.name()); - fun->setAbstract(init_declarator->initializer != 0); + InitializerAST* initializer = init_declarator->initializer; + fun->setDeleted(initializer && initializer->isDeleted); + fun->setAbstract(initializer && !initializer->isDefault && !initializer->isDeleted); // must be "= 0" fun->setConstant(declarator->fun_cv != 0); fun->setException(exceptionSpecToString(declarator->exception_spec)); @@ -727,6 +729,7 @@ void Binder::visitClassSpecifier(ClassSpecifierAST *node) name_cc.run(node->name->unqualified_name); _M_context.append(name_cc.name()); visitNodes(this, node->member_specs); + _M_current_class->setHasActualDeclaration(node->member_specs); _M_context.removeLast(); changeCurrentClass(old); @@ -817,7 +820,7 @@ void Binder::visitQEnums(QEnumsAST *node) const Token &start = _M_token_stream->token((int) node->start_token); const Token &end = _M_token_stream->token((int) node->end_token); QStringList enum_list = QString::fromLatin1(start.text + start.position, - end.position - start.position).split(' '); + static_cast(end.position - start.position)).split(' '); ScopeModelItem scope = currentScope(); for (int i = 0; i < enum_list.size(); ++i) { @@ -833,7 +836,7 @@ void Binder::visitQProperty(QPropertyAST *node) const Token &start = _M_token_stream->token((int) node->start_token); const Token &end = _M_token_stream->token((int) node->end_token); QString property = QString::fromLatin1(start.text + start.position, - end.position - start.position); + static_cast(end.position - start.position)); _M_current_class->addPropertyDeclaration(property); } diff --git a/generator/parser/codemodel.cpp b/generator/parser/codemodel.cpp index 4fafc76f..d2b8523d 100644 --- a/generator/parser/codemodel.cpp +++ b/generator/parser/codemodel.cpp @@ -142,7 +142,9 @@ TypeInfo TypeInfo::combine (const TypeInfo &__lhs, const TypeInfo &__rhs) TypeInfo __result = __lhs; __result.setConstant (__result.isConstant () || __rhs.isConstant ()); + __result.setConstexpr (__result.isConstexpr () || __rhs.isConstexpr ()); __result.setVolatile (__result.isVolatile () || __rhs.isVolatile ()); + __result.setMutable (__result.isMutable () || __rhs.isMutable ()); __result.setReference (__result.isReference () || __rhs.isReference ()); __result.setRvalueReference (__result.isRvalueReference () || __rhs.isRvalueReference ()); __result.setIndirections (__result.indirections () + __rhs.indirections ()); @@ -182,9 +184,15 @@ QString TypeInfo::toString() const if (isConstant()) tmp += QLatin1String(" const"); + if (isConstexpr()) + tmp += QLatin1String(" constexpr"); + if (isVolatile()) tmp += QLatin1String(" volatile"); + if (isMutable()) + tmp += QLatin1String(" mutable"); + if (indirections()) tmp += QString(indirections(), QLatin1Char('*')); @@ -216,7 +224,7 @@ QString TypeInfo::toString() const return tmp; } -bool TypeInfo::operator==(const TypeInfo &other) +bool TypeInfo::operator==(const TypeInfo &other) const { if (arrayElements().count() != other.arrayElements().count()) return false; @@ -675,63 +683,73 @@ void _FunctionModelItem::setException(const QString &exception) bool _FunctionModelItem::isVariadics() const { - return _M_isVariadics; + return _M.isVariadics; } void _FunctionModelItem::setVariadics(bool isVariadics) { - _M_isVariadics = isVariadics; + _M.isVariadics = isVariadics; } bool _FunctionModelItem::isVirtual() const { - return _M_isVirtual; + return _M.isVirtual; } void _FunctionModelItem::setVirtual(bool isVirtual) { - _M_isVirtual = isVirtual; + _M.isVirtual = isVirtual; } bool _FunctionModelItem::isInline() const { - return _M_isInline; + return _M.isInline; } void _FunctionModelItem::setInline(bool isInline) { - _M_isInline = isInline; + _M.isInline = isInline; } bool _FunctionModelItem::isExplicit() const { - return _M_isExplicit; + return _M.isExplicit; } void _FunctionModelItem::setExplicit(bool isExplicit) { - _M_isExplicit = isExplicit; + _M.isExplicit = isExplicit; } bool _FunctionModelItem::isAbstract() const { - return _M_isAbstract; + return _M.isAbstract; } void _FunctionModelItem::setAbstract(bool isAbstract) { - _M_isAbstract = isAbstract; + _M.isAbstract = isAbstract; +} + +bool _FunctionModelItem::isDeleted() const +{ + return _M.isDeleted; +} + +void _FunctionModelItem::setDeleted(bool isDeleted) +{ + _M.isDeleted = isDeleted; } // Qt bool _FunctionModelItem::isInvokable() const { - return _M_isInvokable; + return _M.isInvokable; } void _FunctionModelItem::setInvokable(bool isInvokable) { - _M_isInvokable = isInvokable; + _M.isInvokable = isInvokable; } // --------------------------------------------------------------------------- @@ -899,82 +917,92 @@ void _MemberModelItem::setAccessPolicy(CodeModel::AccessPolicy accessPolicy) bool _MemberModelItem::isStatic() const { - return _M_isStatic; + return _M.isStatic; } void _MemberModelItem::setStatic(bool isStatic) { - _M_isStatic = isStatic; + _M.isStatic = isStatic; } bool _MemberModelItem::isConstant() const { - return _M_isConstant; + return _M.isConstant; } void _MemberModelItem::setConstant(bool isConstant) { - _M_isConstant = isConstant; + _M.isConstant = isConstant; +} + +bool _MemberModelItem::isConstexpr() const +{ + return _M.isConstexpr; +} + +void _MemberModelItem::setConstexpr(bool isConstexpr) +{ + _M.isConstexpr = isConstexpr; } bool _MemberModelItem::isVolatile() const { - return _M_isVolatile; + return _M.isVolatile; } void _MemberModelItem::setVolatile(bool isVolatile) { - _M_isVolatile = isVolatile; + _M.isVolatile = isVolatile; } bool _MemberModelItem::isAuto() const { - return _M_isAuto; + return _M.isAuto; } void _MemberModelItem::setAuto(bool isAuto) { - _M_isAuto = isAuto; + _M.isAuto = isAuto; } bool _MemberModelItem::isFriend() const { - return _M_isFriend; + return _M.isFriend; } void _MemberModelItem::setFriend(bool isFriend) { - _M_isFriend = isFriend; + _M.isFriend = isFriend; } bool _MemberModelItem::isRegister() const { - return _M_isRegister; + return _M.isRegister; } void _MemberModelItem::setRegister(bool isRegister) { - _M_isRegister = isRegister; + _M.isRegister = isRegister; } bool _MemberModelItem::isExtern() const { - return _M_isExtern; + return _M.isExtern; } void _MemberModelItem::setExtern(bool isExtern) { - _M_isExtern = isExtern; + _M.isExtern = isExtern; } bool _MemberModelItem::isMutable() const { - return _M_isMutable; + return _M.isMutable; } void _MemberModelItem::setMutable(bool isMutable) { - _M_isMutable = isMutable; + _M.isMutable = isMutable; } // kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/generator/parser/codemodel.h b/generator/parser/codemodel.h index fe24df1c..71d8ed5b 100644 --- a/generator/parser/codemodel.h +++ b/generator/parser/codemodel.h @@ -132,9 +132,15 @@ struct TypeInfo bool isConstant() const { return m_flags.m_constant; } void setConstant(bool is) { m_flags.m_constant = is; } + bool isConstexpr() const { return m_flags.m_constexpr; } + void setConstexpr(bool is) { m_flags.m_constexpr = is; } + bool isVolatile() const { return m_flags.m_volatile; } void setVolatile(bool is) { m_flags.m_volatile = is; } + bool isMutable() const { return m_flags.m_mutable; } + void setMutable(bool is) { m_flags.m_mutable = is; } + bool isReference() const { return m_flags.m_reference; } void setReference(bool is) { m_flags.m_reference = is; } @@ -154,8 +160,8 @@ struct TypeInfo void setArguments(const QList &arguments); void addArgument(const TypeInfo &arg) { m_arguments.append(arg); } - bool operator==(const TypeInfo &other); - bool operator!=(const TypeInfo &other) { return !(*this==other); } + bool operator==(const TypeInfo &other) const; + bool operator!=(const TypeInfo &other) const { return !(*this==other); } // ### arrays and templates?? @@ -166,19 +172,24 @@ struct TypeInfo private: struct TypeInfo_flags { - uint m_constant: 1; - uint m_volatile: 1; - uint m_reference: 1; - uint m_functionPointer: 1; - uint m_indirections: 6; - inline bool equals(TypeInfo_flags other) { + uint m_constant: 1; + uint m_constexpr: 1; + uint m_volatile: 1; + uint m_mutable: 1; + uint m_reference: 1; + uint m_functionPointer: 1; + uint m_indirections: 6; + inline bool equals(TypeInfo_flags other) const { + /* m_auto and m_friend don't matter here */ return m_constant == other.m_constant + && m_constexpr == other.m_constexpr && m_volatile == other.m_volatile + && m_mutable == other.m_mutable && m_reference == other.m_reference && m_functionPointer == other.m_functionPointer && m_indirections == other.m_indirections; - } - } m_flags {0, 0, 0, 0, 0}; + } + } m_flags {0, 0, 0, 0, 0, 0, 0}; QStringList m_qualifiedName; QStringList m_arrayElements; @@ -355,6 +366,10 @@ class _ClassModelItem: public _ScopeModelItem void addPropertyDeclaration(const QString &propertyDeclaration); QStringList propertyDeclarations() const { return _M_propertyDeclarations; } + void setHasActualDeclaration(bool flag) { _M_hasActualDeclaration = flag; } + bool hasActualDeclaration() const { return _M_hasActualDeclaration; } + + protected: _ClassModelItem(CodeModel *model, int kind = __node_kind) : _ScopeModelItem(model, kind), _M_classType(CodeModel::Class) {} @@ -366,6 +381,8 @@ class _ClassModelItem: public _ScopeModelItem QStringList _M_propertyDeclarations; + bool _M_hasActualDeclaration{}; + private: _ClassModelItem(const _ClassModelItem &other); void operator = (const _ClassModelItem &other); @@ -455,6 +472,9 @@ class _MemberModelItem: public _CodeModelItem bool isConstant() const; void setConstant(bool isConstant); + bool isConstexpr() const; + void setConstexpr(bool isConstexpr); + bool isVolatile() const; void setVolatile(bool isVolatile); @@ -503,15 +523,16 @@ class _MemberModelItem: public _CodeModelItem { struct { - uint _M_isConstant: 1; - uint _M_isVolatile: 1; - uint _M_isStatic: 1; - uint _M_isAuto: 1; - uint _M_isFriend: 1; - uint _M_isRegister: 1; - uint _M_isExtern: 1; - uint _M_isMutable: 1; - }; + uint isConstant: 1; + uint isConstexpr: 1; + uint isVolatile: 1; + uint isStatic: 1; + uint isAuto: 1; + uint isFriend: 1; + uint isRegister: 1; + uint isExtern: 1; + uint isMutable: 1; + } _M; uint _M_flags; }; @@ -551,6 +572,9 @@ class _FunctionModelItem: public _MemberModelItem bool isAbstract() const; void setAbstract(bool isAbstract); + bool isDeleted() const; + void setDeleted(bool isDeleted); + bool isVariadics() const; void setVariadics(bool isVariadics); @@ -571,13 +595,14 @@ class _FunctionModelItem: public _MemberModelItem { struct { - uint _M_isVirtual: 1; - uint _M_isInline: 1; - uint _M_isAbstract: 1; - uint _M_isExplicit: 1; - uint _M_isVariadics: 1; - uint _M_isInvokable : 1; // Qt - }; + uint isVirtual: 1; + uint isInline: 1; + uint isAbstract: 1; + uint isDeleted: 1; + uint isExplicit: 1; + uint isVariadics: 1; + uint isInvokable : 1; // Qt + } _M; uint _M_flags; }; diff --git a/generator/parser/codemodel_pointer.h b/generator/parser/codemodel_pointer.h index dc99c6bb..1e34abae 100644 --- a/generator/parser/codemodel_pointer.h +++ b/generator/parser/codemodel_pointer.h @@ -122,16 +122,22 @@ template class CodeModelPointer # if QT_VERSION >= 0x050000 +# if QT_VERSION >= QT_VERSION_CHECK(5,14,0) +# define LOAD loadRelaxed +# else +# define LOAD load +# endif operator T * () const { - return QAtomicPointer::load(); + return QAtomicPointer::LOAD(); } inline bool operator!() const { return !(bool)*this; } operator bool () const { - return (bool)QAtomicPointer::load(); + return (bool)QAtomicPointer::LOAD(); } - inline T *operator->() { return QAtomicPointer::load(); } - inline const T *operator->() const { return QAtomicPointer::load(); } + inline T *operator->() { return QAtomicPointer::LOAD(); } + inline const T *operator->() const { return QAtomicPointer::LOAD(); } +#undef LOAD inline bool operator==(const CodeModelPointer &other) const { return (T*)*this == (T*)other; } inline bool operator!=(const CodeModelPointer &other) const { return (T*)*this != (T*)other; } inline bool operator==(const T *ptr) const { return (T*)*this == ptr; } diff --git a/generator/parser/compiler_utils.cpp b/generator/parser/compiler_utils.cpp index 96de701f..c14f22b4 100644 --- a/generator/parser/compiler_utils.cpp +++ b/generator/parser/compiler_utils.cpp @@ -58,7 +58,9 @@ TypeInfo CompilerUtils::typeDescription(TypeSpecifierAST *type_specifier, Declar TypeInfo typeInfo; typeInfo.setQualifiedName (type_cc.qualifiedName ()); typeInfo.setConstant (type_cc.isConstant ()); + typeInfo.setConstexpr (type_cc.isConstexpr ()); typeInfo.setVolatile (type_cc.isVolatile ()); + typeInfo.setMutable (type_cc.isMutable ()); typeInfo.setReference (decl_cc.isReference ()); typeInfo.setRvalueReference (decl_cc.isRvalueReference ()); typeInfo.setIndirections (decl_cc.indirection ()); diff --git a/generator/parser/compiler_utils.h b/generator/parser/compiler_utils.h index 183ba94d..01c6f913 100644 --- a/generator/parser/compiler_utils.h +++ b/generator/parser/compiler_utils.h @@ -48,7 +48,6 @@ #include "codemodel.h" class QString; -class QStringList; struct TypeSpecifierAST; struct DeclaratorAST; class TokenStream; diff --git a/generator/parser/control.cpp b/generator/parser/control.cpp index a8e6a35e..f76cc4e6 100644 --- a/generator/parser/control.cpp +++ b/generator/parser/control.cpp @@ -43,6 +43,8 @@ #include "control.h" #include "lexer.h" +bool Control::_M_printErrors = false; + Control::Control() : current_context(0), _M_skipFunctionBody(false), @@ -52,7 +54,7 @@ Control::Control() pushContext(); declareTypedef(findOrInsertName("__builtin_va_list", - strlen("__builtin_va_list")), 0); + strlen("__builtin_va_list")), 0); } Control::~Control() @@ -141,7 +143,10 @@ void Control::clearErrorMessages () void Control::reportError (const ErrorMessage &errmsg) { - _M_error_messages.append(errmsg); + _M_error_messages.append(errmsg); + if (_M_printErrors) { + printf("%s (%s:%d:%d)\n", qPrintable(errmsg.message()), qPrintable(errmsg.fileName()), errmsg.line(), errmsg.column()); + } } // kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/generator/parser/control.h b/generator/parser/control.h index c3951714..a5274748 100644 --- a/generator/parser/control.h +++ b/generator/parser/control.h @@ -133,6 +133,9 @@ class Control void declareTypedef(const NameSymbol *name, Declarator *d); bool isTypedef(const NameSymbol *name) const; + static bool printErrors() { return _M_printErrors; } + static void setPrintErrors(bool on) { _M_printErrors = on; } + void reportError (const ErrorMessage &errmsg); QList errorMessages () const; void clearErrorMessages (); @@ -141,6 +144,7 @@ class Control NameTable name_table; QHash stl_typedef_table; bool _M_skipFunctionBody; + static bool _M_printErrors; Lexer *_M_lexer; Parser *_M_parser; diff --git a/generator/parser/declarator_compiler.cpp b/generator/parser/declarator_compiler.cpp index 3dff91cc..ac71f38f 100644 --- a/generator/parser/declarator_compiler.cpp +++ b/generator/parser/declarator_compiler.cpp @@ -135,7 +135,7 @@ void DeclaratorCompiler::visitPtrOperator(PtrOperatorAST *node) if (node->mem_ptr) { #if defined(__GNUC__) -#warning "ptr to mem -- not implemented" +#pragma GCC warning "ptr to mem -- not implemented" #endif } } diff --git a/generator/parser/lexer.cpp b/generator/parser/lexer.cpp index 5432d7da..db614ad1 100644 --- a/generator/parser/lexer.cpp +++ b/generator/parser/lexer.cpp @@ -63,44 +63,44 @@ void LocationManager::extract_line(int offset, int *line, QString *filename) con { *line = 0; if (token_stream.size () < 1) - return; + return; const unsigned char *begin_buffer = reinterpret_cast(token_stream[0].text); const unsigned char *cursor = begin_buffer + offset; ++cursor; // skip '#' if (std::isspace(*cursor) && std::isdigit(*(cursor + 1))) - { - ++cursor; - char buffer[1024], *cp = buffer; - do { - *cp++ = *cursor++; - } while (std::isdigit(*cursor)); - *cp = '\0'; - int l = strtol(buffer, 0, 0); - - Q_ASSERT(std::isspace(*cursor)); - ++cursor; - - Q_ASSERT(*cursor == '"'); - ++cursor; - - cp = buffer; - while (*cursor && *cursor != '"') { - *cp++ = *cursor++; - } - *cp = '\0'; - Q_ASSERT(*cursor == '"'); - ++cursor; - - *filename = buffer; - *line = l; - // printf("filename: %s line: %d\n", buffer, line); - } + { + ++cursor; + char buffer[1024], *cp = buffer; + do { + *cp++ = *cursor++; + } while (std::isdigit(*cursor)); + *cp = '\0'; + int l = strtol(buffer, 0, 0); + + Q_ASSERT(std::isspace(*cursor)); + ++cursor; + + Q_ASSERT(*cursor == '"'); + ++cursor; + + cp = buffer; + while (*cursor && *cursor != '"') { + *cp++ = *cursor++; + } + *cp = '\0'; + Q_ASSERT(*cursor == '"'); + ++cursor; + + *filename = buffer; + *line = l; + // printf("filename: %s line: %d\n", buffer, line); + } } void LocationManager::positionAt(std::size_t offset, int *line, int *column, - QString *filename) const + QString *filename) const { int ppline, ppcolumn; line_table.positionAt(offset, &ppline, &ppcolumn); @@ -121,7 +121,7 @@ bool Lexer::s_initialized = false; void Lexer::tokenize(const char *contents, std::size_t size) { if (!s_initialized) - initialize_scan_table(); + initialize_scan_table(); token_stream.resize(1024); token_stream[0].kind = Token_EOF; @@ -142,18 +142,18 @@ void Lexer::tokenize(const char *contents, std::size_t size) line_table.current_line = 1; do { - if (index == token_stream.size()) - token_stream.resize(token_stream.size() * 2); - - Token *current_token = &token_stream[(int) index]; - current_token->text = reinterpret_cast(begin_buffer); - current_token->position = cursor - begin_buffer; - (this->*s_scan_table[*cursor])(); - current_token->size = cursor - begin_buffer - current_token->position; + if (index >= token_stream.size()-4) // increase size of token_stream early, in case more than one token is written in one go + token_stream.resize(token_stream.size() * 2); + + Token *current_token = &token_stream[(int) index]; + current_token->text = reinterpret_cast(begin_buffer); + current_token->position = cursor - begin_buffer; + (this->*s_scan_table[*cursor])(); + current_token->size = cursor - begin_buffer - current_token->position; } while (cursor < end_buffer); if (index == token_stream.size()) - token_stream.resize(token_stream.size() * 2); + token_stream.resize(token_stream.size() * 2); Q_ASSERT(index < token_stream.size()); token_stream[(int) index].position = cursor - begin_buffer; @@ -162,19 +162,19 @@ void Lexer::tokenize(const char *contents, std::size_t size) void Lexer::reportError(const QString& msg) { - int line, column; - QString fileName; - - std::size_t tok = token_stream.cursor(); - _M_location.positionAt(token_stream.position(tok), - &line, &column, &fileName); - - Control::ErrorMessage errmsg; - errmsg.setLine(line + 1); - errmsg.setColumn(column); - errmsg.setFileName(fileName); - errmsg.setMessage(QLatin1String("** LEXER ERROR ") + msg); - control->reportError(errmsg); + int line, column; + QString fileName; + + std::size_t tok = token_stream.cursor(); + _M_location.positionAt(token_stream.position(tok), + &line, &column, &fileName); + + Control::ErrorMessage errmsg; + errmsg.setLine(line + 1); + errmsg.setColumn(column); + errmsg.setFileName(fileName); + errmsg.setMessage(QLatin1String("** LEXER ERROR ") + msg); + control->reportError(errmsg); } void Lexer::initialize_scan_table() @@ -182,16 +182,16 @@ void Lexer::initialize_scan_table() s_initialized = true; for (int i=0; i<256; ++i) - { - if (isspace(i)) - s_scan_table[i] = &Lexer::scan_white_spaces; - else if (isalpha(i) || i == '_') - s_scan_table[i] = &Lexer::scan_identifier_or_keyword; - else if (isdigit(i)) - s_scan_table[i] = &Lexer::scan_int_constant; - else - s_scan_table[i] = &Lexer::scan_invalid_input; - } + { + if (isspace(i)) + s_scan_table[i] = &Lexer::scan_white_spaces; + else if (isalpha(i) || i == '_') + s_scan_table[i] = &Lexer::scan_identifier_or_keyword; + else if (isdigit(i)) + s_scan_table[i] = &Lexer::scan_int_constant; + else + s_scan_table[i] = &Lexer::scan_invalid_input; + } s_scan_table[int('L')] = &Lexer::scan_identifier_or_literal; s_scan_table[int('\n')] = &Lexer::scan_newline; @@ -232,15 +232,15 @@ void Lexer::initialize_scan_table() void Lexer::scan_preprocessor() { if (line_table.current_line == line_table.size()) - line_table.resize(line_table.current_line * 2); + line_table.resize(line_table.current_line * 2); line_table[(int) line_table.current_line++] = (cursor - begin_buffer); while (*cursor && *cursor != '\n') - ++cursor; + ++cursor; if (*cursor != '\n') - reportError("expected newline"); + reportError("expected newline"); } void Lexer::scan_char_constant() @@ -249,22 +249,22 @@ void Lexer::scan_char_constant() ++cursor; while (*cursor && *cursor != '\'') - { - if (*cursor == '\n') - reportError("did not expect newline"); + { + if (*cursor == '\n') + reportError("did not expect newline"); - if (*cursor == '\\') - ++cursor; - ++cursor; - } + if (*cursor == '\\') + ++cursor; + ++cursor; + } - if (*cursor != '\'') - reportError("expected \'"); + if (*cursor != '\'') + reportError("expected \'"); ++cursor; token_stream[(int) index].extra.symbol = - control->findOrInsertName((const char*) begin, cursor - begin); + control->findOrInsertName((const char*) begin, cursor - begin); token_stream[(int) index++].kind = Token_char_literal; } @@ -275,22 +275,22 @@ void Lexer::scan_string_constant() ++cursor; while (*cursor && *cursor != '"') - { - if (*cursor == '\n') - reportError("did not expect newline"); + { + if (*cursor == '\n') + reportError("did not expect newline"); - if (*cursor == '\\') - ++cursor; - ++cursor; - } + if (*cursor == '\\') + ++cursor; + ++cursor; + } if (*cursor != '"') - reportError("expected \""); + reportError("expected \""); ++cursor; token_stream[(int) index].extra.symbol = - control->findOrInsertName((const char*) begin, cursor - begin); + control->findOrInsertName((const char*) begin, cursor - begin); token_stream[(int) index++].kind = Token_string_literal; } @@ -298,7 +298,7 @@ void Lexer::scan_string_constant() void Lexer::scan_newline() { if (location_table.current_line == location_table.size()) - location_table.resize(location_table.current_line * 2); + location_table.resize(location_table.current_line * 2); location_table[(int) location_table.current_line++] = (cursor - begin_buffer); ++cursor; @@ -307,49 +307,49 @@ void Lexer::scan_newline() void Lexer::scan_white_spaces() { while (isspace(*cursor)) - { - if (*cursor == '\n') - scan_newline(); - else - ++cursor; - } + { + if (*cursor == '\n') + scan_newline(); + else + ++cursor; + } } void Lexer::scan_identifier_or_literal() { switch (*(cursor + 1)) - { - case '\'': - ++cursor; - scan_char_constant(); - break; - - case '\"': - ++cursor; - scan_string_constant(); - break; - - default: - scan_identifier_or_keyword(); - break; - } + { + case '\'': + ++cursor; + scan_char_constant(); + break; + + case '\"': + ++cursor; + scan_string_constant(); + break; + + default: + scan_identifier_or_keyword(); + break; + } } void Lexer::scan_identifier_or_keyword() { const unsigned char *skip = cursor; while (isalnum(*skip) || *skip== '_') - ++skip; + ++skip; int n = skip - cursor; Token *current_token = &token_stream[(int) index]; (this->*s_scan_keyword_table[n < 17 ? n : 0])(); if (current_token->kind == Token_identifier) - { - current_token->extra.symbol = - control->findOrInsertName((const char*) cursor, n); - } + { + current_token->extra.symbol = + control->findOrInsertName((const char*) cursor, n); + } cursor = skip; } @@ -357,18 +357,18 @@ void Lexer::scan_identifier_or_keyword() void Lexer::scan_int_constant() { if (*cursor == '.' && !std::isdigit(*(cursor + 1))) - { - scan_dot(); - return; - } + { + scan_dot(); + return; + } const unsigned char *begin = cursor; while (isalnum(*cursor) || *cursor == '.') - ++cursor; + ++cursor; token_stream[(int) index].extra.symbol = - control->findOrInsertName((const char*) begin, cursor - begin); + control->findOrInsertName((const char*) begin, cursor - begin); token_stream[(int) index++].kind = Token_number_literal; } @@ -376,66 +376,66 @@ void Lexer::scan_int_constant() void Lexer::scan_not() { /* - '!' ::= not - '!=' ::= not_equal + '!' ::= not + '!=' ::= not_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_not_eq; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_not_eq; + } else - { - token_stream[(int) index++].kind = '!'; - } + { + token_stream[(int) index++].kind = '!'; + } } void Lexer::scan_remainder() { /* - '%' ::= remainder - '%=' ::= remainder_equal + '%' ::= remainder + '%=' ::= remainder_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else - { - token_stream[(int) index++].kind = '%'; - } + { + token_stream[(int) index++].kind = '%'; + } } void Lexer::scan_and() { /* - '&&' ::= and_and - '&' ::= and - '&=' ::= and_equal + '&&' ::= and_and + '&' ::= and + '&=' ::= and_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else if (*cursor == '&') - { - ++cursor; - token_stream[(int) index++].kind = Token_and; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_and; + } else - { - token_stream[(int) index++].kind = '&'; - } + { + token_stream[(int) index++].kind = '&'; + } } void Lexer::scan_left_paren() @@ -453,46 +453,46 @@ void Lexer::scan_right_paren() void Lexer::scan_star() { /* - '*' ::= star - '*=' ::= star_equal + '*' ::= star + '*=' ::= star_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else - { - token_stream[(int) index++].kind = '*'; - } + { + token_stream[(int) index++].kind = '*'; + } } void Lexer::scan_plus() { /* - '+' ::= plus - '++' ::= incr - '+=' ::= plus_equal + '+' ::= plus + '++' ::= incr + '+=' ::= plus_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else if (*cursor == '+') - { - ++cursor; - token_stream[(int) index++].kind = Token_incr; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_incr; + } else - { - token_stream[(int) index++].kind = '+'; - } + { + token_stream[(int) index++].kind = '+'; + } } void Lexer::scan_comma() @@ -504,93 +504,93 @@ void Lexer::scan_comma() void Lexer::scan_minus() { /* - '-' ::= minus - '--' ::= decr - '-=' ::= minus_equal - '->' ::= left_arrow + '-' ::= minus + '--' ::= decr + '-=' ::= minus_equal + '->' ::= left_arrow */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else if (*cursor == '-') - { - ++cursor; - token_stream[(int) index++].kind = Token_decr; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_decr; + } else if (*cursor == '>') - { - ++cursor; - token_stream[(int) index++].kind = Token_arrow; - if (*cursor == '*') - { - ++cursor; - token_stream[(int) index++].kind = Token_ptrmem; - } - } + { + ++cursor; + token_stream[(int) index++].kind = Token_arrow; + if (*cursor == '*') + { + ++cursor; + token_stream[(int) index++].kind = Token_ptrmem; + } + } else - { - token_stream[(int) index++].kind = '-'; - } + { + token_stream[(int) index++].kind = '-'; + } } void Lexer::scan_dot() { /* - '.' ::= dot - '...' ::= ellipsis + '.' ::= dot + '...' ::= ellipsis */ ++cursor; if (*cursor == '.' && *(cursor + 1) == '.') - { - cursor += 2; - token_stream[(int) index++].kind = Token_ellipsis; - } + { + cursor += 2; + token_stream[(int) index++].kind = Token_ellipsis; + } else if (*cursor == '.' && *(cursor + 1) == '*') - { - cursor += 2; - token_stream[(int) index++].kind = Token_ptrmem; - } + { + cursor += 2; + token_stream[(int) index++].kind = Token_ptrmem; + } else - token_stream[(int) index++].kind = '.'; + token_stream[(int) index++].kind = '.'; } void Lexer::scan_divide() { /* - '/' ::= divide - '/=' ::= divide_equal + '/' ::= divide + '/=' ::= divide_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else - { - token_stream[(int) index++].kind = '/'; - } + { + token_stream[(int) index++].kind = '/'; + } } void Lexer::scan_colon() { ++cursor; if (*cursor == ':') - { - ++cursor; - token_stream[(int) index++].kind = Token_scope; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_scope; + } else - { - token_stream[(int) index++].kind = ':'; - } + { + token_stream[(int) index++].kind = ':'; + } } void Lexer::scan_semicolon() @@ -602,88 +602,90 @@ void Lexer::scan_semicolon() void Lexer::scan_less() { /* - '<' ::= less - '<<' ::= left_shift - '<<=' ::= left_shift_equal - '<=' ::= less_equal + '<' ::= less + '<<' ::= left_shift + '<<=' ::= left_shift_equal + '<=' ::= less_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_leq; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_leq; + } else if (*cursor == '<') - { - ++cursor; - if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } - else - { - token_stream[(int) index++].kind = Token_shift; - } - } + { + ++cursor; + if (*cursor == '=') + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } + else + { + token_stream[(int) index++].kind = Token_shift_left; + } + } else - { - token_stream[(int) index++].kind = '<'; - } + { + token_stream[(int) index++].kind = '<'; + } } void Lexer::scan_equal() { /* - '=' ::= equal - '==' ::= equal_equal + '=' ::= equal + '==' ::= equal_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_eq; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_eq; + } else - { - token_stream[(int) index++].kind = '='; - } + { + token_stream[(int) index++].kind = '='; + } } void Lexer::scan_greater() { /* - '>' ::= greater - '>=' ::= greater_equal - '>>' ::= right_shift - '>>=' ::= right_shift_equal + '>' ::= greater + '>=' ::= greater_equal + '>>' ::= right_shift + '>>=' ::= right_shift_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_geq; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_geq; + } else if (*cursor == '>') - { - ++cursor; - if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } - else - { - token_stream[(int) index++].kind = Token_shift; - } - } + { + ++cursor; + if (*cursor == '=') + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } + else + { + // may be replaced by two ">" during parsing + token_stream[(int) index++].kind = Token_shift_right; + token_stream[(int) index++].kind = Token_placeholder; + } + } else - { - token_stream[(int) index++].kind = '>'; - } + { + token_stream[(int) index++].kind = '>'; + } } void Lexer::scan_question() @@ -707,20 +709,20 @@ void Lexer::scan_right_bracket() void Lexer::scan_xor() { /* - '^' ::= xor - '^=' ::= xor_equal + '^' ::= xor + '^=' ::= xor_equal */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else - { - token_stream[(int) index++].kind = '^'; - } + { + token_stream[(int) index++].kind = '^'; + } } void Lexer::scan_left_brace() @@ -732,24 +734,24 @@ void Lexer::scan_left_brace() void Lexer::scan_or() { /* - '|' ::= or - '|=' ::= or_equal - '||' ::= or_or + '|' ::= or + '|=' ::= or_equal + '||' ::= or_or */ ++cursor; if (*cursor == '=') - { - ++cursor; - token_stream[(int) index++].kind = Token_assign; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_assign; + } else if (*cursor == '|') - { - ++cursor; - token_stream[(int) index++].kind = Token_or; - } + { + ++cursor; + token_stream[(int) index++].kind = Token_or; + } else - { - token_stream[(int) index++].kind = '|'; + { + token_stream[(int) index++].kind = '|'; } } @@ -779,10 +781,10 @@ void Lexer::scan_invalid_input() } void LocationTable::positionAt(std::size_t offset, int max_line, - int *line, int *column) const + int *line, int *column) const { if (!(line && column && max_line != 0)) - return; + return; int first = 0; int len = max_line; @@ -790,29 +792,29 @@ void LocationTable::positionAt(std::size_t offset, int max_line, int middle; while (len > 0) - { - half = len >> 1; - middle = first; - - middle += half; - - if (lines[middle] < offset) - { - first = middle; - ++first; - len = len - half - 1; - } - else - len = half; - } + { + half = len >> 1; + middle = first; + + middle += half; + + if (lines[middle] < offset) + { + first = middle; + ++first; + len = len - half - 1; + } + else + len = half; + } *line = std::max(first, 1); *column = (int) (offset - lines[*line - 1] - 1); if (*column < 0) - { - *column = 0; - } + { + *column = 0; + } } void Lexer::scanKeyword0() @@ -823,920 +825,963 @@ void Lexer::scanKeyword0() void Lexer::scanKeyword2() { switch (*cursor) - { - case 'i': - if (*(cursor + 1) == 'f') - { - token_stream[(int) index++].kind = Token_if; - return; - } - break; - - case 'd': - if (*(cursor + 1) == 'o') - { - token_stream[(int) index++].kind = Token_do; - return; - } - break; - - case 'o': - if (*(cursor + 1) == 'r') - { - token_stream[(int) index++].kind = Token_or; - return; - } - break; - - } + { + case 'i': + if (*(cursor + 1) == 'f') + { + token_stream[(int) index++].kind = Token_if; + return; + } + break; + + case 'd': + if (*(cursor + 1) == 'o') + { + token_stream[(int) index++].kind = Token_do; + return; + } + break; + + case 'o': + if (*(cursor + 1) == 'r') + { + token_stream[(int) index++].kind = Token_or; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword3() { switch (*cursor) - { - case 'a': - if (*(cursor + 1) == 'n' && - *(cursor + 2) == 'd') - { - token_stream[(int) index++].kind = Token_and; - return; - } - if (*(cursor + 1) == 's' && - *(cursor + 2) == 'm') - { - token_stream[(int) index++].kind = Token_asm; - return; - } - break; - - case 'f': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'r') - { - token_stream[(int) index++].kind = Token_for; - return; - } - break; - - case 'i': - if (*(cursor + 1) == 'n' && - *(cursor + 2) == 't') - { - token_stream[(int) index++].kind = Token_int; - return; - } - break; - - case 'n': - if (*(cursor + 1) == 'e' && - *(cursor + 2) == 'w') - { - token_stream[(int) index++].kind = Token_new; - return; - } - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 't') - { - token_stream[(int) index++].kind = Token_not; - return; - } - break; - - case 't': - if (*(cursor + 1) == 'r' && - *(cursor + 2) == 'y') - { - token_stream[(int) index++].kind = Token_try; - return; - } - break; - - case 'x': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'r') - { - token_stream[(int) index++].kind = Token_xor; - return; - } - break; - - } + { + case 'a': + if (*(cursor + 1) == 'n' && + *(cursor + 2) == 'd') + { + token_stream[(int) index++].kind = Token_and; + return; + } + if (*(cursor + 1) == 's' && + *(cursor + 2) == 'm') + { + token_stream[(int) index++].kind = Token_asm; + return; + } + break; + + case 'f': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'r') + { + token_stream[(int) index++].kind = Token_for; + return; + } + break; + + case 'i': + if (*(cursor + 1) == 'n' && + *(cursor + 2) == 't') + { + token_stream[(int) index++].kind = Token_int; + return; + } + break; + + case 'n': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 'w') + { + token_stream[(int) index++].kind = Token_new; + return; + } + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 't') + { + token_stream[(int) index++].kind = Token_not; + return; + } + break; + + case 't': + if (*(cursor + 1) == 'r' && + *(cursor + 2) == 'y') + { + token_stream[(int) index++].kind = Token_try; + return; + } + break; + + case 'x': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'r') + { + token_stream[(int) index++].kind = Token_xor; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword4() { switch (*cursor) - { - case 'a': - if (*(cursor + 1) == 'u' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'o') - { - token_stream[(int) index++].kind = Token_auto; - return; - } - break; - - case 'c': - if (*(cursor + 1) == 'a' && - *(cursor + 2) == 's' && - *(cursor + 3) == 'e') - { - token_stream[(int) index++].kind = Token_case; - return; - } - if (*(cursor + 1) == 'h' && - *(cursor + 2) == 'a' && - *(cursor + 3) == 'r') - { - token_stream[(int) index++].kind = Token_char; - return; - } - break; - - case 'b': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'o' && - *(cursor + 3) == 'l') - { - token_stream[(int) index++].kind = Token_bool; - return; - } - break; - - case 'e': - if (*(cursor + 1) == 'l' && - *(cursor + 2) == 's' && - *(cursor + 3) == 'e') - { - token_stream[(int) index++].kind = Token_else; - return; - } - if (*(cursor + 1) == 'm' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 't') - { - token_stream[(int) index++].kind = Token_emit; - return; - } - if (*(cursor + 1) == 'n' && - *(cursor + 2) == 'u' && - *(cursor + 3) == 'm') - { - token_stream[(int) index++].kind = Token_enum; - return; - } - break; - - case 'g': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'o') - { - token_stream[(int) index++].kind = Token_goto; - return; - } - break; - - case 'l': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'n' && - *(cursor + 3) == 'g') - { - token_stream[(int) index++].kind = Token_long; - return; - } - break; - - case 't': - if (*(cursor + 1) == 'h' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 's') - { - token_stream[(int) index++].kind = Token_this; - return; - } - break; - - case 'v': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 'd') - { - token_stream[(int) index++].kind = Token_void; - return; - } - break; - - } + { + case 'a': + if (*(cursor + 1) == 'u' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'o') + { + token_stream[(int) index++].kind = Token_auto; + return; + } + break; + + case 'c': + if (*(cursor + 1) == 'a' && + *(cursor + 2) == 's' && + *(cursor + 3) == 'e') + { + token_stream[(int) index++].kind = Token_case; + return; + } + if (*(cursor + 1) == 'h' && + *(cursor + 2) == 'a' && + *(cursor + 3) == 'r') + { + token_stream[(int) index++].kind = Token_char; + return; + } + break; + + case 'b': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'o' && + *(cursor + 3) == 'l') + { + token_stream[(int) index++].kind = Token_bool; + return; + } + break; + + case 'e': + if (*(cursor + 1) == 'l' && + *(cursor + 2) == 's' && + *(cursor + 3) == 'e') + { + token_stream[(int) index++].kind = Token_else; + return; + } + if (*(cursor + 1) == 'm' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 't') + { + token_stream[(int) index++].kind = Token_emit; + return; + } + if (*(cursor + 1) == 'n' && + *(cursor + 2) == 'u' && + *(cursor + 3) == 'm') + { + token_stream[(int) index++].kind = Token_enum; + return; + } + break; + + case 'g': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'o') + { + token_stream[(int) index++].kind = Token_goto; + return; + } + break; + + case 'l': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'n' && + *(cursor + 3) == 'g') + { + token_stream[(int) index++].kind = Token_long; + return; + } + break; + + case 't': + if (*(cursor + 1) == 'h' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 's') + { + token_stream[(int) index++].kind = Token_this; + return; + } + break; + + case 'v': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'd') + { + token_stream[(int) index++].kind = Token_void; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword5() { switch (*cursor) - { - case 'c': - if (*(cursor + 1) == 'a' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'c' && - *(cursor + 4) == 'h') - { - token_stream[(int) index++].kind = Token_catch; - return; - } - if (*(cursor + 1) == 'l' && - *(cursor + 2) == 'a' && - *(cursor + 3) == 's' && - *(cursor + 4) == 's') - { - token_stream[(int) index++].kind = Token_class; - return; - } - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'm' && - *(cursor + 3) == 'p' && - *(cursor + 4) == 'l') - { - token_stream[(int) index++].kind = Token_compl; - return; - } - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'n' && - *(cursor + 3) == 's' && - *(cursor + 4) == 't') - { - token_stream[(int) index++].kind = Token_const; - return; - } - break; - - case 'b': - if (*(cursor + 1) == 'i' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'o' && - *(cursor + 4) == 'r') - { - token_stream[(int) index++].kind = Token_bitor; - return; - } - if (*(cursor + 1) == 'r' && - *(cursor + 2) == 'e' && - *(cursor + 3) == 'a' && - *(cursor + 4) == 'k') - { - token_stream[(int) index++].kind = Token_break; - return; - } - break; - - case 'f': - if (*(cursor + 1) == 'l' && - *(cursor + 2) == 'o' && - *(cursor + 3) == 'a' && - *(cursor + 4) == 't') - { - token_stream[(int) index++].kind = Token_float; - return; - } - break; - - case 'o': - if (*(cursor + 1) == 'r' && - *(cursor + 2) == '_' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 'q') - { - token_stream[(int) index++].kind = Token_or_eq; - return; - } - break; - - case 's': - if (*(cursor + 1) == 'h' && - *(cursor + 2) == 'o' && - *(cursor + 3) == 'r' && - *(cursor + 4) == 't') - { - token_stream[(int) index++].kind = Token_short; - return; - } - if (*(cursor + 1) == 'l' && - *(cursor + 2) == 'o' && - *(cursor + 3) == 't' && - *(cursor + 4) == 's') - { - token_stream[(int) index++].kind = Token_slots; - return; - } - break; - - case 'u': - if (*(cursor + 1) == 'n' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 'o' && - *(cursor + 4) == 'n') - { - token_stream[(int) index++].kind = Token_union; - return; - } - if (*(cursor + 1) == 's' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 'n' && - *(cursor + 4) == 'g') - { - token_stream[(int) index++].kind = Token_using; - return; - } - break; - - case 't': - if (*(cursor + 1) == 'h' && - *(cursor + 2) == 'r' && - *(cursor + 3) == 'o' && - *(cursor + 4) == 'w') - { - token_stream[(int) index++].kind = Token_throw; - return; - } - break; - - case 'w': - if (*(cursor + 1) == 'h' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 'l' && - *(cursor + 4) == 'e') - { - token_stream[(int) index++].kind = Token_while; - return; - } - break; - - } + { + case 'c': + if (*(cursor + 1) == 'a' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'c' && + *(cursor + 4) == 'h') + { + token_stream[(int) index++].kind = Token_catch; + return; + } + if (*(cursor + 1) == 'l' && + *(cursor + 2) == 'a' && + *(cursor + 3) == 's' && + *(cursor + 4) == 's') + { + token_stream[(int) index++].kind = Token_class; + return; + } + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'm' && + *(cursor + 3) == 'p' && + *(cursor + 4) == 'l') + { + token_stream[(int) index++].kind = Token_compl; + return; + } + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'n' && + *(cursor + 3) == 's' && + *(cursor + 4) == 't') + { + token_stream[(int) index++].kind = Token_const; + return; + } + break; + + case 'b': + if (*(cursor + 1) == 'i' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'o' && + *(cursor + 4) == 'r') + { + token_stream[(int) index++].kind = Token_bitor; + return; + } + if (*(cursor + 1) == 'r' && + *(cursor + 2) == 'e' && + *(cursor + 3) == 'a' && + *(cursor + 4) == 'k') + { + token_stream[(int) index++].kind = Token_break; + return; + } + break; + + case 'f': + if (*(cursor + 1) == 'l' && + *(cursor + 2) == 'o' && + *(cursor + 3) == 'a' && + *(cursor + 4) == 't') + { + token_stream[(int) index++].kind = Token_float; + return; + } + break; + + case 'o': + if (*(cursor + 1) == 'r' && + *(cursor + 2) == '_' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 'q') + { + token_stream[(int) index++].kind = Token_or_eq; + return; + } + break; + + case 's': + if (*(cursor + 1) == 'h' && + *(cursor + 2) == 'o' && + *(cursor + 3) == 'r' && + *(cursor + 4) == 't') + { + token_stream[(int) index++].kind = Token_short; + return; + } + if (*(cursor + 1) == 'l' && + *(cursor + 2) == 'o' && + *(cursor + 3) == 't' && + *(cursor + 4) == 's') + { + token_stream[(int) index++].kind = Token_slots; + return; + } + break; + + case 'u': + if (*(cursor + 1) == 'n' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'o' && + *(cursor + 4) == 'n') + { + token_stream[(int) index++].kind = Token_union; + return; + } + if (*(cursor + 1) == 's' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'n' && + *(cursor + 4) == 'g') + { + token_stream[(int) index++].kind = Token_using; + return; + } + break; + + case 't': + if (*(cursor + 1) == 'h' && + *(cursor + 2) == 'r' && + *(cursor + 3) == 'o' && + *(cursor + 4) == 'w') + { + token_stream[(int) index++].kind = Token_throw; + return; + } + break; + + case 'w': + if (*(cursor + 1) == 'h' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'l' && + *(cursor + 4) == 'e') + { + token_stream[(int) index++].kind = Token_while; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword6() { switch (*cursor) - { - case 'a': - if (*(cursor + 1) == 'n' && - *(cursor + 2) == 'd' && - *(cursor + 3) == '_' && - *(cursor + 4) == 'e' && - *(cursor + 5) == 'q') - { - token_stream[(int) index++].kind = Token_and_eq; - return; - } - break; - - case 'b': - if (*(cursor + 1) == 'i' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'a' && - *(cursor + 4) == 'n' && - *(cursor + 5) == 'd') - { - token_stream[(int) index++].kind = Token_bitand; - return; - } - break; - - case 'e': - if (*(cursor + 1) == 'x' && - *(cursor + 2) == 'p' && - *(cursor + 3) == 'o' && - *(cursor + 4) == 'r' && - *(cursor + 5) == 't') - { - token_stream[(int) index++].kind = Token_export; - return; - } - if (*(cursor + 1) == 'x' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 'r' && - *(cursor + 5) == 'n') - { - token_stream[(int) index++].kind = Token_extern; - return; - } - break; - - case 'd': - if (*(cursor + 1) == 'e' && - *(cursor + 2) == 'l' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 't' && - *(cursor + 5) == 'e') - { - token_stream[(int) index++].kind = Token_delete; - return; - } - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'u' && - *(cursor + 3) == 'b' && - *(cursor + 4) == 'l' && - *(cursor + 5) == 'e') - { - token_stream[(int) index++].kind = Token_double; - return; - } - break; - - case 'f': - if (*(cursor + 1) == 'r' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 'n' && - *(cursor + 5) == 'd') - { - token_stream[(int) index++].kind = Token_friend; - return; - } - break; - - case 'i': - if (*(cursor + 1) == 'n' && - *(cursor + 2) == 'l' && - *(cursor + 3) == 'i' && - *(cursor + 4) == 'n' && - *(cursor + 5) == 'e') - { - token_stream[(int) index++].kind = Token_inline; - return; - } - break; - - case 'K': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'D' && - *(cursor + 3) == 'C' && - *(cursor + 4) == 'O' && - *(cursor + 5) == 'P') - { - token_stream[(int) index++].kind = Token_K_DCOP; - return; - } - break; - - case 'n': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 't' && - *(cursor + 3) == '_' && - *(cursor + 4) == 'e' && - *(cursor + 5) == 'q') - { - token_stream[(int) index++].kind = Token_not_eq; - return; - } - break; - - case 'p': - if (*(cursor + 1) == 'u' && - *(cursor + 2) == 'b' && - *(cursor + 3) == 'l' && - *(cursor + 4) == 'i' && - *(cursor + 5) == 'c') - { - token_stream[(int) index++].kind = Token_public; - return; - } - break; - - case 's': - if (*(cursor + 1) == 'i' && - *(cursor + 2) == 'g' && - *(cursor + 3) == 'n' && - *(cursor + 4) == 'e' && - *(cursor + 5) == 'd') - { - token_stream[(int) index++].kind = Token_signed; - return; - } - if (*(cursor + 1) == 'i' && - *(cursor + 2) == 'z' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 'o' && - *(cursor + 5) == 'f') - { - token_stream[(int) index++].kind = Token_sizeof; - return; - } - if (*(cursor + 1) == 't' && - *(cursor + 2) == 'a' && - *(cursor + 3) == 't' && - *(cursor + 4) == 'i' && - *(cursor + 5) == 'c') - { - token_stream[(int) index++].kind = Token_static; - return; - } - if (*(cursor + 1) == 't' && - *(cursor + 2) == 'r' && - *(cursor + 3) == 'u' && - *(cursor + 4) == 'c' && - *(cursor + 5) == 't') - { - token_stream[(int) index++].kind = Token_struct; - return; - } - if (*(cursor + 1) == 'w' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 't' && - *(cursor + 4) == 'c' && - *(cursor + 5) == 'h') - { - token_stream[(int) index++].kind = Token_switch; - return; - } - break; - - case 'r': - if (*(cursor + 1) == 'e' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'u' && - *(cursor + 4) == 'r' && - *(cursor + 5) == 'n') - { - token_stream[(int) index++].kind = Token_return; - return; - } - break; - - case 't': - if (*(cursor + 1) == 'y' && - *(cursor + 2) == 'p' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 'i' && - *(cursor + 5) == 'd') - { - token_stream[(int) index++].kind = Token_typeid; - return; - } - break; - - case 'x': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'r' && - *(cursor + 3) == '_' && - *(cursor + 4) == 'e' && - *(cursor + 5) == 'q') - { - token_stream[(int) index++].kind = Token_xor_eq; - return; - } - break; - - case 'k': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'd' && - *(cursor + 3) == 'c' && - *(cursor + 4) == 'o' && - *(cursor + 5) == 'p') - { - token_stream[(int) index++].kind = Token_k_dcop; - return; - } - break; - case 'Q': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'E' && - *(cursor + 3) == 'N' && - *(cursor + 4) == 'U' && - *(cursor + 5) == 'M') - { - token_stream[(int)index++].kind = Token_Q_ENUM; - return; - } - break; - - } + { + case 'a': + if (*(cursor + 1) == 'n' && + *(cursor + 2) == 'd' && + *(cursor + 3) == '_' && + *(cursor + 4) == 'e' && + *(cursor + 5) == 'q') + { + token_stream[(int) index++].kind = Token_and_eq; + return; + } + break; + + case 'b': + if (*(cursor + 1) == 'i' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'a' && + *(cursor + 4) == 'n' && + *(cursor + 5) == 'd') + { + token_stream[(int) index++].kind = Token_bitand; + return; + } + break; + + case 'e': + if (*(cursor + 1) == 'x' && + *(cursor + 2) == 'p' && + *(cursor + 3) == 'o' && + *(cursor + 4) == 'r' && + *(cursor + 5) == 't') + { + token_stream[(int) index++].kind = Token_export; + return; + } + if (*(cursor + 1) == 'x' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 'r' && + *(cursor + 5) == 'n') + { + token_stream[(int) index++].kind = Token_extern; + return; + } + break; + + case 'd': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 'l' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 't' && + *(cursor + 5) == 'e') + { + token_stream[(int) index++].kind = Token_delete; + return; + } + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'u' && + *(cursor + 3) == 'b' && + *(cursor + 4) == 'l' && + *(cursor + 5) == 'e') + { + token_stream[(int) index++].kind = Token_double; + return; + } + break; + + case 'f': + if (*(cursor + 1) == 'r' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 'n' && + *(cursor + 5) == 'd') + { + token_stream[(int) index++].kind = Token_friend; + return; + } + break; + + case 'i': + if (*(cursor + 1) == 'n' && + *(cursor + 2) == 'l' && + *(cursor + 3) == 'i' && + *(cursor + 4) == 'n' && + *(cursor + 5) == 'e') + { + token_stream[(int) index++].kind = Token_inline; + return; + } + break; + + case 'K': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'D' && + *(cursor + 3) == 'C' && + *(cursor + 4) == 'O' && + *(cursor + 5) == 'P') + { + token_stream[(int) index++].kind = Token_K_DCOP; + return; + } + break; + + case 'n': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 't' && + *(cursor + 3) == '_' && + *(cursor + 4) == 'e' && + *(cursor + 5) == 'q') + { + token_stream[(int) index++].kind = Token_not_eq; + return; + } + break; + + case 'p': + if (*(cursor + 1) == 'u' && + *(cursor + 2) == 'b' && + *(cursor + 3) == 'l' && + *(cursor + 4) == 'i' && + *(cursor + 5) == 'c') + { + token_stream[(int) index++].kind = Token_public; + return; + } + break; + + case 's': + if (*(cursor + 1) == 'i' && + *(cursor + 2) == 'g' && + *(cursor + 3) == 'n' && + *(cursor + 4) == 'e' && + *(cursor + 5) == 'd') + { + token_stream[(int) index++].kind = Token_signed; + return; + } + if (*(cursor + 1) == 'i' && + *(cursor + 2) == 'z' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 'o' && + *(cursor + 5) == 'f') + { + token_stream[(int) index++].kind = Token_sizeof; + return; + } + if (*(cursor + 1) == 't' && + *(cursor + 2) == 'a' && + *(cursor + 3) == 't' && + *(cursor + 4) == 'i' && + *(cursor + 5) == 'c') + { + token_stream[(int) index++].kind = Token_static; + return; + } + if (*(cursor + 1) == 't' && + *(cursor + 2) == 'r' && + *(cursor + 3) == 'u' && + *(cursor + 4) == 'c' && + *(cursor + 5) == 't') + { + token_stream[(int) index++].kind = Token_struct; + return; + } + if (*(cursor + 1) == 'w' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 't' && + *(cursor + 4) == 'c' && + *(cursor + 5) == 'h') + { + token_stream[(int) index++].kind = Token_switch; + return; + } + break; + + case 'r': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'u' && + *(cursor + 4) == 'r' && + *(cursor + 5) == 'n') + { + token_stream[(int) index++].kind = Token_return; + return; + } + break; + + case 't': + if (*(cursor + 1) == 'y' && + *(cursor + 2) == 'p' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 'i' && + *(cursor + 5) == 'd') + { + token_stream[(int) index++].kind = Token_typeid; + return; + } + break; + + case 'x': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'r' && + *(cursor + 3) == '_' && + *(cursor + 4) == 'e' && + *(cursor + 5) == 'q') + { + token_stream[(int) index++].kind = Token_xor_eq; + return; + } + break; + + case 'k': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'd' && + *(cursor + 3) == 'c' && + *(cursor + 4) == 'o' && + *(cursor + 5) == 'p') + { + token_stream[(int) index++].kind = Token_k_dcop; + return; + } + break; + case 'Q': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'E' && + *(cursor + 3) == 'N' && + *(cursor + 4) == 'U' && + *(cursor + 5) == 'M') + { + token_stream[(int)index++].kind = Token_Q_ENUM; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword7() { switch (*cursor) - { - case 'd': - if (*(cursor + 1) == 'e' && - *(cursor + 2) == 'f' && - *(cursor + 3) == 'a' && - *(cursor + 4) == 'u' && - *(cursor + 5) == 'l' && - *(cursor + 6) == 't') - { - token_stream[(int) index++].kind = Token_default; - return; - } - break; - - case 'm': - if (*(cursor + 1) == 'u' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'a' && - *(cursor + 4) == 'b' && - *(cursor + 5) == 'l' && - *(cursor + 6) == 'e') - { - token_stream[(int) index++].kind = Token_mutable; - return; - } - break; - - case 'p': - if (*(cursor + 1) == 'r' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 'v' && - *(cursor + 4) == 'a' && - *(cursor + 5) == 't' && - *(cursor + 6) == 'e') - { - token_stream[(int) index++].kind = Token_private; - return; - } - break; - case 's': - if (*(cursor + 1) == 'i' && - *(cursor + 2) == 'g' && - *(cursor + 3) == 'n' && - *(cursor + 4) == 'a' && - *(cursor + 5) == 'l' && - *(cursor + 6) == 's') - { - token_stream[(int) index++].kind = Token_signals; - return; - } - break; - case 't': - if (*(cursor + 1) == 'y' && - *(cursor + 2) == 'p' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 'd' && - *(cursor + 5) == 'e' && - *(cursor + 6) == 'f') - { - token_stream[(int) index++].kind = Token_typedef; - return; - } - break; - - case 'v': - if (*(cursor + 1) == 'i' && - *(cursor + 2) == 'r' && - *(cursor + 3) == 't' && - *(cursor + 4) == 'u' && - *(cursor + 5) == 'a' && - *(cursor + 6) == 'l') - { - token_stream[(int) index++].kind = Token_virtual; - return; - } - break; - - case 'Q': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'E' && - *(cursor + 3) == 'N' && - *(cursor + 4) == 'U' && - *(cursor + 5) == 'M' && - *(cursor + 6) == 'S') - { - token_stream[(int) index++].kind = Token_Q_ENUMS; - return; - } - break; - - } + { + case 'd': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 'f' && + *(cursor + 3) == 'a' && + *(cursor + 4) == 'u' && + *(cursor + 5) == 'l' && + *(cursor + 6) == 't') + { + token_stream[(int) index++].kind = Token_default; + return; + } + break; + + case 'm': + if (*(cursor + 1) == 'u' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'a' && + *(cursor + 4) == 'b' && + *(cursor + 5) == 'l' && + *(cursor + 6) == 'e') + { + token_stream[(int) index++].kind = Token_mutable; + return; + } + break; + + case 'p': + if (*(cursor + 1) == 'r' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'v' && + *(cursor + 4) == 'a' && + *(cursor + 5) == 't' && + *(cursor + 6) == 'e') + { + token_stream[(int) index++].kind = Token_private; + return; + } + break; + case 's': + if (*(cursor + 1) == 'i' && + *(cursor + 2) == 'g' && + *(cursor + 3) == 'n' && + *(cursor + 4) == 'a' && + *(cursor + 5) == 'l' && + *(cursor + 6) == 's') + { + token_stream[(int) index++].kind = Token_signals; + return; + } + break; + case 't': + if (*(cursor + 1) == 'y' && + *(cursor + 2) == 'p' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 'd' && + *(cursor + 5) == 'e' && + *(cursor + 6) == 'f') + { + token_stream[(int) index++].kind = Token_typedef; + return; + } + break; + + case 'v': + if (*(cursor + 1) == 'i' && + *(cursor + 2) == 'r' && + *(cursor + 3) == 't' && + *(cursor + 4) == 'u' && + *(cursor + 5) == 'a' && + *(cursor + 6) == 'l') + { + token_stream[(int) index++].kind = Token_virtual; + return; + } + break; + + case 'Q': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'E' && + *(cursor + 3) == 'N' && + *(cursor + 4) == 'U' && + *(cursor + 5) == 'M' && + *(cursor + 6) == 'S') + { + token_stream[(int) index++].kind = Token_Q_ENUMS; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword8() { switch (*cursor) - { - case '_': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 't' && - *(cursor + 3) == 'y' && - *(cursor + 4) == 'p' && - *(cursor + 5) == 'e' && - *(cursor + 6) == 'o' && - *(cursor + 7) == 'f') - { - token_stream[(int) index++].kind = Token___typeof; - return; - } - break; - - case 'c': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'n' && - *(cursor + 3) == 't' && - *(cursor + 4) == 'i' && - *(cursor + 5) == 'n' && - *(cursor + 6) == 'u' && - *(cursor + 7) == 'e') - { - token_stream[(int) index++].kind = Token_continue; - return; - } - break; - - case 'e': - if (*(cursor + 1) == 'x' && - *(cursor + 2) == 'p' && - *(cursor + 3) == 'l' && - *(cursor + 4) == 'i' && - *(cursor + 5) == 'c' && - *(cursor + 6) == 'i' && - *(cursor + 7) == 't') - { - token_stream[(int) index++].kind = Token_explicit; - return; - } - break; - - case 'o': - if (*(cursor + 1) == 'p' && - *(cursor + 2) == 'e' && - *(cursor + 3) == 'r' && - *(cursor + 4) == 'a' && - *(cursor + 5) == 't' && - *(cursor + 6) == 'o' && - *(cursor + 7) == 'r') - { - token_stream[(int) index++].kind = Token_operator; - return; - } - break; - - case 'Q': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'O' && - *(cursor + 3) == 'B' && - *(cursor + 4) == 'J' && - *(cursor + 5) == 'E' && - *(cursor + 6) == 'C' && - *(cursor + 7) == 'T') - { - token_stream[(int) index++].kind = Token_Q_OBJECT; - return; - } - break; - - case 'r': - if (*(cursor + 1) == 'e' && - *(cursor + 2) == 'g' && - *(cursor + 3) == 'i' && - *(cursor + 4) == 's' && - *(cursor + 5) == 't' && - *(cursor + 6) == 'e' && - *(cursor + 7) == 'r') - { - token_stream[(int) index++].kind = Token_register; - return; - } - break; - - case 'u': - if (*(cursor + 1) == 'n' && - *(cursor + 2) == 's' && - *(cursor + 3) == 'i' && - *(cursor + 4) == 'g' && - *(cursor + 5) == 'n' && - *(cursor + 6) == 'e' && - *(cursor + 7) == 'd') - { - token_stream[(int) index++].kind = Token_unsigned; - return; - } - break; - - case 't': - if (*(cursor + 1) == 'e' && - *(cursor + 2) == 'm' && - *(cursor + 3) == 'p' && - *(cursor + 4) == 'l' && - *(cursor + 5) == 'a' && - *(cursor + 6) == 't' && - *(cursor + 7) == 'e') - { - token_stream[(int) index++].kind = Token_template; - return; - } - if (*(cursor + 1) == 'y' && - *(cursor + 2) == 'p' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 'n' && - *(cursor + 5) == 'a' && - *(cursor + 6) == 'm' && - *(cursor + 7) == 'e') - { - token_stream[(int) index++].kind = Token_typename; - return; - } - break; - - case 'v': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'l' && - *(cursor + 3) == 'a' && - *(cursor + 4) == 't' && - *(cursor + 5) == 'i' && - *(cursor + 6) == 'l' && - *(cursor + 7) == 'e') - { - token_stream[(int) index++].kind = Token_volatile; - return; - } - break; - - } + { + case '_': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 't' && + *(cursor + 3) == 'y' && + *(cursor + 4) == 'p' && + *(cursor + 5) == 'e' && + *(cursor + 6) == 'o' && + *(cursor + 7) == 'f') + { + token_stream[(int) index++].kind = Token___typeof; + return; + } + break; + + case 'c': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'n' && + *(cursor + 3) == 't' && + *(cursor + 4) == 'i' && + *(cursor + 5) == 'n' && + *(cursor + 6) == 'u' && + *(cursor + 7) == 'e') + { + token_stream[(int) index++].kind = Token_continue; + return; + } + break; + + case 'd': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 'c' && + *(cursor + 3) == 'l' && + *(cursor + 4) == 't' && + *(cursor + 5) == 'y' && + *(cursor + 6) == 'p' && + *(cursor + 7) == 'e') + { + token_stream[(int) index++].kind = Token_decltype; + return; + } + break; + + case 'e': + if (*(cursor + 1) == 'x' && + *(cursor + 2) == 'p' && + *(cursor + 3) == 'l' && + *(cursor + 4) == 'i' && + *(cursor + 5) == 'c' && + *(cursor + 6) == 'i' && + *(cursor + 7) == 't') + { + token_stream[(int) index++].kind = Token_explicit; + return; + } + break; + + case 'n': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'e' && + *(cursor + 3) == 'x' && + *(cursor + 4) == 'c' && + *(cursor + 5) == 'e' && + *(cursor + 6) == 'p' && + *(cursor + 7) == 't') + { + token_stream[(int) index++].kind = Token_noexcept; + return; + } + break; + + case 'o': + if (*(cursor + 1) == 'p' && + *(cursor + 2) == 'e' && + *(cursor + 3) == 'r' && + *(cursor + 4) == 'a' && + *(cursor + 5) == 't' && + *(cursor + 6) == 'o' && + *(cursor + 7) == 'r') + { + token_stream[(int) index++].kind = Token_operator; + return; + } + break; + + case 'Q': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'O' && + *(cursor + 3) == 'B' && + *(cursor + 4) == 'J' && + *(cursor + 5) == 'E' && + *(cursor + 6) == 'C' && + *(cursor + 7) == 'T') + { + token_stream[(int) index++].kind = Token_Q_OBJECT; + return; + } + break; + + case 'r': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 'g' && + *(cursor + 3) == 'i' && + *(cursor + 4) == 's' && + *(cursor + 5) == 't' && + *(cursor + 6) == 'e' && + *(cursor + 7) == 'r') + { + token_stream[(int) index++].kind = Token_register; + return; + } + break; + + case 'u': + if (*(cursor + 1) == 'n' && + *(cursor + 2) == 's' && + *(cursor + 3) == 'i' && + *(cursor + 4) == 'g' && + *(cursor + 5) == 'n' && + *(cursor + 6) == 'e' && + *(cursor + 7) == 'd') + { + token_stream[(int) index++].kind = Token_unsigned; + return; + } + break; + + case 't': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 'm' && + *(cursor + 3) == 'p' && + *(cursor + 4) == 'l' && + *(cursor + 5) == 'a' && + *(cursor + 6) == 't' && + *(cursor + 7) == 'e') + { + token_stream[(int) index++].kind = Token_template; + return; + } + if (*(cursor + 1) == 'y' && + *(cursor + 2) == 'p' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 'n' && + *(cursor + 5) == 'a' && + *(cursor + 6) == 'm' && + *(cursor + 7) == 'e') + { + token_stream[(int) index++].kind = Token_typename; + return; + } + break; + + case 'v': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'l' && + *(cursor + 3) == 'a' && + *(cursor + 4) == 't' && + *(cursor + 5) == 'i' && + *(cursor + 6) == 'l' && + *(cursor + 7) == 'e') + { + token_stream[(int) index++].kind = Token_volatile; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword9() { switch (*cursor) - { - case 'p': - if (*(cursor + 1) == 'r' && - *(cursor + 2) == 'o' && - *(cursor + 3) == 't' && - *(cursor + 4) == 'e' && - *(cursor + 5) == 'c' && - *(cursor + 6) == 't' && - *(cursor + 7) == 'e' && - *(cursor + 8) == 'd') - { - token_stream[(int) index++].kind = Token_protected; - return; - } - break; - - case 'n': - if (*(cursor + 1) == 'a' && - *(cursor + 2) == 'm' && - *(cursor + 3) == 'e' && - *(cursor + 4) == 's' && - *(cursor + 5) == 'p' && - *(cursor + 6) == 'a' && - *(cursor + 7) == 'c' && - *(cursor + 8) == 'e') - { - token_stream[(int) index++].kind = Token_namespace; - return; - } - break; - - } + { + case 'c': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'n' && + *(cursor + 3) == 's' && + *(cursor + 4) == 't' && + *(cursor + 5) == 'e' && + *(cursor + 6) == 'x' && + *(cursor + 7) == 'p' && + *(cursor + 8) == 'r') + { + token_stream[(int) index++].kind = Token_constexpr; + return; + } + break; + + case 'p': + if (*(cursor + 1) == 'r' && + *(cursor + 2) == 'o' && + *(cursor + 3) == 't' && + *(cursor + 4) == 'e' && + *(cursor + 5) == 'c' && + *(cursor + 6) == 't' && + *(cursor + 7) == 'e' && + *(cursor + 8) == 'd') + { + token_stream[(int) index++].kind = Token_protected; + return; + } + break; + + case 'n': + if (*(cursor + 1) == 'a' && + *(cursor + 2) == 'm' && + *(cursor + 3) == 'e' && + *(cursor + 4) == 's' && + *(cursor + 5) == 'p' && + *(cursor + 6) == 'a' && + *(cursor + 7) == 'c' && + *(cursor + 8) == 'e') + { + token_stream[(int) index++].kind = Token_namespace; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword10() { switch (*cursor) - { - case 'c': - if (*(cursor + 1) == 'o' && - *(cursor + 2) == 'n' && - *(cursor + 3) == 's' && - *(cursor + 4) == 't' && - *(cursor + 5) == '_' && - *(cursor + 6) == 'c' && - *(cursor + 7) == 'a' && - *(cursor + 8) == 's' && - *(cursor + 9) == 't') - { - token_stream[(int) index++].kind = Token_const_cast; - return; - } - break; - - case 'Q': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'P' && - *(cursor + 3) == 'R' && - *(cursor + 4) == 'O' && - *(cursor + 5) == 'P' && - *(cursor + 6) == 'E' && - *(cursor + 7) == 'R' && - *(cursor + 8) == 'T' && - *(cursor + 9) == 'Y') - { - token_stream[(int) index++].kind = Token_Q_PROPERTY; - return; - } - - break; - } + { + case 'c': + if (*(cursor + 1) == 'o' && + *(cursor + 2) == 'n' && + *(cursor + 3) == 's' && + *(cursor + 4) == 't' && + *(cursor + 5) == '_' && + *(cursor + 6) == 'c' && + *(cursor + 7) == 'a' && + *(cursor + 8) == 's' && + *(cursor + 9) == 't') + { + token_stream[(int) index++].kind = Token_const_cast; + return; + } + break; + + case 'Q': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'P' && + *(cursor + 3) == 'R' && + *(cursor + 4) == 'O' && + *(cursor + 5) == 'P' && + *(cursor + 6) == 'E' && + *(cursor + 7) == 'R' && + *(cursor + 8) == 'T' && + *(cursor + 9) == 'Y') + { + token_stream[(int) index++].kind = Token_Q_PROPERTY; + return; + } + + break; + } token_stream[(int) index++].kind = Token_identifier; } @@ -1744,150 +1789,150 @@ void Lexer::scanKeyword10() void Lexer::scanKeyword11() { switch (*cursor) - { - case 'Q': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'I' && - *(cursor + 3) == 'N' && - *(cursor + 4) == 'V' && - *(cursor + 5) == 'O' && - *(cursor + 6) == 'K' && - *(cursor + 7) == 'A' && - *(cursor + 8) == 'B' && - *(cursor + 9) == 'L' && - *(cursor + 10) == 'E') - { - token_stream[(int) index++].kind = Token_Q_INVOKABLE; - return; - } - break; - - case 's': - if (*(cursor + 1) == 't' && - *(cursor + 2) == 'a' && - *(cursor + 3) == 't' && - *(cursor + 4) == 'i' && - *(cursor + 5) == 'c' && - *(cursor + 6) == '_' && - *(cursor + 7) == 'c' && - *(cursor + 8) == 'a' && - *(cursor + 9) == 's' && - *(cursor + 10) == 't') - { - token_stream[(int) index++].kind = Token_static_cast; - return; - } - break; - - } + { + case 'Q': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'I' && + *(cursor + 3) == 'N' && + *(cursor + 4) == 'V' && + *(cursor + 5) == 'O' && + *(cursor + 6) == 'K' && + *(cursor + 7) == 'A' && + *(cursor + 8) == 'B' && + *(cursor + 9) == 'L' && + *(cursor + 10) == 'E') + { + token_stream[(int) index++].kind = Token_Q_INVOKABLE; + return; + } + break; + + case 's': + if (*(cursor + 1) == 't' && + *(cursor + 2) == 'a' && + *(cursor + 3) == 't' && + *(cursor + 4) == 'i' && + *(cursor + 5) == 'c' && + *(cursor + 6) == '_' && + *(cursor + 7) == 'c' && + *(cursor + 8) == 'a' && + *(cursor + 9) == 's' && + *(cursor + 10) == 't') + { + token_stream[(int) index++].kind = Token_static_cast; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword12() { switch (*cursor) - { - case 'd': - if (*(cursor + 1) == 'y' && - *(cursor + 2) == 'n' && - *(cursor + 3) == 'a' && - *(cursor + 4) == 'm' && - *(cursor + 5) == 'i' && - *(cursor + 6) == 'c' && - *(cursor + 7) == '_' && - *(cursor + 8) == 'c' && - *(cursor + 9) == 'a' && - *(cursor + 10) == 's' && - *(cursor + 11) == 't') - { - token_stream[(int) index++].kind = Token_dynamic_cast; - return; - } - break; - - } + { + case 'd': + if (*(cursor + 1) == 'y' && + *(cursor + 2) == 'n' && + *(cursor + 3) == 'a' && + *(cursor + 4) == 'm' && + *(cursor + 5) == 'i' && + *(cursor + 6) == 'c' && + *(cursor + 7) == '_' && + *(cursor + 8) == 'c' && + *(cursor + 9) == 'a' && + *(cursor + 10) == 's' && + *(cursor + 11) == 't') + { + token_stream[(int) index++].kind = Token_dynamic_cast; + return; + } + break; + + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword13() { switch (*cursor) - { - case '_': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'a' && - *(cursor + 3) == 't' && - *(cursor + 4) == 't' && - *(cursor + 5) == 'r' && - *(cursor + 6) == 'i' && - *(cursor + 7) == 'b' && - *(cursor + 8) == 'u' && - *(cursor + 9) == 't' && - *(cursor + 10) == 'e' && - *(cursor + 11) == '_' && - *(cursor + 12) == '_') - { - token_stream[(int) index++].kind = Token___attribute__; - return; - } - break; - } + { + case '_': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'a' && + *(cursor + 3) == 't' && + *(cursor + 4) == 't' && + *(cursor + 5) == 'r' && + *(cursor + 6) == 'i' && + *(cursor + 7) == 'b' && + *(cursor + 8) == 'u' && + *(cursor + 9) == 't' && + *(cursor + 10) == 'e' && + *(cursor + 11) == '_' && + *(cursor + 12) == '_') + { + token_stream[(int) index++].kind = Token___attribute__; + return; + } + break; + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword14() { switch (*cursor) - { - case 'k': - if (*(cursor + 1) == '_' && - *(cursor + 2) == 'd' && - *(cursor + 3) == 'c' && - *(cursor + 4) == 'o' && - *(cursor + 5) == 'p' && - *(cursor + 6) == '_' && - *(cursor + 7) == 's' && - *(cursor + 8) == 'i' && - *(cursor + 9) == 'g' && - *(cursor + 10) == 'n' && - *(cursor + 11) == 'a' && - *(cursor + 12) == 'l' && - *(cursor + 13) == 's') - { - token_stream[(int) index++].kind = Token_k_dcop_signals; - return; - } - break; - } + { + case 'k': + if (*(cursor + 1) == '_' && + *(cursor + 2) == 'd' && + *(cursor + 3) == 'c' && + *(cursor + 4) == 'o' && + *(cursor + 5) == 'p' && + *(cursor + 6) == '_' && + *(cursor + 7) == 's' && + *(cursor + 8) == 'i' && + *(cursor + 9) == 'g' && + *(cursor + 10) == 'n' && + *(cursor + 11) == 'a' && + *(cursor + 12) == 'l' && + *(cursor + 13) == 's') + { + token_stream[(int) index++].kind = Token_k_dcop_signals; + return; + } + break; + } token_stream[(int) index++].kind = Token_identifier; } void Lexer::scanKeyword16() { switch (*cursor) - { - case 'r': - if (*(cursor + 1) == 'e' && - *(cursor + 2) == 'i' && - *(cursor + 3) == 'n' && - *(cursor + 4) == 't' && - *(cursor + 5) == 'e' && - *(cursor + 6) == 'r' && - *(cursor + 7) == 'p' && - *(cursor + 8) == 'r' && - *(cursor + 9) == 'e' && - *(cursor + 10) == 't' && - *(cursor + 11) == '_' && - *(cursor + 12) == 'c' && - *(cursor + 13) == 'a' && - *(cursor + 14) == 's' && - *(cursor + 15) == 't') - { - token_stream[(int) index++].kind = Token_reinterpret_cast; - return; - } - break; - } + { + case 'r': + if (*(cursor + 1) == 'e' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'n' && + *(cursor + 4) == 't' && + *(cursor + 5) == 'e' && + *(cursor + 6) == 'r' && + *(cursor + 7) == 'p' && + *(cursor + 8) == 'r' && + *(cursor + 9) == 'e' && + *(cursor + 10) == 't' && + *(cursor + 11) == '_' && + *(cursor + 12) == 'c' && + *(cursor + 13) == 'a' && + *(cursor + 14) == 's' && + *(cursor + 15) == 't') + { + token_stream[(int) index++].kind = Token_reinterpret_cast; + return; + } + break; + } token_stream[(int) index++].kind = Token_identifier; } diff --git a/generator/parser/lexer.h b/generator/parser/lexer.h index c37dc4a4..4d440536 100644 --- a/generator/parser/lexer.h +++ b/generator/parser/lexer.h @@ -140,7 +140,7 @@ class TokenStream inline std::size_t cursor() const { return index; } - inline void rewind(int i) + inline void rewind(std::size_t i) { index = i; } void resize(std::size_t size) @@ -168,10 +168,10 @@ class TokenStream inline std::size_t matchingBrace(std::size_t i) const { return tokens[i].extra.right_brace; } - inline Token &operator[](int i) + inline Token &operator[](std::size_t i) { return tokens[i]; } - inline const Token &token(int i) const + inline const Token &token(std::size_t i) const { return tokens[i]; } private: diff --git a/generator/parser/name_compiler.cpp b/generator/parser/name_compiler.cpp index 75dc3247..1b70b879 100644 --- a/generator/parser/name_compiler.cpp +++ b/generator/parser/name_compiler.cpp @@ -80,7 +80,7 @@ void NameCompiler::visitUnqualifiedName(UnqualifiedNameAST *node) if (OperatorFunctionIdAST *op_id = node->operator_id) { #if defined(__GNUC__) -#warning "NameCompiler::visitUnqualifiedName() -- implement me" +#pragma GCC warning "NameCompiler::visitUnqualifiedName() -- implement me" #endif if (op_id->op && op_id->op->op) @@ -93,7 +93,7 @@ void NameCompiler::visitUnqualifiedName(UnqualifiedNameAST *node) else if (op_id->type_specifier) { #if defined(__GNUC__) -#warning "don't use an hardcoded string as cast' name" +#pragma GCC warning "don't use an hardcoded string as cast' name" #endif Token const &tk = _M_token_stream->token ((int) op_id->start_token); Token const &end_tk = _M_token_stream->token ((int) op_id->end_token); @@ -127,6 +127,12 @@ void NameCompiler::visitTemplateArgument(TemplateArgumentAST *node) if (type_cc.isConstant()) _M_name.last() += "const "; + /* An id can't be 'constexpr' but it may have a function type in which + * case constexpr could appear. + */ + if (type_cc.isConstexpr()) + _M_name.last() += "constexpr "; + QStringList q = type_cc.qualifiedName (); if (q.count () == 1) diff --git a/generator/parser/parser.cpp b/generator/parser/parser.cpp index 429a02d1..bdf39f76 100644 --- a/generator/parser/parser.cpp +++ b/generator/parser/parser.cpp @@ -50,6 +50,7 @@ #include #include +#include #define ADVANCE(tk, descr) \ { \ @@ -57,7 +58,7 @@ tokenRequiredError(tk); \ return false; \ } \ - token_stream.nextToken(); \ + nextToken(); \ } #define ADVANCE_NR(tk, descr) \ @@ -66,7 +67,7 @@ tokenRequiredError(tk); \ } \ else \ - token_stream.nextToken(); \ + nextToken(); \ } while (0) #define CHECK(tk) \ @@ -74,7 +75,7 @@ if (token_stream.lookAhead() != tk) { \ return false; \ } \ - token_stream.nextToken(); \ + nextToken(); \ } while (0) #define UPDATE_POS(_node, start, end) \ @@ -95,9 +96,16 @@ Parser::~Parser() { } -void Parser::advance() +void Parser::nextToken() { token_stream.nextToken(); + keepTrackDebug(); +} + +void Parser::rewind(std::size_t pos) +{ + token_stream.rewind(pos); + keepTrackDebug(); } TranslationUnitAST *Parser::parse(const char *contents, @@ -106,7 +114,7 @@ TranslationUnitAST *Parser::parse(const char *contents, _M_block_errors = false; _M_pool = p; lexer.tokenize(contents, size); - token_stream.nextToken(); // skip the first token + nextToken(); // skip the first token Lexer *oldLexer = control->changeLexer (&lexer); Parser *oldParser = control->changeParser (this); @@ -133,20 +141,20 @@ bool Parser::parseWinDeclSpec(WinDeclSpecAST *&node) return false; std::size_t specifier = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); if (token_stream.lookAhead() != '(') return false; - token_stream.nextToken(); + nextToken(); if (token_stream.lookAhead() != Token_identifier) return false; std::size_t modifier = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); if (token_stream.lookAhead() != ')') return false; - token_stream.nextToken(); + nextToken(); node = CreateNode(_M_pool); node->specifier = specifier; @@ -168,6 +176,7 @@ void Parser::tokenRequiredError(int token) err += token_name(token_stream.lookAhead()); err += "''"; + reportError(err); } @@ -203,6 +212,24 @@ void Parser::reportError(const QString& msg) } } +void Parser::keepTrackDebug() +{ +#ifndef NDEBUG + std::size_t tok = token_stream.cursor(); + location().positionAt(token_stream.position(tok), + &_currentLine, &_currentColumn, &_currentFile); + _currentToken = token_name(token_stream.lookAhead()); + if (token_stream.lookAhead() == Token_identifier) + { + _currentSymbol = token_stream.symbol(tok)->as_string(); + } + else + { + _currentSymbol = ""; + } +#endif +} + bool Parser::skipUntil(int token) { while (token_stream.lookAhead()) @@ -210,7 +237,7 @@ bool Parser::skipUntil(int token) if (token_stream.lookAhead() == token) return true; - token_stream.nextToken(); + nextToken(); } return false; @@ -248,7 +275,9 @@ bool Parser::skipUntilDeclaration() case Token_export: case Token_const: // cv + case Token_constexpr: // cv case Token_volatile: // cv + case Token_mutable: // cv case Token_public: case Token_protected: @@ -257,8 +286,13 @@ bool Parser::skipUntilDeclaration() case Token_slots: // Qt return true; + case Token_decltype: + case Token___typeof: + reportError("C++11 decltype/__typeof(id|expression) not handled"); + return true; + default: - token_stream.nextToken(); + nextToken(); } } @@ -275,7 +309,11 @@ bool Parser::skipUntilStatement() case '{': case '}': case Token_const: + case Token_constexpr: + case Token_decltype: + case Token___typeof: case Token_volatile: + case Token_mutable: case Token_identifier: case Token_case: case Token_default: @@ -312,7 +350,7 @@ bool Parser::skipUntilStatement() return true; default: - token_stream.nextToken(); + nextToken(); } } @@ -336,7 +374,7 @@ bool Parser::skip(int l, int r) if (count == 0) return true; - token_stream.nextToken(); + nextToken(); } return false; @@ -354,7 +392,7 @@ bool Parser::parseName(NameAST *&node, bool acceptTemplateId) if (token_stream.lookAhead() == Token_scope) { ast->global = true; - token_stream.nextToken(); + nextToken(); } std::size_t idx = token_stream.cursor(); @@ -367,7 +405,7 @@ bool Parser::parseName(NameAST *&node, bool acceptTemplateId) if (token_stream.lookAhead() == Token_scope) { - token_stream.nextToken(); + nextToken(); ast->qualified_names = snoc(ast->qualified_names, n, _M_pool); @@ -375,7 +413,7 @@ bool Parser::parseName(NameAST *&node, bool acceptTemplateId) if (token_stream.lookAhead() == Token_template) { /// skip optional template #### @todo CHECK - token_stream.nextToken(); + nextToken(); } } else @@ -383,7 +421,7 @@ bool Parser::parseName(NameAST *&node, bool acceptTemplateId) Q_ASSERT(n != 0); if (!acceptTemplateId) { - token_stream.rewind((int) n->start_token); + rewind(n->start_token); parseUnqualifiedName(n, false); } @@ -422,7 +460,7 @@ bool Parser::parseTranslationUnit(TranslationUnitAST *&node) if (startDecl == token_stream.cursor()) { // skip at least one token - token_stream.nextToken(); + nextToken(); } skipUntilDeclaration(); @@ -442,7 +480,10 @@ bool Parser::parseDeclaration(DeclarationAST *&node) switch(token_stream.lookAhead()) { case ';': - token_stream.nextToken(); + // ignore ellipse in constructs like + // using T1 = T2...>; + case Token_ellipsis: + nextToken(); return true; case Token_extern: @@ -507,7 +548,7 @@ bool Parser::parseDeclaration(DeclarationAST *&node) } } // end switch - token_stream.rewind((int) start); + rewind(start); return parseDeclarationInternal(node); } @@ -522,7 +563,7 @@ bool Parser::parseLinkageSpecification(DeclarationAST *&node) if (token_stream.lookAhead() == Token_string_literal) { ast->extern_type = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } if (token_stream.lookAhead() == '{') @@ -568,7 +609,7 @@ bool Parser::parseLinkageBody(LinkageBodyAST *&node) if (startDecl == token_stream.cursor()) { // skip at least one token - token_stream.nextToken(); + nextToken(); } skipUntilDeclaration(); @@ -578,7 +619,7 @@ bool Parser::parseLinkageBody(LinkageBodyAST *&node) if (token_stream.lookAhead() != '}') reportError(("} expected")); else - token_stream.nextToken(); + nextToken(); UPDATE_POS(ast, start, token_stream.cursor()); node = ast; @@ -596,13 +637,13 @@ bool Parser::parseNamespace(DeclarationAST *&node) if (token_stream.lookAhead() == Token_identifier) { namespace_name = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } if (token_stream.lookAhead() == '=') { // namespace alias - token_stream.nextToken(); + nextToken(); NameAST *name = 0; if (parseName(name)) @@ -645,6 +686,11 @@ bool Parser::parseUsing(DeclarationAST *&node) CHECK(Token_using); + if (token_stream.lookAhead(1) == '=') + { + return parseUsingTypedef(node); + } + if (token_stream.lookAhead() == Token_namespace) return parseUsingDirective(node); @@ -653,7 +699,7 @@ bool Parser::parseUsing(DeclarationAST *&node) if (token_stream.lookAhead() == Token_typename) { ast->type_name = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } if (!parseName(ast->name)) @@ -667,6 +713,41 @@ bool Parser::parseUsing(DeclarationAST *&node) return true; } +bool Parser::parseUsingTypedef(DeclarationAST*& node) +{ + std::size_t start = token_stream.cursor(); + + DeclaratorAST* decl = 0; + if (!parseDeclarator(decl)) + { + return false; + } + + InitDeclaratorAST* init_decl = CreateNode(_M_pool); + init_decl->declarator = decl; + init_decl->initializer = 0; + const ListNode* declarators = 0; + declarators = snoc(declarators, init_decl, _M_pool); + + ADVANCE('=', "="); + + TypeSpecifierAST* spec = 0; + if (!parseTypeSpecifierOrClassSpec(spec)) + { + reportError(("Need a type specifier to declare")); + return false; + } + + TypedefAST* ast = CreateNode(_M_pool); + ast->type_specifier = spec; + ast->init_declarators = declarators; + + UPDATE_POS(ast, start, token_stream.cursor()); + node = ast; + + return true; +} + bool Parser::parseUsingDirective(DeclarationAST *&node) { std::size_t start = token_stream.cursor(); @@ -737,7 +818,7 @@ bool Parser::parseTemplateArgumentList(const ListNode *&no while (token_stream.lookAhead() == ',') { - token_stream.nextToken(); + nextToken(); if (!parseTemplateArgument(templArg)) { @@ -799,10 +880,10 @@ bool Parser::parseAsmDefinition(DeclarationAST *&node) parseCvQualify(cv); #if defined(__GNUC__) -#warning "implement me" +#pragma GCC warning "implement me" #endif skip('(', ')'); - token_stream.nextToken(); + nextToken(); ADVANCE(';', ";"); AsmDefinitionAST *ast = CreateNode(_M_pool); @@ -821,7 +902,7 @@ bool Parser::parseTemplateDeclaration(DeclarationAST *&node) if (token_stream.lookAhead() == Token_export) { exported = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } CHECK(Token_template); @@ -829,9 +910,10 @@ bool Parser::parseTemplateDeclaration(DeclarationAST *&node) const ListNode *params = 0; if (token_stream.lookAhead() == '<') { - token_stream.nextToken(); + nextToken(); parseTemplateParameterList(params); + resolveRightShift(); ADVANCE('>', ">"); } @@ -864,16 +946,16 @@ bool Parser::parseOperator(OperatorAST *&node) case Token_delete: { ast->op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); if (token_stream.lookAhead() == '[' && token_stream.lookAhead(1) == ']') { ast->open = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ast->close = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } } break; @@ -893,7 +975,7 @@ bool Parser::parseOperator(OperatorAST *&node) case '>': case ',': case Token_assign: - case Token_shift: + case Token_shift_left: case Token_eq: case Token_not_eq: case Token_leq: @@ -905,7 +987,14 @@ bool Parser::parseOperator(OperatorAST *&node) case Token_ptrmem: case Token_arrow: ast->op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); + break; + + case Token_shift_right: + ast->op = token_stream.cursor(); + nextToken(); + // skip placeholder + nextToken(); break; default: @@ -913,17 +1002,17 @@ bool Parser::parseOperator(OperatorAST *&node) && token_stream.lookAhead(1) == ')') { ast->op = ast->open = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ast->close = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } else if (token_stream.lookAhead() == '[' && token_stream.lookAhead(1) == ']') { ast->op = ast->open = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ast->close = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } else { @@ -943,10 +1032,11 @@ bool Parser::parseCvQualify(const ListNode *&node) int tk; while (0 != (tk = token_stream.lookAhead()) - && (tk == Token_const || tk == Token_volatile)) + && (tk == Token_const || tk == Token_constexpr || + tk == Token_volatile || tk == Token_mutable)) { node = snoc(node, token_stream.cursor(), _M_pool); - token_stream.nextToken(); + nextToken(); } return start != token_stream.cursor(); @@ -978,7 +1068,7 @@ bool Parser::parseSimpleTypeSpecifier(TypeSpecifierAST *&node, case Token_void: integrals = snoc(integrals, token_stream.cursor(), _M_pool); isIntegral = true; - token_stream.nextToken(); + nextToken(); break; default: @@ -991,21 +1081,22 @@ bool Parser::parseSimpleTypeSpecifier(TypeSpecifierAST *&node, { ast->integrals = integrals; } - else if (token_stream.lookAhead() == Token___typeof) + else if (token_stream.lookAhead() == Token___typeof || + token_stream.lookAhead() == Token_decltype) { ast->type_of = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); std::size_t saved = token_stream.cursor(); parseTypeId(ast->type_id); if (token_stream.lookAhead() != ')') { ast->type_id = 0; - token_stream.rewind((int) saved); + rewind(saved); parseUnaryExpression(ast->expression); } ADVANCE(')', ")"); @@ -1017,7 +1108,7 @@ bool Parser::parseSimpleTypeSpecifier(TypeSpecifierAST *&node, } else if (onlyIntegral) { - token_stream.rewind((int) start); + rewind(start); return false; } else @@ -1025,7 +1116,7 @@ bool Parser::parseSimpleTypeSpecifier(TypeSpecifierAST *&node, if (!parseName(ast->name, true)) { ast->name = 0; - token_stream.rewind((int) start); + rewind(start); return false; } } @@ -1056,7 +1147,7 @@ bool Parser::parsePtrOperator(PtrOperatorAST *&node) case '*': case Token_and: ast->op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); break; case Token_scope: @@ -1064,7 +1155,7 @@ bool Parser::parsePtrOperator(PtrOperatorAST *&node) { if (!parsePtrToMember(ast->mem_ptr)) { - token_stream.rewind((int) start); + rewind(start); return false; } } @@ -1091,9 +1182,10 @@ bool Parser::parseTemplateArgument(TemplateArgumentAST *&node) ExpressionAST *expr = 0; if (!parseTypeId(typeId) || (token_stream.lookAhead() != ',' - && token_stream.lookAhead() != '>')) + && token_stream.lookAhead() != '>' + && token_stream.lookAhead() != Token_shift_right)) { - token_stream.rewind((int) start); + rewind(start); if (!parseLogicalOrExpression(expr, true)) return false; @@ -1119,7 +1211,7 @@ bool Parser::parseTypeSpecifier(TypeSpecifierAST *&node) TypeSpecifierAST *ast = 0; if (!parseElaboratedTypeSpecifier(ast) && !parseSimpleTypeSpecifier(ast)) { - token_stream.rewind((int) start); + rewind(start); return false; } @@ -1148,7 +1240,7 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); if (!parseDeclarator(decl)) return false; @@ -1169,13 +1261,13 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) } else { - token_stream.rewind((int) start); + rewind(start); return false; } if (token_stream.lookAhead() == ':') { - token_stream.nextToken(); + nextToken(); if (!parseConstantExpression(ast->bit_expression)) { @@ -1190,7 +1282,7 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) while (token_stream.lookAhead() == '[') { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; parseCommaExpression(expr); @@ -1206,8 +1298,8 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) && token_stream.lookAhead(1) == '(' && token_stream.lookAhead(2) == '(') { - token_stream.nextToken(); - token_stream.nextToken(); + nextToken(); + nextToken(); skipParen = true; } @@ -1216,19 +1308,19 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) && !(isVector || tok == '(' || tok == ',' || tok == ';' || tok == '=')) { - token_stream.rewind((int) start); + rewind(start); return false; } std::size_t index = token_stream.cursor(); if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); ParameterDeclarationClauseAST *params = 0; if (!parseParameterDeclarationClause(params)) { - token_stream.rewind((int) index); + rewind(index); goto update_pos; } @@ -1236,11 +1328,11 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) if (token_stream.lookAhead() != ')') { - token_stream.rewind((int) index); + rewind(index); goto update_pos; } - token_stream.nextToken(); // skip ')' + nextToken(); // skip ')' parseCvQualify(ast->fun_cv); parseExceptionSpecification(ast->exception_spec); @@ -1248,13 +1340,13 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) const NameSymbol *name_symbol = token_stream.symbol(token_stream.cursor()); QString name = name_symbol->as_string(); if (name == "override") { - token_stream.nextToken(); + nextToken(); ast->_override = true; } } if (token_stream.lookAhead() == Token___attribute__) { - parse_Attribute__(); + parse_Attribute__(); } } @@ -1265,7 +1357,7 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) reportError(("')' expected")); } else - token_stream.nextToken(); + nextToken(); } } @@ -1292,11 +1384,11 @@ bool Parser::parseAbstractDeclarator(DeclaratorAST *&node) int index = (int) token_stream.cursor(); if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); if (!parseAbstractDeclarator(decl)) { - token_stream.rewind((int) index); + rewind(index); goto label1; } @@ -1304,14 +1396,14 @@ bool Parser::parseAbstractDeclarator(DeclaratorAST *&node) if (token_stream.lookAhead() != ')') { - token_stream.rewind((int) start); + rewind(start); return false; } - token_stream.nextToken(); + nextToken(); } else if (token_stream.lookAhead() == ':') { - token_stream.nextToken(); + nextToken(); if (!parseConstantExpression(ast->bit_expression)) { ast->bit_expression = 0; @@ -1326,7 +1418,7 @@ bool Parser::parseAbstractDeclarator(DeclaratorAST *&node) while (token_stream.lookAhead() == '[') { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; parseCommaExpression(expr); @@ -1342,19 +1434,19 @@ bool Parser::parseAbstractDeclarator(DeclaratorAST *&node) && !(isVector || tok == '(' || tok == ',' || tok == ';' || tok == '=')) { - token_stream.rewind((int) start); + rewind(start); return false; } int index = (int) token_stream.cursor(); if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); ParameterDeclarationClauseAST *params = 0; if (!parseParameterDeclarationClause(params)) { - token_stream.rewind((int) index); + rewind(index); goto update_pos; } @@ -1362,11 +1454,11 @@ bool Parser::parseAbstractDeclarator(DeclaratorAST *&node) if (token_stream.lookAhead() != ')') { - token_stream.rewind((int) index); + rewind(index); goto update_pos; } - token_stream.nextToken(); // skip ')' + nextToken(); // skip ')' parseCvQualify(ast->fun_cv); parseExceptionSpecification(ast->exception_spec); @@ -1389,15 +1481,31 @@ bool Parser::parseEnumSpecifier(TypeSpecifierAST *&node) CHECK(Token_enum); + if (token_stream.lookAhead() == Token_class) + { + nextToken(); + } + NameAST *name = 0; parseName(name); + if(token_stream.lookAhead() == ':') + { + nextToken(); + TypeSpecifierAST *ast = 0; + if (!parseSimpleTypeSpecifier(ast)) + { + rewind(start); + return false; + } + } + if (token_stream.lookAhead() != '{') { - token_stream.rewind((int) start); + rewind(start); return false; } - token_stream.nextToken(); + nextToken(); EnumSpecifierAST *ast = CreateNode(_M_pool); ast->name = name; @@ -1409,7 +1517,7 @@ bool Parser::parseEnumSpecifier(TypeSpecifierAST *&node) while (token_stream.lookAhead() == ',') { - token_stream.nextToken(); + nextToken(); if (!parseEnumerator(enumerator)) { @@ -1439,7 +1547,7 @@ bool Parser::parseTemplateParameterList(const ListNode *& while (token_stream.lookAhead() == ',') { - token_stream.nextToken(); + nextToken(); if (!parseTemplateParameter(param)) { @@ -1452,6 +1560,17 @@ bool Parser::parseTemplateParameterList(const ListNode *& } } + if (token_stream.lookAhead() == Token_ellipsis) + { + // ignore variadic template parameters as in + // template + token_stream.nextToken(); + if (token_stream.lookAhead() == Token_identifier) + { + token_stream.nextToken(); + } + } + return true; } @@ -1465,7 +1584,13 @@ bool Parser::parseTemplateParameter(TemplateParameterAST *&node) if ((tk == Token_class || tk == Token_typename || tk == Token_template) && parseTypeParameter(ast->type_parameter)) { - // nothing to do + if (token_stream.lookAhead() == '=' || token_stream.lookAhead() == Token_assign) + { + // default template parameter + token_stream.nextToken(); + TypeSpecifierAST* typeNode = 0; + parseTypeSpecifier(typeNode); + } } else if (!parseParameterDeclaration(ast->parameter_declaration)) return false; @@ -1488,26 +1613,32 @@ bool Parser::parseTypeParameter(TypeParameterAST *&node) case Token_class: case Token_typename: { - token_stream.nextToken(); // skip class + nextToken(); // skip class + + if (token_stream.lookAhead() == Token_ellipsis) + { + // skip variadic parameters in template parameter list + nextToken(); + } // parse optional name if(parseName(ast->name, true)) { if (token_stream.lookAhead() == '=') { - token_stream.nextToken(); + nextToken(); if(!parseTypeId(ast->type_id)) { //syntaxError(); - token_stream.rewind((int) start); + rewind(start); return false; } } else if (token_stream.lookAhead() != ',' && token_stream.lookAhead() != '>') { - token_stream.rewind((int) start); + rewind(start); return false; } } @@ -1516,7 +1647,7 @@ bool Parser::parseTypeParameter(TypeParameterAST *&node) case Token_template: { - token_stream.nextToken(); // skip template + nextToken(); // skip template ADVANCE('<', "<"); if (!parseTemplateParameterList(ast->template_parameters)) @@ -1525,14 +1656,14 @@ bool Parser::parseTypeParameter(TypeParameterAST *&node) ADVANCE('>', ">"); if (token_stream.lookAhead() == Token_class) - token_stream.nextToken(); + nextToken(); // parse optional name if (parseName(ast->name, true)) { if (token_stream.lookAhead() == '=') { - token_stream.nextToken(); + nextToken(); if (!parseTypeId(ast->type_id)) { @@ -1544,7 +1675,7 @@ bool Parser::parseTypeParameter(TypeParameterAST *&node) if (token_stream.lookAhead() == '=') { - token_stream.nextToken(); + nextToken(); parseName(ast->template_name, true); } @@ -1570,10 +1701,10 @@ bool Parser::parseStorageClassSpecifier(const ListNode *&node) while (0 != (tk = token_stream.lookAhead()) && (tk == Token_friend || tk == Token_auto || tk == Token_register || tk == Token_static - || tk == Token_extern || tk == Token_mutable)) + || tk == Token_extern)) { node = snoc(node, token_stream.cursor(), _M_pool); - token_stream.nextToken(); + nextToken(); } return start != token_stream.cursor(); @@ -1589,7 +1720,7 @@ bool Parser::parseFunctionSpecifier(const ListNode *&node) || tk == Token_explicit || tk == Token_Q_INVOKABLE)) { node = snoc(node, token_stream.cursor(), _M_pool); - token_stream.nextToken(); + nextToken(); } return start != token_stream.cursor(); @@ -1603,7 +1734,7 @@ bool Parser::parseTypeId(TypeIdAST *&node) TypeSpecifierAST *spec = 0; if (!parseTypeSpecifier(spec)) { - token_stream.rewind((int) start); + rewind(start); return false; } @@ -1630,7 +1761,7 @@ bool Parser::parseInitDeclaratorList(const ListNode *&node) while (token_stream.lookAhead() == ',') { - token_stream.nextToken(); + nextToken(); if (!parseInitDeclarator(decl)) { @@ -1670,7 +1801,7 @@ bool Parser::parseParameterDeclarationClause(ParameterDeclarationClauseAST *&nod if (token_stream.lookAhead() == Token_ellipsis) { ast->ellipsis = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } /// @todo add ellipsis @@ -1687,7 +1818,7 @@ bool Parser::parseParameterDeclarationList(const ListNodestart_token; - int end_token = ast->end_token; + size_t start_token = ast->start_token; + size_t end_token = ast->end_token; Token const &tk = token_stream.token (start_token); Token const &end_tk = token_stream.token(end_token); @@ -1796,15 +1927,20 @@ bool Parser::parseForwardDeclarationSpecifier(TypeSpecifierAST *&node) std::size_t start = token_stream.cursor(); int kind = token_stream.lookAhead(); - if (kind != Token_class && kind != Token_struct && kind != Token_union) + if (kind != Token_class && kind != Token_struct && kind != Token_union && kind != Token_enum) return false; std::size_t class_key = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); + + if (kind == Token_enum && token_stream.lookAhead() == Token_class) + { + nextToken(); + } NameAST *name = 0; if (!parseName(name, false)) { - token_stream.rewind((int) start); + rewind(start); return false; } @@ -1813,14 +1949,14 @@ bool Parser::parseForwardDeclarationSpecifier(TypeSpecifierAST *&node) { if (!parseBaseClause(bases)) { - token_stream.rewind((int) start); + rewind(start); return false; } } if (token_stream.lookAhead() != ';') { - token_stream.rewind((int) start); + rewind(start); return false; } @@ -1844,7 +1980,7 @@ bool Parser::parseClassSpecifier(TypeSpecifierAST *&node) return false; std::size_t class_key = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); WinDeclSpecAST *winDeclSpec = 0; parseWinDeclSpec(winDeclSpec); @@ -1856,12 +1992,12 @@ bool Parser::parseClassSpecifier(TypeSpecifierAST *&node) while (token_stream.lookAhead() == Token_identifier && token_stream.lookAhead(1) == Token_identifier) { - token_stream.nextToken(); + nextToken(); } NameAST *name = 0; parseName(name, true); - + BaseClauseAST *bases = 0; if (token_stream.lookAhead() == ':') @@ -1875,7 +2011,7 @@ bool Parser::parseClassSpecifier(TypeSpecifierAST *&node) if (token_stream.lookAhead() != '{') { - token_stream.rewind((int) start); + rewind(start); return false; } @@ -1898,7 +2034,7 @@ bool Parser::parseClassSpecifier(TypeSpecifierAST *&node) if (!parseMemberSpecification(memSpec)) { if (startDecl == token_stream.cursor()) - token_stream.nextToken(); // skip at least one token + nextToken(); // skip at least one token skipUntilDeclaration(); } else @@ -1932,7 +2068,7 @@ bool Parser::parseAccessSpecifier(DeclarationAST *&node) case Token_protected: case Token_private: specs = snoc(specs, token_stream.cursor(), _M_pool); - token_stream.nextToken(); + nextToken(); break; default: @@ -1960,12 +2096,12 @@ bool Parser::parseMemberSpecification(DeclarationAST *&node) if (token_stream.lookAhead() == ';') { - token_stream.nextToken(); + nextToken(); return true; } else if (token_stream.lookAhead() == Token_Q_OBJECT || token_stream.lookAhead() == Token_K_DCOP) { - token_stream.nextToken(); + nextToken(); return true; } else if (parseTypedef(node)) @@ -1997,7 +2133,7 @@ bool Parser::parseMemberSpecification(DeclarationAST *&node) return true; } - token_stream.rewind((int) start); + rewind(start); const ListNode *cv = 0; parseCvQualify(cv); @@ -2026,7 +2162,7 @@ bool Parser::parseMemberSpecification(DeclarationAST *&node) return true; } - token_stream.rewind((int) start); + rewind(start); return parseDeclarationInternal(node); } @@ -2062,7 +2198,7 @@ bool Parser::parseElaboratedTypeSpecifier(TypeSpecifierAST *&node) tk == Token_typename) { std::size_t type = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); NameAST *name = 0; if (parseName(name, true)) @@ -2080,7 +2216,7 @@ bool Parser::parseElaboratedTypeSpecifier(TypeSpecifierAST *&node) } } - token_stream.rewind((int) start); + rewind(start); return false; } @@ -2088,6 +2224,20 @@ bool Parser::parseExceptionSpecification(ExceptionSpecificationAST *&node) { std::size_t start = token_stream.cursor(); + if (token_stream.lookAhead() == Token_noexcept) + { + // ignore noexcept + nextToken(); + if (token_stream.lookAhead() == '(') + { + nextToken(); + ExpressionAST* node; + parseCommaExpression(node); + CHECK(')'); + } + return true; + } + CHECK(Token_throw); ADVANCE('(', "("); @@ -2097,7 +2247,7 @@ bool Parser::parseExceptionSpecification(ExceptionSpecificationAST *&node) if (token_stream.lookAhead() == Token_ellipsis) { ast->ellipsis = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } else { @@ -2124,7 +2274,7 @@ bool Parser::parseEnumerator(EnumeratorAST *&node) if (token_stream.lookAhead() == '=') { - token_stream.nextToken(); + nextToken(); if (!parseConstantExpression(ast->expression)) { @@ -2142,6 +2292,13 @@ bool Parser::parseInitDeclarator(InitDeclaratorAST *&node) { std::size_t start = token_stream.cursor(); + if (token_stream.lookAhead(0) == Token_ellipsis) + { + // for now just ignore variadic parameters + token_stream.nextToken(); + return true; + } + DeclaratorAST *decl = 0; if (!parseDeclarator(decl)) { @@ -2150,13 +2307,13 @@ bool Parser::parseInitDeclarator(InitDeclaratorAST *&node) if (token_stream.lookAhead(0) == Token_asm) { - token_stream.nextToken(); + nextToken(); skip('(', ')'); - token_stream.nextToken(); + nextToken(); } InitializerAST *init = 0; - parseInitializer(init); + parseInitializer(init, !decl->parameter_declaration_clause); InitDeclaratorAST *ast = CreateNode(_M_pool); ast->declarator = decl; @@ -2183,7 +2340,7 @@ bool Parser::parseBaseClause(BaseClauseAST *&node) while (token_stream.lookAhead() == ',') { - token_stream.nextToken(); + nextToken(); if (!parseBaseSpecifier(baseSpec)) { @@ -2199,31 +2356,51 @@ bool Parser::parseBaseClause(BaseClauseAST *&node) return true; } -bool Parser::parseInitializer(InitializerAST *&node) +bool Parser::parseInitializer(InitializerAST *&node, bool allowNewStyle) { std::size_t start = token_stream.cursor(); int tk = token_stream.lookAhead(); - if (tk != '=' && tk != '(') + if (tk != '=' && tk != '(' && !(allowNewStyle && tk == '{')) return false; InitializerAST *ast = CreateNode(_M_pool); if (tk == '=') { - token_stream.nextToken(); - - if (!parseInitializerClause(ast->initializer_clause)) + nextToken(); + tk = token_stream.lookAhead(); + // this is also used for methods: + if (tk == Token_delete) + { + ast->isDeleted = true; + nextToken(); + } + else if (tk == Token_default) + { + ast->isDefault = true; + nextToken(); + } + else if (!parseInitializerClause(ast->initializer_clause)) { reportError(("Initializer clause expected")); } } else if (tk == '(') { - token_stream.nextToken(); + nextToken(); parseCommaExpression(ast->expression); CHECK(')'); } + else if (tk == '{') + { + nextToken(); + if (token_stream.lookAhead() != '}') { + parseCommaExpression(ast->expression); + } + // new-style initializers may be empty (default value) + CHECK('}'); + } UPDATE_POS(ast, start, token_stream.cursor()); node = ast; @@ -2242,7 +2419,7 @@ bool Parser::parseMemInitializerList(const ListNode *&node) while (token_stream.lookAhead() == ',') { - token_stream.nextToken(); + nextToken(); if (!parseMemInitializer(init)) break; @@ -2264,10 +2441,23 @@ bool Parser::parseMemInitializer(MemInitializerAST *&node) return false; } - ADVANCE('(', "("); - ExpressionAST *expr = 0; - parseCommaExpression(expr); - ADVANCE(')', ")"); + ExpressionAST* expr = 0; + if (token_stream.lookAhead() == '{') + { + // new style initializers + ADVANCE('{', "{"); + if (token_stream.lookAhead() != '}') { + parseCommaExpression(expr); + } + // new-style initializers may be empty (default value) + ADVANCE('}', "}"); + } + else + { + ADVANCE('(', "("); + parseCommaExpression(expr); + ADVANCE(')', ")"); + } MemInitializerAST *ast = CreateNode(_M_pool); ast->initializer_id = initId; @@ -2289,7 +2479,7 @@ bool Parser::parseTypeIdList(const ListNode *&node) while (token_stream.lookAhead() == ',') { - token_stream.nextToken(); + nextToken(); if (parseTypeId(typeId)) { node = snoc(node, typeId, _M_pool); @@ -2313,14 +2503,14 @@ bool Parser::parseBaseSpecifier(BaseSpecifierAST *&node) if (token_stream.lookAhead() == Token_virtual) { ast->virt = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); int tk = token_stream.lookAhead(); if (tk == Token_public || tk == Token_protected || tk == Token_private) { ast->access_specifier = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } } else @@ -2330,13 +2520,13 @@ bool Parser::parseBaseSpecifier(BaseSpecifierAST *&node) || tk == Token_private) { ast->access_specifier = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } if (token_stream.lookAhead() == Token_virtual) { ast->virt = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } } @@ -2358,10 +2548,10 @@ bool Parser::parseInitializerClause(InitializerClauseAST *&node) if (token_stream.lookAhead() == '{') { #if defined(__GNUC__) -#warning "implement me" +#pragma GCC warning "implement me" #endif if (skip('{','}')) - token_stream.nextToken(); + nextToken(); else reportError(("} missing")); } @@ -2382,14 +2572,14 @@ bool Parser::parseInitializerClause(InitializerClauseAST *&node) bool Parser::parsePtrToMember(PtrToMemberAST *&node) { #if defined(__GNUC__) -#warning "implemente me (AST)" +#pragma GCC warning "implemente me (AST)" #endif std::size_t start = token_stream.cursor(); if (token_stream.lookAhead() == Token_scope) { - token_stream.nextToken(); + nextToken(); } UnqualifiedNameAST *name = 0; @@ -2401,8 +2591,8 @@ bool Parser::parsePtrToMember(PtrToMemberAST *&node) if (token_stream.lookAhead() == Token_scope && token_stream.lookAhead(1) == '*') { - token_stream.nextToken(); - token_stream.nextToken(); + nextToken(); + nextToken(); PtrToMemberAST *ast = CreateNode(_M_pool); UPDATE_POS(ast, start, token_stream.cursor()); @@ -2412,13 +2602,23 @@ bool Parser::parsePtrToMember(PtrToMemberAST *&node) } if (token_stream.lookAhead() == Token_scope) - token_stream.nextToken(); + nextToken(); } - token_stream.rewind((int) start); + rewind(start); return false; } +void Parser::resolveRightShift() +{ + if (token_stream.lookAhead() == Token_shift_right) + { + std::size_t index = token_stream.cursor(); + token_stream[index].kind = '>'; + token_stream[index + 1].kind = '>'; + } +} + bool Parser::parseUnqualifiedName(UnqualifiedNameAST *&node, bool parseTemplateId) { @@ -2431,16 +2631,16 @@ bool Parser::parseUnqualifiedName(UnqualifiedNameAST *&node, if (token_stream.lookAhead() == Token_identifier) { id = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } else if (token_stream.lookAhead() == '~' && token_stream.lookAhead(1) == Token_identifier) { tilde = token_stream.cursor(); - token_stream.nextToken(); // skip ~ + nextToken(); // skip ~ id = token_stream.cursor(); - token_stream.nextToken(); // skip classname + nextToken(); // skip classname } else if (token_stream.lookAhead() == Token_operator) { @@ -2463,19 +2663,20 @@ bool Parser::parseUnqualifiedName(UnqualifiedNameAST *&node, if (token_stream.lookAhead() == '<') { - token_stream.nextToken(); + nextToken(); // optional template arguments parseTemplateArgumentList(ast->template_arguments); + resolveRightShift(); if (token_stream.lookAhead() == '>') { - token_stream.nextToken(); + nextToken(); } else { ast->template_arguments = 0; - token_stream.rewind((int) index); + rewind(index); } } } @@ -2498,7 +2699,7 @@ bool Parser::parseStringLiteral(StringLiteralAST *&node) while (token_stream.lookAhead() == Token_string_literal) { ast->literals = snoc(ast->literals, token_stream.cursor(), _M_pool); - token_stream.nextToken(); + nextToken(); } UPDATE_POS(ast, start, token_stream.cursor()); @@ -2556,24 +2757,24 @@ bool Parser::parseStatement(StatementAST *&node) case Token_break: case Token_continue: #if defined(__GNUC__) -#warning "implement me" +#pragma GCC warning "implement me" #endif - token_stream.nextToken(); + nextToken(); ADVANCE(';', ";"); return true; case Token_goto: #if defined(__GNUC__) -#warning "implement me" +#pragma GCC warning "implement me" #endif - token_stream.nextToken(); + nextToken(); ADVANCE(Token_identifier, "identifier"); ADVANCE(';', ";"); return true; case Token_return: { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; parseCommaExpression(expr); @@ -2611,7 +2812,7 @@ bool Parser::parseExpressionOrDeclarationStatement(StatementAST *&node) std::size_t end = token_stream.cursor(); - token_stream.rewind((int) start); + rewind(start); StatementAST *expr_ast = 0; maybe_amb &= parseExpressionStatement(expr_ast); maybe_amb &= token_stream.kind(token_stream.cursor() - 1) == ';'; @@ -2629,7 +2830,7 @@ bool Parser::parseExpressionOrDeclarationStatement(StatementAST *&node) } else { - token_stream.rewind((int) std::max(end, token_stream.cursor())); + rewind(std::max(end, token_stream.cursor())); node = decl_ast; if (!node) @@ -2660,7 +2861,7 @@ bool Parser::parseCondition(ConditionAST *&node, bool initRequired) DeclaratorAST *decl = 0; if (!parseDeclarator(decl)) { - token_stream.rewind((int) declarator_start); + rewind(declarator_start); if (!initRequired && !parseAbstractDeclarator(decl)) decl = 0; } @@ -2671,7 +2872,7 @@ bool Parser::parseCondition(ConditionAST *&node, bool initRequired) if (token_stream.lookAhead() == '=') { - token_stream.nextToken(); + nextToken(); parseExpression(ast->expression); } @@ -2683,7 +2884,7 @@ bool Parser::parseCondition(ConditionAST *&node, bool initRequired) } } - token_stream.rewind((int) start); + rewind(start); if (!parseCommaExpression(ast->expression)) return false; @@ -2828,7 +3029,7 @@ bool Parser::parseCompoundStatement(StatementAST *&node) if (!parseStatement(stmt)) { if (startStmt == token_stream.cursor()) - token_stream.nextToken(); + nextToken(); skipUntilStatement(); } @@ -2876,7 +3077,7 @@ bool Parser::parseIfStatement(StatementAST *&node) if (token_stream.lookAhead() == Token_else) { - token_stream.nextToken(); + nextToken(); if (!parseStatement(ast->else_statement)) { @@ -2931,8 +3132,8 @@ bool Parser::parseLabeledStatement(StatementAST *&node) case Token_default: if (token_stream.lookAhead(1) == ':') { - token_stream.nextToken(); - token_stream.nextToken(); + nextToken(); + nextToken(); StatementAST *stmt = 0; if (parseStatement(stmt)) @@ -2945,7 +3146,7 @@ bool Parser::parseLabeledStatement(StatementAST *&node) case Token_case: { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; if (!parseConstantExpression(expr)) { @@ -2953,7 +3154,7 @@ bool Parser::parseLabeledStatement(StatementAST *&node) } else if (token_stream.lookAhead() == Token_ellipsis) { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr2 = 0; if (!parseConstantExpression(expr2)) @@ -3004,7 +3205,7 @@ bool Parser::parseBlockDeclaration(DeclarationAST *&node) TypeSpecifierAST *spec = 0; if (!parseTypeSpecifierOrClassSpec(spec)) { // replace with simpleTypeSpecifier?!?! - token_stream.rewind((int) start); + rewind(start); return false; } @@ -3016,10 +3217,10 @@ bool Parser::parseBlockDeclaration(DeclarationAST *&node) if (token_stream.lookAhead() != ';') { - token_stream.rewind((int) start); + rewind(start); return false; } - token_stream.nextToken(); + nextToken(); SimpleDeclarationAST *ast = CreateNode(_M_pool); ast->type_specifier = spec; @@ -3084,11 +3285,14 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) WinDeclSpecAST *winDeclSpec = 0; parseWinDeclSpec(winDeclSpec); + const ListNode* cv = 0; + parseCvQualify(cv); + const ListNode *funSpec = 0; bool hasFunSpec = parseFunctionSpecifier(funSpec); - const ListNode *cv = 0; - parseCvQualify(cv); + if (!cv) + parseCvQualify(cv); const ListNode *storageSpec = 0; bool hasStorageSpec = parseStorageClassSpecifier(storageSpec); @@ -3108,7 +3312,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) { // no type specifier, maybe a constructor or a cast operator?? - token_stream.rewind((int) index); + rewind(index); InitDeclaratorAST *declarator = 0; if (parseInitDeclarator(declarator)) @@ -3117,7 +3321,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) { case ';': { - token_stream.nextToken(); + nextToken(); SimpleDeclarationAST *ast = CreateNode(_M_pool); @@ -3188,14 +3392,15 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) } start_decl: - token_stream.rewind((int) index); + rewind(index); - if (token_stream.lookAhead() == Token_const + if ((token_stream.lookAhead() == Token_const || + token_stream.lookAhead() == Token_constexpr) && token_stream.lookAhead(1) == Token_identifier && token_stream.lookAhead(2) == '=') { // constant definition - token_stream.nextToken(); // skip const + nextToken(); // skip const const ListNode *declarators = 0; if (!parseInitDeclaratorList(declarators)) @@ -3207,7 +3412,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) ADVANCE(';', ";"); #if defined(__GNUC__) -#warning "mark the ast as constant" +#pragma GCC warning "mark the ast as constant" #endif SimpleDeclarationAST *ast = CreateNode(_M_pool); ast->init_declarators = declarators; @@ -3242,7 +3447,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) } else { - token_stream.rewind((int) startDeclarator); + rewind(startDeclarator); if (!parseInitDeclaratorList(declarators)) { syntaxError(); @@ -3255,7 +3460,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) { case ';': { - token_stream.nextToken(); + nextToken(); SimpleDeclarationAST *ast = CreateNode(_M_pool); @@ -3305,13 +3510,38 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) return false; } -bool Parser::skipFunctionBody(StatementAST *&) +bool Parser::skipFunctionBody(StatementAST *& node) { -#if defined(__GNUC__) -#warning "Parser::skipFunctionBody() -- implement me" -#endif - Q_ASSERT(0); // ### not implemented - return 0; + std::size_t start = token_stream.cursor(); + ADVANCE('{', "{"); + int braceCount = 1; + while (braceCount) + { + int tk = token_stream.lookAhead(); + switch (tk) + { + // handle opening braces: + case '{': + braceCount++; + break; + // handle closing braces: + case '}': + braceCount--; + break; + case Token_EOF: + reportError("unexpected EOF while skipping block"); + braceCount = 0; + break; + default: + // skip everything else + ; + } + nextToken(); + } + CompoundStatementAST* ast = CreateNode(_M_pool); + UPDATE_POS(ast, start, token_stream.cursor()); + node = ast; + return true; } bool Parser::parseFunctionBody(StatementAST *&node) @@ -3337,7 +3567,7 @@ bool Parser::parseTypeSpecifierOrClassSpec(TypeSpecifierAST *&node) bool Parser::parseTryBlockStatement(StatementAST *&node) { #if defined(__GNUC__) -#warning "implement me" +#pragma GCC warning "implement me" #endif CHECK(Token_try); @@ -3356,12 +3586,12 @@ bool Parser::parseTryBlockStatement(StatementAST *&node) while (token_stream.lookAhead() == Token_catch) { - token_stream.nextToken(); + nextToken(); ADVANCE('(', "("); ConditionAST *cond = 0; if (token_stream.lookAhead() == Token_ellipsis) { - token_stream.nextToken(); + nextToken(); } else if (!parseCondition(cond, false)) { @@ -3400,11 +3630,11 @@ bool Parser::parsePrimaryExpression(ExpressionAST *&node) case Token_false: case Token_this: ast->token = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); break; case '(': - token_stream.nextToken(); + nextToken(); if (token_stream.lookAhead() == '{') { @@ -3451,7 +3681,7 @@ bool Parser::parsePostfixExpressionInternal(ExpressionAST *&node) { case '[': { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; parseExpression(expr); CHECK(']'); @@ -3468,7 +3698,7 @@ bool Parser::parsePostfixExpressionInternal(ExpressionAST *&node) case '(': { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; parseExpression(expr); CHECK(')'); @@ -3485,16 +3715,16 @@ bool Parser::parsePostfixExpressionInternal(ExpressionAST *&node) case Token_arrow: { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); std::size_t templ = 0; if (token_stream.lookAhead() == Token_template) { templ = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } - int saved = int(token_stream.cursor()); + std::size_t saved = token_stream.cursor(); NameAST *name = 0; if (parseName(name, true) && name->unqualified_name @@ -3503,7 +3733,7 @@ bool Parser::parsePostfixExpressionInternal(ExpressionAST *&node) // a template method call // ### reverse the logic } else { - token_stream.rewind(saved); + rewind(saved); name = 0; if (! parseName (name, templ != 0)) @@ -3523,7 +3753,7 @@ bool Parser::parsePostfixExpressionInternal(ExpressionAST *&node) case Token_decr: { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); IncrDecrExpressionAST *ast = CreateNode(_M_pool); ast->op = op; @@ -3555,7 +3785,7 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) case Token_const_cast: { std::size_t castOp = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); CHECK('<'); TypeIdAST *typeId = 0; @@ -3586,7 +3816,7 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) case Token_typename: { std::size_t token = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); NameAST* name = 0; if (!parseName(name, true)) @@ -3609,7 +3839,7 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) case Token_typeid: { - token_stream.nextToken(); + nextToken(); CHECK('('); TypeIdAST *typeId = 0; @@ -3646,20 +3876,20 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) if (parseCastExpression(cast_expr) && cast_expr->kind == AST::Kind_CastExpression) { - token_stream.rewind((int) saved_pos); + rewind(saved_pos); parsePrimaryExpression(expr); goto L_no_rewind; } } } - token_stream.rewind((int) saved_pos); + rewind(saved_pos); L_no_rewind: if (!expr && parseSimpleTypeSpecifier(typeSpec) && token_stream.lookAhead() == '(') { - token_stream.nextToken(); // skip '(' + nextToken(); // skip '(' parseCommaExpression(expr); CHECK(')'); } @@ -3670,7 +3900,7 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) else { typeSpec = 0; - token_stream.rewind((int) start); + rewind(start); if (!parsePrimaryExpression(expr)) return false; @@ -3714,7 +3944,7 @@ bool Parser::parseUnaryExpression(ExpressionAST *&node) case '~': { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; if (!parseCastExpression(expr)) @@ -3732,7 +3962,7 @@ bool Parser::parseUnaryExpression(ExpressionAST *&node) case Token_sizeof: { std::size_t sizeof_token = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); SizeofExpressionAST *ast = CreateNode(_M_pool); ast->sizeof_token = sizeof_token; @@ -3740,10 +3970,10 @@ bool Parser::parseUnaryExpression(ExpressionAST *&node) std::size_t index = token_stream.cursor(); if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); if (parseTypeId(ast->type_id) && token_stream.lookAhead() == ')') { - token_stream.nextToken(); // skip ) + nextToken(); // skip ) UPDATE_POS(ast, start, token_stream.cursor()); node = ast; @@ -3751,7 +3981,7 @@ bool Parser::parseUnaryExpression(ExpressionAST *&node) } ast->type_id = 0; - token_stream.rewind((int) index); + rewind(index); } if (!parseUnaryExpression(ast->expression)) @@ -3789,7 +4019,7 @@ bool Parser::parseNewExpression(ExpressionAST *&node) && token_stream.lookAhead(1) == Token_new) { ast->scope_token = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } CHECK(Token_new); @@ -3797,14 +4027,14 @@ bool Parser::parseNewExpression(ExpressionAST *&node) if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); parseCommaExpression(ast->expression); CHECK(')'); } if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); parseTypeId(ast->type_id); CHECK(')'); } @@ -3855,7 +4085,7 @@ bool Parser::parseNewDeclarator(NewDeclaratorAST *&node) while (token_stream.lookAhead() == '[') { - token_stream.nextToken(); + nextToken(); ExpressionAST *expr = 0; parseExpression(expr); ast->expressions = snoc(ast->expressions, expr, _M_pool); @@ -3896,7 +4126,7 @@ bool Parser::parseDeleteExpression(ExpressionAST *&node) && token_stream.lookAhead(1) == Token_delete) { ast->scope_token = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); } CHECK(Token_delete); @@ -3905,7 +4135,7 @@ bool Parser::parseDeleteExpression(ExpressionAST *&node) if (token_stream.lookAhead() == '[') { ast->lbracket_token = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); CHECK(']'); ast->rbracket_token = token_stream.cursor() - 1; } @@ -3925,7 +4155,7 @@ bool Parser::parseCastExpression(ExpressionAST *&node) if (token_stream.lookAhead() == '(') { - token_stream.nextToken(); + nextToken(); CastExpressionAST *ast = CreateNode(_M_pool); @@ -3933,7 +4163,7 @@ bool Parser::parseCastExpression(ExpressionAST *&node) { if (token_stream.lookAhead() == ')') { - token_stream.nextToken(); + nextToken(); if (parseCastExpression(ast->expression)) { @@ -3946,7 +4176,7 @@ bool Parser::parseCastExpression(ExpressionAST *&node) } } - token_stream.rewind((int) start); + rewind(start); return parseUnaryExpression(node); } @@ -3960,7 +4190,7 @@ bool Parser::parsePmExpression(ExpressionAST *&node) while (token_stream.lookAhead() == Token_ptrmem) { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseCastExpression(rightExpr)) @@ -3990,7 +4220,7 @@ bool Parser::parseMultiplicativeExpression(ExpressionAST *&node) || token_stream.lookAhead() == '%') { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parsePmExpression(rightExpr)) @@ -4019,7 +4249,7 @@ bool Parser::parseAdditiveExpression(ExpressionAST *&node) while (token_stream.lookAhead() == '+' || token_stream.lookAhead() == '-') { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseMultiplicativeExpression(rightExpr)) @@ -4044,10 +4274,15 @@ bool Parser::parseShiftExpression(ExpressionAST *&node) if (!parseAdditiveExpression(node)) return false; - while (token_stream.lookAhead() == Token_shift) + while (token_stream.lookAhead() == Token_shift_left || token_stream.lookAhead() == Token_shift_right) { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + if (token_stream.lookAhead() == Token_shift_right) + { + // skip placeholder + nextToken(); + } + nextToken(); ExpressionAST *rightExpr = 0; if (!parseAdditiveExpression(rightExpr)) @@ -4078,7 +4313,7 @@ bool Parser::parseRelationalExpression(ExpressionAST *&node, bool templArgs) || token_stream.lookAhead() == Token_geq) { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseShiftExpression(rightExpr)) @@ -4107,7 +4342,7 @@ bool Parser::parseEqualityExpression(ExpressionAST *&node, bool templArgs) || token_stream.lookAhead() == Token_not_eq) { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseRelationalExpression(rightExpr, templArgs)) @@ -4135,7 +4370,7 @@ bool Parser::parseAndExpression(ExpressionAST *&node, bool templArgs) while (token_stream.lookAhead() == '&') { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseEqualityExpression(rightExpr, templArgs)) @@ -4163,7 +4398,7 @@ bool Parser::parseExclusiveOrExpression(ExpressionAST *&node, bool templArgs) while (token_stream.lookAhead() == '^') { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseAndExpression(rightExpr, templArgs)) @@ -4191,7 +4426,7 @@ bool Parser::parseInclusiveOrExpression(ExpressionAST *&node, bool templArgs) while (token_stream.lookAhead() == '|') { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseExclusiveOrExpression(rightExpr, templArgs)) @@ -4219,7 +4454,7 @@ bool Parser::parseLogicalAndExpression(ExpressionAST *&node, bool templArgs) while (token_stream.lookAhead() == Token_and) { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseInclusiveOrExpression(rightExpr, templArgs)) @@ -4247,7 +4482,7 @@ bool Parser::parseLogicalOrExpression(ExpressionAST *&node, bool templArgs) while (token_stream.lookAhead() == Token_or) { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseLogicalAndExpression(rightExpr, templArgs)) @@ -4274,7 +4509,7 @@ bool Parser::parseConditionalExpression(ExpressionAST *&node) if (token_stream.lookAhead() == '?') { - token_stream.nextToken(); + nextToken(); ExpressionAST *leftExpr = 0; if (!parseExpression(leftExpr)) @@ -4313,7 +4548,7 @@ bool Parser::parseAssignmentExpression(ExpressionAST *&node) || token_stream.lookAhead() == '=') { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseConditionalExpression(rightExpr)) @@ -4351,7 +4586,7 @@ bool Parser::parseCommaExpression(ExpressionAST *&node) while (token_stream.lookAhead() == ',') { std::size_t op = token_stream.cursor(); - token_stream.nextToken(); + nextToken(); ExpressionAST *rightExpr = 0; if (!parseAssignmentExpression(rightExpr)) @@ -4394,19 +4629,19 @@ bool Parser::parseQ_ENUMS(DeclarationAST *&node) if (token_stream.lookAhead(1) != '(') return false; - token_stream.nextToken(); - token_stream.nextToken(); + nextToken(); + nextToken(); - int firstToken = token_stream.cursor(); + size_t firstToken = token_stream.cursor(); while (token_stream.lookAhead() != ')') { - token_stream.nextToken(); + nextToken(); } QEnumsAST *ast = CreateNode(_M_pool); UPDATE_POS(ast, firstToken, token_stream.cursor()); ast->isQEnum = false; node = ast; - token_stream.nextToken(); + nextToken(); return true; } @@ -4419,19 +4654,19 @@ bool Parser::parseQ_ENUM(DeclarationAST *&node) if (token_stream.lookAhead(1) != '(') return false; - token_stream.nextToken(); - token_stream.nextToken(); + nextToken(); + nextToken(); - int firstToken = token_stream.cursor(); + size_t firstToken = token_stream.cursor(); while (token_stream.lookAhead() != ')') { - token_stream.nextToken(); + nextToken(); } QEnumsAST *ast = CreateNode(_M_pool); UPDATE_POS(ast, firstToken, token_stream.cursor()); node = ast; ast->isQEnum = true; - token_stream.nextToken(); + nextToken(); return true; } @@ -4444,12 +4679,12 @@ bool Parser::parseQ_PROPERTY(DeclarationAST *&node) if (token_stream.lookAhead(1) != '(') return false; - token_stream.nextToken(); - token_stream.nextToken(); + nextToken(); + nextToken(); - int firstToken = token_stream.cursor(); + size_t firstToken = token_stream.cursor(); while (token_stream.lookAhead() != ')') { - token_stream.nextToken(); + nextToken(); } QPropertyAST *ast = CreateNode(_M_pool); UPDATE_POS(ast, firstToken, token_stream.cursor()); @@ -4460,7 +4695,7 @@ bool Parser::parseQ_PROPERTY(DeclarationAST *&node) // printf("property: %s\n", // qPrintable(QString::fromLatin1(t1.text + t1.position, t2.position - t1.position))); - token_stream.nextToken(); + nextToken(); return true; } diff --git a/generator/parser/parser.h b/generator/parser/parser.h index be5e1bf4..92d87ed3 100644 --- a/generator/parser/parser.h +++ b/generator/parser/parser.h @@ -100,10 +100,10 @@ class Parser bool parseEnumSpecifier(TypeSpecifierAST *&node); bool parseEnumerator(EnumeratorAST *&node); bool parseEqualityExpression(ExpressionAST *&node, - bool templArgs = false); + bool templArgs = false); bool parseExceptionSpecification(ExceptionSpecificationAST *&node); bool parseExclusiveOrExpression(ExpressionAST *&node, - bool templArgs = false); + bool templArgs = false); bool parseExpression(ExpressionAST *&node); bool parseExpressionOrDeclarationStatement(StatementAST *&node); bool parseExpressionStatement(StatementAST *&node); @@ -113,18 +113,18 @@ class Parser bool parseFunctionSpecifier(const ListNode *&node); bool parseIfStatement(StatementAST *&node); bool parseInclusiveOrExpression(ExpressionAST *&node, - bool templArgs = false); + bool templArgs = false); bool parseInitDeclarator(InitDeclaratorAST *&node); bool parseInitDeclaratorList(const ListNode *&node); - bool parseInitializer(InitializerAST *&node); + bool parseInitializer(InitializerAST *&node, bool allowNewStyle); bool parseInitializerClause(InitializerClauseAST *&node); bool parseLabeledStatement(StatementAST *&node); bool parseLinkageBody(LinkageBodyAST *&node); bool parseLinkageSpecification(DeclarationAST *&node); bool parseLogicalAndExpression(ExpressionAST *&node, - bool templArgs = false); + bool templArgs = false); bool parseLogicalOrExpression(ExpressionAST *&node, - bool templArgs = false); + bool templArgs = false); bool parseMemInitializer(MemInitializerAST *&node); bool parseMemInitializerList(const ListNode *&node); bool parseMemberSpecification(DeclarationAST *&node); @@ -147,18 +147,19 @@ class Parser bool parsePrimaryExpression(ExpressionAST *&node); bool parsePtrOperator(PtrOperatorAST *&node); bool parsePtrToMember(PtrToMemberAST *&node); + void resolveRightShift(); bool parseRelationalExpression(ExpressionAST *&node, - bool templArgs = false); + bool templArgs = false); bool parseShiftExpression(ExpressionAST *&node); bool parseSimpleTypeSpecifier(TypeSpecifierAST *&node, - bool onlyIntegral = false); + bool onlyIntegral = false); bool parseStatement(StatementAST *&node); bool parseStorageClassSpecifier(const ListNode *&node); bool parseStringLiteral(StringLiteralAST *&node); bool parseSwitchStatement(StatementAST *&node); bool parseTemplateArgument(TemplateArgumentAST *&node); bool parseTemplateArgumentList(const ListNode *&node, - bool reportError = true); + bool reportError = true); bool parseTemplateDeclaration(DeclarationAST *&node); bool parseTemplateParameter(TemplateParameterAST *&node); bool parseTemplateParameterList(const ListNode *&node); @@ -173,8 +174,9 @@ class Parser bool parseTypedef(DeclarationAST *&node); bool parseUnaryExpression(ExpressionAST *&node); bool parseUnqualifiedName(UnqualifiedNameAST *&node, - bool parseTemplateId = true); + bool parseTemplateId = true); bool parseUsing(DeclarationAST *&node); + bool parseUsingTypedef(DeclarationAST*& node); bool parseUsingDirective(DeclarationAST *&node); bool parseWhileStatement(StatementAST *&node); bool parseWinDeclSpec(WinDeclSpecAST *&node); @@ -188,7 +190,8 @@ class Parser bool skipUntilStatement(); bool skip(int l, int r); - void advance(); + void nextToken(); + void rewind(std::size_t pos); // private: TokenStream token_stream; @@ -199,6 +202,7 @@ class Parser private: QString tokenText(AST *) const; + void keepTrackDebug(); LocationManager _M_location; Control *control; @@ -206,6 +210,12 @@ class Parser pool *_M_pool; bool _M_block_errors; + QString _currentFile; + int _currentLine{}; + int _currentColumn{}; + const char* _currentToken{}; + QString _currentSymbol; + private: Parser(const Parser& source); void operator = (const Parser& source); diff --git a/generator/parser/rpp/pp-engine-bits.h b/generator/parser/rpp/pp-engine-bits.h index d4ac0494..550e5bfa 100644 --- a/generator/parser/rpp/pp-engine-bits.h +++ b/generator/parser/rpp/pp-engine-bits.h @@ -577,7 +577,7 @@ InputIterator pp::handle_define (InputIterator _first, InputIterator _last) if (_first != _last && *_first == '(') { - macro.function_like = true; + macro.is.function_like = true; macro.formals.reserve (5); _first = skip_blanks (++_first, _last); // skip '(' @@ -589,7 +589,7 @@ InputIterator pp::handle_define (InputIterator _first, InputIterator _last) if (*_first == '.') { - macro.variadics = true; + macro.is.variadics = true; while (*_first == '.') ++_first; } @@ -606,7 +606,7 @@ InputIterator pp::handle_define (InputIterator _first, InputIterator _last) if (*_first == '.') { - macro.variadics = true; + macro.is.variadics = true; while (*_first == '.') ++_first; } diff --git a/generator/parser/rpp/pp-environment.h b/generator/parser/rpp/pp-environment.h index 982fb0d2..049ff589 100644 --- a/generator/parser/rpp/pp-environment.h +++ b/generator/parser/rpp/pp-environment.h @@ -89,7 +89,7 @@ class pp_environment inline void unbind (pp_fast_string const *_name) { if (pp_macro *m = resolve (_name)) - m->hidden = true; + m->is.hidden = true; } inline void unbind (char const *_s, std::size_t _size) @@ -103,7 +103,7 @@ class pp_environment std::size_t h = hash_code (*_name) % _M_hash_size; pp_macro *it = _M_base [h]; - while (it && it->name && it->hash_code == h && (*it->name != *_name || it->hidden)) + while (it && it->name && it->hash_code == h && (*it->name != *_name || it->is.hidden)) it = it->next; return it; diff --git a/generator/parser/rpp/pp-internal.h b/generator/parser/rpp/pp-internal.h index 47ae7940..4821ccb2 100644 --- a/generator/parser/rpp/pp-internal.h +++ b/generator/parser/rpp/pp-internal.h @@ -98,19 +98,19 @@ inline bool comment_p (InputIterator _first, InputIterator _last) /*const*/ return (*_first == '/' || *_first == '*'); } -struct _Compare_string: public std::binary_function +struct _Compare_string { inline bool operator () (pp_fast_string const *__lhs, pp_fast_string const *__rhs) const { return *__lhs < *__rhs; } }; -struct _Equal_to_string: public std::binary_function +struct _Equal_to_string { inline bool operator () (pp_fast_string const *__lhs, pp_fast_string const *__rhs) const { return *__lhs == *__rhs; } }; -struct _Hash_string: public std::unary_function +struct _Hash_string { inline std::size_t operator () (pp_fast_string const *__s) const { diff --git a/generator/parser/rpp/pp-macro-expander.h b/generator/parser/rpp/pp-macro-expander.h index 88e58038..a52182c1 100644 --- a/generator/parser/rpp/pp-macro-expander.h +++ b/generator/parser/rpp/pp-macro-expander.h @@ -250,7 +250,7 @@ class pp_macro_expander static bool hide_next = false; // ### remove me pp_macro *macro = env.resolve (name_buffer, name_size); - if (! macro || macro->hidden || hide_next) + if (! macro || macro->is.hidden || hide_next) { hide_next = ! strcmp (name_buffer, "defined"); @@ -278,13 +278,13 @@ class pp_macro_expander continue; } - if (! macro->function_like) + if (! macro->is.function_like) { pp_macro *m = 0; if (macro->definition) { - macro->hidden = true; + macro->is.hidden = true; std::string tmp; tmp.reserve (256); @@ -316,7 +316,7 @@ class pp_macro_expander std::copy (tmp.begin (), tmp.end (), _result); } - macro->hidden = false; + macro->is.hidden = false; } if (! m) @@ -370,15 +370,15 @@ class pp_macro_expander _first = arg_it; #if 0 // ### enable me - assert ((macro->variadics && macro->formals.size () >= actuals.size ()) + assert ((macro->is.variadics && macro->formals.size () >= actuals.size ()) || macro->formals.size() == actuals.size()); #endif pp_frame frame (macro, &actuals); pp_macro_expander expand_macro (env, &frame); - macro->hidden = true; + macro->is.hidden = true; expand_macro (macro->definition->begin (), macro->definition->end (), _result); - macro->hidden = false; + macro->is.hidden = false; generated_lines += expand_macro.lines; } else @@ -394,7 +394,7 @@ class pp_macro_expander { InputIterator arg_end = skip_argument (_first, _last); - while (_macro->variadics && _first != arg_end && arg_end != _last && *arg_end == ',' + while (_macro->is.variadics && _first != arg_end && arg_end != _last && *arg_end == ',' && (_actuals.size () + 1) == _macro->formals.size ()) { arg_end = skip_argument (++arg_end, _last); diff --git a/generator/parser/rpp/pp-macro.h b/generator/parser/rpp/pp-macro.h index 0b4d7b5e..6342549d 100644 --- a/generator/parser/rpp/pp-macro.h +++ b/generator/parser/rpp/pp-macro.h @@ -62,7 +62,7 @@ struct pp_macro int unsigned hidden: 1; int unsigned function_like: 1; int unsigned variadics: 1; - }; + } is; }; int lines; diff --git a/generator/parser/rpp/preprocessor.cpp b/generator/parser/rpp/preprocessor.cpp index c813a92a..55c80480 100644 --- a/generator/parser/rpp/preprocessor.cpp +++ b/generator/parser/rpp/preprocessor.cpp @@ -143,7 +143,7 @@ QList Preprocessor::macros() const item.parameters += QString::fromLatin1(m->formals[i]->begin(), m->formals[i]->size()); } - item.isFunctionLike = m->function_like; + item.isFunctionLike = m->is.function_like; #ifdef PP_WITH_MACRO_POSITION item.fileName = QString::fromLatin1(m->file->begin(), m->file->size()); diff --git a/generator/parser/tokens.cpp b/generator/parser/tokens.cpp index 07cc10ad..a7b8d0c6 100644 --- a/generator/parser/tokens.cpp +++ b/generator/parser/tokens.cpp @@ -41,6 +41,7 @@ #include +#include #include "tokens.h" @@ -69,8 +70,10 @@ static char const * const _S_token_names[] = { "compl", "concat", "const", + "constexpr", "const_cast", "continue", + "decltype", "decr", "default", "delete", @@ -103,12 +106,14 @@ static char const * const _S_token_names[] = { "mutable", "namespace", "new", + "noexcept", "not", "not_eq", "number_literal", "operator", "or", "or_eq", + "placeholder", "preproc", "private", "protected", @@ -118,7 +123,8 @@ static char const * const _S_token_names[] = { "reinterpret_cast", "return", "scope", - "shift", + "shift_left", + "shift_right", "short", "signals", "signed", @@ -149,7 +155,8 @@ static char const * const _S_token_names[] = { "xor", "xor_eq", "Q_ENUMS", - "Q_ENUM" + "Q_ENUM", + "Q_INVOKABLE" }; static char _S_printable[][2] = { @@ -251,6 +258,18 @@ static char _S_printable[][2] = { { char(127), '\0' }, }; +int check_tokens_consistency() +{ + if (sizeof(_S_token_names) / sizeof(_S_token_names[0]) != TOKEN_KIND_COUNT - Token_K_DCOP) + { + std::cerr << "** ERROR enum TOKEN_KIND and _S_token_names are not consistent" << std::endl; + abort(); + } + return 0; +} + +static int tokens_consistency = check_tokens_consistency(); + char const *token_name(int token) { if (token == 0) @@ -261,9 +280,9 @@ char const *token_name(int token) { return _S_printable[token - 32]; } - else if (token >= 1000) + else if (token >= Token_K_DCOP) { - return _S_token_names[token - 1000]; + return _S_token_names[token - Token_K_DCOP]; } Q_ASSERT(0); diff --git a/generator/parser/tokens.h b/generator/parser/tokens.h index 6bb944ae..416e0a9a 100644 --- a/generator/parser/tokens.h +++ b/generator/parser/tokens.h @@ -71,8 +71,10 @@ enum TOKEN_KIND Token_compl, Token_concat, Token_const, + Token_constexpr, Token_const_cast, Token_continue, + Token_decltype, Token_decr, Token_default, Token_delete, @@ -105,12 +107,14 @@ enum TOKEN_KIND Token_mutable, Token_namespace, Token_new, + Token_noexcept, Token_not, Token_not_eq, Token_number_literal, Token_operator, Token_or, Token_or_eq, + Token_placeholder, Token_preproc, Token_private, Token_protected, @@ -120,7 +124,8 @@ enum TOKEN_KIND Token_reinterpret_cast, Token_return, Token_scope, - Token_shift, + Token_shift_left, + Token_shift_right, Token_short, Token_signals, Token_signed, diff --git a/generator/parser/type_compiler.cpp b/generator/parser/type_compiler.cpp index 4a73a744..5c506386 100644 --- a/generator/parser/type_compiler.cpp +++ b/generator/parser/type_compiler.cpp @@ -127,24 +127,14 @@ void TypeCompiler::visitName(NameAST *node) _M_type = name_cc.qualifiedName(); } -QStringList TypeCompiler::cvString() const +bool TypeCompiler::isConstant() const { - QStringList lst; - - foreach (int q, cv()) - { - if (q == Token_const) - lst.append(QLatin1String("const")); - else if (q == Token_volatile) - lst.append(QLatin1String("volatile")); - } - - return lst; + return _M_cv.contains(Token_const); } -bool TypeCompiler::isConstant() const +bool TypeCompiler::isConstexpr() const { - return _M_cv.contains(Token_const); + return _M_cv.contains(Token_constexpr); } bool TypeCompiler::isVolatile() const @@ -152,4 +142,9 @@ bool TypeCompiler::isVolatile() const return _M_cv.contains(Token_volatile); } +bool TypeCompiler::isMutable() const +{ + return _M_cv.contains(Token_mutable); +} + // kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/generator/parser/type_compiler.h b/generator/parser/type_compiler.h index 87e51ca9..6b706f50 100644 --- a/generator/parser/type_compiler.h +++ b/generator/parser/type_compiler.h @@ -61,9 +61,9 @@ class TypeCompiler: protected DefaultVisitor inline QList cv() const { return _M_cv; } bool isConstant() const; + bool isConstexpr() const; bool isVolatile() const; - - QStringList cvString() const; + bool isMutable() const; void run(TypeSpecifierAST *node); diff --git a/generator/prigenerator.cpp b/generator/prigenerator.cpp index 3f513c84..858651fe 100644 --- a/generator/prigenerator.cpp +++ b/generator/prigenerator.cpp @@ -39,6 +39,8 @@ ** ****************************************************************************/ +#include // for std::sort + #include "prigenerator.h" #include "shellgenerator.h" #include "reporthandler.h" @@ -81,13 +83,17 @@ static QString combineIncludes(const QString& text) { result += line + "\n"; } } - QStringList includeList = includes.toList(); - qSort(includeList); +#if QT_VERSION < QT_VERSION_CHECK(5,14,0) + QStringList includeList = includes.toList(); +#else + QStringList includeList(includes.begin(), includes.end()); +#endif + std::sort(includeList.begin(), includeList.end()); result = includeList.join("\n") + result; return result; } -static QStringList compactFiles(const QStringList& list, const QString& ext, const QString& dir, const QString& prefix) { +QStringList PriGenerator::compactFiles(const QStringList& list, const QString& ext, const QString& dir, const QString& prefix) { QStringList outList; int count = list.count(); int fileNum = 0; @@ -104,7 +110,7 @@ static QStringList compactFiles(const QStringList& list, const QString& ext, con outList << outFileName; QString allText; QTextStream ts(&allText); - for (int i = 0; i0; i++) { + for (int i = 0; i< maxClassesPerFile && count>0; i++) { collectAndRemoveFile(ts, srcDir + "/" + list.at(list.count()-count)); count--; } @@ -129,7 +135,7 @@ void PriGenerator::generate() int idx = folder.indexOf('/'); folder = folder.left(idx); - qSort(list.begin(), list.end()); + std::sort(list.begin(), list.end()); FileOut file(m_out_dir + "/generated_cpp/" + pri.key()); // strange idea to do the file compacting so late, but it is the most effective way without patching the generator a lot @@ -146,7 +152,7 @@ void PriGenerator::generate() file.stream << "\n"; file.stream << "SOURCES += \\\n"; list = pri.value().sources; - qSort(list.begin(), list.end()); + std::sort(list.begin(), list.end()); if (compact) { list = compactFiles(list, ".cpp", m_out_dir + "/generated_cpp/" + folder, folder); } diff --git a/generator/prigenerator.h b/generator/prigenerator.h index ff75682e..853ea6b7 100644 --- a/generator/prigenerator.h +++ b/generator/prigenerator.h @@ -58,13 +58,17 @@ class PriGenerator : public Generator Q_OBJECT public: + PriGenerator(int classesPerFile) : maxClassesPerFile(classesPerFile) {} virtual void generate(); void addHeader(const QString &folder, const QString &header); void addSource(const QString &folder, const QString &source); private: + QStringList compactFiles(const QStringList& list, const QString& ext, const QString& dir, const QString& prefix); + QHash priHash; + int maxClassesPerFile; }; #endif // PRIGENERATOR_H diff --git a/generator/qtscript_masterinclude.h b/generator/qtscript_masterinclude.h index 8f96f084..10f9319b 100644 --- a/generator/qtscript_masterinclude.h +++ b/generator/qtscript_masterinclude.h @@ -38,7 +38,6 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ - // We need to force the endianess in Qt5 #define Q_BYTE_ORDER Q_LITTLE_ENDIAN @@ -48,11 +47,52 @@ #define QOPENGLFUNCTIONS_H #define QOPENGLEXTRAFUNCTIONS_H -// our compiler can't handle the templates for singleShot (int Qt 5.12), but we can circumvent this with -// Q_CLANG_QDOC for the moment: -#define Q_CLANG_QDOC -#include -#undef Q_CLANG_QDOC +/* This must only be included after 'QT_NO_' definitions have been defined. */ +#include + +/* NOTE: Qt5.12 and later (including Qt6) uses template functions for the + * static implementations of QTimer::singleShot() (the function, not the + * property). The generator does not handle template functions. Defining + * Q_CLANG_QDOC works around this by exposing the non-template forms that + * appear in the documentation at the same time as hiding the templates. + * Without this the QTimer::singleShot functions do not appear in the PythonQt + * interface. + * + * Unfortunately the work around breaks precompilation in Qt5.11 because it + * causes duplicate definitions of some text handling functions (they really + * are duplicated if Q_CLANG_QDOC is turned on) so the change must be version + * specific. + * + * This does not work in Qt6 because Qt6 uses Q_QDOC for the documentation and + * needs other fixes. + */ +#if QT_VERSION_MAJOR == 5 && QT_VERSION_MINOR > 11 +# include // included by QtCore/QTimer +# define Q_CLANG_QDOC +# include +# undef Q_CLANG_QDOC +#endif + +// it seems this can be safely ignored (otherwise generator currently stumbles over use of noexcept): +#define Q_DECLARE_SHARED(TYPE) +#define Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(TYPE) + +// also ignore deprecation macros for now: +#define QT_DEPRECATED_VERSION_X_5(minor, text) +#define QT_DEPRECATED_VERSION_X(major, minor, text) + +#define QT_DEPRECATED_VERSION_5(minor) +#define QT_DEPRECATED_VERSION(major, minor) + +// we also don't use this: +#define Q_CLASSINFO(name, value) +#define Q_PRIVATE_PROPERTY(d, text) + +// treat QDOC_PROPERTY like Q_PROPERTY +#define QDOC_PROPERTY(text) Q_PROPERTY(text) + +// don't need this: +#define Q_REVISION(v) #include #include diff --git a/generator/setupgenerator.cpp b/generator/setupgenerator.cpp index 91880f3d..f7eb31d0 100644 --- a/generator/setupgenerator.cpp +++ b/generator/setupgenerator.cpp @@ -39,6 +39,8 @@ ** ****************************************************************************/ +#include // for std::sort, std::stable_sort + #include "setupgenerator.h" #include "shellgenerator.h" #include "reporthandler.h" @@ -65,7 +67,13 @@ static QStringList getOperatorCodes(const AbstractMetaClass* cls) { } } QSet r; - for (QString op : operatorCodes.toList()) { + for (QString op : +# if QT_VERSION < QT_VERSION_CHECK(5,14,0) + operatorCodes.toList() +# else + QStringList(operatorCodes.begin(), operatorCodes.end()) +# endif + ) { if (op == ">" || op == "<" || op == ">=" || op == "<=" || op == "==" || op == "!=") { r.insert("PythonQt::Type_RichCompare"); } else if (op == "+") { @@ -113,7 +121,7 @@ static QStringList getOperatorCodes(const AbstractMetaClass* cls) { CodeSnipList code_snips = cls->typeEntry()->codeSnips(); for (const CodeSnip &cs : code_snips) { if (cs.language == TypeSystem::PyWrapperOperators) { - QStringList values = cs.code().split(" ", QString::SkipEmptyParts); + QStringList values = cs.code().split(" ", Qt::SkipEmptyParts); for (QString value : values) { r.insert(value); } @@ -122,16 +130,15 @@ static QStringList getOperatorCodes(const AbstractMetaClass* cls) { } - QStringList result = r.toList(); - qSort(result); +#if QT_VERSION < QT_VERSION_CHECK(5,14,0) + QStringList result = r.toList(); +#else + QStringList result(r.begin(), r.end()); +#endif + std::sort(result.begin(), result.end()); return result; } -static bool class_less_than(const AbstractMetaClass *a, const AbstractMetaClass *b) -{ - return a->name() < b->name(); -} - static QSet _builtinListTypes = QSet() << "QByteArray" << "QDate" << "QTime" @@ -146,7 +153,10 @@ static QSet _builtinListTypes = QSet() << "QByteArray" << "QLineF" << "QPoint" << "QPointF" +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) << "QRegExp" +#endif +<< "QRegularExpression" << "QFont" << "QPixmap" << "QBrush" @@ -163,7 +173,11 @@ static QSet _builtinListTypes = QSet() << "QByteArray" << "QPen" << "QTextLength" << "QTextFormat" +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) << "QMatrix" +#endif +<< "QTransform" +<< "QMatrix4x4" << "QVariant"; static void addListRegistration(AbstractMetaType* type, QSet& output) { @@ -223,7 +237,7 @@ void SetupGenerator::generate() } } } - qSort(classes_with_polymorphic_id.begin(), classes_with_polymorphic_id.end(), class_less_than); + classes_with_polymorphic_id.sort(); QHashIterator > pack(packHash); while (pack.hasNext()) { @@ -231,7 +245,7 @@ void SetupGenerator::generate() QList list = pack.value(); if (list.isEmpty()) continue; - qSort(list.begin(), list.end(), class_less_than); + std::stable_sort(list.begin(), list.end(), AbstractMetaClass::less_than); QString packKey = pack.key(); QString packName = pack.key(); @@ -271,7 +285,7 @@ void SetupGenerator::generate() s << "#include " << endl; s << "#include " << endl; - for (int i=0; i<(list.count()+MAX_CLASSES_PER_FILE-1) / MAX_CLASSES_PER_FILE; i++) { + for (int i=0; i<(list.count()+ maxClassesPerFile -1) / maxClassesPerFile; i++) { s << "#include \"" << packKey << QString::number(i) << ".h\"" << endl; } s << endl; @@ -374,7 +388,11 @@ void SetupGenerator::generate() } s << endl; +#if QT_VERSION < QT_VERSION_CHECK(5,14,0) QStringList list = listRegistration.toList(); +#else + QStringList list(listRegistration.begin(), listRegistration.end()); +#endif list.sort(); Q_FOREACH(QString name, list) { if (name.contains("Ssl")) { diff --git a/generator/setupgenerator.h b/generator/setupgenerator.h index 84dc0ce0..fb5985d2 100644 --- a/generator/setupgenerator.h +++ b/generator/setupgenerator.h @@ -50,19 +50,23 @@ class SetupGenerator : public Generator Q_OBJECT public: - virtual void generate(); + SetupGenerator(int classesPerFile) : maxClassesPerFile(classesPerFile) {} - void addClass(const QString& package, const AbstractMetaClass *cls); + virtual void generate(); - static void writeInclude(QTextStream &stream, const Include &inc); + void addClass(const QString& package, const AbstractMetaClass *cls); + + static void writeInclude(QTextStream &stream, const Include &inc); - static bool isSpecialStreamingOperator(const AbstractMetaFunction *fun); + static bool isSpecialStreamingOperator(const AbstractMetaFunction *fun); private: QStringList writePolymorphicHandler(QTextStream &s, const QString &package, const AbstractMetaClassList &polyBaseClasses, QList& allClasses); QHash > packHash; + + int maxClassesPerFile; }; #endif // SETUPGENERATOR_H diff --git a/generator/shellgenerator.cpp b/generator/shellgenerator.cpp index b725f03d..d9de72a4 100644 --- a/generator/shellgenerator.cpp +++ b/generator/shellgenerator.cpp @@ -39,6 +39,8 @@ ** ****************************************************************************/ +#include // for std::sort + #include "shellgenerator.h" #include "reporthandler.h" @@ -322,7 +324,11 @@ AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaCl AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible | AbstractMetaClass::NotRemovedFromTargetLang | AbstractMetaClass::ClassImplements ); +#if QT_VERSION < QT_VERSION_CHECK(5,14,0) QSet set1 = QSet::fromList(functions); +#else + QSet set1(functions.begin(), functions.end()); +#endif for (AbstractMetaFunction* func : functions2) { set1.insert(func); } @@ -331,14 +337,20 @@ AbstractMetaFunctionList ShellGenerator::getFunctionsToWrap(const AbstractMetaCl bool hasPromoter = meta_class->typeEntry()->shouldCreatePromoter(); - for (AbstractMetaFunction* func : set1.toList()) { + for (AbstractMetaFunction* func : +# if QT_VERSION < QT_VERSION_CHECK(5,14,0) + set1.toList() +# else + QList(set1.begin(), set1.end()) +# endif + ) { if (func->implementingClass()==meta_class) { if (hasPromoter || func->wasPublic()) { resultFunctions << func; } } } - qSort(resultFunctions.begin(), resultFunctions.end(), function_sorter); + std::sort(resultFunctions.begin(), resultFunctions.end(), function_sorter); return resultFunctions; } @@ -348,7 +360,7 @@ AbstractMetaFunctionList ShellGenerator::getVirtualFunctionsForShell(const Abstr AbstractMetaClass::VirtualFunctions | AbstractMetaClass::WasVisible | AbstractMetaClass::NotRemovedFromTargetLang ); - qSort(functions.begin(), functions.end(), function_sorter); + std::sort(functions.begin(), functions.end(), function_sorter); return functions; } @@ -361,7 +373,7 @@ AbstractMetaFunctionList ShellGenerator::getProtectedFunctionsThatNeedPromotion( functions << func; } } - qSort(functions.begin(), functions.end(), function_sorter); + std::sort(functions.begin(), functions.end(), function_sorter); return functions; } @@ -423,7 +435,11 @@ bool ShellGenerator::isBuiltIn(const QString& name) { builtIn.insert("QKeySequence"); builtIn.insert("QTextLength"); builtIn.insert("QTextFormat"); +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) builtIn.insert("QMatrix"); +#endif + builtIn.insert("QTransform"); + builtIn.insert("QMatrix4x4"); builtIn.insert("QDate"); builtIn.insert("QTime"); builtIn.insert("QDateTime"); @@ -437,7 +453,10 @@ bool ShellGenerator::isBuiltIn(const QString& name) { builtIn.insert("QLineF"); builtIn.insert("QPoint"); builtIn.insert("QPointF"); +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) builtIn.insert("QRegExp"); +#endif + builtIn.insert("QRegularExpression"); } return builtIn.contains(name); } diff --git a/generator/shellgenerator.h b/generator/shellgenerator.h index 58097e1d..dd383bb6 100644 --- a/generator/shellgenerator.h +++ b/generator/shellgenerator.h @@ -46,8 +46,6 @@ #include "metaqtscript.h" #include "prigenerator.h" -#define MAX_CLASSES_PER_FILE 30 - class ShellGenerator : public Generator { Q_OBJECT diff --git a/generator/shellheadergenerator.cpp b/generator/shellheadergenerator.cpp index b925a6ac..89cd64c5 100644 --- a/generator/shellheadergenerator.cpp +++ b/generator/shellheadergenerator.cpp @@ -39,38 +39,40 @@ ** ****************************************************************************/ +#include // for std::sort + #include "shellheadergenerator.h" #include #include -QString ShellHeaderGenerator::fileNameForClass(const AbstractMetaClass *meta_class) const +QString ShellHeaderGenerator::fileNameForClass(const AbstractMetaClass* meta_class) const { return QString("PythonQtWrapper_%1.h").arg(meta_class->name()); } -void ShellHeaderGenerator::writeFieldAccessors(QTextStream &s, const AbstractMetaField *field) +void ShellHeaderGenerator::writeFieldAccessors(QTextStream& s, const AbstractMetaField* field) { - const AbstractMetaFunction *setter = field->setter(); - const AbstractMetaFunction *getter = field->getter(); + const AbstractMetaFunction* setter = field->setter(); + const AbstractMetaFunction* getter = field->getter(); // static fields are not supported (yet?) if (setter->isStatic()) return; // Uuid data4 did not work (TODO: move to typesystem...( - if (field->enclosingClass()->name()=="QUuid" && setter->name()=="data4") return; - if (field->enclosingClass()->name()=="QIPv6Address") return; + if (field->enclosingClass()->name() == "QUuid" && setter->name() == "data4") return; + if (field->enclosingClass()->name() == "QIPv6Address") return; bool isInventorField = field->type()->name().startsWith("So"); if (!isInventorField && !field->type()->isConstant()) { writeFunctionSignature(s, setter, 0, QString(), - Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | ShowStatic | UnderscoreSpaces)); + Option(ConvertReferenceToPtr | FirstArgIsWrappedObject | IncludeDefaultExpression | ShowStatic | UnderscoreSpaces)); s << "{ theWrappedObject->" << field->name() << " = " << setter->arguments()[0]->argumentName() << "; }\n"; } - + bool addIndirection = false; if (isInventorField && getter->type()->indirections() == 0) { // make it a field ptr: @@ -78,7 +80,7 @@ void ShellHeaderGenerator::writeFieldAccessors(QTextStream &s, const AbstractMet addIndirection = true; } writeFunctionSignature(s, getter, 0, QString(), - Option(ConvertReferenceToPtr | FirstArgIsWrappedObject| IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces)); + Option(ConvertReferenceToPtr | FirstArgIsWrappedObject | IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces)); s << "{ return "; if (addIndirection) { s << "&"; @@ -86,19 +88,19 @@ void ShellHeaderGenerator::writeFieldAccessors(QTextStream &s, const AbstractMet s << "theWrappedObject->" << field->name() << "; }\n"; } -static bool enum_lessThan(const AbstractMetaEnum *a, const AbstractMetaEnum *b) +static bool enum_lessThan(const AbstractMetaEnum* a, const AbstractMetaEnum* b) { return a->name() < b->name(); } -static bool field_lessThan(const AbstractMetaField *a, const AbstractMetaField *b) +static bool field_lessThan(const AbstractMetaField* a, const AbstractMetaField* b) { return a->name() < b->name(); } -void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class) +void ShellHeaderGenerator::write(QTextStream& s, const AbstractMetaClass* meta_class) { - QString builtIn = ShellGenerator::isBuiltIn(meta_class->name())?"_builtin":""; + QString builtIn = ShellGenerator::isBuiltIn(meta_class->name()) ? "_builtin" : ""; QString pro_file_name = meta_class->package().replace(".", "_") + builtIn + "/" + meta_class->package().replace(".", "_") + builtIn + ".pri"; priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class)); setupGenerator->addClass(meta_class->package().replace(".", "_") + builtIn, meta_class); @@ -115,10 +117,10 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c s << "#include " << endl << endl; IncludeList list = meta_class->typeEntry()->extraIncludes(); - qSort(list.begin(), list.end()); + std::sort(list.begin(), list.end()); for (const Include & inc : list) { ShellGenerator::writeInclude(s, inc); - } + } s << endl; @@ -127,7 +129,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c | AbstractMetaClass::NotRemovedFromTargetLang); if (meta_class->qualifiedCppName().contains("Ssl")) { - s << "#ifndef QT_NO_SSL" << endl; + s << "#ifndef QT_NO_SSL" << endl; } // Shell------------------------------------------------------------------- @@ -140,7 +142,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c s << "public:" << endl; for (AbstractMetaFunction * fun : ctors) { s << " "; - writeFunctionSignature(s, fun, 0,"PythonQtShell_", + writeFunctionSignature(s, fun, 0, "PythonQtShell_", Option(IncludeDefaultExpression | OriginalName | ShowStatic | UnderscoreSpaces)); s << ":" << meta_class->qualifiedCppName() << "("; QString scriptFunctionName = fun->originalName(); @@ -170,7 +172,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c } writeInjectedCode(s, meta_class, TypeSystem::PyShellDeclaration); writeInjectedCode(s, meta_class, TypeSystem::PyInheritShellDeclaration, true); - s << " PythonQtInstanceWrapper* _wrapper; " << endl; + s << " PythonQtInstanceWrapper* _wrapper;" << endl; s << "};" << endl << endl; } @@ -185,7 +187,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c << " : public " << meta_class->qualifiedCppName() << endl << "{ public:" << endl; AbstractMetaEnumList enums1 = meta_class->enums(); - qSort(enums1.begin(), enums1.end(), enum_lessThan); + std::sort(enums1.begin(), enums1.end(), enum_lessThan); for (AbstractMetaEnum * enum1 : enums1) { if (enum1->wasProtected()) { s << "enum " << enum1->name() << "{" << endl; @@ -199,7 +201,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c s << "};" << endl; } } - + for (AbstractMetaFunction * fun : promoteFunctions) { // normal promoter if (fun->wasProtected()) { @@ -263,14 +265,14 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c s << "public:" << endl; AbstractMetaEnumList enums1 = meta_class->enums(); - qSort(enums1.begin(), enums1.end(), enum_lessThan); + std::sort(enums1.begin(), enums1.end(), enum_lessThan); AbstractMetaEnumList enums; QList flags; for (AbstractMetaEnum * enum1 : enums1) { // catch gadgets and enums that are not exported on QObjects... // since we don't parse Q_FLAG(S), we also need to generate for Q_ENUM which might // have a missing Q_FLAG(S) declaration. - if ((enum1->wasProtected() || enum1->wasPublic()) && + if ((enum1->wasProtected() || enum1->wasPublic()) && (!meta_class->isQObject() || !enum1->hasQEnumsDeclaration() || enum1->typeEntry()->flags())) { enums << enum1; @@ -285,20 +287,20 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c s << enum1->name() << " "; } s << ")" << endl; - + if (flags.count()) { s << "Q_FLAGS("; for (FlagsTypeEntry * flag1 : flags) { QString origName = flag1->originalName(); int idx = origName.lastIndexOf("::"); - if (idx!= -1) { - origName = origName.mid(idx+2); + if (idx != -1) { + origName = origName.mid(idx + 2); } s << origName << " "; } s << ")" << endl; } - + for (AbstractMetaEnum * enum1 : enums) { s << "enum " << enum1->name() << "{" << endl; bool first = true; @@ -316,10 +318,10 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c if (enum1->typeEntry()->flags()) { QString origName = enum1->typeEntry()->flags()->originalName(); int idx = origName.lastIndexOf("::"); - if (idx!= -1) { - origName = origName.mid(idx+2); + if (idx != -1) { + origName = origName.mid(idx + 2); } - s << "Q_DECLARE_FLAGS("<< origName << ", " << enum1->name() <<")"<name() << ")" << endl; } } } @@ -336,17 +338,17 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c writeFunctionSignature(s, fun, 0, "new_", Option(IncludeDefaultExpression | OriginalName | ShowStatic | AddOwnershipTemplates)); s << ";" << endl; - if (fun->arguments().size()==1 && meta_class->qualifiedCppName() == fun->arguments().at(0)->type()->typeEntry()->qualifiedCppName()) { + if (fun->arguments().size() == 1 && meta_class->qualifiedCppName() == fun->arguments().at(0)->type()->typeEntry()->qualifiedCppName()) { copyConstructorSeen = true; } - if (fun->arguments().size()==0) { + if (fun->arguments().size() == 0) { defaultConstructorSeen = true; } } if (meta_class->typeEntry()->isValue() - && !copyConstructorSeen && defaultConstructorSeen) { - QString className = meta_class->generateShellClass()?shellClassName(meta_class):meta_class->qualifiedCppName(); + && !copyConstructorSeen && defaultConstructorSeen) { + QString className = meta_class->generateShellClass() ? shellClassName(meta_class) : meta_class->qualifiedCppName(); s << meta_class->qualifiedCppName() << "* new_" << meta_class->name() << "(const " << meta_class->qualifiedCppName() << "& other) {" << endl; s << className << "* a = new " << className << "();" << endl; s << "*((" << meta_class->qualifiedCppName() << "*)a) = other;" << endl; @@ -397,7 +399,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c } } if (meta_class->hasDefaultToStringFunction() || meta_class->hasToStringCapability()) { - s << " QString py_toString(" << meta_class->qualifiedCppName() << "*);" << endl; + s << " QString py_toString(" << meta_class->qualifiedCppName() << "*);" << endl; } QString nonZeroFunc = meta_class->getDefaultNonZeroFunction(); if (!nonZeroFunc.isEmpty()) { @@ -409,7 +411,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c } AbstractMetaFieldList fields = meta_class->fields(); - qSort(fields.begin(), fields.end(), field_lessThan); + std::sort(fields.begin(), fields.end(), field_lessThan); // TODO: move "So" check to typesystem, e.g. allow star in rejection... // Field accessors @@ -421,25 +423,25 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c writeInjectedCode(s, meta_class, TypeSystem::PyWrapperDeclaration); - - s << "};" << endl << endl; + + s << "};" << endl << endl; if (meta_class->qualifiedCppName().contains("Ssl")) { - s << "#endif" << endl << endl; + s << "#endif" << endl << endl; } - s << "#endif // " << include_block << endl; + s << "#endif // " << include_block << endl; } -void ShellHeaderGenerator::writePromoterArgs(AbstractMetaArgumentList &args, QTextStream & s) +void ShellHeaderGenerator::writePromoterArgs(AbstractMetaArgumentList& args, QTextStream& s) { for (int i = 0; i < args.size(); ++i) { if (i > 0) { s << ", "; } if (args.at(i)->type()->isEnum()) { - AbstractMetaEnum* enumType = m_classes.findEnum((EnumTypeEntry *)args.at(i)->type()->typeEntry()); + AbstractMetaEnum* enumType = m_classes.findEnum((EnumTypeEntry*)args.at(i)->type()->typeEntry()); if (enumType && enumType->wasProtected()) { s << "(" << enumType->typeEntry()->qualifiedCppName() << ")"; } @@ -448,9 +450,9 @@ void ShellHeaderGenerator::writePromoterArgs(AbstractMetaArgumentList &args, QTe } } -void ShellHeaderGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class, int type, bool recursive) +void ShellHeaderGenerator::writeInjectedCode(QTextStream& s, const AbstractMetaClass* meta_class, int type, bool recursive) { - const AbstractMetaClass *cls = meta_class; + const AbstractMetaClass* cls = meta_class; do { CodeSnipList code_snips = cls->typeEntry()->codeSnips(); for (const CodeSnip & cs : code_snips) { diff --git a/generator/shellimplgenerator.cpp b/generator/shellimplgenerator.cpp index f3a7818f..798e96a2 100644 --- a/generator/shellimplgenerator.cpp +++ b/generator/shellimplgenerator.cpp @@ -39,6 +39,8 @@ ** ****************************************************************************/ +#include // for std::sort + #include "shellimplgenerator.h" #include "reporthandler.h" #include "fileout.h" @@ -82,7 +84,7 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla // return; IncludeList list = meta_class->typeEntry()->extraIncludes(); - qSort(list.begin(), list.end()); + std::sort(list.begin(), list.end()); foreach (const Include &inc, list) { ShellGenerator::writeInclude(s, inc); } @@ -176,7 +178,7 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla s << " }" << endl; s << " }" << endl; } - s << " if (result) { Py_DECREF(result); } " << endl; + s << " if (result) { Py_DECREF(result); }" << endl; s << " Py_DECREF(obj);" << endl; // ugly hack, we don't support QGraphicsScene* nor QGraphicsItem* QVariants in PythonQt... if (fun->name() == "itemChange" && fun->type() && fun->type()->isVariant()) { diff --git a/generator/typeparser.cpp b/generator/typeparser.cpp index 87730fa5..90a68e56 100644 --- a/generator/typeparser.cpp +++ b/generator/typeparser.cpp @@ -53,6 +53,7 @@ class Scanner LessThanToken, ColonToken, CommaToken, + EllipsisToken, OpenParenToken, CloseParenToken, SquareBegin, @@ -115,6 +116,12 @@ Scanner::Token Scanner::nextToken() Q_ASSERT(m_pos + 1 < m_length); ++m_pos; break; + case '.': + if (m_pos + 2 < m_length && c == m_chars[m_pos + 1] && c == m_chars[m_pos + 2]) { + tok = EllipsisToken; + m_pos += 2; + break; + } default: if (c.isLetterOrNumber() || c == '_') tok = Identifier; @@ -168,6 +175,7 @@ TypeParser::Info TypeParser::parse(const QString &str) // switch (tok) { // case Scanner::StarToken: printf(" - *\n"); break; // case Scanner::AmpersandToken: printf(" - &\n"); break; +// case Scanner::EllipsisToken: printf(" - ...\n"); break; // case Scanner::LessThanToken: printf(" - <\n"); break; // case Scanner::GreaterThanToken: printf(" - >\n"); break; // case Scanner::ColonToken: printf(" - ::\n"); break; @@ -215,7 +223,8 @@ TypeParser::Info TypeParser::parse(const QString &str) case Scanner::OpenParenToken: // function pointers not supported case Scanner::CloseParenToken: - { + case Scanner::EllipsisToken: // variadic templates not supported + { Info i; i.is_busted = true; return i; diff --git a/generator/typesystem.cpp b/generator/typesystem.cpp index a9983bdd..c3f6ded9 100644 --- a/generator/typesystem.cpp +++ b/generator/typesystem.cpp @@ -51,6 +51,22 @@ #include #include // Q_FALLTHROUGH +/* This file needs to be rewritten as documented here: + * + * See: https://doc.qt.io/qt-6/xml-changes-qt6.html + * + * The rewrite may be backward compatible to Qt4.3 APIs because the base + * facilites (QXmlStreamReader) used to relace the 'SAX' parser were apparently + * available then. Use of Xml5Compat is a work round until such a rewrite has + * been done. + */ +#if QT_VERSION >= QT_VERSION_CHECK(6,0,0) +# if defined(__GNUC__) +# pragma GCC warning "Qt6: implement Qt6 compatible XML reading" +# endif +# include +#endif + QString strings_Object = QLatin1String("Object"); QString strings_String = QLatin1String("String"); QString strings_Thread = QLatin1String("Thread"); @@ -63,1689 +79,1690 @@ static void addRemoveFunctionToTemplates(TypeDatabase *db); class StackElement { - public: - enum ElementType { - None = 0x0, - - // Type tags (0x1, ... , 0xff) - ObjectTypeEntry = 0x1, - ValueTypeEntry = 0x2, - InterfaceTypeEntry = 0x3, - NamespaceTypeEntry = 0x4, - ComplexTypeEntryMask = 0xf, - - // Non-complex type tags (0x10, 0x20, ... , 0xf0) - PrimitiveTypeEntry = 0x10, - EnumTypeEntry = 0x20, - TypeEntryMask = 0xff, - - // Simple tags (0x100, 0x200, ... , 0xf00) - ExtraIncludes = 0x100, - Include = 0x200, - ModifyFunction = 0x300, - ModifyField = 0x400, - Root = 0x500, - CustomMetaConstructor = 0x600, - CustomMetaDestructor = 0x700, - ArgumentMap = 0x800, - SuppressedWarning = 0x900, - Rejection = 0xa00, - LoadTypesystem = 0xb00, - RejectEnumValue = 0xc00, - Template = 0xd00, - TemplateInstanceEnum = 0xe00, - Replace = 0xf00, - SimpleMask = 0xf00, - - // Code snip tags (0x1000, 0x2000, ... , 0xf000) - InjectCode = 0x1000, - InjectCodeInFunction = 0x2000, - CodeSnipMask = 0xf000, - - // Function modifier tags (0x010000, 0x020000, ... , 0xf00000) - Access = 0x010000, - Removal = 0x020000, - Rename = 0x040000, - ModifyArgument = 0x080000, - FunctionModifiers = 0xff0000, - - // Argument modifier tags (0x01000000 ... 0xf0000000) - ConversionRule = 0x01000000, - ReplaceType = 0x02000000, - ReplaceDefaultExpression = 0x04000000, - RemoveArgument = 0x08000000, - DefineOwnership = 0x10000000, - RemoveDefaultExpression = 0x20000000, - NoNullPointers = 0x40000000, - ReferenceCount = 0x80000000, - ArgumentModifiers = 0xff000000 - }; - - StackElement(StackElement *p) : entry(0), type(None), parent(p){ } - - TypeEntry *entry; - ElementType type; - StackElement *parent; - - union { - TemplateInstance *templateInstance; - TemplateEntry *templateEntry; - CustomFunction *customFunction; - } value; + public: + enum ElementType { + None = 0x0, + + // Type tags (0x1, ... , 0xff) + ObjectTypeEntry = 0x1, + ValueTypeEntry = 0x2, + InterfaceTypeEntry = 0x3, + NamespaceTypeEntry = 0x4, + ComplexTypeEntryMask = 0xf, + + // Non-complex type tags (0x10, 0x20, ... , 0xf0) + PrimitiveTypeEntry = 0x10, + EnumTypeEntry = 0x20, + TypeEntryMask = 0xff, + + // Simple tags (0x100, 0x200, ... , 0xf00) + ExtraIncludes = 0x100, + Include = 0x200, + ModifyFunction = 0x300, + ModifyField = 0x400, + Root = 0x500, + CustomMetaConstructor = 0x600, + CustomMetaDestructor = 0x700, + ArgumentMap = 0x800, + SuppressedWarning = 0x900, + Rejection = 0xa00, + LoadTypesystem = 0xb00, + RejectEnumValue = 0xc00, + Template = 0xd00, + TemplateInstanceEnum = 0xe00, + Replace = 0xf00, + SimpleMask = 0xf00, + + // Code snip tags (0x1000, 0x2000, ... , 0xf000) + InjectCode = 0x1000, + InjectCodeInFunction = 0x2000, + CodeSnipMask = 0xf000, + + // Function modifier tags (0x010000, 0x020000, ... , 0xf00000) + Access = 0x010000, + Removal = 0x020000, + Rename = 0x040000, + ModifyArgument = 0x080000, + FunctionModifiers = 0xff0000, + + // Argument modifier tags (0x01000000 ... 0xf0000000) + ConversionRule = 0x01000000, + ReplaceType = 0x02000000, + ReplaceDefaultExpression = 0x04000000, + RemoveArgument = 0x08000000, + DefineOwnership = 0x10000000, + RemoveDefaultExpression = 0x20000000, + NoNullPointers = 0x40000000, + ReferenceCount = 0x80000000, + ArgumentModifiers = 0xff000000 + }; + + StackElement(StackElement *p) : entry(0), type(None), parent(p){ } + + TypeEntry *entry; + ElementType type; + StackElement *parent; + + union { + TemplateInstance *templateInstance; + TemplateEntry *templateEntry; + CustomFunction *customFunction; + } value; }; class Handler : public QXmlDefaultHandler { public: - Handler(TypeDatabase *database, bool generate) - : m_database(database), m_generate(generate ? TypeEntry::GenerateAll : TypeEntry::GenerateForSubclass) - { - m_current_enum = 0; - current = 0; - - tagNames["rejection"] = StackElement::Rejection; - tagNames["primitive-type"] = StackElement::PrimitiveTypeEntry; - tagNames["object-type"] = StackElement::ObjectTypeEntry; - tagNames["value-type"] = StackElement::ValueTypeEntry; - tagNames["interface-type"] = StackElement::InterfaceTypeEntry; - tagNames["namespace-type"] = StackElement::NamespaceTypeEntry; - tagNames["enum-type"] = StackElement::EnumTypeEntry; - tagNames["extra-includes"] = StackElement::ExtraIncludes; - tagNames["include"] = StackElement::Include; - tagNames["inject-code"] = StackElement::InjectCode; - tagNames["modify-function"] = StackElement::ModifyFunction; - tagNames["modify-field"] = StackElement::ModifyField; - tagNames["access"] = StackElement::Access; - tagNames["remove"] = StackElement::Removal; - tagNames["rename"] = StackElement::Rename; - tagNames["typesystem"] = StackElement::Root; - tagNames["custom-constructor"] = StackElement::CustomMetaConstructor; - tagNames["custom-destructor"] = StackElement::CustomMetaDestructor; - tagNames["argument-map"] = StackElement::ArgumentMap; - tagNames["suppress-warning"] = StackElement::SuppressedWarning; - tagNames["load-typesystem"] = StackElement::LoadTypesystem; - tagNames["define-ownership"] = StackElement::DefineOwnership; - tagNames["replace-default-expression"] = StackElement::ReplaceDefaultExpression; - tagNames["reject-enum-value"] = StackElement::RejectEnumValue; - tagNames["replace-type"] = StackElement::ReplaceType; - tagNames["conversion-rule"] = StackElement::ConversionRule; - tagNames["modify-argument"] = StackElement::ModifyArgument; - tagNames["remove-argument"] = StackElement::RemoveArgument; - tagNames["remove-default-expression"] = StackElement::RemoveDefaultExpression; - tagNames["template"] = StackElement::Template; - tagNames["insert-template"] = StackElement::TemplateInstanceEnum; - tagNames["replace"] = StackElement::Replace; - tagNames["no-null-pointer"] = StackElement::NoNullPointers; - tagNames["reference-count"] = StackElement::ReferenceCount; - } - - bool startElement(const QString &namespaceURI, const QString &localName, - const QString &qName, const QXmlAttributes &atts); - bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName); - - QString errorString() const { return m_error; } - bool error(const QXmlParseException &exception); - bool fatalError(const QXmlParseException &exception); - bool warning(const QXmlParseException &exception); - - bool characters(const QString &ch); + Handler(TypeDatabase *database, bool generate) + : m_database(database), m_generate(generate ? TypeEntry::GenerateAll : TypeEntry::GenerateForSubclass) + { + m_current_enum = 0; + current = 0; + + tagNames["rejection"] = StackElement::Rejection; + tagNames["primitive-type"] = StackElement::PrimitiveTypeEntry; + tagNames["object-type"] = StackElement::ObjectTypeEntry; + tagNames["value-type"] = StackElement::ValueTypeEntry; + tagNames["interface-type"] = StackElement::InterfaceTypeEntry; + tagNames["namespace-type"] = StackElement::NamespaceTypeEntry; + tagNames["enum-type"] = StackElement::EnumTypeEntry; + tagNames["extra-includes"] = StackElement::ExtraIncludes; + tagNames["include"] = StackElement::Include; + tagNames["inject-code"] = StackElement::InjectCode; + tagNames["modify-function"] = StackElement::ModifyFunction; + tagNames["modify-field"] = StackElement::ModifyField; + tagNames["access"] = StackElement::Access; + tagNames["remove"] = StackElement::Removal; + tagNames["rename"] = StackElement::Rename; + tagNames["typesystem"] = StackElement::Root; + tagNames["custom-constructor"] = StackElement::CustomMetaConstructor; + tagNames["custom-destructor"] = StackElement::CustomMetaDestructor; + tagNames["argument-map"] = StackElement::ArgumentMap; + tagNames["suppress-warning"] = StackElement::SuppressedWarning; + tagNames["load-typesystem"] = StackElement::LoadTypesystem; + tagNames["define-ownership"] = StackElement::DefineOwnership; + tagNames["replace-default-expression"] = StackElement::ReplaceDefaultExpression; + tagNames["reject-enum-value"] = StackElement::RejectEnumValue; + tagNames["replace-type"] = StackElement::ReplaceType; + tagNames["conversion-rule"] = StackElement::ConversionRule; + tagNames["modify-argument"] = StackElement::ModifyArgument; + tagNames["remove-argument"] = StackElement::RemoveArgument; + tagNames["remove-default-expression"] = StackElement::RemoveDefaultExpression; + tagNames["template"] = StackElement::Template; + tagNames["insert-template"] = StackElement::TemplateInstanceEnum; + tagNames["replace"] = StackElement::Replace; + tagNames["no-null-pointer"] = StackElement::NoNullPointers; + tagNames["reference-count"] = StackElement::ReferenceCount; + } + + bool startElement(const QString &namespaceURI, const QString &localName, + const QString &qName, const QXmlAttributes &atts); + bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName); + + QString errorString() const { return m_error; } + bool error(const QXmlParseException &exception); + bool fatalError(const QXmlParseException &exception); + bool warning(const QXmlParseException &exception); + + bool characters(const QString &ch); private: - void fetchAttributeValues(const QString &name, const QXmlAttributes &atts, - QHash *acceptedAttributes); + void fetchAttributeValues(const QString &name, const QXmlAttributes &atts, + QHash *acceptedAttributes); - bool importFileElement(const QXmlAttributes &atts); - bool convertBoolean(const QString &, const QString &, bool); + bool importFileElement(const QXmlAttributes &atts); + bool convertBoolean(const QString &, const QString &, bool); - TypeDatabase *m_database; - StackElement* current; - QString m_defaultPackage; - QString m_defaultSuperclass; - QString m_error; - TypeEntry::CodeGeneration m_generate; + TypeDatabase *m_database; + StackElement* current; + QString m_defaultPackage; + QString m_defaultSuperclass; + QString m_error; + TypeEntry::CodeGeneration m_generate; - EnumTypeEntry *m_current_enum; + EnumTypeEntry *m_current_enum; - CodeSnipList m_code_snips; - FunctionModificationList m_function_mods; - FieldModificationList m_field_mods; + CodeSnipList m_code_snips; + FunctionModificationList m_function_mods; + FieldModificationList m_field_mods; - QHash tagNames; + QHash tagNames; }; bool Handler::error(const QXmlParseException &e) { - qWarning("Error: line=%d, column=%d, message=%s\n", - e.lineNumber(), e.columnNumber(), qPrintable(e.message())); - return false; + qWarning("Error: line=%d, column=%d, message=%s\n", + e.lineNumber(), e.columnNumber(), qPrintable(e.message())); + return false; } bool Handler::fatalError(const QXmlParseException &e) { - qWarning("Fatal error: line=%d, column=%d, message=%s\n", - e.lineNumber(), e.columnNumber(), qPrintable(e.message())); + qWarning("Fatal error: line=%d, column=%d, message=%s\n", + e.lineNumber(), e.columnNumber(), qPrintable(e.message())); - return false; + return false; } bool Handler::warning(const QXmlParseException &e) { - qWarning("Warning: line=%d, column=%d, message=%s\n", - e.lineNumber(), e.columnNumber(), qPrintable(e.message())); + qWarning("Warning: line=%d, column=%d, message=%s\n", + e.lineNumber(), e.columnNumber(), qPrintable(e.message())); - return false; + return false; } void Handler::fetchAttributeValues(const QString &name, const QXmlAttributes &atts, - QHash *acceptedAttributes) + QHash *acceptedAttributes) { - Q_ASSERT(acceptedAttributes != 0); - - for (int i=0; icontains(key)) { - ReportHandler::warning(QString("Unknown attribute for '%1': '%2'").arg(name).arg(key)); - } else { - (*acceptedAttributes)[key] = val; - } - } + Q_ASSERT(acceptedAttributes != 0); + + for (int i=0; icontains(key)) { + ReportHandler::warning(QString("Unknown attribute for '%1': '%2'").arg(name).arg(key)); + } else { + (*acceptedAttributes)[key] = val; + } + } } bool Handler::endElement(const QString &, const QString &localName, const QString &) { - QString tagName = localName.toLower(); - if(tagName == "import-file") - return true; - - if (!current) - return true; - - switch (current->type) { - case StackElement::ObjectTypeEntry: - case StackElement::ValueTypeEntry: - case StackElement::InterfaceTypeEntry: - case StackElement::NamespaceTypeEntry: - { - ComplexTypeEntry *centry = static_cast(current->entry); - centry->setFunctionModifications(m_function_mods); - centry->setFieldModifications(m_field_mods); - centry->setCodeSnips(m_code_snips); - - if (centry->designatedInterface()) { - centry->designatedInterface()->setCodeSnips(m_code_snips); - centry->designatedInterface()->setFunctionModifications(m_function_mods); - } - m_code_snips = CodeSnipList(); - m_function_mods = FunctionModificationList(); - m_field_mods = FieldModificationList(); - } - break; - case StackElement::CustomMetaConstructor: - { - current->entry->setCustomConstructor(*current->value.customFunction); - delete current->value.customFunction; - } - break; - case StackElement::CustomMetaDestructor: - { - current->entry->setCustomDestructor(*current->value.customFunction); - delete current->value.customFunction; - } - break; - case StackElement::EnumTypeEntry: - m_current_enum = 0; - break; - case StackElement::Template: - m_database->addTemplate(current->value.templateEntry); - break; - case StackElement::TemplateInstanceEnum: - if(current->parent->type == StackElement::InjectCode){ - m_code_snips.last().addTemplateInstance(current->value.templateInstance); - }else if(current->parent->type == StackElement::Template){ - current->parent->value.templateEntry->addTemplateInstance(current->value.templateInstance); - }else if(current->parent->type == StackElement::CustomMetaConstructor || current->parent->type == StackElement::CustomMetaConstructor){ - current->parent->value.customFunction->addTemplateInstance(current->value.templateInstance); - }else if(current->parent->type == StackElement::ConversionRule){ - m_function_mods.last().argument_mods.last().conversion_rules.last().addTemplateInstance(current->value.templateInstance); - }else if(current->parent->type == StackElement::InjectCodeInFunction){ - m_function_mods.last().snips.last().addTemplateInstance(current->value.templateInstance); - } - break; - default: - break; - } - - StackElement *child = current; - current=current->parent; - delete(child); - - return true; + QString tagName = localName.toLower(); + if(tagName == "import-file") + return true; + + if (!current) + return true; + + switch (current->type) { + case StackElement::ObjectTypeEntry: + case StackElement::ValueTypeEntry: + case StackElement::InterfaceTypeEntry: + case StackElement::NamespaceTypeEntry: + { + ComplexTypeEntry *centry = static_cast(current->entry); + centry->setFunctionModifications(m_function_mods); + centry->setFieldModifications(m_field_mods); + centry->setCodeSnips(m_code_snips); + + if (centry->designatedInterface()) { + centry->designatedInterface()->setCodeSnips(m_code_snips); + centry->designatedInterface()->setFunctionModifications(m_function_mods); + } + m_code_snips = CodeSnipList(); + m_function_mods = FunctionModificationList(); + m_field_mods = FieldModificationList(); + } + break; + case StackElement::CustomMetaConstructor: + { + current->entry->setCustomConstructor(*current->value.customFunction); + delete current->value.customFunction; + } + break; + case StackElement::CustomMetaDestructor: + { + current->entry->setCustomDestructor(*current->value.customFunction); + delete current->value.customFunction; + } + break; + case StackElement::EnumTypeEntry: + m_current_enum = 0; + break; + case StackElement::Template: + m_database->addTemplate(current->value.templateEntry); + break; + case StackElement::TemplateInstanceEnum: + if(current->parent->type == StackElement::InjectCode){ + m_code_snips.last().addTemplateInstance(current->value.templateInstance); + }else if(current->parent->type == StackElement::Template){ + current->parent->value.templateEntry->addTemplateInstance(current->value.templateInstance); + }else if(current->parent->type == StackElement::CustomMetaConstructor || current->parent->type == StackElement::CustomMetaConstructor){ + current->parent->value.customFunction->addTemplateInstance(current->value.templateInstance); + }else if(current->parent->type == StackElement::ConversionRule){ + m_function_mods.last().argument_mods.last().conversion_rules.last().addTemplateInstance(current->value.templateInstance); + }else if(current->parent->type == StackElement::InjectCodeInFunction){ + m_function_mods.last().snips.last().addTemplateInstance(current->value.templateInstance); + } + break; + default: + break; + } + + StackElement *child = current; + current=current->parent; + delete(child); + + return true; } bool Handler::characters(const QString &ch) { - if(current->type == StackElement::Template){ - current->value.templateEntry->addCode(ch); - return true; - } - - if (current->type == StackElement::CustomMetaConstructor || current->type == StackElement::CustomMetaDestructor){ - current->value.customFunction->addCode(ch); - return true; - } - - if (current->type == StackElement::ConversionRule){ - m_function_mods.last().argument_mods.last().conversion_rules.last().addCode(ch); - return true; - } - - if (current->parent){ - if ((current->type & StackElement::CodeSnipMask) != 0) { - switch (current->parent->type) { - case StackElement::Root: - ((TypeSystemTypeEntry *) current->parent->entry)->snips.last().addCode(ch); - break; - case StackElement::ModifyFunction: - m_function_mods.last().snips.last().addCode(ch); - break; - case StackElement::NamespaceTypeEntry: - case StackElement::ObjectTypeEntry: - case StackElement::ValueTypeEntry: - case StackElement::InterfaceTypeEntry: - m_code_snips.last().addCode(ch); - break; - default: - Q_ASSERT(false); - }; - return true; - } - } - - return true; + if(current->type == StackElement::Template){ + current->value.templateEntry->addCode(ch); + return true; + } + + if (current->type == StackElement::CustomMetaConstructor || current->type == StackElement::CustomMetaDestructor){ + current->value.customFunction->addCode(ch); + return true; + } + + if (current->type == StackElement::ConversionRule){ + m_function_mods.last().argument_mods.last().conversion_rules.last().addCode(ch); + return true; + } + + if (current->parent){ + if ((current->type & StackElement::CodeSnipMask) != 0) { + switch (current->parent->type) { + case StackElement::Root: + ((TypeSystemTypeEntry *) current->parent->entry)->snips.last().addCode(ch); + break; + case StackElement::ModifyFunction: + m_function_mods.last().snips.last().addCode(ch); + break; + case StackElement::NamespaceTypeEntry: + case StackElement::ObjectTypeEntry: + case StackElement::ValueTypeEntry: + case StackElement::InterfaceTypeEntry: + m_code_snips.last().addCode(ch); + break; + default: + Q_ASSERT(false); + }; + return true; + } + } + + return true; } bool Handler::importFileElement(const QXmlAttributes &atts) { - QString fileName = atts.value("name"); - if(fileName.isEmpty()){ - m_error = "Required attribute 'name' missing for include-file tag."; - return false; - } - - QFile file(fileName); - if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { - file.setFileName(":/trolltech/generator/" + fileName); - if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { - m_error = QString("Could not open file: '%1'").arg(fileName); - return false; - } - } - - QString quoteFrom = atts.value("quote-after-line"); - bool foundFromOk = quoteFrom.isEmpty(); - bool from = quoteFrom.isEmpty(); - - QString quoteTo = atts.value("quote-before-line"); - bool foundToOk = quoteTo.isEmpty(); - bool to = true; - - QTextStream in(&file); - while (!in.atEnd()) { - QString line = in.readLine(); - if(from && to && line.contains(quoteTo)) { - to = false; - foundToOk = true; - break; - } - if(from && to) - characters(line + "\n"); - if(!from && line.contains(quoteFrom)) { - from = true; - foundFromOk = true; - } - } - if(!foundFromOk || !foundToOk){ - QString fromError = QString("Could not find quote-after-line='%1' in file '%2'.").arg(quoteFrom).arg(fileName); - QString toError = QString("Could not find quote-before-line='%1' in file '%2'.").arg(quoteTo).arg(fileName); - - if(!foundToOk) - m_error = toError; - if(!foundFromOk) - m_error = fromError; - if(!foundFromOk && !foundToOk) - m_error = fromError + " " + toError; - return false; - } - - return true; + QString fileName = atts.value("name"); + if(fileName.isEmpty()){ + m_error = "Required attribute 'name' missing for include-file tag."; + return false; + } + + QFile file(fileName); + if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { + file.setFileName(":/trolltech/generator/" + fileName); + if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { + m_error = QString("Could not open file: '%1'").arg(fileName); + return false; + } + } + + QString quoteFrom = atts.value("quote-after-line"); + bool foundFromOk = quoteFrom.isEmpty(); + bool from = quoteFrom.isEmpty(); + + QString quoteTo = atts.value("quote-before-line"); + bool foundToOk = quoteTo.isEmpty(); + bool to = true; + + QTextStream in(&file); + while (!in.atEnd()) { + QString line = in.readLine(); + if(from && to && line.contains(quoteTo)) { + to = false; + foundToOk = true; + break; + } + if(from && to) + characters(line + "\n"); + if(!from && line.contains(quoteFrom)) { + from = true; + foundFromOk = true; + } + } + if(!foundFromOk || !foundToOk){ + QString fromError = QString("Could not find quote-after-line='%1' in file '%2'.").arg(quoteFrom).arg(fileName); + QString toError = QString("Could not find quote-before-line='%1' in file '%2'.").arg(quoteTo).arg(fileName); + + if(!foundToOk) + m_error = toError; + if(!foundFromOk) + m_error = fromError; + if(!foundFromOk && !foundToOk) + m_error = fromError + " " + toError; + return false; + } + + return true; } bool Handler::convertBoolean(const QString &_value, const QString &attributeName, bool defaultValue) { - QString value = _value.toLower(); - if (value == "true" || value == "yes") { - return true; - } else if (value == "false" || value == "no") { - return false; - } else { - QString warn = QString("Boolean value '%1' not supported in attribute '%2'. Use 'yes' or 'no'. Defaulting to '%3'.") - .arg(value).arg(attributeName).arg(defaultValue ? "yes" : "no"); - - ReportHandler::warning(warn); - return defaultValue; - } + QString value = _value.toLower(); + if (value == "true" || value == "yes") { + return true; + } else if (value == "false" || value == "no") { + return false; + } else { + QString warn = QString("Boolean value '%1' not supported in attribute '%2'. Use 'yes' or 'no'. Defaulting to '%3'.") + .arg(value).arg(attributeName).arg(defaultValue ? "yes" : "no"); + + ReportHandler::warning(warn); + return defaultValue; + } } bool Handler::startElement(const QString &, const QString &n, - const QString &, const QXmlAttributes &atts) + const QString &, const QXmlAttributes &atts) { - QString tagName = n.toLower(); - if(tagName == "import-file"){ - return importFileElement(atts); - } - - std::auto_ptr element(new StackElement(current)); - - if (!tagNames.contains(tagName)) { - m_error = QString("Unknown tag name: '%1'").arg(tagName); - return false; - } - - element->type = tagNames[tagName]; - if (element->type & StackElement::TypeEntryMask) { - if (current->type != StackElement::Root) { - m_error = "Nested types not supported"; - return false; - } - - QHash attributes; - attributes["name"] = QString(); - - switch (element->type) { - case StackElement::PrimitiveTypeEntry: - attributes["java-name"] = QString(); - attributes["jni-name"] = QString(); - attributes["preferred-conversion"] = "yes"; - attributes["preferred-java-type"] = "yes"; - break; - case StackElement::EnumTypeEntry: - attributes["flags"] = "no"; - attributes["upper-bound"] = QString(); - attributes["lower-bound"] = QString(); - attributes["force-integer"] = "no"; - attributes["extensible"] = "no"; - - break; - - case StackElement::ObjectTypeEntry: - case StackElement::ValueTypeEntry: - attributes["force-abstract"] = QString("no"); - attributes["deprecated"] = QString("no"); - Q_FALLTHROUGH(); - case StackElement::InterfaceTypeEntry: - attributes["default-superclass"] = m_defaultSuperclass; - attributes["polymorphic-id-expression"] = QString(); - attributes["delete-in-main-thread"] = QString("no"); - Q_FALLTHROUGH(); - case StackElement::NamespaceTypeEntry: - attributes["java-name"] = QString(); - attributes["package"] = m_defaultPackage; - attributes["expense-cost"] = "1"; - attributes["expense-limit"] = "none"; - attributes["polymorphic-base"] = QString("no"); - attributes["create-shell"] = QString("yes"); - attributes["create-promoter"] = QString("yes"); - attributes["generate"] = QString("yes"); - attributes["target-type"] = QString(); - attributes["generic-class"] = QString("no"); - break; - default: - ; // nada - }; - - fetchAttributeValues(tagName, atts, &attributes); - - QString name = attributes["name"]; - - // We need to be able to have duplicate primitive type entries, or it's not possible to - // cover all primitive java types (which we need to do in order to support fake - // meta objects) - if (element->type != StackElement::PrimitiveTypeEntry) { - TypeEntry *tmp = m_database->findType(name); - if (tmp != 0) { - ReportHandler::warning(QString("Duplicate type entry: '%1'").arg(name)); - } - } - - if (name.isEmpty()) { - m_error = "no 'name' attribute specified"; - return false; - } - switch (element->type) { - case StackElement::PrimitiveTypeEntry: - { - QString java_name = attributes["java-name"]; - QString jni_name = attributes["jni-name"]; - QString preferred_conversion = attributes["preferred-conversion"].toLower(); - QString preferred_java_type = attributes["preferred-java-type"].toLower(); - - if (java_name.isEmpty()) - java_name = name; - if (jni_name.isEmpty()) - jni_name = name; - - PrimitiveTypeEntry *type = new PrimitiveTypeEntry(name); - type->setCodeGeneration(m_generate); - type->setTargetLangName(java_name); - type->setJniName(jni_name); - - type->setPreferredConversion(convertBoolean(preferred_conversion, "preferred-conversion", true)); - type->setPreferredTargetLangType(convertBoolean(preferred_java_type, "preferred-java-type", true)); - - element->entry = type; - } - break; - case StackElement::EnumTypeEntry: { - QStringList names = name.split(QLatin1String("::")); - - if (names.size() == 1) { - m_current_enum = new EnumTypeEntry(QString(), name); - } - else - m_current_enum = - new EnumTypeEntry(QStringList(names.mid(0, names.size() - 1)).join("::"), - names.last()); - element->entry = m_current_enum; - m_current_enum->setCodeGeneration(m_generate); - m_current_enum->setTargetLangPackage(m_defaultPackage); - m_current_enum->setUpperBound(attributes["upper-bound"]); - m_current_enum->setLowerBound(attributes["lower-bound"]); - m_current_enum->setForceInteger(convertBoolean(attributes["force-integer"], "force-integer", false)); - m_current_enum->setExtensible(convertBoolean(attributes["extensible"], "extensible", false)); - - // put in the flags parallel... - if (!attributes["flags"].isEmpty() && attributes["flags"].toLower() != "no") { - FlagsTypeEntry *ftype = new FlagsTypeEntry("QFlags<" + name + ">"); - ftype->setOriginator(m_current_enum); - ftype->setOriginalName(attributes["flags"]); - ftype->setCodeGeneration(m_generate); - QString origname = ftype->originalName(); - - QStringList lst = origname.split("::"); - if (QStringList(lst.mid(0, lst.size() - 1)).join("::") != m_current_enum->javaQualifier()) { - ReportHandler::warning(QString("enum %1 and flags %2 differ in qualifiers") - .arg(m_current_enum->javaQualifier()) - .arg(lst.at(0))); - } - - ftype->setFlagsName(lst.last()); - m_current_enum->setFlags(ftype); - - m_database->addFlagsType(ftype); - m_database->addType(ftype); - } - } - break; - - case StackElement::InterfaceTypeEntry: - { - ObjectTypeEntry *otype = new ObjectTypeEntry(name); - QString javaName = attributes["java-name"]; - if (javaName.isEmpty()) - javaName = name; - InterfaceTypeEntry *itype = - new InterfaceTypeEntry(InterfaceTypeEntry::interfaceName(javaName)); - - if (!convertBoolean(attributes["generate"], "generate", true)) - itype->setCodeGeneration(TypeEntry::GenerateForSubclass); - else - itype->setCodeGeneration(m_generate); - otype->setDesignatedInterface(itype); - itype->setOrigin(otype); - element->entry = otype; - } - // fall through - case StackElement::NamespaceTypeEntry: - if (element->entry == 0) { - element->entry = new NamespaceTypeEntry(name); - } - // fall through - case StackElement::ObjectTypeEntry: - if (element->entry == 0) { - element->entry = new ObjectTypeEntry(name); - } - // fall through - case StackElement::ValueTypeEntry: - { - if (element->entry == 0) { - element->entry = new ValueTypeEntry(name); - } - - ComplexTypeEntry *ctype = static_cast(element->entry); - ctype->setTargetLangPackage(attributes["package"]); - ctype->setDefaultSuperclass(attributes["default-superclass"]); - ctype->setGenericClass(convertBoolean(attributes["generic-class"], "generic-class", false)); - - if (!convertBoolean(attributes["generate"], "generate", true)) - element->entry->setCodeGeneration(TypeEntry::GenerateForSubclass); - else - element->entry->setCodeGeneration(m_generate); - - QString javaName = attributes["java-name"]; - if (!javaName.isEmpty()) - ctype->setTargetLangName(javaName); - - // The expense policy - QString limit = attributes["expense-limit"]; - if (!limit.isEmpty() && limit != "none") { - ExpensePolicy ep; - ep.limit = limit.toInt(); - ep.cost = attributes["expense-cost"]; - ctype->setExpensePolicy(ep); - } - ctype->setCreateShell(convertBoolean(attributes["create-shell"], "create-shell", false)); - ctype->setCreatePromoter(convertBoolean(attributes["create-promoter"], "create-promoter", false)); - - ctype->setIsPolymorphicBase(convertBoolean(attributes["polymorphic-base"], "polymorphic-base", false)); - ctype->setPolymorphicIdValue(attributes["polymorphic-id-expression"]); - - if (element->type == StackElement::ObjectTypeEntry || element->type == StackElement::ValueTypeEntry) { - if (convertBoolean(attributes["force-abstract"], "force-abstract", false)) - ctype->setTypeFlags(ctype->typeFlags() | ComplexTypeEntry::ForceAbstract); - if (convertBoolean(attributes["deprecated"], "deprecated", false)) - ctype->setTypeFlags(ctype->typeFlags() | ComplexTypeEntry::Deprecated); - } - - if (element->type == StackElement::InterfaceTypeEntry || - element->type == StackElement::ValueTypeEntry || - element->type == StackElement::ObjectTypeEntry) { - if (convertBoolean(attributes["delete-in-main-thread"], "delete-in-main-thread", false)) - ctype->setTypeFlags(ctype->typeFlags() | ComplexTypeEntry::DeleteInMainThread); - } - - QString targetType = attributes["target-type"]; - if (!targetType.isEmpty() && element->entry->isComplex()) - static_cast(element->entry)->setTargetType(targetType); - - // ctype->setInclude(Include(Include::IncludePath, ctype->name())); - ctype = ctype->designatedInterface(); - if (ctype != 0) - ctype->setTargetLangPackage(attributes["package"]); - - } - break; - default: - Q_ASSERT(false); - }; - - if (element->entry) - m_database->addType(element->entry); - else - ReportHandler::warning(QString("Type: %1 was rejected by typesystem").arg(name)); - - } else if (element->type != StackElement::None) { - bool topLevel = element->type == StackElement::Root - || element->type == StackElement::SuppressedWarning - || element->type == StackElement::Rejection - || element->type == StackElement::LoadTypesystem - || element->type == StackElement::InjectCode - || element->type == StackElement::Template; - - if (!topLevel && current->type == StackElement::Root) { - m_error = QString("Tag requires parent: '%1'").arg(tagName); - return false; - } - - StackElement topElement = current==0 ? StackElement(0) : *current; - element->entry = topElement.entry; - - QHash attributes; - switch (element->type) { - case StackElement::Root: - attributes["package"] = QString(); - attributes["default-superclass"] = QString(); - break; - case StackElement::LoadTypesystem: - attributes["name"] = QString(); - attributes["generate"] = "yes"; - break; - case StackElement::NoNullPointers: - attributes["default-value"] = QString(); - break; - case StackElement::SuppressedWarning: - attributes["text"] = QString(); - break; - case StackElement::ReplaceDefaultExpression: - attributes["with"] = QString(); - break; - case StackElement::DefineOwnership: - attributes["class"] = "java"; - attributes["owner"] = ""; - break; - case StackElement::ModifyFunction: - attributes["signature"] = QString(); - attributes["access"] = QString(); - attributes["remove"] = QString(); - attributes["rename"] = QString(); - attributes["deprecated"] = QString("no"); - attributes["associated-to"] = QString(); - attributes["virtual-slot"] = QString("no"); - break; - case StackElement::ModifyArgument: - attributes["index"] = QString(); - attributes["replace-value"] = QString(); - attributes["invalidate-after-use"] = QString("no"); - break; - case StackElement::ModifyField: - attributes["name"] = QString(); - attributes["write"] = "true"; - attributes["read"] = "true"; - break; - case StackElement::Access: - attributes["modifier"] = QString(); - break; - case StackElement::Include: - attributes["file-name"] = QString(); - attributes["location"] = QString(); - break; - case StackElement::CustomMetaConstructor: - attributes["name"] = topElement.entry->name().toLower() + "_create"; - attributes["param-name"] = "copy"; - break; - case StackElement::CustomMetaDestructor: - attributes["name"] = topElement.entry->name().toLower() + "_delete"; - attributes["param-name"] = "copy"; - break; - case StackElement::ReplaceType: - attributes["modified-type"] = QString(); - break; - case StackElement::InjectCode: - attributes["class"] = "java"; - attributes["position"] = "beginning"; - break; - case StackElement::ConversionRule: - attributes["class"] = ""; - break; - case StackElement::RejectEnumValue: - attributes["name"] = ""; - break; - case StackElement::ArgumentMap: - attributes["index"] = "1"; - attributes["meta-name"] = QString(); - break; - case StackElement::Rename: - attributes["to"] = QString(); - break; - case StackElement::Rejection: - attributes["class"] = "*"; - attributes["function-name"] = "*"; - attributes["field-name"] = "*"; - attributes["enum-name"] = "*"; - break; - case StackElement::Removal: - attributes["class"] = "all"; - break; - case StackElement::Template: - attributes["name"] = QString(); - break; - case StackElement::TemplateInstanceEnum: - attributes["name"] = QString(); - break; - case StackElement::Replace: - attributes["from"] = QString(); - attributes["to"] = QString(); - break; - case StackElement::ReferenceCount: - attributes["action"] = QString(); - attributes["variable-name"] = QString(); - attributes["thread-safe"] = QString("no"); - attributes["declare-variable"] = QString(); - attributes["access"] = QString("private"); - attributes["conditional"] = QString(""); - break; - default: - ; // nada - }; - - if (attributes.count() > 0) - fetchAttributeValues(tagName, atts, &attributes); - - switch (element->type) { - case StackElement::Root: - m_defaultPackage = attributes["package"]; - m_defaultSuperclass = attributes["default-superclass"]; - element->type = StackElement::Root; - element->entry = new TypeSystemTypeEntry(m_defaultPackage); - TypeDatabase::instance()->addType(element->entry); - break; - case StackElement::LoadTypesystem: - { - QString name = attributes["name"]; - if (name.isEmpty()) { - m_error = "No typesystem name specified"; - return false; - } - - if (!m_database->parseFile(name, convertBoolean(attributes["generate"], "generate", true))) { - m_error = QString("Failed to parse: '%1'").arg(name); - return false; - } - } - break; - case StackElement::RejectEnumValue: { - if (!m_current_enum) { - m_error = " node must be used inside a node"; - return false; - } - QString name = attributes["name"]; - - if (!name.isEmpty()) { - m_current_enum->addEnumValueRejection(name); - } - - } break; - case StackElement::ReplaceType: - { - if (topElement.type != StackElement::ModifyArgument) { - m_error = "Type replacement can only be specified for argument modifications"; - return false; - } - - if (attributes["modified-type"].isEmpty()) { - m_error = "Type replacement requires 'modified-type' attribute"; - return false; - } - - m_function_mods.last().argument_mods.last().modified_type = attributes["modified-type"]; - } - break; - case StackElement::ConversionRule: - { - if (topElement.type != StackElement::ModifyArgument) { - m_error = "Conversion rules can only be specified for argument modification"; - return false; - } - - static QHash languageNames; - if (languageNames.isEmpty()) { - languageNames["native"] = TypeSystem::NativeCode; - languageNames["shell"] = TypeSystem::ShellCode; - } - - CodeSnip snip; - QString languageAttribute = attributes["class"].toLower(); - TypeSystem::Language lang = languageNames.value(languageAttribute, TypeSystem::NoLanguage); - if (lang == TypeSystem::NoLanguage) { - m_error = QString("unsupported class attribute: '%1'").arg(languageAttribute); - return false; - } - - snip.language = lang; - m_function_mods.last().argument_mods.last().conversion_rules.append(snip); - } - - break; - case StackElement::ModifyArgument: - { - if (topElement.type != StackElement::ModifyFunction) { - m_error = QString::fromLatin1("argument modification requires function" - " modification as parent, was %1") - .arg(topElement.type, 0, 16); - return false; - } - - QString index = attributes["index"]; - if (index == "return") - index = "0"; - else if (index == "this") - index = "-1"; - - bool ok = false; - int idx = index.toInt(&ok); - if (!ok) { - m_error = QString("Cannot convert '%1' to integer").arg(index); - return false; - } - - QString replace_value = attributes["replace-value"]; - - if (!replace_value.isEmpty() && idx != 0) { - m_error = QString("replace-value is only supported for return values (index=0)."); - return false; - } - - ArgumentModification argumentModification = ArgumentModification(idx); - argumentModification.replace_value = replace_value; - argumentModification.reset_after_use = convertBoolean(attributes["invalidate-after-use"], "invalidate-after-use", false); - m_function_mods.last().argument_mods.append(argumentModification); - } - break; - case StackElement::NoNullPointers: - { - if (topElement.type != StackElement::ModifyArgument) { - m_error = "no-null-pointer requires argument modification as parent"; - return false; - } - - m_function_mods.last().argument_mods.last().no_null_pointers = true; - if (m_function_mods.last().argument_mods.last().index == 0) { - m_function_mods.last().argument_mods.last().null_pointer_default_value = attributes["default-value"]; - } else if (!attributes["default-value"].isEmpty()) { - ReportHandler::warning("default values for null pointer guards are only effective for return values"); - } - } - break; - case StackElement::DefineOwnership: - { - if (topElement.type != StackElement::ModifyArgument) { - m_error = "define-ownership requires argument modification as parent"; - return false; - } - - static QHash languageNames; - if (languageNames.isEmpty()) { - languageNames["java"] = TypeSystem::TargetLangCode; - languageNames["shell"] = TypeSystem::ShellCode; - } - - QString classAttribute = attributes["class"].toLower(); - TypeSystem::Language lang = languageNames.value(classAttribute, TypeSystem::NoLanguage); - if (lang == TypeSystem::NoLanguage) { - m_error = QString("unsupported class attribute: '%1'").arg(classAttribute); - return false; - } - - static QHash ownershipNames; - if (ownershipNames.isEmpty()) { - ownershipNames["python"] = TypeSystem::TargetLangOwnership; - ownershipNames["c++"] = TypeSystem::CppOwnership; - ownershipNames["default"] = TypeSystem::DefaultOwnership; - ownershipNames["new-owner-of-this"] = TypeSystem::TargetLangThisOwnership; - } - - QString ownershipAttribute = attributes["owner"].toLower(); - TypeSystem::Ownership owner = ownershipNames.value(ownershipAttribute, TypeSystem::InvalidOwnership); - if (owner == TypeSystem::InvalidOwnership) { - m_error = QString("unsupported owner attribute: '%1'").arg(ownershipAttribute); - return false; - } - - m_function_mods.last().argument_mods.last().ownerships[lang] = owner; - } - break; - case StackElement::SuppressedWarning: - if (attributes["text"].isEmpty()) - ReportHandler::warning("Suppressed warning with no text specified"); - else - m_database->addSuppressedWarning(attributes["text"]); - break; - case StackElement::ArgumentMap: - { - if (!(topElement.type & StackElement::CodeSnipMask)) { - m_error = "Argument maps requires code injection as parent"; - return false; - } - - bool ok; - int pos = attributes["index"].toInt(&ok); - if (!ok) { - m_error = QString("Can't convert position '%1' to integer") - .arg(attributes["position"]); - return false; - } - - if (pos <= 0) { - m_error = QString("Argument position %1 must be a positive number").arg(pos); - return false; - } - - QString meta_name = attributes["meta-name"]; - if (meta_name.isEmpty()) { - ReportHandler::warning("Empty meta name in argument map"); - } - - if (topElement.type == StackElement::InjectCodeInFunction) { - m_function_mods.last().snips.last().argumentMap[pos] = meta_name; - } else { - ReportHandler::warning("Argument maps are only useful for injection of code " - "into functions."); - } - } - break; - case StackElement::Removal: - { - if (topElement.type != StackElement::ModifyFunction) { - m_error = "Function modification parent required"; - return false; - } - - static QHash languageNames; - if (languageNames.isEmpty()) { - languageNames["java"] = TypeSystem::TargetLangAndNativeCode; - languageNames["all"] = TypeSystem::All; - } - - QString languageAttribute = attributes["class"].toLower(); - TypeSystem::Language lang = languageNames.value(languageAttribute, TypeSystem::NoLanguage); - if (lang == TypeSystem::NoLanguage) { - m_error = QString("unsupported class attribute: '%1'").arg(languageAttribute); - return false; - } - - m_function_mods.last().removal = lang; - } - break; - case StackElement::Rename: - case StackElement::Access: - { - if (topElement.type != StackElement::ModifyField - && topElement.type != StackElement::ModifyFunction) { - m_error = "Function or field modification parent required"; - return false; - } - - Modification *mod = 0; - if (topElement.type == StackElement::ModifyFunction) - mod = &m_function_mods.last(); - else - mod = &m_field_mods.last(); - - QString modifier; - if (element->type == StackElement::Rename) { - modifier = "rename"; - QString renamed_to = attributes["to"]; - if (renamed_to.isEmpty()) { - m_error = "Rename modifier requires 'to' attribute"; - return false; - } - - if (topElement.type == StackElement::ModifyFunction) - mod->setRenamedTo(renamed_to); - else - mod->setRenamedTo(renamed_to); - } else { - modifier = attributes["modifier"].toLower(); - } - - if (modifier.isEmpty()) { - m_error = "No access modification specified"; - return false; - } - - static QHash modifierNames; - if (modifierNames.isEmpty()) { - modifierNames["private"] = Modification::Private; - modifierNames["public"] = Modification::Public; - modifierNames["protected"] = Modification::Protected; - modifierNames["friendly"] = Modification::Friendly; - modifierNames["rename"] = Modification::Rename; - modifierNames["final"] = Modification::Final; - modifierNames["non-final"] = Modification::NonFinal; - } - - if (!modifierNames.contains(modifier)) { - m_error = QString("Unknown access modifier: '%1'").arg(modifier); - return false; - } - - mod->modifiers |= modifierNames[modifier]; - } - break; - case StackElement::RemoveArgument: - if (topElement.type != StackElement::ModifyArgument) { - m_error = "Removing argument requires argument modification as parent"; - return false; - } - - m_function_mods.last().argument_mods.last().removed = true; - - break; - - case StackElement::ModifyField: - { - QString name = attributes["name"]; - if (name.isEmpty()) - break; - FieldModification fm; - fm.name = name; - fm.modifiers = 0; - - QString read = attributes["read"]; - QString write = attributes["write"]; - - if (read == "true") fm.modifiers |= FieldModification::Readable; - if (write == "true") fm.modifiers |= FieldModification::Writable; - - m_field_mods << fm; - } - break; - case StackElement::ModifyFunction: - { - if (!(topElement.type & StackElement::ComplexTypeEntryMask)) { - m_error = QString::fromLatin1("Modify function requires complex type as parent" - ", was=%1").arg(topElement.type, 0, 16); - return false; - } - QString signature = attributes["signature"]; - - signature = TypeSystem::normalizedSignature(signature.toLocal8Bit().constData()); - if (signature.isEmpty()) { - m_error = "No signature for modified function"; - return false; - } - - FunctionModification mod; - mod.signature = signature; - - QString access = attributes["access"].toLower(); - if (!access.isEmpty()) { - if (access == QLatin1String("private")) - mod.modifiers |= Modification::Private; - else if (access == QLatin1String("protected")) - mod.modifiers |= Modification::Protected; - else if (access == QLatin1String("public")) - mod.modifiers |= Modification::Public; - else if (access == QLatin1String("final")) - mod.modifiers |= Modification::Final; - else if (access == QLatin1String("non-final")) - mod.modifiers |= Modification::NonFinal; - else { - m_error = QString::fromLatin1("Bad access type '%1'").arg(access); - return false; - } - } - - if (convertBoolean(attributes["deprecated"], "deprecated", false)) { - mod.modifiers |= Modification::Deprecated; - } - - QString remove = attributes["remove"].toLower(); - if (!remove.isEmpty()) { - if (remove == QLatin1String("all")) - mod.removal = TypeSystem::All; - else if (remove == QLatin1String("java")) - mod.removal = TypeSystem::TargetLangAndNativeCode; - else { - m_error = QString::fromLatin1("Bad removal type '%1'").arg(remove); - return false; - } - } - - QString rename = attributes["rename"]; - if (!rename.isEmpty()) { - mod.renamedToName = rename; - mod.modifiers |= Modification::Rename; - } - - QString association = attributes["associated-to"]; - if (!association.isEmpty()) - mod.association = association; - - mod.modifiers |= (convertBoolean(attributes["virtual-slot"], "virtual-slot", false) ? Modification::VirtualSlot : 0); - - m_function_mods << mod; - } - break; - case StackElement::ReplaceDefaultExpression: - if (!(topElement.type & StackElement::ModifyArgument)) { - m_error = "Replace default expression only allowed as child of argument modification"; - return false; - } - - if (attributes["with"].isEmpty()) { - m_error = "Default expression replaced with empty string. Use remove-default-expression instead."; - return false; - } - - m_function_mods.last().argument_mods.last().replaced_default_expression = attributes["with"]; - break; - case StackElement::RemoveDefaultExpression: - m_function_mods.last().argument_mods.last().removed_default_expression = true; - break; - case StackElement::CustomMetaConstructor: - case StackElement::CustomMetaDestructor: - { - CustomFunction *func = new CustomFunction(attributes["name"]); - func->param_name = attributes["param-name"]; - element->value.customFunction = func; - } - break; - case StackElement::ReferenceCount: - { - if (topElement.type != StackElement::ModifyArgument) { - m_error = "reference-count must be child of modify-argument"; - return false; - } - - ReferenceCount rc; - rc.threadSafe = convertBoolean(attributes["thread-safe"], "thread-safe", false); - - static QHash actions; - if (actions.isEmpty()) { - actions["add"] = ReferenceCount::Add; - actions["add-all"] = ReferenceCount::AddAll; - actions["remove"] = ReferenceCount::Remove; - actions["set"] = ReferenceCount::Set; - actions["ignore"] = ReferenceCount::Ignore; - } - rc.action = actions.value(attributes["action"].toLower(), ReferenceCount::Invalid); - - rc.variableName = attributes["variable-name"]; - if (rc.action != ReferenceCount::Ignore && rc.variableName.isEmpty()) { - m_error = "variable-name attribute must be specified"; - return false; - } - - rc.declareVariable = attributes["declare-variable"]; - rc.conditional = attributes["conditional"]; - - static QHash accessRights; - if (accessRights.isEmpty()) { - accessRights["private"] = ReferenceCount::Private; - accessRights["public"] = ReferenceCount::Public; - accessRights["protected"] = ReferenceCount::Protected; - accessRights["friendly"] = ReferenceCount::Friendly; - } - rc.access = accessRights.value(attributes["access"].toLower(), 0); - if (rc.access == 0) { - m_error = "unrecognized access value: " + attributes["access"]; - return false; - } - - if (rc.action == ReferenceCount::Invalid) { - m_error = "unrecognized value for action attribute. supported actions:"; - foreach (QString action, actions.keys()) - m_error += " " + action; - } - - m_function_mods.last().argument_mods.last().referenceCounts.append(rc); - } - break; - case StackElement::InjectCode: - { - if (((topElement.type & StackElement::ComplexTypeEntryMask) == 0) - && (topElement.type != StackElement::ModifyFunction) - && (topElement.type != StackElement::Root)) { - m_error = "wrong parent type for code injection"; - return false; - } - - static QHash languageNames; - if (languageNames.isEmpty()) { - languageNames["java"] = TypeSystem::TargetLangCode; - languageNames["native"] = TypeSystem::NativeCode; - languageNames["shell"] = TypeSystem::ShellCode; - languageNames["shell-declaration"] = TypeSystem::ShellDeclaration; - languageNames["library-initializer"] = TypeSystem::PackageInitializer; - languageNames["destructor-function"] = TypeSystem::DestructorFunction; - languageNames["constructors"] = TypeSystem::Constructors; - languageNames["interface"] = TypeSystem::Interface; - languageNames["pywrap-cpp"] = TypeSystem::PyWrapperCode; - languageNames["pywrap-h"] = TypeSystem::PyWrapperDeclaration; - languageNames["pywrap-operators"] = TypeSystem::PyWrapperOperators; - languageNames["pyshell-h"] = TypeSystem::PyShellDeclaration; - languageNames["pyinheritshell-h"] = TypeSystem::PyInheritShellDeclaration; - languageNames["pyinheritshell-constructor-code"] = TypeSystem::PyInheritShellConstructorCode; - languageNames["pyinit-cpp"] = TypeSystem::PyInitSource; - languageNames["pysetwrapperfunc"] = TypeSystem::PySetWrapperFunc; - } - - QString className = attributes["class"].toLower(); - if (!languageNames.contains(className)) { - m_error = QString("Invalid class specifier: '%1'").arg(className); - return false; - } - - - static QHash positionNames; - if (positionNames.isEmpty()) { - positionNames["beginning"] = CodeSnip::Beginning; - positionNames["end"] = CodeSnip::End; - // QtScript - positionNames["prototype-initialization"] = CodeSnip::PrototypeInitialization; - positionNames["constructor-initialization"] = CodeSnip::ConstructorInitialization; - positionNames["constructor"] = CodeSnip::Constructor; - } - - QString position = attributes["position"].toLower(); - if (!positionNames.contains(position)) { - m_error = QString("Invalid position: '%1'").arg(position); - return false; - } - - CodeSnip snip; - snip.language = languageNames[className]; - snip.position = positionNames[position]; - - if (snip.language == TypeSystem::Interface && topElement.type != StackElement::InterfaceTypeEntry) { - m_error = "Interface code injections must be direct child of an interface type entry"; - return false; - } - - if (topElement.type == StackElement::ModifyFunction) { - FunctionModification mod = m_function_mods.last(); - if (snip.language == TypeSystem::ShellDeclaration) { - m_error = "no function implementation in shell declaration in which to inject code"; - return false; - } - - m_function_mods.last().snips << snip; - element->type = StackElement::InjectCodeInFunction; - } else if (topElement.type == StackElement::Root) { - ((TypeSystemTypeEntry *) element->entry)->snips << snip; - - } else if (topElement.type != StackElement::Root) { - m_code_snips << snip; - } - } - break; - case StackElement::Include: - { - QString location = attributes["location"].toLower(); - - static QHash locationNames; - if (locationNames.isEmpty()) { - locationNames["global"] = Include::IncludePath; - locationNames["local"] = Include::LocalPath; - locationNames["java"] = Include::TargetLangImport; - } - - if (!locationNames.contains(location)) { - m_error = QString("Location not recognized: '%1'").arg(location); - return false; - } - - Include::IncludeType loc = locationNames[location]; - Include inc(loc, attributes["file-name"]); - - ComplexTypeEntry *ctype = static_cast(element->entry); - if (topElement.type & StackElement::ComplexTypeEntryMask) { - ctype->setInclude(inc); - } else if (topElement.type == StackElement::ExtraIncludes) { - ctype->addExtraInclude(inc); - } else { - m_error = "Only supported parents are complex types and extra-includes"; - return false; - } - - inc = ctype->include(); - IncludeList lst = ctype->extraIncludes(); - ctype = ctype->designatedInterface(); - if (ctype != 0) { - ctype->setExtraIncludes(lst); - ctype->setInclude(inc); - } - } - break; - case StackElement::Rejection: - { - QString cls = attributes["class"]; - QString function = attributes["function-name"]; - QString field = attributes["field-name"]; - QString enum_ = attributes["enum-name"]; - if (cls == "*" && function == "*" && field == "*" && enum_ == "*") { - m_error = "bad reject entry, neither 'class', 'function-name' nor " - "'field' specified"; - return false; - } - m_database->addRejection(cls, function, field, enum_); - } - break; - case StackElement::Template: - element->value.templateEntry = new TemplateEntry(attributes["name"]); - break; - case StackElement::TemplateInstanceEnum: - if (!(topElement.type & StackElement::CodeSnipMask) && - (topElement.type != StackElement::Template) && - (topElement.type != StackElement::CustomMetaConstructor) && - (topElement.type != StackElement::CustomMetaDestructor) && - (topElement.type != StackElement::ConversionRule)) - { - m_error = "Can only insert templates into code snippets, templates, custom-constructors, custom-destructors or conversion-rule."; - return false; - } - element->value.templateInstance = new TemplateInstance(attributes["name"]); - break; - case StackElement::Replace: - if (topElement.type != StackElement::TemplateInstanceEnum) { - m_error = "Can only insert replace rules into insert-template."; - return false; - } - element->parent->value.templateInstance->addReplaceRule(attributes["from"],attributes["to"]); - break; - default: - break; // nada - }; - } - - current = element.release(); - return true; + QString tagName = n.toLower(); + if(tagName == "import-file"){ + return importFileElement(atts); + } + + std::unique_ptr element(new StackElement(current)); + + if (!tagNames.contains(tagName)) { + m_error = QString("Unknown tag name: '%1'").arg(tagName); + return false; + } + + element->type = tagNames[tagName]; + if (element->type & StackElement::TypeEntryMask) { + if (current->type != StackElement::Root) { + m_error = "Nested types not supported"; + return false; + } + + QHash attributes; + attributes["name"] = QString(); + + switch (element->type) { + case StackElement::PrimitiveTypeEntry: + attributes["java-name"] = QString(); + attributes["jni-name"] = QString(); + attributes["preferred-conversion"] = "yes"; + attributes["preferred-java-type"] = "yes"; + break; + case StackElement::EnumTypeEntry: + attributes["flags"] = "no"; + attributes["upper-bound"] = QString(); + attributes["lower-bound"] = QString(); + attributes["force-integer"] = "no"; + attributes["extensible"] = "no"; + + break; + + case StackElement::ObjectTypeEntry: + case StackElement::ValueTypeEntry: + attributes["force-abstract"] = QString("no"); + attributes["deprecated"] = QString("no"); + Q_FALLTHROUGH(); + case StackElement::InterfaceTypeEntry: + attributes["default-superclass"] = m_defaultSuperclass; + attributes["polymorphic-id-expression"] = QString(); + attributes["delete-in-main-thread"] = QString("no"); + Q_FALLTHROUGH(); + case StackElement::NamespaceTypeEntry: + attributes["java-name"] = QString(); + attributes["package"] = m_defaultPackage; + attributes["expense-cost"] = "1"; + attributes["expense-limit"] = "none"; + attributes["polymorphic-base"] = QString("no"); + attributes["create-shell"] = QString("yes"); + attributes["create-promoter"] = QString("yes"); + attributes["generate"] = QString("yes"); + attributes["target-type"] = QString(); + attributes["generic-class"] = QString("no"); + break; + default: + ; // nada + }; + + fetchAttributeValues(tagName, atts, &attributes); + + QString name = attributes["name"]; + + // We need to be able to have duplicate primitive type entries, or it's not possible to + // cover all primitive java types (which we need to do in order to support fake + // meta objects) + if (element->type != StackElement::PrimitiveTypeEntry) { + TypeEntry *tmp = m_database->findType(name); + if (tmp != 0) { + ReportHandler::warning(QString("Duplicate type entry: '%1'").arg(name)); + } + } + + if (name.isEmpty()) { + m_error = "no 'name' attribute specified"; + return false; + } + switch (element->type) { + case StackElement::PrimitiveTypeEntry: + { + QString java_name = attributes["java-name"]; + QString jni_name = attributes["jni-name"]; + QString preferred_conversion = attributes["preferred-conversion"].toLower(); + QString preferred_java_type = attributes["preferred-java-type"].toLower(); + + if (java_name.isEmpty()) + java_name = name; + if (jni_name.isEmpty()) + jni_name = name; + + PrimitiveTypeEntry *type = new PrimitiveTypeEntry(name); + type->setCodeGeneration(m_generate); + type->setTargetLangName(java_name); + type->setJniName(jni_name); + + type->setPreferredConversion(convertBoolean(preferred_conversion, "preferred-conversion", true)); + type->setPreferredTargetLangType(convertBoolean(preferred_java_type, "preferred-java-type", true)); + + element->entry = type; + } + break; + case StackElement::EnumTypeEntry: { + QStringList names = name.split(QLatin1String("::")); + + if (names.size() == 1) { + m_current_enum = new EnumTypeEntry(QString(), name); + } + else + m_current_enum = + new EnumTypeEntry(QStringList(names.mid(0, names.size() - 1)).join("::"), + names.last()); + element->entry = m_current_enum; + m_current_enum->setCodeGeneration(m_generate); + m_current_enum->setTargetLangPackage(m_defaultPackage); + m_current_enum->setUpperBound(attributes["upper-bound"]); + m_current_enum->setLowerBound(attributes["lower-bound"]); + m_current_enum->setForceInteger(convertBoolean(attributes["force-integer"], "force-integer", false)); + m_current_enum->setExtensible(convertBoolean(attributes["extensible"], "extensible", false)); + + // put in the flags parallel... + if (!attributes["flags"].isEmpty() && attributes["flags"].toLower() != "no") { + FlagsTypeEntry *ftype = new FlagsTypeEntry("QFlags<" + name + ">"); + ftype->setOriginator(m_current_enum); + ftype->setOriginalName(attributes["flags"]); + ftype->setCodeGeneration(m_generate); + QString origname = ftype->originalName(); + + QStringList lst = origname.split("::"); + if (QStringList(lst.mid(0, lst.size() - 1)).join("::") != m_current_enum->javaQualifier()) { + ReportHandler::warning(QString("enum %1 and flags %2 differ in qualifiers") + .arg(m_current_enum->javaQualifier()) + .arg(lst.at(0))); + } + + ftype->setFlagsName(lst.last()); + m_current_enum->setFlags(ftype); + + m_database->addFlagsType(ftype); + m_database->addType(ftype); + } + } + break; + + case StackElement::InterfaceTypeEntry: + { + ObjectTypeEntry *otype = new ObjectTypeEntry(name); + QString javaName = attributes["java-name"]; + if (javaName.isEmpty()) + javaName = name; + InterfaceTypeEntry *itype = + new InterfaceTypeEntry(InterfaceTypeEntry::interfaceName(javaName)); + + if (!convertBoolean(attributes["generate"], "generate", true)) + itype->setCodeGeneration(TypeEntry::GenerateForSubclass); + else + itype->setCodeGeneration(m_generate); + otype->setDesignatedInterface(itype); + itype->setOrigin(otype); + element->entry = otype; + } + // fall through + case StackElement::NamespaceTypeEntry: + if (element->entry == 0) { + element->entry = new NamespaceTypeEntry(name); + } + // fall through + case StackElement::ObjectTypeEntry: + if (element->entry == 0) { + element->entry = new ObjectTypeEntry(name); + } + // fall through + case StackElement::ValueTypeEntry: + { + if (element->entry == 0) { + element->entry = new ValueTypeEntry(name); + } + + ComplexTypeEntry *ctype = static_cast(element->entry); + ctype->setTargetLangPackage(attributes["package"]); + ctype->setDefaultSuperclass(attributes["default-superclass"]); + ctype->setGenericClass(convertBoolean(attributes["generic-class"], "generic-class", false)); + + if (!convertBoolean(attributes["generate"], "generate", true)) + element->entry->setCodeGeneration(TypeEntry::GenerateForSubclass); + else + element->entry->setCodeGeneration(m_generate); + + QString javaName = attributes["java-name"]; + if (!javaName.isEmpty()) + ctype->setTargetLangName(javaName); + + // The expense policy + QString limit = attributes["expense-limit"]; + if (!limit.isEmpty() && limit != "none") { + ExpensePolicy ep; + ep.limit = limit.toInt(); + ep.cost = attributes["expense-cost"]; + ctype->setExpensePolicy(ep); + } + ctype->setCreateShell(convertBoolean(attributes["create-shell"], "create-shell", false)); + ctype->setCreatePromoter(convertBoolean(attributes["create-promoter"], "create-promoter", false)); + + ctype->setIsPolymorphicBase(convertBoolean(attributes["polymorphic-base"], "polymorphic-base", false)); + ctype->setPolymorphicIdValue(attributes["polymorphic-id-expression"]); + + if (element->type == StackElement::ObjectTypeEntry || element->type == StackElement::ValueTypeEntry) { + if (convertBoolean(attributes["force-abstract"], "force-abstract", false)) + ctype->setTypeFlags(ctype->typeFlags() | ComplexTypeEntry::ForceAbstract); + if (convertBoolean(attributes["deprecated"], "deprecated", false)) + ctype->setTypeFlags(ctype->typeFlags() | ComplexTypeEntry::Deprecated); + } + + if (element->type == StackElement::InterfaceTypeEntry || + element->type == StackElement::ValueTypeEntry || + element->type == StackElement::ObjectTypeEntry) { + if (convertBoolean(attributes["delete-in-main-thread"], "delete-in-main-thread", false)) + ctype->setTypeFlags(ctype->typeFlags() | ComplexTypeEntry::DeleteInMainThread); + } + + QString targetType = attributes["target-type"]; + if (!targetType.isEmpty() && element->entry->isComplex()) + static_cast(element->entry)->setTargetType(targetType); + + // ctype->setInclude(Include(Include::IncludePath, ctype->name())); + ctype = ctype->designatedInterface(); + if (ctype != 0) + ctype->setTargetLangPackage(attributes["package"]); + + } + break; + default: + Q_ASSERT(false); + }; + + if (element->entry) + m_database->addType(element->entry); + else + ReportHandler::warning(QString("Type: %1 was rejected by typesystem").arg(name)); + + } else if (element->type != StackElement::None) { + bool topLevel = element->type == StackElement::Root + || element->type == StackElement::SuppressedWarning + || element->type == StackElement::Rejection + || element->type == StackElement::LoadTypesystem + || element->type == StackElement::InjectCode + || element->type == StackElement::Template; + + if (!topLevel && current->type == StackElement::Root) { + m_error = QString("Tag requires parent: '%1'").arg(tagName); + return false; + } + + StackElement topElement = current==0 ? StackElement(0) : *current; + element->entry = topElement.entry; + + QHash attributes; + switch (element->type) { + case StackElement::Root: + attributes["package"] = QString(); + attributes["default-superclass"] = QString(); + break; + case StackElement::LoadTypesystem: + attributes["name"] = QString(); + attributes["generate"] = "yes"; + break; + case StackElement::NoNullPointers: + attributes["default-value"] = QString(); + break; + case StackElement::SuppressedWarning: + attributes["text"] = QString(); + break; + case StackElement::ReplaceDefaultExpression: + attributes["with"] = QString(); + break; + case StackElement::DefineOwnership: + attributes["class"] = "java"; + attributes["owner"] = ""; + break; + case StackElement::ModifyFunction: + attributes["signature"] = QString(); + attributes["access"] = QString(); + attributes["remove"] = QString(); + attributes["rename"] = QString(); + attributes["deprecated"] = QString("no"); + attributes["associated-to"] = QString(); + attributes["virtual-slot"] = QString("no"); + break; + case StackElement::ModifyArgument: + attributes["index"] = QString(); + attributes["replace-value"] = QString(); + attributes["invalidate-after-use"] = QString("no"); + break; + case StackElement::ModifyField: + attributes["name"] = QString(); + attributes["write"] = "true"; + attributes["read"] = "true"; + break; + case StackElement::Access: + attributes["modifier"] = QString(); + break; + case StackElement::Include: + attributes["file-name"] = QString(); + attributes["location"] = QString(); + break; + case StackElement::CustomMetaConstructor: + attributes["name"] = topElement.entry->name().toLower() + "_create"; + attributes["param-name"] = "copy"; + break; + case StackElement::CustomMetaDestructor: + attributes["name"] = topElement.entry->name().toLower() + "_delete"; + attributes["param-name"] = "copy"; + break; + case StackElement::ReplaceType: + attributes["modified-type"] = QString(); + break; + case StackElement::InjectCode: + attributes["class"] = "java"; + attributes["position"] = "beginning"; + break; + case StackElement::ConversionRule: + attributes["class"] = ""; + break; + case StackElement::RejectEnumValue: + attributes["name"] = ""; + break; + case StackElement::ArgumentMap: + attributes["index"] = "1"; + attributes["meta-name"] = QString(); + break; + case StackElement::Rename: + attributes["to"] = QString(); + break; + case StackElement::Rejection: + attributes["class"] = "*"; + attributes["function-name"] = "*"; + attributes["field-name"] = "*"; + attributes["enum-name"] = "*"; + break; + case StackElement::Removal: + attributes["class"] = "all"; + break; + case StackElement::Template: + attributes["name"] = QString(); + break; + case StackElement::TemplateInstanceEnum: + attributes["name"] = QString(); + break; + case StackElement::Replace: + attributes["from"] = QString(); + attributes["to"] = QString(); + break; + case StackElement::ReferenceCount: + attributes["action"] = QString(); + attributes["variable-name"] = QString(); + attributes["thread-safe"] = QString("no"); + attributes["declare-variable"] = QString(); + attributes["access"] = QString("private"); + attributes["conditional"] = QString(""); + break; + default: + ; // nada + }; + + if (attributes.count() > 0) + fetchAttributeValues(tagName, atts, &attributes); + + switch (element->type) { + case StackElement::Root: + m_defaultPackage = attributes["package"]; + m_defaultSuperclass = attributes["default-superclass"]; + element->type = StackElement::Root; + element->entry = new TypeSystemTypeEntry(m_defaultPackage); + TypeDatabase::instance()->addType(element->entry); + break; + case StackElement::LoadTypesystem: + { + QString name = attributes["name"]; + if (name.isEmpty()) { + m_error = "No typesystem name specified"; + return false; + } + + if (!m_database->parseFile(name, convertBoolean(attributes["generate"], "generate", true))) { + m_error = QString("Failed to parse: '%1'").arg(name); + return false; + } + } + break; + case StackElement::RejectEnumValue: { + if (!m_current_enum) { + m_error = " node must be used inside a node"; + return false; + } + QString name = attributes["name"]; + + if (!name.isEmpty()) { + m_current_enum->addEnumValueRejection(name); + } + + } break; + case StackElement::ReplaceType: + { + if (topElement.type != StackElement::ModifyArgument) { + m_error = "Type replacement can only be specified for argument modifications"; + return false; + } + + if (attributes["modified-type"].isEmpty()) { + m_error = "Type replacement requires 'modified-type' attribute"; + return false; + } + + m_function_mods.last().argument_mods.last().modified_type = attributes["modified-type"]; + } + break; + case StackElement::ConversionRule: + { + if (topElement.type != StackElement::ModifyArgument) { + m_error = "Conversion rules can only be specified for argument modification"; + return false; + } + + static QHash languageNames; + if (languageNames.isEmpty()) { + languageNames["native"] = TypeSystem::NativeCode; + languageNames["shell"] = TypeSystem::ShellCode; + } + + CodeSnip snip; + QString languageAttribute = attributes["class"].toLower(); + TypeSystem::Language lang = languageNames.value(languageAttribute, TypeSystem::NoLanguage); + if (lang == TypeSystem::NoLanguage) { + m_error = QString("unsupported class attribute: '%1'").arg(languageAttribute); + return false; + } + + snip.language = lang; + m_function_mods.last().argument_mods.last().conversion_rules.append(snip); + } + + break; + case StackElement::ModifyArgument: + { + if (topElement.type != StackElement::ModifyFunction) { + m_error = QString::fromLatin1("argument modification requires function" + " modification as parent, was %1") + .arg(topElement.type, 0, 16); + return false; + } + + QString index = attributes["index"]; + if (index == "return") + index = "0"; + else if (index == "this") + index = "-1"; + + bool ok = false; + int idx = index.toInt(&ok); + if (!ok) { + m_error = QString("Cannot convert '%1' to integer").arg(index); + return false; + } + + QString replace_value = attributes["replace-value"]; + + if (!replace_value.isEmpty() && idx != 0) { + m_error = QString("replace-value is only supported for return values (index=0)."); + return false; + } + + ArgumentModification argumentModification = ArgumentModification(idx); + argumentModification.replace_value = replace_value; + argumentModification.reset_after_use = convertBoolean(attributes["invalidate-after-use"], "invalidate-after-use", false); + m_function_mods.last().argument_mods.append(argumentModification); + } + break; + case StackElement::NoNullPointers: + { + if (topElement.type != StackElement::ModifyArgument) { + m_error = "no-null-pointer requires argument modification as parent"; + return false; + } + + m_function_mods.last().argument_mods.last().no_null_pointers = true; + if (m_function_mods.last().argument_mods.last().index == 0) { + m_function_mods.last().argument_mods.last().null_pointer_default_value = attributes["default-value"]; + } else if (!attributes["default-value"].isEmpty()) { + ReportHandler::warning("default values for null pointer guards are only effective for return values"); + } + } + break; + case StackElement::DefineOwnership: + { + if (topElement.type != StackElement::ModifyArgument) { + m_error = "define-ownership requires argument modification as parent"; + return false; + } + + static QHash languageNames; + if (languageNames.isEmpty()) { + languageNames["java"] = TypeSystem::TargetLangCode; + languageNames["shell"] = TypeSystem::ShellCode; + } + + QString classAttribute = attributes["class"].toLower(); + TypeSystem::Language lang = languageNames.value(classAttribute, TypeSystem::NoLanguage); + if (lang == TypeSystem::NoLanguage) { + m_error = QString("unsupported class attribute: '%1'").arg(classAttribute); + return false; + } + + static QHash ownershipNames; + if (ownershipNames.isEmpty()) { + ownershipNames["python"] = TypeSystem::TargetLangOwnership; + ownershipNames["c++"] = TypeSystem::CppOwnership; + ownershipNames["default"] = TypeSystem::DefaultOwnership; + ownershipNames["new-owner-of-this"] = TypeSystem::TargetLangThisOwnership; + } + + QString ownershipAttribute = attributes["owner"].toLower(); + TypeSystem::Ownership owner = ownershipNames.value(ownershipAttribute, TypeSystem::InvalidOwnership); + if (owner == TypeSystem::InvalidOwnership) { + m_error = QString("unsupported owner attribute: '%1'").arg(ownershipAttribute); + return false; + } + + m_function_mods.last().argument_mods.last().ownerships[lang] = owner; + } + break; + case StackElement::SuppressedWarning: + if (attributes["text"].isEmpty()) + ReportHandler::warning("Suppressed warning with no text specified"); + else + m_database->addSuppressedWarning(attributes["text"]); + break; + case StackElement::ArgumentMap: + { + if (!(topElement.type & StackElement::CodeSnipMask)) { + m_error = "Argument maps requires code injection as parent"; + return false; + } + + bool ok; + int pos = attributes["index"].toInt(&ok); + if (!ok) { + m_error = QString("Can't convert position '%1' to integer") + .arg(attributes["position"]); + return false; + } + + if (pos <= 0) { + m_error = QString("Argument position %1 must be a positive number").arg(pos); + return false; + } + + QString meta_name = attributes["meta-name"]; + if (meta_name.isEmpty()) { + ReportHandler::warning("Empty meta name in argument map"); + } + + if (topElement.type == StackElement::InjectCodeInFunction) { + m_function_mods.last().snips.last().argumentMap[pos] = meta_name; + } else { + ReportHandler::warning("Argument maps are only useful for injection of code " + "into functions."); + } + } + break; + case StackElement::Removal: + { + if (topElement.type != StackElement::ModifyFunction) { + m_error = "Function modification parent required"; + return false; + } + + static QHash languageNames; + if (languageNames.isEmpty()) { + languageNames["java"] = TypeSystem::TargetLangAndNativeCode; + languageNames["all"] = TypeSystem::All; + } + + QString languageAttribute = attributes["class"].toLower(); + TypeSystem::Language lang = languageNames.value(languageAttribute, TypeSystem::NoLanguage); + if (lang == TypeSystem::NoLanguage) { + m_error = QString("unsupported class attribute: '%1'").arg(languageAttribute); + return false; + } + + m_function_mods.last().removal = lang; + } + break; + case StackElement::Rename: + case StackElement::Access: + { + if (topElement.type != StackElement::ModifyField + && topElement.type != StackElement::ModifyFunction) { + m_error = "Function or field modification parent required"; + return false; + } + + Modification *mod = 0; + if (topElement.type == StackElement::ModifyFunction) + mod = &m_function_mods.last(); + else + mod = &m_field_mods.last(); + + QString modifier; + if (element->type == StackElement::Rename) { + modifier = "rename"; + QString renamed_to = attributes["to"]; + if (renamed_to.isEmpty()) { + m_error = "Rename modifier requires 'to' attribute"; + return false; + } + + if (topElement.type == StackElement::ModifyFunction) + mod->setRenamedTo(renamed_to); + else + mod->setRenamedTo(renamed_to); + } else { + modifier = attributes["modifier"].toLower(); + } + + if (modifier.isEmpty()) { + m_error = "No access modification specified"; + return false; + } + + static QHash modifierNames; + if (modifierNames.isEmpty()) { + modifierNames["private"] = Modification::Private; + modifierNames["public"] = Modification::Public; + modifierNames["protected"] = Modification::Protected; + modifierNames["friendly"] = Modification::Friendly; + modifierNames["rename"] = Modification::Rename; + modifierNames["final"] = Modification::Final; + modifierNames["non-final"] = Modification::NonFinal; + } + + if (!modifierNames.contains(modifier)) { + m_error = QString("Unknown access modifier: '%1'").arg(modifier); + return false; + } + + mod->modifiers |= modifierNames[modifier]; + } + break; + case StackElement::RemoveArgument: + if (topElement.type != StackElement::ModifyArgument) { + m_error = "Removing argument requires argument modification as parent"; + return false; + } + + m_function_mods.last().argument_mods.last().removed = true; + + break; + + case StackElement::ModifyField: + { + QString name = attributes["name"]; + if (name.isEmpty()) + break; + FieldModification fm; + fm.name = name; + fm.modifiers = 0; + + QString read = attributes["read"]; + QString write = attributes["write"]; + + if (read == "true") fm.modifiers |= FieldModification::Readable; + if (write == "true") fm.modifiers |= FieldModification::Writable; + + m_field_mods << fm; + } + break; + case StackElement::ModifyFunction: + { + if (!(topElement.type & StackElement::ComplexTypeEntryMask)) { + m_error = QString::fromLatin1("Modify function requires complex type as parent" + ", was=%1").arg(topElement.type, 0, 16); + return false; + } + QString signature = attributes["signature"]; + + signature = TypeSystem::normalizedSignature(signature.toLocal8Bit().constData()); + if (signature.isEmpty()) { + m_error = "No signature for modified function"; + return false; + } + + FunctionModification mod; + mod.signature = signature; + + QString access = attributes["access"].toLower(); + if (!access.isEmpty()) { + if (access == QLatin1String("private")) + mod.modifiers |= Modification::Private; + else if (access == QLatin1String("protected")) + mod.modifiers |= Modification::Protected; + else if (access == QLatin1String("public")) + mod.modifiers |= Modification::Public; + else if (access == QLatin1String("final")) + mod.modifiers |= Modification::Final; + else if (access == QLatin1String("non-final")) + mod.modifiers |= Modification::NonFinal; + else { + m_error = QString::fromLatin1("Bad access type '%1'").arg(access); + return false; + } + } + + if (convertBoolean(attributes["deprecated"], "deprecated", false)) { + mod.modifiers |= Modification::Deprecated; + } + + QString remove = attributes["remove"].toLower(); + if (!remove.isEmpty()) { + if (remove == QLatin1String("all")) + mod.removal = TypeSystem::All; + else if (remove == QLatin1String("java")) + mod.removal = TypeSystem::TargetLangAndNativeCode; + else { + m_error = QString::fromLatin1("Bad removal type '%1'").arg(remove); + return false; + } + } + + QString rename = attributes["rename"]; + if (!rename.isEmpty()) { + mod.renamedToName = rename; + mod.modifiers |= Modification::Rename; + } + + QString association = attributes["associated-to"]; + if (!association.isEmpty()) + mod.association = association; + + mod.modifiers |= (convertBoolean(attributes["virtual-slot"], "virtual-slot", false) ? Modification::VirtualSlot : 0); + + m_function_mods << mod; + } + break; + case StackElement::ReplaceDefaultExpression: + if (!(topElement.type & StackElement::ModifyArgument)) { + m_error = "Replace default expression only allowed as child of argument modification"; + return false; + } + + if (attributes["with"].isEmpty()) { + m_error = "Default expression replaced with empty string. Use remove-default-expression instead."; + return false; + } + + m_function_mods.last().argument_mods.last().replaced_default_expression = attributes["with"]; + break; + case StackElement::RemoveDefaultExpression: + m_function_mods.last().argument_mods.last().removed_default_expression = true; + break; + case StackElement::CustomMetaConstructor: + case StackElement::CustomMetaDestructor: + { + CustomFunction *func = new CustomFunction(attributes["name"]); + func->param_name = attributes["param-name"]; + element->value.customFunction = func; + } + break; + case StackElement::ReferenceCount: + { + if (topElement.type != StackElement::ModifyArgument) { + m_error = "reference-count must be child of modify-argument"; + return false; + } + + ReferenceCount rc; + rc.threadSafe = convertBoolean(attributes["thread-safe"], "thread-safe", false); + + static QHash actions; + if (actions.isEmpty()) { + actions["add"] = ReferenceCount::Add; + actions["add-all"] = ReferenceCount::AddAll; + actions["remove"] = ReferenceCount::Remove; + actions["set"] = ReferenceCount::Set; + actions["ignore"] = ReferenceCount::Ignore; + } + rc.action = actions.value(attributes["action"].toLower(), ReferenceCount::Invalid); + + rc.variableName = attributes["variable-name"]; + if (rc.action != ReferenceCount::Ignore && rc.variableName.isEmpty()) { + m_error = "variable-name attribute must be specified"; + return false; + } + + rc.declareVariable = attributes["declare-variable"]; + rc.conditional = attributes["conditional"]; + + static QHash accessRights; + if (accessRights.isEmpty()) { + accessRights["private"] = ReferenceCount::Private; + accessRights["public"] = ReferenceCount::Public; + accessRights["protected"] = ReferenceCount::Protected; + accessRights["friendly"] = ReferenceCount::Friendly; + } + rc.access = accessRights.value(attributes["access"].toLower(), 0); + if (rc.access == 0) { + m_error = "unrecognized access value: " + attributes["access"]; + return false; + } + + if (rc.action == ReferenceCount::Invalid) { + m_error = "unrecognized value for action attribute. supported actions:"; + foreach (QString action, actions.keys()) + m_error += " " + action; + } + + m_function_mods.last().argument_mods.last().referenceCounts.append(rc); + } + break; + case StackElement::InjectCode: + { + if (((topElement.type & StackElement::ComplexTypeEntryMask) == 0) + && (topElement.type != StackElement::ModifyFunction) + && (topElement.type != StackElement::Root)) { + m_error = "wrong parent type for code injection"; + return false; + } + + static QHash languageNames; + if (languageNames.isEmpty()) { + languageNames["java"] = TypeSystem::TargetLangCode; + languageNames["native"] = TypeSystem::NativeCode; + languageNames["shell"] = TypeSystem::ShellCode; + languageNames["shell-declaration"] = TypeSystem::ShellDeclaration; + languageNames["library-initializer"] = TypeSystem::PackageInitializer; + languageNames["destructor-function"] = TypeSystem::DestructorFunction; + languageNames["constructors"] = TypeSystem::Constructors; + languageNames["interface"] = TypeSystem::Interface; + languageNames["pywrap-cpp"] = TypeSystem::PyWrapperCode; + languageNames["pywrap-h"] = TypeSystem::PyWrapperDeclaration; + languageNames["pywrap-operators"] = TypeSystem::PyWrapperOperators; + languageNames["pyshell-h"] = TypeSystem::PyShellDeclaration; + languageNames["pyinheritshell-h"] = TypeSystem::PyInheritShellDeclaration; + languageNames["pyinheritshell-constructor-code"] = TypeSystem::PyInheritShellConstructorCode; + languageNames["pyinit-cpp"] = TypeSystem::PyInitSource; + languageNames["pysetwrapperfunc"] = TypeSystem::PySetWrapperFunc; + } + + QString className = attributes["class"].toLower(); + if (!languageNames.contains(className)) { + m_error = QString("Invalid class specifier: '%1'").arg(className); + return false; + } + + + static QHash positionNames; + if (positionNames.isEmpty()) { + positionNames["beginning"] = CodeSnip::Beginning; + positionNames["end"] = CodeSnip::End; + // QtScript + positionNames["prototype-initialization"] = CodeSnip::PrototypeInitialization; + positionNames["constructor-initialization"] = CodeSnip::ConstructorInitialization; + positionNames["constructor"] = CodeSnip::Constructor; + } + + QString position = attributes["position"].toLower(); + if (!positionNames.contains(position)) { + m_error = QString("Invalid position: '%1'").arg(position); + return false; + } + + CodeSnip snip; + snip.language = languageNames[className]; + snip.position = positionNames[position]; + + if (snip.language == TypeSystem::Interface && topElement.type != StackElement::InterfaceTypeEntry) { + m_error = "Interface code injections must be direct child of an interface type entry"; + return false; + } + + if (topElement.type == StackElement::ModifyFunction) { + FunctionModification mod = m_function_mods.last(); + if (snip.language == TypeSystem::ShellDeclaration) { + m_error = "no function implementation in shell declaration in which to inject code"; + return false; + } + + m_function_mods.last().snips << snip; + element->type = StackElement::InjectCodeInFunction; + } else if (topElement.type == StackElement::Root) { + ((TypeSystemTypeEntry *) element->entry)->snips << snip; + + } else if (topElement.type != StackElement::Root) { + m_code_snips << snip; + } + } + break; + case StackElement::Include: + { + QString location = attributes["location"].toLower(); + + static QHash locationNames; + if (locationNames.isEmpty()) { + locationNames["global"] = Include::IncludePath; + locationNames["local"] = Include::LocalPath; + locationNames["java"] = Include::TargetLangImport; + } + + if (!locationNames.contains(location)) { + m_error = QString("Location not recognized: '%1'").arg(location); + return false; + } + + Include::IncludeType loc = locationNames[location]; + Include inc(loc, attributes["file-name"]); + + ComplexTypeEntry *ctype = static_cast(element->entry); + if (topElement.type & StackElement::ComplexTypeEntryMask) { + ctype->setInclude(inc); + } else if (topElement.type == StackElement::ExtraIncludes) { + ctype->addExtraInclude(inc); + } else { + m_error = "Only supported parents are complex types and extra-includes"; + return false; + } + + inc = ctype->include(); + IncludeList lst = ctype->extraIncludes(); + ctype = ctype->designatedInterface(); + if (ctype != 0) { + ctype->setExtraIncludes(lst); + ctype->setInclude(inc); + } + } + break; + case StackElement::Rejection: + { + QString cls = attributes["class"]; + QString function = attributes["function-name"]; + QString field = attributes["field-name"]; + QString enum_ = attributes["enum-name"]; + if (cls == "*" && function == "*" && field == "*" && enum_ == "*") { + m_error = "bad reject entry, neither 'class', 'function-name' nor " + "'field' specified"; + return false; + } + m_database->addRejection(cls, function, field, enum_); + } + break; + case StackElement::Template: + element->value.templateEntry = new TemplateEntry(attributes["name"]); + break; + case StackElement::TemplateInstanceEnum: + if (!(topElement.type & StackElement::CodeSnipMask) && + (topElement.type != StackElement::Template) && + (topElement.type != StackElement::CustomMetaConstructor) && + (topElement.type != StackElement::CustomMetaDestructor) && + (topElement.type != StackElement::ConversionRule)) + { + m_error = "Can only insert templates into code snippets, templates, custom-constructors, custom-destructors or conversion-rule."; + return false; + } + element->value.templateInstance = new TemplateInstance(attributes["name"]); + break; + case StackElement::Replace: + if (topElement.type != StackElement::TemplateInstanceEnum) { + m_error = "Can only insert replace rules into insert-template."; + return false; + } + element->parent->value.templateInstance->addReplaceRule(attributes["from"],attributes["to"]); + break; + default: + break; // nada + }; + } + + current = element.release(); + return true; } TypeDatabase *TypeDatabase::instance() { - static TypeDatabase *db = new TypeDatabase(); - return db; + static TypeDatabase *db = new TypeDatabase(); + return db; } TypeDatabase::TypeDatabase() : m_suppressWarnings(true) { - addType(new StringTypeEntry("QString")); - - StringTypeEntry *e = new StringTypeEntry("QLatin1String"); - e->setPreferredConversion(false); - addType(e); - - e = new StringTypeEntry("QStringRef"); - e->setPreferredConversion(false); - addType(e); - - e = new StringTypeEntry("QXmlStreamStringRef"); - e->setPreferredConversion(false); - addType(e); - - addType(new CharTypeEntry("QChar")); - - CharTypeEntry *c = new CharTypeEntry("QLatin1Char"); - c->setPreferredConversion(false); - addType(c); - - { - VariantTypeEntry *qvariant = new VariantTypeEntry("QVariant"); - qvariant->setCodeGeneration(TypeEntry::GenerateNothing); - addType(qvariant); - } - - { - JObjectWrapperTypeEntry *wrapper = new JObjectWrapperTypeEntry("JObjectWrapper"); - wrapper->setCodeGeneration(TypeEntry::GenerateNothing); - addType(wrapper); - } - - //addType(new ThreadTypeEntry()); - addType(new VoidTypeEntry()); - - // Predefined containers... - addType(new ContainerTypeEntry("QList", ContainerTypeEntry::ListContainer)); - addType(new ContainerTypeEntry("QStringList", ContainerTypeEntry::StringListContainer)); - addType(new ContainerTypeEntry("QLinkedList", ContainerTypeEntry::LinkedListContainer)); - addType(new ContainerTypeEntry("QVector", ContainerTypeEntry::VectorContainer)); - addType(new ContainerTypeEntry("QStack", ContainerTypeEntry::StackContainer)); - addType(new ContainerTypeEntry("QSet", ContainerTypeEntry::SetContainer)); - addType(new ContainerTypeEntry("QMap", ContainerTypeEntry::MapContainer)); - addType(new ContainerTypeEntry("QHash", ContainerTypeEntry::HashContainer)); - addType(new ContainerTypeEntry("QPair", ContainerTypeEntry::PairContainer)); - addType(new ContainerTypeEntry("QQueue", ContainerTypeEntry::QueueContainer)); - addType(new ContainerTypeEntry("QMultiMap", ContainerTypeEntry::MultiMapContainer)); - - addRemoveFunctionToTemplates(this); + addType(new StringTypeEntry("QString")); + + StringTypeEntry *e = new StringTypeEntry("QLatin1String"); + e->setPreferredConversion(false); + addType(e); + + e = new StringTypeEntry("QStringRef"); + e->setPreferredConversion(false); + addType(e); + + e = new StringTypeEntry("QXmlStreamStringRef"); + e->setPreferredConversion(false); + addType(e); + + addType(new CharTypeEntry("QChar")); + + CharTypeEntry *c = new CharTypeEntry("QLatin1Char"); + c->setPreferredConversion(false); + addType(c); + + { + VariantTypeEntry *qvariant = new VariantTypeEntry("QVariant"); + qvariant->setCodeGeneration(TypeEntry::GenerateNothing); + addType(qvariant); + } + + { + JObjectWrapperTypeEntry *wrapper = new JObjectWrapperTypeEntry("JObjectWrapper"); + wrapper->setCodeGeneration(TypeEntry::GenerateNothing); + addType(wrapper); + } + + //addType(new ThreadTypeEntry()); + addType(new VoidTypeEntry()); + + // Predefined containers... + addType(new ContainerTypeEntry("QList", ContainerTypeEntry::ListContainer)); + addType(new ContainerTypeEntry("QStringList", ContainerTypeEntry::StringListContainer)); + addType(new ContainerTypeEntry("QLinkedList", ContainerTypeEntry::LinkedListContainer)); + addType(new ContainerTypeEntry("QVector", ContainerTypeEntry::VectorContainer)); + addType(new ContainerTypeEntry("QStack", ContainerTypeEntry::StackContainer)); + addType(new ContainerTypeEntry("QSet", ContainerTypeEntry::SetContainer)); + addType(new ContainerTypeEntry("QMap", ContainerTypeEntry::MapContainer)); + addType(new ContainerTypeEntry("QHash", ContainerTypeEntry::HashContainer)); + addType(new ContainerTypeEntry("QPair", ContainerTypeEntry::PairContainer)); + addType(new ContainerTypeEntry("QQueue", ContainerTypeEntry::QueueContainer)); + addType(new ContainerTypeEntry("QMultiMap", ContainerTypeEntry::MultiMapContainer)); + + addRemoveFunctionToTemplates(this); } bool TypeDatabase::parseFile(const QString &filename, bool generate) { - QFile file(filename); - Q_ASSERT(file.exists()); - QXmlInputSource source(&file); + QFile file(filename); + + Q_ASSERT(file.exists()); + QXmlInputSource source(&file); - int count = m_entries.size(); + int count = m_entries.size(); - QXmlSimpleReader reader; - Handler handler(this, generate); + QXmlSimpleReader reader; + Handler handler(this, generate); - reader.setContentHandler(&handler); - reader.setErrorHandler(&handler); + reader.setContentHandler(&handler); + reader.setErrorHandler(&handler); - bool ok = reader.parse(&source, false); + bool ok = reader.parse(&source, false); - int newCount = m_entries.size(); + int newCount = m_entries.size(); - ReportHandler::debugSparse(QString::fromLatin1("Parsed: '%1', %2 new entries") - .arg(filename) - .arg(newCount - count)); + ReportHandler::debugSparse(QString::fromLatin1("Parsed: '%1', %2 new entries") + .arg(filename) + .arg(newCount - count)); - return ok; + return ok; } QString PrimitiveTypeEntry::javaObjectName() const { - static QHash table; - if (table.isEmpty()) { - table["boolean"] = "Boolean"; - table["byte"] = "Byte"; - table["char"] = "Character"; - table["short"] = "Short"; - table["int"] = "Integer"; - table["long"] = "Long"; - table["float"] = "Float"; - table["double"] = "Double"; - } - Q_ASSERT(table.contains(targetLangName())); - return table[targetLangName()]; + static QHash table; + if (table.isEmpty()) { + table["boolean"] = "Boolean"; + table["byte"] = "Byte"; + table["char"] = "Character"; + table["short"] = "Short"; + table["int"] = "Integer"; + table["long"] = "Long"; + table["float"] = "Float"; + table["double"] = "Double"; + } + Q_ASSERT(table.contains(targetLangName())); + return table[targetLangName()]; } ContainerTypeEntry *TypeDatabase::findContainerType(const QString &name) { - QString template_name = name; + QString template_name = name; - int pos = name.indexOf('<'); - if (pos > 0) - template_name = name.left(pos); + int pos = name.indexOf('<'); + if (pos > 0) + template_name = name.left(pos); - TypeEntry *type_entry = findType(template_name); - if (type_entry && type_entry->isContainer()) - return static_cast(type_entry); - return 0; + TypeEntry *type_entry = findType(template_name); + if (type_entry && type_entry->isContainer()) + return static_cast(type_entry); + return 0; } PrimitiveTypeEntry *TypeDatabase::findTargetLangPrimitiveType(const QString &java_name) { - foreach (QList entries, m_entries.values()) { - foreach (TypeEntry *e, entries) { - if (e && e->isPrimitive()) { - PrimitiveTypeEntry *pe = static_cast(e); - if (pe->targetLangName() == java_name && pe->preferredConversion()) - return pe; - } - } - } - - return 0; + foreach (QList entries, m_entries.values()) { + foreach (TypeEntry *e, entries) { + if (e && e->isPrimitive()) { + PrimitiveTypeEntry *pe = static_cast(e); + if (pe->targetLangName() == java_name && pe->preferredConversion()) + return pe; + } + } + } + + return 0; } IncludeList TypeDatabase::extraIncludes(const QString &className) { - ComplexTypeEntry *typeEntry = findComplexType(className); - if (typeEntry != 0) - return typeEntry->extraIncludes(); - else - return IncludeList(); + ComplexTypeEntry *typeEntry = findComplexType(className); + if (typeEntry != 0) + return typeEntry->extraIncludes(); + else + return IncludeList(); } QString Include::toString() const { - if (type == IncludePath) - return "#include <" + name + '>'; - else if (type == LocalPath) - return "#include \"" + name + "\""; - else - return "import " + name + ";"; + if (type == IncludePath) + return "#include <" + name + '>'; + else if (type == LocalPath) + return "#include \"" + name + "\""; + else + return "import " + name + ";"; } QString Modification::accessModifierString() const { - if (isPrivate()) return "private"; - if (isProtected()) return "protected"; - if (isPublic()) return "public"; - if (isFriendly()) return "friendly"; - return QString(); + if (isPrivate()) return "private"; + if (isProtected()) return "protected"; + if (isPublic()) return "public"; + if (isFriendly()) return "friendly"; + return QString(); } FunctionModificationList ComplexTypeEntry::functionModifications(const QString &signature) const { - FunctionModificationList lst; - for (int i=0; ifindType(m_qualifier); - if (te != 0) - return te->targetLangName(); - else - return m_qualifier; + TypeEntry *te = TypeDatabase::instance()->findType(m_qualifier); + if (te != 0) + return te->targetLangName(); + else + return m_qualifier; } QString EnumTypeEntry::jniName() const { - return "jint"; + return "jint"; } QString FlagsTypeEntry::jniName() const { - return "jint"; + return "jint"; } void EnumTypeEntry::addEnumValueRedirection(const QString &rejected, const QString &usedValue) { - m_enum_redirections << EnumValueRedirection(rejected, usedValue); + m_enum_redirections << EnumValueRedirection(rejected, usedValue); } QString EnumTypeEntry::enumValueRedirection(const QString &value) const { - for (int i=0; ijavaQualifier() + "." + targetLangName(); + return javaPackage() + "." + m_enum->javaQualifier() + "." + targetLangName(); } void TypeDatabase::addRejection(const QString &class_name, const QString &function_name, - const QString &field_name, const QString &enum_name) + const QString &field_name, const QString &enum_name) { - TypeRejection r; - r.class_name = class_name; - r.function_name = function_name; - r.field_name = field_name; - r.enum_name = enum_name; + TypeRejection r; + r.class_name = class_name; + r.function_name = function_name; + r.field_name = field_name; + r.enum_name = enum_name; - m_rejections << r; + m_rejections << r; } bool TypeDatabase::isClassRejected(const QString &class_name) { - if (!m_rebuild_classes.isEmpty()) - return !m_rebuild_classes.contains(class_name); - - foreach (const TypeRejection &r, m_rejections) - if (r.class_name == class_name && r.function_name == "*" && r.field_name == "*" && r.enum_name == "*") { - return true; - } - return false; + if (!m_rebuild_classes.isEmpty()) + return !m_rebuild_classes.contains(class_name); + + foreach (const TypeRejection &r, m_rejections) + if (r.class_name == class_name && r.function_name == "*" && r.field_name == "*" && r.enum_name == "*") { + return true; + } + return false; } bool TypeDatabase::isEnumRejected(const QString &class_name, const QString &enum_name) { - foreach (const TypeRejection &r, m_rejections) { - if (r.enum_name == enum_name - && (r.class_name == class_name || r.class_name == "*")) { - return true; - } - } - - return false; + foreach (const TypeRejection &r, m_rejections) { + if (r.enum_name == enum_name + && (r.class_name == class_name || r.class_name == "*")) { + return true; + } + } + + return false; } bool TypeDatabase::isFunctionRejected(const QString &class_name, const QString &function_name) { - foreach (const TypeRejection &r, m_rejections) - if (r.function_name == function_name && - (r.class_name == class_name || r.class_name == "*")) - return true; - return false; + foreach (const TypeRejection &r, m_rejections) + if (r.function_name == function_name && + (r.class_name == class_name || r.class_name == "*")) + return true; + return false; } bool TypeDatabase::isFieldRejected(const QString &class_name, const QString &field_name) { - foreach (const TypeRejection &r, m_rejections) - if (r.field_name == field_name && - (r.class_name == class_name || r.class_name == "*")) - return true; - return false; + foreach (const TypeRejection &r, m_rejections) + if (r.field_name == field_name && + (r.class_name == class_name || r.class_name == "*")) + return true; + return false; } FlagsTypeEntry *TypeDatabase::findFlagsType(const QString &name) const { - FlagsTypeEntry *fte = (FlagsTypeEntry *) findType(name); - return fte ? fte : (FlagsTypeEntry *) m_flags_entries.value(name); + FlagsTypeEntry *fte = (FlagsTypeEntry *) findType(name); + return fte ? fte : (FlagsTypeEntry *) m_flags_entries.value(name); } QString TypeDatabase::globalNamespaceClassName(const TypeEntry * /*entry*/) { - return QLatin1String("Global"); + return QLatin1String("Global"); } @@ -1755,266 +1772,266 @@ QString TypeDatabase::globalNamespaceClassName(const TypeEntry * /*entry*/) { */ QString fixCppTypeName(const QString &name) { - if (name == "long long") return "qint64"; - else if (name == "unsigned long long") return "quint64"; - return name; + if (name == "long long") return "qint64"; + else if (name == "unsigned long long") return "quint64"; + return name; } QString formattedCodeHelper(QTextStream &s, Indentor &indentor, QStringList &lines) { - bool multilineComment = false; - bool lastEmpty = true; - QString lastLine; - while (!lines.isEmpty()) { - const QString line = lines.takeFirst().trimmed(); - if (line.isEmpty()) { - if (!lastEmpty) - s << endl; - lastEmpty = true; - continue; - } else { - lastEmpty = false; - } - if (line.startsWith("/*")) - multilineComment = true; - - if (multilineComment) { - s << indentor; - if (line.startsWith("*")) - s << " "; - s << line << endl; - if (line.endsWith("*/")) - multilineComment = false; - } else if (line.startsWith("}")) { - return line; - } else if (line.endsWith("}")) { - s << indentor << line << endl; - return 0; - } else if(line.endsWith("{")) { - s << indentor << line << endl; - QString tmp; - { - Indentation indent(indentor); - tmp = formattedCodeHelper(s, indentor, lines); - } - if (!tmp.isNull()) { - s << indentor << tmp << endl; - } - lastLine = tmp; - continue; - } else { - s << indentor; - if (!lastLine.isEmpty() && - !lastLine.endsWith(";") && - !line.startsWith("@") && - !line.startsWith("//") && - !lastLine.startsWith("//") && - !lastLine.endsWith("}") && - !line.startsWith("{")) - s << " "; - s << line << endl; - } - lastLine = line; - } - return 0; + bool multilineComment = false; + bool lastEmpty = true; + QString lastLine; + while (!lines.isEmpty()) { + const QString line = lines.takeFirst().trimmed(); + if (line.isEmpty()) { + if (!lastEmpty) + s << endl; + lastEmpty = true; + continue; + } else { + lastEmpty = false; + } + if (line.startsWith("/*")) + multilineComment = true; + + if (multilineComment) { + s << indentor; + if (line.startsWith("*")) + s << " "; + s << line << endl; + if (line.endsWith("*/")) + multilineComment = false; + } else if (line.startsWith("}")) { + return line; + } else if (line.endsWith("}")) { + s << indentor << line << endl; + return 0; + } else if(line.endsWith("{")) { + s << indentor << line << endl; + QString tmp; + { + Indentation indent(indentor); + tmp = formattedCodeHelper(s, indentor, lines); + } + if (!tmp.isNull()) { + s << indentor << tmp << endl; + } + lastLine = tmp; + continue; + } else { + s << indentor; + if (!lastLine.isEmpty() && + !lastLine.endsWith(";") && + !line.startsWith("@") && + !line.startsWith("//") && + !lastLine.startsWith("//") && + !lastLine.endsWith("}") && + !line.startsWith("{")) + s << " "; + s << line << endl; + } + lastLine = line; + } + return 0; } QTextStream &CodeSnip::formattedCode(QTextStream &s, Indentor &indentor) const { - QStringList lst(code().split("\n")); - while (!lst.isEmpty()) { - QString tmp = formattedCodeHelper(s, indentor, lst); - if (!tmp.isNull()) { - s << indentor << tmp << endl; - } - } - s.flush(); - return s; + QStringList lst(code().split("\n")); + while (!lst.isEmpty()) { + QString tmp = formattedCodeHelper(s, indentor, lst); + if (!tmp.isNull()) { + s << indentor << tmp << endl; + } + } + s.flush(); + return s; } QString TemplateInstance::expandCode() const{ - TemplateEntry *templateEntry = TypeDatabase::instance()->findTemplate(m_name); - if(templateEntry){ - QString res = templateEntry->code(); + TemplateEntry *templateEntry = TypeDatabase::instance()->findTemplate(m_name); + if(templateEntry){ + QString res = templateEntry->code(); for (QString key : replaceRules.keys()){ - res.replace(key, replaceRules[key]); - } - return "// TEMPLATE - " + m_name + " - START" + res + "// TEMPLATE - " + m_name + " - END"; - } - else{ - ReportHandler::warning("insert-template referring to non-existing template '" + m_name + "'"); - } - return QString(); + res.replace(key, replaceRules[key]); + } + return "// TEMPLATE - " + m_name + " - START" + res + "// TEMPLATE - " + m_name + " - END"; + } + else{ + ReportHandler::warning("insert-template referring to non-existing template '" + m_name + "'"); + } + return QString(); } QString CodeSnipAbstract::code() const{ - QString res; + QString res; for (CodeSnipFragment *codeFrag : codeList){ - res.append(codeFrag->code()); - } - return res; + res.append(codeFrag->code()); + } + return res; } QString CodeSnipFragment::code() const{ - if(m_instance) - return m_instance->expandCode(); - else - return m_code; + if(m_instance) + return m_instance->expandCode(); + else + return m_code; } QString FunctionModification::toString() const { - QString str = signature + QLatin1String("->"); - if (modifiers & AccessModifierMask) { - switch (modifiers & AccessModifierMask) { - case Private: str += QLatin1String("private"); break; - case Protected: str += QLatin1String("protected"); break; - case Public: str += QLatin1String("public"); break; - case Friendly: str += QLatin1String("friendly"); break; - } - } + QString str = signature + QLatin1String("->"); + if (modifiers & AccessModifierMask) { + switch (modifiers & AccessModifierMask) { + case Private: str += QLatin1String("private"); break; + case Protected: str += QLatin1String("protected"); break; + case Public: str += QLatin1String("public"); break; + case Friendly: str += QLatin1String("friendly"); break; + } + } - if (modifiers & Final) str += QLatin1String("final"); - if (modifiers & NonFinal) str += QLatin1String("non-final"); + if (modifiers & Final) str += QLatin1String("final"); + if (modifiers & NonFinal) str += QLatin1String("non-final"); - if (modifiers & Readable) str += QLatin1String("readable"); - if (modifiers & Writable) str += QLatin1String("writable"); + if (modifiers & Readable) str += QLatin1String("readable"); + if (modifiers & Writable) str += QLatin1String("writable"); - if (modifiers & CodeInjection) { - foreach (CodeSnip s, snips) { - str += QLatin1String("\n//code injection:\n"); - str += s.code(); - } - } + if (modifiers & CodeInjection) { + foreach (CodeSnip s, snips) { + str += QLatin1String("\n//code injection:\n"); + str += s.code(); + } + } - if (modifiers & Rename) str += QLatin1String("renamed:") + renamedToName; + if (modifiers & Rename) str += QLatin1String("renamed:") + renamedToName; - if (modifiers & Deprecated) str += QLatin1String("deprecate"); + if (modifiers & Deprecated) str += QLatin1String("deprecate"); - if (modifiers & ReplaceExpression) str += QLatin1String("replace-expression"); + if (modifiers & ReplaceExpression) str += QLatin1String("replace-expression"); - return str; + return str; } static void removeFunction(ComplexTypeEntry *e, const char *signature) { - FunctionModification mod; - mod.signature = TypeSystem::normalizedSignature(signature); - mod.removal = TypeSystem::All; + FunctionModification mod; + mod.signature = TypeSystem::normalizedSignature(signature); + mod.removal = TypeSystem::All; - e->addFunctionModification(mod); + e->addFunctionModification(mod); } static void injectCode(ComplexTypeEntry *e, - const char *signature, - const QByteArray &code, - const ArgumentMap &args) + const char *signature, + const QByteArray &code, + const ArgumentMap &args) { - CodeSnip snip; - snip.language = TypeSystem::NativeCode; - snip.position = CodeSnip::Beginning; - snip.addCode(QString::fromLatin1(code)); - snip.argumentMap = args; - - FunctionModification mod; - mod.signature = TypeSystem::normalizedSignature(signature); - mod.snips << snip; - mod.modifiers = Modification::CodeInjection; - e->addFunctionModification(mod); + CodeSnip snip; + snip.language = TypeSystem::NativeCode; + snip.position = CodeSnip::Beginning; + snip.addCode(QString::fromLatin1(code)); + snip.argumentMap = args; + + FunctionModification mod; + mod.signature = TypeSystem::normalizedSignature(signature); + mod.snips << snip; + mod.modifiers = Modification::CodeInjection; + e->addFunctionModification(mod); } static void addRemoveFunctionToTemplates(TypeDatabase *db) { - ContainerTypeEntry *qvector = db->findContainerType(QLatin1String("QVector")); - removeFunction(qvector, "constData() const"); - removeFunction(qvector, "data() const"); - removeFunction(qvector, "data()"); - removeFunction(qvector, "first()"); - removeFunction(qvector, "last()"); - removeFunction(qvector, "operator[](int)"); - removeFunction(qvector, "operator[](int) const"); - removeFunction(qvector, "operator=(QVector)"); - - ContainerTypeEntry *qlist = db->findContainerType(QLatin1String("QList")); - removeFunction(qlist, "constData() const"); - removeFunction(qlist, "data() const"); - removeFunction(qlist, "data()"); - removeFunction(qlist, "back()"); - removeFunction(qlist, "front()"); - removeFunction(qlist, "first()"); - removeFunction(qlist, "last()"); - removeFunction(qlist, "operator[](int)"); - removeFunction(qlist, "operator[](int) const"); - removeFunction(qlist, "operator=(QList)"); - - ContainerTypeEntry *qqueue = db->findContainerType(QLatin1String("QQueue")); - removeFunction(qqueue, "head() const"); - - // QtScript: The next part is Java-specific, skip it for now... - return; - - ArgumentMap args1; - args1[1] = QLatin1String("$1"); - ArgumentMap args2 = args1; - args2[2] = QLatin1String("$2"); - - QByteArray code = - "\nif ($1 >= __qt_this->size() || $1 < 0) {" - "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," - "\n QString::fromLatin1(\"Accessing container of size %3 at %4\")" - "\n .arg(__qt_this->size()).arg($1).toLatin1());" - "\n return;" - "\n}"; - - QByteArray code_with_return = QByteArray(code).replace("return;", "return 0;"); - - QByteArray code_index_length = - "\nif ($1 < 0 || $2 < 0 || ($1 + $2) >= __qt_this->size()) {" - "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," - "\n QString::fromLatin1(\"Accessing container of size %3 from %4 to %5\")" - "\n .arg(__qt_this->size()).arg($1).arg($1+$2).toLatin1());" - "\n return;" - "\n}"; - - QByteArray code_non_empty = - "\nif (__qt_this->isEmpty()) {" - "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," - "\n QString::fromLatin1(\"Accessing empty container...\").toLatin1());" - "\n return;" - "\n}"; - - QByteArray code_two_indices = - "\nif ($1 < 0 || $2 < 0 || $1 >= __qt_this->size() || $2 >= __qt_this->size()) {" - "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," - "\n QString::fromLatin1(\"Accessing container of size %3 from %4 to %5\")" - "\n .arg(__qt_this->size()).arg($1).arg($1+$2).toLatin1());" - "\n return;" - "\n}"; - - { // QVector safty... - injectCode(qvector, "at(int) const", code_with_return, args1); - injectCode(qvector, "replace(int,T)", code, args1); - injectCode(qvector, "remove(int)", code, args1); - injectCode(qvector, "remove(int, int)", code_index_length, args2); - injectCode(qvector, "pop_back()", code_non_empty, ArgumentMap()); - injectCode(qvector, "pop_front()", code_non_empty, ArgumentMap()); - } - - { // QList safty... - injectCode(qlist, "at(int) const", code_with_return, args1); - injectCode(qlist, "replace(int, T)", code, args1); - injectCode(qlist, "pop_back()", code_non_empty, ArgumentMap()); - injectCode(qlist, "pop_front()", code_non_empty, ArgumentMap()); - injectCode(qlist, "swap(int, int)", code_two_indices, args2); - injectCode(qlist, "move(int, int)", code_two_indices, args2); - injectCode(qlist, "removeAt(int)", code, args1); - injectCode(qlist, "takeAt(int)", code_with_return, args1); - } + ContainerTypeEntry *qvector = db->findContainerType(QLatin1String("QVector")); + removeFunction(qvector, "constData() const"); + removeFunction(qvector, "data() const"); + removeFunction(qvector, "data()"); + removeFunction(qvector, "first()"); + removeFunction(qvector, "last()"); + removeFunction(qvector, "operator[](int)"); + removeFunction(qvector, "operator[](int) const"); + removeFunction(qvector, "operator=(QVector)"); + + ContainerTypeEntry *qlist = db->findContainerType(QLatin1String("QList")); + removeFunction(qlist, "constData() const"); + removeFunction(qlist, "data() const"); + removeFunction(qlist, "data()"); + removeFunction(qlist, "back()"); + removeFunction(qlist, "front()"); + removeFunction(qlist, "first()"); + removeFunction(qlist, "last()"); + removeFunction(qlist, "operator[](int)"); + removeFunction(qlist, "operator[](int) const"); + removeFunction(qlist, "operator=(QList)"); + + ContainerTypeEntry *qqueue = db->findContainerType(QLatin1String("QQueue")); + removeFunction(qqueue, "head() const"); + + // QtScript: The next part is Java-specific, skip it for now... + return; + + ArgumentMap args1; + args1[1] = QLatin1String("$1"); + ArgumentMap args2 = args1; + args2[2] = QLatin1String("$2"); + + QByteArray code = + "\nif ($1 >= __qt_this->size() || $1 < 0) {" + "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," + "\n QString::fromLatin1(\"Accessing container of size %3 at %4\")" + "\n .arg(__qt_this->size()).arg($1).toLatin1());" + "\n return;" + "\n}"; + + QByteArray code_with_return = QByteArray(code).replace("return;", "return 0;"); + + QByteArray code_index_length = + "\nif ($1 < 0 || $2 < 0 || ($1 + $2) >= __qt_this->size()) {" + "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," + "\n QString::fromLatin1(\"Accessing container of size %3 from %4 to %5\")" + "\n .arg(__qt_this->size()).arg($1).arg($1+$2).toLatin1());" + "\n return;" + "\n}"; + + QByteArray code_non_empty = + "\nif (__qt_this->isEmpty()) {" + "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," + "\n QString::fromLatin1(\"Accessing empty container...\").toLatin1());" + "\n return;" + "\n}"; + + QByteArray code_two_indices = + "\nif ($1 < 0 || $2 < 0 || $1 >= __qt_this->size() || $2 >= __qt_this->size()) {" + "\n __jni_env->ThrowNew(__jni_env->FindClass(\"java/lang/IndexOutOfBoundsException\")," + "\n QString::fromLatin1(\"Accessing container of size %3 from %4 to %5\")" + "\n .arg(__qt_this->size()).arg($1).arg($1+$2).toLatin1());" + "\n return;" + "\n}"; + + { // QVector safty... + injectCode(qvector, "at(int) const", code_with_return, args1); + injectCode(qvector, "replace(int,T)", code, args1); + injectCode(qvector, "remove(int)", code, args1); + injectCode(qvector, "remove(int, int)", code_index_length, args2); + injectCode(qvector, "pop_back()", code_non_empty, ArgumentMap()); + injectCode(qvector, "pop_front()", code_non_empty, ArgumentMap()); + } + + { // QList safty... + injectCode(qlist, "at(int) const", code_with_return, args1); + injectCode(qlist, "replace(int, T)", code, args1); + injectCode(qlist, "pop_back()", code_non_empty, ArgumentMap()); + injectCode(qlist, "pop_front()", code_non_empty, ArgumentMap()); + injectCode(qlist, "swap(int, int)", code_two_indices, args2); + injectCode(qlist, "move(int, int)", code_two_indices, args2); + injectCode(qlist, "removeAt(int)", code, args1); + injectCode(qlist, "takeAt(int)", code_with_return, args1); + } } diff --git a/generator/typesystem.h b/generator/typesystem.h index 66bfd9b9..bee5b0fc 100644 --- a/generator/typesystem.h +++ b/generator/typesystem.h @@ -48,6 +48,40 @@ #include #include +/* BEGIN: Qt6 compatibility. The following can removed when versions of Qt + * prior to 5.14 are no longer supported. + */ +/* QString::SkipEmptyParts was replicated in Qt::SplitBehavior in 15.4 and the + * QString original deprecated then it was removed in Qt6. This provides + * forward compatibility with Qt6 for versions of Qt prior to 15.4: + */ +#if QT_VERSION < QT_VERSION_CHECK(5,14,0) + namespace Qt { + const QString::SplitBehavior SkipEmptyParts = QString::SkipEmptyParts; + }; +#endif + +/* Global endl (::endl) is used extensively in the generator .cpp files. This + * was supported by Qt until Qt6. In Qt5.14 Qt::endl was added in anticipation + * of the Qt6 change and the use of global endl could be avoided (it does not + * seem to have been explicitly deprecated). This gives backward compatibility + * for global endl in Qt6 (not Qt5, where global endl was still available). + * + * Note that 'constexpr' is available in Qt6 because Qt6 requires C++17; + * constexpr was introduced in C++11. Likewise for decltype. Qt::endl is a + * function so ::endl is a pointer to the function and the implicit conversion + * is used; this is to cause an compiler error in the future if the base type + * of Qt::endl changes. + * + * When versions of Qt older than 5.14 are no longer supported this can be + * removed however all the 'endl' references in the code will need to be + * changed to Qt::endl. + */ +#if QT_VERSION >= QT_VERSION_CHECK(6,0,0) + static const constexpr decltype (Qt::endl) *endl = Qt::endl; +#endif +/* END: Qt compatibility. */ + class Indentor; class AbstractMetaType; @@ -750,7 +784,7 @@ class ComplexTypeEntry : public TypeEntry public: enum TypeFlag { ForceAbstract = 0x1, - DeleteInMainThread = 0x2, + DeleteInMainThread = 0x2, Deprecated = 0x4 }; typedef QFlags TypeFlags; @@ -1159,7 +1193,8 @@ class TypeDatabase foreach (const QString &_warning, m_suppressedWarnings) { QString warning(QString(_warning).replace("\\*", "&place_holder_for_asterisk;")); - QStringList segs = warning.split("*", QString::SkipEmptyParts); + QStringList segs = warning.split("*", Qt::SkipEmptyParts); + if (segs.size() == 0) continue ; diff --git a/generator/typesystem_core.xml b/generator/typesystem_core.xml index 936e1ea7..d21f7080 100644 --- a/generator/typesystem_core.xml +++ b/generator/typesystem_core.xml @@ -201,6 +201,8 @@ + + @@ -467,7 +469,6 @@ - @@ -483,7 +484,6 @@ - @@ -557,7 +557,27 @@ + + + + + + + + + + + + + + + + + + + + @@ -591,14 +611,20 @@ + + + + + + @@ -651,6 +677,7 @@ + @@ -762,6 +789,9 @@ + + + @@ -1341,11 +1371,7 @@ - - - - - + @@ -1455,7 +1481,7 @@ - + @@ -1903,11 +1929,7 @@ - - - - - + @@ -1964,7 +1986,9 @@ + + diff --git a/generator/typesystem_gui.xml b/generator/typesystem_gui.xml index 8b268f0e..4b1c638d 100644 --- a/generator/typesystem_gui.xml +++ b/generator/typesystem_gui.xml @@ -190,6 +190,7 @@ + @@ -256,6 +257,7 @@ + @@ -1670,7 +1672,7 @@ PyObject* constScanLine(QImage* image, int line) { - - --> + @@ -2425,7 +2427,7 @@ PyObject* constScanLine(QImage* image, int line) { - + @@ -2987,11 +2989,10 @@ PyObject* constScanLine(QImage* image, int line) { - - --> @@ -3046,11 +3047,11 @@ PyObject* constScanLine(QImage* image, int line) { - + - + @@ -3073,7 +3074,7 @@ PyObject* constScanLine(QImage* image, int line) { - + diff --git a/generator/typesystem_network.xml b/generator/typesystem_network.xml index 5696d50b..abb86257 100644 --- a/generator/typesystem_network.xml +++ b/generator/typesystem_network.xml @@ -44,6 +44,7 @@ + @@ -51,6 +52,7 @@ + @@ -210,6 +212,7 @@ + diff --git a/generator/typesystem_qml.xml b/generator/typesystem_qml.xml index 3a1dec85..ebc664fd 100644 --- a/generator/typesystem_qml.xml +++ b/generator/typesystem_qml.xml @@ -13,6 +13,7 @@ + diff --git a/src/PythonQt.cpp b/src/PythonQt.cpp index d2a25047..288ae57f 100644 --- a/src/PythonQt.cpp +++ b/src/PythonQt.cpp @@ -126,8 +126,10 @@ void PythonQt::init(int flags, const QByteArray& pythonQtModuleName) } else { qRegisterMetaType("size_t"); } +#if QT_VERSION < 0x060000 int stringRefId = qRegisterMetaType("QStringRef"); PythonQtConv::registerMetaTypeToPythonConverter(stringRefId, PythonQtConv::convertFromStringRef); +#endif int objectPtrListId = qRegisterMetaType >("QList"); PythonQtConv::registerMetaTypeToPythonConverter(objectPtrListId, PythonQtConv::convertFromQListOfPythonQtObjectPtr); @@ -243,7 +245,10 @@ void PythonQt::init(int flags, const QByteArray& pythonQtModuleName) PythonQtRegisterToolClassesTemplateConverterForKnownClass(QLineF); PythonQtRegisterToolClassesTemplateConverterForKnownClass(QPoint); PythonQtRegisterToolClassesTemplateConverterForKnownClass(QPointF); +#if QT_VERSION < 0x060000 PythonQtRegisterToolClassesTemplateConverterForKnownClass(QRegExp); +#endif + PythonQtRegisterToolClassesTemplateConverterForKnownClass(QRegularExpression); PythonQtRegisterToolClassesTemplateConverterForKnownClass(QFont); PythonQtRegisterToolClassesTemplateConverterForKnownClass(QPixmap); @@ -261,7 +266,6 @@ void PythonQt::init(int flags, const QByteArray& pythonQtModuleName) PythonQtRegisterToolClassesTemplateConverterForKnownClass(QPen); PythonQtRegisterToolClassesTemplateConverterForKnownClass(QTextLength); PythonQtRegisterToolClassesTemplateConverterForKnownClass(QTextFormat); - PythonQtRegisterToolClassesTemplateConverterForKnownClass(QMatrix); PyObject* pack = PythonQt::priv()->packageByName("QtCore"); PyObject* pack2 = PythonQt::priv()->packageByName("Qt"); diff --git a/src/PythonQtClassInfo.cpp b/src/PythonQtClassInfo.cpp index d695c936..3c011dd3 100644 --- a/src/PythonQtClassInfo.cpp +++ b/src/PythonQtClassInfo.cpp @@ -554,7 +554,12 @@ QStringList PythonQtClassInfo::memberList() } } +#if QT_VERSION >= 0x060000 + QSet set(l.begin(), l.end()); + return set.values(); +#else return QSet::fromList(l).toList(); +#endif } const QByteArray& PythonQtClassInfo::className() const diff --git a/src/PythonQtConversion.cpp b/src/PythonQtConversion.cpp index 32a57e97..5d18f5a1 100644 --- a/src/PythonQtConversion.cpp +++ b/src/PythonQtConversion.cpp @@ -967,6 +967,17 @@ void PythonQtConv::pythonToMapVariant(PyObject* val, QVariant& result) } } +namespace +{ + QVariant variantFromType(int typeId, const void *copy) + { +#if QT_VERSION >= 0x060000 + return QVariant(QMetaType(typeId), copy); +#else + return QVariant(typeId, copy); +#endif + } +} QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) { @@ -1015,17 +1026,17 @@ QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) if (wrap->classInfo()->isCPPWrapper()) { if (wrap->classInfo()->metaTypeId()>0) { // construct a new variant from the C++ object if it has a meta type (this will COPY the object!) - v = QVariant(wrap->classInfo()->metaTypeId(), wrap->_wrappedPtr); + v = variantFromType(wrap->classInfo()->metaTypeId(), wrap->_wrappedPtr); } else { // TODOXXX we could as well check if there is a registered meta type for "classname*", so that we may pass // the pointer here... // is this worth anything? we loose the knowledge of the cpp object type - v = qVariantFromValue(wrap->_wrappedPtr); + v = QVariant::fromValue(wrap->_wrappedPtr); } } else { // this gives us a QObject pointer QObject* myObject = wrap->_obj; - v = qVariantFromValue(myObject); + v = QVariant::fromValue(myObject); } return v; } else if (val == Py_None) { @@ -1073,55 +1084,55 @@ QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) case QMetaType::Float: { float d = (float) PyObjGetDouble(val,false,ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::Long: { long d = (long) PyObjGetLongLong(val,false,ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::ULong: { unsigned long d = (unsigned long) PyObjGetLongLong(val,false,ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::LongLong: { qint64 d = PyObjGetLongLong(val, false, ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::ULongLong: { quint64 d = PyObjGetULongLong(val, false, ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::Short: { short d = (short) PyObjGetInt(val,false,ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::UShort: { unsigned short d = (unsigned short) PyObjGetInt(val,false,ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::Char: { char d = (char) PyObjGetInt(val,false,ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; case QMetaType::UChar: { unsigned char d = (unsigned char) PyObjGetInt(val,false,ok); - if (ok) v = qVariantFromValue(d); + if (ok) v = QVariant::fromValue(d); } break; @@ -1189,7 +1200,7 @@ QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) PythonQtInstanceWrapper* wrap = (PythonQtInstanceWrapper*)val; if (wrap->classInfo()->isCPPWrapper() && wrap->classInfo()->metaTypeId() == type) { // construct a new variant from the C++ object if it has the same meta type - v = QVariant(type, wrap->_wrappedPtr); + v = variantFromType(type, wrap->_wrappedPtr); } else { // Try to convert the object to a QVariant based on the typeName bool ok; @@ -1202,10 +1213,10 @@ QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) void* object = castWrapperTo(wrap, typeName, ok); if (ok) { if (isPtr) { - v = QVariant(type, &object); + v = variantFromType(type, &object); } else { - v = QVariant(type, object); + v = variantFromType(type, object); } } } @@ -1215,7 +1226,7 @@ QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) PythonQtConvertPythonToMetaTypeCB* converter = _pythonToMetaTypeConverters.value(type); if (converter) { // allocate a default object of the needed type: - v = QVariant(type, (const void*)nullptr); + v = variantFromType(type, (const void*)nullptr); // now call the converter, passing the internal object of the variant ok = (*converter)(val, (void*)v.constData(), type, true); if (!ok) { @@ -1226,7 +1237,7 @@ QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) const PythonQtMethodInfo::ParameterInfo& info = PythonQtMethodInfo::getParameterInfoForMetaType(type); if (info.isQList && (info.innerNamePointerCount == 1)) { // allocate a default object of the needed type: - v = QVariant(type, (const void*)nullptr); + v = variantFromType(type, (const void*)nullptr); ok = ConvertPythonListToQListOfPointerType(val, (QList*)v.constData(), info, true); if (!ok) { v = QVariant(); @@ -1461,8 +1472,7 @@ QString PythonQtConv::CPPObjectToString(int type, const void* data) { // this creates a copy, but that should not be expensive for typical simple variants // (but we do not want to do this for our won user types! if (type>0 && type < (int)QVariant::UserType) { - QVariant v(type, data); - r = v.toString(); + r = variantFromType(type, data).toString(); } } return r; @@ -1483,10 +1493,12 @@ PyObject* PythonQtConv::createCopyFromMetaType( int type, const void* data ) return (PyObject*)wrap; } +#if QT_VERSION < 0x060000 PyObject* PythonQtConv::convertFromStringRef(const void* inObject, int /*metaTypeId*/) { return PythonQtConv::QStringToPyObject(((QStringRef*)inObject)->toString()); } +#endif QByteArray PythonQtConv::getCPPTypeName(PyObject* type) { diff --git a/src/PythonQtConversion.h b/src/PythonQtConversion.h index 4d4fe652..b5205d0d 100644 --- a/src/PythonQtConversion.h +++ b/src/PythonQtConversion.h @@ -185,7 +185,9 @@ class PYTHONQT_EXPORT PythonQtConv { static PyObject* convertFromPythonQtSafeObjectPtr(const void* /* PythonQtObjectPtr* */ inObject, int /*metaTypeId*/); static bool convertToQListOfPythonQtObjectPtr(PyObject* obj, void* /* QList* */ outList, int /*metaTypeId*/, bool /*strict*/); static PyObject* convertFromQListOfPythonQtObjectPtr(const void* /* QList* */ inObject, int /*metaTypeId*/); +#if QT_VERSION < 0x060000 static PyObject* convertFromStringRef(const void* inObject, int /*metaTypeId*/); +#endif //! Returns the name of the equivalent CPP type (for signals and slots) static QByteArray getCPPTypeName(PyObject* type); diff --git a/src/PythonQtImporter.cpp b/src/PythonQtImporter.cpp index 0c421d74..b0ff61bf 100644 --- a/src/PythonQtImporter.cpp +++ b/src/PythonQtImporter.cpp @@ -222,7 +222,7 @@ PythonQtImporter_load_module(PyObject *obj, PyObject *args) { PythonQtImporter *self = (PythonQtImporter *)obj; PyObject *code = nullptr, *mod = nullptr, *dict = nullptr; - char *fullname; + char *fullname = NULL; if (!PyArg_ParseTuple(args, "s:PythonQtImporter.load_module", &fullname)) @@ -338,7 +338,7 @@ PythonQtImporter_load_module(PyObject *obj, PyObject *args) QVariantList list = result.toList(); if (list.count()==3) { // We prepend the full module name (including package prefix) - list.prepend(fullname); + list.prepend(QString(fullname)); #ifdef __linux #ifdef _DEBUG // imp_find_module() does not respect the debug suffix '_d' on Linux, @@ -716,6 +716,18 @@ QString PythonQtImport::getSourceFilename(const QString& cacheFile) return pyFilename; } +namespace +{ + qint64 toSecsSinceEpoch(const QDateTime& time) + { +#if QT_VERSION < 0x060000 + return time.toTime_t(); +#else + return time.toSecsSinceEpoch(); +#endif + } +} + /* Return the code object for the module named by 'fullname' from the Zip archive as a new reference. */ PyObject * @@ -768,7 +780,7 @@ PythonQtImport::getMTimeOfSource(const QString& path) if (PythonQt::importInterface()->exists(path2)) { QDateTime t = PythonQt::importInterface()->lastModifiedDate(path2); if (t.isValid()) { - mtime = t.toTime_t(); + mtime = toSecsSinceEpoch(t); } } @@ -920,8 +932,8 @@ void PythonQtImport::init() #ifdef PY3K mod = PyModule_Create(&PythonQtImport_def); #else - mod = Py_InitModule4("PythonQtImport", nullptr, mlabimport_doc, - nullptr, PYTHON_API_VERSION); + mod = Py_InitModule4("PythonQtImport", NULL, mlabimport_doc, + NULL, PYTHON_API_VERSION); #endif PythonQtImportError = PyErr_NewException(const_cast("PythonQtImport.PythonQtImportError"), diff --git a/src/PythonQtMethodInfo.cpp b/src/PythonQtMethodInfo.cpp index edabb401..76c958a2 100644 --- a/src/PythonQtMethodInfo.cpp +++ b/src/PythonQtMethodInfo.cpp @@ -316,15 +316,19 @@ int PythonQtMethodInfo::nameToType(const char* name) _parameterTypeDict.insert("qgl_GLsizeiptr", QMetaType::LongLong); _parameterTypeDict.insert("size_t", QMetaType::ULongLong); _parameterTypeDict.insert("qintptr", QMetaType::LongLong); + _parameterTypeDict.insert("qptrdiff", QMetaType::LongLong); _parameterTypeDict.insert("quintptr", QMetaType::ULongLong); _parameterTypeDict.insert("WId", QMetaType::ULongLong); + _parameterTypeDict.insert("qsizetype", QMetaType::LongLong); } else { _parameterTypeDict.insert("qgl_GLintptr", QMetaType::Int); _parameterTypeDict.insert("qgl_GLsizeiptr", QMetaType::Int); _parameterTypeDict.insert("size_t", QMetaType::UInt); _parameterTypeDict.insert("qintptr", QMetaType::Int); + _parameterTypeDict.insert("qptrdiff", QMetaType::Int); _parameterTypeDict.insert("quintptr", QMetaType::UInt); _parameterTypeDict.insert("WId", QMetaType::UInt); + _parameterTypeDict.insert("qsizetype", QMetaType::Int); } #ifdef PYTHONQT_SUPPORT_ML_TYPES @@ -370,7 +374,10 @@ int PythonQtMethodInfo::nameToType(const char* name) _parameterTypeDict.insert("QLineF", QMetaType::QLineF); _parameterTypeDict.insert("QPoint", QMetaType::QPoint); _parameterTypeDict.insert("QPointF", QMetaType::QPointF); +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) _parameterTypeDict.insert("QRegExp", QMetaType::QRegExp); +#endif + _parameterTypeDict.insert("QRegularExpression", QMetaType::QRegularExpression); _parameterTypeDict.insert("QFont", QMetaType::QFont); _parameterTypeDict.insert("QPixmap", QMetaType::QPixmap); _parameterTypeDict.insert("QBrush", QMetaType::QBrush); @@ -385,8 +392,12 @@ int PythonQtMethodInfo::nameToType(const char* name) _parameterTypeDict.insert("QKeySequence", QMetaType::QKeySequence); _parameterTypeDict.insert("QPen", QMetaType::QPen); _parameterTypeDict.insert("QTextLength", QMetaType::QTextLength); +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) + _parameterTypeDict.insert("QMatrix", QMetaType::QMatrix); +#endif + _parameterTypeDict.insert("QMatrix4x4", QMetaType::QMatrix4x4); + _parameterTypeDict.insert("QTransform", QMetaType::QTransform); _parameterTypeDict.insert("QTextFormat", QMetaType::QTextFormat); - _parameterTypeDict.insert("QMatrix", QMetaType::QMatrix); _parameterTypeDict.insert("QVariant", PythonQtMethodInfo::Variant); // own special types... (none so far, could be e.g. ObjectList } diff --git a/src/PythonQtPythonInclude.h b/src/PythonQtPythonInclude.h index 2de7384e..7ce35117 100644 --- a/src/PythonQtPythonInclude.h +++ b/src/PythonQtPythonInclude.h @@ -38,10 +38,6 @@ #undef _POSIX_C_SOURCE #endif -#ifdef _POSIX_THREADS -#undef _POSIX_THREADS -#endif - #ifdef _XOPEN_SOURCE #undef _XOPEN_SOURCE #endif diff --git a/src/PythonQtSlot.cpp b/src/PythonQtSlot.cpp index 546dbc79..16c8ab6f 100644 --- a/src/PythonQtSlot.cpp +++ b/src/PythonQtSlot.cpp @@ -540,7 +540,7 @@ meth_get__doc__(PythonQtSlotFunctionObject * m, void * /*closure*/) if (!names.at(i - 1).isEmpty()) { doc += names.at(i - 1); } else { - doc += QString('a' + i - firstArgOffset).toLatin1(); + doc += QString(QChar((char) ('a' + i - firstArgOffset))).toLatin1(); } } doc += ")"; diff --git a/src/PythonQtStdDecorators.cpp b/src/PythonQtStdDecorators.cpp index b3e28139..ca1ddcfb 100644 --- a/src/PythonQtStdDecorators.cpp +++ b/src/PythonQtStdDecorators.cpp @@ -45,6 +45,7 @@ #include "PythonQtConversion.h" #include +#include bool PythonQtStdDecorators::connect(QObject* sender, const QByteArray& signal, PyObject* callable) { @@ -240,7 +241,7 @@ QList PythonQtStdDecorators::findChildren(QObject* parent, PyObject* t return list; } -QList PythonQtStdDecorators::findChildren(QObject* parent, PyObject* type, const QRegExp& regExp) +QList PythonQtStdDecorators::findChildren(QObject* parent, PyObject* type, const QRegularExpression& regExp) { const QMetaObject* meta = nullptr; QByteArray typeName; @@ -322,7 +323,7 @@ int PythonQtStdDecorators::findChildren(QObject* parent, const char* typeName, c return 0; } -int PythonQtStdDecorators::findChildren(QObject* parent, const char* typeName, const QMetaObject* meta, const QRegExp& regExp, QList& list) +int PythonQtStdDecorators::findChildren(QObject* parent, const char* typeName, const QMetaObject* meta, const QRegularExpression& regExp, QList& list) { const QObjectList& children = parent->children(); int i; @@ -334,7 +335,8 @@ int PythonQtStdDecorators::findChildren(QObject* parent, const char* typeName, c return -1; // Skip if the name doesn't match. - if (regExp.indexIn(obj->objectName()) == -1) + QRegularExpressionMatch match = regExp.match(obj->objectName()); + if (match.hasMatch() == false) continue; if ((typeName && obj->inherits(typeName)) || diff --git a/src/PythonQtStdDecorators.h b/src/PythonQtStdDecorators.h index b5c0ba60..f3f6948b 100644 --- a/src/PythonQtStdDecorators.h +++ b/src/PythonQtStdDecorators.h @@ -58,6 +58,9 @@ #include #include #include +#if QT_VERSION >= 0x060000 +#include +#endif class PYTHONQT_EXPORT PythonQtStdDecorators : public QObject { @@ -82,7 +85,7 @@ public Q_SLOTS: const QObjectList* children(QObject* o); QObject* findChild(QObject* parent, PyObject* type, const QString& name = QString()); QList findChildren(QObject* parent, PyObject* type, const QString& name= QString()); - QList findChildren(QObject* parent, PyObject* type, const QRegExp& regExp); + QList findChildren(QObject* parent, PyObject* type, const QRegularExpression& regExp); bool setProperty(QObject* o, const char* name, const QVariant& value); QVariant property(QObject* o, const char* name); @@ -103,8 +106,24 @@ public Q_SLOTS: int static_Qt_qRound(double a) { return qRound(a); } qint64 static_Qt_qRound64(double a) { return qRound64(a); } const char* static_Qt_qVersion() { return qVersion(); } - int static_Qt_qrand() { return qrand(); } - void static_Qt_qsrand(uint a) { qsrand(a); } + + int static_Qt_qrand() + { +#if QT_VERSION < 0x060000 + return qrand(); +#else + return QRandomGenerator::global()->generate(); +#endif + } + + void static_Qt_qsrand(uint a) + { +#if QT_VERSION < 0x060000 + qsrand(a); +#else + QRandomGenerator::global()->seed(a); +#endif + } QString tr(QObject* obj, const QString& text, const QString& ambig = QString(), int n = -1); @@ -116,7 +135,7 @@ public Q_SLOTS: private: QObject* findChild(QObject* parent, const char* typeName, const QMetaObject* meta, const QString& name); int findChildren(QObject* parent, const char* typeName, const QMetaObject* meta, const QString& name, QList& list); - int findChildren(QObject* parent, const char* typeName, const QMetaObject* meta, const QRegExp& regExp, QList& list); + int findChildren(QObject* parent, const char* typeName, const QMetaObject* meta, const QRegularExpression& regExp, QList& list); }; class PythonQtSingleShotTimer : public QTimer diff --git a/src/PythonQtVariants.h b/src/PythonQtVariants.h index 7e069101..833f35c8 100644 --- a/src/PythonQtVariants.h +++ b/src/PythonQtVariants.h @@ -54,7 +54,7 @@ #include #include #include -#include +#include #include #include @@ -72,7 +72,6 @@ #include #include #include -#include #endif diff --git a/src/gui/PythonQtScriptingConsole.h b/src/gui/PythonQtScriptingConsole.h index c47a0f02..26e028fa 100644 --- a/src/gui/PythonQtScriptingConsole.h +++ b/src/gui/PythonQtScriptingConsole.h @@ -55,7 +55,7 @@ class PYTHONQT_EXPORT PythonQtScriptingConsole : public QTextEdit Q_OBJECT public: - PythonQtScriptingConsole(QWidget* parent, const PythonQtObjectPtr& context, Qt::WindowFlags i = 0); + PythonQtScriptingConsole(QWidget* parent, const PythonQtObjectPtr& context, Qt::WindowFlags i = Qt::WindowFlags()); ~PythonQtScriptingConsole() override; diff --git a/src/src.pro b/src/src.pro index b97d5de3..a6fe37ca 100644 --- a/src/src.pro +++ b/src/src.pro @@ -26,12 +26,16 @@ isEmpty(PYTHONQT_STATIC) { DEFINES += PYTHONQT_CATCH_ALL_EXCEPTIONS -contains(QT_MAJOR_VERSION, 5) { - QT += widgets core-private -} +QT += widgets core-private INCLUDEPATH += $$PWD +macx { + contains(QT_MAJOR_VERSION, 6) { + QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64 + } +} + include ( ../build/common.prf ) include ( ../build/python.prf ) TARGET = $$replace(TARGET, PythonXY, Python$${PYTHON_VERSION}) diff --git a/tests/tests.pro b/tests/tests.pro index 0557d3b1..44575d40 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -19,9 +19,7 @@ DEFINES += QT_NO_CAST_TO_ASCII gcc: QMAKE_CXXFLAGS += -pedantic -ansi -Winit-self -Wuninitialized -contains(QT_MAJOR_VERSION, 5) { - QT += widgets -} +QT += widgets include ( ../build/common.prf ) include ( ../build/PythonQt.prf ) From 69443e7fdfbfc262aa81925b7d47b39fae6dc74f Mon Sep 17 00:00:00 2001 From: Iakov 'Jake' Kirilenko Date: Sat, 18 Nov 2023 18:40:36 +0300 Subject: [PATCH 2/6] Re-generated for Qt 5.15.2 --- generated_cpp_5.15 | 2 +- .../com_trolltech_qt_core.pri | 2 + .../com_trolltech_qt_core0.cpp | 6488 ++--- .../com_trolltech_qt_core0.h | 1371 +- .../com_trolltech_qt_core1.cpp | 7559 ++++++ .../com_trolltech_qt_core1.h | 1509 ++ .../com_trolltech_qt_core2.cpp | 5661 +++++ .../com_trolltech_qt_core2.h | 1316 ++ .../com_trolltech_qt_core3.cpp | 3124 ++- .../com_trolltech_qt_core3.h | 768 +- .../com_trolltech_qt_core_init.cpp | 117 +- .../com_trolltech_qt_core_builtin.pri | 0 .../com_trolltech_qt_core_builtin0.cpp | 4528 ++++ .../com_trolltech_qt_core_builtin0.h | 1440 ++ .../com_trolltech_qt_core_builtin_init.cpp | 29 + .../com_trolltech_qt_gui.pri | 2 + .../com_trolltech_qt_gui0.cpp | 7304 +++--- .../com_trolltech_qt_gui0.h | 2229 +- .../com_trolltech_qt_gui1.cpp | 5640 +++-- .../com_trolltech_qt_gui1.h | 1837 +- .../com_trolltech_qt_gui10.cpp | 11724 ++++++---- .../com_trolltech_qt_gui10.h | 2046 +- .../com_trolltech_qt_gui11.cpp | 16869 +++++++------ .../com_trolltech_qt_gui11.h | 1851 +- .../com_trolltech_qt_gui12.cpp | 4494 ++-- .../com_trolltech_qt_gui12.h | 886 +- .../com_trolltech_qt_gui2.cpp | 13856 ++++++----- .../com_trolltech_qt_gui2.h | 1792 +- .../com_trolltech_qt_gui3.cpp | 19500 ++++++++++------ .../com_trolltech_qt_gui3.h | 1914 +- .../com_trolltech_qt_gui4.cpp | 18920 +++++++-------- .../com_trolltech_qt_gui4.h | 2676 +-- .../com_trolltech_qt_gui5.cpp | 15093 ++++++++++++ .../com_trolltech_qt_gui5.h | 1962 +- .../com_trolltech_qt_gui6.cpp | 11801 ++++++++++ .../com_trolltech_qt_gui6.h | 2124 ++ .../com_trolltech_qt_gui7.cpp | 14607 ++++++------ .../com_trolltech_qt_gui7.h | 1990 ++ .../com_trolltech_qt_gui8.cpp | 13678 +++++------ .../com_trolltech_qt_gui8.h | 2364 +- .../com_trolltech_qt_gui9.cpp | 1456 ++ .../com_trolltech_qt_gui9.h | 1131 +- .../com_trolltech_qt_gui_init.cpp | 295 +- .../com_trolltech_qt_gui_builtin.pri | 0 .../com_trolltech_qt_gui_builtin0.cpp | 5177 ++++ .../com_trolltech_qt_gui_builtin0.h | 1393 ++ .../com_trolltech_qt_gui_builtin_init.cpp | 30 + .../com_trolltech_qt_multimedia.pri | 0 .../com_trolltech_qt_multimedia0.cpp | 4107 +++- .../com_trolltech_qt_multimedia0.h | 722 +- .../com_trolltech_qt_multimedia1.cpp | 5889 ++++- .../com_trolltech_qt_multimedia1.h | 770 +- .../com_trolltech_qt_multimedia2.cpp | 3051 ++- .../com_trolltech_qt_multimedia2.h | 589 +- .../com_trolltech_qt_multimedia3.cpp | 950 +- .../com_trolltech_qt_multimedia3.h | 258 +- .../com_trolltech_qt_multimedia_init.cpp | 46 +- .../com_trolltech_qt_network.pri | 2 + .../com_trolltech_qt_network0.cpp | 6209 +++++ .../com_trolltech_qt_network0.h | 1405 +- .../com_trolltech_qt_network1.cpp | 5245 ++--- .../com_trolltech_qt_network1.h | 959 + .../com_trolltech_qt_network_init.cpp | 104 + .../com_trolltech_qt_opengl.pri | 0 .../com_trolltech_qt_opengl0.cpp | 2193 +- .../com_trolltech_qt_opengl0.h | 501 +- .../com_trolltech_qt_opengl_init.cpp | 9 +- .../com_trolltech_qt_qml.pri | 6 + .../com_trolltech_qt_qml0.cpp | 3469 +++ .../com_trolltech_qt_qml0.h | 1069 + .../com_trolltech_qt_qml_init.cpp | 37 + .../com_trolltech_qt_quick.pri | 8 + .../com_trolltech_qt_quick0.cpp | 9222 ++++++++ .../com_trolltech_qt_quick0.h | 1885 ++ .../com_trolltech_qt_quick1.cpp | 1959 ++ .../com_trolltech_qt_quick1.h | 496 + .../com_trolltech_qt_quick_init.cpp | 52 + .../com_trolltech_qt_sql.pri | 0 .../com_trolltech_qt_sql0.cpp | 2004 +- .../com_trolltech_qt_sql0.h | 570 +- .../com_trolltech_qt_sql_init.cpp | 12 +- .../com_trolltech_qt_svg.pri | 0 .../com_trolltech_qt_svg0.cpp | 1548 +- .../com_trolltech_qt_svg0.h | 248 +- .../com_trolltech_qt_svg_init.cpp | 0 .../com_trolltech_qt_uitools.pri | 6 + .../com_trolltech_qt_uitools0.cpp | 390 + .../com_trolltech_qt_uitools0.h | 80 + .../com_trolltech_qt_uitools_init.cpp | 11 + .../com_trolltech_qt_xml.pri | 2 + .../com_trolltech_qt_xml0.cpp | 2106 +- .../com_trolltech_qt_xml0.h | 604 +- .../com_trolltech_qt_xml1.cpp | 921 + .../com_trolltech_qt_xml1.h | 281 + .../com_trolltech_qt_xml_init.cpp | 52 +- .../com_trolltech_qt_core1.cpp | 4049 ---- .../com_trolltech_qt_core1.h | 1178 - .../com_trolltech_qt_core_builtin0.cpp | 938 - .../com_trolltech_qt_core_builtin0.h | 332 - .../com_trolltech_qt_core_builtin_init.cpp | 16 - .../com_trolltech_qt_gui5.cpp | 8519 ------- .../com_trolltech_qt_gui6.h | 2216 -- .../com_trolltech_qt_gui8.cpp | 626 - .../com_trolltech_qt_gui_builtin0.cpp | 629 - .../com_trolltech_qt_gui_builtin0.h | 214 - .../com_trolltech_qt_gui_builtin_init.cpp | 14 - .../com_trolltech_qt_network_init.cpp | 56 - 107 files changed, 195963 insertions(+), 103426 deletions(-) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_core/com_trolltech_qt_core.pri (79%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_core/com_trolltech_qt_core0.cpp (57%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_core/com_trolltech_qt_core0.h (57%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.h rename generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.cpp => generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.cpp (63%) rename generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.h => generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.h (63%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp (61%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri (100%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui.pri (92%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp (81%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui0.h (73%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp (80%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui1.h (62%) rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp (68%) rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.h => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.h (56%) rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp (73%) rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.h => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.h (60%) rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp (73%) rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.h => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.h (76%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp (75%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui2.h (63%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp (54%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui3.h (63%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp (68%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui4.h (51%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui5.h (54%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.h rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp (68%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.h rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp (70%) rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.h => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.h (58%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp rename generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.h => generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.h (50%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp (82%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri (100%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri (100%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp (62%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h (80%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp (55%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h (75%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp (62%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h (81%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp (73%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h (76%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp (86%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_network/com_trolltech_qt_network.pri (64%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.cpp rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_network/com_trolltech_qt_network0.h (51%) rename generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.cpp => generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.cpp (56%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri (100%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp (53%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h (66%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp (79%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml.pri create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick.pri create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_sql/com_trolltech_qt_sql.pri (100%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp (81%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_sql/com_trolltech_qt_sql0.h (77%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp (71%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_svg/com_trolltech_qt_svg.pri (100%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp (50%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_svg/com_trolltech_qt_svg0.h (54%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp (100%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_xml/com_trolltech_qt_xml.pri (64%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp (64%) rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_xml/com_trolltech_qt_xml0.h (67%) create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp create mode 100644 generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.h rename {generated_cpp_5.15.3 => generated_cpp_5.15.2}/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp (58%) delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.cpp delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.h delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.h delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp delete mode 100644 generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp diff --git a/generated_cpp_5.15 b/generated_cpp_5.15 index e6599ee2..a0a3b719 120000 --- a/generated_cpp_5.15 +++ b/generated_cpp_5.15 @@ -1 +1 @@ -generated_cpp_5.15.3 \ No newline at end of file +generated_cpp_5.15.2 \ No newline at end of file diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core.pri similarity index 79% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core.pri rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core.pri index d9003d9f..65310b62 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core.pri @@ -2,9 +2,11 @@ HEADERS += \ $$PWD/com_trolltech_qt_core0.h \ $$PWD/com_trolltech_qt_core1.h \ $$PWD/com_trolltech_qt_core2.h \ + $$PWD/com_trolltech_qt_core3.h \ SOURCES += \ $$PWD/com_trolltech_qt_core0.cpp \ $$PWD/com_trolltech_qt_core1.cpp \ $$PWD/com_trolltech_qt_core2.cpp \ + $$PWD/com_trolltech_qt_core3.cpp \ $$PWD/com_trolltech_qt_core_init.cpp diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.cpp similarity index 57% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index a60d2c3e..7d5986ed 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -2,43 +2,89 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include -#include +#include +#include #include -#include +#include +#include #include #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include -#include +#include +#include #include #include +#include +#include +#include #include #include +#include +#include #include -#include +#include PythonQtShell_QAbstractAnimation::~PythonQtShell_QAbstractAnimation() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QAbstractAnimation::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAnimation::childEvent(event0); +} +void PythonQtShell_QAbstractAnimation::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAnimation::customEvent(event0); +} int PythonQtShell_QAbstractAnimation::duration() const { if (_wrapper) { @@ -50,19 +96,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -83,19 +129,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -105,6 +151,61 @@ if (_wrapper) { } return QAbstractAnimation::event(event0); } +bool PythonQtShell_QAbstractAnimation::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractAnimation::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractAnimation::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAnimation::timerEvent(event0); +} void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) { if (_wrapper) { @@ -115,9 +216,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; + void* args[2] = {nullptr, (void*)¤tTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -137,9 +238,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -159,9 +260,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -213,11 +314,6 @@ int PythonQtWrapper_QAbstractAnimation::duration(QAbstractAnimation* theWrapped return ( theWrappedObject->duration()); } -bool PythonQtWrapper_QAbstractAnimation::event(QAbstractAnimation* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_event(event)); -} - QAnimationGroup* PythonQtWrapper_QAbstractAnimation::group(QAbstractAnimation* theWrappedObject) const { return ( theWrappedObject->group()); @@ -280,19 +376,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -313,19 +409,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -346,19 +442,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -368,6 +464,28 @@ if (_wrapper) { } return QAbstractItemModel::canFetchMore(parent0); } +void PythonQtShell_QAbstractItemModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemModel::childEvent(event0); +} int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { @@ -379,19 +497,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -401,6 +519,28 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QAbstractItemModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemModel::customEvent(event0); +} QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int role1) const { if (_wrapper) { @@ -412,19 +552,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -445,19 +585,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -467,6 +607,72 @@ if (_wrapper) { } return QAbstractItemModel::dropMimeData(data0, action1, row2, column3, parent4); } +bool PythonQtShell_QAbstractItemModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::event(event0); +} +bool PythonQtShell_QAbstractItemModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemModel::eventFilter(watched0, event1); +} void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -477,9 +683,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -500,19 +706,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -533,19 +739,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -566,19 +772,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -599,19 +805,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -632,19 +838,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -665,19 +871,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -698,19 +904,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -731,19 +937,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -764,19 +970,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -797,19 +1003,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -830,19 +1036,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -863,19 +1069,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -896,19 +1102,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -929,19 +1135,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -962,19 +1168,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -994,9 +1200,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1017,19 +1223,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1050,19 +1256,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1083,19 +1289,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1116,19 +1322,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1149,19 +1355,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1182,19 +1388,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1214,9 +1420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1237,19 +1443,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1270,19 +1476,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1303,19 +1509,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1336,19 +1542,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1358,6 +1564,28 @@ if (_wrapper) { } return QAbstractItemModel::supportedDropActions(); } +void PythonQtShell_QAbstractItemModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemModel::timerEvent(event0); +} QAbstractItemModel* PythonQtWrapper_QAbstractItemModel::new_QAbstractItemModel(QObject* parent) { return new PythonQtShell_QAbstractItemModel(parent); } @@ -1692,19 +1920,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1725,19 +1953,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1758,19 +1986,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1780,6 +2008,50 @@ if (_wrapper) { } return QAbstractListModel::canFetchMore(parent0); } +void PythonQtShell_QAbstractListModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractListModel::childEvent(event0); +} +void PythonQtShell_QAbstractListModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractListModel::customEvent(event0); +} QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int role1) const { if (_wrapper) { @@ -1791,19 +2063,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1824,19 +2096,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1846,52 +2118,30 @@ if (_wrapper) { } return QAbstractListModel::dropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QAbstractListModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const +bool PythonQtShell_QAbstractListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((Qt::ItemFlags*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1899,32 +2149,32 @@ if (_wrapper) { } } } - return QAbstractListModel::flags(index0); + return QAbstractListModel::event(event0); } -QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +bool PythonQtShell_QAbstractListModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)§ion0, (void*)&orientation1, (void*)&role2}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1932,32 +2182,120 @@ if (_wrapper) { } } } - return QAbstractListModel::headerData(section0, orientation1, role2); + return QAbstractListModel::eventFilter(watched0, event1); } -QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const +void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractListModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::flags(index0); +} +QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractListModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1978,19 +2316,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2011,19 +2349,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2044,19 +2382,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2077,19 +2415,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2110,19 +2448,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2143,19 +2481,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2176,19 +2514,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2209,19 +2547,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2242,19 +2580,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2275,19 +2613,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2307,9 +2645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2330,19 +2668,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2363,19 +2701,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2396,19 +2734,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2429,19 +2767,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2462,19 +2800,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2495,19 +2833,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2527,9 +2865,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2550,19 +2888,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2583,19 +2921,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2616,19 +2954,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2649,19 +2987,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2671,6 +3009,28 @@ if (_wrapper) { } return QAbstractListModel::supportedDropActions(); } +void PythonQtShell_QAbstractListModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractListModel::timerEvent(event0); +} QAbstractListModel* PythonQtWrapper_QAbstractListModel::new_QAbstractListModel(QObject* parent) { return new PythonQtShell_QAbstractListModel(parent); } @@ -2694,6 +3054,50 @@ PythonQtShell_QAbstractState::~PythonQtShell_QAbstractState() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QAbstractState::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractState::childEvent(event0); +} +void PythonQtShell_QAbstractState::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractState::customEvent(event0); +} bool PythonQtShell_QAbstractState::event(QEvent* e0) { if (_wrapper) { @@ -2705,19 +3109,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2727,6 +3131,39 @@ if (_wrapper) { } return QAbstractState::event(e0); } +bool PythonQtShell_QAbstractState::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractState::eventFilter(watched0, event1); +} void PythonQtShell_QAbstractState::onEntry(QEvent* event0) { if (_wrapper) { @@ -2737,9 +3174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2759,9 +3196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2770,6 +3207,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QAbstractState::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractState::timerEvent(event0); } QAbstractState* PythonQtWrapper_QAbstractState::new_QAbstractState(QState* parent) { @@ -2793,11 +3252,6 @@ bool PythonQtWrapper_QAbstractState::active(QAbstractState* theWrappedObject) c return ( theWrappedObject->active()); } -bool PythonQtWrapper_QAbstractState::event(QAbstractState* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_event(e)); -} - QStateMachine* PythonQtWrapper_QAbstractState::machine(QAbstractState* theWrappedObject) const { return ( theWrappedObject->machine()); @@ -2824,6 +3278,50 @@ PythonQtShell_QAbstractTransition::~PythonQtShell_QAbstractTransition() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QAbstractTransition::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTransition::childEvent(event0); +} +void PythonQtShell_QAbstractTransition::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTransition::customEvent(event0); +} bool PythonQtShell_QAbstractTransition::event(QEvent* e0) { if (_wrapper) { @@ -2835,19 +3333,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2857,6 +3355,39 @@ if (_wrapper) { } return QAbstractTransition::event(e0); } +bool PythonQtShell_QAbstractTransition::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTransition::eventFilter(watched0, event1); +} bool PythonQtShell_QAbstractTransition::eventTest(QEvent* event0) { if (_wrapper) { @@ -2868,19 +3399,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2900,9 +3431,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2911,6 +3442,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QAbstractTransition::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTransition::timerEvent(event0); } QAbstractTransition* PythonQtWrapper_QAbstractTransition::new_QAbstractTransition(QState* sourceState) { @@ -2939,11 +3492,6 @@ QList PythonQtWrapper_QAbstractTransition::animations(QAb return ( theWrappedObject->animations()); } -bool PythonQtWrapper_QAbstractTransition::event(QAbstractTransition* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_event(e)); -} - bool PythonQtWrapper_QAbstractTransition::eventTest(QAbstractTransition* theWrappedObject, QEvent* event) { return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_eventTest(event)); @@ -3005,30 +3553,74 @@ PythonQtShell_QAnimationGroup::~PythonQtShell_QAnimationGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QAnimationGroup::duration() const +void PythonQtShell_QAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAnimationGroup::childEvent(event0); +} +void PythonQtShell_QAnimationGroup::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAnimationGroup::customEvent(event0); +} +int PythonQtShell_QAnimationGroup::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3049,19 +3641,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3071,6 +3663,61 @@ if (_wrapper) { } return QAnimationGroup::event(event0); } +bool PythonQtShell_QAnimationGroup::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAnimationGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QAnimationGroup::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAnimationGroup::timerEvent(event0); +} void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { @@ -3081,9 +3728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; + void* args[2] = {nullptr, (void*)¤tTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3103,9 +3750,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3125,9 +3772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3207,6 +3854,82 @@ Qt::ApplicationState PythonQtWrapper_QApplicationStateChangeEvent::applicationS +PythonQtShell_QBasicMutex::~PythonQtShell_QBasicMutex() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QBasicMutex* PythonQtWrapper_QBasicMutex::new_QBasicMutex() +{ +return new PythonQtShell_QBasicMutex(); } + +bool PythonQtWrapper_QBasicMutex::isRecursive(QBasicMutex* theWrappedObject) +{ + return ( theWrappedObject->isRecursive()); +} + +bool PythonQtWrapper_QBasicMutex::isRecursive(QBasicMutex* theWrappedObject) const +{ + return ( theWrappedObject->isRecursive()); +} + +void PythonQtWrapper_QBasicMutex::lock(QBasicMutex* theWrappedObject) +{ + ( theWrappedObject->lock()); +} + +bool PythonQtWrapper_QBasicMutex::tryLock(QBasicMutex* theWrappedObject) +{ + return ( theWrappedObject->tryLock()); +} + +bool PythonQtWrapper_QBasicMutex::try_lock(QBasicMutex* theWrappedObject) +{ + return ( theWrappedObject->try_lock()); +} + +void PythonQtWrapper_QBasicMutex::unlock(QBasicMutex* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QBasicTimer* PythonQtWrapper_QBasicTimer::new_QBasicTimer() +{ +return new QBasicTimer(); } + +bool PythonQtWrapper_QBasicTimer::isActive(QBasicTimer* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, QObject* obj) +{ + ( theWrappedObject->start(msec, obj)); +} + +void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, Qt::TimerType timerType, QObject* obj) +{ + ( theWrappedObject->start(msec, timerType, obj)); +} + +void PythonQtWrapper_QBasicTimer::stop(QBasicTimer* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +void PythonQtWrapper_QBasicTimer::swap(QBasicTimer* theWrappedObject, QBasicTimer& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QBasicTimer::timerId(QBasicTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerId()); +} + + + PythonQtShell_QBuffer::~PythonQtShell_QBuffer() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -3222,19 +3945,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3255,19 +3978,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3288,19 +4011,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3321,19 +4044,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3343,6 +4066,28 @@ if (_wrapper) { } return QBuffer::canReadLine(); } +void PythonQtShell_QBuffer::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBuffer::childEvent(event0); +} void PythonQtShell_QBuffer::close() { if (_wrapper) { @@ -3353,9 +4098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3375,9 +4120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMetaMethod&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3387,6 +4132,28 @@ if (_wrapper) { } QBuffer::connectNotify(arg__1); } +void PythonQtShell_QBuffer::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBuffer::customEvent(event0); +} void PythonQtShell_QBuffer::disconnectNotify(const QMetaMethod& arg__1) { if (_wrapper) { @@ -3397,9 +4164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMetaMethod&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3409,6 +4176,72 @@ if (_wrapper) { } QBuffer::disconnectNotify(arg__1); } +bool PythonQtShell_QBuffer::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::event(event0); +} +bool PythonQtShell_QBuffer::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBuffer::eventFilter(watched0, event1); +} bool PythonQtShell_QBuffer::isSequential() const { if (_wrapper) { @@ -3420,19 +4253,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3453,19 +4286,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&openMode0}; + void* args[2] = {nullptr, (void*)&openMode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3486,19 +4319,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3519,19 +4352,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3552,19 +4385,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3585,19 +4418,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3618,19 +4451,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&off0}; + void* args[2] = {nullptr, (void*)&off0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3651,19 +4484,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3673,6 +4506,28 @@ if (_wrapper) { } return QBuffer::size(); } +void PythonQtShell_QBuffer::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBuffer::timerEvent(event0); +} bool PythonQtShell_QBuffer::waitForBytesWritten(int msecs0) { if (_wrapper) { @@ -3684,19 +4539,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3717,19 +4572,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3750,19 +4605,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3893,59 +4748,260 @@ bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const -QCommandLineOption PythonQtWrapper_QCommandLineParser::addHelpOption(QCommandLineParser* theWrappedObject) +QCollator* PythonQtWrapper_QCollator::new_QCollator() +{ +return new QCollator(); } + +QCollator* PythonQtWrapper_QCollator::new_QCollator(const QCollator& arg__1) +{ +return new QCollator(arg__1); } + +QCollator* PythonQtWrapper_QCollator::new_QCollator(const QLocale& locale) +{ +return new QCollator(locale); } + +Qt::CaseSensitivity PythonQtWrapper_QCollator::caseSensitivity(QCollator* theWrappedObject) const { - return ( theWrappedObject->addHelpOption()); + return ( theWrappedObject->caseSensitivity()); } -bool PythonQtWrapper_QCommandLineParser::addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption) +int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QChar* s1, int len1, const QChar* s2, int len2) const { - return ( theWrappedObject->addOption(commandLineOption)); + return ( theWrappedObject->compare(s1, len1, s2, len2)); } -bool PythonQtWrapper_QCommandLineParser::addOptions(QCommandLineParser* theWrappedObject, const QList& options) +int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QString& s1, const QString& s2) const { - return ( theWrappedObject->addOptions(options)); + return ( theWrappedObject->compare(s1, s2)); } -void PythonQtWrapper_QCommandLineParser::addPositionalArgument(QCommandLineParser* theWrappedObject, const QString& name, const QString& description, const QString& syntax) +int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QStringRef& s1, const QStringRef& s2) const { - ( theWrappedObject->addPositionalArgument(name, description, syntax)); + return ( theWrappedObject->compare(s1, s2)); } -QCommandLineOption PythonQtWrapper_QCommandLineParser::addVersionOption(QCommandLineParser* theWrappedObject) +bool PythonQtWrapper_QCollator::ignorePunctuation(QCollator* theWrappedObject) const { - return ( theWrappedObject->addVersionOption()); + return ( theWrappedObject->ignorePunctuation()); } -QString PythonQtWrapper_QCommandLineParser::applicationDescription(QCommandLineParser* theWrappedObject) const +QLocale PythonQtWrapper_QCollator::locale(QCollator* theWrappedObject) const { - return ( theWrappedObject->applicationDescription()); + return ( theWrappedObject->locale()); } -void PythonQtWrapper_QCommandLineParser::clearPositionalArguments(QCommandLineParser* theWrappedObject) +bool PythonQtWrapper_QCollator::numericMode(QCollator* theWrappedObject) const { - ( theWrappedObject->clearPositionalArguments()); + return ( theWrappedObject->numericMode()); } -QString PythonQtWrapper_QCommandLineParser::errorText(QCommandLineParser* theWrappedObject) const +bool PythonQtWrapper_QCollator::operator_cast_(QCollator* theWrappedObject, const QString& s1, const QString& s2) const { - return ( theWrappedObject->errorText()); + return ( theWrappedObject->operator()(s1, s2)); } -QString PythonQtWrapper_QCommandLineParser::helpText(QCommandLineParser* theWrappedObject) const +QCollator* PythonQtWrapper_QCollator::operator_assign(QCollator* theWrappedObject, const QCollator& arg__1) { - return ( theWrappedObject->helpText()); + return &( (*theWrappedObject)= arg__1); } -bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +void PythonQtWrapper_QCollator::setCaseSensitivity(QCollator* theWrappedObject, Qt::CaseSensitivity cs) { - return ( theWrappedObject->isSet(option)); + ( theWrappedObject->setCaseSensitivity(cs)); } -bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QString& name) const +void PythonQtWrapper_QCollator::setIgnorePunctuation(QCollator* theWrappedObject, bool on) { - return ( theWrappedObject->isSet(name)); + ( theWrappedObject->setIgnorePunctuation(on)); +} + +void PythonQtWrapper_QCollator::setLocale(QCollator* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +void PythonQtWrapper_QCollator::setNumericMode(QCollator* theWrappedObject, bool on) +{ + ( theWrappedObject->setNumericMode(on)); +} + +QCollatorSortKey PythonQtWrapper_QCollator::sortKey(QCollator* theWrappedObject, const QString& string) const +{ + return ( theWrappedObject->sortKey(string)); +} + +void PythonQtWrapper_QCollator::swap(QCollator* theWrappedObject, QCollator& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::new_QCollatorSortKey(const QCollatorSortKey& other) +{ +return new QCollatorSortKey(other); } + +int PythonQtWrapper_QCollatorSortKey::compare(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& key) const +{ + return ( theWrappedObject->compare(key)); +} + +bool PythonQtWrapper_QCollatorSortKey::__lt__(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& rhs) +{ + return ( (*theWrappedObject)< rhs); +} + +QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::operator_assign(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QCollatorSortKey::swap(QCollatorSortKey* theWrappedObject, QCollatorSortKey& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QCommandLineOption& other) +{ +return new QCommandLineOption(other); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QString& name) +{ +return new QCommandLineOption(name); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QString& name, const QString& description, const QString& valueName, const QString& defaultValue) +{ +return new QCommandLineOption(name, description, valueName, defaultValue); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QStringList& names) +{ +return new QCommandLineOption(names); } + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QStringList& names, const QString& description, const QString& valueName, const QString& defaultValue) +{ +return new QCommandLineOption(names, description, valueName, defaultValue); } + +QStringList PythonQtWrapper_QCommandLineOption::defaultValues(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->defaultValues()); +} + +QString PythonQtWrapper_QCommandLineOption::description(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +bool PythonQtWrapper_QCommandLineOption::isHidden(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +QStringList PythonQtWrapper_QCommandLineOption::names(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->names()); +} + +QCommandLineOption* PythonQtWrapper_QCommandLineOption::operator_assign(QCommandLineOption* theWrappedObject, const QCommandLineOption& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QCommandLineOption::setDefaultValue(QCommandLineOption* theWrappedObject, const QString& defaultValue) +{ + ( theWrappedObject->setDefaultValue(defaultValue)); +} + +void PythonQtWrapper_QCommandLineOption::setDefaultValues(QCommandLineOption* theWrappedObject, const QStringList& defaultValues) +{ + ( theWrappedObject->setDefaultValues(defaultValues)); +} + +void PythonQtWrapper_QCommandLineOption::setDescription(QCommandLineOption* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setDescription(description)); +} + +void PythonQtWrapper_QCommandLineOption::setHidden(QCommandLineOption* theWrappedObject, bool hidden) +{ + ( theWrappedObject->setHidden(hidden)); +} + +void PythonQtWrapper_QCommandLineOption::setValueName(QCommandLineOption* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setValueName(name)); +} + +void PythonQtWrapper_QCommandLineOption::swap(QCommandLineOption* theWrappedObject, QCommandLineOption& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QCommandLineOption::valueName(QCommandLineOption* theWrappedObject) const +{ + return ( theWrappedObject->valueName()); +} + + + +QCommandLineParser* PythonQtWrapper_QCommandLineParser::new_QCommandLineParser() +{ +return new QCommandLineParser(); } + +QCommandLineOption PythonQtWrapper_QCommandLineParser::addHelpOption(QCommandLineParser* theWrappedObject) +{ + return ( theWrappedObject->addHelpOption()); +} + +bool PythonQtWrapper_QCommandLineParser::addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption) +{ + return ( theWrappedObject->addOption(commandLineOption)); +} + +bool PythonQtWrapper_QCommandLineParser::addOptions(QCommandLineParser* theWrappedObject, const QList& options) +{ + return ( theWrappedObject->addOptions(options)); +} + +void PythonQtWrapper_QCommandLineParser::addPositionalArgument(QCommandLineParser* theWrappedObject, const QString& name, const QString& description, const QString& syntax) +{ + ( theWrappedObject->addPositionalArgument(name, description, syntax)); +} + +QCommandLineOption PythonQtWrapper_QCommandLineParser::addVersionOption(QCommandLineParser* theWrappedObject) +{ + return ( theWrappedObject->addVersionOption()); +} + +QString PythonQtWrapper_QCommandLineParser::applicationDescription(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->applicationDescription()); +} + +void PythonQtWrapper_QCommandLineParser::clearPositionalArguments(QCommandLineParser* theWrappedObject) +{ + ( theWrappedObject->clearPositionalArguments()); +} + +QString PythonQtWrapper_QCommandLineParser::errorText(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->errorText()); +} + +QString PythonQtWrapper_QCommandLineParser::helpText(QCommandLineParser* theWrappedObject) const +{ + return ( theWrappedObject->helpText()); +} + +bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +{ + return ( theWrappedObject->isSet(option)); +} + +bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->isSet(name)); } QStringList PythonQtWrapper_QCommandLineParser::optionNames(QCommandLineParser* theWrappedObject) const @@ -4075,11 +5131,6 @@ bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_closingDown() return (QCoreApplication::closingDown()); } -bool PythonQtWrapper_QCoreApplication::event(QCoreApplication* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->promoted_event(arg__1)); -} - QAbstractEventDispatcher* PythonQtWrapper_QCoreApplication::static_QCoreApplication_eventDispatcher() { return (QCoreApplication::eventDispatcher()); @@ -4247,6 +5298,10 @@ QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(con +QCryptographicHash* PythonQtWrapper_QCryptographicHash::new_QCryptographicHash(QCryptographicHash::Algorithm method) +{ +return new QCryptographicHash(method); } + bool PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, QIODevice* device) { return ( theWrappedObject->addData(device)); @@ -4279,6 +5334,22 @@ QByteArray PythonQtWrapper_QCryptographicHash::result(QCryptographicHash* theWr +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream() +{ +return new QDataStream(); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags) +{ +return new QDataStream(arg__1, flags); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QIODevice* arg__1) +{ +return new QDataStream(arg__1); } + +QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(const QByteArray& arg__1) +{ +return new QDataStream(arg__1); } + void PythonQtWrapper_QDataStream::abortTransaction(QDataStream* theWrappedObject) { ( theWrappedObject->abortTransaction()); @@ -4371,3985 +5442,832 @@ int PythonQtWrapper_QDataStream::version(QDataStream* theWrappedObject) const -QDeferredDeleteEvent* PythonQtWrapper_QDeferredDeleteEvent::new_QDeferredDeleteEvent() +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::new_QDeadlineTimer(QDeadlineTimer::ForeverConstant arg__1, Qt::TimerType type_) { -return new QDeferredDeleteEvent(); } +return new QDeadlineTimer(arg__1, type_); } -int PythonQtWrapper_QDeferredDeleteEvent::loopLevel(QDeferredDeleteEvent* theWrappedObject) const +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::new_QDeadlineTimer(Qt::TimerType type_) +{ +return new QDeadlineTimer(type_); } + +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::new_QDeadlineTimer(qint64 msecs, Qt::TimerType type) +{ +return new QDeadlineTimer(msecs, type); } + +QDeadlineTimer PythonQtWrapper_QDeadlineTimer::static_QDeadlineTimer_addNSecs(QDeadlineTimer dt, qint64 nsecs) { - return ( theWrappedObject->loopLevel()); + return (QDeadlineTimer::addNSecs(dt, nsecs)); } +QDeadlineTimer PythonQtWrapper_QDeadlineTimer::static_QDeadlineTimer_current(Qt::TimerType timerType) +{ + return (QDeadlineTimer::current(timerType)); +} +qint64 PythonQtWrapper_QDeadlineTimer::deadline(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->deadline()); +} -QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const +qint64 PythonQtWrapper_QDeadlineTimer::deadlineNSecs(QDeadlineTimer* theWrappedObject) const { - return ( theWrappedObject->fileInfo()); + return ( theWrappedObject->deadlineNSecs()); } -QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const +bool PythonQtWrapper_QDeadlineTimer::hasExpired(QDeadlineTimer* theWrappedObject) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->hasExpired()); } -QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const +bool PythonQtWrapper_QDeadlineTimer::isForever(QDeadlineTimer* theWrappedObject) const { - return ( theWrappedObject->filePath()); + return ( theWrappedObject->isForever()); } -bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::__iadd__(QDeadlineTimer* theWrappedObject, qint64 msecs) { - return ( theWrappedObject->hasNext()); + return &( (*theWrappedObject)+= msecs); } -QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject) +QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::__isub__(QDeadlineTimer* theWrappedObject, qint64 msecs) { - return ( theWrappedObject->next()); + return &( (*theWrappedObject)-= msecs); } -QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const +qint64 PythonQtWrapper_QDeadlineTimer::remainingTime(QDeadlineTimer* theWrappedObject) const { - return ( theWrappedObject->path()); + return ( theWrappedObject->remainingTime()); } +qint64 PythonQtWrapper_QDeadlineTimer::remainingTimeNSecs(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->remainingTimeNSecs()); +} +void PythonQtWrapper_QDeadlineTimer::setDeadline(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType timerType) +{ + ( theWrappedObject->setDeadline(msecs, timerType)); +} -QDynamicPropertyChangeEvent* PythonQtWrapper_QDynamicPropertyChangeEvent::new_QDynamicPropertyChangeEvent(const QByteArray& name) -{ -return new QDynamicPropertyChangeEvent(name); } +void PythonQtWrapper_QDeadlineTimer::setPreciseDeadline(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs, Qt::TimerType type) +{ + ( theWrappedObject->setPreciseDeadline(secs, nsecs, type)); +} -QByteArray PythonQtWrapper_QDynamicPropertyChangeEvent::propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const +void PythonQtWrapper_QDeadlineTimer::setPreciseRemainingTime(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs, Qt::TimerType type) { - return ( theWrappedObject->propertyName()); + ( theWrappedObject->setPreciseRemainingTime(secs, nsecs, type)); } +void PythonQtWrapper_QDeadlineTimer::setRemainingTime(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType type) +{ + ( theWrappedObject->setRemainingTime(msecs, type)); +} +void PythonQtWrapper_QDeadlineTimer::setTimerType(QDeadlineTimer* theWrappedObject, Qt::TimerType type) +{ + ( theWrappedObject->setTimerType(type)); +} -PythonQtShell_QEvent::~PythonQtShell_QEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QDeadlineTimer::swap(QDeadlineTimer* theWrappedObject, QDeadlineTimer& other) +{ + ( theWrappedObject->swap(other)); } -QEvent* PythonQtWrapper_QEvent::new_QEvent(QEvent::Type type) + +Qt::TimerType PythonQtWrapper_QDeadlineTimer::timerType(QDeadlineTimer* theWrappedObject) const +{ + return ( theWrappedObject->timerType()); +} + + + +QDeferredDeleteEvent* PythonQtWrapper_QDeferredDeleteEvent::new_QDeferredDeleteEvent() { -return new PythonQtShell_QEvent(type); } +return new QDeferredDeleteEvent(); } -QEvent* PythonQtWrapper_QEvent::new_QEvent(const QEvent& other) +int PythonQtWrapper_QDeferredDeleteEvent::loopLevel(QDeferredDeleteEvent* theWrappedObject) const +{ + return ( theWrappedObject->loopLevel()); +} + + + +QDir* PythonQtWrapper_QDir::new_QDir(const QDir& arg__1) { -return new PythonQtShell_QEvent(other); } +return new QDir(arg__1); } -void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject) +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::absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const { - ( theWrappedObject->accept()); + return ( theWrappedObject->absoluteFilePath(fileName)); } -void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject) +QString PythonQtWrapper_QDir::absolutePath(QDir* theWrappedObject) const { - ( theWrappedObject->ignore()); + return ( theWrappedObject->absolutePath()); } -bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const +void PythonQtWrapper_QDir::static_QDir_addSearchPath(const QString& prefix, const QString& path) { - return ( theWrappedObject->isAccepted()); + (QDir::addSearchPath(prefix, path)); } -QEvent* PythonQtWrapper_QEvent::operator_assign(QEvent* theWrappedObject, const QEvent& other) +QString PythonQtWrapper_QDir::canonicalPath(QDir* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->canonicalPath()); } -void PythonQtWrapper_QEvent::setAccepted(QEvent* theWrappedObject, bool accepted) +bool PythonQtWrapper_QDir::cd(QDir* theWrappedObject, const QString& dirName) { - ( theWrappedObject->setAccepted(accepted)); + return ( theWrappedObject->cd(dirName)); } -bool PythonQtWrapper_QEvent::spontaneous(QEvent* theWrappedObject) const +bool PythonQtWrapper_QDir::cdUp(QDir* theWrappedObject) { - return ( theWrappedObject->spontaneous()); + return ( theWrappedObject->cdUp()); } -QEvent::Type PythonQtWrapper_QEvent::type(QEvent* theWrappedObject) const +QString PythonQtWrapper_QDir::static_QDir_cleanPath(const QString& path) { - return ( theWrappedObject->type()); + return (QDir::cleanPath(path)); } -QString PythonQtWrapper_QEvent::py_toString(QEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +uint PythonQtWrapper_QDir::count(QDir* theWrappedObject) const +{ + return ( theWrappedObject->count()); } +QDir PythonQtWrapper_QDir::static_QDir_current() +{ + return (QDir::current()); +} +QString PythonQtWrapper_QDir::static_QDir_currentPath() +{ + return (QDir::currentPath()); +} -PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QString PythonQtWrapper_QDir::dirName(QDir* theWrappedObject) const +{ + return ( theWrappedObject->dirName()); } -bool PythonQtShell_QEventLoop::event(QEvent* event0) + +QList PythonQtWrapper_QDir::static_QDir_drives() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return (QDir::drives()); } - return QEventLoop::event(event0); + +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryInfoList(filters, sort)); } -QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent) -{ -return new PythonQtShell_QEventLoop(parent); } -const QMetaObject* PythonQtShell_QEventLoop::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QEventLoop::staticMetaObject); - } else { - return &QEventLoop::staticMetaObject; - } +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryInfoList(nameFilters, filters, sort)); } -int PythonQtShell_QEventLoop::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QEventLoop::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +{ + return ( theWrappedObject->entryList(filters, sort)); } -bool PythonQtWrapper_QEventLoop::event(QEventLoop* theWrappedObject, QEvent* event) + +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const { - return ( theWrappedObject->event(event)); + return ( theWrappedObject->entryList(nameFilters, filters, sort)); } -int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject) const { - return ( theWrappedObject->exec(flags)); + return ( theWrappedObject->exists()); } -void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode) +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject, const QString& name) const { - ( theWrappedObject->exit(returnCode)); + return ( theWrappedObject->exists(name)); } -bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const +QString PythonQtWrapper_QDir::filePath(QDir* theWrappedObject, const QString& fileName) const { - return ( theWrappedObject->isRunning()); + return ( theWrappedObject->filePath(fileName)); } -bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +QDir::Filters PythonQtWrapper_QDir::filter(QDir* theWrappedObject) const { - return ( theWrappedObject->processEvents(flags)); + return ( theWrappedObject->filter()); } -void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime) +QString PythonQtWrapper_QDir::static_QDir_fromNativeSeparators(const QString& pathName) { - ( theWrappedObject->processEvents(flags, maximumTime)); + return (QDir::fromNativeSeparators(pathName)); } -void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject) +QDir PythonQtWrapper_QDir::static_QDir_home() { - ( theWrappedObject->wakeUp()); + return (QDir::home()); } +QString PythonQtWrapper_QDir::static_QDir_homePath() +{ + return (QDir::homePath()); +} +bool PythonQtWrapper_QDir::isAbsolute(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isAbsolute()); +} -PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QDir::static_QDir_isAbsolutePath(const QString& path) +{ + return (QDir::isAbsolutePath(path)); } -bool PythonQtShell_QEventTransition::event(QEvent* e0) + +bool PythonQtWrapper_QDir::isEmpty(QDir* theWrappedObject, QDir::Filters filters) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isEmpty(filters)); } - return QEventTransition::event(e0); + +bool PythonQtWrapper_QDir::isReadable(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); } -bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) + +bool PythonQtWrapper_QDir::isRelative(QDir* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isRelative()); } - return QEventTransition::eventTest(event0); + +bool PythonQtWrapper_QDir::static_QDir_isRelativePath(const QString& path) +{ + return (QDir::isRelativePath(path)); } -void PythonQtShell_QEventTransition::onTransition(QEvent* event0) + +bool PythonQtWrapper_QDir::isRoot(QDir* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isRoot()); } - QEventTransition::onTransition(event0); + +QChar PythonQtWrapper_QDir::static_QDir_listSeparator() +{ + return (QDir::listSeparator()); } -QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState) -{ -return new PythonQtShell_QEventTransition(object, type, sourceState); } -QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QState* sourceState) -{ -return new PythonQtShell_QEventTransition(sourceState); } +bool PythonQtWrapper_QDir::makeAbsolute(QDir* theWrappedObject) +{ + return ( theWrappedObject->makeAbsolute()); +} -const QMetaObject* PythonQtShell_QEventTransition::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QEventTransition::staticMetaObject); - } else { - return &QEventTransition::staticMetaObject; - } +bool PythonQtWrapper_QDir::static_QDir_match(const QString& filter, const QString& fileName) +{ + return (QDir::match(filter, fileName)); } -int PythonQtShell_QEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QEventTransition::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +bool PythonQtWrapper_QDir::static_QDir_match(const QStringList& filters, const QString& fileName) +{ + return (QDir::match(filters, fileName)); } -QObject* PythonQtWrapper_QEventTransition::eventSource(QEventTransition* theWrappedObject) const + +bool PythonQtWrapper_QDir::mkdir(QDir* theWrappedObject, const QString& dirName) const { - return ( theWrappedObject->eventSource()); + return ( theWrappedObject->mkdir(dirName)); } -QEvent::Type PythonQtWrapper_QEventTransition::eventType(QEventTransition* theWrappedObject) const +bool PythonQtWrapper_QDir::mkpath(QDir* theWrappedObject, const QString& dirPath) const { - return ( theWrappedObject->eventType()); + return ( theWrappedObject->mkpath(dirPath)); } -void PythonQtWrapper_QEventTransition::setEventSource(QEventTransition* theWrappedObject, QObject* object) +QStringList PythonQtWrapper_QDir::nameFilters(QDir* theWrappedObject) const { - ( theWrappedObject->setEventSource(object)); + return ( theWrappedObject->nameFilters()); } -void PythonQtWrapper_QEventTransition::setEventType(QEventTransition* theWrappedObject, QEvent::Type type) +QStringList PythonQtWrapper_QDir::static_QDir_nameFiltersFromString(const QString& nameFilter) { - ( theWrappedObject->setEventType(type)); + return (QDir::nameFiltersFromString(nameFilter)); } +bool PythonQtWrapper_QDir::__ne__(QDir* theWrappedObject, const QDir& dir) const +{ + return ( (*theWrappedObject)!= dir); +} +bool PythonQtWrapper_QDir::__eq__(QDir* theWrappedObject, const QDir& dir) const +{ + return ( (*theWrappedObject)== dir); +} -PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QString PythonQtWrapper_QDir::operator_subscript(QDir* theWrappedObject, int arg__1) const +{ + return ( (*theWrappedObject)[arg__1]); } -QStringList PythonQtShell_QFactoryInterface::keys() const + +QString PythonQtWrapper_QDir::path(QDir* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keys"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->path()); } - return QStringList(); + +void PythonQtWrapper_QDir::refresh(QDir* theWrappedObject) const +{ + ( theWrappedObject->refresh()); } -QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() -{ -return new PythonQtShell_QFactoryInterface(); } -QStringList PythonQtWrapper_QFactoryInterface::keys(QFactoryInterface* theWrappedObject) const +QString PythonQtWrapper_QDir::relativeFilePath(QDir* theWrappedObject, const QString& fileName) const { - return ( theWrappedObject->keys()); + return ( theWrappedObject->relativeFilePath(fileName)); } +bool PythonQtWrapper_QDir::remove(QDir* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->remove(fileName)); +} +bool PythonQtWrapper_QDir::removeRecursively(QDir* theWrappedObject) +{ + return ( theWrappedObject->removeRecursively()); +} -PythonQtShell_QFile::~PythonQtShell_QFile() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QDir::rename(QDir* theWrappedObject, const QString& oldName, const QString& newName) +{ + return ( theWrappedObject->rename(oldName, newName)); } -bool PythonQtShell_QFile::atEnd() const + +bool PythonQtWrapper_QDir::rmdir(QDir* theWrappedObject, const QString& dirName) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rmdir(dirName)); } - return QFile::atEnd(); + +bool PythonQtWrapper_QDir::rmpath(QDir* theWrappedObject, const QString& dirPath) const +{ + return ( theWrappedObject->rmpath(dirPath)); } -qint64 PythonQtShell_QFile::bytesAvailable() const + +QDir PythonQtWrapper_QDir::static_QDir_root() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return (QDir::root()); } - return QFile::bytesAvailable(); -} -qint64 PythonQtShell_QFile::bytesToWrite() const + +QString PythonQtWrapper_QDir::static_QDir_rootPath() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return (QDir::rootPath()); } - return QFile::bytesToWrite(); -} -bool PythonQtShell_QFile::canReadLine() const + +QStringList PythonQtWrapper_QDir::static_QDir_searchPaths(const QString& prefix) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return (QDir::searchPaths(prefix)); } - return QFile::canReadLine(); + +QChar PythonQtWrapper_QDir::static_QDir_separator() +{ + return (QDir::separator()); } -void PythonQtShell_QFile::close() + +bool PythonQtWrapper_QDir::static_QDir_setCurrent(const QString& path) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QDir::setCurrent(path)); } - QFile::close(); + +void PythonQtWrapper_QDir::setFilter(QDir* theWrappedObject, QDir::Filters filter) +{ + ( theWrappedObject->setFilter(filter)); } -QString PythonQtShell_QFile::fileName() const + +void PythonQtWrapper_QDir::setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fileName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setNameFilters(nameFilters)); } - return QFile::fileName(); + +void PythonQtWrapper_QDir::setPath(QDir* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setPath(path)); } -bool PythonQtShell_QFile::isSequential() const + +void PythonQtWrapper_QDir::static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + (QDir::setSearchPaths(prefix, searchPaths)); } - return QFile::isSequential(); + +void PythonQtWrapper_QDir::setSorting(QDir* theWrappedObject, QDir::SortFlags sort) +{ + ( theWrappedObject->setSorting(sort)); } -bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) + +QDir::SortFlags PythonQtWrapper_QDir::sorting(QDir* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sorting()); } - return QFile::open(flags0); + +void PythonQtWrapper_QDir::swap(QDir* theWrappedObject, QDir& other) +{ + ( theWrappedObject->swap(other)); } -QFileDevice::Permissions PythonQtShell_QFile::permissions() const + +QDir PythonQtWrapper_QDir::static_QDir_temp() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("permissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QDir::temp()); } - return QFile::permissions(); + +QString PythonQtWrapper_QDir::static_QDir_tempPath() +{ + return (QDir::tempPath()); } -qint64 PythonQtShell_QFile::pos() const + +QString PythonQtWrapper_QDir::static_QDir_toNativeSeparators(const QString& pathName) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return (QDir::toNativeSeparators(pathName)); } - return QFile::pos(); + +QString PythonQtWrapper_QDir::py_toString(QDir* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) + + + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(dir, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(path, filter, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(path, flags); } + +QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags) +{ +return new QDirIterator(path, nameFilters, filters, flags); } + +QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->fileInfo()); } - return QFile::readData(data0, maxlen1); + +QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); } -qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) + +QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFile::readLineData(data0, maxlen1); -} -bool PythonQtShell_QFile::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFile::reset(); -} -bool PythonQtShell_QFile::resize(qint64 sz0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QFile::resize(sz0); -} -bool PythonQtShell_QFile::seek(qint64 offset0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFile::seek(offset0); -} -bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QFile::setPermissions(permissionSpec0); + return ( theWrappedObject->filePath()); } -qint64 PythonQtShell_QFile::size() const + +bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFile::size(); + return ( theWrappedObject->hasNext()); } -bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) + +QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFile::waitForBytesWritten(msecs0); + return ( theWrappedObject->next()); } -bool PythonQtShell_QFile::waitForReadyRead(int msecs0) + +QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFile::waitForReadyRead(msecs0); + return ( theWrappedObject->path()); } -qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) + + + +QDynamicPropertyChangeEvent* PythonQtWrapper_QDynamicPropertyChangeEvent::new_QDynamicPropertyChangeEvent(const QByteArray& name) +{ +return new QDynamicPropertyChangeEvent(name); } + +QByteArray PythonQtWrapper_QDynamicPropertyChangeEvent::propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFile::writeData(data0, len1); + return ( theWrappedObject->propertyName()); } -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) + +QEasingCurve* PythonQtWrapper_QEasingCurve::new_QEasingCurve(QEasingCurve::Type type) { -return new PythonQtShell_QFile(name); } +return new QEasingCurve(type); } -QFile* PythonQtWrapper_QFile::new_QFile(const QString& name, QObject* parent) +QEasingCurve* PythonQtWrapper_QEasingCurve::new_QEasingCurve(const QEasingCurve& other) { -return new PythonQtShell_QFile(name, parent); } +return new QEasingCurve(other); } -const QMetaObject* PythonQtShell_QFile::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFile::staticMetaObject); - } else { - return &QFile::staticMetaObject; - } -} -int PythonQtShell_QFile::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFile::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QFile::static_QFile_copy(const QString& fileName, const QString& newName) +void PythonQtWrapper_QEasingCurve::addCubicBezierSegment(QEasingCurve* theWrappedObject, const QPointF& c1, const QPointF& c2, const QPointF& endPoint) { - return (QFile::copy(fileName, newName)); + ( theWrappedObject->addCubicBezierSegment(c1, c2, endPoint)); } -bool PythonQtWrapper_QFile::copy(QFile* theWrappedObject, const QString& newName) +void PythonQtWrapper_QEasingCurve::addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b) { - return ( theWrappedObject->copy(newName)); + ( theWrappedObject->addTCBSegment(nextPoint, t, c, b)); } -QString PythonQtWrapper_QFile::static_QFile_decodeName(const QByteArray& localFileName) +qreal PythonQtWrapper_QEasingCurve::amplitude(QEasingCurve* theWrappedObject) const { - return (QFile::decodeName(localFileName)); + return ( theWrappedObject->amplitude()); } -QByteArray PythonQtWrapper_QFile::static_QFile_encodeName(const QString& fileName) +bool PythonQtWrapper_QEasingCurve::__ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const { - return (QFile::encodeName(fileName)); + return ( (*theWrappedObject)!= other); } -bool PythonQtWrapper_QFile::exists(QFile* theWrappedObject) const +void PythonQtWrapper_QEasingCurve::writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->exists()); + arg__1 << (*theWrappedObject); } -bool PythonQtWrapper_QFile::static_QFile_exists(const QString& fileName) +QEasingCurve* PythonQtWrapper_QEasingCurve::operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other) { - return (QFile::exists(fileName)); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QFile::link(QFile* theWrappedObject, const QString& newName) +bool PythonQtWrapper_QEasingCurve::__eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const { - return ( theWrappedObject->link(newName)); + return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QFile::static_QFile_link(const QString& oldname, const QString& newName) +void PythonQtWrapper_QEasingCurve::readFrom(QEasingCurve* theWrappedObject, QDataStream& arg__1) { - return (QFile::link(oldname, newName)); + arg__1 >> (*theWrappedObject); } -bool PythonQtWrapper_QFile::moveToTrash(QFile* theWrappedObject) +qreal PythonQtWrapper_QEasingCurve::overshoot(QEasingCurve* theWrappedObject) const { - return ( theWrappedObject->moveToTrash()); + return ( theWrappedObject->overshoot()); } -bool PythonQtWrapper_QFile::static_QFile_moveToTrash(const QString& fileName, QString* pathInTrash) +qreal PythonQtWrapper_QEasingCurve::period(QEasingCurve* theWrappedObject) const { - return (QFile::moveToTrash(fileName, pathInTrash)); + return ( theWrappedObject->period()); } -bool PythonQtWrapper_QFile::open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags) +void PythonQtWrapper_QEasingCurve::setAmplitude(QEasingCurve* theWrappedObject, qreal amplitude) { - return ( theWrappedObject->open(fd, ioFlags, handleFlags)); + ( theWrappedObject->setAmplitude(amplitude)); } -QFileDevice::Permissions PythonQtWrapper_QFile::static_QFile_permissions(const QString& filename) +void PythonQtWrapper_QEasingCurve::setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot) { - return (QFile::permissions(filename)); + ( theWrappedObject->setOvershoot(overshoot)); } -bool PythonQtWrapper_QFile::remove(QFile* theWrappedObject) +void PythonQtWrapper_QEasingCurve::setPeriod(QEasingCurve* theWrappedObject, qreal period) { - return ( theWrappedObject->remove()); + ( theWrappedObject->setPeriod(period)); } -bool PythonQtWrapper_QFile::static_QFile_remove(const QString& fileName) +void PythonQtWrapper_QEasingCurve::setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type) { - return (QFile::remove(fileName)); + ( theWrappedObject->setType(type)); } -bool PythonQtWrapper_QFile::rename(QFile* theWrappedObject, const QString& newName) +void PythonQtWrapper_QEasingCurve::swap(QEasingCurve* theWrappedObject, QEasingCurve& other) { - return ( theWrappedObject->rename(newName)); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QFile::static_QFile_rename(const QString& oldName, const QString& newName) +QVector PythonQtWrapper_QEasingCurve::toCubicSpline(QEasingCurve* theWrappedObject) const { - return (QFile::rename(oldName, newName)); + return ( theWrappedObject->toCubicSpline()); } -bool PythonQtWrapper_QFile::static_QFile_resize(const QString& filename, qint64 sz) +QEasingCurve::Type PythonQtWrapper_QEasingCurve::type(QEasingCurve* theWrappedObject) const { - return (QFile::resize(filename, sz)); + return ( theWrappedObject->type()); } -void PythonQtWrapper_QFile::setFileName(QFile* theWrappedObject, const QString& name) +qreal PythonQtWrapper_QEasingCurve::valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const { - ( theWrappedObject->setFileName(name)); + return ( theWrappedObject->valueForProgress(progress)); } -bool PythonQtWrapper_QFile::static_QFile_setPermissions(const QString& filename, QFileDevice::Permissions permissionSpec) -{ - return (QFile::setPermissions(filename, permissionSpec)); +QString PythonQtWrapper_QEasingCurve::py_toString(QEasingCurve* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QString PythonQtWrapper_QFile::symLinkTarget(QFile* theWrappedObject) const + + +QElapsedTimer* PythonQtWrapper_QElapsedTimer::new_QElapsedTimer() +{ +return new QElapsedTimer(); } + +QElapsedTimer::ClockType PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_clockType() { - return ( theWrappedObject->symLinkTarget()); + return (QElapsedTimer::clockType()); } -QString PythonQtWrapper_QFile::static_QFile_symLinkTarget(const QString& fileName) +qint64 PythonQtWrapper_QElapsedTimer::elapsed(QElapsedTimer* theWrappedObject) const { - return (QFile::symLinkTarget(fileName)); + return ( theWrappedObject->elapsed()); } +bool PythonQtWrapper_QElapsedTimer::hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const +{ + return ( theWrappedObject->hasExpired(timeout)); +} +void PythonQtWrapper_QElapsedTimer::invalidate(QElapsedTimer* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} -PythonQtShell_QFileDevice::~PythonQtShell_QFileDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_isMonotonic() +{ + return (QElapsedTimer::isMonotonic()); } -bool PythonQtShell_QFileDevice::atEnd() const + +bool PythonQtWrapper_QElapsedTimer::isValid(QElapsedTimer* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - return QFileDevice::atEnd(); + +qint64 PythonQtWrapper_QElapsedTimer::msecsSinceReference(QElapsedTimer* theWrappedObject) const +{ + return ( theWrappedObject->msecsSinceReference()); } -qint64 PythonQtShell_QFileDevice::bytesAvailable() const + +qint64 PythonQtWrapper_QElapsedTimer::msecsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->msecsTo(other)); } - return QFileDevice::bytesAvailable(); + +qint64 PythonQtWrapper_QElapsedTimer::nsecsElapsed(QElapsedTimer* theWrappedObject) const +{ + return ( theWrappedObject->nsecsElapsed()); } -qint64 PythonQtShell_QFileDevice::bytesToWrite() const + +bool PythonQtWrapper_QElapsedTimer::__ne__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= other); } - return QFileDevice::bytesToWrite(); + +bool PythonQtWrapper_QElapsedTimer::__eq__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +{ + return ( (*theWrappedObject)== other); } -bool PythonQtShell_QFileDevice::canReadLine() const + +qint64 PythonQtWrapper_QElapsedTimer::restart(QElapsedTimer* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->restart()); } - return QFileDevice::canReadLine(); + +qint64 PythonQtWrapper_QElapsedTimer::secsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +{ + return ( theWrappedObject->secsTo(other)); } -void PythonQtShell_QFileDevice::close() + +void PythonQtWrapper_QElapsedTimer::start(QElapsedTimer* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->start()); } - QFileDevice::close(); + + + +PythonQtShell_QEvent::~PythonQtShell_QEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QString PythonQtShell_QFileDevice::fileName() const +QEvent* PythonQtWrapper_QEvent::new_QEvent(QEvent::Type type) +{ +return new PythonQtShell_QEvent(type); } + +QEvent* PythonQtWrapper_QEvent::new_QEvent(const QEvent& other) +{ +return new PythonQtShell_QEvent(other); } + +void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fileName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->accept()); } - return QFileDevice::fileName(); + +void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject) +{ + ( theWrappedObject->ignore()); } -bool PythonQtShell_QFileDevice::isSequential() const + +bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isAccepted()); } - return QFileDevice::isSequential(); + +QEvent* PythonQtWrapper_QEvent::operator_assign(QEvent* theWrappedObject, const QEvent& other) +{ + return &( (*theWrappedObject)= other); } -bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) + +int PythonQtWrapper_QEvent::static_QEvent_registerEventType(int hint) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return (QEvent::registerEventType(hint)); } - return QFileDevice::open(mode0); + +void PythonQtWrapper_QEvent::setAccepted(QEvent* theWrappedObject, bool accepted) +{ + ( theWrappedObject->setAccepted(accepted)); } -QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const + +bool PythonQtWrapper_QEvent::spontaneous(QEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("permissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::permissions(); -} -qint64 PythonQtShell_QFileDevice::pos() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::pos(); -} -qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::readData(data0, maxlen1); -} -qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::readLineData(data0, maxlen1); -} -bool PythonQtShell_QFileDevice::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::reset(); -} -bool PythonQtShell_QFileDevice::resize(qint64 sz0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::resize(sz0); -} -bool PythonQtShell_QFileDevice::seek(qint64 offset0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::seek(offset0); -} -bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::setPermissions(permissionSpec0); -} -qint64 PythonQtShell_QFileDevice::size() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::size(); -} -bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::writeData(data0, len1); -} -QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice() -{ -return new PythonQtShell_QFileDevice(); } - -QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice(QObject* parent) -{ -return new PythonQtShell_QFileDevice(parent); } - -const QMetaObject* PythonQtShell_QFileDevice::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileDevice::staticMetaObject); - } else { - return &QFileDevice::staticMetaObject; - } -} -int PythonQtShell_QFileDevice::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFileDevice::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QFileDevice::FileError PythonQtWrapper_QFileDevice::error(QFileDevice* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QString PythonQtWrapper_QFileDevice::fileName(QFileDevice* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -QDateTime PythonQtWrapper_QFileDevice::fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const -{ - return ( theWrappedObject->fileTime(time)); -} - -bool PythonQtWrapper_QFileDevice::flush(QFileDevice* theWrappedObject) -{ - return ( theWrappedObject->flush()); -} - -int PythonQtWrapper_QFileDevice::handle(QFileDevice* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -uchar* PythonQtWrapper_QFileDevice::map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags) -{ - return ( theWrappedObject->map(offset, size, flags)); -} - -QFileDevice::Permissions PythonQtWrapper_QFileDevice::permissions(QFileDevice* theWrappedObject) const -{ - return ( theWrappedObject->permissions()); -} - -bool PythonQtWrapper_QFileDevice::resize(QFileDevice* theWrappedObject, qint64 sz) -{ - return ( theWrappedObject->resize(sz)); -} - -bool PythonQtWrapper_QFileDevice::setFileTime(QFileDevice* theWrappedObject, const QDateTime& newDate, QFileDevice::FileTime fileTime) -{ - return ( theWrappedObject->setFileTime(newDate, fileTime)); -} - -bool PythonQtWrapper_QFileDevice::setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec) -{ - return ( theWrappedObject->setPermissions(permissionSpec)); -} - -bool PythonQtWrapper_QFileDevice::unmap(QFileDevice* theWrappedObject, uchar* address) -{ - return ( theWrappedObject->unmap(address)); -} - -void PythonQtWrapper_QFileDevice::unsetError(QFileDevice* theWrappedObject) -{ - ( theWrappedObject->unsetError()); -} - - - -QFileSelector* PythonQtWrapper_QFileSelector::new_QFileSelector(QObject* parent) -{ -return new QFileSelector(parent); } - -QStringList PythonQtWrapper_QFileSelector::allSelectors(QFileSelector* theWrappedObject) const -{ - return ( theWrappedObject->allSelectors()); -} - -QStringList PythonQtWrapper_QFileSelector::extraSelectors(QFileSelector* theWrappedObject) const -{ - return ( theWrappedObject->extraSelectors()); -} - -QString PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QString& filePath) const -{ - return ( theWrappedObject->select(filePath)); -} - -QUrl PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QUrl& filePath) const -{ - return ( theWrappedObject->select(filePath)); -} - -void PythonQtWrapper_QFileSelector::setExtraSelectors(QFileSelector* theWrappedObject, const QStringList& list) -{ - ( theWrappedObject->setExtraSelectors(list)); -} - - - -QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(QObject* parent) -{ -return new QFileSystemWatcher(parent); } - -QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(const QStringList& paths, QObject* parent) -{ -return new QFileSystemWatcher(paths, parent); } - -bool PythonQtWrapper_QFileSystemWatcher::addPath(QFileSystemWatcher* theWrappedObject, const QString& file) -{ - return ( theWrappedObject->addPath(file)); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) -{ - return ( theWrappedObject->addPaths(files)); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::directories(QFileSystemWatcher* theWrappedObject) const -{ - return ( theWrappedObject->directories()); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::files(QFileSystemWatcher* theWrappedObject) const -{ - return ( theWrappedObject->files()); -} - -bool PythonQtWrapper_QFileSystemWatcher::removePath(QFileSystemWatcher* theWrappedObject, const QString& file) -{ - return ( theWrappedObject->removePath(file)); -} - -QStringList PythonQtWrapper_QFileSystemWatcher::removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) -{ - return ( theWrappedObject->removePaths(files)); -} - - - -PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QFinalState::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFinalState::event(e0); -} -void PythonQtShell_QFinalState::onEntry(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFinalState::onEntry(event0); -} -void PythonQtShell_QFinalState::onExit(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFinalState::onExit(event0); -} -QFinalState* PythonQtWrapper_QFinalState::new_QFinalState(QState* parent) -{ -return new PythonQtShell_QFinalState(parent); } - -const QMetaObject* PythonQtShell_QFinalState::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFinalState::staticMetaObject); - } else { - return &QFinalState::staticMetaObject; - } -} -int PythonQtShell_QFinalState::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFinalState::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QHistoryState::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QHistoryState::event(e0); -} -void PythonQtShell_QHistoryState::onEntry(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QHistoryState::onEntry(event0); -} -void PythonQtShell_QHistoryState::onExit(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QHistoryState::onExit(event0); -} -QHistoryState* PythonQtWrapper_QHistoryState::new_QHistoryState(QHistoryState::HistoryType type, QState* parent) -{ -return new PythonQtShell_QHistoryState(type, parent); } - -QHistoryState* PythonQtWrapper_QHistoryState::new_QHistoryState(QState* parent) -{ -return new PythonQtShell_QHistoryState(parent); } - -const QMetaObject* PythonQtShell_QHistoryState::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHistoryState::staticMetaObject); - } else { - return &QHistoryState::staticMetaObject; - } -} -int PythonQtShell_QHistoryState::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QHistoryState::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QAbstractState* PythonQtWrapper_QHistoryState::defaultState(QHistoryState* theWrappedObject) const -{ - return ( theWrappedObject->defaultState()); -} - -QAbstractTransition* PythonQtWrapper_QHistoryState::defaultTransition(QHistoryState* theWrappedObject) const -{ - return ( theWrappedObject->defaultTransition()); -} - -QHistoryState::HistoryType PythonQtWrapper_QHistoryState::historyType(QHistoryState* theWrappedObject) const -{ - return ( theWrappedObject->historyType()); -} - -void PythonQtWrapper_QHistoryState::setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state) -{ - ( theWrappedObject->setDefaultState(state)); -} - -void PythonQtWrapper_QHistoryState::setDefaultTransition(QHistoryState* theWrappedObject, QAbstractTransition* transition) -{ - ( theWrappedObject->setDefaultTransition(transition)); -} - -void PythonQtWrapper_QHistoryState::setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type) -{ - ( theWrappedObject->setHistoryType(type)); -} - - - -PythonQtShell_QIODevice::~PythonQtShell_QIODevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QIODevice::atEnd() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::atEnd(); -} -qint64 PythonQtShell_QIODevice::bytesAvailable() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::bytesAvailable(); -} -qint64 PythonQtShell_QIODevice::bytesToWrite() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::bytesToWrite(); -} -bool PythonQtShell_QIODevice::canReadLine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::canReadLine(); -} -void PythonQtShell_QIODevice::close() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QIODevice::close(); -} -bool PythonQtShell_QIODevice::isSequential() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::isSequential(); -} -bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::open(mode0); -} -qint64 PythonQtShell_QIODevice::pos() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::pos(); -} -qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return qint64(); -} -qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::readLineData(data0, maxlen1); -} -bool PythonQtShell_QIODevice::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::reset(); -} -bool PythonQtShell_QIODevice::seek(qint64 pos0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::seek(pos0); -} -qint64 PythonQtShell_QIODevice::size() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::size(); -} -bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIODevice::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return qint64(); -} -QIODevice* PythonQtWrapper_QIODevice::new_QIODevice() -{ -return new PythonQtShell_QIODevice(); } - -QIODevice* PythonQtWrapper_QIODevice::new_QIODevice(QObject* parent) -{ -return new PythonQtShell_QIODevice(parent); } - -const QMetaObject* PythonQtShell_QIODevice::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIODevice::staticMetaObject); - } else { - return &QIODevice::staticMetaObject; - } -} -int PythonQtShell_QIODevice::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QIODevice::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QIODevice::atEnd(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->atEnd()); -} - -qint64 PythonQtWrapper_QIODevice::bytesAvailable(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->bytesAvailable()); -} - -qint64 PythonQtWrapper_QIODevice::bytesToWrite(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->bytesToWrite()); -} - -bool PythonQtWrapper_QIODevice::canReadLine(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->canReadLine()); -} - -void PythonQtWrapper_QIODevice::close(QIODevice* theWrappedObject) -{ - ( theWrappedObject->close()); -} - -void PythonQtWrapper_QIODevice::commitTransaction(QIODevice* theWrappedObject) -{ - ( theWrappedObject->commitTransaction()); -} - -int PythonQtWrapper_QIODevice::currentReadChannel(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->currentReadChannel()); -} - -int PythonQtWrapper_QIODevice::currentWriteChannel(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->currentWriteChannel()); -} - -QString PythonQtWrapper_QIODevice::errorString(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -bool PythonQtWrapper_QIODevice::getChar(QIODevice* theWrappedObject, char* c) -{ - return ( theWrappedObject->getChar(c)); -} - -bool PythonQtWrapper_QIODevice::isOpen(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isOpen()); -} - -bool PythonQtWrapper_QIODevice::isReadable(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -bool PythonQtWrapper_QIODevice::isSequential(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isSequential()); -} - -bool PythonQtWrapper_QIODevice::isTextModeEnabled(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isTextModeEnabled()); -} - -bool PythonQtWrapper_QIODevice::isTransactionStarted(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isTransactionStarted()); -} - -bool PythonQtWrapper_QIODevice::isWritable(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -bool PythonQtWrapper_QIODevice::open(QIODevice* theWrappedObject, QIODevice::OpenMode mode) -{ - return ( theWrappedObject->open(mode)); -} - -QIODevice::OpenMode PythonQtWrapper_QIODevice::openMode(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->openMode()); -} - -QByteArray PythonQtWrapper_QIODevice::peek(QIODevice* theWrappedObject, qint64 maxlen) -{ - return ( theWrappedObject->peek(maxlen)); -} - -qint64 PythonQtWrapper_QIODevice::pos(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -bool PythonQtWrapper_QIODevice::putChar(QIODevice* theWrappedObject, char c) -{ - return ( theWrappedObject->putChar(c)); -} - -QByteArray PythonQtWrapper_QIODevice::read(QIODevice* theWrappedObject, qint64 maxlen) -{ - return ( theWrappedObject->read(maxlen)); -} - -QByteArray PythonQtWrapper_QIODevice::readAll(QIODevice* theWrappedObject) -{ - return ( theWrappedObject->readAll()); -} - -int PythonQtWrapper_QIODevice::readChannelCount(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->readChannelCount()); -} - -qint64 PythonQtWrapper_QIODevice::readData(QIODevice* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readData(data, maxlen)); -} - -QByteArray PythonQtWrapper_QIODevice::readLine(QIODevice* theWrappedObject, qint64 maxlen) -{ - return ( theWrappedObject->readLine(maxlen)); -} - -qint64 PythonQtWrapper_QIODevice::readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readLineData(data, maxlen)); -} - -bool PythonQtWrapper_QIODevice::reset(QIODevice* theWrappedObject) -{ - return ( theWrappedObject->reset()); -} - -void PythonQtWrapper_QIODevice::rollbackTransaction(QIODevice* theWrappedObject) -{ - ( theWrappedObject->rollbackTransaction()); -} - -bool PythonQtWrapper_QIODevice::seek(QIODevice* theWrappedObject, qint64 pos) -{ - return ( theWrappedObject->seek(pos)); -} - -void PythonQtWrapper_QIODevice::setCurrentReadChannel(QIODevice* theWrappedObject, int channel) -{ - ( theWrappedObject->setCurrentReadChannel(channel)); -} - -void PythonQtWrapper_QIODevice::setCurrentWriteChannel(QIODevice* theWrappedObject, int channel) -{ - ( theWrappedObject->setCurrentWriteChannel(channel)); -} - -void PythonQtWrapper_QIODevice::setErrorString(QIODevice* theWrappedObject, const QString& errorString) -{ - ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setErrorString(errorString)); -} - -void PythonQtWrapper_QIODevice::setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode) -{ - ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setOpenMode(openMode)); -} - -void PythonQtWrapper_QIODevice::setTextModeEnabled(QIODevice* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setTextModeEnabled(enabled)); -} - -qint64 PythonQtWrapper_QIODevice::size(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -qint64 PythonQtWrapper_QIODevice::skip(QIODevice* theWrappedObject, qint64 maxSize) -{ - return ( theWrappedObject->skip(maxSize)); -} - -void PythonQtWrapper_QIODevice::startTransaction(QIODevice* theWrappedObject) -{ - ( theWrappedObject->startTransaction()); -} - -void PythonQtWrapper_QIODevice::ungetChar(QIODevice* theWrappedObject, char c) -{ - ( theWrappedObject->ungetChar(c)); -} - -bool PythonQtWrapper_QIODevice::waitForBytesWritten(QIODevice* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForBytesWritten(msecs)); -} - -bool PythonQtWrapper_QIODevice::waitForReadyRead(QIODevice* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForReadyRead(msecs)); -} - -qint64 PythonQtWrapper_QIODevice::write(QIODevice* theWrappedObject, const QByteArray& data) -{ - return ( theWrappedObject->write(data)); -} - -qint64 PythonQtWrapper_QIODevice::write(QIODevice* theWrappedObject, const char* data) -{ - return ( theWrappedObject->write(data)); -} - -int PythonQtWrapper_QIODevice::writeChannelCount(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->writeChannelCount()); -} - -qint64 PythonQtWrapper_QIODevice::writeData(QIODevice* theWrappedObject, const char* data, qint64 len) -{ - return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_writeData(data, len)); -} - - - -PythonQtShell_QIdentityProxyModel::~PythonQtShell_QIdentityProxyModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("buddy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::buddy(index0); -} -bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canDropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); -} -bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canFetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::canFetchMore(parent0); -} -int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("columnCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::columnCount(parent0); -} -QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&proxyIndex0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::data(proxyIndex0, role1); -} -bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::dropMimeData(data0, action1, row2, column3, parent4); -} -void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QIdentityProxyModel::fetchMore(parent0); -} -Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::flags(index0); -} -bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasChildren"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::hasChildren(parent0); -} -QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::headerData(section0, orientation1, role2); -} -QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::index(row0, column1, parent2); -} -bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::insertColumns(column0, count1, parent2); -} -bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::insertRows(row0, count1, parent2); -} -QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::itemData(index0); -} -QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapFromSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&sourceIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::mapFromSource(sourceIndex0); -} -QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionFromSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::mapSelectionFromSource(selection0); -} -QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionToSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::mapSelectionToSource(selection0); -} -QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapToSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&proxyIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::mapToSource(proxyIndex0); -} -QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("match"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::match(start0, role1, value2, hits3, flags4); -} -QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::mimeData(indexes0); -} -QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::mimeTypes(); -} -bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); -} -bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); -} -QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("parent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::parent(child0); -} -bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeColumns"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::removeColumns(column0, count1, parent2); -} -bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeRows"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QIdentityProxyModel::removeRows(row0, count1, parent2); + return ( theWrappedObject->spontaneous()); } -void PythonQtShell_QIdentityProxyModel::revert() + +QEvent::Type PythonQtWrapper_QEvent::type(QEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("revert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QIdentityProxyModel::revert(); + return ( theWrappedObject->type()); } -QHash PythonQtShell_QIdentityProxyModel::roleNames() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QHash"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + +QString PythonQtWrapper_QEvent::py_toString(QEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } - return QIdentityProxyModel::roleNames(); + + + +PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QEventLoop::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::rowCount(parent0); + QEventLoop::childEvent(event0); } -bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +void PythonQtShell_QEventLoop::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&value1, (void*)&role2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::setData(index0, value1, role2); + QEventLoop::customEvent(event0); } -bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +bool PythonQtShell_QEventLoop::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8357,32 +6275,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::setHeaderData(section0, orientation1, value2, role3); + return QEventLoop::event(event0); } -bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +bool PythonQtShell_QEventLoop::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setItemData"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8390,21 +6308,21 @@ if (_wrapper) { } } } - return QIdentityProxyModel::setItemData(index0, roles1); + return QEventLoop::eventFilter(watched0, event1); } -void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSourceModel"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8412,54 +6330,96 @@ if (_wrapper) { } } } - QIdentityProxyModel::setSourceModel(sourceModel0); + QEventLoop::timerEvent(event0); +} +QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent) +{ +return new PythonQtShell_QEventLoop(parent); } + +const QMetaObject* PythonQtShell_QEventLoop::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QEventLoop::staticMetaObject); + } else { + return &QEventLoop::staticMetaObject; + } +} +int PythonQtShell_QEventLoop::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QEventLoop::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +{ + return ( theWrappedObject->exec(flags)); +} + +void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode) +{ + ( theWrappedObject->exit(returnCode)); +} + +bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +{ + return ( theWrappedObject->processEvents(flags)); +} + +void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime) +{ + ( theWrappedObject->processEvents(flags, maximumTime)); +} + +void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject) +{ + ( theWrappedObject->wakeUp()); +} + + + +PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +void PythonQtShell_QEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sibling"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&row0, (void*)&column1, (void*)&idx2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::sibling(row0, column1, idx2); + QEventTransition::childEvent(event0); } -void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) +void PythonQtShell_QEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sort"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8467,32 +6427,32 @@ if (_wrapper) { } } } - QIdentityProxyModel::sort(column0, order1); + QEventTransition::customEvent(event0); } -QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const +bool PythonQtShell_QEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("span"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8500,32 +6460,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::span(index0); + return QEventTransition::event(e0); } -bool PythonQtShell_QIdentityProxyModel::submit() +bool PythonQtShell_QEventTransition::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("submit"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8533,32 +6493,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::submit(); + return QEventTransition::eventFilter(watched0, event1); } -Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const +bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); + static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8566,71 +6526,139 @@ if (_wrapper) { } } } - return QIdentityProxyModel::supportedDragActions(); + return QEventTransition::eventTest(event0); } -Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const +void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; + } else { + PyErr_Clear(); + } + } +} + QEventTransition::onTransition(event0); +} +void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::supportedDropActions(); + QEventTransition::timerEvent(event0); } -QIdentityProxyModel* PythonQtWrapper_QIdentityProxyModel::new_QIdentityProxyModel(QObject* parent) +QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState) { -return new PythonQtShell_QIdentityProxyModel(parent); } +return new PythonQtShell_QEventTransition(object, type, sourceState); } + +QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QState* sourceState) +{ +return new PythonQtShell_QEventTransition(sourceState); } -const QMetaObject* PythonQtShell_QIdentityProxyModel::metaObject() const { +const QMetaObject* PythonQtShell_QEventTransition::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIdentityProxyModel::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QEventTransition::staticMetaObject); } else { - return &QIdentityProxyModel::staticMetaObject; + return &QEventTransition::staticMetaObject; } } -int PythonQtShell_QIdentityProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QIdentityProxyModel::qt_metacall(call, id, args); +int PythonQtShell_QEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QEventTransition::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } +QObject* PythonQtWrapper_QEventTransition::eventSource(QEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->eventSource()); +} + +QEvent::Type PythonQtWrapper_QEventTransition::eventType(QEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->eventType()); +} + +void PythonQtWrapper_QEventTransition::setEventSource(QEventTransition* theWrappedObject, QObject* object) +{ + ( theWrappedObject->setEventSource(object)); +} +void PythonQtWrapper_QEventTransition::setEventType(QEventTransition* theWrappedObject, QEvent::Type type) +{ + ( theWrappedObject->setEventType(type)); +} -PythonQtShell_QJsonParseError::~PythonQtShell_QJsonParseError() { + + +PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QJsonParseError* PythonQtWrapper_QJsonParseError::new_QJsonParseError() +QStringList PythonQtShell_QFactoryInterface::keys() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keys"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() { -return new PythonQtShell_QJsonParseError(); } +return new PythonQtShell_QFactoryInterface(); } -QString PythonQtWrapper_QJsonParseError::errorString(QJsonParseError* theWrappedObject) const +QStringList PythonQtWrapper_QFactoryInterface::keys(QFactoryInterface* theWrappedObject) const { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->keys()); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.h similarity index 57% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.h rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.h index afe5f456..99957b2f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.h @@ -1,6 +1,5 @@ #include #include -#include #include #include #include @@ -10,53 +9,65 @@ #include #include #include +#include #include +#include #include +#include +#include #include #include #include #include #include +#include +#include #include +#include +#include #include #include #include #include -#include -#include -#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_QAbstractAnimation : public QAbstractAnimation { public: - PythonQtShell_QAbstractAnimation(QObject* parent = nullptr):QAbstractAnimation(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractAnimation(QObject* parent = nullptr):QAbstractAnimation(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractAnimation(); + ~PythonQtShell_QAbstractAnimation() override; -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int currentTime) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAnimation : public QAbstractAnimation @@ -80,14 +91,13 @@ enum DeletionPolicy{ KeepWhenStopped = QAbstractAnimation::KeepWhenStopped, DeleteWhenStopped = QAbstractAnimation::DeleteWhenStopped}; public slots: QAbstractAnimation* new_QAbstractAnimation(QObject* parent = nullptr); -void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; } +void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; } int currentLoop(QAbstractAnimation* theWrappedObject) const; int currentLoopTime(QAbstractAnimation* theWrappedObject) const; int currentTime(QAbstractAnimation* theWrappedObject) const; QAbstractAnimation::Direction direction(QAbstractAnimation* theWrappedObject) const; int duration(QAbstractAnimation* theWrappedObject) const; int py_q_duration(QAbstractAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->py_q_duration());} - bool event(QAbstractAnimation* theWrappedObject, QEvent* event); bool py_q_event(QAbstractAnimation* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->py_q_event(event));} QAnimationGroup* group(QAbstractAnimation* theWrappedObject) const; int loopCount(QAbstractAnimation* theWrappedObject) const; @@ -110,48 +120,53 @@ void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; } class PythonQtShell_QAbstractItemModel : public QAbstractItemModel { public: - PythonQtShell_QAbstractItemModel(QObject* parent = nullptr):QAbstractItemModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemModel(QObject* parent = nullptr):QAbstractItemModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel @@ -219,7 +234,7 @@ class PythonQtWrapper_QAbstractItemModel : public QObject public: public slots: QAbstractItemModel* new_QAbstractItemModel(QObject* parent = nullptr); -void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } +void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } void beginInsertColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginInsertRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last); bool beginMoveColumns(QAbstractItemModel* theWrappedObject, const QModelIndex& sourceParent, int sourceFirst, int sourceLast, const QModelIndex& destinationParent, int destinationColumn); @@ -323,45 +338,50 @@ void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; } class PythonQtShell_QAbstractListModel : public QAbstractListModel { public: - PythonQtShell_QAbstractListModel(QObject* parent = nullptr):QAbstractListModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractListModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -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 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 = 0, 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractListModel(QObject* parent = nullptr):QAbstractListModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractListModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractListModel : public QAbstractListModel @@ -377,7 +397,7 @@ class PythonQtWrapper_QAbstractListModel : public QObject public: public slots: QAbstractListModel* new_QAbstractListModel(QObject* parent = nullptr); -void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } +void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } bool py_q_dropMimeData(QAbstractListModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} Qt::ItemFlags py_q_flags(QAbstractListModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->py_q_flags(index));} QModelIndex py_q_index(QAbstractListModel* theWrappedObject, int row, int column = 0, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractListModel*)theWrappedObject)->py_q_index(row, column, parent));} @@ -391,17 +411,21 @@ void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; } class PythonQtShell_QAbstractState : public QAbstractState { public: - PythonQtShell_QAbstractState(QState* parent = nullptr):QAbstractState(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractState(QState* parent = nullptr):QAbstractState(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractState(); + ~PythonQtShell_QAbstractState() override; -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractState : public QAbstractState @@ -419,9 +443,8 @@ class PythonQtWrapper_QAbstractState : public QObject public: public slots: QAbstractState* new_QAbstractState(QState* parent = nullptr); -void delete_QAbstractState(QAbstractState* obj) { delete obj; } +void delete_QAbstractState(QAbstractState* obj) { delete obj; } bool active(QAbstractState* theWrappedObject) const; - bool event(QAbstractState* theWrappedObject, QEvent* e); bool py_q_event(QAbstractState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->py_q_event(e));} QStateMachine* machine(QAbstractState* theWrappedObject) const; void onEntry(QAbstractState* theWrappedObject, QEvent* event); @@ -438,17 +461,21 @@ void delete_QAbstractState(QAbstractState* obj) { delete obj; } class PythonQtShell_QAbstractTransition : public QAbstractTransition { public: - PythonQtShell_QAbstractTransition(QState* sourceState = nullptr):QAbstractTransition(sourceState),_wrapper(NULL) {}; + PythonQtShell_QAbstractTransition(QState* sourceState = nullptr):QAbstractTransition(sourceState),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractTransition(); + ~PythonQtShell_QAbstractTransition() override; -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTransition : public QAbstractTransition @@ -466,10 +493,9 @@ class PythonQtWrapper_QAbstractTransition : public QObject public: public slots: QAbstractTransition* new_QAbstractTransition(QState* sourceState = nullptr); -void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; } +void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; } void addAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation); QList animations(QAbstractTransition* theWrappedObject) const; - bool event(QAbstractTransition* theWrappedObject, QEvent* e); bool py_q_event(QAbstractTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->py_q_event(e));} bool eventTest(QAbstractTransition* theWrappedObject, QEvent* event); bool py_q_eventTest(QAbstractTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->py_q_eventTest(event));} @@ -493,19 +519,23 @@ void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; } class PythonQtShell_QAnimationGroup : public QAnimationGroup { public: - PythonQtShell_QAnimationGroup(QObject* parent = nullptr):QAnimationGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QAnimationGroup(QObject* parent = nullptr):QAnimationGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAnimationGroup(); + ~PythonQtShell_QAnimationGroup() override; -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int currentTime) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAnimationGroup : public QAnimationGroup @@ -519,7 +549,7 @@ class PythonQtWrapper_QAnimationGroup : public QObject public: public slots: QAnimationGroup* new_QAnimationGroup(QObject* parent = nullptr); -void delete_QAnimationGroup(QAnimationGroup* obj) { delete obj; } +void delete_QAnimationGroup(QAnimationGroup* obj) { delete obj; } void addAnimation(QAnimationGroup* theWrappedObject, PythonQtPassOwnershipToCPP animation); QAbstractAnimation* animationAt(QAnimationGroup* theWrappedObject, int index) const; int animationCount(QAnimationGroup* theWrappedObject) const; @@ -540,7 +570,7 @@ class PythonQtWrapper_QApplicationStateChangeEvent : public QObject public: public slots: QApplicationStateChangeEvent* new_QApplicationStateChangeEvent(Qt::ApplicationState state); -void delete_QApplicationStateChangeEvent(QApplicationStateChangeEvent* obj) { delete obj; } +void delete_QApplicationStateChangeEvent(QApplicationStateChangeEvent* obj) { delete obj; } Qt::ApplicationState applicationState(QApplicationStateChangeEvent* theWrappedObject) const; }; @@ -548,36 +578,92 @@ void delete_QApplicationStateChangeEvent(QApplicationStateChangeEvent* obj) { de +class PythonQtShell_QBasicMutex : public QBasicMutex +{ +public: + PythonQtShell_QBasicMutex():QBasicMutex(),_wrapper(nullptr) {}; + + ~PythonQtShell_QBasicMutex(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QBasicMutex : public QObject +{ Q_OBJECT +public: +public slots: +QBasicMutex* new_QBasicMutex(); +void delete_QBasicMutex(QBasicMutex* obj) { delete obj; } + bool isRecursive(QBasicMutex* theWrappedObject); + bool isRecursive(QBasicMutex* theWrappedObject) const; + void lock(QBasicMutex* theWrappedObject); + bool tryLock(QBasicMutex* theWrappedObject); + bool try_lock(QBasicMutex* theWrappedObject); + void unlock(QBasicMutex* theWrappedObject); +}; + + + + + +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; + void start(QBasicTimer* theWrappedObject, int msec, QObject* obj); + void start(QBasicTimer* theWrappedObject, int msec, Qt::TimerType timerType, QObject* obj); + void stop(QBasicTimer* theWrappedObject); + void swap(QBasicTimer* theWrappedObject, QBasicTimer& other); + int timerId(QBasicTimer* theWrappedObject) const; +}; + + + + + class PythonQtShell_QBuffer : public QBuffer { public: - PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = nullptr):QBuffer(buf, parent),_wrapper(NULL) {}; - PythonQtShell_QBuffer(QObject* parent = nullptr):QBuffer(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QBuffer(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectNotify(const QMetaMethod& arg__1); -virtual void disconnectNotify(const QMetaMethod& arg__1); -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 bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = nullptr):QBuffer(buf, parent),_wrapper(nullptr) {}; + PythonQtShell_QBuffer(QObject* parent = nullptr):QBuffer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QBuffer() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectNotify(const QMetaMethod& arg__1) override; +void customEvent(QEvent* event) override; +void disconnectNotify(const QMetaMethod& arg__1) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode openMode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 off) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QBuffer : public QBuffer @@ -605,7 +691,7 @@ class PythonQtWrapper_QBuffer : public QObject public slots: QBuffer* new_QBuffer(QByteArray* buf, QObject* parent = nullptr); QBuffer* new_QBuffer(QObject* parent = nullptr); -void delete_QBuffer(QBuffer* obj) { delete obj; } +void delete_QBuffer(QBuffer* obj) { delete obj; } bool py_q_atEnd(QBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_atEnd());} const QByteArray* buffer(QBuffer* theWrappedObject) const; bool py_q_canReadLine(QBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->py_q_canReadLine());} @@ -637,7 +723,7 @@ QByteArrayMatcher* new_QByteArrayMatcher(); QByteArrayMatcher* new_QByteArrayMatcher(const QByteArray& pattern); QByteArrayMatcher* new_QByteArrayMatcher(const QByteArrayMatcher& other); QByteArrayMatcher* new_QByteArrayMatcher(const char* pattern, int length); -void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } +void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } int indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from = 0) const; int indexIn(QByteArrayMatcher* theWrappedObject, const char* str, int len, int from = 0) const; QByteArray pattern(QByteArrayMatcher* theWrappedObject) const; @@ -651,12 +737,12 @@ void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } class PythonQtShell_QChildEvent : public QChildEvent { public: - PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {}; + PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(nullptr) {}; - ~PythonQtShell_QChildEvent(); + ~PythonQtShell_QChildEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QChildEvent : public QObject @@ -664,7 +750,7 @@ class PythonQtWrapper_QChildEvent : public QObject public: public slots: QChildEvent* new_QChildEvent(QEvent::Type type, QObject* child); -void delete_QChildEvent(QChildEvent* obj) { delete obj; } +void delete_QChildEvent(QChildEvent* obj) { delete obj; } bool added(QChildEvent* theWrappedObject) const; QObject* child(QChildEvent* theWrappedObject) const; bool polished(QChildEvent* theWrappedObject) const; @@ -675,6 +761,82 @@ void delete_QChildEvent(QChildEvent* obj) { delete obj; } +class PythonQtWrapper_QCollator : public QObject +{ Q_OBJECT +public: +public slots: +QCollator* new_QCollator(); +QCollator* new_QCollator(const QCollator& arg__1); +QCollator* new_QCollator(const QLocale& locale); +void delete_QCollator(QCollator* obj) { delete obj; } + Qt::CaseSensitivity caseSensitivity(QCollator* theWrappedObject) const; + int compare(QCollator* theWrappedObject, const QChar* s1, int len1, const QChar* s2, int len2) const; + int compare(QCollator* theWrappedObject, const QString& s1, const QString& s2) const; + int compare(QCollator* theWrappedObject, const QStringRef& s1, const QStringRef& s2) const; + bool ignorePunctuation(QCollator* theWrappedObject) const; + QLocale locale(QCollator* theWrappedObject) const; + bool numericMode(QCollator* theWrappedObject) const; + bool operator_cast_(QCollator* theWrappedObject, const QString& s1, const QString& s2) const; + QCollator* operator_assign(QCollator* theWrappedObject, const QCollator& arg__1); + void setCaseSensitivity(QCollator* theWrappedObject, Qt::CaseSensitivity cs); + void setIgnorePunctuation(QCollator* theWrappedObject, bool on); + void setLocale(QCollator* theWrappedObject, const QLocale& locale); + void setNumericMode(QCollator* theWrappedObject, bool on); + QCollatorSortKey sortKey(QCollator* theWrappedObject, const QString& string) const; + void swap(QCollator* theWrappedObject, QCollator& other); +}; + + + + + +class PythonQtWrapper_QCollatorSortKey : public QObject +{ Q_OBJECT +public: +public slots: +QCollatorSortKey* new_QCollatorSortKey(const QCollatorSortKey& other); +void delete_QCollatorSortKey(QCollatorSortKey* obj) { delete obj; } + int compare(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& key) const; + bool __lt__(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& rhs); + QCollatorSortKey* operator_assign(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& other); + void swap(QCollatorSortKey* theWrappedObject, QCollatorSortKey& other); +}; + + + + + +class PythonQtWrapper_QCommandLineOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Flag ) +enum Flag{ + HiddenFromHelp = QCommandLineOption::HiddenFromHelp, ShortOptionStyle = QCommandLineOption::ShortOptionStyle}; +public slots: +QCommandLineOption* new_QCommandLineOption(const QCommandLineOption& other); +QCommandLineOption* new_QCommandLineOption(const QString& name); +QCommandLineOption* new_QCommandLineOption(const QString& name, const QString& description, const QString& valueName = QString(), const QString& defaultValue = QString()); +QCommandLineOption* new_QCommandLineOption(const QStringList& names); +QCommandLineOption* new_QCommandLineOption(const QStringList& names, const QString& description, const QString& valueName = QString(), const QString& defaultValue = QString()); +void delete_QCommandLineOption(QCommandLineOption* obj) { delete obj; } + QStringList defaultValues(QCommandLineOption* theWrappedObject) const; + QString description(QCommandLineOption* theWrappedObject) const; + bool isHidden(QCommandLineOption* theWrappedObject) const; + QStringList names(QCommandLineOption* theWrappedObject) const; + QCommandLineOption* operator_assign(QCommandLineOption* theWrappedObject, const QCommandLineOption& other); + void setDefaultValue(QCommandLineOption* theWrappedObject, const QString& defaultValue); + void setDefaultValues(QCommandLineOption* theWrappedObject, const QStringList& defaultValues); + void setDescription(QCommandLineOption* theWrappedObject, const QString& description); + void setHidden(QCommandLineOption* theWrappedObject, bool hidden); + void setValueName(QCommandLineOption* theWrappedObject, const QString& name); + void swap(QCommandLineOption* theWrappedObject, QCommandLineOption& other); + QString valueName(QCommandLineOption* theWrappedObject) const; +}; + + + + + class PythonQtWrapper_QCommandLineParser : public QObject { Q_OBJECT public: @@ -684,7 +846,8 @@ enum OptionsAfterPositionalArgumentsMode{ enum SingleDashWordOptionMode{ ParseAsCompactedShortOptions = QCommandLineParser::ParseAsCompactedShortOptions, ParseAsLongOptions = QCommandLineParser::ParseAsLongOptions}; public slots: -void delete_QCommandLineParser(QCommandLineParser* obj) { delete obj; } +QCommandLineParser* new_QCommandLineParser(); +void delete_QCommandLineParser(QCommandLineParser* obj) { delete obj; } QCommandLineOption addHelpOption(QCommandLineParser* theWrappedObject); bool addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption); bool addOptions(QCommandLineParser* theWrappedObject, const QList& options); @@ -733,7 +896,7 @@ Q_ENUMS(enum_1 ) enum enum_1{ ApplicationFlags = QCoreApplication::ApplicationFlags}; public slots: -void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } +void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } void static_QCoreApplication_addLibraryPath(const QString& arg__1); QString static_QCoreApplication_applicationDirPath(); QString static_QCoreApplication_applicationFilePath(); @@ -742,7 +905,6 @@ void delete_QCoreApplication(QCoreApplication* obj) { delete obj; } QString static_QCoreApplication_applicationVersion(); QStringList static_QCoreApplication_arguments(); bool static_QCoreApplication_closingDown(); - bool event(QCoreApplication* theWrappedObject, QEvent* arg__1); bool py_q_event(QCoreApplication* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->py_q_event(arg__1));} QAbstractEventDispatcher* static_QCoreApplication_eventDispatcher(); int static_QCoreApplication_exec(); @@ -791,7 +953,8 @@ Q_ENUMS(Algorithm ) enum Algorithm{ Md4 = QCryptographicHash::Md4, Md5 = QCryptographicHash::Md5, Sha1 = QCryptographicHash::Sha1, Sha224 = QCryptographicHash::Sha224, Sha256 = QCryptographicHash::Sha256, Sha384 = QCryptographicHash::Sha384, Sha512 = QCryptographicHash::Sha512, Keccak_224 = QCryptographicHash::Keccak_224, Keccak_256 = QCryptographicHash::Keccak_256, Keccak_384 = QCryptographicHash::Keccak_384, Keccak_512 = QCryptographicHash::Keccak_512, RealSha3_224 = QCryptographicHash::RealSha3_224, RealSha3_256 = QCryptographicHash::RealSha3_256, RealSha3_384 = QCryptographicHash::RealSha3_384, RealSha3_512 = QCryptographicHash::RealSha3_512, Sha3_224 = QCryptographicHash::Sha3_224, Sha3_256 = QCryptographicHash::Sha3_256, Sha3_384 = QCryptographicHash::Sha3_384, Sha3_512 = QCryptographicHash::Sha3_512}; public slots: -void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; } +QCryptographicHash* new_QCryptographicHash(QCryptographicHash::Algorithm method); +void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; } bool addData(QCryptographicHash* theWrappedObject, QIODevice* device); void addData(QCryptographicHash* theWrappedObject, const QByteArray& data); QByteArray static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method); @@ -817,7 +980,11 @@ enum 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, Qt_4_5 = QDataStream::Qt_4_5, Qt_4_6 = QDataStream::Qt_4_6, Qt_4_7 = QDataStream::Qt_4_7, Qt_4_8 = QDataStream::Qt_4_8, Qt_4_9 = QDataStream::Qt_4_9, Qt_5_0 = QDataStream::Qt_5_0, Qt_5_1 = QDataStream::Qt_5_1, Qt_5_2 = QDataStream::Qt_5_2, Qt_5_3 = QDataStream::Qt_5_3, Qt_5_4 = QDataStream::Qt_5_4, Qt_5_5 = QDataStream::Qt_5_5, Qt_5_6 = QDataStream::Qt_5_6, Qt_5_7 = QDataStream::Qt_5_7, Qt_5_8 = QDataStream::Qt_5_8, Qt_5_9 = QDataStream::Qt_5_9, Qt_5_10 = QDataStream::Qt_5_10, Qt_5_11 = QDataStream::Qt_5_11, Qt_5_12 = QDataStream::Qt_5_12, Qt_5_13 = QDataStream::Qt_5_13, Qt_5_14 = QDataStream::Qt_5_14, Qt_5_15 = QDataStream::Qt_5_15, Qt_DefaultCompiledVersion = QDataStream::Qt_DefaultCompiledVersion}; public slots: -void delete_QDataStream(QDataStream* obj) { delete obj; } +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; } void abortTransaction(QDataStream* theWrappedObject); bool atEnd(QDataStream* theWrappedObject) const; QDataStream::ByteOrder byteOrder(QDataStream* theWrappedObject) const; @@ -895,12 +1062,46 @@ void delete_QDataStream(QDataStream* obj) { delete obj; } +class PythonQtWrapper_QDeadlineTimer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ForeverConstant ) +enum ForeverConstant{ + Forever = QDeadlineTimer::Forever}; +public slots: +QDeadlineTimer* new_QDeadlineTimer(QDeadlineTimer::ForeverConstant arg__1, Qt::TimerType type_ = Qt::CoarseTimer); +QDeadlineTimer* new_QDeadlineTimer(Qt::TimerType type_ = Qt::CoarseTimer); +QDeadlineTimer* new_QDeadlineTimer(qint64 msecs, Qt::TimerType type = Qt::CoarseTimer); +void delete_QDeadlineTimer(QDeadlineTimer* obj) { delete obj; } + QDeadlineTimer static_QDeadlineTimer_addNSecs(QDeadlineTimer dt, qint64 nsecs); + QDeadlineTimer static_QDeadlineTimer_current(Qt::TimerType timerType = Qt::CoarseTimer); + qint64 deadline(QDeadlineTimer* theWrappedObject) const; + qint64 deadlineNSecs(QDeadlineTimer* theWrappedObject) const; + bool hasExpired(QDeadlineTimer* theWrappedObject) const; + bool isForever(QDeadlineTimer* theWrappedObject) const; + QDeadlineTimer* __iadd__(QDeadlineTimer* theWrappedObject, qint64 msecs); + QDeadlineTimer* __isub__(QDeadlineTimer* theWrappedObject, qint64 msecs); + qint64 remainingTime(QDeadlineTimer* theWrappedObject) const; + qint64 remainingTimeNSecs(QDeadlineTimer* theWrappedObject) const; + void setDeadline(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType timerType = Qt::CoarseTimer); + void setPreciseDeadline(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs = 0, Qt::TimerType type = Qt::CoarseTimer); + void setPreciseRemainingTime(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs = 0, Qt::TimerType type = Qt::CoarseTimer); + void setRemainingTime(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType type = Qt::CoarseTimer); + void setTimerType(QDeadlineTimer* theWrappedObject, Qt::TimerType type); + void swap(QDeadlineTimer* theWrappedObject, QDeadlineTimer& other); + Qt::TimerType timerType(QDeadlineTimer* theWrappedObject) const; +}; + + + + + class PythonQtWrapper_QDeferredDeleteEvent : public QObject { Q_OBJECT public: public slots: QDeferredDeleteEvent* new_QDeferredDeleteEvent(); -void delete_QDeferredDeleteEvent(QDeferredDeleteEvent* obj) { delete obj; } +void delete_QDeferredDeleteEvent(QDeferredDeleteEvent* obj) { delete obj; } int loopLevel(QDeferredDeleteEvent* theWrappedObject) const; }; @@ -908,6 +1109,94 @@ void delete_QDeferredDeleteEvent(QDeferredDeleteEvent* obj) { delete obj; } +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, NoDot = QDir::NoDot, NoDotDot = QDir::NoDotDot, 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 absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const; + QString absolutePath(QDir* theWrappedObject) const; + void static_QDir_addSearchPath(const QString& prefix, const QString& path); + QString canonicalPath(QDir* theWrappedObject) const; + bool cd(QDir* theWrappedObject, const QString& dirName); + bool cdUp(QDir* theWrappedObject); + QString static_QDir_cleanPath(const QString& path); + uint count(QDir* theWrappedObject) const; + QDir static_QDir_current(); + QString static_QDir_currentPath(); + QString dirName(QDir* theWrappedObject) const; + QList static_QDir_drives(); + QList entryInfoList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + QList entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + QStringList entryList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + QStringList entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; + bool exists(QDir* theWrappedObject) const; + bool exists(QDir* theWrappedObject, const QString& name) const; + QString filePath(QDir* theWrappedObject, const QString& fileName) const; + QDir::Filters filter(QDir* theWrappedObject) const; + QString static_QDir_fromNativeSeparators(const QString& pathName); + QDir static_QDir_home(); + QString static_QDir_homePath(); + bool isAbsolute(QDir* theWrappedObject) const; + bool static_QDir_isAbsolutePath(const QString& path); + bool isEmpty(QDir* theWrappedObject, QDir::Filters filters = QDir::Filters(AllEntries | NoDotAndDotDot)) const; + bool isReadable(QDir* theWrappedObject) const; + bool isRelative(QDir* theWrappedObject) const; + bool static_QDir_isRelativePath(const QString& path); + bool isRoot(QDir* theWrappedObject) const; + QChar static_QDir_listSeparator(); + bool makeAbsolute(QDir* theWrappedObject); + bool static_QDir_match(const QString& filter, const QString& fileName); + bool static_QDir_match(const QStringList& filters, const QString& fileName); + bool mkdir(QDir* theWrappedObject, const QString& dirName) const; + bool mkpath(QDir* theWrappedObject, const QString& dirPath) const; + QStringList nameFilters(QDir* theWrappedObject) const; + QStringList static_QDir_nameFiltersFromString(const QString& nameFilter); + bool __ne__(QDir* theWrappedObject, const QDir& dir) const; + bool __eq__(QDir* theWrappedObject, const QDir& dir) const; + QString operator_subscript(QDir* theWrappedObject, int arg__1) const; + QString path(QDir* theWrappedObject) const; + void refresh(QDir* theWrappedObject) const; + QString relativeFilePath(QDir* theWrappedObject, const QString& fileName) const; + bool remove(QDir* theWrappedObject, const QString& fileName); + bool removeRecursively(QDir* theWrappedObject); + bool rename(QDir* theWrappedObject, const QString& oldName, const QString& newName); + bool rmdir(QDir* theWrappedObject, const QString& dirName) const; + bool rmpath(QDir* theWrappedObject, const QString& dirPath) const; + QDir static_QDir_root(); + QString static_QDir_rootPath(); + QStringList static_QDir_searchPaths(const QString& prefix); + QChar static_QDir_separator(); + bool static_QDir_setCurrent(const QString& path); + void setFilter(QDir* theWrappedObject, QDir::Filters filter); + void setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters); + void setPath(QDir* theWrappedObject, const QString& path); + void static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths); + void setSorting(QDir* theWrappedObject, QDir::SortFlags sort); + QDir::SortFlags sorting(QDir* theWrappedObject) const; + void swap(QDir* theWrappedObject, QDir& other); + QDir static_QDir_temp(); + QString static_QDir_tempPath(); + QString static_QDir_toNativeSeparators(const QString& pathName); + QString py_toString(QDir*); + bool __nonzero__(QDir* obj) { return !obj->isEmpty(); } +}; + + + + + class PythonQtWrapper_QDirIterator : public QObject { Q_OBJECT public: @@ -917,7 +1206,11 @@ enum IteratorFlag{ NoIteratorFlags = QDirIterator::NoIteratorFlags, FollowSymlinks = QDirIterator::FollowSymlinks, Subdirectories = QDirIterator::Subdirectories}; Q_DECLARE_FLAGS(IteratorFlags, IteratorFlag) public slots: -void delete_QDirIterator(QDirIterator* obj) { delete obj; } +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; } QFileInfo fileInfo(QDirIterator* theWrappedObject) const; QString fileName(QDirIterator* theWrappedObject) const; QString filePath(QDirIterator* theWrappedObject) const; @@ -935,7 +1228,7 @@ class PythonQtWrapper_QDynamicPropertyChangeEvent : public QObject public: public slots: QDynamicPropertyChangeEvent* new_QDynamicPropertyChangeEvent(const QByteArray& name); -void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; } +void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; } QByteArray propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const; }; @@ -943,16 +1236,81 @@ void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { dele +class PythonQtWrapper_QEasingCurve : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + Linear = QEasingCurve::Linear, InQuad = QEasingCurve::InQuad, OutQuad = QEasingCurve::OutQuad, InOutQuad = QEasingCurve::InOutQuad, OutInQuad = QEasingCurve::OutInQuad, InCubic = QEasingCurve::InCubic, OutCubic = QEasingCurve::OutCubic, InOutCubic = QEasingCurve::InOutCubic, OutInCubic = QEasingCurve::OutInCubic, InQuart = QEasingCurve::InQuart, OutQuart = QEasingCurve::OutQuart, InOutQuart = QEasingCurve::InOutQuart, OutInQuart = QEasingCurve::OutInQuart, InQuint = QEasingCurve::InQuint, OutQuint = QEasingCurve::OutQuint, InOutQuint = QEasingCurve::InOutQuint, OutInQuint = QEasingCurve::OutInQuint, InSine = QEasingCurve::InSine, OutSine = QEasingCurve::OutSine, InOutSine = QEasingCurve::InOutSine, OutInSine = QEasingCurve::OutInSine, InExpo = QEasingCurve::InExpo, OutExpo = QEasingCurve::OutExpo, InOutExpo = QEasingCurve::InOutExpo, OutInExpo = QEasingCurve::OutInExpo, InCirc = QEasingCurve::InCirc, OutCirc = QEasingCurve::OutCirc, InOutCirc = QEasingCurve::InOutCirc, OutInCirc = QEasingCurve::OutInCirc, InElastic = QEasingCurve::InElastic, OutElastic = QEasingCurve::OutElastic, InOutElastic = QEasingCurve::InOutElastic, OutInElastic = QEasingCurve::OutInElastic, InBack = QEasingCurve::InBack, OutBack = QEasingCurve::OutBack, InOutBack = QEasingCurve::InOutBack, OutInBack = QEasingCurve::OutInBack, InBounce = QEasingCurve::InBounce, OutBounce = QEasingCurve::OutBounce, InOutBounce = QEasingCurve::InOutBounce, OutInBounce = QEasingCurve::OutInBounce, InCurve = QEasingCurve::InCurve, OutCurve = QEasingCurve::OutCurve, SineCurve = QEasingCurve::SineCurve, CosineCurve = QEasingCurve::CosineCurve, BezierSpline = QEasingCurve::BezierSpline, TCBSpline = QEasingCurve::TCBSpline, Custom = QEasingCurve::Custom, NCurveTypes = QEasingCurve::NCurveTypes}; +public slots: +QEasingCurve* new_QEasingCurve(QEasingCurve::Type type = QEasingCurve::Linear); +QEasingCurve* new_QEasingCurve(const QEasingCurve& other); +void delete_QEasingCurve(QEasingCurve* obj) { delete obj; } + void addCubicBezierSegment(QEasingCurve* theWrappedObject, const QPointF& c1, const QPointF& c2, const QPointF& endPoint); + void addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b); + qreal amplitude(QEasingCurve* theWrappedObject) const; + bool __ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; + void writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1); + QEasingCurve* operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other); + bool __eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const; + void readFrom(QEasingCurve* theWrappedObject, QDataStream& arg__1); + qreal overshoot(QEasingCurve* theWrappedObject) const; + qreal period(QEasingCurve* theWrappedObject) const; + void setAmplitude(QEasingCurve* theWrappedObject, qreal amplitude); + void setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot); + void setPeriod(QEasingCurve* theWrappedObject, qreal period); + void setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type); + void swap(QEasingCurve* theWrappedObject, QEasingCurve& other); + QVector toCubicSpline(QEasingCurve* theWrappedObject) const; + QEasingCurve::Type type(QEasingCurve* theWrappedObject) const; + qreal valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const; + QString py_toString(QEasingCurve*); +}; + + + + + +class PythonQtWrapper_QElapsedTimer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ClockType ) +enum ClockType{ + SystemTime = QElapsedTimer::SystemTime, MonotonicClock = QElapsedTimer::MonotonicClock, TickCounter = QElapsedTimer::TickCounter, MachAbsoluteTime = QElapsedTimer::MachAbsoluteTime, PerformanceCounter = QElapsedTimer::PerformanceCounter}; +public slots: +QElapsedTimer* new_QElapsedTimer(); +void delete_QElapsedTimer(QElapsedTimer* obj) { delete obj; } + QElapsedTimer::ClockType static_QElapsedTimer_clockType(); + qint64 elapsed(QElapsedTimer* theWrappedObject) const; + bool hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const; + void invalidate(QElapsedTimer* theWrappedObject); + bool static_QElapsedTimer_isMonotonic(); + bool isValid(QElapsedTimer* theWrappedObject) const; + qint64 msecsSinceReference(QElapsedTimer* theWrappedObject) const; + qint64 msecsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + qint64 nsecsElapsed(QElapsedTimer* theWrappedObject) const; + bool __ne__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + bool __eq__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + qint64 restart(QElapsedTimer* theWrappedObject); + qint64 secsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const; + void start(QElapsedTimer* theWrappedObject); + bool __nonzero__(QElapsedTimer* obj) { return obj->isValid(); } +}; + + + + + class PythonQtShell_QEvent : public QEvent { public: - PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(NULL) {}; - PythonQtShell_QEvent(const QEvent& other):QEvent(other),_wrapper(NULL) {}; + PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(nullptr) {}; + PythonQtShell_QEvent(const QEvent& other):QEvent(other),_wrapper(nullptr) {}; - ~PythonQtShell_QEvent(); + ~PythonQtShell_QEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QEvent : public QObject @@ -964,11 +1322,12 @@ enum Type{ public slots: QEvent* new_QEvent(QEvent::Type type); QEvent* new_QEvent(const QEvent& other); -void delete_QEvent(QEvent* obj) { delete obj; } +void delete_QEvent(QEvent* obj) { delete obj; } void accept(QEvent* theWrappedObject); void ignore(QEvent* theWrappedObject); bool isAccepted(QEvent* theWrappedObject) const; QEvent* operator_assign(QEvent* theWrappedObject, const QEvent& other); + int static_QEvent_registerEventType(int hint = -1); void setAccepted(QEvent* theWrappedObject, bool accepted); bool spontaneous(QEvent* theWrappedObject) const; QEvent::Type type(QEvent* theWrappedObject) const; @@ -982,15 +1341,19 @@ void delete_QEvent(QEvent* obj) { delete obj; } class PythonQtShell_QEventLoop : public QEventLoop { public: - PythonQtShell_QEventLoop(QObject* parent = nullptr):QEventLoop(parent),_wrapper(NULL) {}; + PythonQtShell_QEventLoop(QObject* parent = nullptr):QEventLoop(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QEventLoop(); + ~PythonQtShell_QEventLoop() override; -virtual bool event(QEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QEventLoop : public QEventLoop @@ -1008,8 +1371,7 @@ enum ProcessEventsFlag{ Q_DECLARE_FLAGS(ProcessEventsFlags, ProcessEventsFlag) public slots: QEventLoop* new_QEventLoop(QObject* parent = nullptr); -void delete_QEventLoop(QEventLoop* obj) { delete obj; } - bool event(QEventLoop* theWrappedObject, QEvent* event); +void delete_QEventLoop(QEventLoop* obj) { delete obj; } bool py_q_event(QEventLoop* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QEventLoop*)theWrappedObject)->py_q_event(event));} int exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents); void exit(QEventLoop* theWrappedObject, int returnCode = 0); @@ -1026,18 +1388,22 @@ void delete_QEventLoop(QEventLoop* obj) { delete obj; } class PythonQtShell_QEventTransition : public QEventTransition { public: - PythonQtShell_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = nullptr):QEventTransition(object, type, sourceState),_wrapper(NULL) {}; - PythonQtShell_QEventTransition(QState* sourceState = nullptr):QEventTransition(sourceState),_wrapper(NULL) {}; + PythonQtShell_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = nullptr):QEventTransition(object, type, sourceState),_wrapper(nullptr) {}; + PythonQtShell_QEventTransition(QState* sourceState = nullptr):QEventTransition(sourceState),_wrapper(nullptr) {}; - ~PythonQtShell_QEventTransition(); + ~PythonQtShell_QEventTransition() override; -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QEventTransition : public QEventTransition @@ -1056,7 +1422,7 @@ class PythonQtWrapper_QEventTransition : public QObject public slots: QEventTransition* new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = nullptr); QEventTransition* new_QEventTransition(QState* sourceState = nullptr); -void delete_QEventTransition(QEventTransition* obj) { delete obj; } +void delete_QEventTransition(QEventTransition* obj) { delete obj; } bool py_q_event(QEventTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->py_q_event(e));} QObject* eventSource(QEventTransition* theWrappedObject) const; bool py_q_eventTest(QEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QEventTransition*)theWrappedObject)->py_q_eventTest(event));} @@ -1073,13 +1439,13 @@ void delete_QEventTransition(QEventTransition* obj) { delete obj; } class PythonQtShell_QFactoryInterface : public QFactoryInterface { public: - PythonQtShell_QFactoryInterface():QFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QFactoryInterface():QFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QFactoryInterface(); + ~PythonQtShell_QFactoryInterface() override; -virtual QStringList keys() const; +QStringList keys() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFactoryInterface : public QFactoryInterface @@ -1092,600 +1458,9 @@ class PythonQtWrapper_QFactoryInterface : public QObject public: public slots: QFactoryInterface* new_QFactoryInterface(); -void delete_QFactoryInterface(QFactoryInterface* obj) { delete obj; } +void delete_QFactoryInterface(QFactoryInterface* obj) { delete obj; } QStringList keys(QFactoryInterface* theWrappedObject) const; QStringList py_q_keys(QFactoryInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFactoryInterface*)theWrappedObject)->py_q_keys());} }; - - - -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) {}; - - ~PythonQtShell_QFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFile : public QFile -{ public: -inline QString py_q_fileName() const { return QFile::fileName(); } -inline bool py_q_open(QIODevice::OpenMode flags) { return QFile::open(flags); } -inline QFileDevice::Permissions py_q_permissions() const { return QFile::permissions(); } -inline bool py_q_resize(qint64 sz) { return QFile::resize(sz); } -inline bool py_q_setPermissions(QFileDevice::Permissions permissionSpec) { return QFile::setPermissions(permissionSpec); } -inline qint64 py_q_size() const { return QFile::size(); } -}; - -class PythonQtWrapper_QFile : public QObject -{ Q_OBJECT -public: -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; } - bool static_QFile_copy(const QString& fileName, const QString& newName); - bool copy(QFile* theWrappedObject, const QString& newName); - QString static_QFile_decodeName(const QByteArray& localFileName); - QByteArray static_QFile_encodeName(const QString& fileName); - bool exists(QFile* theWrappedObject) const; - bool static_QFile_exists(const QString& fileName); - QString py_q_fileName(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_fileName());} - bool link(QFile* theWrappedObject, const QString& newName); - bool static_QFile_link(const QString& oldname, const QString& newName); - bool moveToTrash(QFile* theWrappedObject); - bool static_QFile_moveToTrash(const QString& fileName, QString* pathInTrash = nullptr); - bool py_q_open(QFile* theWrappedObject, QIODevice::OpenMode flags){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_open(flags));} - bool open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags = QFileDevice::DontCloseHandle); - QFileDevice::Permissions py_q_permissions(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_permissions());} - QFileDevice::Permissions static_QFile_permissions(const QString& filename); - bool remove(QFile* theWrappedObject); - bool static_QFile_remove(const QString& fileName); - bool rename(QFile* theWrappedObject, const QString& newName); - bool static_QFile_rename(const QString& oldName, const QString& newName); - bool static_QFile_resize(const QString& filename, qint64 sz); - bool py_q_resize(QFile* theWrappedObject, qint64 sz){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_resize(sz));} - void setFileName(QFile* theWrappedObject, const QString& name); - bool py_q_setPermissions(QFile* theWrappedObject, QFileDevice::Permissions permissionSpec){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_setPermissions(permissionSpec));} - bool static_QFile_setPermissions(const QString& filename, QFileDevice::Permissions permissionSpec); - qint64 py_q_size(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_size());} - QString symLinkTarget(QFile* theWrappedObject) const; - QString static_QFile_symLinkTarget(const QString& fileName); -}; - - - - - -class PythonQtShell_QFileDevice : public QFileDevice -{ -public: - PythonQtShell_QFileDevice():QFileDevice(),_wrapper(NULL) {}; - PythonQtShell_QFileDevice(QObject* parent):QFileDevice(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileDevice(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFileDevice : public QFileDevice -{ public: -inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } -inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return this->readLineData(data, maxlen); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -inline bool py_q_atEnd() const { return QFileDevice::atEnd(); } -inline void py_q_close() { QFileDevice::close(); } -inline QString py_q_fileName() const { return QFileDevice::fileName(); } -inline bool py_q_isSequential() const { return QFileDevice::isSequential(); } -inline QFileDevice::Permissions py_q_permissions() const { return QFileDevice::permissions(); } -inline qint64 py_q_pos() const { return QFileDevice::pos(); } -inline qint64 py_q_readData(char* data, qint64 maxlen) { return QFileDevice::readData(data, maxlen); } -inline qint64 py_q_readLineData(char* data, qint64 maxlen) { return QFileDevice::readLineData(data, maxlen); } -inline bool py_q_resize(qint64 sz) { return QFileDevice::resize(sz); } -inline bool py_q_seek(qint64 offset) { return QFileDevice::seek(offset); } -inline bool py_q_setPermissions(QFileDevice::Permissions permissionSpec) { return QFileDevice::setPermissions(permissionSpec); } -inline qint64 py_q_size() const { return QFileDevice::size(); } -inline qint64 py_q_writeData(const char* data, qint64 len) { return QFileDevice::writeData(data, len); } -}; - -class PythonQtWrapper_QFileDevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FileError FileHandleFlag FileTime MemoryMapFlags Permission ) -Q_FLAGS(FileHandleFlags Permissions ) -enum FileError{ - NoError = QFileDevice::NoError, ReadError = QFileDevice::ReadError, WriteError = QFileDevice::WriteError, FatalError = QFileDevice::FatalError, ResourceError = QFileDevice::ResourceError, OpenError = QFileDevice::OpenError, AbortError = QFileDevice::AbortError, TimeOutError = QFileDevice::TimeOutError, UnspecifiedError = QFileDevice::UnspecifiedError, RemoveError = QFileDevice::RemoveError, RenameError = QFileDevice::RenameError, PositionError = QFileDevice::PositionError, ResizeError = QFileDevice::ResizeError, PermissionsError = QFileDevice::PermissionsError, CopyError = QFileDevice::CopyError}; -enum FileHandleFlag{ - AutoCloseHandle = QFileDevice::AutoCloseHandle, DontCloseHandle = QFileDevice::DontCloseHandle}; -enum FileTime{ - FileAccessTime = QFileDevice::FileAccessTime, FileBirthTime = QFileDevice::FileBirthTime, FileMetadataChangeTime = QFileDevice::FileMetadataChangeTime, FileModificationTime = QFileDevice::FileModificationTime}; -enum MemoryMapFlags{ - NoOptions = QFileDevice::NoOptions, MapPrivateOption = QFileDevice::MapPrivateOption}; -enum Permission{ - ReadOwner = QFileDevice::ReadOwner, WriteOwner = QFileDevice::WriteOwner, ExeOwner = QFileDevice::ExeOwner, ReadUser = QFileDevice::ReadUser, WriteUser = QFileDevice::WriteUser, ExeUser = QFileDevice::ExeUser, ReadGroup = QFileDevice::ReadGroup, WriteGroup = QFileDevice::WriteGroup, ExeGroup = QFileDevice::ExeGroup, ReadOther = QFileDevice::ReadOther, WriteOther = QFileDevice::WriteOther, ExeOther = QFileDevice::ExeOther}; -Q_DECLARE_FLAGS(FileHandleFlags, FileHandleFlag) -Q_DECLARE_FLAGS(Permissions, Permission) -public slots: -QFileDevice* new_QFileDevice(); -QFileDevice* new_QFileDevice(QObject* parent); -void delete_QFileDevice(QFileDevice* obj) { delete obj; } - bool py_q_atEnd(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_atEnd());} - void py_q_close(QFileDevice* theWrappedObject){ (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_close());} - QFileDevice::FileError error(QFileDevice* theWrappedObject) const; - QString fileName(QFileDevice* theWrappedObject) const; - QString py_q_fileName(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_fileName());} - QDateTime fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const; - bool flush(QFileDevice* theWrappedObject); - int handle(QFileDevice* theWrappedObject) const; - bool py_q_isSequential(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_isSequential());} - uchar* map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags = QFileDevice::NoOptions); - QFileDevice::Permissions permissions(QFileDevice* theWrappedObject) const; - QFileDevice::Permissions py_q_permissions(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_permissions());} - qint64 py_q_pos(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_pos());} - qint64 py_q_readData(QFileDevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_readData(data, maxlen));} - qint64 py_q_readLineData(QFileDevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_readLineData(data, maxlen));} - bool resize(QFileDevice* theWrappedObject, qint64 sz); - bool py_q_resize(QFileDevice* theWrappedObject, qint64 sz){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_resize(sz));} - bool py_q_seek(QFileDevice* theWrappedObject, qint64 offset){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_seek(offset));} - bool setFileTime(QFileDevice* theWrappedObject, const QDateTime& newDate, QFileDevice::FileTime fileTime); - bool setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec); - bool py_q_setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_setPermissions(permissionSpec));} - qint64 py_q_size(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_size());} - bool unmap(QFileDevice* theWrappedObject, uchar* address); - void unsetError(QFileDevice* theWrappedObject); - qint64 py_q_writeData(QFileDevice* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_writeData(data, len));} -}; - - - - - -class PythonQtWrapper_QFileSelector : public QObject -{ Q_OBJECT -public: -public slots: -QFileSelector* new_QFileSelector(QObject* parent = nullptr); -void delete_QFileSelector(QFileSelector* obj) { delete obj; } - QStringList allSelectors(QFileSelector* theWrappedObject) const; - QStringList extraSelectors(QFileSelector* theWrappedObject) const; - QString select(QFileSelector* theWrappedObject, const QString& filePath) const; - QUrl select(QFileSelector* theWrappedObject, const QUrl& filePath) const; - void setExtraSelectors(QFileSelector* theWrappedObject, const QStringList& list); -}; - - - - - -class PythonQtWrapper_QFileSystemWatcher : public QObject -{ Q_OBJECT -public: -public slots: -QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = nullptr); -QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr); -void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } - bool addPath(QFileSystemWatcher* theWrappedObject, const QString& file); - QStringList addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); - QStringList directories(QFileSystemWatcher* theWrappedObject) const; - QStringList files(QFileSystemWatcher* theWrappedObject) const; - bool removePath(QFileSystemWatcher* theWrappedObject, const QString& file); - QStringList removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); -}; - - - - - -class PythonQtShell_QFinalState : public QFinalState -{ -public: - PythonQtShell_QFinalState(QState* parent = nullptr):QFinalState(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFinalState(); - -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QFinalState : public QFinalState -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } -inline void promoted_onExit(QEvent* event) { this->onExit(event); } -inline bool py_q_event(QEvent* e) { return QFinalState::event(e); } -inline void py_q_onEntry(QEvent* event) { QFinalState::onEntry(event); } -inline void py_q_onExit(QEvent* event) { QFinalState::onExit(event); } -}; - -class PythonQtWrapper_QFinalState : public QObject -{ Q_OBJECT -public: -public slots: -QFinalState* new_QFinalState(QState* parent = nullptr); -void delete_QFinalState(QFinalState* obj) { delete obj; } - bool py_q_event(QFinalState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_event(e));} - void py_q_onEntry(QFinalState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_onEntry(event));} - void py_q_onExit(QFinalState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_onExit(event));} -}; - - - - - -class PythonQtShell_QHistoryState : public QHistoryState -{ -public: - PythonQtShell_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr):QHistoryState(type, parent),_wrapper(NULL) {}; - PythonQtShell_QHistoryState(QState* parent = nullptr):QHistoryState(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHistoryState(); - -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QHistoryState : public QHistoryState -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } -inline void promoted_onExit(QEvent* event) { this->onExit(event); } -inline bool py_q_event(QEvent* e) { return QHistoryState::event(e); } -inline void py_q_onEntry(QEvent* event) { QHistoryState::onEntry(event); } -inline void py_q_onExit(QEvent* event) { QHistoryState::onExit(event); } -}; - -class PythonQtWrapper_QHistoryState : public QObject -{ Q_OBJECT -public: -public slots: -QHistoryState* new_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr); -QHistoryState* new_QHistoryState(QState* parent = nullptr); -void delete_QHistoryState(QHistoryState* obj) { delete obj; } - QAbstractState* defaultState(QHistoryState* theWrappedObject) const; - QAbstractTransition* defaultTransition(QHistoryState* theWrappedObject) const; - bool py_q_event(QHistoryState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_event(e));} - QHistoryState::HistoryType historyType(QHistoryState* theWrappedObject) const; - void py_q_onEntry(QHistoryState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_onEntry(event));} - void py_q_onExit(QHistoryState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_onExit(event));} - void setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state); - void setDefaultTransition(QHistoryState* theWrappedObject, QAbstractTransition* transition); - void setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type); -}; - - - - - -class PythonQtShell_QIODevice : public QIODevice -{ -public: - PythonQtShell_QIODevice():QIODevice(),_wrapper(NULL) {}; - PythonQtShell_QIODevice(QObject* parent):QIODevice(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIODevice(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -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 bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIODevice : public QIODevice -{ public: -inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } -inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return this->readLineData(data, maxlen); } -inline void promoted_setErrorString(const QString& errorString) { this->setErrorString(errorString); } -inline void promoted_setOpenMode(QIODevice::OpenMode openMode) { this->setOpenMode(openMode); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -inline bool py_q_atEnd() const { return QIODevice::atEnd(); } -inline qint64 py_q_bytesAvailable() const { return QIODevice::bytesAvailable(); } -inline qint64 py_q_bytesToWrite() const { return QIODevice::bytesToWrite(); } -inline bool py_q_canReadLine() const { return QIODevice::canReadLine(); } -inline void py_q_close() { QIODevice::close(); } -inline bool py_q_isSequential() const { return QIODevice::isSequential(); } -inline bool py_q_open(QIODevice::OpenMode mode) { return QIODevice::open(mode); } -inline qint64 py_q_pos() const { return QIODevice::pos(); } -inline qint64 py_q_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } -inline qint64 py_q_readLineData(char* data, qint64 maxlen) { return QIODevice::readLineData(data, maxlen); } -inline bool py_q_reset() { return QIODevice::reset(); } -inline bool py_q_seek(qint64 pos) { return QIODevice::seek(pos); } -inline qint64 py_q_size() const { return QIODevice::size(); } -inline bool py_q_waitForBytesWritten(int msecs) { return QIODevice::waitForBytesWritten(msecs); } -inline bool py_q_waitForReadyRead(int msecs) { return QIODevice::waitForReadyRead(msecs); } -inline qint64 py_q_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -}; - -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, NewOnly = QIODevice::NewOnly, ExistingOnly = QIODevice::ExistingOnly}; -Q_DECLARE_FLAGS(OpenMode, OpenModeFlag) -public slots: -QIODevice* new_QIODevice(); -QIODevice* new_QIODevice(QObject* parent); -void delete_QIODevice(QIODevice* obj) { delete obj; } - bool atEnd(QIODevice* theWrappedObject) const; - bool py_q_atEnd(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_atEnd());} - qint64 bytesAvailable(QIODevice* theWrappedObject) const; - qint64 py_q_bytesAvailable(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_bytesAvailable());} - qint64 bytesToWrite(QIODevice* theWrappedObject) const; - qint64 py_q_bytesToWrite(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_bytesToWrite());} - bool canReadLine(QIODevice* theWrappedObject) const; - bool py_q_canReadLine(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_canReadLine());} - void close(QIODevice* theWrappedObject); - void py_q_close(QIODevice* theWrappedObject){ (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_close());} - void commitTransaction(QIODevice* theWrappedObject); - int currentReadChannel(QIODevice* theWrappedObject) const; - int currentWriteChannel(QIODevice* theWrappedObject) const; - QString errorString(QIODevice* theWrappedObject) const; - bool getChar(QIODevice* theWrappedObject, char* c); - bool isOpen(QIODevice* theWrappedObject) const; - bool isReadable(QIODevice* theWrappedObject) const; - bool isSequential(QIODevice* theWrappedObject) const; - bool py_q_isSequential(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_isSequential());} - bool isTextModeEnabled(QIODevice* theWrappedObject) const; - bool isTransactionStarted(QIODevice* theWrappedObject) const; - bool isWritable(QIODevice* theWrappedObject) const; - bool open(QIODevice* theWrappedObject, QIODevice::OpenMode mode); - bool py_q_open(QIODevice* theWrappedObject, QIODevice::OpenMode mode){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_open(mode));} - QIODevice::OpenMode openMode(QIODevice* theWrappedObject) const; - QByteArray peek(QIODevice* theWrappedObject, qint64 maxlen); - qint64 pos(QIODevice* theWrappedObject) const; - qint64 py_q_pos(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_pos());} - bool putChar(QIODevice* theWrappedObject, char c); - QByteArray read(QIODevice* theWrappedObject, qint64 maxlen); - QByteArray readAll(QIODevice* theWrappedObject); - int readChannelCount(QIODevice* theWrappedObject) const; - qint64 readData(QIODevice* theWrappedObject, char* data, qint64 maxlen); - qint64 py_q_readData(QIODevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_readData(data, maxlen));} - QByteArray readLine(QIODevice* theWrappedObject, qint64 maxlen = 0); - qint64 readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen); - qint64 py_q_readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_readLineData(data, maxlen));} - bool reset(QIODevice* theWrappedObject); - bool py_q_reset(QIODevice* theWrappedObject){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_reset());} - void rollbackTransaction(QIODevice* theWrappedObject); - bool seek(QIODevice* theWrappedObject, qint64 pos); - bool py_q_seek(QIODevice* theWrappedObject, qint64 pos){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_seek(pos));} - void setCurrentReadChannel(QIODevice* theWrappedObject, int channel); - void setCurrentWriteChannel(QIODevice* theWrappedObject, int channel); - void setErrorString(QIODevice* theWrappedObject, const QString& errorString); - void setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode); - void setTextModeEnabled(QIODevice* theWrappedObject, bool enabled); - qint64 size(QIODevice* theWrappedObject) const; - qint64 py_q_size(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_size());} - qint64 skip(QIODevice* theWrappedObject, qint64 maxSize); - void startTransaction(QIODevice* theWrappedObject); - void ungetChar(QIODevice* theWrappedObject, char c); - bool waitForBytesWritten(QIODevice* theWrappedObject, int msecs); - bool py_q_waitForBytesWritten(QIODevice* theWrappedObject, int msecs){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} - bool waitForReadyRead(QIODevice* theWrappedObject, int msecs); - bool py_q_waitForReadyRead(QIODevice* theWrappedObject, int msecs){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_waitForReadyRead(msecs));} - qint64 write(QIODevice* theWrappedObject, const QByteArray& data); - qint64 write(QIODevice* theWrappedObject, const char* data); - int writeChannelCount(QIODevice* theWrappedObject) const; - qint64 writeData(QIODevice* theWrappedObject, const char* data, qint64 len); - qint64 py_q_writeData(QIODevice* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_writeData(data, len));} -}; - - - - - -class PythonQtShell_QIdentityProxyModel : public QIdentityProxyModel -{ -public: - PythonQtShell_QIdentityProxyModel(QObject* parent = nullptr):QIdentityProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIdentityProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -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 QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIdentityProxyModel : public QIdentityProxyModel -{ public: -inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::columnCount(parent); } -inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QIdentityProxyModel::dropMimeData(data, action, row, column, parent); } -inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QIdentityProxyModel::headerData(section, orientation, role); } -inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::index(row, column, parent); } -inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertColumns(column, count, parent); } -inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertRows(row, count, parent); } -inline QModelIndex py_q_mapFromSource(const QModelIndex& sourceIndex) const { return QIdentityProxyModel::mapFromSource(sourceIndex); } -inline QItemSelection py_q_mapSelectionFromSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionFromSource(selection); } -inline QItemSelection py_q_mapSelectionToSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionToSource(selection); } -inline QModelIndex py_q_mapToSource(const QModelIndex& proxyIndex) const { return QIdentityProxyModel::mapToSource(proxyIndex); } -inline QList py_q_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QIdentityProxyModel::match(start, role, value, hits, flags); } -inline bool py_q_moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) { return QIdentityProxyModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); } -inline bool py_q_moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) { return QIdentityProxyModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); } -inline QModelIndex py_q_parent(const QModelIndex& child) const { return QIdentityProxyModel::parent(child); } -inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeColumns(column, count, parent); } -inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeRows(row, count, parent); } -inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::rowCount(parent); } -inline void py_q_setSourceModel(QAbstractItemModel* sourceModel) { QIdentityProxyModel::setSourceModel(sourceModel); } -inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QIdentityProxyModel::sibling(row, column, idx); } -}; - -class PythonQtWrapper_QIdentityProxyModel : public QObject -{ Q_OBJECT -public: -public slots: -QIdentityProxyModel* new_QIdentityProxyModel(QObject* parent = nullptr); -void delete_QIdentityProxyModel(QIdentityProxyModel* obj) { delete obj; } - int py_q_columnCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_columnCount(parent));} - bool py_q_dropMimeData(QIdentityProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} - QVariant py_q_headerData(QIdentityProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} - QModelIndex py_q_index(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_index(row, column, parent));} - bool py_q_insertColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} - bool py_q_insertRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} - QModelIndex py_q_mapFromSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapFromSource(sourceIndex));} - QItemSelection py_q_mapSelectionFromSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapSelectionFromSource(selection));} - QItemSelection py_q_mapSelectionToSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapSelectionToSource(selection));} - QModelIndex py_q_mapToSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapToSource(proxyIndex));} - QList py_q_match(QIdentityProxyModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_match(start, role, value, hits, flags));} - bool py_q_moveColumns(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild));} - bool py_q_moveRows(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild));} - QModelIndex py_q_parent(QIdentityProxyModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_parent(child));} - bool py_q_removeColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} - bool py_q_removeRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} - int py_q_rowCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_rowCount(parent));} - void py_q_setSourceModel(QIdentityProxyModel* theWrappedObject, QAbstractItemModel* sourceModel){ (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_setSourceModel(sourceModel));} - QModelIndex py_q_sibling(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_sibling(row, column, idx));} -}; - - - - - -class PythonQtShell_QJsonParseError : public QJsonParseError -{ -public: - PythonQtShell_QJsonParseError():QJsonParseError(),_wrapper(NULL) {}; - - ~PythonQtShell_QJsonParseError(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QJsonParseError : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ParseError ) -enum ParseError{ - NoError = QJsonParseError::NoError, UnterminatedObject = QJsonParseError::UnterminatedObject, MissingNameSeparator = QJsonParseError::MissingNameSeparator, UnterminatedArray = QJsonParseError::UnterminatedArray, MissingValueSeparator = QJsonParseError::MissingValueSeparator, IllegalValue = QJsonParseError::IllegalValue, TerminationByNumber = QJsonParseError::TerminationByNumber, IllegalNumber = QJsonParseError::IllegalNumber, IllegalEscapeSequence = QJsonParseError::IllegalEscapeSequence, IllegalUTF8String = QJsonParseError::IllegalUTF8String, UnterminatedString = QJsonParseError::UnterminatedString, MissingObject = QJsonParseError::MissingObject, DeepNesting = QJsonParseError::DeepNesting, DocumentTooLarge = QJsonParseError::DocumentTooLarge, GarbageAtEnd = QJsonParseError::GarbageAtEnd}; -public slots: -QJsonParseError* new_QJsonParseError(); -void delete_QJsonParseError(QJsonParseError* obj) { delete obj; } - QString errorString(QJsonParseError* theWrappedObject) const; -void py_set_error(QJsonParseError* theWrappedObject, QJsonParseError::ParseError error){ theWrappedObject->error = error; } -QJsonParseError::ParseError py_get_error(QJsonParseError* theWrappedObject){ return theWrappedObject->error; } -void py_set_offset(QJsonParseError* theWrappedObject, int offset){ theWrappedObject->offset = offset; } -int py_get_offset(QJsonParseError* theWrappedObject){ return theWrappedObject->offset; } -}; - - diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.cpp new file mode 100644 index 00000000..353b74bb --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -0,0 +1,7559 @@ +#include "com_trolltech_qt_core1.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 + +PythonQtShell_QFile::~PythonQtShell_QFile() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QFile::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::atEnd(); +} +qint64 PythonQtShell_QFile::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::bytesAvailable(); +} +qint64 PythonQtShell_QFile::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::bytesToWrite(); +} +bool PythonQtShell_QFile::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::canReadLine(); +} +void PythonQtShell_QFile::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFile::childEvent(event0); +} +void PythonQtShell_QFile::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFile::close(); +} +void PythonQtShell_QFile::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFile::customEvent(event0); +} +bool PythonQtShell_QFile::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::event(event0); +} +bool PythonQtShell_QFile::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::eventFilter(watched0, event1); +} +QString PythonQtShell_QFile::fileName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fileName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::fileName(); +} +bool PythonQtShell_QFile::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::isSequential(); +} +bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::open(flags0); +} +QFileDevice::Permissions PythonQtShell_QFile::permissions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("permissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QFileDevice::Permissions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::permissions(); +} +qint64 PythonQtShell_QFile::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::pos(); +} +qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::readData(data0, maxlen1); +} +qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::readLineData(data0, maxlen1); +} +bool PythonQtShell_QFile::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::reset(); +} +bool PythonQtShell_QFile::resize(qint64 sz0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sz0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::resize(sz0); +} +bool PythonQtShell_QFile::seek(qint64 offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::seek(offset0); +} +bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPermissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::setPermissions(permissionSpec0); +} +qint64 PythonQtShell_QFile::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::size(); +} +void PythonQtShell_QFile::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFile::timerEvent(event0); +} +bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QFile::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFile::writeData(data0, len1); +} +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); } + +const QMetaObject* PythonQtShell_QFile::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFile::staticMetaObject); + } else { + return &QFile::staticMetaObject; + } +} +int PythonQtShell_QFile::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFile::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QFile::static_QFile_copy(const QString& fileName, const QString& newName) +{ + return (QFile::copy(fileName, newName)); +} + +bool PythonQtWrapper_QFile::copy(QFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->copy(newName)); +} + +QString PythonQtWrapper_QFile::static_QFile_decodeName(const QByteArray& localFileName) +{ + return (QFile::decodeName(localFileName)); +} + +QByteArray PythonQtWrapper_QFile::static_QFile_encodeName(const QString& fileName) +{ + return (QFile::encodeName(fileName)); +} + +bool PythonQtWrapper_QFile::exists(QFile* theWrappedObject) const +{ + return ( theWrappedObject->exists()); +} + +bool PythonQtWrapper_QFile::static_QFile_exists(const QString& fileName) +{ + return (QFile::exists(fileName)); +} + +bool PythonQtWrapper_QFile::link(QFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->link(newName)); +} + +bool PythonQtWrapper_QFile::static_QFile_link(const QString& oldname, const QString& newName) +{ + return (QFile::link(oldname, newName)); +} + +bool PythonQtWrapper_QFile::moveToTrash(QFile* theWrappedObject) +{ + return ( theWrappedObject->moveToTrash()); +} + +bool PythonQtWrapper_QFile::static_QFile_moveToTrash(const QString& fileName, QString* pathInTrash) +{ + return (QFile::moveToTrash(fileName, pathInTrash)); +} + +bool PythonQtWrapper_QFile::open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags) +{ + return ( theWrappedObject->open(fd, ioFlags, handleFlags)); +} + +QFileDevice::Permissions PythonQtWrapper_QFile::static_QFile_permissions(const QString& filename) +{ + return (QFile::permissions(filename)); +} + +bool PythonQtWrapper_QFile::remove(QFile* theWrappedObject) +{ + return ( theWrappedObject->remove()); +} + +bool PythonQtWrapper_QFile::static_QFile_remove(const QString& fileName) +{ + return (QFile::remove(fileName)); +} + +bool PythonQtWrapper_QFile::rename(QFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->rename(newName)); +} + +bool PythonQtWrapper_QFile::static_QFile_rename(const QString& oldName, const QString& newName) +{ + return (QFile::rename(oldName, newName)); +} + +bool PythonQtWrapper_QFile::static_QFile_resize(const QString& filename, qint64 sz) +{ + return (QFile::resize(filename, sz)); +} + +void PythonQtWrapper_QFile::setFileName(QFile* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setFileName(name)); +} + +bool PythonQtWrapper_QFile::static_QFile_setPermissions(const QString& filename, QFileDevice::Permissions permissionSpec) +{ + return (QFile::setPermissions(filename, permissionSpec)); +} + +QString PythonQtWrapper_QFile::symLinkTarget(QFile* theWrappedObject) const +{ + return ( theWrappedObject->symLinkTarget()); +} + +QString PythonQtWrapper_QFile::static_QFile_symLinkTarget(const QString& fileName) +{ + return (QFile::symLinkTarget(fileName)); +} + + + +PythonQtShell_QFileDevice::~PythonQtShell_QFileDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QFileDevice::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::atEnd(); +} +qint64 PythonQtShell_QFileDevice::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::bytesAvailable(); +} +qint64 PythonQtShell_QFileDevice::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::bytesToWrite(); +} +bool PythonQtShell_QFileDevice::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::canReadLine(); +} +void PythonQtShell_QFileDevice::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDevice::childEvent(event0); +} +void PythonQtShell_QFileDevice::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDevice::close(); +} +void PythonQtShell_QFileDevice::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDevice::customEvent(event0); +} +bool PythonQtShell_QFileDevice::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::event(event0); +} +bool PythonQtShell_QFileDevice::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::eventFilter(watched0, event1); +} +QString PythonQtShell_QFileDevice::fileName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fileName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::fileName(); +} +bool PythonQtShell_QFileDevice::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::isSequential(); +} +bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::open(mode0); +} +QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("permissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QFileDevice::Permissions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::permissions(); +} +qint64 PythonQtShell_QFileDevice::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::pos(); +} +qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::readData(data0, maxlen1); +} +qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::readLineData(data0, maxlen1); +} +bool PythonQtShell_QFileDevice::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::reset(); +} +bool PythonQtShell_QFileDevice::resize(qint64 sz0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sz0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::resize(sz0); +} +bool PythonQtShell_QFileDevice::seek(qint64 offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::seek(offset0); +} +bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPermissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::setPermissions(permissionSpec0); +} +qint64 PythonQtShell_QFileDevice::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::size(); +} +void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDevice::timerEvent(event0); +} +bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileDevice::writeData(data0, len1); +} +QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice() +{ +return new PythonQtShell_QFileDevice(); } + +QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice(QObject* parent) +{ +return new PythonQtShell_QFileDevice(parent); } + +const QMetaObject* PythonQtShell_QFileDevice::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileDevice::staticMetaObject); + } else { + return &QFileDevice::staticMetaObject; + } +} +int PythonQtShell_QFileDevice::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileDevice::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QFileDevice::FileError PythonQtWrapper_QFileDevice::error(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QFileDevice::fileName(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QDateTime PythonQtWrapper_QFileDevice::fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const +{ + return ( theWrappedObject->fileTime(time)); +} + +bool PythonQtWrapper_QFileDevice::flush(QFileDevice* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +int PythonQtWrapper_QFileDevice::handle(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +uchar* PythonQtWrapper_QFileDevice::map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags) +{ + return ( theWrappedObject->map(offset, size, flags)); +} + +QFileDevice::Permissions PythonQtWrapper_QFileDevice::permissions(QFileDevice* theWrappedObject) const +{ + return ( theWrappedObject->permissions()); +} + +bool PythonQtWrapper_QFileDevice::resize(QFileDevice* theWrappedObject, qint64 sz) +{ + return ( theWrappedObject->resize(sz)); +} + +bool PythonQtWrapper_QFileDevice::setFileTime(QFileDevice* theWrappedObject, const QDateTime& newDate, QFileDevice::FileTime fileTime) +{ + return ( theWrappedObject->setFileTime(newDate, fileTime)); +} + +bool PythonQtWrapper_QFileDevice::setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec) +{ + return ( theWrappedObject->setPermissions(permissionSpec)); +} + +bool PythonQtWrapper_QFileDevice::unmap(QFileDevice* theWrappedObject, uchar* address) +{ + return ( theWrappedObject->unmap(address)); +} + +void PythonQtWrapper_QFileDevice::unsetError(QFileDevice* theWrappedObject) +{ + ( theWrappedObject->unsetError()); +} + + + +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); } + +QDir PythonQtWrapper_QFileInfo::absoluteDir(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->absoluteDir()); +} + +QString PythonQtWrapper_QFileInfo::absoluteFilePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->absoluteFilePath()); +} + +QString PythonQtWrapper_QFileInfo::absolutePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->absolutePath()); +} + +QString PythonQtWrapper_QFileInfo::baseName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->baseName()); +} + +QDateTime PythonQtWrapper_QFileInfo::birthTime(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->birthTime()); +} + +QString PythonQtWrapper_QFileInfo::bundleName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->bundleName()); +} + +bool PythonQtWrapper_QFileInfo::caching(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->caching()); +} + +QString PythonQtWrapper_QFileInfo::canonicalFilePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->canonicalFilePath()); +} + +QString PythonQtWrapper_QFileInfo::canonicalPath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->canonicalPath()); +} + +QString PythonQtWrapper_QFileInfo::completeBaseName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->completeBaseName()); +} + +QString PythonQtWrapper_QFileInfo::completeSuffix(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->completeSuffix()); +} + +QDateTime PythonQtWrapper_QFileInfo::created(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->created()); +} + +QDir PythonQtWrapper_QFileInfo::dir(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->dir()); +} + +bool PythonQtWrapper_QFileInfo::exists(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->exists()); +} + +bool PythonQtWrapper_QFileInfo::static_QFileInfo_exists(const QString& file) +{ + return (QFileInfo::exists(file)); +} + +QString PythonQtWrapper_QFileInfo::fileName(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QFileInfo::filePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->filePath()); +} + +QString PythonQtWrapper_QFileInfo::group(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +uint PythonQtWrapper_QFileInfo::groupId(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->groupId()); +} + +bool PythonQtWrapper_QFileInfo::isAbsolute(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isAbsolute()); +} + +bool PythonQtWrapper_QFileInfo::isBundle(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isBundle()); +} + +bool PythonQtWrapper_QFileInfo::isDir(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isDir()); +} + +bool PythonQtWrapper_QFileInfo::isExecutable(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isExecutable()); +} + +bool PythonQtWrapper_QFileInfo::isFile(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isFile()); +} + +bool PythonQtWrapper_QFileInfo::isHidden(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QFileInfo::isJunction(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isJunction()); +} + +bool PythonQtWrapper_QFileInfo::isNativePath(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isNativePath()); +} + +bool PythonQtWrapper_QFileInfo::isReadable(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QFileInfo::isRelative(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isRelative()); +} + +bool PythonQtWrapper_QFileInfo::isRoot(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isRoot()); +} + +bool PythonQtWrapper_QFileInfo::isShortcut(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isShortcut()); +} + +bool PythonQtWrapper_QFileInfo::isSymLink(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isSymLink()); +} + +bool PythonQtWrapper_QFileInfo::isSymbolicLink(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isSymbolicLink()); +} + +bool PythonQtWrapper_QFileInfo::isWritable(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QDateTime PythonQtWrapper_QFileInfo::lastModified(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->lastModified()); +} + +QDateTime PythonQtWrapper_QFileInfo::lastRead(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->lastRead()); +} + +bool PythonQtWrapper_QFileInfo::makeAbsolute(QFileInfo* theWrappedObject) +{ + return ( theWrappedObject->makeAbsolute()); +} + +QDateTime PythonQtWrapper_QFileInfo::metadataChangeTime(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->metadataChangeTime()); +} + +QString PythonQtWrapper_QFileInfo::owner(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->owner()); +} + +uint PythonQtWrapper_QFileInfo::ownerId(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->ownerId()); +} + +QString PythonQtWrapper_QFileInfo::path(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +bool PythonQtWrapper_QFileInfo::permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const +{ + return ( theWrappedObject->permission(permissions)); +} + +QFile::Permissions PythonQtWrapper_QFileInfo::permissions(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->permissions()); +} + +void PythonQtWrapper_QFileInfo::refresh(QFileInfo* theWrappedObject) +{ + ( theWrappedObject->refresh()); +} + +void PythonQtWrapper_QFileInfo::setCaching(QFileInfo* theWrappedObject, bool on) +{ + ( theWrappedObject->setCaching(on)); +} + +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file) +{ + ( theWrappedObject->setFile(dir, file)); +} + +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QFile& file) +{ + ( theWrappedObject->setFile(file)); +} + +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QString& file) +{ + ( theWrappedObject->setFile(file)); +} + +qint64 PythonQtWrapper_QFileInfo::size(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QString PythonQtWrapper_QFileInfo::suffix(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->suffix()); +} + +void PythonQtWrapper_QFileInfo::swap(QFileInfo* theWrappedObject, QFileInfo& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QFileInfo::symLinkTarget(QFileInfo* theWrappedObject) const +{ + return ( theWrappedObject->symLinkTarget()); +} + +QString PythonQtWrapper_QFileInfo::py_toString(QFileInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QFileSelector::~PythonQtShell_QFileSelector() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFileSelector::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSelector::childEvent(event0); +} +void PythonQtShell_QFileSelector::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSelector::customEvent(event0); +} +bool PythonQtShell_QFileSelector::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSelector::event(event0); +} +bool PythonQtShell_QFileSelector::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSelector::eventFilter(watched0, event1); +} +void PythonQtShell_QFileSelector::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSelector::timerEvent(event0); +} +QFileSelector* PythonQtWrapper_QFileSelector::new_QFileSelector(QObject* parent) +{ +return new PythonQtShell_QFileSelector(parent); } + +const QMetaObject* PythonQtShell_QFileSelector::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileSelector::staticMetaObject); + } else { + return &QFileSelector::staticMetaObject; + } +} +int PythonQtShell_QFileSelector::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileSelector::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QFileSelector::allSelectors(QFileSelector* theWrappedObject) const +{ + return ( theWrappedObject->allSelectors()); +} + +QStringList PythonQtWrapper_QFileSelector::extraSelectors(QFileSelector* theWrappedObject) const +{ + return ( theWrappedObject->extraSelectors()); +} + +QString PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QString& filePath) const +{ + return ( theWrappedObject->select(filePath)); +} + +QUrl PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QUrl& filePath) const +{ + return ( theWrappedObject->select(filePath)); +} + +void PythonQtWrapper_QFileSelector::setExtraSelectors(QFileSelector* theWrappedObject, const QStringList& list) +{ + ( theWrappedObject->setExtraSelectors(list)); +} + + + +PythonQtShell_QFileSystemWatcher::~PythonQtShell_QFileSystemWatcher() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSystemWatcher::childEvent(event0); +} +void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSystemWatcher::customEvent(event0); +} +bool PythonQtShell_QFileSystemWatcher::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemWatcher::event(event0); +} +bool PythonQtShell_QFileSystemWatcher::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemWatcher::eventFilter(watched0, event1); +} +void PythonQtShell_QFileSystemWatcher::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSystemWatcher::timerEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QFileSystemWatcher::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileSystemWatcher::staticMetaObject); + } else { + return &QFileSystemWatcher::staticMetaObject; + } +} +int PythonQtShell_QFileSystemWatcher::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFileSystemWatcher::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QFileSystemWatcher::addPath(QFileSystemWatcher* theWrappedObject, const QString& file) +{ + return ( theWrappedObject->addPath(file)); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) +{ + return ( theWrappedObject->addPaths(files)); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::directories(QFileSystemWatcher* theWrappedObject) const +{ + return ( theWrappedObject->directories()); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::files(QFileSystemWatcher* theWrappedObject) const +{ + return ( theWrappedObject->files()); +} + +bool PythonQtWrapper_QFileSystemWatcher::removePath(QFileSystemWatcher* theWrappedObject, const QString& file) +{ + return ( theWrappedObject->removePath(file)); +} + +QStringList PythonQtWrapper_QFileSystemWatcher::removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) +{ + return ( theWrappedObject->removePaths(files)); +} + + + +PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFinalState::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFinalState::childEvent(event0); +} +void PythonQtShell_QFinalState::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFinalState::customEvent(event0); +} +bool PythonQtShell_QFinalState::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFinalState::event(e0); +} +bool PythonQtShell_QFinalState::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFinalState::eventFilter(watched0, event1); +} +void PythonQtShell_QFinalState::onEntry(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onEntry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFinalState::onEntry(event0); +} +void PythonQtShell_QFinalState::onExit(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onExit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFinalState::onExit(event0); +} +void PythonQtShell_QFinalState::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFinalState::timerEvent(event0); +} +QFinalState* PythonQtWrapper_QFinalState::new_QFinalState(QState* parent) +{ +return new PythonQtShell_QFinalState(parent); } + +const QMetaObject* PythonQtShell_QFinalState::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFinalState::staticMetaObject); + } else { + return &QFinalState::staticMetaObject; + } +} +int PythonQtShell_QFinalState::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFinalState::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHistoryState::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHistoryState::childEvent(event0); +} +void PythonQtShell_QHistoryState::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHistoryState::customEvent(event0); +} +bool PythonQtShell_QHistoryState::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHistoryState::event(e0); +} +bool PythonQtShell_QHistoryState::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHistoryState::eventFilter(watched0, event1); +} +void PythonQtShell_QHistoryState::onEntry(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onEntry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHistoryState::onEntry(event0); +} +void PythonQtShell_QHistoryState::onExit(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onExit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHistoryState::onExit(event0); +} +void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHistoryState::timerEvent(event0); +} +QHistoryState* PythonQtWrapper_QHistoryState::new_QHistoryState(QHistoryState::HistoryType type, QState* parent) +{ +return new PythonQtShell_QHistoryState(type, parent); } + +QHistoryState* PythonQtWrapper_QHistoryState::new_QHistoryState(QState* parent) +{ +return new PythonQtShell_QHistoryState(parent); } + +const QMetaObject* PythonQtShell_QHistoryState::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHistoryState::staticMetaObject); + } else { + return &QHistoryState::staticMetaObject; + } +} +int PythonQtShell_QHistoryState::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHistoryState::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAbstractState* PythonQtWrapper_QHistoryState::defaultState(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->defaultState()); +} + +QAbstractTransition* PythonQtWrapper_QHistoryState::defaultTransition(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->defaultTransition()); +} + +QHistoryState::HistoryType PythonQtWrapper_QHistoryState::historyType(QHistoryState* theWrappedObject) const +{ + return ( theWrappedObject->historyType()); +} + +void PythonQtWrapper_QHistoryState::setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->setDefaultState(state)); +} + +void PythonQtWrapper_QHistoryState::setDefaultTransition(QHistoryState* theWrappedObject, QAbstractTransition* transition) +{ + ( theWrappedObject->setDefaultTransition(transition)); +} + +void PythonQtWrapper_QHistoryState::setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type) +{ + ( theWrappedObject->setHistoryType(type)); +} + + + +PythonQtShell_QIODevice::~PythonQtShell_QIODevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QIODevice::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::atEnd(); +} +qint64 PythonQtShell_QIODevice::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::bytesAvailable(); +} +qint64 PythonQtShell_QIODevice::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::bytesToWrite(); +} +bool PythonQtShell_QIODevice::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::canReadLine(); +} +void PythonQtShell_QIODevice::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIODevice::childEvent(event0); +} +void PythonQtShell_QIODevice::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIODevice::close(); +} +void PythonQtShell_QIODevice::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIODevice::customEvent(event0); +} +bool PythonQtShell_QIODevice::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::event(event0); +} +bool PythonQtShell_QIODevice::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::eventFilter(watched0, event1); +} +bool PythonQtShell_QIODevice::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::isSequential(); +} +bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::open(mode0); +} +qint64 PythonQtShell_QIODevice::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::pos(); +} +qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::readLineData(data0, maxlen1); +} +bool PythonQtShell_QIODevice::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::reset(); +} +bool PythonQtShell_QIODevice::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::seek(pos0); +} +qint64 PythonQtShell_QIODevice::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::size(); +} +void PythonQtShell_QIODevice::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIODevice::timerEvent(event0); +} +bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIODevice::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +QIODevice* PythonQtWrapper_QIODevice::new_QIODevice() +{ +return new PythonQtShell_QIODevice(); } + +QIODevice* PythonQtWrapper_QIODevice::new_QIODevice(QObject* parent) +{ +return new PythonQtShell_QIODevice(parent); } + +const QMetaObject* PythonQtShell_QIODevice::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIODevice::staticMetaObject); + } else { + return &QIODevice::staticMetaObject; + } +} +int PythonQtShell_QIODevice::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QIODevice::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QIODevice::atEnd(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +qint64 PythonQtWrapper_QIODevice::bytesAvailable(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->bytesAvailable()); +} + +qint64 PythonQtWrapper_QIODevice::bytesToWrite(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->bytesToWrite()); +} + +bool PythonQtWrapper_QIODevice::canReadLine(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->canReadLine()); +} + +void PythonQtWrapper_QIODevice::close(QIODevice* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +void PythonQtWrapper_QIODevice::commitTransaction(QIODevice* theWrappedObject) +{ + ( theWrappedObject->commitTransaction()); +} + +int PythonQtWrapper_QIODevice::currentReadChannel(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->currentReadChannel()); +} + +int PythonQtWrapper_QIODevice::currentWriteChannel(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->currentWriteChannel()); +} + +QString PythonQtWrapper_QIODevice::errorString(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QIODevice::getChar(QIODevice* theWrappedObject, char* c) +{ + return ( theWrappedObject->getChar(c)); +} + +bool PythonQtWrapper_QIODevice::isOpen(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isOpen()); +} + +bool PythonQtWrapper_QIODevice::isReadable(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QIODevice::isSequential(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isSequential()); +} + +bool PythonQtWrapper_QIODevice::isTextModeEnabled(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isTextModeEnabled()); +} + +bool PythonQtWrapper_QIODevice::isTransactionStarted(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isTransactionStarted()); +} + +bool PythonQtWrapper_QIODevice::isWritable(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +bool PythonQtWrapper_QIODevice::open(QIODevice* theWrappedObject, QIODevice::OpenMode mode) +{ + return ( theWrappedObject->open(mode)); +} + +QIODevice::OpenMode PythonQtWrapper_QIODevice::openMode(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->openMode()); +} + +QByteArray PythonQtWrapper_QIODevice::peek(QIODevice* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->peek(maxlen)); +} + +qint64 PythonQtWrapper_QIODevice::pos(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +bool PythonQtWrapper_QIODevice::putChar(QIODevice* theWrappedObject, char c) +{ + return ( theWrappedObject->putChar(c)); +} + +QByteArray PythonQtWrapper_QIODevice::read(QIODevice* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->read(maxlen)); +} + +QByteArray PythonQtWrapper_QIODevice::readAll(QIODevice* theWrappedObject) +{ + return ( theWrappedObject->readAll()); +} + +int PythonQtWrapper_QIODevice::readChannelCount(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->readChannelCount()); +} + +qint64 PythonQtWrapper_QIODevice::readData(QIODevice* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readData(data, maxlen)); +} + +QByteArray PythonQtWrapper_QIODevice::readLine(QIODevice* theWrappedObject, qint64 maxlen) +{ + return ( theWrappedObject->readLine(maxlen)); +} + +qint64 PythonQtWrapper_QIODevice::readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_readLineData(data, maxlen)); +} + +bool PythonQtWrapper_QIODevice::reset(QIODevice* theWrappedObject) +{ + return ( theWrappedObject->reset()); +} + +void PythonQtWrapper_QIODevice::rollbackTransaction(QIODevice* theWrappedObject) +{ + ( theWrappedObject->rollbackTransaction()); +} + +bool PythonQtWrapper_QIODevice::seek(QIODevice* theWrappedObject, qint64 pos) +{ + return ( theWrappedObject->seek(pos)); +} + +void PythonQtWrapper_QIODevice::setCurrentReadChannel(QIODevice* theWrappedObject, int channel) +{ + ( theWrappedObject->setCurrentReadChannel(channel)); +} + +void PythonQtWrapper_QIODevice::setCurrentWriteChannel(QIODevice* theWrappedObject, int channel) +{ + ( theWrappedObject->setCurrentWriteChannel(channel)); +} + +void PythonQtWrapper_QIODevice::setErrorString(QIODevice* theWrappedObject, const QString& errorString) +{ + ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setErrorString(errorString)); +} + +void PythonQtWrapper_QIODevice::setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode) +{ + ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_setOpenMode(openMode)); +} + +void PythonQtWrapper_QIODevice::setTextModeEnabled(QIODevice* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setTextModeEnabled(enabled)); +} + +qint64 PythonQtWrapper_QIODevice::size(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +qint64 PythonQtWrapper_QIODevice::skip(QIODevice* theWrappedObject, qint64 maxSize) +{ + return ( theWrappedObject->skip(maxSize)); +} + +void PythonQtWrapper_QIODevice::startTransaction(QIODevice* theWrappedObject) +{ + ( theWrappedObject->startTransaction()); +} + +void PythonQtWrapper_QIODevice::ungetChar(QIODevice* theWrappedObject, char c) +{ + ( theWrappedObject->ungetChar(c)); +} + +bool PythonQtWrapper_QIODevice::waitForBytesWritten(QIODevice* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForBytesWritten(msecs)); +} + +bool PythonQtWrapper_QIODevice::waitForReadyRead(QIODevice* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForReadyRead(msecs)); +} + +qint64 PythonQtWrapper_QIODevice::write(QIODevice* theWrappedObject, const QByteArray& data) +{ + return ( theWrappedObject->write(data)); +} + +qint64 PythonQtWrapper_QIODevice::write(QIODevice* theWrappedObject, const char* data) +{ + return ( theWrappedObject->write(data)); +} + +int PythonQtWrapper_QIODevice::writeChannelCount(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->writeChannelCount()); +} + +qint64 PythonQtWrapper_QIODevice::writeData(QIODevice* theWrappedObject, const char* data, qint64 len) +{ + return ( ((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->promoted_writeData(data, len)); +} + + + +PythonQtShell_QIdentityProxyModel::~PythonQtShell_QIdentityProxyModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QModelIndex PythonQtShell_QIdentityProxyModel::buddy(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("buddy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::buddy(index0); +} +bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canDropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canFetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::canFetchMore(parent0); +} +void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::childEvent(event0); +} +int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("columnCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::columnCount(parent0); +} +void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::customEvent(event0); +} +QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&proxyIndex0, (void*)&role1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::data(proxyIndex0, role1); +} +bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QIdentityProxyModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::event(event0); +} +bool PythonQtShell_QIdentityProxyModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::eventFilter(watched0, event1); +} +void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fetchMore"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::fetchMore(parent0); +} +Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("flags"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::flags(index0); +} +bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::hasChildren(parent0); +} +QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("headerData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::headerData(section0, orientation1, role2); +} +QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("index"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::index(row0, column1, parent2); +} +bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::insertColumns(column0, count1, parent2); +} +bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::insertRows(row0, count1, parent2); +} +QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::itemData(index0); +} +QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapFromSource(sourceIndex0); +} +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionFromSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapSelectionFromSource(selection0); +} +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapSelectionToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapSelectionToSource(selection0); +} +QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mapToSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mapToSource(proxyIndex0); +} +QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("match"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::match(start0, role1, value2, hits3, flags4); +} +QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mimeData(indexes0); +} +QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::mimeTypes(); +} +bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); +} +bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); +} +QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::parent(child0); +} +bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeColumns"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::removeColumns(column0, count1, parent2); +} +bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeRows"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::removeRows(row0, count1, parent2); +} +void PythonQtShell_QIdentityProxyModel::revert() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("revert"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::revert(); +} +QHash PythonQtShell_QIdentityProxyModel::roleNames() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("roleNames"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QHash returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::roleNames(); +} +int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::rowCount(parent0); +} +bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::setData(index0, value1, role2); +} +bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setHeaderData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::setHeaderData(section0, orientation1, value2, role3); +} +bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setItemData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::setItemData(index0, roles1); +} +void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSourceModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&sourceModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::setSourceModel(sourceModel0); +} +QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sibling"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::sibling(row0, column1, idx2); +} +void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::sort(column0, order1); +} +QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::span(index0); +} +bool PythonQtShell_QIdentityProxyModel::submit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("submit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::submit(); +} +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDragActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::supportedDragActions(); +} +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QIdentityProxyModel::supportedDropActions(); +} +void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QIdentityProxyModel::timerEvent(event0); +} +QIdentityProxyModel* PythonQtWrapper_QIdentityProxyModel::new_QIdentityProxyModel(QObject* parent) +{ +return new PythonQtShell_QIdentityProxyModel(parent); } + +const QMetaObject* PythonQtShell_QIdentityProxyModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIdentityProxyModel::staticMetaObject); + } else { + return &QIdentityProxyModel::staticMetaObject; + } +} +int PythonQtShell_QIdentityProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QIdentityProxyModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray() +{ +return new QJsonArray(); } + +QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray(const QJsonArray& other) +{ +return new QJsonArray(other); } + +void PythonQtWrapper_QJsonArray::append(QJsonArray* theWrappedObject, const QJsonValue& value) +{ + ( theWrappedObject->append(value)); +} + +QJsonValue PythonQtWrapper_QJsonArray::at(QJsonArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +bool PythonQtWrapper_QJsonArray::contains(QJsonArray* theWrappedObject, const QJsonValue& element) const +{ + return ( theWrappedObject->contains(element)); +} + +int PythonQtWrapper_QJsonArray::count(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QJsonArray::empty(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +QJsonValue PythonQtWrapper_QJsonArray::first(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->first()); +} + +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromStringList(const QStringList& list) +{ + return (QJsonArray::fromStringList(list)); +} + +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromVariantList(const QList& list) +{ + return (QJsonArray::fromVariantList(list)); +} + +bool PythonQtWrapper_QJsonArray::isEmpty(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QJsonValue PythonQtWrapper_QJsonArray::last(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->last()); +} + +bool PythonQtWrapper_QJsonArray::__ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QJsonArray PythonQtWrapper_QJsonArray::__add__(QJsonArray* theWrappedObject, const QJsonValue& v) const +{ + return ( (*theWrappedObject)+ v); +} + +QJsonArray* PythonQtWrapper_QJsonArray::__iadd__(QJsonArray* theWrappedObject, const QJsonValue& v) +{ + return &( (*theWrappedObject)+= v); +} + +void PythonQtWrapper_QJsonArray::writeTo(QJsonArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonArray* PythonQtWrapper_QJsonArray::__lshift__(QJsonArray* theWrappedObject, const QJsonValue& v) +{ + return &( (*theWrappedObject) <> (*theWrappedObject); +} + +QJsonValue PythonQtWrapper_QJsonArray::operator_subscript(QJsonArray* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QJsonArray::pop_back(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QJsonArray::pop_front(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QJsonArray::prepend(QJsonArray* theWrappedObject, const QJsonValue& value) +{ + ( theWrappedObject->prepend(value)); +} + +void PythonQtWrapper_QJsonArray::push_back(QJsonArray* theWrappedObject, const QJsonValue& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QJsonArray::push_front(QJsonArray* theWrappedObject, const QJsonValue& t) +{ + ( theWrappedObject->push_front(t)); +} + +void PythonQtWrapper_QJsonArray::removeAt(QJsonArray* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QJsonArray::removeFirst(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QJsonArray::removeLast(QJsonArray* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +void PythonQtWrapper_QJsonArray::replace(QJsonArray* theWrappedObject, int i, const QJsonValue& value) +{ + ( theWrappedObject->replace(i, value)); +} + +int PythonQtWrapper_QJsonArray::size(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QJsonArray::swap(QJsonArray* theWrappedObject, QJsonArray& other) +{ + ( theWrappedObject->swap(other)); +} + +QJsonValue PythonQtWrapper_QJsonArray::takeAt(QJsonArray* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QList PythonQtWrapper_QJsonArray::toVariantList(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->toVariantList()); +} + +QString PythonQtWrapper_QJsonArray::py_toString(QJsonArray* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QJsonDocument::~PythonQtShell_QJsonDocument() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument() +{ +return new PythonQtShell_QJsonDocument(); } + +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonArray& array) +{ +return new PythonQtShell_QJsonDocument(array); } + +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonDocument& other) +{ +return new PythonQtShell_QJsonDocument(other); } + +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonObject& object) +{ +return new PythonQtShell_QJsonDocument(object); } + +QJsonArray PythonQtWrapper_QJsonDocument::array(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->array()); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromBinaryData(const QByteArray& data, QJsonDocument::DataValidation validation) +{ + return (QJsonDocument::fromBinaryData(data, validation)); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromJson(const QByteArray& json, QJsonParseError* error) +{ + return (QJsonDocument::fromJson(json, error)); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromRawData(const char* data, int size, QJsonDocument::DataValidation validation) +{ + return (QJsonDocument::fromRawData(data, size, validation)); +} + +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromVariant(const QVariant& variant) +{ + return (QJsonDocument::fromVariant(variant)); +} + +bool PythonQtWrapper_QJsonDocument::isArray(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QJsonDocument::isEmpty(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QJsonDocument::isNull(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QJsonDocument::isObject(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->isObject()); +} + +QJsonObject PythonQtWrapper_QJsonDocument::object(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +bool PythonQtWrapper_QJsonDocument::__ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QJsonDocument::writeTo(QJsonDocument* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonDocument* PythonQtWrapper_QJsonDocument::operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QJsonDocument::__eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QJsonDocument::readFrom(QJsonDocument* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, QLatin1String key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +const char* PythonQtWrapper_QJsonDocument::rawData(QJsonDocument* theWrappedObject, int* size) const +{ + return ( theWrappedObject->rawData(size)); +} + +void PythonQtWrapper_QJsonDocument::setArray(QJsonDocument* theWrappedObject, const QJsonArray& array) +{ + ( theWrappedObject->setArray(array)); +} + +void PythonQtWrapper_QJsonDocument::setObject(QJsonDocument* theWrappedObject, const QJsonObject& object) +{ + ( theWrappedObject->setObject(object)); +} + +void PythonQtWrapper_QJsonDocument::swap(QJsonDocument* theWrappedObject, QJsonDocument& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QJsonDocument::toBinaryData(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->toBinaryData()); +} + +QByteArray PythonQtWrapper_QJsonDocument::toJson(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->toJson()); +} + +QByteArray PythonQtWrapper_QJsonDocument::toJson(QJsonDocument* theWrappedObject, QJsonDocument::JsonFormat format) const +{ + return ( theWrappedObject->toJson(format)); +} + +QVariant PythonQtWrapper_QJsonDocument::toVariant(QJsonDocument* theWrappedObject) const +{ + return ( theWrappedObject->toVariant()); +} + +QString PythonQtWrapper_QJsonDocument::py_toString(QJsonDocument* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QJsonObject* PythonQtWrapper_QJsonObject::new_QJsonObject() +{ +return new QJsonObject(); } + +QJsonObject* PythonQtWrapper_QJsonObject::new_QJsonObject(const QJsonObject& other) +{ +return new QJsonObject(other); } + +bool PythonQtWrapper_QJsonObject::contains(QJsonObject* theWrappedObject, QLatin1String key) const +{ + return ( theWrappedObject->contains(key)); +} + +bool PythonQtWrapper_QJsonObject::contains(QJsonObject* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->contains(key)); +} + +int PythonQtWrapper_QJsonObject::count(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QJsonObject::empty(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +QJsonObject PythonQtWrapper_QJsonObject::static_QJsonObject_fromVariantHash(const QHash& map) +{ + return (QJsonObject::fromVariantHash(map)); +} + +QJsonObject PythonQtWrapper_QJsonObject::static_QJsonObject_fromVariantMap(const QMap& map) +{ + return (QJsonObject::fromVariantMap(map)); +} + +bool PythonQtWrapper_QJsonObject::isEmpty(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QStringList PythonQtWrapper_QJsonObject::keys(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +int PythonQtWrapper_QJsonObject::length(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +bool PythonQtWrapper_QJsonObject::__ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QJsonObject::writeTo(QJsonObject* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonObject* PythonQtWrapper_QJsonObject::operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QJsonObject::__eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QJsonObject::readFrom(QJsonObject* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QJsonValue PythonQtWrapper_QJsonObject::operator_subscript(QJsonObject* theWrappedObject, QLatin1String key) const +{ + return ( (*theWrappedObject)[key]); +} + +QJsonValue PythonQtWrapper_QJsonObject::operator_subscript(QJsonObject* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +void PythonQtWrapper_QJsonObject::remove(QJsonObject* theWrappedObject, QLatin1String key) +{ + ( theWrappedObject->remove(key)); +} + +void PythonQtWrapper_QJsonObject::remove(QJsonObject* theWrappedObject, const QString& key) +{ + ( theWrappedObject->remove(key)); +} + +int PythonQtWrapper_QJsonObject::size(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QJsonObject::swap(QJsonObject* theWrappedObject, QJsonObject& other) +{ + ( theWrappedObject->swap(other)); +} + +QJsonValue PythonQtWrapper_QJsonObject::take(QJsonObject* theWrappedObject, QLatin1String key) +{ + return ( theWrappedObject->take(key)); +} + +QJsonValue PythonQtWrapper_QJsonObject::take(QJsonObject* theWrappedObject, const QString& key) +{ + return ( theWrappedObject->take(key)); +} + +QHash PythonQtWrapper_QJsonObject::toVariantHash(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->toVariantHash()); +} + +QMap PythonQtWrapper_QJsonObject::toVariantMap(QJsonObject* theWrappedObject) const +{ + return ( theWrappedObject->toVariantMap()); +} + +QJsonValue PythonQtWrapper_QJsonObject::value(QJsonObject* theWrappedObject, QLatin1String key) const +{ + return ( theWrappedObject->value(key)); +} + +QJsonValue PythonQtWrapper_QJsonObject::value(QJsonObject* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->value(key)); +} + +QString PythonQtWrapper_QJsonObject::py_toString(QJsonObject* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QJsonParseError::~PythonQtShell_QJsonParseError() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QJsonParseError* PythonQtWrapper_QJsonParseError::new_QJsonParseError() +{ +return new PythonQtShell_QJsonParseError(); } + +QString PythonQtWrapper_QJsonParseError::errorString(QJsonParseError* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + + + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(QJsonValue::Type arg__1) +{ +return new QJsonValue(arg__1); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(QLatin1String s) +{ +return new QJsonValue(s); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(bool b) +{ +return new QJsonValue(b); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonArray& a) +{ +return new QJsonValue(a); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonObject& o) +{ +return new QJsonValue(o); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonValue& other) +{ +return new QJsonValue(other); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QString& s) +{ +return new QJsonValue(s); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const char* s) +{ +return new QJsonValue(s); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(double n) +{ +return new QJsonValue(n); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(int n) +{ +return new QJsonValue(n); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(qint64 v) +{ +return new QJsonValue(v); } + +QJsonValue PythonQtWrapper_QJsonValue::static_QJsonValue_fromVariant(const QVariant& variant) +{ + return (QJsonValue::fromVariant(variant)); +} + +bool PythonQtWrapper_QJsonValue::isArray(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QJsonValue::isBool(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isBool()); +} + +bool PythonQtWrapper_QJsonValue::isDouble(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isDouble()); +} + +bool PythonQtWrapper_QJsonValue::isNull(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QJsonValue::isObject(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isObject()); +} + +bool PythonQtWrapper_QJsonValue::isString(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isString()); +} + +bool PythonQtWrapper_QJsonValue::isUndefined(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isUndefined()); +} + +bool PythonQtWrapper_QJsonValue::__ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QJsonValue::writeTo(QJsonValue* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QJsonValue* PythonQtWrapper_QJsonValue::operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QJsonValue::__eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QJsonValue::readFrom(QJsonValue* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, QLatin1String key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QJsonValue::swap(QJsonValue* theWrappedObject, QJsonValue& other) +{ + ( theWrappedObject->swap(other)); +} + +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toArray()); +} + +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const +{ + return ( theWrappedObject->toArray(defaultValue)); +} + +bool PythonQtWrapper_QJsonValue::toBool(QJsonValue* theWrappedObject, bool defaultValue) const +{ + return ( theWrappedObject->toBool(defaultValue)); +} + +double PythonQtWrapper_QJsonValue::toDouble(QJsonValue* theWrappedObject, double defaultValue) const +{ + return ( theWrappedObject->toDouble(defaultValue)); +} + +int PythonQtWrapper_QJsonValue::toInt(QJsonValue* theWrappedObject, int defaultValue) const +{ + return ( theWrappedObject->toInt(defaultValue)); +} + +QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toObject()); +} + +QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const +{ + return ( theWrappedObject->toObject(defaultValue)); +} + +QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject, const QString& defaultValue) const +{ + return ( theWrappedObject->toString(defaultValue)); +} + +QVariant PythonQtWrapper_QJsonValue::toVariant(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->toVariant()); +} + +QJsonValue::Type PythonQtWrapper_QJsonValue::type(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QJsonValue::py_toString(QJsonValue* obj) { return obj->toString(); } + + +PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLibrary::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLibrary::childEvent(event0); +} +void PythonQtShell_QLibrary::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLibrary::customEvent(event0); +} +bool PythonQtShell_QLibrary::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLibrary::event(event0); +} +bool PythonQtShell_QLibrary::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLibrary::eventFilter(watched0, event1); +} +void PythonQtShell_QLibrary::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLibrary::timerEvent(event0); +} +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(QObject* parent) +{ +return new PythonQtShell_QLibrary(parent); } + +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, QObject* parent) +{ +return new PythonQtShell_QLibrary(fileName, parent); } + +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, const QString& version, QObject* parent) +{ +return new PythonQtShell_QLibrary(fileName, version, parent); } + +QLibrary* PythonQtWrapper_QLibrary::new_QLibrary(const QString& fileName, int verNum, QObject* parent) +{ +return new PythonQtShell_QLibrary(fileName, verNum, parent); } + +const QMetaObject* PythonQtShell_QLibrary::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLibrary::staticMetaObject); + } else { + return &QLibrary::staticMetaObject; + } +} +int PythonQtShell_QLibrary::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLibrary::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QLibrary::errorString(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QLibrary::fileName(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +bool PythonQtWrapper_QLibrary::static_QLibrary_isLibrary(const QString& fileName) +{ + return (QLibrary::isLibrary(fileName)); +} + +bool PythonQtWrapper_QLibrary::isLoaded(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->isLoaded()); +} + +bool PythonQtWrapper_QLibrary::load(QLibrary* theWrappedObject) +{ + return ( theWrappedObject->load()); +} + +QLibrary::LoadHints PythonQtWrapper_QLibrary::loadHints(QLibrary* theWrappedObject) const +{ + return ( theWrappedObject->loadHints()); +} + +void PythonQtWrapper_QLibrary::setFileName(QLibrary* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version) +{ + ( theWrappedObject->setFileNameAndVersion(fileName, version)); +} + +void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum) +{ + ( theWrappedObject->setFileNameAndVersion(fileName, verNum)); +} + +void PythonQtWrapper_QLibrary::setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints) +{ + ( theWrappedObject->setLoadHints(hints)); +} + +bool PythonQtWrapper_QLibrary::unload(QLibrary* theWrappedObject) +{ + return ( theWrappedObject->unload()); +} + + + +const char* PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_build() +{ + return (QLibraryInfo::build()); +} + +QDate PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildDate() +{ + return (QLibraryInfo::buildDate()); +} + +bool PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_isDebugBuild() +{ + return (QLibraryInfo::isDebugBuild()); +} + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensedProducts() +{ + return (QLibraryInfo::licensedProducts()); +} + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensee() +{ + return (QLibraryInfo::licensee()); +} + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1) +{ + return (QLibraryInfo::location(arg__1)); +} + +QStringList PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_platformPluginArguments(const QString& platformName) +{ + return (QLibraryInfo::platformPluginArguments(platformName)); +} + + + +QLockFile* PythonQtWrapper_QLockFile::new_QLockFile(const QString& fileName) +{ +return new QLockFile(fileName); } + +QLockFile::LockError PythonQtWrapper_QLockFile::error(QLockFile* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QLockFile::getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const +{ + return ( theWrappedObject->getLockInfo(pid, hostname, appname)); +} + +bool PythonQtWrapper_QLockFile::isLocked(QLockFile* theWrappedObject) const +{ + return ( theWrappedObject->isLocked()); +} + +bool PythonQtWrapper_QLockFile::lock(QLockFile* theWrappedObject) +{ + return ( theWrappedObject->lock()); +} + +bool PythonQtWrapper_QLockFile::removeStaleLockFile(QLockFile* theWrappedObject) +{ + return ( theWrappedObject->removeStaleLockFile()); +} + +void PythonQtWrapper_QLockFile::setStaleLockTime(QLockFile* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setStaleLockTime(arg__1)); +} + +int PythonQtWrapper_QLockFile::staleLockTime(QLockFile* theWrappedObject) const +{ + return ( theWrappedObject->staleLockTime()); +} + +bool PythonQtWrapper_QLockFile::tryLock(QLockFile* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLock(timeout)); +} + +void PythonQtWrapper_QLockFile::unlock(QLockFile* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +const char* PythonQtWrapper_QLoggingCategory::categoryName(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->categoryName()); +} + +QLoggingCategory* PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_defaultCategory() +{ + return (QLoggingCategory::defaultCategory()); +} + +bool PythonQtWrapper_QLoggingCategory::isCriticalEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isCriticalEnabled()); +} + +bool PythonQtWrapper_QLoggingCategory::isDebugEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isDebugEnabled()); +} + +bool PythonQtWrapper_QLoggingCategory::isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const +{ + return ( theWrappedObject->isEnabled(type)); +} + +bool PythonQtWrapper_QLoggingCategory::isInfoEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isInfoEnabled()); +} + +bool PythonQtWrapper_QLoggingCategory::isWarningEnabled(QLoggingCategory* theWrappedObject) const +{ + return ( theWrappedObject->isWarningEnabled()); +} + +void PythonQtWrapper_QLoggingCategory::setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable) +{ + ( theWrappedObject->setEnabled(type, enable)); +} + +void PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_setFilterRules(const QString& rules) +{ + (QLoggingCategory::setFilterRules(rules)); +} + + + +QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF() +{ +return new QMarginsF(); } + +QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF(const QMargins& margins) +{ +return new QMarginsF(margins); } + +QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF(qreal left, qreal top, qreal right, qreal bottom) +{ +return new QMarginsF(left, top, right, bottom); } + +qreal PythonQtWrapper_QMarginsF::bottom(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +bool PythonQtWrapper_QMarginsF::isNull(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QMarginsF::left(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +bool PythonQtWrapper_QMarginsF::__ne__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QMarginsF PythonQtWrapper_QMarginsF::__mul__(QMarginsF* theWrappedObject, qreal rhs) +{ + return ( (*theWrappedObject)* rhs); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__imul__(QMarginsF* theWrappedObject, qreal factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QRectF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QRectF& rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, qreal rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, qreal addend) +{ + return &( (*theWrappedObject)+= addend); +} + +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, qreal rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, qreal subtrahend) +{ + return &( (*theWrappedObject)-= subtrahend); +} + +QMarginsF PythonQtWrapper_QMarginsF::__div__(QMarginsF* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMarginsF* PythonQtWrapper_QMarginsF::__idiv__(QMarginsF* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QMarginsF::writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMarginsF::__eq__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QMarginsF::readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +qreal PythonQtWrapper_QMarginsF::right(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QMarginsF::setBottom(QMarginsF* theWrappedObject, qreal bottom) +{ + ( theWrappedObject->setBottom(bottom)); +} + +void PythonQtWrapper_QMarginsF::setLeft(QMarginsF* theWrappedObject, qreal left) +{ + ( theWrappedObject->setLeft(left)); +} + +void PythonQtWrapper_QMarginsF::setRight(QMarginsF* theWrappedObject, qreal right) +{ + ( theWrappedObject->setRight(right)); +} + +void PythonQtWrapper_QMarginsF::setTop(QMarginsF* theWrappedObject, qreal top) +{ + ( theWrappedObject->setTop(top)); +} + +QMargins PythonQtWrapper_QMarginsF::toMargins(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->toMargins()); +} + +qreal PythonQtWrapper_QMarginsF::top(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QString PythonQtWrapper_QMarginsF::py_toString(QMarginsF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QMessageAuthenticationCode* PythonQtWrapper_QMessageAuthenticationCode::new_QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray& key) +{ +return new QMessageAuthenticationCode(method, key); } + +bool PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device) +{ + return ( theWrappedObject->addData(device)); +} + +void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->addData(data)); +} + +void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length) +{ + ( theWrappedObject->addData(data, length)); +} + +QByteArray PythonQtWrapper_QMessageAuthenticationCode::static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method) +{ + return (QMessageAuthenticationCode::hash(message, key, method)); +} + +void PythonQtWrapper_QMessageAuthenticationCode::reset(QMessageAuthenticationCode* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QByteArray PythonQtWrapper_QMessageAuthenticationCode::result(QMessageAuthenticationCode* theWrappedObject) const +{ + return ( theWrappedObject->result()); +} + +void PythonQtWrapper_QMessageAuthenticationCode::setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key) +{ + ( theWrappedObject->setKey(key)); +} + + + +PythonQtShell_QMessageLogContext::~PythonQtShell_QMessageLogContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext() +{ +return new PythonQtShell_QMessageLogContext(); } + +QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName) +{ +return new PythonQtShell_QMessageLogContext(fileName, lineNumber, functionName, categoryName); } + + + +QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger() +{ +return new QMessageLogger(); } + +QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger(const char* file, int line, const char* function) +{ +return new QMessageLogger(file, line, function); } + +QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger(const char* file, int line, const char* function, const char* category) +{ +return new QMessageLogger(file, line, function, category); } + + + +QMetaClassInfo* PythonQtWrapper_QMetaClassInfo::new_QMetaClassInfo() +{ +return new QMetaClassInfo(); } + +const QMetaObject* PythonQtWrapper_QMetaClassInfo::enclosingMetaObject(QMetaClassInfo* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +const char* PythonQtWrapper_QMetaClassInfo::name(QMetaClassInfo* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +const char* PythonQtWrapper_QMetaClassInfo::value(QMetaClassInfo* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QMetaEnum* PythonQtWrapper_QMetaEnum::new_QMetaEnum() +{ +return new QMetaEnum(); } + +const QMetaObject* PythonQtWrapper_QMetaEnum::enclosingMetaObject(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +const char* PythonQtWrapper_QMetaEnum::enumName(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->enumName()); +} + +bool PythonQtWrapper_QMetaEnum::isFlag(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->isFlag()); +} + +bool PythonQtWrapper_QMetaEnum::isScoped(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->isScoped()); +} + +bool PythonQtWrapper_QMetaEnum::isValid(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const char* PythonQtWrapper_QMetaEnum::key(QMetaEnum* theWrappedObject, int index) const +{ + return ( theWrappedObject->key(index)); +} + +int PythonQtWrapper_QMetaEnum::keyCount(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->keyCount()); +} + +int PythonQtWrapper_QMetaEnum::keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok) const +{ + return ( theWrappedObject->keyToValue(key, ok)); +} + +int PythonQtWrapper_QMetaEnum::keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok) const +{ + return ( theWrappedObject->keysToValue(keys, ok)); +} + +const char* PythonQtWrapper_QMetaEnum::name(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +const char* PythonQtWrapper_QMetaEnum::scope(QMetaEnum* theWrappedObject) const +{ + return ( theWrappedObject->scope()); +} + +int PythonQtWrapper_QMetaEnum::value(QMetaEnum* theWrappedObject, int index) const +{ + return ( theWrappedObject->value(index)); +} + +const char* PythonQtWrapper_QMetaEnum::valueToKey(QMetaEnum* theWrappedObject, int value) const +{ + return ( theWrappedObject->valueToKey(value)); +} + +QByteArray PythonQtWrapper_QMetaEnum::valueToKeys(QMetaEnum* theWrappedObject, int value) const +{ + return ( theWrappedObject->valueToKeys(value)); +} + + + +QMetaMethod* PythonQtWrapper_QMetaMethod::new_QMetaMethod() +{ +return new QMetaMethod(); } + +QMetaMethod::Access PythonQtWrapper_QMetaMethod::access(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->access()); +} + +int PythonQtWrapper_QMetaMethod::attributes(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +const QMetaObject* PythonQtWrapper_QMetaMethod::enclosingMetaObject(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +void PythonQtWrapper_QMetaMethod::getParameterTypes(QMetaMethod* theWrappedObject, int* types) const +{ + ( theWrappedObject->getParameterTypes(types)); +} + +bool PythonQtWrapper_QMetaMethod::isValid(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QMetaMethod::methodIndex(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->methodIndex()); +} + +QByteArray PythonQtWrapper_QMetaMethod::methodSignature(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->methodSignature()); +} + +QMetaMethod::MethodType PythonQtWrapper_QMetaMethod::methodType(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->methodType()); +} + +QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QMetaMethod::__ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) +{ + return ( (*theWrappedObject)!= m2); +} + +bool PythonQtWrapper_QMetaMethod::__eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) +{ + return ( (*theWrappedObject)== m2); +} + +int PythonQtWrapper_QMetaMethod::parameterCount(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->parameterCount()); +} + +QList PythonQtWrapper_QMetaMethod::parameterNames(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->parameterNames()); +} + +int PythonQtWrapper_QMetaMethod::parameterType(QMetaMethod* theWrappedObject, int index) const +{ + return ( theWrappedObject->parameterType(index)); +} + +QList PythonQtWrapper_QMetaMethod::parameterTypes(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->parameterTypes()); +} + +int PythonQtWrapper_QMetaMethod::returnType(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->returnType()); +} + +int PythonQtWrapper_QMetaMethod::revision(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +const char* PythonQtWrapper_QMetaMethod::tag(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->tag()); +} + +const char* PythonQtWrapper_QMetaMethod::typeName(QMetaMethod* theWrappedObject) const +{ + return ( theWrappedObject->typeName()); +} + + + +QMetaProperty* PythonQtWrapper_QMetaProperty::new_QMetaProperty() +{ +return new QMetaProperty(); } + +const QMetaObject* PythonQtWrapper_QMetaProperty::enclosingMetaObject(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->enclosingMetaObject()); +} + +QMetaEnum PythonQtWrapper_QMetaProperty::enumerator(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->enumerator()); +} + +bool PythonQtWrapper_QMetaProperty::hasNotifySignal(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->hasNotifySignal()); +} + +bool PythonQtWrapper_QMetaProperty::hasStdCppSet(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->hasStdCppSet()); +} + +bool PythonQtWrapper_QMetaProperty::isConstant(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isConstant()); +} + +bool PythonQtWrapper_QMetaProperty::isDesignable(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isDesignable(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isEditable(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isEditable(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isEnumType(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isEnumType()); +} + +bool PythonQtWrapper_QMetaProperty::isFinal(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isFinal()); +} + +bool PythonQtWrapper_QMetaProperty::isFlagType(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isFlagType()); +} + +bool PythonQtWrapper_QMetaProperty::isReadable(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QMetaProperty::isRequired(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isRequired()); +} + +bool PythonQtWrapper_QMetaProperty::isResettable(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isResettable()); +} + +bool PythonQtWrapper_QMetaProperty::isScriptable(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isScriptable(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isStored(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isStored(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isUser(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->isUser(obj)); +} + +bool PythonQtWrapper_QMetaProperty::isValid(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QMetaProperty::isWritable(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +const char* PythonQtWrapper_QMetaProperty::name(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QMetaMethod PythonQtWrapper_QMetaProperty::notifySignal(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->notifySignal()); +} + +int PythonQtWrapper_QMetaProperty::notifySignalIndex(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->notifySignalIndex()); +} + +int PythonQtWrapper_QMetaProperty::propertyIndex(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyIndex()); +} + +QVariant PythonQtWrapper_QMetaProperty::read(QMetaProperty* theWrappedObject, const QObject* obj) const +{ + return ( theWrappedObject->read(obj)); +} + +QVariant PythonQtWrapper_QMetaProperty::readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const +{ + return ( theWrappedObject->readOnGadget(gadget)); +} + +int PythonQtWrapper_QMetaProperty::relativePropertyIndex(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->relativePropertyIndex()); +} + +bool PythonQtWrapper_QMetaProperty::reset(QMetaProperty* theWrappedObject, QObject* obj) const +{ + return ( theWrappedObject->reset(obj)); +} + +bool PythonQtWrapper_QMetaProperty::resetOnGadget(QMetaProperty* theWrappedObject, void* gadget) const +{ + return ( theWrappedObject->resetOnGadget(gadget)); +} + +int PythonQtWrapper_QMetaProperty::revision(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +QVariant::Type PythonQtWrapper_QMetaProperty::type(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +const char* PythonQtWrapper_QMetaProperty::typeName(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->typeName()); +} + +int PythonQtWrapper_QMetaProperty::userType(QMetaProperty* theWrappedObject) const +{ + return ( theWrappedObject->userType()); +} + +bool PythonQtWrapper_QMetaProperty::write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const +{ + return ( theWrappedObject->write(obj, value)); +} + +bool PythonQtWrapper_QMetaProperty::writeOnGadget(QMetaProperty* theWrappedObject, void* gadget, const QVariant& value) const +{ + return ( theWrappedObject->writeOnGadget(gadget, value)); +} + + + +QMetaType* PythonQtWrapper_QMetaType::new_QMetaType(const int type) +{ +return new QMetaType(type); } + +bool PythonQtWrapper_QMetaType::static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result) +{ + return (QMetaType::compare(lhs, rhs, typeId, result)); +} + +void* PythonQtWrapper_QMetaType::static_QMetaType_construct(int type, void* where, const void* copy) +{ + return (QMetaType::construct(type, where, copy)); +} + +void* PythonQtWrapper_QMetaType::construct(QMetaType* theWrappedObject, void* where, const void* copy) const +{ + return ( theWrappedObject->construct(where, copy)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId) +{ + return (QMetaType::convert(from, fromTypeId, to, toTypeId)); +} + +void* PythonQtWrapper_QMetaType::create(QMetaType* theWrappedObject, const void* copy) const +{ + return ( theWrappedObject->create(copy)); +} + +void* PythonQtWrapper_QMetaType::static_QMetaType_create(int type, const void* copy) +{ + return (QMetaType::create(type, copy)); +} + +void PythonQtWrapper_QMetaType::static_QMetaType_destroy(int type, void* data) +{ + (QMetaType::destroy(type, data)); +} + +void PythonQtWrapper_QMetaType::destroy(QMetaType* theWrappedObject, void* data) const +{ + ( theWrappedObject->destroy(data)); +} + +void PythonQtWrapper_QMetaType::static_QMetaType_destruct(int type, void* where) +{ + (QMetaType::destruct(type, where)); +} + +void PythonQtWrapper_QMetaType::destruct(QMetaType* theWrappedObject, void* data) const +{ + ( theWrappedObject->destruct(data)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_equals(const void* lhs, const void* rhs, int typeId, int* result) +{ + return (QMetaType::equals(lhs, rhs, typeId, result)); +} + +QMetaType::TypeFlags PythonQtWrapper_QMetaType::flags(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredComparators(int typeId) +{ + return (QMetaType::hasRegisteredComparators(typeId)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredConverterFunction(int fromTypeId, int toTypeId) +{ + return (QMetaType::hasRegisteredConverterFunction(fromTypeId, toTypeId)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredDebugStreamOperator(int typeId) +{ + return (QMetaType::hasRegisteredDebugStreamOperator(typeId)); +} + +int PythonQtWrapper_QMetaType::id(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QMetaType::isRegistered(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->isRegistered()); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_isRegistered(int type) +{ + return (QMetaType::isRegistered(type)); +} + +bool PythonQtWrapper_QMetaType::isValid(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_load(QDataStream& stream, int type, void* data) +{ + return (QMetaType::load(stream, type, data)); +} + +const QMetaObject* PythonQtWrapper_QMetaType::metaObject(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->metaObject()); +} + +const QMetaObject* PythonQtWrapper_QMetaType::static_QMetaType_metaObjectForType(int type) +{ + return (QMetaType::metaObjectForType(type)); +} + +QByteArray PythonQtWrapper_QMetaType::name(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId) +{ + return (QMetaType::registerNormalizedTypedef(normalizedTypeName, aliasId)); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_registerTypedef(const char* typeName, int aliasId) +{ + return (QMetaType::registerTypedef(typeName, aliasId)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_save(QDataStream& stream, int type, const void* data) +{ + return (QMetaType::save(stream, type, data)); +} + +int PythonQtWrapper_QMetaType::sizeOf(QMetaType* theWrappedObject) const +{ + return ( theWrappedObject->sizeOf()); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_sizeOf(int type) +{ + return (QMetaType::sizeOf(type)); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_type(const QByteArray& typeName) +{ + return (QMetaType::type(typeName)); +} + +int PythonQtWrapper_QMetaType::static_QMetaType_type(const char* typeName) +{ + return (QMetaType::type(typeName)); +} + +QMetaType::TypeFlags PythonQtWrapper_QMetaType::static_QMetaType_typeFlags(int type) +{ + return (QMetaType::typeFlags(type)); +} + +const char* PythonQtWrapper_QMetaType::static_QMetaType_typeName(int type) +{ + return (QMetaType::typeName(type)); +} + +bool PythonQtWrapper_QMetaType::static_QMetaType_unregisterType(int type) +{ + return (QMetaType::unregisterType(type)); +} + + + +PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMimeData::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMimeData::childEvent(event0); +} +void PythonQtShell_QMimeData::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMimeData::customEvent(event0); +} +bool PythonQtShell_QMimeData::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::event(event0); +} +bool PythonQtShell_QMimeData::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::eventFilter(watched0, event1); +} +QStringList PythonQtShell_QMimeData::formats() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("formats"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::formats(); +} +bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mimetype0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::hasFormat(mimetype0); +} +QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("retrieveData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "QVariant::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&mimetype0, (void*)&preferredType1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMimeData::retrieveData(mimetype0, preferredType1); +} +void PythonQtShell_QMimeData::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMimeData::timerEvent(event0); +} +QMimeData* PythonQtWrapper_QMimeData::new_QMimeData() +{ +return new PythonQtShell_QMimeData(); } + +const QMetaObject* PythonQtShell_QMimeData::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMimeData::staticMetaObject); + } else { + return &QMimeData::staticMetaObject; + } +} +int PythonQtShell_QMimeData::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMimeData::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMimeData::clear(QMimeData* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QVariant PythonQtWrapper_QMimeData::colorData(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->colorData()); +} + +QByteArray PythonQtWrapper_QMimeData::data(QMimeData* theWrappedObject, const QString& mimetype) const +{ + return ( theWrappedObject->data(mimetype)); +} + +QStringList PythonQtWrapper_QMimeData::formats(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->formats()); +} + +bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasColor()); +} + +bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const +{ + return ( theWrappedObject->hasFormat(mimetype)); +} + +bool PythonQtWrapper_QMimeData::hasHtml(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasHtml()); +} + +bool PythonQtWrapper_QMimeData::hasImage(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasImage()); +} + +bool PythonQtWrapper_QMimeData::hasText(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasText()); +} + +bool PythonQtWrapper_QMimeData::hasUrls(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasUrls()); +} + +QString PythonQtWrapper_QMimeData::html(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->html()); +} + +QVariant PythonQtWrapper_QMimeData::imageData(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->imageData()); +} + +void PythonQtWrapper_QMimeData::removeFormat(QMimeData* theWrappedObject, const QString& mimetype) +{ + ( theWrappedObject->removeFormat(mimetype)); +} + +QVariant PythonQtWrapper_QMimeData::retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const +{ + return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_retrieveData(mimetype, preferredType)); +} + +void PythonQtWrapper_QMimeData::setColorData(QMimeData* theWrappedObject, const QVariant& color) +{ + ( theWrappedObject->setColorData(color)); +} + +void PythonQtWrapper_QMimeData::setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data) +{ + ( theWrappedObject->setData(mimetype, data)); +} + +void PythonQtWrapper_QMimeData::setHtml(QMimeData* theWrappedObject, const QString& html) +{ + ( theWrappedObject->setHtml(html)); +} + +void PythonQtWrapper_QMimeData::setImageData(QMimeData* theWrappedObject, const QVariant& image) +{ + ( theWrappedObject->setImageData(image)); +} + +void PythonQtWrapper_QMimeData::setText(QMimeData* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QMimeData::setUrls(QMimeData* theWrappedObject, const QList& urls) +{ + ( theWrappedObject->setUrls(urls)); +} + +QString PythonQtWrapper_QMimeData::text(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QList PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->urls()); +} + + + +QMimeDatabase* PythonQtWrapper_QMimeDatabase::new_QMimeDatabase() +{ +return new QMimeDatabase(); } + +QList PythonQtWrapper_QMimeDatabase::allMimeTypes(QMimeDatabase* theWrappedObject) const +{ + return ( theWrappedObject->allMimeTypes()); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const +{ + return ( theWrappedObject->mimeTypeForData(device)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const +{ + return ( theWrappedObject->mimeTypeForData(data)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode) const +{ + return ( theWrappedObject->mimeTypeForFile(fileInfo, mode)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode) const +{ + return ( theWrappedObject->mimeTypeForFile(fileName, mode)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const +{ + return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, device)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const +{ + return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, data)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const +{ + return ( theWrappedObject->mimeTypeForName(nameOrAlias)); +} + +QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const +{ + return ( theWrappedObject->mimeTypeForUrl(url)); +} + +QList PythonQtWrapper_QMimeDatabase::mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->mimeTypesForFileName(fileName)); +} + +QString PythonQtWrapper_QMimeDatabase::suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->suffixForFileName(fileName)); +} + + + +QMimeType* PythonQtWrapper_QMimeType::new_QMimeType() +{ +return new QMimeType(); } + +QMimeType* PythonQtWrapper_QMimeType::new_QMimeType(const QMimeType& other) +{ +return new QMimeType(other); } + +QStringList PythonQtWrapper_QMimeType::aliases(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->aliases()); +} + +QStringList PythonQtWrapper_QMimeType::allAncestors(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->allAncestors()); +} + +QString PythonQtWrapper_QMimeType::comment(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->comment()); +} + +QString PythonQtWrapper_QMimeType::filterString(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->filterString()); +} + +QString PythonQtWrapper_QMimeType::genericIconName(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->genericIconName()); +} + +QStringList PythonQtWrapper_QMimeType::globPatterns(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->globPatterns()); +} + +QString PythonQtWrapper_QMimeType::iconName(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->iconName()); +} + +bool PythonQtWrapper_QMimeType::inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const +{ + return ( theWrappedObject->inherits(mimeTypeName)); +} + +bool PythonQtWrapper_QMimeType::isDefault(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +bool PythonQtWrapper_QMimeType::isValid(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QMimeType::name(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QMimeType::__ne__(QMimeType* theWrappedObject, const QMimeType& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QMimeType* PythonQtWrapper_QMimeType::operator_assign(QMimeType* theWrappedObject, const QMimeType& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QMimeType::__eq__(QMimeType* theWrappedObject, const QMimeType& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringList PythonQtWrapper_QMimeType::parentMimeTypes(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->parentMimeTypes()); +} + +QString PythonQtWrapper_QMimeType::preferredSuffix(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->preferredSuffix()); +} + +QStringList PythonQtWrapper_QMimeType::suffixes(QMimeType* theWrappedObject) const +{ + return ( theWrappedObject->suffixes()); +} + +void PythonQtWrapper_QMimeType::swap(QMimeType* theWrappedObject, QMimeType& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QMimeType::py_toString(QMimeType* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.h new file mode 100644 index 00000000..9c707e77 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.h @@ -0,0 +1,1509 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QFile : public QFile +{ +public: + PythonQtShell_QFile():QFile(),_wrapper(nullptr) {}; + PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(nullptr) {}; + PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(nullptr) {}; + PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFile() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode flags) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFile : public QFile +{ public: +inline QString py_q_fileName() const { return QFile::fileName(); } +inline bool py_q_open(QIODevice::OpenMode flags) { return QFile::open(flags); } +inline QFileDevice::Permissions py_q_permissions() const { return QFile::permissions(); } +inline bool py_q_resize(qint64 sz) { return QFile::resize(sz); } +inline bool py_q_setPermissions(QFileDevice::Permissions permissionSpec) { return QFile::setPermissions(permissionSpec); } +inline qint64 py_q_size() const { return QFile::size(); } +}; + +class PythonQtWrapper_QFile : public QObject +{ Q_OBJECT +public: +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; } + bool static_QFile_copy(const QString& fileName, const QString& newName); + bool copy(QFile* theWrappedObject, const QString& newName); + QString static_QFile_decodeName(const QByteArray& localFileName); + QByteArray static_QFile_encodeName(const QString& fileName); + bool exists(QFile* theWrappedObject) const; + bool static_QFile_exists(const QString& fileName); + QString py_q_fileName(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_fileName());} + bool link(QFile* theWrappedObject, const QString& newName); + bool static_QFile_link(const QString& oldname, const QString& newName); + bool moveToTrash(QFile* theWrappedObject); + bool static_QFile_moveToTrash(const QString& fileName, QString* pathInTrash = nullptr); + bool py_q_open(QFile* theWrappedObject, QIODevice::OpenMode flags){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_open(flags));} + bool open(QFile* theWrappedObject, int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags = QFileDevice::DontCloseHandle); + QFileDevice::Permissions py_q_permissions(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_permissions());} + QFileDevice::Permissions static_QFile_permissions(const QString& filename); + bool remove(QFile* theWrappedObject); + bool static_QFile_remove(const QString& fileName); + bool rename(QFile* theWrappedObject, const QString& newName); + bool static_QFile_rename(const QString& oldName, const QString& newName); + bool static_QFile_resize(const QString& filename, qint64 sz); + bool py_q_resize(QFile* theWrappedObject, qint64 sz){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_resize(sz));} + void setFileName(QFile* theWrappedObject, const QString& name); + bool py_q_setPermissions(QFile* theWrappedObject, QFileDevice::Permissions permissionSpec){ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_setPermissions(permissionSpec));} + bool static_QFile_setPermissions(const QString& filename, QFileDevice::Permissions permissionSpec); + qint64 py_q_size(QFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFile*)theWrappedObject)->py_q_size());} + QString symLinkTarget(QFile* theWrappedObject) const; + QString static_QFile_symLinkTarget(const QString& fileName); +}; + + + + + +class PythonQtShell_QFileDevice : public QFileDevice +{ +public: + PythonQtShell_QFileDevice():QFileDevice(),_wrapper(nullptr) {}; + PythonQtShell_QFileDevice(QObject* parent):QFileDevice(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileDevice() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFileDevice : public QFileDevice +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return this->readLineData(data, maxlen); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QFileDevice::atEnd(); } +inline void py_q_close() { QFileDevice::close(); } +inline QString py_q_fileName() const { return QFileDevice::fileName(); } +inline bool py_q_isSequential() const { return QFileDevice::isSequential(); } +inline QFileDevice::Permissions py_q_permissions() const { return QFileDevice::permissions(); } +inline qint64 py_q_pos() const { return QFileDevice::pos(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QFileDevice::readData(data, maxlen); } +inline qint64 py_q_readLineData(char* data, qint64 maxlen) { return QFileDevice::readLineData(data, maxlen); } +inline bool py_q_resize(qint64 sz) { return QFileDevice::resize(sz); } +inline bool py_q_seek(qint64 offset) { return QFileDevice::seek(offset); } +inline bool py_q_setPermissions(QFileDevice::Permissions permissionSpec) { return QFileDevice::setPermissions(permissionSpec); } +inline qint64 py_q_size() const { return QFileDevice::size(); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QFileDevice::writeData(data, len); } +}; + +class PythonQtWrapper_QFileDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FileError FileHandleFlag FileTime MemoryMapFlags Permission ) +Q_FLAGS(FileHandleFlags Permissions ) +enum FileError{ + NoError = QFileDevice::NoError, ReadError = QFileDevice::ReadError, WriteError = QFileDevice::WriteError, FatalError = QFileDevice::FatalError, ResourceError = QFileDevice::ResourceError, OpenError = QFileDevice::OpenError, AbortError = QFileDevice::AbortError, TimeOutError = QFileDevice::TimeOutError, UnspecifiedError = QFileDevice::UnspecifiedError, RemoveError = QFileDevice::RemoveError, RenameError = QFileDevice::RenameError, PositionError = QFileDevice::PositionError, ResizeError = QFileDevice::ResizeError, PermissionsError = QFileDevice::PermissionsError, CopyError = QFileDevice::CopyError}; +enum FileHandleFlag{ + AutoCloseHandle = QFileDevice::AutoCloseHandle, DontCloseHandle = QFileDevice::DontCloseHandle}; +enum FileTime{ + FileAccessTime = QFileDevice::FileAccessTime, FileBirthTime = QFileDevice::FileBirthTime, FileMetadataChangeTime = QFileDevice::FileMetadataChangeTime, FileModificationTime = QFileDevice::FileModificationTime}; +enum MemoryMapFlags{ + NoOptions = QFileDevice::NoOptions, MapPrivateOption = QFileDevice::MapPrivateOption}; +enum Permission{ + ReadOwner = QFileDevice::ReadOwner, WriteOwner = QFileDevice::WriteOwner, ExeOwner = QFileDevice::ExeOwner, ReadUser = QFileDevice::ReadUser, WriteUser = QFileDevice::WriteUser, ExeUser = QFileDevice::ExeUser, ReadGroup = QFileDevice::ReadGroup, WriteGroup = QFileDevice::WriteGroup, ExeGroup = QFileDevice::ExeGroup, ReadOther = QFileDevice::ReadOther, WriteOther = QFileDevice::WriteOther, ExeOther = QFileDevice::ExeOther}; +Q_DECLARE_FLAGS(FileHandleFlags, FileHandleFlag) +Q_DECLARE_FLAGS(Permissions, Permission) +public slots: +QFileDevice* new_QFileDevice(); +QFileDevice* new_QFileDevice(QObject* parent); +void delete_QFileDevice(QFileDevice* obj) { delete obj; } + bool py_q_atEnd(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_atEnd());} + void py_q_close(QFileDevice* theWrappedObject){ (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_close());} + QFileDevice::FileError error(QFileDevice* theWrappedObject) const; + QString fileName(QFileDevice* theWrappedObject) const; + QString py_q_fileName(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_fileName());} + QDateTime fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const; + bool flush(QFileDevice* theWrappedObject); + int handle(QFileDevice* theWrappedObject) const; + bool py_q_isSequential(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_isSequential());} + uchar* map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags = QFileDevice::NoOptions); + QFileDevice::Permissions permissions(QFileDevice* theWrappedObject) const; + QFileDevice::Permissions py_q_permissions(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_permissions());} + qint64 py_q_pos(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_pos());} + qint64 py_q_readData(QFileDevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_readData(data, maxlen));} + qint64 py_q_readLineData(QFileDevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_readLineData(data, maxlen));} + bool resize(QFileDevice* theWrappedObject, qint64 sz); + bool py_q_resize(QFileDevice* theWrappedObject, qint64 sz){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_resize(sz));} + bool py_q_seek(QFileDevice* theWrappedObject, qint64 offset){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_seek(offset));} + bool setFileTime(QFileDevice* theWrappedObject, const QDateTime& newDate, QFileDevice::FileTime fileTime); + bool setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec); + bool py_q_setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_setPermissions(permissionSpec));} + qint64 py_q_size(QFileDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_size());} + bool unmap(QFileDevice* theWrappedObject, uchar* address); + void unsetError(QFileDevice* theWrappedObject); + qint64 py_q_writeData(QFileDevice* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QFileDevice*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +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; } + QDir absoluteDir(QFileInfo* theWrappedObject) const; + QString absoluteFilePath(QFileInfo* theWrappedObject) const; + QString absolutePath(QFileInfo* theWrappedObject) const; + QString baseName(QFileInfo* theWrappedObject) const; + QDateTime birthTime(QFileInfo* theWrappedObject) const; + QString bundleName(QFileInfo* theWrappedObject) const; + bool caching(QFileInfo* theWrappedObject) const; + QString canonicalFilePath(QFileInfo* theWrappedObject) const; + QString canonicalPath(QFileInfo* theWrappedObject) const; + QString completeBaseName(QFileInfo* theWrappedObject) const; + QString completeSuffix(QFileInfo* theWrappedObject) const; + QDateTime created(QFileInfo* theWrappedObject) const; + QDir dir(QFileInfo* theWrappedObject) const; + bool exists(QFileInfo* theWrappedObject) const; + bool static_QFileInfo_exists(const QString& file); + QString fileName(QFileInfo* theWrappedObject) const; + QString filePath(QFileInfo* theWrappedObject) const; + QString group(QFileInfo* theWrappedObject) const; + uint groupId(QFileInfo* theWrappedObject) const; + bool isAbsolute(QFileInfo* theWrappedObject) const; + bool isBundle(QFileInfo* theWrappedObject) const; + bool isDir(QFileInfo* theWrappedObject) const; + bool isExecutable(QFileInfo* theWrappedObject) const; + bool isFile(QFileInfo* theWrappedObject) const; + bool isHidden(QFileInfo* theWrappedObject) const; + bool isJunction(QFileInfo* theWrappedObject) const; + bool isNativePath(QFileInfo* theWrappedObject) const; + bool isReadable(QFileInfo* theWrappedObject) const; + bool isRelative(QFileInfo* theWrappedObject) const; + bool isRoot(QFileInfo* theWrappedObject) const; + bool isShortcut(QFileInfo* theWrappedObject) const; + bool isSymLink(QFileInfo* theWrappedObject) const; + bool isSymbolicLink(QFileInfo* theWrappedObject) const; + bool isWritable(QFileInfo* theWrappedObject) const; + QDateTime lastModified(QFileInfo* theWrappedObject) const; + QDateTime lastRead(QFileInfo* theWrappedObject) const; + bool makeAbsolute(QFileInfo* theWrappedObject); + QDateTime metadataChangeTime(QFileInfo* theWrappedObject) const; + QString owner(QFileInfo* theWrappedObject) const; + uint ownerId(QFileInfo* theWrappedObject) const; + QString path(QFileInfo* theWrappedObject) const; + bool permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const; + QFile::Permissions permissions(QFileInfo* theWrappedObject) const; + void refresh(QFileInfo* theWrappedObject); + void setCaching(QFileInfo* theWrappedObject, bool on); + void setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file); + void setFile(QFileInfo* theWrappedObject, const QFile& file); + void setFile(QFileInfo* theWrappedObject, const QString& file); + qint64 size(QFileInfo* theWrappedObject) const; + QString suffix(QFileInfo* theWrappedObject) const; + void swap(QFileInfo* theWrappedObject, QFileInfo& other); + QString symLinkTarget(QFileInfo* theWrappedObject) const; + QString py_toString(QFileInfo*); +}; + + + + + +class PythonQtShell_QFileSelector : public QFileSelector +{ +public: + PythonQtShell_QFileSelector(QObject* parent = nullptr):QFileSelector(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileSelector() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QFileSelector : public QObject +{ Q_OBJECT +public: +public slots: +QFileSelector* new_QFileSelector(QObject* parent = nullptr); +void delete_QFileSelector(QFileSelector* obj) { delete obj; } + QStringList allSelectors(QFileSelector* theWrappedObject) const; + QStringList extraSelectors(QFileSelector* theWrappedObject) const; + QString select(QFileSelector* theWrappedObject, const QString& filePath) const; + QUrl select(QFileSelector* theWrappedObject, const QUrl& filePath) const; + void setExtraSelectors(QFileSelector* theWrappedObject, const QStringList& list); +}; + + + + + +class PythonQtShell_QFileSystemWatcher : public QFileSystemWatcher +{ +public: + PythonQtShell_QFileSystemWatcher(QObject* parent = nullptr):QFileSystemWatcher(parent),_wrapper(nullptr) {}; + PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr):QFileSystemWatcher(paths, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileSystemWatcher() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QFileSystemWatcher : public QObject +{ Q_OBJECT +public: +public slots: +QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = nullptr); +QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = nullptr); +void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; } + bool addPath(QFileSystemWatcher* theWrappedObject, const QString& file); + QStringList addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); + QStringList directories(QFileSystemWatcher* theWrappedObject) const; + QStringList files(QFileSystemWatcher* theWrappedObject) const; + bool removePath(QFileSystemWatcher* theWrappedObject, const QString& file); + QStringList removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files); +}; + + + + + +class PythonQtShell_QFinalState : public QFinalState +{ +public: + PythonQtShell_QFinalState(QState* parent = nullptr):QFinalState(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFinalState() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QFinalState : public QFinalState +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } +inline void promoted_onExit(QEvent* event) { this->onExit(event); } +inline bool py_q_event(QEvent* e) { return QFinalState::event(e); } +inline void py_q_onEntry(QEvent* event) { QFinalState::onEntry(event); } +inline void py_q_onExit(QEvent* event) { QFinalState::onExit(event); } +}; + +class PythonQtWrapper_QFinalState : public QObject +{ Q_OBJECT +public: +public slots: +QFinalState* new_QFinalState(QState* parent = nullptr); +void delete_QFinalState(QFinalState* obj) { delete obj; } + bool py_q_event(QFinalState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_event(e));} + void py_q_onEntry(QFinalState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_onEntry(event));} + void py_q_onExit(QFinalState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFinalState*)theWrappedObject)->py_q_onExit(event));} +}; + + + + + +class PythonQtShell_QHistoryState : public QHistoryState +{ +public: + PythonQtShell_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr):QHistoryState(type, parent),_wrapper(nullptr) {}; + PythonQtShell_QHistoryState(QState* parent = nullptr):QHistoryState(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHistoryState() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QHistoryState : public QHistoryState +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } +inline void promoted_onExit(QEvent* event) { this->onExit(event); } +inline bool py_q_event(QEvent* e) { return QHistoryState::event(e); } +inline void py_q_onEntry(QEvent* event) { QHistoryState::onEntry(event); } +inline void py_q_onExit(QEvent* event) { QHistoryState::onExit(event); } +}; + +class PythonQtWrapper_QHistoryState : public QObject +{ Q_OBJECT +public: +public slots: +QHistoryState* new_QHistoryState(QHistoryState::HistoryType type, QState* parent = nullptr); +QHistoryState* new_QHistoryState(QState* parent = nullptr); +void delete_QHistoryState(QHistoryState* obj) { delete obj; } + QAbstractState* defaultState(QHistoryState* theWrappedObject) const; + QAbstractTransition* defaultTransition(QHistoryState* theWrappedObject) const; + bool py_q_event(QHistoryState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_event(e));} + QHistoryState::HistoryType historyType(QHistoryState* theWrappedObject) const; + void py_q_onEntry(QHistoryState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_onEntry(event));} + void py_q_onExit(QHistoryState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QHistoryState*)theWrappedObject)->py_q_onExit(event));} + void setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state); + void setDefaultTransition(QHistoryState* theWrappedObject, QAbstractTransition* transition); + void setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type); +}; + + + + + +class PythonQtShell_QIODevice : public QIODevice +{ +public: + PythonQtShell_QIODevice():QIODevice(),_wrapper(nullptr) {}; + PythonQtShell_QIODevice(QObject* parent):QIODevice(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QIODevice() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIODevice : public QIODevice +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return this->readLineData(data, maxlen); } +inline void promoted_setErrorString(const QString& errorString) { this->setErrorString(errorString); } +inline void promoted_setOpenMode(QIODevice::OpenMode openMode) { this->setOpenMode(openMode); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QIODevice::atEnd(); } +inline qint64 py_q_bytesAvailable() const { return QIODevice::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QIODevice::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QIODevice::canReadLine(); } +inline void py_q_close() { QIODevice::close(); } +inline bool py_q_isSequential() const { return QIODevice::isSequential(); } +inline bool py_q_open(QIODevice::OpenMode mode) { return QIODevice::open(mode); } +inline qint64 py_q_pos() const { return QIODevice::pos(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 py_q_readLineData(char* data, qint64 maxlen) { return QIODevice::readLineData(data, maxlen); } +inline bool py_q_reset() { return QIODevice::reset(); } +inline bool py_q_seek(qint64 pos) { return QIODevice::seek(pos); } +inline qint64 py_q_size() const { return QIODevice::size(); } +inline bool py_q_waitForBytesWritten(int msecs) { return QIODevice::waitForBytesWritten(msecs); } +inline bool py_q_waitForReadyRead(int msecs) { return QIODevice::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +}; + +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, NewOnly = QIODevice::NewOnly, ExistingOnly = QIODevice::ExistingOnly}; +Q_DECLARE_FLAGS(OpenMode, OpenModeFlag) +public slots: +QIODevice* new_QIODevice(); +QIODevice* new_QIODevice(QObject* parent); +void delete_QIODevice(QIODevice* obj) { delete obj; } + bool atEnd(QIODevice* theWrappedObject) const; + bool py_q_atEnd(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_atEnd());} + qint64 bytesAvailable(QIODevice* theWrappedObject) const; + qint64 py_q_bytesAvailable(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_bytesAvailable());} + qint64 bytesToWrite(QIODevice* theWrappedObject) const; + qint64 py_q_bytesToWrite(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_bytesToWrite());} + bool canReadLine(QIODevice* theWrappedObject) const; + bool py_q_canReadLine(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_canReadLine());} + void close(QIODevice* theWrappedObject); + void py_q_close(QIODevice* theWrappedObject){ (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_close());} + void commitTransaction(QIODevice* theWrappedObject); + int currentReadChannel(QIODevice* theWrappedObject) const; + int currentWriteChannel(QIODevice* theWrappedObject) const; + QString errorString(QIODevice* theWrappedObject) const; + bool getChar(QIODevice* theWrappedObject, char* c); + bool isOpen(QIODevice* theWrappedObject) const; + bool isReadable(QIODevice* theWrappedObject) const; + bool isSequential(QIODevice* theWrappedObject) const; + bool py_q_isSequential(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_isSequential());} + bool isTextModeEnabled(QIODevice* theWrappedObject) const; + bool isTransactionStarted(QIODevice* theWrappedObject) const; + bool isWritable(QIODevice* theWrappedObject) const; + bool open(QIODevice* theWrappedObject, QIODevice::OpenMode mode); + bool py_q_open(QIODevice* theWrappedObject, QIODevice::OpenMode mode){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_open(mode));} + QIODevice::OpenMode openMode(QIODevice* theWrappedObject) const; + QByteArray peek(QIODevice* theWrappedObject, qint64 maxlen); + qint64 pos(QIODevice* theWrappedObject) const; + qint64 py_q_pos(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_pos());} + bool putChar(QIODevice* theWrappedObject, char c); + QByteArray read(QIODevice* theWrappedObject, qint64 maxlen); + QByteArray readAll(QIODevice* theWrappedObject); + int readChannelCount(QIODevice* theWrappedObject) const; + qint64 readData(QIODevice* theWrappedObject, char* data, qint64 maxlen); + qint64 py_q_readData(QIODevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_readData(data, maxlen));} + QByteArray readLine(QIODevice* theWrappedObject, qint64 maxlen = 0); + qint64 readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen); + qint64 py_q_readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_readLineData(data, maxlen));} + bool reset(QIODevice* theWrappedObject); + bool py_q_reset(QIODevice* theWrappedObject){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_reset());} + void rollbackTransaction(QIODevice* theWrappedObject); + bool seek(QIODevice* theWrappedObject, qint64 pos); + bool py_q_seek(QIODevice* theWrappedObject, qint64 pos){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_seek(pos));} + void setCurrentReadChannel(QIODevice* theWrappedObject, int channel); + void setCurrentWriteChannel(QIODevice* theWrappedObject, int channel); + void setErrorString(QIODevice* theWrappedObject, const QString& errorString); + void setOpenMode(QIODevice* theWrappedObject, QIODevice::OpenMode openMode); + void setTextModeEnabled(QIODevice* theWrappedObject, bool enabled); + qint64 size(QIODevice* theWrappedObject) const; + qint64 py_q_size(QIODevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_size());} + qint64 skip(QIODevice* theWrappedObject, qint64 maxSize); + void startTransaction(QIODevice* theWrappedObject); + void ungetChar(QIODevice* theWrappedObject, char c); + bool waitForBytesWritten(QIODevice* theWrappedObject, int msecs); + bool py_q_waitForBytesWritten(QIODevice* theWrappedObject, int msecs){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool waitForReadyRead(QIODevice* theWrappedObject, int msecs); + bool py_q_waitForReadyRead(QIODevice* theWrappedObject, int msecs){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + qint64 write(QIODevice* theWrappedObject, const QByteArray& data); + qint64 write(QIODevice* theWrappedObject, const char* data); + int writeChannelCount(QIODevice* theWrappedObject) const; + qint64 writeData(QIODevice* theWrappedObject, const char* data, qint64 len); + qint64 py_q_writeData(QIODevice* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QIODevice*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtShell_QIdentityProxyModel : public QIdentityProxyModel +{ +public: + PythonQtShell_QIdentityProxyModel(QObject* parent = nullptr):QIdentityProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QIdentityProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& selection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& selection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIdentityProxyModel : public QIdentityProxyModel +{ public: +inline int py_q_columnCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::columnCount(parent); } +inline bool py_q_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QIdentityProxyModel::dropMimeData(data, action, row, column, parent); } +inline QVariant py_q_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QIdentityProxyModel::headerData(section, orientation, role); } +inline QModelIndex py_q_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::index(row, column, parent); } +inline bool py_q_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertColumns(column, count, parent); } +inline bool py_q_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::insertRows(row, count, parent); } +inline QModelIndex py_q_mapFromSource(const QModelIndex& sourceIndex) const { return QIdentityProxyModel::mapFromSource(sourceIndex); } +inline QItemSelection py_q_mapSelectionFromSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionFromSource(selection); } +inline QItemSelection py_q_mapSelectionToSource(const QItemSelection& selection) const { return QIdentityProxyModel::mapSelectionToSource(selection); } +inline QModelIndex py_q_mapToSource(const QModelIndex& proxyIndex) const { return QIdentityProxyModel::mapToSource(proxyIndex); } +inline QList py_q_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QIdentityProxyModel::match(start, role, value, hits, flags); } +inline bool py_q_moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) { return QIdentityProxyModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); } +inline bool py_q_moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) { return QIdentityProxyModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); } +inline QModelIndex py_q_parent(const QModelIndex& child) const { return QIdentityProxyModel::parent(child); } +inline bool py_q_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeColumns(column, count, parent); } +inline bool py_q_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QIdentityProxyModel::removeRows(row, count, parent); } +inline int py_q_rowCount(const QModelIndex& parent = QModelIndex()) const { return QIdentityProxyModel::rowCount(parent); } +inline void py_q_setSourceModel(QAbstractItemModel* sourceModel) { QIdentityProxyModel::setSourceModel(sourceModel); } +inline QModelIndex py_q_sibling(int row, int column, const QModelIndex& idx) const { return QIdentityProxyModel::sibling(row, column, idx); } +}; + +class PythonQtWrapper_QIdentityProxyModel : public QObject +{ Q_OBJECT +public: +public slots: +QIdentityProxyModel* new_QIdentityProxyModel(QObject* parent = nullptr); +void delete_QIdentityProxyModel(QIdentityProxyModel* obj) { delete obj; } + int py_q_columnCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_columnCount(parent));} + bool py_q_dropMimeData(QIdentityProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} + QVariant py_q_headerData(QIdentityProxyModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_headerData(section, orientation, role));} + QModelIndex py_q_index(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_index(row, column, parent));} + bool py_q_insertColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_insertColumns(column, count, parent));} + bool py_q_insertRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} + QModelIndex py_q_mapFromSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceIndex) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapFromSource(sourceIndex));} + QItemSelection py_q_mapSelectionFromSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapSelectionFromSource(selection));} + QItemSelection py_q_mapSelectionToSource(QIdentityProxyModel* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapSelectionToSource(selection));} + QModelIndex py_q_mapToSource(QIdentityProxyModel* theWrappedObject, const QModelIndex& proxyIndex) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_mapToSource(proxyIndex));} + QList py_q_match(QIdentityProxyModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_match(start, role, value, hits, flags));} + bool py_q_moveColumns(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild));} + bool py_q_moveRows(QIdentityProxyModel* theWrappedObject, const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild));} + QModelIndex py_q_parent(QIdentityProxyModel* theWrappedObject, const QModelIndex& child) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_parent(child));} + bool py_q_removeColumns(QIdentityProxyModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_removeColumns(column, count, parent));} + bool py_q_removeRows(QIdentityProxyModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_removeRows(row, count, parent));} + int py_q_rowCount(QIdentityProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_rowCount(parent));} + void py_q_setSourceModel(QIdentityProxyModel* theWrappedObject, QAbstractItemModel* sourceModel){ (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_setSourceModel(sourceModel));} + QModelIndex py_q_sibling(QIdentityProxyModel* theWrappedObject, int row, int column, const QModelIndex& idx) const{ return (((PythonQtPublicPromoter_QIdentityProxyModel*)theWrappedObject)->py_q_sibling(row, column, idx));} +}; + + + + + +class PythonQtWrapper_QJsonArray : public QObject +{ Q_OBJECT +public: +public slots: +QJsonArray* new_QJsonArray(); +QJsonArray* new_QJsonArray(const QJsonArray& other); +void delete_QJsonArray(QJsonArray* obj) { delete obj; } + void append(QJsonArray* theWrappedObject, const QJsonValue& value); + QJsonValue at(QJsonArray* theWrappedObject, int i) const; + bool contains(QJsonArray* theWrappedObject, const QJsonValue& element) const; + int count(QJsonArray* theWrappedObject) const; + bool empty(QJsonArray* theWrappedObject) const; + QJsonValue first(QJsonArray* theWrappedObject) const; + QJsonArray static_QJsonArray_fromStringList(const QStringList& list); + QJsonArray static_QJsonArray_fromVariantList(const QList& list); + bool isEmpty(QJsonArray* theWrappedObject) const; + QJsonValue last(QJsonArray* theWrappedObject) const; + bool __ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const; + QJsonArray __add__(QJsonArray* theWrappedObject, const QJsonValue& v) const; + QJsonArray* __iadd__(QJsonArray* theWrappedObject, const QJsonValue& v); + void writeTo(QJsonArray* theWrappedObject, QDataStream& arg__1); + QJsonArray* __lshift__(QJsonArray* theWrappedObject, const QJsonValue& v); + QJsonArray* operator_assign(QJsonArray* theWrappedObject, const QJsonArray& other); + bool __eq__(QJsonArray* theWrappedObject, const QJsonArray& other) const; + void readFrom(QJsonArray* theWrappedObject, QDataStream& arg__1); + QJsonValue operator_subscript(QJsonArray* theWrappedObject, int i) const; + void pop_back(QJsonArray* theWrappedObject); + void pop_front(QJsonArray* theWrappedObject); + void prepend(QJsonArray* theWrappedObject, const QJsonValue& value); + void push_back(QJsonArray* theWrappedObject, const QJsonValue& t); + void push_front(QJsonArray* theWrappedObject, const QJsonValue& t); + void removeAt(QJsonArray* theWrappedObject, int i); + void removeFirst(QJsonArray* theWrappedObject); + void removeLast(QJsonArray* theWrappedObject); + void replace(QJsonArray* theWrappedObject, int i, const QJsonValue& value); + int size(QJsonArray* theWrappedObject) const; + void swap(QJsonArray* theWrappedObject, QJsonArray& other); + QJsonValue takeAt(QJsonArray* theWrappedObject, int i); + QList toVariantList(QJsonArray* theWrappedObject) const; + QString py_toString(QJsonArray*); + bool __nonzero__(QJsonArray* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QJsonDocument : public QJsonDocument +{ +public: + PythonQtShell_QJsonDocument():QJsonDocument(),_wrapper(nullptr) {}; + PythonQtShell_QJsonDocument(const QJsonArray& array):QJsonDocument(array),_wrapper(nullptr) {}; + PythonQtShell_QJsonDocument(const QJsonDocument& other):QJsonDocument(other),_wrapper(nullptr) {}; + PythonQtShell_QJsonDocument(const QJsonObject& object):QJsonDocument(object),_wrapper(nullptr) {}; + + ~PythonQtShell_QJsonDocument(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QJsonDocument : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DataValidation JsonFormat ) +enum DataValidation{ + Validate = QJsonDocument::Validate, BypassValidation = QJsonDocument::BypassValidation}; +enum JsonFormat{ + Indented = QJsonDocument::Indented, Compact = QJsonDocument::Compact}; +public slots: +QJsonDocument* new_QJsonDocument(); +QJsonDocument* new_QJsonDocument(const QJsonArray& array); +QJsonDocument* new_QJsonDocument(const QJsonDocument& other); +QJsonDocument* new_QJsonDocument(const QJsonObject& object); +void delete_QJsonDocument(QJsonDocument* obj) { delete obj; } + QJsonArray array(QJsonDocument* theWrappedObject) const; + QJsonDocument static_QJsonDocument_fromBinaryData(const QByteArray& data, QJsonDocument::DataValidation validation = QJsonDocument::Validate); + QJsonDocument static_QJsonDocument_fromJson(const QByteArray& json, QJsonParseError* error = nullptr); + QJsonDocument static_QJsonDocument_fromRawData(const char* data, int size, QJsonDocument::DataValidation validation = QJsonDocument::Validate); + QJsonDocument static_QJsonDocument_fromVariant(const QVariant& variant); + bool isArray(QJsonDocument* theWrappedObject) const; + bool isEmpty(QJsonDocument* theWrappedObject) const; + bool isNull(QJsonDocument* theWrappedObject) const; + bool isObject(QJsonDocument* theWrappedObject) const; + QJsonObject object(QJsonDocument* theWrappedObject) const; + bool __ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; + void writeTo(QJsonDocument* theWrappedObject, QDataStream& arg__1); + QJsonDocument* operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other); + bool __eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; + void readFrom(QJsonDocument* theWrappedObject, QDataStream& arg__1); + const QJsonValue operator_subscript(QJsonDocument* theWrappedObject, QLatin1String key) const; + const QJsonValue operator_subscript(QJsonDocument* theWrappedObject, const QString& key) const; + const QJsonValue operator_subscript(QJsonDocument* theWrappedObject, int i) const; + const char* rawData(QJsonDocument* theWrappedObject, int* size) const; + void setArray(QJsonDocument* theWrappedObject, const QJsonArray& array); + void setObject(QJsonDocument* theWrappedObject, const QJsonObject& object); + void swap(QJsonDocument* theWrappedObject, QJsonDocument& other); + QByteArray toBinaryData(QJsonDocument* theWrappedObject) const; + QByteArray toJson(QJsonDocument* theWrappedObject) const; + QByteArray toJson(QJsonDocument* theWrappedObject, QJsonDocument::JsonFormat format) const; + QVariant toVariant(QJsonDocument* theWrappedObject) const; + QString py_toString(QJsonDocument*); + bool __nonzero__(QJsonDocument* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QJsonObject : public QObject +{ Q_OBJECT +public: +public slots: +QJsonObject* new_QJsonObject(); +QJsonObject* new_QJsonObject(const QJsonObject& other); +void delete_QJsonObject(QJsonObject* obj) { delete obj; } + bool contains(QJsonObject* theWrappedObject, QLatin1String key) const; + bool contains(QJsonObject* theWrappedObject, const QString& key) const; + int count(QJsonObject* theWrappedObject) const; + bool empty(QJsonObject* theWrappedObject) const; + QJsonObject static_QJsonObject_fromVariantHash(const QHash& map); + QJsonObject static_QJsonObject_fromVariantMap(const QMap& map); + bool isEmpty(QJsonObject* theWrappedObject) const; + QStringList keys(QJsonObject* theWrappedObject) const; + int length(QJsonObject* theWrappedObject) const; + bool __ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const; + void writeTo(QJsonObject* theWrappedObject, QDataStream& arg__1); + QJsonObject* operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other); + bool __eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const; + void readFrom(QJsonObject* theWrappedObject, QDataStream& arg__1); + QJsonValue operator_subscript(QJsonObject* theWrappedObject, QLatin1String key) const; + QJsonValue operator_subscript(QJsonObject* theWrappedObject, const QString& key) const; + void remove(QJsonObject* theWrappedObject, QLatin1String key); + void remove(QJsonObject* theWrappedObject, const QString& key); + int size(QJsonObject* theWrappedObject) const; + void swap(QJsonObject* theWrappedObject, QJsonObject& other); + QJsonValue take(QJsonObject* theWrappedObject, QLatin1String key); + QJsonValue take(QJsonObject* theWrappedObject, const QString& key); + QHash toVariantHash(QJsonObject* theWrappedObject) const; + QMap toVariantMap(QJsonObject* theWrappedObject) const; + QJsonValue value(QJsonObject* theWrappedObject, QLatin1String key) const; + QJsonValue value(QJsonObject* theWrappedObject, const QString& key) const; + QString py_toString(QJsonObject*); + bool __nonzero__(QJsonObject* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QJsonParseError : public QJsonParseError +{ +public: + PythonQtShell_QJsonParseError():QJsonParseError(),_wrapper(nullptr) {}; + + ~PythonQtShell_QJsonParseError(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QJsonParseError : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ParseError ) +enum ParseError{ + NoError = QJsonParseError::NoError, UnterminatedObject = QJsonParseError::UnterminatedObject, MissingNameSeparator = QJsonParseError::MissingNameSeparator, UnterminatedArray = QJsonParseError::UnterminatedArray, MissingValueSeparator = QJsonParseError::MissingValueSeparator, IllegalValue = QJsonParseError::IllegalValue, TerminationByNumber = QJsonParseError::TerminationByNumber, IllegalNumber = QJsonParseError::IllegalNumber, IllegalEscapeSequence = QJsonParseError::IllegalEscapeSequence, IllegalUTF8String = QJsonParseError::IllegalUTF8String, UnterminatedString = QJsonParseError::UnterminatedString, MissingObject = QJsonParseError::MissingObject, DeepNesting = QJsonParseError::DeepNesting, DocumentTooLarge = QJsonParseError::DocumentTooLarge, GarbageAtEnd = QJsonParseError::GarbageAtEnd}; +public slots: +QJsonParseError* new_QJsonParseError(); +void delete_QJsonParseError(QJsonParseError* obj) { delete obj; } + QString errorString(QJsonParseError* theWrappedObject) const; +void py_set_error(QJsonParseError* theWrappedObject, QJsonParseError::ParseError error){ theWrappedObject->error = error; } +QJsonParseError::ParseError py_get_error(QJsonParseError* theWrappedObject){ return theWrappedObject->error; } +void py_set_offset(QJsonParseError* theWrappedObject, int offset){ theWrappedObject->offset = offset; } +int py_get_offset(QJsonParseError* theWrappedObject){ return theWrappedObject->offset; } +}; + + + + + +class PythonQtWrapper_QJsonValue : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Type ) +enum Type{ + Null = QJsonValue::Null, Bool = QJsonValue::Bool, Double = QJsonValue::Double, String = QJsonValue::String, Array = QJsonValue::Array, Object = QJsonValue::Object, Undefined = QJsonValue::Undefined}; +public slots: +QJsonValue* new_QJsonValue(QJsonValue::Type arg__1 = QJsonValue::Null); +QJsonValue* new_QJsonValue(QLatin1String s); +QJsonValue* new_QJsonValue(bool b); +QJsonValue* new_QJsonValue(const QJsonArray& a); +QJsonValue* new_QJsonValue(const QJsonObject& o); +QJsonValue* new_QJsonValue(const QJsonValue& other); +QJsonValue* new_QJsonValue(const QString& s); +QJsonValue* new_QJsonValue(const char* s); +QJsonValue* new_QJsonValue(double n); +QJsonValue* new_QJsonValue(int n); +QJsonValue* new_QJsonValue(qint64 v); +void delete_QJsonValue(QJsonValue* obj) { delete obj; } + QJsonValue static_QJsonValue_fromVariant(const QVariant& variant); + bool isArray(QJsonValue* theWrappedObject) const; + bool isBool(QJsonValue* theWrappedObject) const; + bool isDouble(QJsonValue* theWrappedObject) const; + bool isNull(QJsonValue* theWrappedObject) const; + bool isObject(QJsonValue* theWrappedObject) const; + bool isString(QJsonValue* theWrappedObject) const; + bool isUndefined(QJsonValue* theWrappedObject) const; + bool __ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const; + void writeTo(QJsonValue* theWrappedObject, QDataStream& arg__1); + QJsonValue* operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other); + bool __eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const; + void readFrom(QJsonValue* theWrappedObject, QDataStream& arg__1); + const QJsonValue operator_subscript(QJsonValue* theWrappedObject, QLatin1String key) const; + const QJsonValue operator_subscript(QJsonValue* theWrappedObject, const QString& key) const; + const QJsonValue operator_subscript(QJsonValue* theWrappedObject, int i) const; + void swap(QJsonValue* theWrappedObject, QJsonValue& other); + QJsonArray toArray(QJsonValue* theWrappedObject) const; + QJsonArray toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const; + bool toBool(QJsonValue* theWrappedObject, bool defaultValue = false) const; + double toDouble(QJsonValue* theWrappedObject, double defaultValue = 0) const; + int toInt(QJsonValue* theWrappedObject, int defaultValue = 0) const; + QJsonObject toObject(QJsonValue* theWrappedObject) const; + QJsonObject toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const; + QString toString(QJsonValue* theWrappedObject) const; + QString toString(QJsonValue* theWrappedObject, const QString& defaultValue) const; + QVariant toVariant(QJsonValue* theWrappedObject) const; + QJsonValue::Type type(QJsonValue* theWrappedObject) const; + QString py_toString(QJsonValue*); + bool __nonzero__(QJsonValue* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QLibrary : public QLibrary +{ +public: + PythonQtShell_QLibrary(QObject* parent = nullptr):QLibrary(parent),_wrapper(nullptr) {}; + PythonQtShell_QLibrary(const QString& fileName, QObject* parent = nullptr):QLibrary(fileName, parent),_wrapper(nullptr) {}; + PythonQtShell_QLibrary(const QString& fileName, const QString& version, QObject* parent = nullptr):QLibrary(fileName, version, parent),_wrapper(nullptr) {}; + PythonQtShell_QLibrary(const QString& fileName, int verNum, QObject* parent = nullptr):QLibrary(fileName, verNum, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLibrary() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QLibrary : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LoadHint ) +Q_FLAGS(LoadHints ) +enum LoadHint{ + ResolveAllSymbolsHint = QLibrary::ResolveAllSymbolsHint, ExportExternalSymbolsHint = QLibrary::ExportExternalSymbolsHint, LoadArchiveMemberHint = QLibrary::LoadArchiveMemberHint, PreventUnloadHint = QLibrary::PreventUnloadHint, DeepBindHint = QLibrary::DeepBindHint}; +Q_DECLARE_FLAGS(LoadHints, LoadHint) +public slots: +QLibrary* new_QLibrary(QObject* parent = nullptr); +QLibrary* new_QLibrary(const QString& fileName, QObject* parent = nullptr); +QLibrary* new_QLibrary(const QString& fileName, const QString& version, QObject* parent = nullptr); +QLibrary* new_QLibrary(const QString& fileName, int verNum, QObject* parent = nullptr); +void delete_QLibrary(QLibrary* obj) { delete obj; } + QString errorString(QLibrary* theWrappedObject) const; + QString fileName(QLibrary* theWrappedObject) const; + bool static_QLibrary_isLibrary(const QString& fileName); + bool isLoaded(QLibrary* theWrappedObject) const; + bool load(QLibrary* theWrappedObject); + QLibrary::LoadHints loadHints(QLibrary* theWrappedObject) const; + void setFileName(QLibrary* theWrappedObject, const QString& fileName); + void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version); + void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum); + void setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints); + bool unload(QLibrary* theWrappedObject); +}; + + + + + +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, LibraryExecutablesPath = QLibraryInfo::LibraryExecutablesPath, BinariesPath = QLibraryInfo::BinariesPath, PluginsPath = QLibraryInfo::PluginsPath, ImportsPath = QLibraryInfo::ImportsPath, Qml2ImportsPath = QLibraryInfo::Qml2ImportsPath, ArchDataPath = QLibraryInfo::ArchDataPath, DataPath = QLibraryInfo::DataPath, TranslationsPath = QLibraryInfo::TranslationsPath, ExamplesPath = QLibraryInfo::ExamplesPath, TestsPath = QLibraryInfo::TestsPath, SettingsPath = QLibraryInfo::SettingsPath}; +public slots: +void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } + const char* static_QLibraryInfo_build(); + QDate static_QLibraryInfo_buildDate(); + bool static_QLibraryInfo_isDebugBuild(); + QString static_QLibraryInfo_licensedProducts(); + QString static_QLibraryInfo_licensee(); + QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1); + QStringList static_QLibraryInfo_platformPluginArguments(const QString& platformName); +}; + + + + + +class PythonQtWrapper_QLockFile : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LockError ) +enum LockError{ + NoError = QLockFile::NoError, LockFailedError = QLockFile::LockFailedError, PermissionError = QLockFile::PermissionError, UnknownError = QLockFile::UnknownError}; +public slots: +QLockFile* new_QLockFile(const QString& fileName); +void delete_QLockFile(QLockFile* obj) { delete obj; } + QLockFile::LockError error(QLockFile* theWrappedObject) const; + bool getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const; + bool isLocked(QLockFile* theWrappedObject) const; + bool lock(QLockFile* theWrappedObject); + bool removeStaleLockFile(QLockFile* theWrappedObject); + void setStaleLockTime(QLockFile* theWrappedObject, int arg__1); + int staleLockTime(QLockFile* theWrappedObject) const; + bool tryLock(QLockFile* theWrappedObject, int timeout = 0); + void unlock(QLockFile* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QLoggingCategory : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QLoggingCategory(QLoggingCategory* obj) { delete obj; } + const char* categoryName(QLoggingCategory* theWrappedObject) const; + QLoggingCategory* static_QLoggingCategory_defaultCategory(); + bool isCriticalEnabled(QLoggingCategory* theWrappedObject) const; + bool isDebugEnabled(QLoggingCategory* theWrappedObject) const; + bool isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const; + bool isInfoEnabled(QLoggingCategory* theWrappedObject) const; + bool isWarningEnabled(QLoggingCategory* theWrappedObject) const; + void setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable); + void static_QLoggingCategory_setFilterRules(const QString& rules); +}; + + + + + +class PythonQtWrapper_QMarginsF : public QObject +{ Q_OBJECT +public: +public slots: +QMarginsF* new_QMarginsF(); +QMarginsF* new_QMarginsF(const QMargins& margins); +QMarginsF* new_QMarginsF(qreal left, qreal top, qreal right, qreal bottom); +void delete_QMarginsF(QMarginsF* obj) { delete obj; } + qreal bottom(QMarginsF* theWrappedObject) const; + bool isNull(QMarginsF* theWrappedObject) const; + qreal left(QMarginsF* theWrappedObject) const; + bool __ne__(QMarginsF* theWrappedObject, const QMarginsF& rhs); + QMarginsF __mul__(QMarginsF* theWrappedObject, qreal rhs); + QMarginsF* __imul__(QMarginsF* theWrappedObject, qreal factor); + QMarginsF __add__(QMarginsF* theWrappedObject, const QMarginsF& rhs); + QRectF __add__(QMarginsF* theWrappedObject, const QRectF& rhs); + QMarginsF __add__(QMarginsF* theWrappedObject, qreal rhs); + QMarginsF* __iadd__(QMarginsF* theWrappedObject, const QMarginsF& margins); + QMarginsF* __iadd__(QMarginsF* theWrappedObject, qreal addend); + QMarginsF __sub__(QMarginsF* theWrappedObject, const QMarginsF& rhs); + QMarginsF __sub__(QMarginsF* theWrappedObject, qreal rhs); + QMarginsF* __isub__(QMarginsF* theWrappedObject, const QMarginsF& margins); + QMarginsF* __isub__(QMarginsF* theWrappedObject, qreal subtrahend); + QMarginsF __div__(QMarginsF* theWrappedObject, qreal divisor); + QMarginsF* __idiv__(QMarginsF* theWrappedObject, qreal divisor); + void writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMarginsF* theWrappedObject, const QMarginsF& rhs); + void readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1); + qreal right(QMarginsF* theWrappedObject) const; + void setBottom(QMarginsF* theWrappedObject, qreal bottom); + void setLeft(QMarginsF* theWrappedObject, qreal left); + void setRight(QMarginsF* theWrappedObject, qreal right); + void setTop(QMarginsF* theWrappedObject, qreal top); + QMargins toMargins(QMarginsF* theWrappedObject) const; + qreal top(QMarginsF* theWrappedObject) const; + QString py_toString(QMarginsF*); + bool __nonzero__(QMarginsF* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QMessageAuthenticationCode : public QObject +{ Q_OBJECT +public: +public slots: +QMessageAuthenticationCode* new_QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray& key = QByteArray()); +void delete_QMessageAuthenticationCode(QMessageAuthenticationCode* obj) { delete obj; } + bool addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device); + void addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data); + void addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length); + QByteArray static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method); + void reset(QMessageAuthenticationCode* theWrappedObject); + QByteArray result(QMessageAuthenticationCode* theWrappedObject) const; + void setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key); +}; + + + + + +class PythonQtShell_QMessageLogContext : public QMessageLogContext +{ +public: + PythonQtShell_QMessageLogContext():QMessageLogContext(),_wrapper(nullptr) {}; + PythonQtShell_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName):QMessageLogContext(fileName, lineNumber, functionName, categoryName),_wrapper(nullptr) {}; + + ~PythonQtShell_QMessageLogContext(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QMessageLogContext : public QObject +{ Q_OBJECT +public: +public slots: +QMessageLogContext* new_QMessageLogContext(); +QMessageLogContext* new_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName); +void delete_QMessageLogContext(QMessageLogContext* obj) { delete obj; } +const char* py_get_category(QMessageLogContext* theWrappedObject){ return theWrappedObject->category; } +const char* py_get_file(QMessageLogContext* theWrappedObject){ return theWrappedObject->file; } +const char* py_get_function(QMessageLogContext* theWrappedObject){ return theWrappedObject->function; } +void py_set_line(QMessageLogContext* theWrappedObject, int line){ theWrappedObject->line = line; } +int py_get_line(QMessageLogContext* theWrappedObject){ return theWrappedObject->line; } +void py_set_version(QMessageLogContext* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QMessageLogContext* theWrappedObject){ return theWrappedObject->version; } +}; + + + + + +class PythonQtWrapper_QMessageLogger : public QObject +{ Q_OBJECT +public: +public slots: +QMessageLogger* new_QMessageLogger(); +QMessageLogger* new_QMessageLogger(const char* file, int line, const char* function); +QMessageLogger* new_QMessageLogger(const char* file, int line, const char* function, const char* category); +void delete_QMessageLogger(QMessageLogger* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QMetaClassInfo : public QObject +{ Q_OBJECT +public: +public slots: +QMetaClassInfo* new_QMetaClassInfo(); +void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } + const QMetaObject* enclosingMetaObject(QMetaClassInfo* theWrappedObject) const; + const char* name(QMetaClassInfo* theWrappedObject) const; + const char* value(QMetaClassInfo* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QMetaEnum : public QObject +{ Q_OBJECT +public: +public slots: +QMetaEnum* new_QMetaEnum(); +void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } + const QMetaObject* enclosingMetaObject(QMetaEnum* theWrappedObject) const; + const char* enumName(QMetaEnum* theWrappedObject) const; + bool isFlag(QMetaEnum* theWrappedObject) const; + bool isScoped(QMetaEnum* theWrappedObject) const; + bool isValid(QMetaEnum* theWrappedObject) const; + const char* key(QMetaEnum* theWrappedObject, int index) const; + int keyCount(QMetaEnum* theWrappedObject) const; + int keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok = nullptr) const; + int keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok = nullptr) const; + const char* name(QMetaEnum* theWrappedObject) const; + const char* scope(QMetaEnum* theWrappedObject) const; + int value(QMetaEnum* theWrappedObject, int index) const; + const char* valueToKey(QMetaEnum* theWrappedObject, int value) const; + QByteArray valueToKeys(QMetaEnum* theWrappedObject, int value) const; + bool __nonzero__(QMetaEnum* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QMetaMethod : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Access Attributes MethodType ) +enum Access{ + Private = QMetaMethod::Private, Protected = QMetaMethod::Protected, Public = QMetaMethod::Public}; +enum Attributes{ + Compatibility = QMetaMethod::Compatibility, Cloned = QMetaMethod::Cloned, Scriptable = QMetaMethod::Scriptable}; +enum MethodType{ + Method = QMetaMethod::Method, Signal = QMetaMethod::Signal, Slot = QMetaMethod::Slot, Constructor = QMetaMethod::Constructor}; +public slots: +QMetaMethod* new_QMetaMethod(); +void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } + QMetaMethod::Access access(QMetaMethod* theWrappedObject) const; + int attributes(QMetaMethod* theWrappedObject) const; + const QMetaObject* enclosingMetaObject(QMetaMethod* theWrappedObject) const; + void getParameterTypes(QMetaMethod* theWrappedObject, int* types) const; + bool isValid(QMetaMethod* theWrappedObject) const; + int methodIndex(QMetaMethod* theWrappedObject) const; + QByteArray methodSignature(QMetaMethod* theWrappedObject) const; + QMetaMethod::MethodType methodType(QMetaMethod* theWrappedObject) const; + QByteArray name(QMetaMethod* theWrappedObject) const; + bool __ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); + bool __eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); + int parameterCount(QMetaMethod* theWrappedObject) const; + QList parameterNames(QMetaMethod* theWrappedObject) const; + int parameterType(QMetaMethod* theWrappedObject, int index) const; + QList parameterTypes(QMetaMethod* theWrappedObject) const; + int returnType(QMetaMethod* theWrappedObject) const; + int revision(QMetaMethod* theWrappedObject) const; + const char* tag(QMetaMethod* theWrappedObject) const; + const char* typeName(QMetaMethod* theWrappedObject) const; + bool __nonzero__(QMetaMethod* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QMetaProperty : public QObject +{ Q_OBJECT +public: +public slots: +QMetaProperty* new_QMetaProperty(); +void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } + const QMetaObject* enclosingMetaObject(QMetaProperty* theWrappedObject) const; + QMetaEnum enumerator(QMetaProperty* theWrappedObject) const; + bool hasNotifySignal(QMetaProperty* theWrappedObject) const; + bool hasStdCppSet(QMetaProperty* theWrappedObject) const; + bool isConstant(QMetaProperty* theWrappedObject) const; + bool isDesignable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isEditable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isEnumType(QMetaProperty* theWrappedObject) const; + bool isFinal(QMetaProperty* theWrappedObject) const; + bool isFlagType(QMetaProperty* theWrappedObject) const; + bool isReadable(QMetaProperty* theWrappedObject) const; + bool isRequired(QMetaProperty* theWrappedObject) const; + bool isResettable(QMetaProperty* theWrappedObject) const; + bool isScriptable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isStored(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isUser(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; + bool isValid(QMetaProperty* theWrappedObject) const; + bool isWritable(QMetaProperty* theWrappedObject) const; + const char* name(QMetaProperty* theWrappedObject) const; + QMetaMethod notifySignal(QMetaProperty* theWrappedObject) const; + int notifySignalIndex(QMetaProperty* theWrappedObject) const; + int propertyIndex(QMetaProperty* theWrappedObject) const; + QVariant read(QMetaProperty* theWrappedObject, const QObject* obj) const; + QVariant readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const; + int relativePropertyIndex(QMetaProperty* theWrappedObject) const; + bool reset(QMetaProperty* theWrappedObject, QObject* obj) const; + bool resetOnGadget(QMetaProperty* theWrappedObject, void* gadget) const; + int revision(QMetaProperty* theWrappedObject) const; + QVariant::Type type(QMetaProperty* theWrappedObject) const; + const char* typeName(QMetaProperty* theWrappedObject) const; + int userType(QMetaProperty* theWrappedObject) const; + bool write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const; + bool writeOnGadget(QMetaProperty* theWrappedObject, void* gadget, const QVariant& value) const; + bool __nonzero__(QMetaProperty* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QMetaType : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TypeFlag ) +Q_FLAGS(TypeFlags ) +enum TypeFlag{ + NeedsConstruction = QMetaType::NeedsConstruction, NeedsDestruction = QMetaType::NeedsDestruction, MovableType = QMetaType::MovableType, PointerToQObject = QMetaType::PointerToQObject, IsEnumeration = QMetaType::IsEnumeration, SharedPointerToQObject = QMetaType::SharedPointerToQObject, WeakPointerToQObject = QMetaType::WeakPointerToQObject, TrackingPointerToQObject = QMetaType::TrackingPointerToQObject, WasDeclaredAsMetaType = QMetaType::WasDeclaredAsMetaType, IsGadget = QMetaType::IsGadget, PointerToGadget = QMetaType::PointerToGadget}; +Q_DECLARE_FLAGS(TypeFlags, TypeFlag) +public slots: +QMetaType* new_QMetaType(const int type = QMetaType::UnknownType); +void delete_QMetaType(QMetaType* obj) { delete obj; } + bool static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result); + void* static_QMetaType_construct(int type, void* where, const void* copy); + void* construct(QMetaType* theWrappedObject, void* where, const void* copy = nullptr) const; + bool static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId); + void* create(QMetaType* theWrappedObject, const void* copy = nullptr) const; + void* static_QMetaType_create(int type, const void* copy = nullptr); + void static_QMetaType_destroy(int type, void* data); + void destroy(QMetaType* theWrappedObject, void* data) const; + void static_QMetaType_destruct(int type, void* where); + void destruct(QMetaType* theWrappedObject, void* data) const; + bool static_QMetaType_equals(const void* lhs, const void* rhs, int typeId, int* result); + QMetaType::TypeFlags flags(QMetaType* theWrappedObject) const; + bool static_QMetaType_hasRegisteredComparators(int typeId); + bool static_QMetaType_hasRegisteredConverterFunction(int fromTypeId, int toTypeId); + bool static_QMetaType_hasRegisteredDebugStreamOperator(int typeId); + int id(QMetaType* theWrappedObject) const; + bool isRegistered(QMetaType* theWrappedObject) const; + bool static_QMetaType_isRegistered(int type); + bool isValid(QMetaType* theWrappedObject) const; + bool static_QMetaType_load(QDataStream& stream, int type, void* data); + const QMetaObject* metaObject(QMetaType* theWrappedObject) const; + const QMetaObject* static_QMetaType_metaObjectForType(int type); + QByteArray name(QMetaType* theWrappedObject) const; + int static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId); + int static_QMetaType_registerTypedef(const char* typeName, int aliasId); + bool static_QMetaType_save(QDataStream& stream, int type, const void* data); + int sizeOf(QMetaType* theWrappedObject) const; + int static_QMetaType_sizeOf(int type); + int static_QMetaType_type(const QByteArray& typeName); + int static_QMetaType_type(const char* typeName); + QMetaType::TypeFlags static_QMetaType_typeFlags(int type); + const char* static_QMetaType_typeName(int type); + bool static_QMetaType_unregisterType(int type); + bool __nonzero__(QMetaType* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QMimeData : public QMimeData +{ +public: + PythonQtShell_QMimeData():QMimeData(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMimeData() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QStringList formats() const override; +bool hasFormat(const QString& mimetype) const override; +QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMimeData : public QMimeData +{ public: +inline QVariant promoted_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return this->retrieveData(mimetype, preferredType); } +inline QStringList py_q_formats() const { return QMimeData::formats(); } +inline bool py_q_hasFormat(const QString& mimetype) const { return QMimeData::hasFormat(mimetype); } +inline QVariant py_q_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 clear(QMimeData* theWrappedObject); + QVariant colorData(QMimeData* theWrappedObject) const; + QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; + QStringList formats(QMimeData* theWrappedObject) const; + QStringList py_q_formats(QMimeData* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_formats());} + bool hasColor(QMimeData* theWrappedObject) const; + bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const; + bool py_q_hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_hasFormat(mimetype));} + bool hasHtml(QMimeData* theWrappedObject) const; + bool hasImage(QMimeData* theWrappedObject) const; + bool hasText(QMimeData* theWrappedObject) const; + bool hasUrls(QMimeData* theWrappedObject) const; + QString html(QMimeData* theWrappedObject) const; + QVariant imageData(QMimeData* theWrappedObject) const; + void removeFormat(QMimeData* theWrappedObject, const QString& mimetype); + QVariant retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const; + QVariant py_q_retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_retrieveData(mimetype, preferredType));} + void setColorData(QMimeData* theWrappedObject, const QVariant& color); + void setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data); + void setHtml(QMimeData* theWrappedObject, const QString& html); + void setImageData(QMimeData* theWrappedObject, const QVariant& image); + void setText(QMimeData* theWrappedObject, const QString& text); + void setUrls(QMimeData* theWrappedObject, const QList& urls); + QString text(QMimeData* theWrappedObject) const; + QList urls(QMimeData* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QMimeDatabase : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MatchMode ) +enum MatchMode{ + MatchDefault = QMimeDatabase::MatchDefault, MatchExtension = QMimeDatabase::MatchExtension, MatchContent = QMimeDatabase::MatchContent}; +public slots: +QMimeDatabase* new_QMimeDatabase(); +void delete_QMimeDatabase(QMimeDatabase* obj) { delete obj; } + QList allMimeTypes(QMimeDatabase* theWrappedObject) const; + QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const; + QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const; + QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; + QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; + QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const; + QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const; + QMimeType mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const; + QMimeType mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const; + QList mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; + QString suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; +}; + + + + + +class PythonQtWrapper_QMimeType : public QObject +{ Q_OBJECT +public: +public slots: +QMimeType* new_QMimeType(); +QMimeType* new_QMimeType(const QMimeType& other); +void delete_QMimeType(QMimeType* obj) { delete obj; } + QStringList aliases(QMimeType* theWrappedObject) const; + QStringList allAncestors(QMimeType* theWrappedObject) const; + QString comment(QMimeType* theWrappedObject) const; + QString filterString(QMimeType* theWrappedObject) const; + QString genericIconName(QMimeType* theWrappedObject) const; + QStringList globPatterns(QMimeType* theWrappedObject) const; + QString iconName(QMimeType* theWrappedObject) const; + bool inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const; + bool isDefault(QMimeType* theWrappedObject) const; + bool isValid(QMimeType* theWrappedObject) const; + QString name(QMimeType* theWrappedObject) const; + bool __ne__(QMimeType* theWrappedObject, const QMimeType& other) const; + QMimeType* operator_assign(QMimeType* theWrappedObject, const QMimeType& other); + bool __eq__(QMimeType* theWrappedObject, const QMimeType& other) const; + QStringList parentMimeTypes(QMimeType* theWrappedObject) const; + QString preferredSuffix(QMimeType* theWrappedObject) const; + QStringList suffixes(QMimeType* theWrappedObject) const; + void swap(QMimeType* theWrappedObject, QMimeType& other); + QString py_toString(QMimeType*); + bool __nonzero__(QMimeType* obj) { return obj->isValid(); } +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.cpp new file mode 100644 index 00000000..638d4899 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -0,0 +1,5661 @@ +#include "com_trolltech_qt_core2.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 + +QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() +{ +return new QModelIndex(); } + +QModelIndex PythonQtWrapper_QModelIndex::child(QModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->child(row, column)); +} + +int PythonQtWrapper_QModelIndex::column(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +quintptr PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalId()); +} + +void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalPointer()); +} + +bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QModelIndex::__ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QModelIndex::__lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)< other); +} + +bool PythonQtWrapper_QModelIndex::__eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + +QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->sibling(row, column)); +} + +QModelIndex PythonQtWrapper_QModelIndex::siblingAtColumn(QModelIndex* theWrappedObject, int column) const +{ + return ( theWrappedObject->siblingAtColumn(column)); +} + +QModelIndex PythonQtWrapper_QModelIndex::siblingAtRow(QModelIndex* theWrappedObject, int row) const +{ + return ( theWrappedObject->siblingAtRow(row)); +} + +QString PythonQtWrapper_QModelIndex::py_toString(QModelIndex* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QMutex* PythonQtWrapper_QMutex::new_QMutex() +{ +return new QMutex(); } + +QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) +{ +return new QMutex(mode); } + +bool PythonQtWrapper_QMutex::isRecursive(QMutex* theWrappedObject) const +{ + return ( theWrappedObject->isRecursive()); +} + +void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) +{ + ( theWrappedObject->lock()); +} + +bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLock(timeout)); +} + +bool PythonQtWrapper_QMutex::try_lock(QMutex* theWrappedObject) +{ + return ( theWrappedObject->try_lock()); +} + +void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QMutexLocker* PythonQtWrapper_QMutexLocker::new_QMutexLocker(QBasicMutex* m) +{ +return new QMutexLocker(m); } + +QMutex* PythonQtWrapper_QMutexLocker::mutex(QMutexLocker* theWrappedObject) const +{ + return ( theWrappedObject->mutex()); +} + +void PythonQtWrapper_QMutexLocker::relock(QMutexLocker* theWrappedObject) +{ + ( theWrappedObject->relock()); +} + +void PythonQtWrapper_QMutexLocker::unlock(QMutexLocker* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +PythonQtShell_QObject::~PythonQtShell_QObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QObject::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QObject::childEvent(event0); +} +void PythonQtShell_QObject::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QObject::customEvent(event0); +} +bool PythonQtShell_QObject::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QObject::event(event0); +} +bool PythonQtShell_QObject::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QObject::eventFilter(watched0, event1); +} +void PythonQtShell_QObject::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QObject::timerEvent(event0); +} +QObject* PythonQtWrapper_QObject::new_QObject(QObject* parent) +{ +return new PythonQtShell_QObject(parent); } + +const QMetaObject* PythonQtShell_QObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QObject::staticMetaObject); + } else { + return &QObject::staticMetaObject; + } +} +int PythonQtShell_QObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QObject::blockSignals(QObject* theWrappedObject, bool b) +{ + return ( theWrappedObject->blockSignals(b)); +} + +void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(event)); +} + +const QList* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const +{ + return &( theWrappedObject->children()); +} + +void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(event)); +} + +void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) +{ + ( theWrappedObject->dumpObjectInfo()); +} + +void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) const +{ + ( theWrappedObject->dumpObjectInfo()); +} + +void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) +{ + ( theWrappedObject->dumpObjectTree()); +} + +void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) const +{ + ( theWrappedObject->dumpObjectTree()); +} + +QList PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const +{ + return ( theWrappedObject->dynamicPropertyNames()); +} + +bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* event) +{ + return ( theWrappedObject->event(event)); +} + +bool PythonQtWrapper_QObject::eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event) +{ + return ( theWrappedObject->eventFilter(watched, event)); +} + +void PythonQtWrapper_QObject::installEventFilter(QObject* theWrappedObject, QObject* filterObj) +{ + ( theWrappedObject->installEventFilter(filterObj)); +} + +bool PythonQtWrapper_QObject::isSignalConnected(QObject* theWrappedObject, const QMetaMethod& signal) const +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_isSignalConnected(signal)); +} + +bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const +{ + return ( theWrappedObject->isWidgetType()); +} + +bool PythonQtWrapper_QObject::isWindowType(QObject* theWrappedObject) const +{ + return ( theWrappedObject->isWindowType()); +} + +void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) +{ + ( theWrappedObject->killTimer(id)); +} + +void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) +{ + ( theWrappedObject->moveToThread(thread)); +} + +QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const +{ + return ( theWrappedObject->objectName()); +} + +void PythonQtWrapper_QObject::removeEventFilter(QObject* theWrappedObject, QObject* obj) +{ + ( theWrappedObject->removeEventFilter(obj)); +} + +QObject* PythonQtWrapper_QObject::sender(QObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_sender()); +} + +int PythonQtWrapper_QObject::senderSignalIndex(QObject* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_senderSignalIndex()); +} + +void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setObjectName(name)); +} + +bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const +{ + return ( theWrappedObject->signalsBlocked()); +} + +int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval, Qt::TimerType timerType) +{ + return ( theWrappedObject->startTimer(interval, timerType)); +} + +QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const +{ + return ( theWrappedObject->thread()); +} + +void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(event)); +} + + + +PythonQtShell_QOperatingSystemVersion::~PythonQtShell_QOperatingSystemVersion() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QOperatingSystemVersion* PythonQtWrapper_QOperatingSystemVersion::new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor, int vmicro) +{ +return new PythonQtShell_QOperatingSystemVersion(osType, vmajor, vminor, vmicro); } + +QOperatingSystemVersion PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_current() +{ + return (QOperatingSystemVersion::current()); +} + +QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_currentType() +{ + return (QOperatingSystemVersion::currentType()); +} + +int PythonQtWrapper_QOperatingSystemVersion::majorVersion(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->majorVersion()); +} + +int PythonQtWrapper_QOperatingSystemVersion::microVersion(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->microVersion()); +} + +int PythonQtWrapper_QOperatingSystemVersion::minorVersion(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->minorVersion()); +} + +QString PythonQtWrapper_QOperatingSystemVersion::name(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +int PythonQtWrapper_QOperatingSystemVersion::segmentCount(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->segmentCount()); +} + +QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::type(QOperatingSystemVersion* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QOperatingSystemVersion::py_toString(QOperatingSystemVersion* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QParallelAnimationGroup::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::childEvent(event0); +} +void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::customEvent(event0); +} +int PythonQtShell_QParallelAnimationGroup::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QParallelAnimationGroup::duration(); +} +bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QParallelAnimationGroup::event(event0); +} +bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QParallelAnimationGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::timerEvent(event0); +} +void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)¤tTime0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::updateCurrentTime(currentTime0); +} +void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::updateDirection(direction0); +} +void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QParallelAnimationGroup::updateState(newState0, oldState1); +} +QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QParallelAnimationGroup(parent); } + +const QMetaObject* PythonQtShell_QParallelAnimationGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QParallelAnimationGroup::staticMetaObject); + } else { + return &QParallelAnimationGroup::staticMetaObject; + } +} +int PythonQtShell_QParallelAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QParallelAnimationGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::childEvent(event0); +} +void PythonQtShell_QPauseAnimation::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::customEvent(event0); +} +int PythonQtShell_QPauseAnimation::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPauseAnimation::duration(); +} +bool PythonQtShell_QPauseAnimation::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPauseAnimation::event(e0); +} +bool PythonQtShell_QPauseAnimation::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPauseAnimation::eventFilter(watched0, event1); +} +void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::timerEvent(event0); +} +void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::updateDirection(direction0); +} +void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPauseAnimation::updateState(newState0, oldState1); +} +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(parent); } + +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(msecs, parent); } + +const QMetaObject* PythonQtShell_QPauseAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPauseAnimation::staticMetaObject); + } else { + return &QPauseAnimation::staticMetaObject; + } +} +int PythonQtShell_QPauseAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPauseAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) +{ + ( theWrappedObject->setDuration(msecs)); +} + + + +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); } + +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()); +} + +QVariant PythonQtWrapper_QPersistentModelIndex::data(QPersistentModelIndex* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QPersistentModelIndex::flags(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +quintptr PythonQtWrapper_QPersistentModelIndex::internalId(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->internalId()); +} + +bool PythonQtWrapper_QPersistentModelIndex::isValid(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const QAbstractItemModel* PythonQtWrapper_QPersistentModelIndex::model(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QModelIndex PythonQtWrapper_QPersistentModelIndex::operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->operator const QModelIndex&()); +} + +bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +{ + return ( (*theWrappedObject)< other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + +QModelIndex PythonQtWrapper_QPersistentModelIndex::parent(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +int PythonQtWrapper_QPersistentModelIndex::row(QPersistentModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +QModelIndex PythonQtWrapper_QPersistentModelIndex::sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->sibling(row, column)); +} + +void PythonQtWrapper_QPersistentModelIndex::swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QPersistentModelIndex::py_toString(QPersistentModelIndex* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QProcess::~PythonQtShell_QProcess() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QProcess::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::atEnd(); +} +qint64 PythonQtShell_QProcess::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::bytesAvailable(); +} +qint64 PythonQtShell_QProcess::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::bytesToWrite(); +} +bool PythonQtShell_QProcess::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::canReadLine(); +} +void PythonQtShell_QProcess::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProcess::childEvent(event0); +} +void PythonQtShell_QProcess::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProcess::close(); +} +void PythonQtShell_QProcess::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProcess::customEvent(event0); +} +bool PythonQtShell_QProcess::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::event(event0); +} +bool PythonQtShell_QProcess::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::eventFilter(watched0, event1); +} +bool PythonQtShell_QProcess::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::isSequential(); +} +bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::open(mode0); +} +qint64 PythonQtShell_QProcess::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::pos(); +} +qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::readData(data0, maxlen1); +} +qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::readLineData(data0, maxlen1); +} +bool PythonQtShell_QProcess::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::reset(); +} +bool PythonQtShell_QProcess::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::seek(pos0); +} +void PythonQtShell_QProcess::setupChildProcess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupChildProcess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProcess::setupChildProcess(); +} +qint64 PythonQtShell_QProcess::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::size(); +} +void PythonQtShell_QProcess::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProcess::timerEvent(event0); +} +bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProcess::writeData(data0, len1); +} +QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) +{ +return new PythonQtShell_QProcess(parent); } + +const QMetaObject* PythonQtShell_QProcess::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProcess::staticMetaObject); + } else { + return &QProcess::staticMetaObject; + } +} +int PythonQtShell_QProcess::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProcess::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QProcess::arguments(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->arguments()); +} + +void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) +{ + ( theWrappedObject->closeReadChannel(channel)); +} + +void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) +{ + ( theWrappedObject->closeWriteChannel()); +} + +QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->environment()); +} + +QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& command) +{ + return (QProcess::execute(command)); +} + +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) +{ + return (QProcess::execute(program, arguments)); +} + +int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->exitCode()); +} + +QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->exitStatus()); +} + +QProcess::InputChannelMode PythonQtWrapper_QProcess::inputChannelMode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->inputChannelMode()); +} + +QString PythonQtWrapper_QProcess::static_QProcess_nullDevice() +{ + return (QProcess::nullDevice()); +} + +QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processChannelMode()); +} + +QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processEnvironment()); +} + +qint64 PythonQtWrapper_QProcess::processId(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processId()); +} + +QString PythonQtWrapper_QProcess::program(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->program()); +} + +QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) +{ + return ( theWrappedObject->readAllStandardError()); +} + +QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) +{ + return ( theWrappedObject->readAllStandardOutput()); +} + +QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->readChannel()); +} + +void PythonQtWrapper_QProcess::setArguments(QProcess* theWrappedObject, const QStringList& arguments) +{ + ( theWrappedObject->setArguments(arguments)); +} + +void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) +{ + ( theWrappedObject->setEnvironment(environment)); +} + +void PythonQtWrapper_QProcess::setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode) +{ + ( theWrappedObject->setInputChannelMode(mode)); +} + +void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) +{ + ( theWrappedObject->setProcessChannelMode(mode)); +} + +void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) +{ + ( theWrappedObject->setProcessEnvironment(environment)); +} + +void PythonQtWrapper_QProcess::setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state) +{ + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setProcessState(state)); +} + +void PythonQtWrapper_QProcess::setProgram(QProcess* theWrappedObject, const QString& program) +{ + ( theWrappedObject->setProgram(program)); +} + +void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) +{ + ( theWrappedObject->setReadChannel(channel)); +} + +void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +{ + ( theWrappedObject->setStandardErrorFile(fileName, mode)); +} + +void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setStandardInputFile(fileName)); +} + +void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +{ + ( theWrappedObject->setStandardOutputFile(fileName, mode)); +} + +void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) +{ + ( theWrappedObject->setStandardOutputProcess(destination)); +} + +void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->setWorkingDirectory(dir)); +} + +void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(mode)); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(command, mode)); +} + +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) +{ + ( theWrappedObject->start(program, arguments, mode)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& command) +{ + return (QProcess::startDetached(command)); +} + +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) +{ + return (QProcess::startDetached(program, arguments)); +} + +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::startDetached(QProcess* theWrappedObject, qint64* pid) +{ + return ( theWrappedObject->startDetached(pid)); +} + +QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() +{ + return (QProcess::systemEnvironment()); +} + +bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForFinished(msecs)); +} + +bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForStarted(msecs)); +} + +QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->workingDirectory()); +} + + + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment() +{ +return new QProcessEnvironment(); } + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment(const QProcessEnvironment& other) +{ +return new QProcessEnvironment(other); } + +void PythonQtWrapper_QProcessEnvironment::clear(QProcessEnvironment* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QProcessEnvironment::contains(QProcessEnvironment* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->contains(name)); +} + +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& e) +{ + ( theWrappedObject->insert(e)); +} + +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->insert(name, value)); +} + +bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QStringList PythonQtWrapper_QProcessEnvironment::keys(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +bool PythonQtWrapper_QProcessEnvironment::__ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QProcessEnvironment::__eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QProcessEnvironment::remove(QProcessEnvironment* theWrappedObject, const QString& name) +{ + ( theWrappedObject->remove(name)); +} + +void PythonQtWrapper_QProcessEnvironment::swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other) +{ + ( theWrappedObject->swap(other)); +} + +QProcessEnvironment PythonQtWrapper_QProcessEnvironment::static_QProcessEnvironment_systemEnvironment() +{ + return (QProcessEnvironment::systemEnvironment()); +} + +QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->toStringList()); +} + +QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) const +{ + return ( theWrappedObject->value(name, defaultValue)); +} + + + +PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::childEvent(event0); +} +void PythonQtShell_QPropertyAnimation::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::customEvent(event0); +} +int PythonQtShell_QPropertyAnimation::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPropertyAnimation::duration(); +} +bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPropertyAnimation::event(event0); +} +bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPropertyAnimation::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("interpolated"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)&from0, (void*)&to1, (void*)&progress2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPropertyAnimation::interpolated(from0, to1, progress2); +} +void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::timerEvent(event0); +} +void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateCurrentTime(arg__1); +} +void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateCurrentValue(value0); +} +void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateDirection(direction0); +} +void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPropertyAnimation::updateState(newState0, oldState1); +} +QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) +{ +return new PythonQtShell_QPropertyAnimation(parent); } + +QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) +{ +return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } + +const QMetaObject* PythonQtShell_QPropertyAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPropertyAnimation::staticMetaObject); + } else { + return &QPropertyAnimation::staticMetaObject; + } +} +int PythonQtShell_QPropertyAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPropertyAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const +{ + return ( theWrappedObject->propertyName()); +} + +void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) +{ + ( theWrappedObject->setPropertyName(propertyName)); +} + +void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) +{ + ( theWrappedObject->setTargetObject(target)); +} + +QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const +{ + return ( theWrappedObject->targetObject()); +} + + + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(const QRandomGenerator& other) +{ +return new QRandomGenerator(other); } + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(const unsigned int* begin, const unsigned int* end) +{ +return new QRandomGenerator(begin, end); } + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(const unsigned int* seedBuffer, qsizetype len) +{ +return new QRandomGenerator(seedBuffer, len); } + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::new_QRandomGenerator(unsigned int seedValue) +{ +return new QRandomGenerator(seedValue); } + +double PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, double highest) +{ + return ( theWrappedObject->bounded(highest)); +} + +int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int highest) +{ + return ( theWrappedObject->bounded(highest)); +} + +int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int lowest, int highest) +{ + return ( theWrappedObject->bounded(lowest, highest)); +} + +unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int highest) +{ + return ( theWrappedObject->bounded(highest)); +} + +unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int lowest, unsigned int highest) +{ + return ( theWrappedObject->bounded(lowest, highest)); +} + +void PythonQtWrapper_QRandomGenerator::discard(QRandomGenerator* theWrappedObject, quint64 z) +{ + ( theWrappedObject->discard(z)); +} + +unsigned int PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generate()); +} + +void PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject, unsigned int* begin, unsigned int* end) +{ + ( theWrappedObject->generate(begin, end)); +} + +quint64 PythonQtWrapper_QRandomGenerator::generate64(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generate64()); +} + +double PythonQtWrapper_QRandomGenerator::generateDouble(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generateDouble()); +} + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_global() +{ + return (QRandomGenerator::global()); +} + +unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_max() +{ + return (QRandomGenerator::max()); +} + +unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_min() +{ + return (QRandomGenerator::min()); +} + +unsigned int PythonQtWrapper_QRandomGenerator::operator_cast_(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->operator()()); +} + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::operator_assign(QRandomGenerator* theWrappedObject, const QRandomGenerator& other) +{ + return &( (*theWrappedObject)= other); +} + +QRandomGenerator PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_securelySeeded() +{ + return (QRandomGenerator::securelySeeded()); +} + +void PythonQtWrapper_QRandomGenerator::seed(QRandomGenerator* theWrappedObject, unsigned int s) +{ + ( theWrappedObject->seed(s)); +} + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_system() +{ + return (QRandomGenerator::system()); +} + + + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const QRandomGenerator& other) +{ +return new QRandomGenerator64(other); } + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const unsigned int* begin, const unsigned int* end) +{ +return new QRandomGenerator64(begin, end); } + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const unsigned int* seedBuffer, qsizetype len) +{ +return new QRandomGenerator64(seedBuffer, len); } + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(unsigned int seedValue) +{ +return new QRandomGenerator64(seedValue); } + +void PythonQtWrapper_QRandomGenerator64::discard(QRandomGenerator64* theWrappedObject, quint64 z) +{ + ( theWrappedObject->discard(z)); +} + +quint64 PythonQtWrapper_QRandomGenerator64::generate(QRandomGenerator64* theWrappedObject) +{ + return ( theWrappedObject->generate()); +} + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_global() +{ + return (QRandomGenerator64::global()); +} + +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_max() +{ + return (QRandomGenerator64::max()); +} + +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_min() +{ + return (QRandomGenerator64::min()); +} + +quint64 PythonQtWrapper_QRandomGenerator64::operator_cast_(QRandomGenerator64* theWrappedObject) +{ + return ( theWrappedObject->operator()()); +} + +QRandomGenerator64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_securelySeeded() +{ + return (QRandomGenerator64::securelySeeded()); +} + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_system() +{ + return (QRandomGenerator64::system()); +} + + + +QReadLocker* PythonQtWrapper_QReadLocker::new_QReadLocker(QReadWriteLock* readWriteLock) +{ +return new QReadLocker(readWriteLock); } + +QReadWriteLock* PythonQtWrapper_QReadLocker::readWriteLock(QReadLocker* theWrappedObject) const +{ + return ( theWrappedObject->readWriteLock()); +} + +void PythonQtWrapper_QReadLocker::relock(QReadLocker* theWrappedObject) +{ + ( theWrappedObject->relock()); +} + +void PythonQtWrapper_QReadLocker::unlock(QReadLocker* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) +{ +return new QReadWriteLock(recursionMode); } + +void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->lockForRead()); +} + +void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->lockForWrite()); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) +{ + return ( theWrappedObject->tryLockForRead()); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLockForRead(timeout)); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) +{ + return ( theWrappedObject->tryLockForWrite()); +} + +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLockForWrite(timeout)); +} + +void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch() +{ +return new QRegularExpressionMatch(); } + +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch(const QRegularExpressionMatch& match) +{ +return new QRegularExpressionMatch(match); } + +QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->captured(name)); +} + +QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->captured(nth)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedEnd(name)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedEnd(nth)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedLength(name)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedLength(nth)); +} + +QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedRef(name)); +} + +QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedRef(nth)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->capturedStart(name)); +} + +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedStart(nth)); +} + +QStringList PythonQtWrapper_QRegularExpressionMatch::capturedTexts(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->capturedTexts()); +} + +bool PythonQtWrapper_QRegularExpressionMatch::hasMatch(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->hasMatch()); +} + +bool PythonQtWrapper_QRegularExpressionMatch::hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->hasPartialMatch()); +} + +bool PythonQtWrapper_QRegularExpressionMatch::isValid(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QRegularExpressionMatch::lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->lastCapturedIndex()); +} + +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatch::matchOptions(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->matchOptions()); +} + +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatch::matchType(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->matchType()); +} + +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match) +{ + return &( (*theWrappedObject)= match); +} + +QRegularExpression PythonQtWrapper_QRegularExpressionMatch::regularExpression(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} + +void PythonQtWrapper_QRegularExpressionMatch::swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QRegularExpressionMatch::py_toString(QRegularExpressionMatch* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::new_QRegularExpressionMatchIterator() +{ +return new QRegularExpressionMatchIterator(); } + +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator) +{ +return new QRegularExpressionMatchIterator(iterator); } + +bool PythonQtWrapper_QRegularExpressionMatchIterator::hasNext(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->hasNext()); +} + +bool PythonQtWrapper_QRegularExpressionMatchIterator::isValid(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatchIterator::matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->matchOptions()); +} + +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatchIterator::matchType(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->matchType()); +} + +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::next(QRegularExpressionMatchIterator* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator) +{ + return &( (*theWrappedObject)= iterator); +} + +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::peekNext(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->peekNext()); +} + +QRegularExpression PythonQtWrapper_QRegularExpressionMatchIterator::regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} + +void PythonQtWrapper_QRegularExpressionMatchIterator::swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QResource::~PythonQtShell_QResource() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QResource* PythonQtWrapper_QResource::new_QResource(const QString& file, const QLocale& locale) +{ +return new PythonQtShell_QResource(file, locale); } + +QString PythonQtWrapper_QResource::absoluteFilePath(QResource* theWrappedObject) const +{ + return ( theWrappedObject->absoluteFilePath()); +} + +void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) +{ + (QResource::addSearchPath(path)); +} + +QStringList PythonQtWrapper_QResource::children(QResource* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_children()); +} + +const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const +{ + return ( theWrappedObject->isCompressed()); +} + +bool PythonQtWrapper_QResource::isDir(QResource* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isDir()); +} + +bool PythonQtWrapper_QResource::isFile(QResource* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isFile()); +} + +bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QDateTime PythonQtWrapper_QResource::lastModified(QResource* theWrappedObject) const +{ + return ( theWrappedObject->lastModified()); +} + +QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) +{ + return (QResource::registerResource(rccFilename, resourceRoot)); +} + +bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) +{ + return (QResource::registerResource(rccData, resourceRoot)); +} + +QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() +{ + return (QResource::searchPaths()); +} + +void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) +{ + ( theWrappedObject->setFileName(file)); +} + +void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QByteArray PythonQtWrapper_QResource::uncompressedData(QResource* theWrappedObject) const +{ + return ( theWrappedObject->uncompressedData()); +} + +qint64 PythonQtWrapper_QResource::uncompressedSize(QResource* theWrappedObject) const +{ + return ( theWrappedObject->uncompressedSize()); +} + +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) +{ + return (QResource::unregisterResource(rccFilename, resourceRoot)); +} + +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) +{ + return (QResource::unregisterResource(rccData, resourceRoot)); +} + + + +PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRunnable::run() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("run"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() +{ +return new PythonQtShell_QRunnable(); } + +bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const +{ + return ( theWrappedObject->autoDelete()); +} + +void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject) +{ + ( theWrappedObject->run()); +} + +void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) +{ + ( theWrappedObject->setAutoDelete(_autoDelete)); +} + + + +PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSaveFile::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::atEnd(); +} +qint64 PythonQtShell_QSaveFile::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::bytesAvailable(); +} +qint64 PythonQtShell_QSaveFile::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::bytesToWrite(); +} +bool PythonQtShell_QSaveFile::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::canReadLine(); +} +void PythonQtShell_QSaveFile::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSaveFile::childEvent(event0); +} +void PythonQtShell_QSaveFile::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSaveFile::customEvent(event0); +} +bool PythonQtShell_QSaveFile::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::event(event0); +} +bool PythonQtShell_QSaveFile::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::eventFilter(watched0, event1); +} +QString PythonQtShell_QSaveFile::fileName() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fileName"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::fileName(); +} +bool PythonQtShell_QSaveFile::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::isSequential(); +} +bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::open(flags0); +} +QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("permissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QFileDevice::Permissions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::permissions(); +} +qint64 PythonQtShell_QSaveFile::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::pos(); +} +qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::readData(data0, maxlen1); +} +qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::readLineData(data0, maxlen1); +} +bool PythonQtShell_QSaveFile::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::reset(); +} +bool PythonQtShell_QSaveFile::resize(qint64 sz0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&sz0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::resize(sz0); +} +bool PythonQtShell_QSaveFile::seek(qint64 offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::seek(offset0); +} +bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissionSpec0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPermissions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::setPermissions(permissionSpec0); +} +qint64 PythonQtShell_QSaveFile::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::size(); +} +void PythonQtShell_QSaveFile::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSaveFile::timerEvent(event0); +} +bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSaveFile::writeData(data0, len1); +} +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(QObject* parent) +{ +return new PythonQtShell_QSaveFile(parent); } + +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name) +{ +return new PythonQtShell_QSaveFile(name); } + +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name, QObject* parent) +{ +return new PythonQtShell_QSaveFile(name, parent); } + +const QMetaObject* PythonQtShell_QSaveFile::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSaveFile::staticMetaObject); + } else { + return &QSaveFile::staticMetaObject; + } +} +int PythonQtShell_QSaveFile::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSaveFile::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSaveFile::cancelWriting(QSaveFile* theWrappedObject) +{ + ( theWrappedObject->cancelWriting()); +} + +bool PythonQtWrapper_QSaveFile::commit(QSaveFile* theWrappedObject) +{ + return ( theWrappedObject->commit()); +} + +bool PythonQtWrapper_QSaveFile::directWriteFallback(QSaveFile* theWrappedObject) const +{ + return ( theWrappedObject->directWriteFallback()); +} + +void PythonQtWrapper_QSaveFile::setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setDirectWriteFallback(enabled)); +} + +void PythonQtWrapper_QSaveFile::setFileName(QSaveFile* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setFileName(name)); +} + + + +QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) +{ +return new QSemaphore(n); } + +void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) +{ + ( theWrappedObject->acquire(n)); +} + +int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const +{ + return ( theWrappedObject->available()); +} + +void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) +{ + ( theWrappedObject->release(n)); +} + +bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) +{ + return ( theWrappedObject->tryAcquire(n)); +} + +bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) +{ + return ( theWrappedObject->tryAcquire(n, timeout)); +} + + + +PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::childEvent(event0); +} +void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::customEvent(event0); +} +int PythonQtShell_QSequentialAnimationGroup::duration() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("duration"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSequentialAnimationGroup::duration(); +} +bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSequentialAnimationGroup::event(event0); +} +bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSequentialAnimationGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::timerEvent(event0); +} +void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCurrentTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::updateCurrentTime(arg__1); +} +void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateDirection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&direction0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::updateDirection(direction0); +} +void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSequentialAnimationGroup::updateState(newState0, oldState1); +} +QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) +{ +return new PythonQtShell_QSequentialAnimationGroup(parent); } + +const QMetaObject* PythonQtShell_QSequentialAnimationGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSequentialAnimationGroup::staticMetaObject); + } else { + return &QSequentialAnimationGroup::staticMetaObject; + } +} +int PythonQtShell_QSequentialAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSequentialAnimationGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) +{ + return ( theWrappedObject->addPause(msecs)); +} + +QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const +{ + return ( theWrappedObject->currentAnimation()); +} + +QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) +{ + return ( theWrappedObject->insertPause(index, msecs)); +} + + + +PythonQtShell_QSettings::~PythonQtShell_QSettings() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSettings::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSettings::childEvent(event0); +} +void PythonQtShell_QSettings::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSettings::customEvent(event0); +} +bool PythonQtShell_QSettings::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSettings::event(event0); +} +bool PythonQtShell_QSettings::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSettings::eventFilter(watched0, event1); +} +void PythonQtShell_QSettings::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSettings::timerEvent(event0); +} +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, QObject* parent) +{ +return new PythonQtShell_QSettings(scope, 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); } + +const QMetaObject* PythonQtShell_QSettings::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSettings::staticMetaObject); + } else { + return &QSettings::staticMetaObject; + } +} +int PythonQtShell_QSettings::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSettings::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStringList PythonQtWrapper_QSettings::allKeys(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->allKeys()); +} + +QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->applicationName()); +} + +void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) +{ + ( theWrappedObject->beginGroup(prefix)); +} + +int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) +{ + return ( theWrappedObject->beginReadArray(prefix)); +} + +void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) +{ + ( theWrappedObject->beginWriteArray(prefix, size)); +} + +QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->childGroups()); +} + +QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->childKeys()); +} + +void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->contains(key)); +} + +QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() +{ + return (QSettings::defaultFormat()); +} + +void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) +{ + ( theWrappedObject->endArray()); +} + +void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) +{ + ( theWrappedObject->endGroup()); +} + +bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->fallbacksEnabled()); +} + +QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +QTextCodec* PythonQtWrapper_QSettings::iniCodec(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->iniCodec()); +} + +bool PythonQtWrapper_QSettings::isAtomicSyncRequired(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->isAtomicSyncRequired()); +} + +bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->organizationName()); +} + +void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) +{ + ( theWrappedObject->remove(key)); +} + +QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->scope()); +} + +void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) +{ + ( theWrappedObject->setArrayIndex(i)); +} + +void PythonQtWrapper_QSettings::setAtomicSyncRequired(QSettings* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAtomicSyncRequired(enable)); +} + +void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) +{ + (QSettings::setDefaultFormat(format)); +} + +void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) +{ + ( theWrappedObject->setFallbacksEnabled(b)); +} + +void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setIniCodec(codec)); +} + +void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) +{ + ( theWrappedObject->setIniCodec(codecName)); +} + +void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) +{ + (QSettings::setPath(format, scope, path)); +} + +void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->setValue(key, value)); +} + +QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) +{ + ( theWrappedObject->sync()); +} + +QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const +{ + return ( theWrappedObject->value(key, defaultValue)); +} + + + +PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSharedMemory::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSharedMemory::childEvent(event0); +} +void PythonQtShell_QSharedMemory::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSharedMemory::customEvent(event0); +} +bool PythonQtShell_QSharedMemory::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSharedMemory::event(event0); +} +bool PythonQtShell_QSharedMemory::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSharedMemory::eventFilter(watched0, event1); +} +void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSharedMemory::timerEvent(event0); +} +QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(QObject* parent) +{ +return new PythonQtShell_QSharedMemory(parent); } + +QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(const QString& key, QObject* parent) +{ +return new PythonQtShell_QSharedMemory(key, parent); } + +const QMetaObject* PythonQtShell_QSharedMemory::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSharedMemory::staticMetaObject); + } else { + return &QSharedMemory::staticMetaObject; + } +} +int PythonQtShell_QSharedMemory::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSharedMemory::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSharedMemory::attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode) +{ + return ( theWrappedObject->attach(mode)); +} + +const void* PythonQtWrapper_QSharedMemory::constData(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->constData()); +} + +bool PythonQtWrapper_QSharedMemory::create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode) +{ + return ( theWrappedObject->create(size, mode)); +} + +void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) +{ + return ( theWrappedObject->data()); +} + +const void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QSharedMemory::SharedMemoryError PythonQtWrapper_QSharedMemory::error(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QSharedMemory::errorString(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QSharedMemory::isAttached(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->isAttached()); +} + +QString PythonQtWrapper_QSharedMemory::key(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +bool PythonQtWrapper_QSharedMemory::lock(QSharedMemory* theWrappedObject) +{ + return ( theWrappedObject->lock()); +} + +QString PythonQtWrapper_QSharedMemory::nativeKey(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->nativeKey()); +} + +void PythonQtWrapper_QSharedMemory::setKey(QSharedMemory* theWrappedObject, const QString& key) +{ + ( theWrappedObject->setKey(key)); +} + +void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) +{ + ( theWrappedObject->setNativeKey(key)); +} + +int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) +{ + return ( theWrappedObject->unlock()); +} + + + +QSignalBlocker* PythonQtWrapper_QSignalBlocker::new_QSignalBlocker(QObject& o) +{ +return new QSignalBlocker(o); } + +QSignalBlocker* PythonQtWrapper_QSignalBlocker::new_QSignalBlocker(QObject* o) +{ +return new QSignalBlocker(o); } + +void PythonQtWrapper_QSignalBlocker::reblock(QSignalBlocker* theWrappedObject) +{ + ( theWrappedObject->reblock()); +} + +void PythonQtWrapper_QSignalBlocker::unblock(QSignalBlocker* theWrappedObject) +{ + ( theWrappedObject->unblock()); +} + + + +PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSignalMapper::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSignalMapper::childEvent(event0); +} +void PythonQtShell_QSignalMapper::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSignalMapper::customEvent(event0); +} +bool PythonQtShell_QSignalMapper::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSignalMapper::event(event0); +} +bool PythonQtShell_QSignalMapper::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSignalMapper::eventFilter(watched0, event1); +} +void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSignalMapper::timerEvent(event0); +} +QSignalMapper* PythonQtWrapper_QSignalMapper::new_QSignalMapper(QObject* parent) +{ +return new PythonQtShell_QSignalMapper(parent); } + +const QMetaObject* PythonQtShell_QSignalMapper::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSignalMapper::staticMetaObject); + } else { + return &QSignalMapper::staticMetaObject; + } +} +int PythonQtShell_QSignalMapper::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSignalMapper::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const +{ + return ( theWrappedObject->mapping(object)); +} + +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->mapping(widget)); +} + +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->mapping(text)); +} + +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const +{ + return ( theWrappedObject->mapping(id)); +} + +void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) +{ + ( theWrappedObject->removeMappings(sender)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) +{ + ( theWrappedObject->setMapping(sender, object)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget) +{ + ( theWrappedObject->setMapping(sender, widget)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) +{ + ( theWrappedObject->setMapping(sender, text)); +} + +void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) +{ + ( theWrappedObject->setMapping(sender, id)); +} + + + +PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSignalTransition::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSignalTransition::childEvent(event0); +} +void PythonQtShell_QSignalTransition::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSignalTransition::customEvent(event0); +} +bool PythonQtShell_QSignalTransition::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSignalTransition::event(e0); +} +bool PythonQtShell_QSignalTransition::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSignalTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSignalTransition::eventTest(event0); +} +void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSignalTransition::onTransition(event0); +} +void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSignalTransition::timerEvent(event0); +} +QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QState* sourceState) +{ +return new PythonQtShell_QSignalTransition(sourceState); } + +QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState) +{ +return new PythonQtShell_QSignalTransition(sender, signal, sourceState); } + +const QMetaObject* PythonQtShell_QSignalTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSignalTransition::staticMetaObject); + } else { + return &QSignalTransition::staticMetaObject; + } +} +int PythonQtShell_QSignalTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSignalTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QSignalTransition::senderObject(QSignalTransition* theWrappedObject) const +{ + return ( theWrappedObject->senderObject()); +} + +void PythonQtWrapper_QSignalTransition::setSenderObject(QSignalTransition* theWrappedObject, const QObject* sender) +{ + ( theWrappedObject->setSenderObject(sender)); +} + +void PythonQtWrapper_QSignalTransition::setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal) +{ + ( theWrappedObject->setSignal(signal)); +} + +QByteArray PythonQtWrapper_QSignalTransition::signal(QSignalTransition* theWrappedObject) const +{ + return ( theWrappedObject->signal()); +} + + + +PythonQtShell_QSocketNotifier::~PythonQtShell_QSocketNotifier() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSocketNotifier::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSocketNotifier::childEvent(event0); +} +void PythonQtShell_QSocketNotifier::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSocketNotifier::customEvent(event0); +} +bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSocketNotifier::event(arg__1); +} +bool PythonQtShell_QSocketNotifier::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSocketNotifier::eventFilter(watched0, event1); +} +void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSocketNotifier::timerEvent(event0); +} +QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent) +{ +return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } + +const QMetaObject* PythonQtShell_QSocketNotifier::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSocketNotifier::staticMetaObject); + } else { + return &QSocketNotifier::staticMetaObject; + } +} +int PythonQtShell_QSocketNotifier::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSocketNotifier::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +qintptr PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->socket()); +} + +QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_displayName(QStandardPaths::StandardLocation type) +{ + return (QStandardPaths::displayName(type)); +} + +void PythonQtWrapper_QStandardPaths::static_QStandardPaths_enableTestMode(bool testMode) +{ + (QStandardPaths::enableTestMode(testMode)); +} + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths) +{ + return (QStandardPaths::findExecutable(executableName, paths)); +} + +bool PythonQtWrapper_QStandardPaths::static_QStandardPaths_isTestModeEnabled() +{ + return (QStandardPaths::isTestModeEnabled()); +} + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) +{ + return (QStandardPaths::locate(type, fileName, options)); +} + +QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) +{ + return (QStandardPaths::locateAll(type, fileName, options)); +} + +void PythonQtWrapper_QStandardPaths::static_QStandardPaths_setTestModeEnabled(bool testMode) +{ + (QStandardPaths::setTestModeEnabled(testMode)); +} + +QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type) +{ + return (QStandardPaths::standardLocations(type)); +} + +QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type) +{ + return (QStandardPaths::writableLocation(type)); +} + + + +PythonQtShell_QState::~PythonQtShell_QState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QState::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::childEvent(event0); +} +void PythonQtShell_QState::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::customEvent(event0); +} +bool PythonQtShell_QState::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QState::event(e0); +} +bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QState::eventFilter(watched0, event1); +} +void PythonQtShell_QState::onEntry(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onEntry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::onEntry(event0); +} +void PythonQtShell_QState::onExit(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onExit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::onExit(event0); +} +void PythonQtShell_QState::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QState::timerEvent(event0); +} +QState* PythonQtWrapper_QState::new_QState(QState* parent) +{ +return new PythonQtShell_QState(parent); } + +QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) +{ +return new PythonQtShell_QState(childMode, parent); } + +const QMetaObject* PythonQtShell_QState::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QState::staticMetaObject); + } else { + return &QState::staticMetaObject; + } +} +int PythonQtShell_QState::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QState::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target) +{ + return ( theWrappedObject->addTransition(target)); +} + +void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition) +{ + ( theWrappedObject->addTransition(transition)); +} + +QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target) +{ + return ( theWrappedObject->addTransition(sender, signal, target)); +} + +void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) +{ + ( theWrappedObject->assignProperty(object, name, value)); +} + +QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const +{ + return ( theWrappedObject->childMode()); +} + +QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const +{ + return ( theWrappedObject->errorState()); +} + +QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const +{ + return ( theWrappedObject->initialState()); +} + +void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition) +{ + ( theWrappedObject->removeTransition(transition)); +} + +void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) +{ + ( theWrappedObject->setChildMode(mode)); +} + +void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->setErrorState(state)); +} + +void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) +{ + ( theWrappedObject->setInitialState(state)); +} + +QList PythonQtWrapper_QState::transitions(QState* theWrappedObject) const +{ + return ( theWrappedObject->transitions()); +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.h new file mode 100644 index 00000000..c140fe53 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.h @@ -0,0 +1,1316 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QModelIndex : public QObject +{ Q_OBJECT +public: +public slots: +QModelIndex* new_QModelIndex(); +QModelIndex* new_QModelIndex(const QModelIndex& other) { +QModelIndex* a = new QModelIndex(); +*((QModelIndex*)a) = other; +return a; } +void delete_QModelIndex(QModelIndex* obj) { delete obj; } + QModelIndex child(QModelIndex* theWrappedObject, int row, int column) const; + int column(QModelIndex* theWrappedObject) const; + QVariant data(QModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; + Qt::ItemFlags flags(QModelIndex* theWrappedObject) const; + quintptr internalId(QModelIndex* theWrappedObject) const; + void* internalPointer(QModelIndex* theWrappedObject) const; + bool isValid(QModelIndex* theWrappedObject) const; + const QAbstractItemModel* model(QModelIndex* theWrappedObject) const; + bool __ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const; + QModelIndex parent(QModelIndex* theWrappedObject) const; + int row(QModelIndex* theWrappedObject) const; + QModelIndex sibling(QModelIndex* theWrappedObject, int row, int column) const; + QModelIndex siblingAtColumn(QModelIndex* theWrappedObject, int column) const; + QModelIndex siblingAtRow(QModelIndex* theWrappedObject, int row) const; + QString py_toString(QModelIndex*); + bool __nonzero__(QModelIndex* obj) { return obj->isValid(); } +}; + + + + + +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* new_QMutex(QMutex::RecursionMode mode); +void delete_QMutex(QMutex* obj) { delete obj; } + bool isRecursive(QMutex* theWrappedObject) const; + void lock(QMutex* theWrappedObject); + bool tryLock(QMutex* theWrappedObject, int timeout = 0); + bool try_lock(QMutex* theWrappedObject); + void unlock(QMutex* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QMutexLocker : public QObject +{ Q_OBJECT +public: +public slots: +QMutexLocker* new_QMutexLocker(QBasicMutex* m); +void delete_QMutexLocker(QMutexLocker* obj) { delete obj; } + QMutex* mutex(QMutexLocker* theWrappedObject) const; + void relock(QMutexLocker* theWrappedObject); + void unlock(QMutexLocker* theWrappedObject); + + void __enter__(QMutexLocker* self) {} + void __exit__(QMutexLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + +}; + + + + + +class PythonQtShell_QObject : public QObject +{ +public: + PythonQtShell_QObject(QObject* parent = nullptr):QObject(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QObject() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QObject : public QObject +{ public: +inline void promoted_childEvent(QChildEvent* event) { this->childEvent(event); } +inline void promoted_customEvent(QEvent* event) { this->customEvent(event); } +inline bool promoted_isSignalConnected(const QMetaMethod& signal) const { return this->isSignalConnected(signal); } +inline QObject* promoted_sender() const { return this->sender(); } +inline int promoted_senderSignalIndex() const { return this->senderSignalIndex(); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void py_q_childEvent(QChildEvent* event) { QObject::childEvent(event); } +inline void py_q_customEvent(QEvent* event) { QObject::customEvent(event); } +inline bool py_q_event(QEvent* event) { return QObject::event(event); } +inline bool py_q_eventFilter(QObject* watched, QEvent* event) { return QObject::eventFilter(watched, event); } +inline void py_q_timerEvent(QTimerEvent* event) { QObject::timerEvent(event); } +}; + +class PythonQtWrapper_QObject : public QObject +{ Q_OBJECT +public: +public slots: +QObject* new_QObject(QObject* parent = nullptr); +void delete_QObject(QObject* obj) { delete obj; } + bool blockSignals(QObject* theWrappedObject, bool b); + void childEvent(QObject* theWrappedObject, QChildEvent* event); + void py_q_childEvent(QObject* theWrappedObject, QChildEvent* event){ (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_childEvent(event));} + const QList* children(QObject* theWrappedObject) const; + void customEvent(QObject* theWrappedObject, QEvent* event); + void py_q_customEvent(QObject* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_customEvent(event));} + void dumpObjectInfo(QObject* theWrappedObject); + void dumpObjectInfo(QObject* theWrappedObject) const; + void dumpObjectTree(QObject* theWrappedObject); + void dumpObjectTree(QObject* theWrappedObject) const; + QList dynamicPropertyNames(QObject* theWrappedObject) const; + bool event(QObject* theWrappedObject, QEvent* event); + bool py_q_event(QObject* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_event(event));} + bool eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event); + bool py_q_eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_eventFilter(watched, event));} + void installEventFilter(QObject* theWrappedObject, QObject* filterObj); + bool isSignalConnected(QObject* theWrappedObject, const QMetaMethod& signal) const; + bool isWidgetType(QObject* theWrappedObject) const; + bool isWindowType(QObject* theWrappedObject) const; + void killTimer(QObject* theWrappedObject, int id); + void moveToThread(QObject* theWrappedObject, QThread* thread); + QString objectName(QObject* theWrappedObject) const; + void removeEventFilter(QObject* theWrappedObject, QObject* obj); + QObject* sender(QObject* theWrappedObject) const; + int senderSignalIndex(QObject* theWrappedObject) const; + void setObjectName(QObject* theWrappedObject, const QString& name); + bool signalsBlocked(QObject* theWrappedObject) const; + int startTimer(QObject* theWrappedObject, int interval, Qt::TimerType timerType = Qt::CoarseTimer); + QThread* thread(QObject* theWrappedObject) const; + void timerEvent(QObject* theWrappedObject, QTimerEvent* event); + void py_q_timerEvent(QObject* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QObject*)theWrappedObject)->py_q_timerEvent(event));} +}; + + + + + +class PythonQtShell_QOperatingSystemVersion : public QOperatingSystemVersion +{ +public: + PythonQtShell_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1):QOperatingSystemVersion(osType, vmajor, vminor, vmicro),_wrapper(nullptr) {}; + + ~PythonQtShell_QOperatingSystemVersion(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QOperatingSystemVersion : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OSType ) +enum OSType{ + Unknown = QOperatingSystemVersion::Unknown, Windows = QOperatingSystemVersion::Windows, MacOS = QOperatingSystemVersion::MacOS, IOS = QOperatingSystemVersion::IOS, TvOS = QOperatingSystemVersion::TvOS, WatchOS = QOperatingSystemVersion::WatchOS, Android = QOperatingSystemVersion::Android}; +public slots: +QOperatingSystemVersion* new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1); +void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; } + QOperatingSystemVersion static_QOperatingSystemVersion_current(); + QOperatingSystemVersion::OSType static_QOperatingSystemVersion_currentType(); + int majorVersion(QOperatingSystemVersion* theWrappedObject) const; + int microVersion(QOperatingSystemVersion* theWrappedObject) const; + int minorVersion(QOperatingSystemVersion* theWrappedObject) const; + QString name(QOperatingSystemVersion* theWrappedObject) const; + int segmentCount(QOperatingSystemVersion* theWrappedObject) const; + QOperatingSystemVersion::OSType type(QOperatingSystemVersion* theWrappedObject) const; + QString py_toString(QOperatingSystemVersion*); +}; + + + + + +class PythonQtShell_QParallelAnimationGroup : public QParallelAnimationGroup +{ +public: + PythonQtShell_QParallelAnimationGroup(QObject* parent = nullptr):QParallelAnimationGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QParallelAnimationGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int currentTime) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QParallelAnimationGroup : public QParallelAnimationGroup +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_updateCurrentTime(int currentTime) { this->updateCurrentTime(currentTime); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { this->updateDirection(direction); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline int py_q_duration() const { return QParallelAnimationGroup::duration(); } +inline bool py_q_event(QEvent* event) { return QParallelAnimationGroup::event(event); } +inline void py_q_updateCurrentTime(int currentTime) { QParallelAnimationGroup::updateCurrentTime(currentTime); } +inline void py_q_updateDirection(QAbstractAnimation::Direction direction) { QParallelAnimationGroup::updateDirection(direction); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QParallelAnimationGroup::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QParallelAnimationGroup : public QObject +{ Q_OBJECT +public: +public slots: +QParallelAnimationGroup* new_QParallelAnimationGroup(QObject* parent = nullptr); +void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; } + int py_q_duration(QParallelAnimationGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_duration());} + bool py_q_event(QParallelAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_event(event));} + void py_q_updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateCurrentTime(currentTime));} + void py_q_updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateDirection(direction));} + void py_q_updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtShell_QPauseAnimation : public QPauseAnimation +{ +public: + PythonQtShell_QPauseAnimation(QObject* parent = nullptr):QPauseAnimation(parent),_wrapper(nullptr) {}; + PythonQtShell_QPauseAnimation(int msecs, QObject* parent = nullptr):QPauseAnimation(msecs, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPauseAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPauseAnimation : public QPauseAnimation +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_updateCurrentTime(int arg__1) { this->updateCurrentTime(arg__1); } +inline int py_q_duration() const { return QPauseAnimation::duration(); } +inline bool py_q_event(QEvent* e) { return QPauseAnimation::event(e); } +inline void py_q_updateCurrentTime(int arg__1) { QPauseAnimation::updateCurrentTime(arg__1); } +}; + +class PythonQtWrapper_QPauseAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QPauseAnimation* new_QPauseAnimation(QObject* parent = nullptr); +QPauseAnimation* new_QPauseAnimation(int msecs, QObject* parent = nullptr); +void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } + int py_q_duration(QPauseAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_duration());} + bool py_q_event(QPauseAnimation* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_event(e));} + void setDuration(QPauseAnimation* theWrappedObject, int msecs); + void py_q_updateCurrentTime(QPauseAnimation* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_updateCurrentTime(arg__1));} +}; + + + + + +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; } + QModelIndex child(QPersistentModelIndex* theWrappedObject, int row, int column) const; + int column(QPersistentModelIndex* theWrappedObject) const; + QVariant data(QPersistentModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; + Qt::ItemFlags flags(QPersistentModelIndex* theWrappedObject) const; + quintptr internalId(QPersistentModelIndex* theWrappedObject) const; + bool isValid(QPersistentModelIndex* theWrappedObject) const; + const QAbstractItemModel* model(QPersistentModelIndex* theWrappedObject) const; + QModelIndex operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const; + bool __ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; + bool __lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; + bool __eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; + bool __eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; + QModelIndex parent(QPersistentModelIndex* theWrappedObject) const; + int row(QPersistentModelIndex* theWrappedObject) const; + QModelIndex sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const; + void swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other); + QString py_toString(QPersistentModelIndex*); + bool __nonzero__(QPersistentModelIndex* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QProcess : public QProcess +{ +public: + PythonQtShell_QProcess(QObject* parent = nullptr):QProcess(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QProcess() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +void setupChildProcess() override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProcess : public QProcess +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline void promoted_setProcessState(QProcess::ProcessState state) { this->setProcessState(state); } +inline void promoted_setupChildProcess() { this->setupChildProcess(); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QProcess::atEnd(); } +inline qint64 py_q_bytesAvailable() const { return QProcess::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QProcess::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QProcess::canReadLine(); } +inline void py_q_close() { QProcess::close(); } +inline bool py_q_isSequential() const { return QProcess::isSequential(); } +inline bool py_q_open(QIODevice::OpenMode mode = QIODevice::ReadWrite) { return QProcess::open(mode); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QProcess::readData(data, maxlen); } +inline void py_q_setupChildProcess() { QProcess::setupChildProcess(); } +inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QProcess::waitForBytesWritten(msecs); } +inline bool py_q_waitForReadyRead(int msecs = 30000) { return QProcess::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QProcess::writeData(data, len); } +}; + +class PythonQtWrapper_QProcess : public QObject +{ Q_OBJECT +public: +public slots: +QProcess* new_QProcess(QObject* parent = nullptr); +void delete_QProcess(QProcess* obj) { delete obj; } + QStringList arguments(QProcess* theWrappedObject) const; + bool py_q_atEnd(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_atEnd());} + qint64 py_q_bytesAvailable(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_bytesAvailable());} + qint64 py_q_bytesToWrite(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_bytesToWrite());} + bool py_q_canReadLine(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_canReadLine());} + void py_q_close(QProcess* theWrappedObject){ (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_close());} + void closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); + void closeWriteChannel(QProcess* theWrappedObject); + QStringList environment(QProcess* theWrappedObject) const; + QProcess::ProcessError error(QProcess* theWrappedObject) const; + int static_QProcess_execute(const QString& command); + int static_QProcess_execute(const QString& program, const QStringList& arguments); + int exitCode(QProcess* theWrappedObject) const; + QProcess::ExitStatus exitStatus(QProcess* theWrappedObject) const; + QProcess::InputChannelMode inputChannelMode(QProcess* theWrappedObject) const; + bool py_q_isSequential(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_isSequential());} + QString static_QProcess_nullDevice(); + bool py_q_open(QProcess* theWrappedObject, QIODevice::OpenMode mode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_open(mode));} + QProcess::ProcessChannelMode processChannelMode(QProcess* theWrappedObject) const; + QProcessEnvironment processEnvironment(QProcess* theWrappedObject) const; + qint64 processId(QProcess* theWrappedObject) const; + QString program(QProcess* theWrappedObject) const; + QByteArray readAllStandardError(QProcess* theWrappedObject); + QByteArray readAllStandardOutput(QProcess* theWrappedObject); + QProcess::ProcessChannel readChannel(QProcess* theWrappedObject) const; + qint64 py_q_readData(QProcess* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_readData(data, maxlen));} + void setArguments(QProcess* theWrappedObject, const QStringList& arguments); + void setEnvironment(QProcess* theWrappedObject, const QStringList& environment); + void setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode); + void setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode); + void setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment); + void setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state); + void setProgram(QProcess* theWrappedObject, const QString& program); + void setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); + void setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); + void setStandardInputFile(QProcess* theWrappedObject, const QString& fileName); + void setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); + void setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination); + void setWorkingDirectory(QProcess* theWrappedObject, const QString& dir); + void setupChildProcess(QProcess* theWrappedObject); + void py_q_setupChildProcess(QProcess* theWrappedObject){ (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_setupChildProcess());} + void start(QProcess* theWrappedObject, QIODevice::OpenMode mode = QIODevice::ReadWrite); + void start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode = QIODevice::ReadWrite); + void start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode = QIODevice::ReadWrite); + bool static_QProcess_startDetached(const QString& command); + bool static_QProcess_startDetached(const QString& program, const QStringList& arguments); + bool static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid = nullptr); + bool startDetached(QProcess* theWrappedObject, qint64* pid = nullptr); + QProcess::ProcessState state(QProcess* theWrappedObject) const; + QStringList static_QProcess_systemEnvironment(); + bool py_q_waitForBytesWritten(QProcess* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool waitForFinished(QProcess* theWrappedObject, int msecs = 30000); + bool py_q_waitForReadyRead(QProcess* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + bool waitForStarted(QProcess* theWrappedObject, int msecs = 30000); + QString workingDirectory(QProcess* theWrappedObject) const; + qint64 py_q_writeData(QProcess* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QProcessEnvironment : public QObject +{ Q_OBJECT +public: +public slots: +QProcessEnvironment* new_QProcessEnvironment(); +QProcessEnvironment* new_QProcessEnvironment(const QProcessEnvironment& other); +void delete_QProcessEnvironment(QProcessEnvironment* obj) { delete obj; } + void clear(QProcessEnvironment* theWrappedObject); + bool contains(QProcessEnvironment* theWrappedObject, const QString& name) const; + void insert(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& e); + void insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value); + bool isEmpty(QProcessEnvironment* theWrappedObject) const; + QStringList keys(QProcessEnvironment* theWrappedObject) const; + bool __ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const; + QProcessEnvironment* operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other); + bool __eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const; + void remove(QProcessEnvironment* theWrappedObject, const QString& name); + void swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other); + QProcessEnvironment static_QProcessEnvironment_systemEnvironment(); + QStringList toStringList(QProcessEnvironment* theWrappedObject) const; + QString value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue = QString()) const; + bool __nonzero__(QProcessEnvironment* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QPropertyAnimation : public QPropertyAnimation +{ +public: + PythonQtShell_QPropertyAnimation(QObject* parent = nullptr):QPropertyAnimation(parent),_wrapper(nullptr) {}; + PythonQtShell_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr):QPropertyAnimation(target, propertyName, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPropertyAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateCurrentValue(const QVariant& value) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPropertyAnimation : public QPropertyAnimation +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_updateCurrentValue(const QVariant& value) { this->updateCurrentValue(value); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline bool py_q_event(QEvent* event) { return QPropertyAnimation::event(event); } +inline void py_q_updateCurrentValue(const QVariant& value) { QPropertyAnimation::updateCurrentValue(value); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QPropertyAnimation::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QPropertyAnimation : public QObject +{ Q_OBJECT +public: +public slots: +QPropertyAnimation* new_QPropertyAnimation(QObject* parent = nullptr); +QPropertyAnimation* new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr); +void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } + bool py_q_event(QPropertyAnimation* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_event(event));} + QByteArray propertyName(QPropertyAnimation* theWrappedObject) const; + void setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName); + void setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target); + QObject* targetObject(QPropertyAnimation* theWrappedObject) const; + void py_q_updateCurrentValue(QPropertyAnimation* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_updateCurrentValue(value));} + void py_q_updateState(QPropertyAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtWrapper_QRandomGenerator : public QObject +{ Q_OBJECT +public: +public slots: +QRandomGenerator* new_QRandomGenerator(const QRandomGenerator& other); +QRandomGenerator* new_QRandomGenerator(const unsigned int* begin, const unsigned int* end); +QRandomGenerator* new_QRandomGenerator(const unsigned int* seedBuffer, qsizetype len); +QRandomGenerator* new_QRandomGenerator(unsigned int seedValue = 1); +void delete_QRandomGenerator(QRandomGenerator* obj) { delete obj; } + double bounded(QRandomGenerator* theWrappedObject, double highest); + int bounded(QRandomGenerator* theWrappedObject, int highest); + int bounded(QRandomGenerator* theWrappedObject, int lowest, int highest); + unsigned int bounded(QRandomGenerator* theWrappedObject, unsigned int highest); + unsigned int bounded(QRandomGenerator* theWrappedObject, unsigned int lowest, unsigned int highest); + void discard(QRandomGenerator* theWrappedObject, quint64 z); + unsigned int generate(QRandomGenerator* theWrappedObject); + void generate(QRandomGenerator* theWrappedObject, unsigned int* begin, unsigned int* end); + quint64 generate64(QRandomGenerator* theWrappedObject); + double generateDouble(QRandomGenerator* theWrappedObject); + QRandomGenerator* static_QRandomGenerator_global(); + unsigned int static_QRandomGenerator_max(); + unsigned int static_QRandomGenerator_min(); + unsigned int operator_cast_(QRandomGenerator* theWrappedObject); + QRandomGenerator* operator_assign(QRandomGenerator* theWrappedObject, const QRandomGenerator& other); + QRandomGenerator static_QRandomGenerator_securelySeeded(); + void seed(QRandomGenerator* theWrappedObject, unsigned int s = 1); + QRandomGenerator* static_QRandomGenerator_system(); +}; + + + + + +class PythonQtWrapper_QRandomGenerator64 : public QObject +{ Q_OBJECT +public: +public slots: +QRandomGenerator64* new_QRandomGenerator64(const QRandomGenerator& other); +QRandomGenerator64* new_QRandomGenerator64(const unsigned int* begin, const unsigned int* end); +QRandomGenerator64* new_QRandomGenerator64(const unsigned int* seedBuffer, qsizetype len); +QRandomGenerator64* new_QRandomGenerator64(unsigned int seedValue = 1); +void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } + void discard(QRandomGenerator64* theWrappedObject, quint64 z); + quint64 generate(QRandomGenerator64* theWrappedObject); + QRandomGenerator64* static_QRandomGenerator64_global(); + quint64 static_QRandomGenerator64_max(); + quint64 static_QRandomGenerator64_min(); + quint64 operator_cast_(QRandomGenerator64* theWrappedObject); + QRandomGenerator64 static_QRandomGenerator64_securelySeeded(); + QRandomGenerator64* static_QRandomGenerator64_system(); +}; + + + + + +class PythonQtWrapper_QReadLocker : public QObject +{ Q_OBJECT +public: +public slots: +QReadLocker* new_QReadLocker(QReadWriteLock* readWriteLock); +void delete_QReadLocker(QReadLocker* obj) { delete obj; } + QReadWriteLock* readWriteLock(QReadLocker* theWrappedObject) const; + void relock(QReadLocker* theWrappedObject); + void unlock(QReadLocker* theWrappedObject); + + void __enter__(QReadLocker* self) {} + void __exit__(QReadLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + +}; + + + + + +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::RecursionMode recursionMode = QReadWriteLock::NonRecursive); +void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } + void lockForRead(QReadWriteLock* theWrappedObject); + void lockForWrite(QReadWriteLock* theWrappedObject); + bool tryLockForRead(QReadWriteLock* theWrappedObject); + bool tryLockForRead(QReadWriteLock* theWrappedObject, int timeout); + bool tryLockForWrite(QReadWriteLock* theWrappedObject); + bool tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout); + void unlock(QReadWriteLock* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QRegularExpressionMatch : public QObject +{ Q_OBJECT +public: +public slots: +QRegularExpressionMatch* new_QRegularExpressionMatch(); +QRegularExpressionMatch* new_QRegularExpressionMatch(const QRegularExpressionMatch& match); +void delete_QRegularExpressionMatch(QRegularExpressionMatch* obj) { delete obj; } + QString captured(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + QString captured(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + int capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + int capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + int capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + int capturedLength(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + QStringRef capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + QStringRef capturedRef(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + int capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const; + int capturedStart(QRegularExpressionMatch* theWrappedObject, int nth = 0) const; + QStringList capturedTexts(QRegularExpressionMatch* theWrappedObject) const; + bool hasMatch(QRegularExpressionMatch* theWrappedObject) const; + bool hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const; + bool isValid(QRegularExpressionMatch* theWrappedObject) const; + int lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const; + QRegularExpression::MatchOptions matchOptions(QRegularExpressionMatch* theWrappedObject) const; + QRegularExpression::MatchType matchType(QRegularExpressionMatch* theWrappedObject) const; + QRegularExpressionMatch* operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match); + QRegularExpression regularExpression(QRegularExpressionMatch* theWrappedObject) const; + void swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& other); + QString py_toString(QRegularExpressionMatch*); + bool __nonzero__(QRegularExpressionMatch* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QRegularExpressionMatchIterator : public QObject +{ Q_OBJECT +public: +public slots: +QRegularExpressionMatchIterator* new_QRegularExpressionMatchIterator(); +QRegularExpressionMatchIterator* new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator); +void delete_QRegularExpressionMatchIterator(QRegularExpressionMatchIterator* obj) { delete obj; } + bool hasNext(QRegularExpressionMatchIterator* theWrappedObject) const; + bool isValid(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpression::MatchOptions matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpression::MatchType matchType(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpressionMatch next(QRegularExpressionMatchIterator* theWrappedObject); + QRegularExpressionMatchIterator* operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator); + QRegularExpressionMatch peekNext(QRegularExpressionMatchIterator* theWrappedObject) const; + QRegularExpression regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const; + void swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& other); + bool __nonzero__(QRegularExpressionMatchIterator* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QResource : public QResource +{ +public: + PythonQtShell_QResource(const QString& file = QString(), const QLocale& locale = QLocale()):QResource(file, locale),_wrapper(nullptr) {}; + + ~PythonQtShell_QResource(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QResource : public QResource +{ public: +inline QStringList promoted_children() const { return this->children(); } +inline bool promoted_isDir() const { return this->isDir(); } +inline bool promoted_isFile() const { return this->isFile(); } +}; + +class PythonQtWrapper_QResource : public QObject +{ Q_OBJECT +public: +public slots: +QResource* new_QResource(const QString& file = QString(), const QLocale& locale = QLocale()); +void delete_QResource(QResource* obj) { delete obj; } + QString absoluteFilePath(QResource* theWrappedObject) const; + void static_QResource_addSearchPath(const QString& path); + QStringList children(QResource* theWrappedObject) const; + const uchar* data(QResource* theWrappedObject) const; + QString fileName(QResource* theWrappedObject) const; + bool isCompressed(QResource* theWrappedObject) const; + bool isDir(QResource* theWrappedObject) const; + bool isFile(QResource* theWrappedObject) const; + bool isValid(QResource* theWrappedObject) const; + QDateTime lastModified(QResource* theWrappedObject) const; + QLocale locale(QResource* theWrappedObject) const; + bool static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot = QString()); + bool static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot = QString()); + QStringList static_QResource_searchPaths(); + void setFileName(QResource* theWrappedObject, const QString& file); + void setLocale(QResource* theWrappedObject, const QLocale& locale); + qint64 size(QResource* theWrappedObject) const; + QByteArray uncompressedData(QResource* theWrappedObject) const; + qint64 uncompressedSize(QResource* theWrappedObject) const; + bool static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot = QString()); + bool static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot = QString()); + bool __nonzero__(QResource* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QRunnable : public QRunnable +{ +public: + PythonQtShell_QRunnable():QRunnable(),_wrapper(nullptr) {}; + + ~PythonQtShell_QRunnable() override; + +void run() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRunnable : public QRunnable +{ public: +inline void py_q_run() { this->run(); } +}; + +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 run(QRunnable* theWrappedObject); + void py_q_run(QRunnable* theWrappedObject){ (((PythonQtPublicPromoter_QRunnable*)theWrappedObject)->py_q_run());} + void setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete); +}; + + + + + +class PythonQtShell_QSaveFile : public QSaveFile +{ +public: + PythonQtShell_QSaveFile(QObject* parent = nullptr):QSaveFile(parent),_wrapper(nullptr) {}; + PythonQtShell_QSaveFile(const QString& name):QSaveFile(name),_wrapper(nullptr) {}; + PythonQtShell_QSaveFile(const QString& name, QObject* parent):QSaveFile(name, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSaveFile() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode flags) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSaveFile : public QSaveFile +{ public: +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline QString py_q_fileName() const { return QSaveFile::fileName(); } +inline bool py_q_open(QIODevice::OpenMode flags) { return QSaveFile::open(flags); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QSaveFile::writeData(data, len); } +}; + +class PythonQtWrapper_QSaveFile : public QObject +{ Q_OBJECT +public: +public slots: +QSaveFile* new_QSaveFile(QObject* parent = nullptr); +QSaveFile* new_QSaveFile(const QString& name); +QSaveFile* new_QSaveFile(const QString& name, QObject* parent); +void delete_QSaveFile(QSaveFile* obj) { delete obj; } + void cancelWriting(QSaveFile* theWrappedObject); + bool commit(QSaveFile* theWrappedObject); + bool directWriteFallback(QSaveFile* theWrappedObject) const; + QString py_q_fileName(QSaveFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_fileName());} + bool py_q_open(QSaveFile* theWrappedObject, QIODevice::OpenMode flags){ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_open(flags));} + void setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled); + void setFileName(QSaveFile* theWrappedObject, const QString& name); + qint64 py_q_writeData(QSaveFile* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QSemaphore : public QObject +{ Q_OBJECT +public: +public slots: +QSemaphore* new_QSemaphore(int n = 0); +void delete_QSemaphore(QSemaphore* obj) { delete obj; } + void acquire(QSemaphore* theWrappedObject, int n = 1); + int available(QSemaphore* theWrappedObject) const; + void release(QSemaphore* theWrappedObject, int n = 1); + bool tryAcquire(QSemaphore* theWrappedObject, int n = 1); + bool tryAcquire(QSemaphore* theWrappedObject, int n, int timeout); +}; + + + + + +class PythonQtShell_QSequentialAnimationGroup : public QSequentialAnimationGroup +{ +public: + PythonQtShell_QSequentialAnimationGroup(QObject* parent = nullptr):QSequentialAnimationGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSequentialAnimationGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSequentialAnimationGroup : public QSequentialAnimationGroup +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_updateCurrentTime(int arg__1) { this->updateCurrentTime(arg__1); } +inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { this->updateDirection(direction); } +inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } +inline int py_q_duration() const { return QSequentialAnimationGroup::duration(); } +inline bool py_q_event(QEvent* event) { return QSequentialAnimationGroup::event(event); } +inline void py_q_updateCurrentTime(int arg__1) { QSequentialAnimationGroup::updateCurrentTime(arg__1); } +inline void py_q_updateDirection(QAbstractAnimation::Direction direction) { QSequentialAnimationGroup::updateDirection(direction); } +inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QSequentialAnimationGroup::updateState(newState, oldState); } +}; + +class PythonQtWrapper_QSequentialAnimationGroup : public QObject +{ Q_OBJECT +public: +public slots: +QSequentialAnimationGroup* new_QSequentialAnimationGroup(QObject* parent = nullptr); +void delete_QSequentialAnimationGroup(QSequentialAnimationGroup* obj) { delete obj; } + QPauseAnimation* addPause(QSequentialAnimationGroup* theWrappedObject, int msecs); + QAbstractAnimation* currentAnimation(QSequentialAnimationGroup* theWrappedObject) const; + int py_q_duration(QSequentialAnimationGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_duration());} + bool py_q_event(QSequentialAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_event(event));} + QPauseAnimation* insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs); + void py_q_updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateCurrentTime(arg__1));} + void py_q_updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateDirection(direction));} + void py_q_updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateState(newState, oldState));} +}; + + + + + +class PythonQtShell_QSettings : public QSettings +{ +public: + PythonQtShell_QSettings(QObject* parent = nullptr):QSettings(parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(format, scope, organization, application, parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(QSettings::Scope scope, QObject* parent = nullptr):QSettings(scope, parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(scope, organization, application, parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr):QSettings(fileName, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(organization, application, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSettings() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSettings : public QSettings +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool py_q_event(QEvent* event) { return QSettings::event(event); } +}; + +class PythonQtWrapper_QSettings : public QObject +{ Q_OBJECT +public: +public slots: +QSettings* new_QSettings(QObject* parent = nullptr); +QSettings* new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr); +QSettings* new_QSettings(QSettings::Scope scope, QObject* parent = nullptr); +QSettings* new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr); +QSettings* new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr); +QSettings* new_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr); +void delete_QSettings(QSettings* obj) { delete obj; } + QStringList allKeys(QSettings* theWrappedObject) const; + QString applicationName(QSettings* theWrappedObject) const; + void beginGroup(QSettings* theWrappedObject, const QString& prefix); + int beginReadArray(QSettings* theWrappedObject, const QString& prefix); + void beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size = -1); + QStringList childGroups(QSettings* theWrappedObject) const; + QStringList childKeys(QSettings* theWrappedObject) const; + void clear(QSettings* theWrappedObject); + bool contains(QSettings* theWrappedObject, const QString& key) const; + QSettings::Format static_QSettings_defaultFormat(); + void endArray(QSettings* theWrappedObject); + void endGroup(QSettings* theWrappedObject); + bool py_q_event(QSettings* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSettings*)theWrappedObject)->py_q_event(event));} + bool fallbacksEnabled(QSettings* theWrappedObject) const; + QString fileName(QSettings* theWrappedObject) const; + QSettings::Format format(QSettings* theWrappedObject) const; + QString group(QSettings* theWrappedObject) const; + QTextCodec* iniCodec(QSettings* theWrappedObject) const; + bool isAtomicSyncRequired(QSettings* theWrappedObject) const; + bool isWritable(QSettings* theWrappedObject) const; + QString organizationName(QSettings* theWrappedObject) const; + void remove(QSettings* theWrappedObject, const QString& key); + QSettings::Scope scope(QSettings* theWrappedObject) const; + void setArrayIndex(QSettings* theWrappedObject, int i); + void setAtomicSyncRequired(QSettings* theWrappedObject, bool enable); + void static_QSettings_setDefaultFormat(QSettings::Format format); + void setFallbacksEnabled(QSettings* theWrappedObject, bool b); + void setIniCodec(QSettings* theWrappedObject, QTextCodec* codec); + void setIniCodec(QSettings* theWrappedObject, const char* codecName); + void static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path); + void setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value); + QSettings::Status status(QSettings* theWrappedObject) const; + void sync(QSettings* theWrappedObject); + QVariant value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue = QVariant()) const; +}; + + + + + +class PythonQtShell_QSharedMemory : public QSharedMemory +{ +public: + PythonQtShell_QSharedMemory(QObject* parent = nullptr):QSharedMemory(parent),_wrapper(nullptr) {}; + PythonQtShell_QSharedMemory(const QString& key, QObject* parent = nullptr):QSharedMemory(key, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSharedMemory() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSharedMemory : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AccessMode SharedMemoryError ) +enum AccessMode{ + ReadOnly = QSharedMemory::ReadOnly, ReadWrite = QSharedMemory::ReadWrite}; +enum SharedMemoryError{ + NoError = QSharedMemory::NoError, PermissionDenied = QSharedMemory::PermissionDenied, InvalidSize = QSharedMemory::InvalidSize, KeyError = QSharedMemory::KeyError, AlreadyExists = QSharedMemory::AlreadyExists, NotFound = QSharedMemory::NotFound, LockError = QSharedMemory::LockError, OutOfResources = QSharedMemory::OutOfResources, UnknownError = QSharedMemory::UnknownError}; +public slots: +QSharedMemory* new_QSharedMemory(QObject* parent = nullptr); +QSharedMemory* new_QSharedMemory(const QString& key, QObject* parent = nullptr); +void delete_QSharedMemory(QSharedMemory* obj) { delete obj; } + bool attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); + const void* constData(QSharedMemory* theWrappedObject) const; + bool create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); + void* data(QSharedMemory* theWrappedObject); + const void* data(QSharedMemory* theWrappedObject) const; + QSharedMemory::SharedMemoryError error(QSharedMemory* theWrappedObject) const; + QString errorString(QSharedMemory* theWrappedObject) const; + bool isAttached(QSharedMemory* theWrappedObject) const; + QString key(QSharedMemory* theWrappedObject) const; + bool lock(QSharedMemory* theWrappedObject); + QString nativeKey(QSharedMemory* theWrappedObject) const; + void setKey(QSharedMemory* theWrappedObject, const QString& key); + void setNativeKey(QSharedMemory* theWrappedObject, const QString& key); + int size(QSharedMemory* theWrappedObject) const; + bool unlock(QSharedMemory* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QSignalBlocker : public QObject +{ Q_OBJECT +public: +public slots: +QSignalBlocker* new_QSignalBlocker(QObject& o); +QSignalBlocker* new_QSignalBlocker(QObject* o); +void delete_QSignalBlocker(QSignalBlocker* obj) { delete obj; } + void reblock(QSignalBlocker* theWrappedObject); + void unblock(QSignalBlocker* theWrappedObject); +}; + + + + + +class PythonQtShell_QSignalMapper : public QSignalMapper +{ +public: + PythonQtShell_QSignalMapper(QObject* parent = nullptr):QSignalMapper(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSignalMapper() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSignalMapper : public QObject +{ Q_OBJECT +public: +public slots: +QSignalMapper* new_QSignalMapper(QObject* parent = nullptr); +void delete_QSignalMapper(QSignalMapper* obj) { delete obj; } + QObject* mapping(QSignalMapper* theWrappedObject, QObject* object) const; + QObject* mapping(QSignalMapper* theWrappedObject, QWidget* widget) const; + QObject* mapping(QSignalMapper* theWrappedObject, const QString& text) const; + QObject* mapping(QSignalMapper* theWrappedObject, int id) const; + void removeMappings(QSignalMapper* theWrappedObject, QObject* sender); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text); + void setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id); +}; + + + + + +class PythonQtShell_QSignalTransition : public QSignalTransition +{ +public: + PythonQtShell_QSignalTransition(QState* sourceState = nullptr):QSignalTransition(sourceState),_wrapper(nullptr) {}; + PythonQtShell_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr):QSignalTransition(sender, signal, sourceState),_wrapper(nullptr) {}; + + ~PythonQtShell_QSignalTransition() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSignalTransition : public QSignalTransition +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } +inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } +inline bool py_q_event(QEvent* e) { return QSignalTransition::event(e); } +inline bool py_q_eventTest(QEvent* event) { return QSignalTransition::eventTest(event); } +inline void py_q_onTransition(QEvent* event) { QSignalTransition::onTransition(event); } +}; + +class PythonQtWrapper_QSignalTransition : public QObject +{ Q_OBJECT +public: +public slots: +QSignalTransition* new_QSignalTransition(QState* sourceState = nullptr); +QSignalTransition* new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr); +void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } + bool py_q_event(QSignalTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_event(e));} + bool py_q_eventTest(QSignalTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_eventTest(event));} + void py_q_onTransition(QSignalTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_onTransition(event));} + QObject* senderObject(QSignalTransition* theWrappedObject) const; + void setSenderObject(QSignalTransition* theWrappedObject, const QObject* sender); + void setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal); + QByteArray signal(QSignalTransition* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSocketNotifier : public QSocketNotifier +{ +public: + PythonQtShell_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr):QSocketNotifier(socket, arg__2, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSocketNotifier() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_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(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr); +void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } + bool py_q_event(QSocketNotifier* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->py_q_event(arg__1));} + bool isEnabled(QSocketNotifier* theWrappedObject) const; + qintptr socket(QSocketNotifier* theWrappedObject) const; + QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QStandardPaths : public QObject +{ Q_OBJECT +public: +Q_ENUMS(LocateOption StandardLocation ) +Q_FLAGS(LocateOptions ) +enum LocateOption{ + LocateFile = QStandardPaths::LocateFile, LocateDirectory = QStandardPaths::LocateDirectory}; +enum StandardLocation{ + DesktopLocation = QStandardPaths::DesktopLocation, DocumentsLocation = QStandardPaths::DocumentsLocation, FontsLocation = QStandardPaths::FontsLocation, ApplicationsLocation = QStandardPaths::ApplicationsLocation, MusicLocation = QStandardPaths::MusicLocation, MoviesLocation = QStandardPaths::MoviesLocation, PicturesLocation = QStandardPaths::PicturesLocation, TempLocation = QStandardPaths::TempLocation, HomeLocation = QStandardPaths::HomeLocation, DataLocation = QStandardPaths::DataLocation, CacheLocation = QStandardPaths::CacheLocation, GenericDataLocation = QStandardPaths::GenericDataLocation, RuntimeLocation = QStandardPaths::RuntimeLocation, ConfigLocation = QStandardPaths::ConfigLocation, DownloadLocation = QStandardPaths::DownloadLocation, GenericCacheLocation = QStandardPaths::GenericCacheLocation, GenericConfigLocation = QStandardPaths::GenericConfigLocation, AppDataLocation = QStandardPaths::AppDataLocation, AppConfigLocation = QStandardPaths::AppConfigLocation, AppLocalDataLocation = QStandardPaths::AppLocalDataLocation}; +Q_DECLARE_FLAGS(LocateOptions, LocateOption) +public slots: + QString static_QStandardPaths_displayName(QStandardPaths::StandardLocation type); + void static_QStandardPaths_enableTestMode(bool testMode); + QString static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths = QStringList()); + bool static_QStandardPaths_isTestModeEnabled(); + QString static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); + QStringList static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); + void static_QStandardPaths_setTestModeEnabled(bool testMode); + QStringList static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type); + QString static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type); +}; + + + + + +class PythonQtShell_QState : public QState +{ +public: + PythonQtShell_QState(QState* parent = nullptr):QState(parent),_wrapper(nullptr) {}; + PythonQtShell_QState(QState::ChildMode childMode, QState* parent = nullptr):QState(childMode, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QState() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QState : public QState +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } +inline void promoted_onExit(QEvent* event) { this->onExit(event); } +inline bool py_q_event(QEvent* e) { return QState::event(e); } +inline void py_q_onEntry(QEvent* event) { QState::onEntry(event); } +inline void py_q_onExit(QEvent* event) { QState::onExit(event); } +}; + +class PythonQtWrapper_QState : public QObject +{ Q_OBJECT +public: +public slots: +QState* new_QState(QState* parent = nullptr); +QState* new_QState(QState::ChildMode childMode, QState* parent = nullptr); +void delete_QState(QState* obj) { delete obj; } + QAbstractTransition* addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target); + void addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition); + QSignalTransition* addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target); + void assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value); + QState::ChildMode childMode(QState* theWrappedObject) const; + QAbstractState* errorState(QState* theWrappedObject) const; + bool py_q_event(QState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_event(e));} + QAbstractState* initialState(QState* theWrappedObject) const; + void py_q_onEntry(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onEntry(event));} + void py_q_onExit(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onExit(event));} + void removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition); + void setChildMode(QState* theWrappedObject, QState::ChildMode mode); + void setErrorState(QState* theWrappedObject, QAbstractState* state); + void setInitialState(QState* theWrappedObject, QAbstractState* state); + QList transitions(QState* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.cpp similarity index 63% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index 471098a1..4297b90b 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -1,124 +1,108 @@ -#include "com_trolltech_qt_core2.h" +#include "com_trolltech_qt_core3.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 #include #include -#include -#include +#include #include #include -#include -#include +#include +#include -PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { +PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QSignalTransition::event(QEvent* e0) +void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("beginMicrostep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSignalTransition::event(e0); + QStateMachine::beginMicrostep(event0); } -bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) +void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); + static PyObject* name = PyString_FromString("beginSelectTransitions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSignalTransition::eventTest(event0); + QStateMachine::beginSelectTransitions(event0); } -void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) +void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -126,56 +110,75 @@ if (_wrapper) { } } } - QSignalTransition::onTransition(event0); + QStateMachine::childEvent(event0); } -QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(QState* sourceState) -{ -return new PythonQtShell_QSignalTransition(sourceState); } - -QSignalTransition* PythonQtWrapper_QSignalTransition::new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState) -{ -return new PythonQtShell_QSignalTransition(sender, signal, sourceState); } - -const QMetaObject* PythonQtShell_QSignalTransition::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSignalTransition::staticMetaObject); - } else { - return &QSignalTransition::staticMetaObject; +void PythonQtShell_QStateMachine::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QSignalTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSignalTransition::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QObject* PythonQtWrapper_QSignalTransition::senderObject(QSignalTransition* theWrappedObject) const -{ - return ( theWrappedObject->senderObject()); + QStateMachine::customEvent(event0); } - -void PythonQtWrapper_QSignalTransition::setSenderObject(QSignalTransition* theWrappedObject, const QObject* sender) +void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { - ( theWrappedObject->setSenderObject(sender)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endMicrostep"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSignalTransition::setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal) -{ - ( theWrappedObject->setSignal(signal)); + QStateMachine::endMicrostep(event0); } - -QByteArray PythonQtWrapper_QSignalTransition::signal(QSignalTransition* theWrappedObject) const +void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { - return ( theWrappedObject->signal()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("endSelectTransitions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QSocketNotifier::~PythonQtShell_QSocketNotifier() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QStateMachine::endSelectTransitions(event0); } -bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) +bool PythonQtShell_QStateMachine::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -186,19 +189,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -206,122 +209,32 @@ if (_wrapper) { } } } - return QSocketNotifier::event(arg__1); -} -QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent) -{ -return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } - -const QMetaObject* PythonQtShell_QSocketNotifier::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSocketNotifier::staticMetaObject); - } else { - return &QSocketNotifier::staticMetaObject; - } -} -int PythonQtShell_QSocketNotifier::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSocketNotifier::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QSocketNotifier::event(QSocketNotifier* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->promoted_event(arg__1)); -} - -bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -qintptr PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const -{ - return ( theWrappedObject->socket()); -} - -QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_displayName(QStandardPaths::StandardLocation type) -{ - return (QStandardPaths::displayName(type)); -} - -void PythonQtWrapper_QStandardPaths::static_QStandardPaths_enableTestMode(bool testMode) -{ - (QStandardPaths::enableTestMode(testMode)); -} - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths) -{ - return (QStandardPaths::findExecutable(executableName, paths)); -} - -bool PythonQtWrapper_QStandardPaths::static_QStandardPaths_isTestModeEnabled() -{ - return (QStandardPaths::isTestModeEnabled()); -} - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) -{ - return (QStandardPaths::locate(type, fileName, options)); -} - -QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) -{ - return (QStandardPaths::locateAll(type, fileName, options)); -} - -void PythonQtWrapper_QStandardPaths::static_QStandardPaths_setTestModeEnabled(bool testMode) -{ - (QStandardPaths::setTestModeEnabled(testMode)); -} - -QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type) -{ - return (QStandardPaths::standardLocations(type)); -} - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type) -{ - return (QStandardPaths::writableLocation(type)); -} - - - -PythonQtShell_QState::~PythonQtShell_QState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QStateMachine::event(e0); } -bool PythonQtShell_QState::event(QEvent* e0) +bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -329,9 +242,9 @@ if (_wrapper) { } } } - return QState::event(e0); + return QStateMachine::eventFilter(watched0, event1); } -void PythonQtShell_QState::onEntry(QEvent* event0) +void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -341,9 +254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -351,9 +264,9 @@ if (_wrapper) { } } } - QState::onEntry(event0); + QStateMachine::onEntry(event0); } -void PythonQtShell_QState::onExit(QEvent* event0) +void PythonQtShell_QStateMachine::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -363,9 +276,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStateMachine::onExit(event0); +} +void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -373,459 +308,304 @@ if (_wrapper) { } } } - QState::onExit(event0); + QStateMachine::timerEvent(event0); } -QState* PythonQtWrapper_QState::new_QState(QState* parent) +QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) { -return new PythonQtShell_QState(parent); } +return new PythonQtShell_QStateMachine(parent); } -QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) +QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QState::ChildMode childMode, QObject* parent) { -return new PythonQtShell_QState(childMode, parent); } +return new PythonQtShell_QStateMachine(childMode, parent); } -const QMetaObject* PythonQtShell_QState::metaObject() const { +const QMetaObject* PythonQtShell_QStateMachine::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QState::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStateMachine::staticMetaObject); } else { - return &QState::staticMetaObject; + return &QStateMachine::staticMetaObject; } } -int PythonQtShell_QState::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QState::qt_metacall(call, id, args); +int PythonQtShell_QStateMachine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStateMachine::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target) +void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) { - return ( theWrappedObject->addTransition(target)); + ( theWrappedObject->addDefaultAnimation(animation)); } -void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition) +void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state) { - ( theWrappedObject->addTransition(transition)); + ( theWrappedObject->addState(state)); } -QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target) +void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) { - return ( theWrappedObject->addTransition(sender, signal, target)); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); } -void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) +void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) { - ( theWrappedObject->assignProperty(object, name, value)); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); } -QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const +bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) { - return ( theWrappedObject->childMode()); + return ( theWrappedObject->cancelDelayedEvent(id)); } -QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const +void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) { - return ( theWrappedObject->errorState()); + ( theWrappedObject->clearError()); } -QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const +QSet PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const { - return ( theWrappedObject->initialState()); + return ( theWrappedObject->configuration()); } -void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition) +QList PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const { - ( theWrappedObject->removeTransition(transition)); + return ( theWrappedObject->defaultAnimations()); } -void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) +void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) { - ( theWrappedObject->setChildMode(mode)); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); } -void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) +void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) { - ( theWrappedObject->setErrorState(state)); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); } -void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) +QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const { - ( theWrappedObject->setInitialState(state)); + return ( theWrappedObject->error()); } -QList PythonQtWrapper_QState::transitions(QState* theWrappedObject) const +QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const { - return ( theWrappedObject->transitions()); + return ( theWrappedObject->errorString()); } +QState::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->globalRestorePolicy()); +} - -PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); } -void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) + +bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isRunning()); } - QStateMachine::beginMicrostep(event0); -} -void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) + +int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::beginSelectTransitions(event0); + return ( theWrappedObject->postDelayedEvent(event, delay)); } -void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) + +void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::endMicrostep(event0); + ( theWrappedObject->postEvent(event, priority)); } -void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) + +void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::endSelectTransitions(event0); + ( theWrappedObject->removeDefaultAnimation(animation)); } -bool PythonQtShell_QStateMachine::event(QEvent* e0) + +void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->removeState(state)); } - return QStateMachine::event(e0); + +void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAnimated(enabled)); } -bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); } - return QStateMachine::eventFilter(watched0, event1); + + + +QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine__SignalEvent::new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments) +{ +return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } + +QList PythonQtWrapper_QStateMachine__SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const +{ + return ( theWrappedObject->arguments()); } -void PythonQtShell_QStateMachine::onEntry(QEvent* event0) + +QObject* PythonQtWrapper_QStateMachine__SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sender()); } - QStateMachine::onEntry(event0); + +int PythonQtWrapper_QStateMachine__SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const +{ + return ( theWrappedObject->signalIndex()); } -void PythonQtShell_QStateMachine::onExit(QEvent* event0) + + + +QStateMachine::WrappedEvent* PythonQtWrapper_QStateMachine__WrappedEvent::new_QStateMachine__WrappedEvent(QObject* object, QEvent* event) +{ +return new QStateMachine::WrappedEvent(object, event); } + +QEvent* PythonQtWrapper_QStateMachine__WrappedEvent::event(QStateMachine::WrappedEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->event()); } - QStateMachine::onExit(event0); + +QObject* PythonQtWrapper_QStateMachine__WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const +{ + return ( theWrappedObject->object()); } -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) + + + +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo() { -return new PythonQtShell_QStateMachine(parent); } +return new QStorageInfo(); } -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QState::ChildMode childMode, QObject* parent) +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QDir& dir) { -return new PythonQtShell_QStateMachine(childMode, parent); } +return new QStorageInfo(dir); } -const QMetaObject* PythonQtShell_QStateMachine::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStateMachine::staticMetaObject); - } else { - return &QStateMachine::staticMetaObject; - } -} -int PythonQtShell_QStateMachine::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QStateMachine::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QStorageInfo& other) +{ +return new QStorageInfo(other); } + +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QString& path) +{ +return new QStorageInfo(path); } + +int PythonQtWrapper_QStorageInfo::blockSize(QStorageInfo* theWrappedObject) const { - ( theWrappedObject->addDefaultAnimation(animation)); + return ( theWrappedObject->blockSize()); } -void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state) +qint64 PythonQtWrapper_QStorageInfo::bytesAvailable(QStorageInfo* theWrappedObject) const { - ( theWrappedObject->addState(state)); + return ( theWrappedObject->bytesAvailable()); } -void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) +qint64 PythonQtWrapper_QStorageInfo::bytesFree(QStorageInfo* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); + return ( theWrappedObject->bytesFree()); } -void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +qint64 PythonQtWrapper_QStorageInfo::bytesTotal(QStorageInfo* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); + return ( theWrappedObject->bytesTotal()); } -bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) +QByteArray PythonQtWrapper_QStorageInfo::device(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->cancelDelayedEvent(id)); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) +QString PythonQtWrapper_QStorageInfo::displayName(QStorageInfo* theWrappedObject) const { - ( theWrappedObject->clearError()); + return ( theWrappedObject->displayName()); } -QSet PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const +QByteArray PythonQtWrapper_QStorageInfo::fileSystemType(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->configuration()); + return ( theWrappedObject->fileSystemType()); } -QList PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::isReadOnly(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->defaultAnimations()); + return ( theWrappedObject->isReadOnly()); } -void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) +bool PythonQtWrapper_QStorageInfo::isReady(QStorageInfo* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); + return ( theWrappedObject->isReady()); } -void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +bool PythonQtWrapper_QStorageInfo::isRoot(QStorageInfo* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); + return ( theWrappedObject->isRoot()); } -QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::isValid(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->error()); + return ( theWrappedObject->isValid()); } -QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const +QList PythonQtWrapper_QStorageInfo::static_QStorageInfo_mountedVolumes() { - return ( theWrappedObject->errorString()); + return (QStorageInfo::mountedVolumes()); } -bool PythonQtWrapper_QStateMachine::eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event) +QString PythonQtWrapper_QStorageInfo::name(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->eventFilter(watched, event)); + return ( theWrappedObject->name()); } -QState::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::__ne__(QStorageInfo* theWrappedObject, const QStorageInfo& second) { - return ( theWrappedObject->globalRestorePolicy()); + return ( (*theWrappedObject)!= second); } -bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const +QStorageInfo* PythonQtWrapper_QStorageInfo::operator_assign(QStorageInfo* theWrappedObject, const QStorageInfo& other) { - return ( theWrappedObject->isAnimated()); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::__eq__(QStorageInfo* theWrappedObject, const QStorageInfo& second) { - return ( theWrappedObject->isRunning()); + return ( (*theWrappedObject)== second); } -int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) +void PythonQtWrapper_QStorageInfo::refresh(QStorageInfo* theWrappedObject) { - return ( theWrappedObject->postDelayedEvent(event, delay)); + ( theWrappedObject->refresh()); } -void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) +QStorageInfo PythonQtWrapper_QStorageInfo::static_QStorageInfo_root() { - ( theWrappedObject->postEvent(event, priority)); + return (QStorageInfo::root()); } -void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +QString PythonQtWrapper_QStorageInfo::rootPath(QStorageInfo* theWrappedObject) const { - ( theWrappedObject->removeDefaultAnimation(animation)); + return ( theWrappedObject->rootPath()); } -void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state) +void PythonQtWrapper_QStorageInfo::setPath(QStorageInfo* theWrappedObject, const QString& path) { - ( theWrappedObject->removeState(state)); -} - -void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAnimated(enabled)); -} - -void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy) -{ - ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); -} - - - -QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine__SignalEvent::new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments) -{ -return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } - -QList PythonQtWrapper_QStateMachine__SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->arguments()); -} - -QObject* PythonQtWrapper_QStateMachine__SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->sender()); + ( theWrappedObject->setPath(path)); } -int PythonQtWrapper_QStateMachine__SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const +QByteArray PythonQtWrapper_QStorageInfo::subvolume(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->signalIndex()); + return ( theWrappedObject->subvolume()); } - - -QStateMachine::WrappedEvent* PythonQtWrapper_QStateMachine__WrappedEvent::new_QStateMachine__WrappedEvent(QObject* object, QEvent* event) -{ -return new QStateMachine::WrappedEvent(object, event); } - -QEvent* PythonQtWrapper_QStateMachine__WrappedEvent::event(QStateMachine::WrappedEvent* theWrappedObject) const +void PythonQtWrapper_QStorageInfo::swap(QStorageInfo* theWrappedObject, QStorageInfo& other) { - return ( theWrappedObject->event()); + ( theWrappedObject->swap(other)); } -QObject* PythonQtWrapper_QStateMachine__WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const -{ - return ( theWrappedObject->object()); +QString PythonQtWrapper_QStorageInfo::py_toString(QStorageInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } @@ -934,6 +714,10 @@ QString PythonQtWrapper_QSysInfo::static_QSysInfo_productVersion() +QSystemSemaphore* PythonQtWrapper_QSystemSemaphore::new_QSystemSemaphore(const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) +{ +return new QSystemSemaphore(key, initialValue, mode); } + bool PythonQtWrapper_QSystemSemaphore::acquire(QSystemSemaphore* theWrappedObject) { return ( theWrappedObject->acquire()); @@ -966,6 +750,14 @@ void PythonQtWrapper_QSystemSemaphore::setKey(QSystemSemaphore* theWrappedObject +QTemporaryDir* PythonQtWrapper_QTemporaryDir::new_QTemporaryDir() +{ +return new QTemporaryDir(); } + +QTemporaryDir* PythonQtWrapper_QTemporaryDir::new_QTemporaryDir(const QString& templateName) +{ +return new QTemporaryDir(templateName); } + bool PythonQtWrapper_QTemporaryDir::autoRemove(QTemporaryDir* theWrappedObject) const { return ( theWrappedObject->autoRemove()); @@ -1018,19 +810,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1051,19 +843,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1084,19 +876,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1117,19 +909,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1139,6 +931,28 @@ if (_wrapper) { } return QTemporaryFile::canReadLine(); } +void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTemporaryFile::childEvent(event0); +} void PythonQtShell_QTemporaryFile::close() { if (_wrapper) { @@ -1149,9 +963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1161,6 +975,94 @@ if (_wrapper) { } QTemporaryFile::close(); } +void PythonQtShell_QTemporaryFile::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTemporaryFile::customEvent(event0); +} +bool PythonQtShell_QTemporaryFile::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::event(event0); +} +bool PythonQtShell_QTemporaryFile::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTemporaryFile::eventFilter(watched0, event1); +} QString PythonQtShell_QTemporaryFile::fileName() const { if (_wrapper) { @@ -1172,19 +1074,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("uniqueFilename", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1205,19 +1107,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1238,19 +1140,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1271,19 +1173,19 @@ if (_wrapper) { static const char* argumentList[] ={"QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QFileDevice::Permissions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1304,19 +1206,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1337,19 +1239,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1370,19 +1272,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1403,19 +1305,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1436,19 +1338,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&sz0}; + void* args[2] = {nullptr, (void*)&sz0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1469,19 +1371,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1502,19 +1404,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&permissionSpec0}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1535,19 +1437,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1557,6 +1459,28 @@ if (_wrapper) { } return QTemporaryFile::size(); } +void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTemporaryFile::timerEvent(event0); +} bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) { if (_wrapper) { @@ -1568,19 +1492,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1601,19 +1525,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1634,19 +1558,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1826,19 +1750,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aliases", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1859,19 +1783,19 @@ if (_wrapper) { 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*)&in0, (void*)&length1, (void*)&state2}; + void* args[4] = {nullptr, (void*)&in0, (void*)&length1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("convertFromUnicode", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1892,19 +1816,19 @@ if (_wrapper) { 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*)&in0, (void*)&length1, (void*)&state2}; + void* args[4] = {nullptr, (void*)&in0, (void*)&length1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("convertToUnicode", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1925,19 +1849,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mibEnum", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1958,19 +1882,19 @@ if (_wrapper) { static const char* argumentList[] ={"QByteArray"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QByteArray returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2096,6 +2020,14 @@ QString PythonQtWrapper_QTextCodec::toUnicode(QTextCodec* theWrappedObject, con +QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec) +{ +return new QTextDecoder(codec); } + +QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) +{ +return new QTextDecoder(codec, flags); } + bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const { return ( theWrappedObject->hasFailure()); @@ -2113,6 +2045,26 @@ QString PythonQtWrapper_QTextDecoder::toUnicode(QTextDecoder* theWrappedObject, +QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec) +{ +return new QTextEncoder(codec); } + +QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) +{ +return new QTextEncoder(codec, flags); } + +QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) +{ + return ( theWrappedObject->fromUnicode(str)); +} + +bool PythonQtWrapper_QTextEncoder::hasFailure(QTextEncoder* theWrappedObject) const +{ + return ( theWrappedObject->hasFailure()); +} + + + PythonQtShell_QTextStream::~PythonQtShell_QTextStream() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -2334,387 +2286,1192 @@ void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObjec ( theWrappedObject->setFieldAlignment(alignment)); } -void PythonQtWrapper_QTextStream::setFieldWidth(QTextStream* theWrappedObject, int width) +void PythonQtWrapper_QTextStream::setFieldWidth(QTextStream* theWrappedObject, int width) +{ + ( theWrappedObject->setFieldWidth(width)); +} + +void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) +{ + ( theWrappedObject->setGenerateByteOrderMark(generate)); +} + +void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) +{ + ( theWrappedObject->setIntegerBase(base)); +} + +void PythonQtWrapper_QTextStream::setLocale(QTextStream* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) +{ + ( theWrappedObject->setNumberFlags(flags)); +} + +void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) +{ + ( theWrappedObject->setPadChar(ch)); +} + +void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) +{ + ( theWrappedObject->setRealNumberNotation(notation)); +} + +void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) +{ + ( theWrappedObject->setRealNumberPrecision(precision)); +} + +void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) +{ + ( theWrappedObject->setStatus(status)); +} + +void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) +{ + ( theWrappedObject->skipWhiteSpace()); +} + +QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +PythonQtShell_QThread::~PythonQtShell_QThread() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QThread::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::childEvent(event0); +} +void PythonQtShell_QThread::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::customEvent(event0); +} +bool PythonQtShell_QThread::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QThread::event(event0); +} +bool PythonQtShell_QThread::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QThread::eventFilter(watched0, event1); +} +void PythonQtShell_QThread::run() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("run"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::run(); +} +void PythonQtShell_QThread::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThread::timerEvent(event0); +} +QThread* PythonQtWrapper_QThread::new_QThread(QObject* parent) +{ +return new PythonQtShell_QThread(parent); } + +const QMetaObject* PythonQtShell_QThread::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QThread::staticMetaObject); + } else { + return &QThread::staticMetaObject; + } +} +int PythonQtShell_QThread::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QThread::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QThread* PythonQtWrapper_QThread::static_QThread_currentThread() +{ + return (QThread::currentThread()); +} + +Qt::HANDLE PythonQtWrapper_QThread::static_QThread_currentThreadId() +{ + return (QThread::currentThreadId()); +} + +QAbstractEventDispatcher* PythonQtWrapper_QThread::eventDispatcher(QThread* theWrappedObject) const +{ + return ( theWrappedObject->eventDispatcher()); +} + +int PythonQtWrapper_QThread::exec(QThread* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_exec()); +} + +void PythonQtWrapper_QThread::exit(QThread* theWrappedObject, int retcode) +{ + ( theWrappedObject->exit(retcode)); +} + +int PythonQtWrapper_QThread::static_QThread_idealThreadCount() +{ + return (QThread::idealThreadCount()); +} + +bool PythonQtWrapper_QThread::isFinished(QThread* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +bool PythonQtWrapper_QThread::isInterruptionRequested(QThread* theWrappedObject) const +{ + return ( theWrappedObject->isInterruptionRequested()); +} + +bool PythonQtWrapper_QThread::isRunning(QThread* theWrappedObject) const +{ + return ( theWrappedObject->isRunning()); +} + +int PythonQtWrapper_QThread::loopLevel(QThread* theWrappedObject) const +{ + return ( theWrappedObject->loopLevel()); +} + +void PythonQtWrapper_QThread::static_QThread_msleep(unsigned long arg__1) +{ + (QThread::msleep(arg__1)); +} + +QThread::Priority PythonQtWrapper_QThread::priority(QThread* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + +void PythonQtWrapper_QThread::requestInterruption(QThread* theWrappedObject) +{ + ( theWrappedObject->requestInterruption()); +} + +void PythonQtWrapper_QThread::run(QThread* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_run()); +} + +void PythonQtWrapper_QThread::setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher) +{ + ( theWrappedObject->setEventDispatcher(eventDispatcher)); +} + +void PythonQtWrapper_QThread::setPriority(QThread* theWrappedObject, QThread::Priority priority) +{ + ( theWrappedObject->setPriority(priority)); +} + +void PythonQtWrapper_QThread::setStackSize(QThread* theWrappedObject, uint stackSize) +{ + ( theWrappedObject->setStackSize(stackSize)); +} + +void PythonQtWrapper_QThread::static_QThread_setTerminationEnabled(bool enabled) +{ + (PythonQtPublicPromoter_QThread::promoted_setTerminationEnabled(enabled)); +} + +void PythonQtWrapper_QThread::static_QThread_sleep(unsigned long arg__1) +{ + (QThread::sleep(arg__1)); +} + +uint PythonQtWrapper_QThread::stackSize(QThread* theWrappedObject) const +{ + return ( theWrappedObject->stackSize()); +} + +void PythonQtWrapper_QThread::static_QThread_usleep(unsigned long arg__1) +{ + (QThread::usleep(arg__1)); +} + +bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, QDeadlineTimer deadline) +{ + return ( theWrappedObject->wait(deadline)); +} + +bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, unsigned long time) +{ + return ( theWrappedObject->wait(time)); +} + +void PythonQtWrapper_QThread::static_QThread_yieldCurrentThread() +{ + (QThread::yieldCurrentThread()); +} + + + +PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QThreadPool::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThreadPool::childEvent(event0); +} +void PythonQtShell_QThreadPool::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThreadPool::customEvent(event0); +} +bool PythonQtShell_QThreadPool::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QThreadPool::event(event0); +} +bool PythonQtShell_QThreadPool::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QThreadPool::eventFilter(watched0, event1); +} +void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QThreadPool::timerEvent(event0); +} +QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) +{ +return new PythonQtShell_QThreadPool(parent); } + +const QMetaObject* PythonQtShell_QThreadPool::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QThreadPool::staticMetaObject); + } else { + return &QThreadPool::staticMetaObject; + } +} +int PythonQtShell_QThreadPool::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QThreadPool::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->activeThreadCount()); +} + +void PythonQtWrapper_QThreadPool::cancel(QThreadPool* theWrappedObject, QRunnable* runnable) +{ + ( theWrappedObject->cancel(runnable)); +} + +void PythonQtWrapper_QThreadPool::clear(QThreadPool* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QThreadPool::contains(QThreadPool* theWrappedObject, const QThread* thread) const +{ + return ( theWrappedObject->contains(thread)); +} + +int PythonQtWrapper_QThreadPool::expiryTimeout(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->expiryTimeout()); +} + +QThreadPool* PythonQtWrapper_QThreadPool::static_QThreadPool_globalInstance() +{ + return (QThreadPool::globalInstance()); +} + +int PythonQtWrapper_QThreadPool::maxThreadCount(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->maxThreadCount()); +} + +void PythonQtWrapper_QThreadPool::releaseThread(QThreadPool* theWrappedObject) +{ + ( theWrappedObject->releaseThread()); +} + +void PythonQtWrapper_QThreadPool::reserveThread(QThreadPool* theWrappedObject) +{ + ( theWrappedObject->reserveThread()); +} + +void PythonQtWrapper_QThreadPool::setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout) +{ + ( theWrappedObject->setExpiryTimeout(expiryTimeout)); +} + +void PythonQtWrapper_QThreadPool::setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount) +{ + ( theWrappedObject->setMaxThreadCount(maxThreadCount)); +} + +void PythonQtWrapper_QThreadPool::setStackSize(QThreadPool* theWrappedObject, uint stackSize) +{ + ( theWrappedObject->setStackSize(stackSize)); +} + +uint PythonQtWrapper_QThreadPool::stackSize(QThreadPool* theWrappedObject) const +{ + return ( theWrappedObject->stackSize()); +} + +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)); +} + +bool PythonQtWrapper_QThreadPool::tryTake(QThreadPool* theWrappedObject, QRunnable* runnable) +{ + return ( theWrappedObject->tryTake(runnable)); +} + +bool PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDone(msecs)); +} + + + +PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTimeLine::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeLine::childEvent(event0); +} +void PythonQtShell_QTimeLine::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeLine::customEvent(event0); +} +bool PythonQtShell_QTimeLine::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeLine::event(event0); +} +bool PythonQtShell_QTimeLine::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeLine::eventFilter(watched0, event1); +} +void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimeLine::timerEvent(event0); +} +qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("valueForTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + qreal returnValue{}; + void* args[2] = {nullptr, (void*)&msec0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueForTime", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTimeLine::valueForTime(msec0); +} +QTimeLine* PythonQtWrapper_QTimeLine::new_QTimeLine(int duration, QObject* parent) +{ +return new PythonQtShell_QTimeLine(duration, parent); } + +const QMetaObject* PythonQtShell_QTimeLine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeLine::staticMetaObject); + } else { + return &QTimeLine::staticMetaObject; + } +} +int PythonQtShell_QTimeLine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTimeLine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QTimeLine::currentFrame(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +int PythonQtWrapper_QTimeLine::currentTime(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->currentTime()); +} + +qreal PythonQtWrapper_QTimeLine::currentValue(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->currentValue()); +} + +QTimeLine::CurveShape PythonQtWrapper_QTimeLine::curveShape(QTimeLine* theWrappedObject) const +{ + return ( theWrappedObject->curveShape()); +} + +QTimeLine::Direction PythonQtWrapper_QTimeLine::direction(QTimeLine* theWrappedObject) const { - ( theWrappedObject->setFieldWidth(width)); + return ( theWrappedObject->direction()); } -void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) +int PythonQtWrapper_QTimeLine::duration(QTimeLine* theWrappedObject) const { - ( theWrappedObject->setGenerateByteOrderMark(generate)); + return ( theWrappedObject->duration()); } -void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) +QEasingCurve PythonQtWrapper_QTimeLine::easingCurve(QTimeLine* theWrappedObject) const { - ( theWrappedObject->setIntegerBase(base)); + return ( theWrappedObject->easingCurve()); } -void PythonQtWrapper_QTextStream::setLocale(QTextStream* theWrappedObject, const QLocale& locale) +int PythonQtWrapper_QTimeLine::endFrame(QTimeLine* theWrappedObject) const { - ( theWrappedObject->setLocale(locale)); + return ( theWrappedObject->endFrame()); } -void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) +int PythonQtWrapper_QTimeLine::frameForTime(QTimeLine* theWrappedObject, int msec) const { - ( theWrappedObject->setNumberFlags(flags)); + return ( theWrappedObject->frameForTime(msec)); } -void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) +int PythonQtWrapper_QTimeLine::loopCount(QTimeLine* theWrappedObject) const { - ( theWrappedObject->setPadChar(ch)); + return ( theWrappedObject->loopCount()); } -void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) +void PythonQtWrapper_QTimeLine::setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape) { - ( theWrappedObject->setRealNumberNotation(notation)); + ( theWrappedObject->setCurveShape(shape)); } -void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) +void PythonQtWrapper_QTimeLine::setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction) { - ( theWrappedObject->setRealNumberPrecision(precision)); + ( theWrappedObject->setDirection(direction)); } -void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) +void PythonQtWrapper_QTimeLine::setDuration(QTimeLine* theWrappedObject, int duration) { - ( theWrappedObject->setStatus(status)); + ( theWrappedObject->setDuration(duration)); } -void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) +void PythonQtWrapper_QTimeLine::setEasingCurve(QTimeLine* theWrappedObject, const QEasingCurve& curve) { - ( theWrappedObject->skipWhiteSpace()); + ( theWrappedObject->setEasingCurve(curve)); } -QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const +void PythonQtWrapper_QTimeLine::setEndFrame(QTimeLine* theWrappedObject, int frame) { - return ( theWrappedObject->status()); + ( theWrappedObject->setEndFrame(frame)); } - - -PythonQtShell_QThread::~PythonQtShell_QThread() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QThread::event(QEvent* event0) +void PythonQtWrapper_QTimeLine::setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QThread::event(event0); + ( theWrappedObject->setFrameRange(startFrame, endFrame)); } -void PythonQtShell_QThread::run() + +void PythonQtWrapper_QTimeLine::setLoopCount(QTimeLine* theWrappedObject, int count) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("run"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QThread::run(); + ( theWrappedObject->setLoopCount(count)); } -QThread* PythonQtWrapper_QThread::new_QThread(QObject* parent) -{ -return new PythonQtShell_QThread(parent); } -const QMetaObject* PythonQtShell_QThread::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QThread::staticMetaObject); - } else { - return &QThread::staticMetaObject; - } -} -int PythonQtShell_QThread::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QThread::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QThread* PythonQtWrapper_QThread::static_QThread_currentThread() +void PythonQtWrapper_QTimeLine::setStartFrame(QTimeLine* theWrappedObject, int frame) { - return (QThread::currentThread()); + ( theWrappedObject->setStartFrame(frame)); } -bool PythonQtWrapper_QThread::event(QThread* theWrappedObject, QEvent* event) +void PythonQtWrapper_QTimeLine::setUpdateInterval(QTimeLine* theWrappedObject, int interval) { - return ( theWrappedObject->event(event)); + ( theWrappedObject->setUpdateInterval(interval)); } -QAbstractEventDispatcher* PythonQtWrapper_QThread::eventDispatcher(QThread* theWrappedObject) const +int PythonQtWrapper_QTimeLine::startFrame(QTimeLine* theWrappedObject) const { - return ( theWrappedObject->eventDispatcher()); + return ( theWrappedObject->startFrame()); } -int PythonQtWrapper_QThread::exec(QThread* theWrappedObject) +QTimeLine::State PythonQtWrapper_QTimeLine::state(QTimeLine* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_exec()); + return ( theWrappedObject->state()); } -void PythonQtWrapper_QThread::exit(QThread* theWrappedObject, int retcode) +int PythonQtWrapper_QTimeLine::updateInterval(QTimeLine* theWrappedObject) const { - ( theWrappedObject->exit(retcode)); + return ( theWrappedObject->updateInterval()); } -bool PythonQtWrapper_QThread::isFinished(QThread* theWrappedObject) const +qreal PythonQtWrapper_QTimeLine::valueForTime(QTimeLine* theWrappedObject, int msec) const { - return ( theWrappedObject->isFinished()); + return ( theWrappedObject->valueForTime(msec)); } -bool PythonQtWrapper_QThread::isInterruptionRequested(QThread* theWrappedObject) const + + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone() +{ +return new QTimeZone(); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(const QByteArray& ianaId) +{ +return new QTimeZone(ianaId); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(const QByteArray& zoneId, int offsetSeconds, const QString& name, const QString& abbreviation, QLocale::Country country, const QString& comment) +{ +return new QTimeZone(zoneId, offsetSeconds, name, abbreviation, country, comment); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(const QTimeZone& other) +{ +return new QTimeZone(other); } + +QTimeZone* PythonQtWrapper_QTimeZone::new_QTimeZone(int offsetSeconds) +{ +return new QTimeZone(offsetSeconds); } + +QString PythonQtWrapper_QTimeZone::abbreviation(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - return ( theWrappedObject->isInterruptionRequested()); + return ( theWrappedObject->abbreviation(atDateTime)); } -bool PythonQtWrapper_QThread::isRunning(QThread* theWrappedObject) const +QList PythonQtWrapper_QTimeZone::static_QTimeZone_availableTimeZoneIds() { - return ( theWrappedObject->isRunning()); + return (QTimeZone::availableTimeZoneIds()); } -int PythonQtWrapper_QThread::loopLevel(QThread* theWrappedObject) const +QList PythonQtWrapper_QTimeZone::static_QTimeZone_availableTimeZoneIds(QLocale::Country country) { - return ( theWrappedObject->loopLevel()); + return (QTimeZone::availableTimeZoneIds(country)); } -void PythonQtWrapper_QThread::static_QThread_msleep(unsigned long arg__1) +QList PythonQtWrapper_QTimeZone::static_QTimeZone_availableTimeZoneIds(int offsetSeconds) { - (QThread::msleep(arg__1)); + return (QTimeZone::availableTimeZoneIds(offsetSeconds)); } -void PythonQtWrapper_QThread::requestInterruption(QThread* theWrappedObject) +QString PythonQtWrapper_QTimeZone::comment(QTimeZone* theWrappedObject) const { - ( theWrappedObject->requestInterruption()); + return ( theWrappedObject->comment()); } -void PythonQtWrapper_QThread::run(QThread* theWrappedObject) +QLocale::Country PythonQtWrapper_QTimeZone::country(QTimeZone* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_run()); + return ( theWrappedObject->country()); } -void PythonQtWrapper_QThread::setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher) +int PythonQtWrapper_QTimeZone::daylightTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - ( theWrappedObject->setEventDispatcher(eventDispatcher)); + return ( theWrappedObject->daylightTimeOffset(atDateTime)); } -void PythonQtWrapper_QThread::setStackSize(QThread* theWrappedObject, uint stackSize) +QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QLocale& locale) const { - ( theWrappedObject->setStackSize(stackSize)); + return ( theWrappedObject->displayName(timeType, nameType, locale)); } -void PythonQtWrapper_QThread::static_QThread_setTerminationEnabled(bool enabled) +QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, const QDateTime& atDateTime, QTimeZone::NameType nameType, const QLocale& locale) const { - (PythonQtPublicPromoter_QThread::promoted_setTerminationEnabled(enabled)); + return ( theWrappedObject->displayName(atDateTime, nameType, locale)); } -void PythonQtWrapper_QThread::static_QThread_sleep(unsigned long arg__1) +bool PythonQtWrapper_QTimeZone::hasDaylightTime(QTimeZone* theWrappedObject) const { - (QThread::sleep(arg__1)); + return ( theWrappedObject->hasDaylightTime()); } -uint PythonQtWrapper_QThread::stackSize(QThread* theWrappedObject) const +bool PythonQtWrapper_QTimeZone::hasTransitions(QTimeZone* theWrappedObject) const { - return ( theWrappedObject->stackSize()); + return ( theWrappedObject->hasTransitions()); } -void PythonQtWrapper_QThread::static_QThread_usleep(unsigned long arg__1) +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_ianaIdToWindowsId(const QByteArray& ianaId) { - (QThread::usleep(arg__1)); + return (QTimeZone::ianaIdToWindowsId(ianaId)); } -bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, QDeadlineTimer deadline) +QByteArray PythonQtWrapper_QTimeZone::id(QTimeZone* theWrappedObject) const { - return ( theWrappedObject->wait(deadline)); + return ( theWrappedObject->id()); } -bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, unsigned long time) +bool PythonQtWrapper_QTimeZone::isDaylightTime(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - return ( theWrappedObject->wait(time)); + return ( theWrappedObject->isDaylightTime(atDateTime)); } -void PythonQtWrapper_QThread::static_QThread_yieldCurrentThread() +bool PythonQtWrapper_QTimeZone::static_QTimeZone_isTimeZoneIdAvailable(const QByteArray& ianaId) { - (QThread::yieldCurrentThread()); + return (QTimeZone::isTimeZoneIdAvailable(ianaId)); } - - -QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) -{ -return new QThreadPool(parent); } - -int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const +bool PythonQtWrapper_QTimeZone::isValid(QTimeZone* theWrappedObject) const { - return ( theWrappedObject->activeThreadCount()); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QThreadPool::cancel(QThreadPool* theWrappedObject, QRunnable* runnable) +int PythonQtWrapper_QTimeZone::offsetFromUtc(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - ( theWrappedObject->cancel(runnable)); + return ( theWrappedObject->offsetFromUtc(atDateTime)); } -void PythonQtWrapper_QThreadPool::clear(QThreadPool* theWrappedObject) +bool PythonQtWrapper_QTimeZone::__ne__(QTimeZone* theWrappedObject, const QTimeZone& other) const { - ( theWrappedObject->clear()); + return ( (*theWrappedObject)!= other); } -bool PythonQtWrapper_QThreadPool::contains(QThreadPool* theWrappedObject, const QThread* thread) const +void PythonQtWrapper_QTimeZone::writeTo(QTimeZone* theWrappedObject, QDataStream& ds) { - return ( theWrappedObject->contains(thread)); + ds << (*theWrappedObject); } -int PythonQtWrapper_QThreadPool::expiryTimeout(QThreadPool* theWrappedObject) const +QTimeZone* PythonQtWrapper_QTimeZone::operator_assign(QTimeZone* theWrappedObject, const QTimeZone& other) { - return ( theWrappedObject->expiryTimeout()); + return &( (*theWrappedObject)= other); } -QThreadPool* PythonQtWrapper_QThreadPool::static_QThreadPool_globalInstance() +bool PythonQtWrapper_QTimeZone::__eq__(QTimeZone* theWrappedObject, const QTimeZone& other) const { - return (QThreadPool::globalInstance()); + return ( (*theWrappedObject)== other); } -int PythonQtWrapper_QThreadPool::maxThreadCount(QThreadPool* theWrappedObject) const +void PythonQtWrapper_QTimeZone::readFrom(QTimeZone* theWrappedObject, QDataStream& ds) { - return ( theWrappedObject->maxThreadCount()); + ds >> (*theWrappedObject); } -void PythonQtWrapper_QThreadPool::releaseThread(QThreadPool* theWrappedObject) +int PythonQtWrapper_QTimeZone::standardTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - ( theWrappedObject->releaseThread()); + return ( theWrappedObject->standardTimeOffset(atDateTime)); } -void PythonQtWrapper_QThreadPool::reserveThread(QThreadPool* theWrappedObject) +void PythonQtWrapper_QTimeZone::swap(QTimeZone* theWrappedObject, QTimeZone& other) { - ( theWrappedObject->reserveThread()); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QThreadPool::setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout) +QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZone() { - ( theWrappedObject->setExpiryTimeout(expiryTimeout)); + return (QTimeZone::systemTimeZone()); } -void PythonQtWrapper_QThreadPool::setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount) +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZoneId() { - ( theWrappedObject->setMaxThreadCount(maxThreadCount)); + return (QTimeZone::systemTimeZoneId()); } -void PythonQtWrapper_QThreadPool::setStackSize(QThreadPool* theWrappedObject, uint stackSize) +QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_utc() { - ( theWrappedObject->setStackSize(stackSize)); + return (QTimeZone::utc()); } -uint PythonQtWrapper_QThreadPool::stackSize(QThreadPool* theWrappedObject) const +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId) { - return ( theWrappedObject->stackSize()); + return (QTimeZone::windowsIdToDefaultIanaId(windowsId)); } -void PythonQtWrapper_QThreadPool::start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority) +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId, QLocale::Country country) { - ( theWrappedObject->start(runnable, priority)); + return (QTimeZone::windowsIdToDefaultIanaId(windowsId, country)); } -bool PythonQtWrapper_QThreadPool::tryStart(QThreadPool* theWrappedObject, QRunnable* runnable) +QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId) { - return ( theWrappedObject->tryStart(runnable)); + return (QTimeZone::windowsIdToIanaIds(windowsId)); } -bool PythonQtWrapper_QThreadPool::tryTake(QThreadPool* theWrappedObject, QRunnable* runnable) +QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId, QLocale::Country country) { - return ( theWrappedObject->tryTake(runnable)); + return (QTimeZone::windowsIdToIanaIds(windowsId, country)); } -bool PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForDone(msecs)); +QString PythonQtWrapper_QTimeZone::py_toString(QTimeZone* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { +PythonQtShell_QTimer::~PythonQtShell_QTimer() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTimer::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimer::childEvent(event0); +} +void PythonQtShell_QTimer::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimer::customEvent(event0); +} +bool PythonQtShell_QTimer::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeLine::timerEvent(event0); + return QTimer::event(event0); } -qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const +bool PythonQtShell_QTimer::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valueForTime"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qreal" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - qreal returnValue{}; - void* args[2] = {NULL, (void*)&msec0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valueForTime", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((qreal*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2722,165 +3479,232 @@ if (_wrapper) { } } } - return QTimeLine::valueForTime(msec0); + return QTimer::eventFilter(watched0, event1); } -QTimeLine* PythonQtWrapper_QTimeLine::new_QTimeLine(int duration, QObject* parent) +void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTimer::timerEvent(arg__1); +} +QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent) { -return new PythonQtShell_QTimeLine(duration, parent); } +return new PythonQtShell_QTimer(parent); } -const QMetaObject* PythonQtShell_QTimeLine::metaObject() const { +const QMetaObject* PythonQtShell_QTimer::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeLine::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimer::staticMetaObject); } else { - return &QTimeLine::staticMetaObject; + return &QTimer::staticMetaObject; } } -int PythonQtShell_QTimeLine::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTimeLine::qt_metacall(call, id, args); +int PythonQtShell_QTimer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTimer::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -int PythonQtWrapper_QTimeLine::currentFrame(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->currentFrame()); -} - -int PythonQtWrapper_QTimeLine::currentTime(QTimeLine* theWrappedObject) const +int PythonQtWrapper_QTimer::interval(QTimer* theWrappedObject) const { - return ( theWrappedObject->currentTime()); + return ( theWrappedObject->interval()); } -qreal PythonQtWrapper_QTimeLine::currentValue(QTimeLine* theWrappedObject) const +bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const { - return ( theWrappedObject->currentValue()); + return ( theWrappedObject->isActive()); } -QTimeLine::CurveShape PythonQtWrapper_QTimeLine::curveShape(QTimeLine* theWrappedObject) const +bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const { - return ( theWrappedObject->curveShape()); + return ( theWrappedObject->isSingleShot()); } -QTimeLine::Direction PythonQtWrapper_QTimeLine::direction(QTimeLine* theWrappedObject) const +int PythonQtWrapper_QTimer::remainingTime(QTimer* theWrappedObject) const { - return ( theWrappedObject->direction()); + return ( theWrappedObject->remainingTime()); } -int PythonQtWrapper_QTimeLine::duration(QTimeLine* theWrappedObject) const +void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec) { - return ( theWrappedObject->duration()); + ( theWrappedObject->setInterval(msec)); } -QEasingCurve PythonQtWrapper_QTimeLine::easingCurve(QTimeLine* theWrappedObject) const +void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot) { - return ( theWrappedObject->easingCurve()); + ( theWrappedObject->setSingleShot(singleShot)); } -int PythonQtWrapper_QTimeLine::endFrame(QTimeLine* theWrappedObject) const +void PythonQtWrapper_QTimer::setTimerType(QTimer* theWrappedObject, Qt::TimerType atype) { - return ( theWrappedObject->endFrame()); + ( theWrappedObject->setTimerType(atype)); } -int PythonQtWrapper_QTimeLine::frameForTime(QTimeLine* theWrappedObject, int msec) const +void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member) { - return ( theWrappedObject->frameForTime(msec)); + (QTimer::singleShot(msec, timerType, receiver, member)); } -int PythonQtWrapper_QTimeLine::loopCount(QTimeLine* theWrappedObject) const +void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, const QObject* receiver, const char* member) { - return ( theWrappedObject->loopCount()); + (QTimer::singleShot(msec, receiver, member)); } -void PythonQtWrapper_QTimeLine::setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape) +int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const { - ( theWrappedObject->setCurveShape(shape)); + return ( theWrappedObject->timerId()); } -void PythonQtWrapper_QTimeLine::setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction) +Qt::TimerType PythonQtWrapper_QTimer::timerType(QTimer* theWrappedObject) const { - ( theWrappedObject->setDirection(direction)); + return ( theWrappedObject->timerType()); } -void PythonQtWrapper_QTimeLine::setDuration(QTimeLine* theWrappedObject, int duration) -{ - ( theWrappedObject->setDuration(duration)); -} -void PythonQtWrapper_QTimeLine::setEasingCurve(QTimeLine* theWrappedObject, const QEasingCurve& curve) -{ - ( theWrappedObject->setEasingCurve(curve)); -} -void PythonQtWrapper_QTimeLine::setEndFrame(QTimeLine* theWrappedObject, int frame) -{ - ( theWrappedObject->setEndFrame(frame)); +PythonQtShell_QTimerEvent::~PythonQtShell_QTimerEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTimerEvent* PythonQtWrapper_QTimerEvent::new_QTimerEvent(int timerId) +{ +return new PythonQtShell_QTimerEvent(timerId); } -void PythonQtWrapper_QTimeLine::setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame) +int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const { - ( theWrappedObject->setFrameRange(startFrame, endFrame)); + return ( theWrappedObject->timerId()); } -void PythonQtWrapper_QTimeLine::setLoopCount(QTimeLine* theWrappedObject, int count) -{ - ( theWrappedObject->setLoopCount(count)); -} -void PythonQtWrapper_QTimeLine::setStartFrame(QTimeLine* theWrappedObject, int frame) -{ - ( theWrappedObject->setStartFrame(frame)); -} -void PythonQtWrapper_QTimeLine::setUpdateInterval(QTimeLine* theWrappedObject, int interval) -{ - ( theWrappedObject->setUpdateInterval(interval)); +PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -int PythonQtWrapper_QTimeLine::startFrame(QTimeLine* theWrappedObject) const +void PythonQtShell_QTranslator::childEvent(QChildEvent* event0) { - return ( theWrappedObject->startFrame()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTimeLine::State PythonQtWrapper_QTimeLine::state(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->state()); + QTranslator::childEvent(event0); } - -void PythonQtWrapper_QTimeLine::timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event) +void PythonQtShell_QTranslator::customEvent(QEvent* event0) { - ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_timerEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTimeLine::updateInterval(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->updateInterval()); + QTranslator::customEvent(event0); } - -qreal PythonQtWrapper_QTimeLine::valueForTime(QTimeLine* theWrappedObject, int msec) const +bool PythonQtShell_QTranslator::event(QEvent* event0) { - return ( theWrappedObject->valueForTime(msec)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTimerEvent::~PythonQtShell_QTimerEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTranslator::event(event0); } -QTimerEvent* PythonQtWrapper_QTimerEvent::new_QTimerEvent(int timerId) -{ -return new PythonQtShell_QTimerEvent(timerId); } - -int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const +bool PythonQtShell_QTranslator::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->timerId()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTranslator::eventFilter(watched0, event1); } bool PythonQtShell_QTranslator::isEmpty() const { @@ -2890,30 +3714,52 @@ if (_wrapper) { static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTranslator::isEmpty(); +} +void PythonQtShell_QTranslator::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTranslator::isEmpty(); + QTranslator::timerEvent(event0); } QString PythonQtShell_QTranslator::translate(const char* context0, const char* sourceText1, const char* disambiguation2, int n3) const { @@ -2926,19 +3772,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const char*" , "const char*" , "const char*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); QString returnValue{}; - void* args[5] = {NULL, (void*)&context0, (void*)&sourceText1, (void*)&disambiguation2, (void*)&n3}; + void* args[5] = {nullptr, (void*)&context0, (void*)&sourceText1, (void*)&disambiguation2, (void*)&n3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("translate", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3018,17 +3864,305 @@ QUrlQuery* PythonQtWrapper_QUrlQuery::new_QUrlQuery(const QUrlQuery& other) { return new QUrlQuery(other); } +void PythonQtWrapper_QUrlQuery::addQueryItem(QUrlQuery* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->addQueryItem(key, value)); +} + +QStringList PythonQtWrapper_QUrlQuery::allQueryItemValues(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->allQueryItemValues(key, encoding)); +} + +void PythonQtWrapper_QUrlQuery::clear(QUrlQuery* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryPairDelimiter() +{ + return (QUrlQuery::defaultQueryPairDelimiter()); +} + +QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryValueDelimiter() +{ + return (QUrlQuery::defaultQueryValueDelimiter()); +} + +bool PythonQtWrapper_QUrlQuery::hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->hasQueryItem(key)); +} + +bool PythonQtWrapper_QUrlQuery::isEmpty(QUrlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QUrlQuery::__ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +{ + return ( (*theWrappedObject)!= other); +} + QUrlQuery* PythonQtWrapper_QUrlQuery::operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other) { return &( (*theWrappedObject)= other); } +bool PythonQtWrapper_QUrlQuery::__eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QUrlQuery::query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->query(encoding)); +} + +QString PythonQtWrapper_QUrlQuery::queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->queryItemValue(key, encoding)); +} + +QList > PythonQtWrapper_QUrlQuery::queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->queryItems(encoding)); +} + +QChar PythonQtWrapper_QUrlQuery::queryPairDelimiter(QUrlQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryPairDelimiter()); +} + +QChar PythonQtWrapper_QUrlQuery::queryValueDelimiter(QUrlQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryValueDelimiter()); +} + +void PythonQtWrapper_QUrlQuery::removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeAllQueryItems(key)); +} + +void PythonQtWrapper_QUrlQuery::removeQueryItem(QUrlQuery* theWrappedObject, const QString& key) +{ + ( theWrappedObject->removeQueryItem(key)); +} + +void PythonQtWrapper_QUrlQuery::setQuery(QUrlQuery* theWrappedObject, const QString& queryString) +{ + ( theWrappedObject->setQuery(queryString)); +} + +void PythonQtWrapper_QUrlQuery::setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter) +{ + ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); +} + +void PythonQtWrapper_QUrlQuery::setQueryItems(QUrlQuery* theWrappedObject, const QList >& query) +{ + ( theWrappedObject->setQueryItems(query)); +} + +void PythonQtWrapper_QUrlQuery::swap(QUrlQuery* theWrappedObject, QUrlQuery& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QUrlQuery::toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->toString(encoding)); +} + +QString PythonQtWrapper_QUrlQuery::py_toString(QUrlQuery* obj) { return obj->toString(); } + + +PythonQtShell_QUuid::~PythonQtShell_QUuid() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QUuid* PythonQtWrapper_QUuid::new_QUuid() +{ +return new PythonQtShell_QUuid(); } + +QUuid* PythonQtWrapper_QUuid::new_QUuid(const QByteArray& arg__1) +{ +return new PythonQtShell_QUuid(arg__1); } + +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); } + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuid() +{ + return (QUuid::createUuid()); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData) +{ + return (QUuid::createUuidV3(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData) +{ + return (QUuid::createUuidV3(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData) +{ + return (QUuid::createUuidV5(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QString& baseData) +{ + return (QUuid::createUuidV5(ns, baseData)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_fromRfc4122(const QByteArray& arg__1) +{ + return (QUuid::fromRfc4122(arg__1)); +} + +QUuid PythonQtWrapper_QUuid::static_QUuid_fromString(QLatin1String string) +{ + return (QUuid::fromString(string)); +} + +bool PythonQtWrapper_QUuid::isNull(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QUuid::__ne__(QUuid* theWrappedObject, const QUuid& orig) const +{ + return ( (*theWrappedObject)!= orig); +} + +bool PythonQtWrapper_QUuid::__lt__(QUuid* theWrappedObject, const QUuid& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QUuid::writeTo(QUuid* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QUuid::__le__(QUuid* theWrappedObject, const QUuid& rhs) +{ + return ( (*theWrappedObject)<= rhs); +} + +bool PythonQtWrapper_QUuid::__eq__(QUuid* theWrappedObject, const QUuid& orig) const +{ + return ( (*theWrappedObject)== orig); +} + +bool PythonQtWrapper_QUuid::__gt__(QUuid* theWrappedObject, const QUuid& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QUuid::__ge__(QUuid* theWrappedObject, const QUuid& rhs) +{ + return ( (*theWrappedObject)>= rhs); +} + +void PythonQtWrapper_QUuid::readFrom(QUuid* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toByteArray()); +} + +QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject, QUuid::StringFormat mode) const +{ + return ( theWrappedObject->toByteArray(mode)); +} + +QByteArray PythonQtWrapper_QUuid::toRfc4122(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toRfc4122()); +} + +QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject, QUuid::StringFormat mode) const +{ + return ( theWrappedObject->toString(mode)); +} + +QUuid::Variant PythonQtWrapper_QUuid::variant(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->variant()); +} + +QUuid::Version PythonQtWrapper_QUuid::version(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QUuid::py_toString(QUuid* obj) { return obj->toString(); } PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVariantAnimation::childEvent(event0); +} +void PythonQtShell_QVariantAnimation::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVariantAnimation::customEvent(event0); +} int PythonQtShell_QVariantAnimation::duration() const { if (_wrapper) { @@ -3040,19 +4174,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3073,19 +4207,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3095,6 +4229,39 @@ if (_wrapper) { } return QVariantAnimation::event(event0); } +bool PythonQtShell_QVariantAnimation::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariantAnimation::eventFilter(watched0, event1); +} QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const { if (_wrapper) { @@ -3106,19 +4273,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; + void* args[4] = {nullptr, (void*)&from0, (void*)&to1, (void*)&progress2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3128,6 +4295,28 @@ if (_wrapper) { } return QVariantAnimation::interpolated(from0, to1, progress2); } +void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVariantAnimation::timerEvent(event0); +} void PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { @@ -3138,9 +4327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3160,9 +4349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3182,9 +4371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3204,9 +4393,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3305,6 +4494,10 @@ void PythonQtWrapper_QVariantAnimation::updateCurrentValue(QVariantAnimation* th +QWaitCondition* PythonQtWrapper_QWaitCondition::new_QWaitCondition() +{ +return new QWaitCondition(); } + void PythonQtWrapper_QWaitCondition::notify_all(QWaitCondition* theWrappedObject) { ( theWrappedObject->notify_all()); @@ -3347,6 +4540,27 @@ void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) +QWriteLocker* PythonQtWrapper_QWriteLocker::new_QWriteLocker(QReadWriteLock* readWriteLock) +{ +return new QWriteLocker(readWriteLock); } + +QReadWriteLock* PythonQtWrapper_QWriteLocker::readWriteLock(QWriteLocker* theWrappedObject) const +{ + return ( theWrappedObject->readWriteLock()); +} + +void PythonQtWrapper_QWriteLocker::relock(QWriteLocker* theWrappedObject) +{ + ( theWrappedObject->relock()); +} + +void PythonQtWrapper_QWriteLocker::unlock(QWriteLocker* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + PythonQtShell_QXmlStreamEntityResolver::~PythonQtShell_QXmlStreamEntityResolver() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -3362,19 +4576,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&publicId0, (void*)&systemId1}; + void* args[3] = {nullptr, (void*)&publicId0, (void*)&systemId1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3395,19 +4609,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveUndeclaredEntity", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.h similarity index 63% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.h rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.h index d55f5b03..c2d20b37 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.h @@ -1,5 +1,4 @@ #include -#include #include #include #include @@ -7,18 +6,27 @@ #include #include #include +#include #include -#include +#include +#include +#include +#include +#include #include #include -#include +#include +#include +#include +#include +#include #include #include #include -#include -#include #include #include +#include +#include #include #include #include @@ -30,203 +38,42 @@ #include #include #include +#include +#include #include #include #include +#include #include +#include #include #include -class PythonQtShell_QSignalTransition : public QSignalTransition -{ -public: - PythonQtShell_QSignalTransition(QState* sourceState = nullptr):QSignalTransition(sourceState),_wrapper(NULL) {}; - PythonQtShell_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr):QSignalTransition(sender, signal, sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QSignalTransition(); - -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSignalTransition : public QSignalTransition -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } -inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } -inline bool py_q_event(QEvent* e) { return QSignalTransition::event(e); } -inline bool py_q_eventTest(QEvent* event) { return QSignalTransition::eventTest(event); } -inline void py_q_onTransition(QEvent* event) { QSignalTransition::onTransition(event); } -}; - -class PythonQtWrapper_QSignalTransition : public QObject -{ Q_OBJECT -public: -public slots: -QSignalTransition* new_QSignalTransition(QState* sourceState = nullptr); -QSignalTransition* new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr); -void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } - bool py_q_event(QSignalTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_event(e));} - bool py_q_eventTest(QSignalTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_eventTest(event));} - void py_q_onTransition(QSignalTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_onTransition(event));} - QObject* senderObject(QSignalTransition* theWrappedObject) const; - void setSenderObject(QSignalTransition* theWrappedObject, const QObject* sender); - void setSignal(QSignalTransition* theWrappedObject, const QByteArray& signal); - QByteArray signal(QSignalTransition* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QSocketNotifier : public QSocketNotifier -{ -public: - PythonQtShell_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr):QSocketNotifier(socket, arg__2, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSocketNotifier(); - -virtual bool event(QEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier -{ public: -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool py_q_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(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr); -void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } - bool event(QSocketNotifier* theWrappedObject, QEvent* arg__1); - bool py_q_event(QSocketNotifier* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->py_q_event(arg__1));} - bool isEnabled(QSocketNotifier* theWrappedObject) const; - qintptr socket(QSocketNotifier* theWrappedObject) const; - QSocketNotifier::Type type(QSocketNotifier* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QStandardPaths : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LocateOption StandardLocation ) -Q_FLAGS(LocateOptions ) -enum LocateOption{ - LocateFile = QStandardPaths::LocateFile, LocateDirectory = QStandardPaths::LocateDirectory}; -enum StandardLocation{ - DesktopLocation = QStandardPaths::DesktopLocation, DocumentsLocation = QStandardPaths::DocumentsLocation, FontsLocation = QStandardPaths::FontsLocation, ApplicationsLocation = QStandardPaths::ApplicationsLocation, MusicLocation = QStandardPaths::MusicLocation, MoviesLocation = QStandardPaths::MoviesLocation, PicturesLocation = QStandardPaths::PicturesLocation, TempLocation = QStandardPaths::TempLocation, HomeLocation = QStandardPaths::HomeLocation, DataLocation = QStandardPaths::DataLocation, CacheLocation = QStandardPaths::CacheLocation, GenericDataLocation = QStandardPaths::GenericDataLocation, RuntimeLocation = QStandardPaths::RuntimeLocation, ConfigLocation = QStandardPaths::ConfigLocation, DownloadLocation = QStandardPaths::DownloadLocation, GenericCacheLocation = QStandardPaths::GenericCacheLocation, GenericConfigLocation = QStandardPaths::GenericConfigLocation, AppDataLocation = QStandardPaths::AppDataLocation, AppConfigLocation = QStandardPaths::AppConfigLocation, AppLocalDataLocation = QStandardPaths::AppLocalDataLocation}; -Q_DECLARE_FLAGS(LocateOptions, LocateOption) -public slots: - QString static_QStandardPaths_displayName(QStandardPaths::StandardLocation type); - void static_QStandardPaths_enableTestMode(bool testMode); - QString static_QStandardPaths_findExecutable(const QString& executableName, const QStringList& paths = QStringList()); - bool static_QStandardPaths_isTestModeEnabled(); - QString static_QStandardPaths_locate(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); - QStringList static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options = QStandardPaths::LocateFile); - void static_QStandardPaths_setTestModeEnabled(bool testMode); - QStringList static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type); - QString static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type); -}; - - - - - -class PythonQtShell_QState : public QState -{ -public: - PythonQtShell_QState(QState* parent = nullptr):QState(parent),_wrapper(NULL) {}; - PythonQtShell_QState(QState::ChildMode childMode, QState* parent = nullptr):QState(childMode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QState(); - -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QState : public QState -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_onEntry(QEvent* event) { this->onEntry(event); } -inline void promoted_onExit(QEvent* event) { this->onExit(event); } -inline bool py_q_event(QEvent* e) { return QState::event(e); } -inline void py_q_onEntry(QEvent* event) { QState::onEntry(event); } -inline void py_q_onExit(QEvent* event) { QState::onExit(event); } -}; - -class PythonQtWrapper_QState : public QObject -{ Q_OBJECT -public: -public slots: -QState* new_QState(QState* parent = nullptr); -QState* new_QState(QState::ChildMode childMode, QState* parent = nullptr); -void delete_QState(QState* obj) { delete obj; } - QAbstractTransition* addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target); - void addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition); - QSignalTransition* addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target); - void assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value); - QState::ChildMode childMode(QState* theWrappedObject) const; - QAbstractState* errorState(QState* theWrappedObject) const; - bool py_q_event(QState* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_event(e));} - QAbstractState* initialState(QState* theWrappedObject) const; - void py_q_onEntry(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onEntry(event));} - void py_q_onExit(QState* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QState*)theWrappedObject)->py_q_onExit(event));} - void removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition); - void setChildMode(QState* theWrappedObject, QState::ChildMode mode); - void setErrorState(QState* theWrappedObject, QAbstractState* state); - void setInitialState(QState* theWrappedObject, QAbstractState* state); - QList transitions(QState* theWrappedObject) const; -}; - - - - - class PythonQtShell_QStateMachine : public QStateMachine { public: - PythonQtShell_QStateMachine(QObject* parent = nullptr):QStateMachine(parent),_wrapper(NULL) {}; - PythonQtShell_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr):QStateMachine(childMode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStateMachine(); - -virtual void beginMicrostep(QEvent* event); -virtual void beginSelectTransitions(QEvent* event); -virtual void endMicrostep(QEvent* event); -virtual void endSelectTransitions(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStateMachine(QObject* parent = nullptr):QStateMachine(parent),_wrapper(nullptr) {}; + PythonQtShell_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr):QStateMachine(childMode, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStateMachine() override; + +void beginMicrostep(QEvent* event) override; +void beginSelectTransitions(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void endMicrostep(QEvent* event) override; +void endSelectTransitions(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void onEntry(QEvent* event) override; +void onExit(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStateMachine : public QStateMachine @@ -259,7 +106,7 @@ enum EventPriority{ public slots: QStateMachine* new_QStateMachine(QObject* parent = nullptr); QStateMachine* new_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr); -void delete_QStateMachine(QStateMachine* obj) { delete obj; } +void delete_QStateMachine(QStateMachine* obj) { delete obj; } void addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); void addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state); void beginMicrostep(QStateMachine* theWrappedObject, QEvent* event); @@ -277,7 +124,6 @@ void delete_QStateMachine(QStateMachine* obj) { delete obj; } QStateMachine::Error error(QStateMachine* theWrappedObject) const; QString errorString(QStateMachine* theWrappedObject) const; bool py_q_event(QStateMachine* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_event(e));} - bool eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event); bool py_q_eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->py_q_eventFilter(watched, event));} QState::RestorePolicy globalRestorePolicy(QStateMachine* theWrappedObject) const; bool isAnimated(QStateMachine* theWrappedObject) const; @@ -301,7 +147,7 @@ class PythonQtWrapper_QStateMachine__SignalEvent : public QObject public: public slots: QStateMachine::SignalEvent* new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments); -void delete_QStateMachine__SignalEvent(QStateMachine::SignalEvent* obj) { delete obj; } +void delete_QStateMachine__SignalEvent(QStateMachine::SignalEvent* obj) { delete obj; } QList arguments(QStateMachine::SignalEvent* theWrappedObject) const; QObject* sender(QStateMachine::SignalEvent* theWrappedObject) const; int signalIndex(QStateMachine::SignalEvent* theWrappedObject) const; @@ -316,7 +162,7 @@ class PythonQtWrapper_QStateMachine__WrappedEvent : public QObject public: public slots: QStateMachine::WrappedEvent* new_QStateMachine__WrappedEvent(QObject* object, QEvent* event); -void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { delete obj; } +void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { delete obj; } QEvent* event(QStateMachine::WrappedEvent* theWrappedObject) const; QObject* object(QStateMachine::WrappedEvent* theWrappedObject) const; }; @@ -325,6 +171,45 @@ void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { dele +class PythonQtWrapper_QStorageInfo : public QObject +{ Q_OBJECT +public: +public slots: +QStorageInfo* new_QStorageInfo(); +QStorageInfo* new_QStorageInfo(const QDir& dir); +QStorageInfo* new_QStorageInfo(const QStorageInfo& other); +QStorageInfo* new_QStorageInfo(const QString& path); +void delete_QStorageInfo(QStorageInfo* obj) { delete obj; } + int blockSize(QStorageInfo* theWrappedObject) const; + qint64 bytesAvailable(QStorageInfo* theWrappedObject) const; + qint64 bytesFree(QStorageInfo* theWrappedObject) const; + qint64 bytesTotal(QStorageInfo* theWrappedObject) const; + QByteArray device(QStorageInfo* theWrappedObject) const; + QString displayName(QStorageInfo* theWrappedObject) const; + QByteArray fileSystemType(QStorageInfo* theWrappedObject) const; + bool isReadOnly(QStorageInfo* theWrappedObject) const; + bool isReady(QStorageInfo* theWrappedObject) const; + bool isRoot(QStorageInfo* theWrappedObject) const; + bool isValid(QStorageInfo* theWrappedObject) const; + QList static_QStorageInfo_mountedVolumes(); + QString name(QStorageInfo* theWrappedObject) const; + bool __ne__(QStorageInfo* theWrappedObject, const QStorageInfo& second); + QStorageInfo* operator_assign(QStorageInfo* theWrappedObject, const QStorageInfo& other); + bool __eq__(QStorageInfo* theWrappedObject, const QStorageInfo& second); + void refresh(QStorageInfo* theWrappedObject); + QStorageInfo static_QStorageInfo_root(); + QString rootPath(QStorageInfo* theWrappedObject) const; + void setPath(QStorageInfo* theWrappedObject, const QString& path); + QByteArray subvolume(QStorageInfo* theWrappedObject) const; + void swap(QStorageInfo* theWrappedObject, QStorageInfo& other); + QString py_toString(QStorageInfo*); + bool __nonzero__(QStorageInfo* obj) { return obj->isValid(); } +}; + + + + + class PythonQtWrapper_QStringMatcher : public QObject { Q_OBJECT public: @@ -332,7 +217,7 @@ 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; } +void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } Qt::CaseSensitivity caseSensitivity(QStringMatcher* theWrappedObject) const; int indexIn(QStringMatcher* theWrappedObject, const QString& str, int from = 0) const; QString pattern(QStringMatcher* theWrappedObject) const; @@ -347,12 +232,12 @@ void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } class PythonQtShell_QSysInfo : public QSysInfo { public: - PythonQtShell_QSysInfo():QSysInfo(),_wrapper(NULL) {}; + PythonQtShell_QSysInfo():QSysInfo(),_wrapper(nullptr) {}; ~PythonQtShell_QSysInfo(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSysInfo : public QObject @@ -365,7 +250,7 @@ enum Sizes{ WordSize = QSysInfo::WordSize}; public slots: QSysInfo* new_QSysInfo(); -void delete_QSysInfo(QSysInfo* obj) { delete obj; } +void delete_QSysInfo(QSysInfo* obj) { delete obj; } QByteArray static_QSysInfo_bootUniqueId(); QString static_QSysInfo_buildAbi(); QString static_QSysInfo_buildCpuArchitecture(); @@ -392,7 +277,8 @@ enum AccessMode{ 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: -void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; } +QSystemSemaphore* new_QSystemSemaphore(const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); +void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; } bool acquire(QSystemSemaphore* theWrappedObject); QSystemSemaphore::SystemSemaphoreError error(QSystemSemaphore* theWrappedObject) const; QString errorString(QSystemSemaphore* theWrappedObject) const; @@ -409,7 +295,9 @@ class PythonQtWrapper_QTemporaryDir : public QObject { Q_OBJECT public: public slots: -void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } +QTemporaryDir* new_QTemporaryDir(); +QTemporaryDir* new_QTemporaryDir(const QString& templateName); +void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } bool autoRemove(QTemporaryDir* theWrappedObject) const; QString errorString(QTemporaryDir* theWrappedObject) const; QString filePath(QTemporaryDir* theWrappedObject, const QString& fileName) const; @@ -427,37 +315,42 @@ void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } 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) {}; - - ~PythonQtShell_QTemporaryFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTemporaryFile() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode flags) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTemporaryFile : public QTemporaryFile @@ -475,7 +368,7 @@ 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; } +void delete_QTemporaryFile(QTemporaryFile* obj) { delete obj; } bool autoRemove(QTemporaryFile* theWrappedObject) const; QTemporaryFile* static_QTemporaryFile_createLocalFile(QFile& file); QTemporaryFile* static_QTemporaryFile_createLocalFile(const QString& fileName); @@ -509,7 +402,7 @@ 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 delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } QTextBoundaryFinder::BoundaryReasons boundaryReasons(QTextBoundaryFinder* theWrappedObject) const; bool isAtBoundary(QTextBoundaryFinder* theWrappedObject) const; bool isValid(QTextBoundaryFinder* theWrappedObject) const; @@ -531,17 +424,17 @@ void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } class PythonQtShell_QTextCodec : public QTextCodec { public: - PythonQtShell_QTextCodec():QTextCodec(),_wrapper(NULL) {}; + PythonQtShell_QTextCodec():QTextCodec(),_wrapper(nullptr) {}; - ~PythonQtShell_QTextCodec(); + ~PythonQtShell_QTextCodec() override; -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; +QList aliases() const override; +QByteArray convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const override; +QString convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const override; +int mibEnum() const override; +QByteArray name() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextCodec : public QTextCodec @@ -602,7 +495,9 @@ class PythonQtWrapper_QTextDecoder : public QObject { Q_OBJECT public: public slots: -void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } +QTextDecoder* new_QTextDecoder(const QTextCodec* codec); +QTextDecoder* new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); +void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } bool hasFailure(QTextDecoder* theWrappedObject) const; bool needsMoreData(QTextDecoder* theWrappedObject) const; QString toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba); @@ -612,17 +507,32 @@ void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } +class PythonQtWrapper_QTextEncoder : public QObject +{ Q_OBJECT +public: +public slots: +QTextEncoder* new_QTextEncoder(const QTextCodec* codec); +QTextEncoder* new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags); +void delete_QTextEncoder(QTextEncoder* obj) { delete obj; } + QByteArray fromUnicode(QTextEncoder* theWrappedObject, const QString& str); + bool hasFailure(QTextEncoder* theWrappedObject) const; +}; + + + + + 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) {}; + PythonQtShell_QTextStream():QTextStream(),_wrapper(nullptr) {}; + PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(nullptr) {}; + PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(nullptr) {}; - ~PythonQtShell_QTextStream(); + ~PythonQtShell_QTextStream() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextStream : public QObject @@ -643,7 +553,7 @@ 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; } +void delete_QTextStream(QTextStream* obj) { delete obj; } bool atEnd(QTextStream* theWrappedObject) const; bool autoDetectUnicode(QTextStream* theWrappedObject) const; QTextCodec* codec(QTextStream* theWrappedObject) const; @@ -705,16 +615,20 @@ void delete_QTextStream(QTextStream* obj) { delete obj; } class PythonQtShell_QThread : public QThread { public: - PythonQtShell_QThread(QObject* parent = nullptr):QThread(parent),_wrapper(NULL) {}; + PythonQtShell_QThread(QObject* parent = nullptr):QThread(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QThread(); + ~PythonQtShell_QThread() override; -virtual bool event(QEvent* event); -virtual void run(); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void run() override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QThread : public QThread @@ -729,24 +643,30 @@ inline void py_q_run() { QThread::run(); } class PythonQtWrapper_QThread : public QObject { Q_OBJECT public: +Q_ENUMS(Priority ) +enum Priority{ + IdlePriority = QThread::IdlePriority, LowestPriority = QThread::LowestPriority, LowPriority = QThread::LowPriority, NormalPriority = QThread::NormalPriority, HighPriority = QThread::HighPriority, HighestPriority = QThread::HighestPriority, TimeCriticalPriority = QThread::TimeCriticalPriority, InheritPriority = QThread::InheritPriority}; public slots: QThread* new_QThread(QObject* parent = nullptr); -void delete_QThread(QThread* obj) { delete obj; } +void delete_QThread(QThread* obj) { delete obj; } QThread* static_QThread_currentThread(); - bool event(QThread* theWrappedObject, QEvent* event); + Qt::HANDLE static_QThread_currentThreadId(); bool py_q_event(QThread* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QThread*)theWrappedObject)->py_q_event(event));} QAbstractEventDispatcher* eventDispatcher(QThread* theWrappedObject) const; int exec(QThread* theWrappedObject); void exit(QThread* theWrappedObject, int retcode = 0); + int static_QThread_idealThreadCount(); bool isFinished(QThread* theWrappedObject) const; bool isInterruptionRequested(QThread* theWrappedObject) const; bool isRunning(QThread* theWrappedObject) const; int loopLevel(QThread* theWrappedObject) const; void static_QThread_msleep(unsigned long arg__1); + QThread::Priority priority(QThread* theWrappedObject) const; void requestInterruption(QThread* theWrappedObject); void run(QThread* theWrappedObject); void py_q_run(QThread* theWrappedObject){ (((PythonQtPublicPromoter_QThread*)theWrappedObject)->py_q_run());} void setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher); + void setPriority(QThread* theWrappedObject, QThread::Priority priority); void setStackSize(QThread* theWrappedObject, uint stackSize); void static_QThread_setTerminationEnabled(bool enabled = true); void static_QThread_sleep(unsigned long arg__1); @@ -761,12 +681,30 @@ void delete_QThread(QThread* obj) { delete obj; } +class PythonQtShell_QThreadPool : public QThreadPool +{ +public: + PythonQtShell_QThreadPool(QObject* parent = nullptr):QThreadPool(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QThreadPool() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QThreadPool : public QObject { Q_OBJECT public: public slots: QThreadPool* new_QThreadPool(QObject* parent = nullptr); -void delete_QThreadPool(QThreadPool* obj) { delete obj; } +void delete_QThreadPool(QThreadPool* obj) { delete obj; } int activeThreadCount(QThreadPool* theWrappedObject) const; void cancel(QThreadPool* theWrappedObject, QRunnable* runnable); void clear(QThreadPool* theWrappedObject); @@ -793,16 +731,20 @@ void delete_QThreadPool(QThreadPool* obj) { delete obj; } class PythonQtShell_QTimeLine : public QTimeLine { public: - PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = nullptr):QTimeLine(duration, parent),_wrapper(NULL) {}; + PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = nullptr):QTimeLine(duration, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTimeLine(); + ~PythonQtShell_QTimeLine() override; -virtual void timerEvent(QTimerEvent* event); -virtual qreal valueForTime(int msec) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +qreal valueForTime(int msec) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTimeLine : public QTimeLine @@ -824,7 +766,7 @@ enum State{ NotRunning = QTimeLine::NotRunning, Paused = QTimeLine::Paused, Running = QTimeLine::Running}; public slots: QTimeLine* new_QTimeLine(int duration = 1000, QObject* parent = nullptr); -void delete_QTimeLine(QTimeLine* obj) { delete obj; } +void delete_QTimeLine(QTimeLine* obj) { delete obj; } int currentFrame(QTimeLine* theWrappedObject) const; int currentTime(QTimeLine* theWrappedObject) const; qreal currentValue(QTimeLine* theWrappedObject) const; @@ -846,7 +788,6 @@ void delete_QTimeLine(QTimeLine* obj) { delete obj; } void setUpdateInterval(QTimeLine* theWrappedObject, int interval); int startFrame(QTimeLine* theWrappedObject) const; QTimeLine::State state(QTimeLine* theWrappedObject) const; - void timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->py_q_timerEvent(event));} int updateInterval(QTimeLine* theWrappedObject) const; qreal valueForTime(QTimeLine* theWrappedObject, int msec) const; @@ -857,15 +798,117 @@ void delete_QTimeLine(QTimeLine* obj) { delete obj; } +class PythonQtWrapper_QTimeZone : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NameType TimeType ) +enum NameType{ + DefaultName = QTimeZone::DefaultName, LongName = QTimeZone::LongName, ShortName = QTimeZone::ShortName, OffsetName = QTimeZone::OffsetName}; +enum TimeType{ + StandardTime = QTimeZone::StandardTime, DaylightTime = QTimeZone::DaylightTime, GenericTime = QTimeZone::GenericTime}; +public slots: +QTimeZone* new_QTimeZone(); +QTimeZone* new_QTimeZone(const QByteArray& ianaId); +QTimeZone* new_QTimeZone(const QByteArray& zoneId, int offsetSeconds, const QString& name, const QString& abbreviation, QLocale::Country country = QLocale::AnyCountry, const QString& comment = QString()); +QTimeZone* new_QTimeZone(const QTimeZone& other); +QTimeZone* new_QTimeZone(int offsetSeconds); +void delete_QTimeZone(QTimeZone* obj) { delete obj; } + QString abbreviation(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + QList static_QTimeZone_availableTimeZoneIds(); + QList static_QTimeZone_availableTimeZoneIds(QLocale::Country country); + QList static_QTimeZone_availableTimeZoneIds(int offsetSeconds); + QString comment(QTimeZone* theWrappedObject) const; + QLocale::Country country(QTimeZone* theWrappedObject) const; + int daylightTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + QString displayName(QTimeZone* theWrappedObject, QTimeZone::TimeType timeType, QTimeZone::NameType nameType = QTimeZone::DefaultName, const QLocale& locale = QLocale()) const; + QString displayName(QTimeZone* theWrappedObject, const QDateTime& atDateTime, QTimeZone::NameType nameType = QTimeZone::DefaultName, const QLocale& locale = QLocale()) const; + bool hasDaylightTime(QTimeZone* theWrappedObject) const; + bool hasTransitions(QTimeZone* theWrappedObject) const; + QByteArray static_QTimeZone_ianaIdToWindowsId(const QByteArray& ianaId); + QByteArray id(QTimeZone* theWrappedObject) const; + bool isDaylightTime(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + bool static_QTimeZone_isTimeZoneIdAvailable(const QByteArray& ianaId); + bool isValid(QTimeZone* theWrappedObject) const; + int offsetFromUtc(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + bool __ne__(QTimeZone* theWrappedObject, const QTimeZone& other) const; + void writeTo(QTimeZone* theWrappedObject, QDataStream& ds); + QTimeZone* operator_assign(QTimeZone* theWrappedObject, const QTimeZone& other); + bool __eq__(QTimeZone* theWrappedObject, const QTimeZone& other) const; + void readFrom(QTimeZone* theWrappedObject, QDataStream& ds); + int standardTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const; + void swap(QTimeZone* theWrappedObject, QTimeZone& other); + QTimeZone static_QTimeZone_systemTimeZone(); + QByteArray static_QTimeZone_systemTimeZoneId(); + QTimeZone static_QTimeZone_utc(); + QByteArray static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId); + QByteArray static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId, QLocale::Country country); + QList static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId); + QList static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId, QLocale::Country country); + QString py_toString(QTimeZone*); + bool __nonzero__(QTimeZone* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTimer : public QTimer +{ +public: + PythonQtShell_QTimer(QObject* parent = nullptr):QTimer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTimer : public QTimer +{ public: +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QTimer::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QTimer : public QObject +{ Q_OBJECT +public: +public slots: +QTimer* new_QTimer(QObject* parent = nullptr); +void delete_QTimer(QTimer* obj) { delete obj; } + int interval(QTimer* theWrappedObject) const; + bool isActive(QTimer* theWrappedObject) const; + bool isSingleShot(QTimer* theWrappedObject) const; + int remainingTime(QTimer* theWrappedObject) const; + void setInterval(QTimer* theWrappedObject, int msec); + void setSingleShot(QTimer* theWrappedObject, bool singleShot); + void setTimerType(QTimer* theWrappedObject, Qt::TimerType atype); + void static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member); + void static_QTimer_singleShot(int msec, const QObject* receiver, const char* member); + void py_q_timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QTimer*)theWrappedObject)->py_q_timerEvent(arg__1));} + int timerId(QTimer* theWrappedObject) const; + Qt::TimerType timerType(QTimer* theWrappedObject) const; +}; + + + + + class PythonQtShell_QTimerEvent : public QTimerEvent { public: - PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(NULL) {}; + PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(nullptr) {}; - ~PythonQtShell_QTimerEvent(); + ~PythonQtShell_QTimerEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimerEvent : public QObject @@ -873,7 +916,7 @@ class PythonQtWrapper_QTimerEvent : public QObject public: public slots: QTimerEvent* new_QTimerEvent(int timerId); -void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } +void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } int timerId(QTimerEvent* theWrappedObject) const; }; @@ -884,16 +927,21 @@ void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } class PythonQtShell_QTranslator : public QTranslator { public: - PythonQtShell_QTranslator(QObject* parent = nullptr):QTranslator(parent),_wrapper(NULL) {}; + PythonQtShell_QTranslator(QObject* parent = nullptr):QTranslator(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTranslator(); + ~PythonQtShell_QTranslator() override; -virtual bool isEmpty() const; -virtual QString translate(const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isEmpty() const override; +void timerEvent(QTimerEvent* event) override; +QString translate(const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTranslator : public QTranslator @@ -907,7 +955,7 @@ class PythonQtWrapper_QTranslator : public QObject public: public slots: QTranslator* new_QTranslator(QObject* parent = nullptr); -void delete_QTranslator(QTranslator* obj) { delete obj; } +void delete_QTranslator(QTranslator* obj) { delete obj; } QString filePath(QTranslator* theWrappedObject) const; bool isEmpty(QTranslator* theWrappedObject) const; bool py_q_isEmpty(QTranslator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTranslator*)theWrappedObject)->py_q_isEmpty());} @@ -932,32 +980,130 @@ QUrlQuery* new_QUrlQuery(); QUrlQuery* new_QUrlQuery(const QString& queryString); QUrlQuery* new_QUrlQuery(const QUrl& url); QUrlQuery* new_QUrlQuery(const QUrlQuery& other); -void delete_QUrlQuery(QUrlQuery* obj) { delete obj; } +void delete_QUrlQuery(QUrlQuery* obj) { delete obj; } + void addQueryItem(QUrlQuery* theWrappedObject, const QString& key, const QString& value); + QStringList allQueryItemValues(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + void clear(QUrlQuery* theWrappedObject); + QChar static_QUrlQuery_defaultQueryPairDelimiter(); + QChar static_QUrlQuery_defaultQueryValueDelimiter(); + bool hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const; + bool isEmpty(QUrlQuery* theWrappedObject) const; + bool __ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const; QUrlQuery* operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other); + bool __eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const; + QString query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QString queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QList > queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QChar queryPairDelimiter(QUrlQuery* theWrappedObject) const; + QChar queryValueDelimiter(QUrlQuery* theWrappedObject) const; + void removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key); + void removeQueryItem(QUrlQuery* theWrappedObject, const QString& key); + void setQuery(QUrlQuery* theWrappedObject, const QString& queryString); + void setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter); + void setQueryItems(QUrlQuery* theWrappedObject, const QList >& query); + void swap(QUrlQuery* theWrappedObject, QUrlQuery& other); + QString toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded) const; + QString py_toString(QUrlQuery*); + bool __nonzero__(QUrlQuery* obj) { return !obj->isEmpty(); } }; -class PythonQtShell_QVariantAnimation : public QVariantAnimation +class PythonQtShell_QUuid : public QUuid { public: - PythonQtShell_QVariantAnimation(QObject* parent = nullptr):QVariantAnimation(parent),_wrapper(NULL) {}; + PythonQtShell_QUuid():QUuid(),_wrapper(nullptr) {}; + PythonQtShell_QUuid(const QByteArray& arg__1):QUuid(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QUuid(const QString& arg__1):QUuid(arg__1),_wrapper(nullptr) {}; + 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(nullptr) {}; + + ~PythonQtShell_QUuid(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUuid : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StringFormat Variant Version ) +enum StringFormat{ + WithBraces = QUuid::WithBraces, WithoutBraces = QUuid::WithoutBraces, Id128 = QUuid::Id128}; +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, Md5 = QUuid::Md5, Name = QUuid::Name, Random = QUuid::Random, Sha1 = QUuid::Sha1}; +public slots: +QUuid* new_QUuid(); +QUuid* new_QUuid(const QByteArray& arg__1); +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; } + QUuid static_QUuid_createUuid(); + QUuid static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData); + QUuid static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData); + QUuid static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData); + QUuid static_QUuid_createUuidV5(const QUuid& ns, const QString& baseData); + QUuid static_QUuid_fromRfc4122(const QByteArray& arg__1); + QUuid static_QUuid_fromString(QLatin1String string); + bool isNull(QUuid* theWrappedObject) const; + bool __ne__(QUuid* theWrappedObject, const QUuid& orig) const; + bool __lt__(QUuid* theWrappedObject, const QUuid& other) const; + void writeTo(QUuid* theWrappedObject, QDataStream& arg__1); + bool __le__(QUuid* theWrappedObject, const QUuid& rhs); + bool __eq__(QUuid* theWrappedObject, const QUuid& orig) const; + bool __gt__(QUuid* theWrappedObject, const QUuid& other) const; + bool __ge__(QUuid* theWrappedObject, const QUuid& rhs); + void readFrom(QUuid* theWrappedObject, QDataStream& arg__1); + QByteArray toByteArray(QUuid* theWrappedObject) const; + QByteArray toByteArray(QUuid* theWrappedObject, QUuid::StringFormat mode) const; + QByteArray toRfc4122(QUuid* theWrappedObject) const; + QString toString(QUuid* theWrappedObject) const; + QString toString(QUuid* theWrappedObject, QUuid::StringFormat mode) const; + QUuid::Variant variant(QUuid* theWrappedObject) const; + QUuid::Version version(QUuid* theWrappedObject) const; + QString py_toString(QUuid*); + bool __nonzero__(QUuid* obj) { return !obj->isNull(); } +void py_set_data1(QUuid* theWrappedObject, uint data1){ theWrappedObject->data1 = data1; } +uint py_get_data1(QUuid* theWrappedObject){ return theWrappedObject->data1; } +void py_set_data2(QUuid* theWrappedObject, ushort data2){ theWrappedObject->data2 = data2; } +ushort py_get_data2(QUuid* theWrappedObject){ return theWrappedObject->data2; } +void py_set_data3(QUuid* theWrappedObject, ushort data3){ theWrappedObject->data3 = data3; } +ushort py_get_data3(QUuid* theWrappedObject){ return theWrappedObject->data3; } +}; + - ~PythonQtShell_QVariantAnimation(); -virtual int duration() const; -virtual bool event(QEvent* event); -virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; -virtual void updateCurrentTime(int arg__1); -virtual void updateCurrentValue(const QVariant& value); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + +class PythonQtShell_QVariantAnimation : public QVariantAnimation +{ +public: + PythonQtShell_QVariantAnimation(QObject* parent = nullptr):QVariantAnimation(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVariantAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateCurrentValue(const QVariant& value) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVariantAnimation : public QVariantAnimation @@ -980,7 +1126,7 @@ class PythonQtWrapper_QVariantAnimation : public QObject public: public slots: QVariantAnimation* new_QVariantAnimation(QObject* parent = nullptr); -void delete_QVariantAnimation(QVariantAnimation* obj) { delete obj; } +void delete_QVariantAnimation(QVariantAnimation* obj) { delete obj; } QVariant currentValue(QVariantAnimation* theWrappedObject) const; int py_q_duration(QVariantAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->py_q_duration());} QEasingCurve easingCurve(QVariantAnimation* theWrappedObject) const; @@ -1011,7 +1157,8 @@ class PythonQtWrapper_QWaitCondition : public QObject { Q_OBJECT public: public slots: -void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } +QWaitCondition* new_QWaitCondition(); +void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } void notify_all(QWaitCondition* theWrappedObject); void notify_one(QWaitCondition* theWrappedObject); bool wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::Forever)); @@ -1026,17 +1173,36 @@ void delete_QWaitCondition(QWaitCondition* obj) { delete obj; } +class PythonQtWrapper_QWriteLocker : public QObject +{ Q_OBJECT +public: +public slots: +QWriteLocker* new_QWriteLocker(QReadWriteLock* readWriteLock); +void delete_QWriteLocker(QWriteLocker* obj) { delete obj; } + QReadWriteLock* readWriteLock(QWriteLocker* theWrappedObject) const; + void relock(QWriteLocker* theWrappedObject); + void unlock(QWriteLocker* theWrappedObject); + + void __enter__(QWriteLocker* self) {} + void __exit__(QWriteLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + +}; + + + + + class PythonQtShell_QXmlStreamEntityResolver : public QXmlStreamEntityResolver { public: - PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(NULL) {}; + PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlStreamEntityResolver(); + ~PythonQtShell_QXmlStreamEntityResolver() override; -virtual QString resolveEntity(const QString& publicId, const QString& systemId); -virtual QString resolveUndeclaredEntity(const QString& name); +QString resolveEntity(const QString& publicId, const QString& systemId) override; +QString resolveUndeclaredEntity(const QString& name) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlStreamEntityResolver : public QXmlStreamEntityResolver @@ -1050,7 +1216,7 @@ class PythonQtWrapper_QXmlStreamEntityResolver : public QObject public: public slots: QXmlStreamEntityResolver* new_QXmlStreamEntityResolver(); -void delete_QXmlStreamEntityResolver(QXmlStreamEntityResolver* obj) { delete obj; } +void delete_QXmlStreamEntityResolver(QXmlStreamEntityResolver* obj) { delete obj; } QString resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId); QString py_q_resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId){ return (((PythonQtPublicPromoter_QXmlStreamEntityResolver*)theWrappedObject)->py_q_resolveEntity(publicId, systemId));} QString resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp similarity index 61% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp index 9b60a1c7..218b5784 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -3,10 +3,11 @@ #include "com_trolltech_qt_core0.h" #include "com_trolltech_qt_core1.h" #include "com_trolltech_qt_core2.h" +#include "com_trolltech_qt_core3.h" static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QEvent *object = (QEvent *)ptr; if (object->type() == QEvent::ApplicationStateChange) { *class_name = "QApplicationStateChangeEvent"; @@ -40,7 +41,7 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QTimerEvent"; return (QTimerEvent*)object; } - return NULL; + return nullptr; } @@ -51,90 +52,124 @@ PythonQt::priv()->registerClass(&QAbstractListModel::staticMetaObject, "QtCore", PythonQt::priv()->registerClass(&QAbstractState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractTransition::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QApplicationStateChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QApplicationStateChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QBasicMutex", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QBasicTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QBuffer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QChildEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCommandLineParser", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDeferredDeleteEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QCollator", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCollatorSortKey", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCommandLineOption", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCommandLineParser", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDeadlineTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract); +PythonQt::priv()->registerCPPClass("QDeferredDeleteEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDir", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QEasingCurve", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QElapsedTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QEvent", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QEventLoop::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QEventTransition::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QFactoryInterface", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFileDevice::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QFileSelector::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QFileSystemWatcher::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFileInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QFileSelector::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QFileSystemWatcher::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFinalState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QHistoryState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QIODevice::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QIdentityProxyModel::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QJsonArray", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QJsonDocument", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QJsonObject", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QJsonParseError", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QLibrary::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QLockFile", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QLoggingCategory", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMarginsF", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide); -PythonQt::priv()->registerCPPClass("QMessageAuthenticationCode", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QJsonValue", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QLibrary::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QLockFile", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QLoggingCategory", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMarginsF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMessageAuthenticationCode", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QMessageLogContext", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMessageLogger", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaClassInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaEnum", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QMetaMethod", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMetaProperty", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QMetaType", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMessageLogger", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMetaClassInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMetaEnum", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMetaMethod", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMetaProperty", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMetaType", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMimeDatabase", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QMimeDatabase", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMimeType", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMutex", "QBasicMutex", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMutexLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); +PythonQt::priv()->registerClass(&QObject::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QOperatingSystemVersion", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QParallelAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPauseAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPersistentModelIndex", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QProcess::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QProcessEnvironment", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPropertyAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QRandomGenerator64", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QReadWriteLock", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QRandomGenerator", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QRandomGenerator64", "QRandomGenerator", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QReadLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); +PythonQt::priv()->registerCPPClass("QReadWriteLock", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QRegularExpressionMatch", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QRegularExpressionMatchIterator", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QResource", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QRunnable", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSaveFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSequentialAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSettings::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QSharedMemory::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QSharedMemory::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSignalBlocker", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSignalMapper::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSignalTransition::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSocketNotifier::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStandardPaths", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStandardPaths", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QStateMachine::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStateMachine::SignalEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QStateMachine::WrappedEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStateMachine::SignalEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QStateMachine::WrappedEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QStorageInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSysInfo", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTemporaryDir", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTemporaryDir", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QTemporaryFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextCodec", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTextEncoder", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextStream", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QThread::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QThreadPool::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QThreadPool::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTimeLine::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTimeZone", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QTimer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTimerEvent", "QEvent", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTranslator::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QUrlQuery", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QUrlQuery", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QUuid", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVariantAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWriteLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); PythonQt::priv()->registerCPPClass("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); PythonQtRegisterListTemplateConverterForKnownClass(QList, QCommandLineOption); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QFileInfo); PythonQtRegisterListTemplateConverterForKnownClass(QList, QMimeType); PythonQtRegisterListTemplateConverterForKnownClass(QList, QModelIndex); PythonQtRegisterListTemplateConverterForKnownClass(QList, QPersistentModelIndex); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QStorageInfo); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri rename to generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp new file mode 100644 index 00000000..87086dd7 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp @@ -0,0 +1,4528 @@ +#include "com_trolltech_qt_core_builtin0.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 + +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); } + +bool PythonQtWrapper_QBitArray::at(QBitArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +const char* PythonQtWrapper_QBitArray::bits(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->bits()); +} + +void PythonQtWrapper_QBitArray::clear(QBitArray* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QBitArray::clearBit(QBitArray* theWrappedObject, int i) +{ + ( theWrappedObject->clearBit(i)); +} + +int PythonQtWrapper_QBitArray::count(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QBitArray::count(QBitArray* theWrappedObject, bool on) const +{ + return ( theWrappedObject->count(on)); +} + +void PythonQtWrapper_QBitArray::fill(QBitArray* theWrappedObject, bool val, int first, int last) +{ + ( theWrappedObject->fill(val, first, last)); +} + +bool PythonQtWrapper_QBitArray::fill(QBitArray* theWrappedObject, bool val, int size) +{ + return ( theWrappedObject->fill(val, size)); +} + +QBitArray PythonQtWrapper_QBitArray::static_QBitArray_fromBits(const char* data, qsizetype len) +{ + return (QBitArray::fromBits(data, len)); +} + +bool PythonQtWrapper_QBitArray::isEmpty(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QBitArray::isNull(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QBitArray::__ne__(QBitArray* theWrappedObject, const QBitArray& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QBitArray PythonQtWrapper_QBitArray::__and__(QBitArray* theWrappedObject, const QBitArray& arg__2) +{ + return ( (*theWrappedObject)& arg__2); +} + +QBitArray* PythonQtWrapper_QBitArray::__iand__(QBitArray* theWrappedObject, const QBitArray& arg__1) +{ + return &( (*theWrappedObject)&= arg__1); +} + +void PythonQtWrapper_QBitArray::writeTo(QBitArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QBitArray* PythonQtWrapper_QBitArray::operator_assign(QBitArray* theWrappedObject, const QBitArray& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QBitArray::__eq__(QBitArray* theWrappedObject, const QBitArray& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QBitArray::readFrom(QBitArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QBitArray PythonQtWrapper_QBitArray::__xor__(QBitArray* theWrappedObject, const QBitArray& arg__2) +{ + return ( (*theWrappedObject)^ arg__2); +} + +QBitArray* PythonQtWrapper_QBitArray::__ixor__(QBitArray* theWrappedObject, const QBitArray& arg__1) +{ + return &( (*theWrappedObject)^= arg__1); +} + +QBitArray PythonQtWrapper_QBitArray::__or__(QBitArray* theWrappedObject, const QBitArray& arg__2) +{ + return ( (*theWrappedObject)| arg__2); +} + +QBitArray* PythonQtWrapper_QBitArray::__ior__(QBitArray* theWrappedObject, const QBitArray& arg__1) +{ + return &( (*theWrappedObject)|= arg__1); +} + +QBitArray PythonQtWrapper_QBitArray::__invert__(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->operator~()); +} + +void PythonQtWrapper_QBitArray::resize(QBitArray* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i) +{ + ( theWrappedObject->setBit(i)); +} + +void PythonQtWrapper_QBitArray::setBit(QBitArray* theWrappedObject, int i, bool val) +{ + ( theWrappedObject->setBit(i, val)); +} + +int PythonQtWrapper_QBitArray::size(QBitArray* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QBitArray::swap(QBitArray* theWrappedObject, QBitArray& other) +{ + ( theWrappedObject->swap(other)); +} + +bool PythonQtWrapper_QBitArray::testBit(QBitArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->testBit(i)); +} + +bool PythonQtWrapper_QBitArray::toggleBit(QBitArray* theWrappedObject, int i) +{ + return ( theWrappedObject->toggleBit(i)); +} + +void PythonQtWrapper_QBitArray::truncate(QBitArray* theWrappedObject, int pos) +{ + ( theWrappedObject->truncate(pos)); +} + +QString PythonQtWrapper_QBitArray::py_toString(QBitArray* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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(int size, char c) +{ +return new QByteArray(size, c); } + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, char c) +{ + return &( theWrappedObject->append(c)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QByteArray& a) +{ + return &( theWrappedObject->append(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const QString& s) +{ + return &( theWrappedObject->append(s)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, const char* s, int len) +{ + return &( theWrappedObject->append(s, len)); +} + +QByteArray* PythonQtWrapper_QByteArray::append(QByteArray* theWrappedObject, int count, char c) +{ + return &( theWrappedObject->append(count, c)); +} + +char PythonQtWrapper_QByteArray::at(QByteArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +QByteRef PythonQtWrapper_QByteArray::back(QByteArray* theWrappedObject) +{ + return ( theWrappedObject->back()); +} + +char PythonQtWrapper_QByteArray::back(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->back()); +} + +int PythonQtWrapper_QByteArray::capacity(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +const char* PythonQtWrapper_QByteArray::cbegin(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->cbegin()); +} + +const char* PythonQtWrapper_QByteArray::cend(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->cend()); +} + +void PythonQtWrapper_QByteArray::chop(QByteArray* theWrappedObject, int n) +{ + ( theWrappedObject->chop(n)); +} + +QByteArray PythonQtWrapper_QByteArray::chopped(QByteArray* theWrappedObject, int len) const +{ + return ( theWrappedObject->chopped(len)); +} + +void PythonQtWrapper_QByteArray::clear(QByteArray* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QByteArray::compare(QByteArray* theWrappedObject, const QByteArray& a, Qt::CaseSensitivity cs) const +{ + return ( theWrappedObject->compare(a, cs)); +} + +int PythonQtWrapper_QByteArray::compare(QByteArray* theWrappedObject, const char* c, Qt::CaseSensitivity cs) const +{ + return ( theWrappedObject->compare(c, cs)); +} + +bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->contains(c)); +} + +bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->contains(a)); +} + +bool PythonQtWrapper_QByteArray::contains(QByteArray* theWrappedObject, const char* a) const +{ + return ( theWrappedObject->contains(a)); +} + +int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->count(c)); +} + +int PythonQtWrapper_QByteArray::count(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->count(a)); +} + +bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->endsWith(c)); +} + +bool PythonQtWrapper_QByteArray::endsWith(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->endsWith(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::fill(QByteArray* theWrappedObject, char c, int size) +{ + return &( theWrappedObject->fill(c, size)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromBase64(const QByteArray& base64) +{ + return (QByteArray::fromBase64(base64)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromBase64(const QByteArray& base64, QByteArray::Base64Options options) +{ + return (QByteArray::fromBase64(base64, options)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromHex(const QByteArray& hexEncoded) +{ + return (QByteArray::fromHex(hexEncoded)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent) +{ + return (QByteArray::fromPercentEncoding(pctEncoded, percent)); +} + +QByteRef PythonQtWrapper_QByteArray::front(QByteArray* theWrappedObject) +{ + return ( theWrappedObject->front()); +} + +char PythonQtWrapper_QByteArray::front(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->front()); +} + +int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, char c, int from) const +{ + return ( theWrappedObject->indexOf(c, from)); +} + +int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, const QByteArray& a, int from) const +{ + return ( theWrappedObject->indexOf(a, from)); +} + +int PythonQtWrapper_QByteArray::indexOf(QByteArray* theWrappedObject, const QString& s, int from) const +{ + return ( theWrappedObject->indexOf(s, from)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, char c) +{ + return &( theWrappedObject->insert(i, c)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const QByteArray& a) +{ + return &( theWrappedObject->insert(i, a)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const QString& s) +{ + return &( theWrappedObject->insert(i, s)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, const char* s, int len) +{ + return &( theWrappedObject->insert(i, s, len)); +} + +QByteArray* PythonQtWrapper_QByteArray::insert(QByteArray* theWrappedObject, int i, int count, char c) +{ + return &( theWrappedObject->insert(i, count, c)); +} + +bool PythonQtWrapper_QByteArray::isEmpty(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QByteArray::isLower(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isLower()); +} + +bool PythonQtWrapper_QByteArray::isNull(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QByteArray::isSharedWith(QByteArray* theWrappedObject, const QByteArray& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +bool PythonQtWrapper_QByteArray::isUpper(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->isUpper()); +} + +int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, char c, int from) const +{ + return ( theWrappedObject->lastIndexOf(c, from)); +} + +int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, const QByteArray& a, int from) const +{ + return ( theWrappedObject->lastIndexOf(a, from)); +} + +int PythonQtWrapper_QByteArray::lastIndexOf(QByteArray* theWrappedObject, const QString& s, int from) const +{ + return ( theWrappedObject->lastIndexOf(s, from)); +} + +QByteArray PythonQtWrapper_QByteArray::left(QByteArray* theWrappedObject, int len) const +{ + return ( theWrappedObject->left(len)); +} + +QByteArray PythonQtWrapper_QByteArray::leftJustified(QByteArray* theWrappedObject, int width, char fill, bool truncate) const +{ + return ( theWrappedObject->leftJustified(width, fill, truncate)); +} + +int PythonQtWrapper_QByteArray::length(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QByteArray PythonQtWrapper_QByteArray::mid(QByteArray* theWrappedObject, int index, int len) const +{ + return ( theWrappedObject->mid(index, len)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(double arg__1, char f, int prec) +{ + return (QByteArray::number(arg__1, f, prec)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(int arg__1, int base) +{ + return (QByteArray::number(arg__1, base)); +} + +QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(qlonglong arg__1, int base) +{ + return (QByteArray::number(arg__1, base)); +} + +bool PythonQtWrapper_QByteArray::__ne__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)!= a2); +} + +const QByteArray PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, char a2) +{ + return ( (*theWrappedObject)+ a2); +} + +const QByteArray PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)+ a2); +} + +const QString PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, const QString& s) +{ + return ( (*theWrappedObject)+ s); +} + +const QByteArray PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, const char* a2) +{ + return ( (*theWrappedObject)+ a2); +} + +QByteArray* PythonQtWrapper_QByteArray::__iadd__(QByteArray* theWrappedObject, const QByteArray& a) +{ + return &( (*theWrappedObject)+= a); +} + +bool PythonQtWrapper_QByteArray::__lt__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)< a2); +} + +bool PythonQtWrapper_QByteArray::__lt__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)< s2); +} + +void PythonQtWrapper_QByteArray::writeTo(QByteArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QByteArray::__le__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)<= a2); +} + +bool PythonQtWrapper_QByteArray::__le__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)<= s2); +} + +QByteArray* PythonQtWrapper_QByteArray::operator_assign(QByteArray* theWrappedObject, const QByteArray& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QByteArray::__eq__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)== a2); +} + +bool PythonQtWrapper_QByteArray::__eq__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)== s2); +} + +bool PythonQtWrapper_QByteArray::__gt__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)> a2); +} + +bool PythonQtWrapper_QByteArray::__gt__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)> s2); +} + +bool PythonQtWrapper_QByteArray::__ge__(QByteArray* theWrappedObject, const QByteArray& a2) +{ + return ( (*theWrappedObject)>= a2); +} + +bool PythonQtWrapper_QByteArray::__ge__(QByteArray* theWrappedObject, const QString& s2) const +{ + return ( (*theWrappedObject)>= s2); +} + +void PythonQtWrapper_QByteArray::readFrom(QByteArray* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, char c) +{ + return &( theWrappedObject->prepend(c)); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, const QByteArray& a) +{ + return &( theWrappedObject->prepend(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, const char* s, int len) +{ + return &( theWrappedObject->prepend(s, len)); +} + +QByteArray* PythonQtWrapper_QByteArray::prepend(QByteArray* theWrappedObject, int count, char c) +{ + return &( theWrappedObject->prepend(count, c)); +} + +void PythonQtWrapper_QByteArray::push_back(QByteArray* theWrappedObject, const QByteArray& a) +{ + ( theWrappedObject->push_back(a)); +} + +void PythonQtWrapper_QByteArray::push_front(QByteArray* theWrappedObject, const QByteArray& a) +{ + ( theWrappedObject->push_front(a)); +} + +QByteArray* PythonQtWrapper_QByteArray::remove(QByteArray* theWrappedObject, int index, int len) +{ + return &( theWrappedObject->remove(index, len)); +} + +QByteArray PythonQtWrapper_QByteArray::repeated(QByteArray* theWrappedObject, int times) const +{ + return ( theWrappedObject->repeated(times)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char before, char after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char before, const QByteArray& after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, char c, const QString& after) +{ + return &( theWrappedObject->replace(c, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const QByteArray& before, const QByteArray& after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const QString& before, const QByteArray& after) +{ + return &( theWrappedObject->replace(before, after)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, const char* before, int bsize, const char* after, int asize) +{ + return &( theWrappedObject->replace(before, bsize, after, asize)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, int index, int len, const QByteArray& s) +{ + return &( theWrappedObject->replace(index, len, s)); +} + +QByteArray* PythonQtWrapper_QByteArray::replace(QByteArray* theWrappedObject, int index, int len, const char* s, int alen) +{ + return &( theWrappedObject->replace(index, len, s, alen)); +} + +void PythonQtWrapper_QByteArray::reserve(QByteArray* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QByteArray::resize(QByteArray* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +QByteArray PythonQtWrapper_QByteArray::right(QByteArray* theWrappedObject, int len) const +{ + return ( theWrappedObject->right(len)); +} + +QByteArray PythonQtWrapper_QByteArray::rightJustified(QByteArray* theWrappedObject, int width, char fill, bool truncate) const +{ + return ( theWrappedObject->rightJustified(width, fill, truncate)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, double arg__1, char f, int prec) +{ + return &( theWrappedObject->setNum(arg__1, f, prec)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, float arg__1, char f, int prec) +{ + return &( theWrappedObject->setNum(arg__1, f, prec)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, int arg__1, int base) +{ + return &( theWrappedObject->setNum(arg__1, base)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base) +{ + return &( theWrappedObject->setNum(arg__1, base)); +} + +QByteArray* PythonQtWrapper_QByteArray::setNum(QByteArray* theWrappedObject, short arg__1, int base) +{ + return &( theWrappedObject->setNum(arg__1, base)); +} + +QByteArray* PythonQtWrapper_QByteArray::setRawData(QByteArray* theWrappedObject, const char* a, uint n) +{ + return &( theWrappedObject->setRawData(a, n)); +} + +void PythonQtWrapper_QByteArray::shrink_to_fit(QByteArray* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +QByteArray PythonQtWrapper_QByteArray::simplified(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->simplified()); +} + +int PythonQtWrapper_QByteArray::size(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QList PythonQtWrapper_QByteArray::split(QByteArray* theWrappedObject, char sep) const +{ + return ( theWrappedObject->split(sep)); +} + +void PythonQtWrapper_QByteArray::squeeze(QByteArray* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, char c) const +{ + return ( theWrappedObject->startsWith(c)); +} + +bool PythonQtWrapper_QByteArray::startsWith(QByteArray* theWrappedObject, const QByteArray& a) const +{ + return ( theWrappedObject->startsWith(a)); +} + +void PythonQtWrapper_QByteArray::swap(QByteArray* theWrappedObject, QByteArray& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QByteArray::toBase64(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toBase64()); +} + +QByteArray PythonQtWrapper_QByteArray::toBase64(QByteArray* theWrappedObject, QByteArray::Base64Options options) const +{ + return ( theWrappedObject->toBase64(options)); +} + +double PythonQtWrapper_QByteArray::toDouble(QByteArray* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->toDouble(ok)); +} + +float PythonQtWrapper_QByteArray::toFloat(QByteArray* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->toFloat(ok)); +} + +QByteArray PythonQtWrapper_QByteArray::toHex(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toHex()); +} + +QByteArray PythonQtWrapper_QByteArray::toHex(QByteArray* theWrappedObject, char separator) const +{ + return ( theWrappedObject->toHex(separator)); +} + +int PythonQtWrapper_QByteArray::toInt(QByteArray* theWrappedObject, bool* ok, int base) const +{ + return ( theWrappedObject->toInt(ok, base)); +} + +QByteArray PythonQtWrapper_QByteArray::toLower(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toLower()); +} + +QByteArray PythonQtWrapper_QByteArray::toPercentEncoding(QByteArray* theWrappedObject, const QByteArray& exclude, const QByteArray& include, char percent) const +{ + return ( theWrappedObject->toPercentEncoding(exclude, include, percent)); +} + +ushort PythonQtWrapper_QByteArray::toUShort(QByteArray* theWrappedObject, bool* ok, int base) const +{ + return ( theWrappedObject->toUShort(ok, base)); +} + +QByteArray PythonQtWrapper_QByteArray::toUpper(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->toUpper()); +} + +QByteArray PythonQtWrapper_QByteArray::trimmed(QByteArray* theWrappedObject) const +{ + return ( theWrappedObject->trimmed()); +} + +void PythonQtWrapper_QByteArray::truncate(QByteArray* theWrappedObject, int pos) +{ + ( theWrappedObject->truncate(pos)); +} + + + +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::addDays(QDate* theWrappedObject, qint64 days) const +{ + return ( theWrappedObject->addDays(days)); +} + +QDate PythonQtWrapper_QDate::addMonths(QDate* theWrappedObject, int months) const +{ + return ( theWrappedObject->addMonths(months)); +} + +QDate PythonQtWrapper_QDate::addYears(QDate* theWrappedObject, int years) const +{ + return ( theWrappedObject->addYears(years)); +} + +QDate PythonQtWrapper_QDate::static_QDate_currentDate() +{ + return (QDate::currentDate()); +} + +int PythonQtWrapper_QDate::day(QDate* theWrappedObject) const +{ + return ( theWrappedObject->day()); +} + +int PythonQtWrapper_QDate::dayOfWeek(QDate* theWrappedObject) const +{ + return ( theWrappedObject->dayOfWeek()); +} + +int PythonQtWrapper_QDate::dayOfYear(QDate* theWrappedObject) const +{ + return ( theWrappedObject->dayOfYear()); +} + +int PythonQtWrapper_QDate::daysInMonth(QDate* theWrappedObject) const +{ + return ( theWrappedObject->daysInMonth()); +} + +int PythonQtWrapper_QDate::daysInYear(QDate* theWrappedObject) const +{ + return ( theWrappedObject->daysInYear()); +} + +qint64 PythonQtWrapper_QDate::daysTo(QDate* theWrappedObject, const QDate& arg__1) const +{ + return ( theWrappedObject->daysTo(arg__1)); +} + +QDateTime PythonQtWrapper_QDate::endOfDay(QDate* theWrappedObject, Qt::TimeSpec spec, int offsetSeconds) const +{ + return ( theWrappedObject->endOfDay(spec, offsetSeconds)); +} + +QDateTime PythonQtWrapper_QDate::endOfDay(QDate* theWrappedObject, const QTimeZone& zone) const +{ + return ( theWrappedObject->endOfDay(zone)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromJulianDay(qint64 jd_) +{ + return (QDate::fromJulianDay(jd_)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, Qt::DateFormat f) +{ + return (QDate::fromString(s, f)); +} + +QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, const QString& format) +{ + return (QDate::fromString(s, format)); +} + +void PythonQtWrapper_QDate::getDate(QDate* theWrappedObject, int* year, int* month, int* day) +{ + ( theWrappedObject->getDate(year, month, day)); +} + +void PythonQtWrapper_QDate::getDate(QDate* theWrappedObject, int* year, int* month, int* day) const +{ + ( theWrappedObject->getDate(year, month, day)); +} + +bool PythonQtWrapper_QDate::static_QDate_isLeapYear(int year) +{ + return (QDate::isLeapYear(year)); +} + +bool PythonQtWrapper_QDate::isNull(QDate* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDate::isValid(QDate* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QDate::static_QDate_isValid(int y, int m, int d) +{ + return (QDate::isValid(y, m, d)); +} + +QString PythonQtWrapper_QDate::static_QDate_longDayName(int weekday, QDate::MonthNameType type) +{ + return (QDate::longDayName(weekday, type)); +} + +QString PythonQtWrapper_QDate::static_QDate_longMonthName(int month, QDate::MonthNameType type) +{ + return (QDate::longMonthName(month, type)); +} + +int PythonQtWrapper_QDate::month(QDate* theWrappedObject) const +{ + return ( theWrappedObject->month()); +} + +bool PythonQtWrapper_QDate::__ne__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QDate::__lt__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QDate::writeTo(QDate* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QDate::__le__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QDate::__eq__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QDate::__gt__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QDate::__ge__(QDate* theWrappedObject, const QDate& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QDate::readFrom(QDate* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QDate::setDate(QDate* theWrappedObject, int year, int month, int day) +{ + return ( theWrappedObject->setDate(year, month, day)); +} + +QString PythonQtWrapper_QDate::static_QDate_shortDayName(int weekday, QDate::MonthNameType type) +{ + return (QDate::shortDayName(weekday, type)); +} + +QString PythonQtWrapper_QDate::static_QDate_shortMonthName(int month, QDate::MonthNameType type) +{ + return (QDate::shortMonthName(month, type)); +} + +QDateTime PythonQtWrapper_QDate::startOfDay(QDate* theWrappedObject, Qt::TimeSpec spec, int offsetSeconds) const +{ + return ( theWrappedObject->startOfDay(spec, offsetSeconds)); +} + +QDateTime PythonQtWrapper_QDate::startOfDay(QDate* theWrappedObject, const QTimeZone& zone) const +{ + return ( theWrappedObject->startOfDay(zone)); +} + +qint64 PythonQtWrapper_QDate::toJulianDay(QDate* theWrappedObject) const +{ + return ( theWrappedObject->toJulianDay()); +} + +QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, Qt::DateFormat format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, const QString& format) const +{ + return ( theWrappedObject->toString(format)); +} + +int PythonQtWrapper_QDate::weekNumber(QDate* theWrappedObject, int* yearNum) const +{ + return ( theWrappedObject->weekNumber(yearNum)); +} + +int PythonQtWrapper_QDate::year(QDate* theWrappedObject) const +{ + return ( theWrappedObject->year()); +} + +QString PythonQtWrapper_QDate::py_toString(QDate* obj) { return obj->toString(); } + + +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 QDate& date, const QTime& time, Qt::TimeSpec spec, int offsetSeconds) +{ +return new QDateTime(date, time, spec, offsetSeconds); } + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& date, const QTime& time, const QTimeZone& timeZone) +{ +return new QDateTime(date, time, timeZone); } + +QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDateTime& other) +{ +return new QDateTime(other); } + +QDateTime PythonQtWrapper_QDateTime::addDays(QDateTime* theWrappedObject, qint64 days) const +{ + return ( theWrappedObject->addDays(days)); +} + +QDateTime PythonQtWrapper_QDateTime::addMSecs(QDateTime* theWrappedObject, qint64 msecs) const +{ + return ( theWrappedObject->addMSecs(msecs)); +} + +QDateTime PythonQtWrapper_QDateTime::addMonths(QDateTime* theWrappedObject, int months) const +{ + return ( theWrappedObject->addMonths(months)); +} + +QDateTime PythonQtWrapper_QDateTime::addSecs(QDateTime* theWrappedObject, qint64 secs) const +{ + return ( theWrappedObject->addSecs(secs)); +} + +QDateTime PythonQtWrapper_QDateTime::addYears(QDateTime* theWrappedObject, int years) const +{ + return ( theWrappedObject->addYears(years)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_currentDateTime() +{ + return (QDateTime::currentDateTime()); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_currentDateTimeUtc() +{ + return (QDateTime::currentDateTimeUtc()); +} + +qint64 PythonQtWrapper_QDateTime::static_QDateTime_currentMSecsSinceEpoch() +{ + return (QDateTime::currentMSecsSinceEpoch()); +} + +qint64 PythonQtWrapper_QDateTime::static_QDateTime_currentSecsSinceEpoch() +{ + return (QDateTime::currentSecsSinceEpoch()); +} + +QDate PythonQtWrapper_QDateTime::date(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->date()); +} + +qint64 PythonQtWrapper_QDateTime::daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const +{ + return ( theWrappedObject->daysTo(arg__1)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromMSecsSinceEpoch(qint64 msecs) +{ + return (QDateTime::fromMSecsSinceEpoch(msecs)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetFromUtc) +{ + return (QDateTime::fromMSecsSinceEpoch(msecs, spec, offsetFromUtc)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, const QTimeZone& timeZone) +{ + return (QDateTime::fromMSecsSinceEpoch(msecs, timeZone)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spe, int offsetFromUtc) +{ + return (QDateTime::fromSecsSinceEpoch(secs, spe, offsetFromUtc)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromSecsSinceEpoch(qint64 secs, const QTimeZone& timeZone) +{ + return (QDateTime::fromSecsSinceEpoch(secs, timeZone)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromString(const QString& s, Qt::DateFormat f) +{ + return (QDateTime::fromString(s, f)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromString(const QString& s, const QString& format) +{ + return (QDateTime::fromString(s, format)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC) +{ + return (QDateTime::fromTime_t(secsSince1Jan1970UTC)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec, int offsetFromUtc) +{ + return (QDateTime::fromTime_t(secsSince1Jan1970UTC, spec, offsetFromUtc)); +} + +QDateTime PythonQtWrapper_QDateTime::static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, const QTimeZone& timeZone) +{ + return (QDateTime::fromTime_t(secsSince1Jan1970UTC, timeZone)); +} + +bool PythonQtWrapper_QDateTime::isDaylightTime(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isDaylightTime()); +} + +bool PythonQtWrapper_QDateTime::isNull(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QDateTime::isValid(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qint64 PythonQtWrapper_QDateTime::msecsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const +{ + return ( theWrappedObject->msecsTo(arg__1)); +} + +int PythonQtWrapper_QDateTime::offsetFromUtc(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->offsetFromUtc()); +} + +bool PythonQtWrapper_QDateTime::__ne__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QDateTime::__lt__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QDateTime::writeTo(QDateTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QDateTime::__le__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QDateTime::__eq__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QDateTime::__gt__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QDateTime::__ge__(QDateTime* theWrappedObject, const QDateTime& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QDateTime::readFrom(QDateTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +qint64 PythonQtWrapper_QDateTime::secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const +{ + return ( theWrappedObject->secsTo(arg__1)); +} + +void PythonQtWrapper_QDateTime::setDate(QDateTime* theWrappedObject, const QDate& date) +{ + ( theWrappedObject->setDate(date)); +} + +void PythonQtWrapper_QDateTime::setMSecsSinceEpoch(QDateTime* theWrappedObject, qint64 msecs) +{ + ( theWrappedObject->setMSecsSinceEpoch(msecs)); +} + +void PythonQtWrapper_QDateTime::setOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds) +{ + ( theWrappedObject->setOffsetFromUtc(offsetSeconds)); +} + +void PythonQtWrapper_QDateTime::setSecsSinceEpoch(QDateTime* theWrappedObject, qint64 secs) +{ + ( theWrappedObject->setSecsSinceEpoch(secs)); +} + +void PythonQtWrapper_QDateTime::setTime(QDateTime* theWrappedObject, const QTime& time) +{ + ( theWrappedObject->setTime(time)); +} + +void PythonQtWrapper_QDateTime::setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) +{ + ( theWrappedObject->setTimeSpec(spec)); +} + +void PythonQtWrapper_QDateTime::setTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone) +{ + ( theWrappedObject->setTimeZone(toZone)); +} + +void PythonQtWrapper_QDateTime::setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC) +{ + ( theWrappedObject->setTime_t(secsSince1Jan1970UTC)); +} + +void PythonQtWrapper_QDateTime::setUtcOffset(QDateTime* theWrappedObject, int seconds) +{ + ( theWrappedObject->setUtcOffset(seconds)); +} + +void PythonQtWrapper_QDateTime::swap(QDateTime* theWrappedObject, QDateTime& other) +{ + ( theWrappedObject->swap(other)); +} + +QTime PythonQtWrapper_QDateTime::time(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->time()); +} + +Qt::TimeSpec PythonQtWrapper_QDateTime::timeSpec(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->timeSpec()); +} + +QTimeZone PythonQtWrapper_QDateTime::timeZone(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->timeZone()); +} + +QString PythonQtWrapper_QDateTime::timeZoneAbbreviation(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->timeZoneAbbreviation()); +} + +QDateTime PythonQtWrapper_QDateTime::toLocalTime(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toLocalTime()); +} + +qint64 PythonQtWrapper_QDateTime::toMSecsSinceEpoch(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toMSecsSinceEpoch()); +} + +QDateTime PythonQtWrapper_QDateTime::toOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds) const +{ + return ( theWrappedObject->toOffsetFromUtc(offsetSeconds)); +} + +qint64 PythonQtWrapper_QDateTime::toSecsSinceEpoch(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toSecsSinceEpoch()); +} + +QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, Qt::DateFormat format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QDateTime::toString(QDateTime* theWrappedObject, const QString& format) const +{ + return ( theWrappedObject->toString(format)); +} + +QDateTime PythonQtWrapper_QDateTime::toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) const +{ + return ( theWrappedObject->toTimeSpec(spec)); +} + +QDateTime PythonQtWrapper_QDateTime::toTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone) const +{ + return ( theWrappedObject->toTimeZone(toZone)); +} + +uint PythonQtWrapper_QDateTime::toTime_t(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toTime_t()); +} + +QDateTime PythonQtWrapper_QDateTime::toUTC(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->toUTC()); +} + +int PythonQtWrapper_QDateTime::utcOffset(QDateTime* theWrappedObject) const +{ + return ( theWrappedObject->utcOffset()); +} + +QString PythonQtWrapper_QDateTime::py_toString(QDateTime* obj) { return obj->toString(); } + + +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); } + +QPoint PythonQtWrapper_QLine::center(QLine* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +int PythonQtWrapper_QLine::dx(QLine* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +int PythonQtWrapper_QLine::dy(QLine* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +bool PythonQtWrapper_QLine::isNull(QLine* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QLine::__ne__(QLine* theWrappedObject, const QLine& d) const +{ + return ( (*theWrappedObject)!= d); +} + +QLine PythonQtWrapper_QLine::__mul__(QLine* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QLine PythonQtWrapper_QLine::__mul__(QLine* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QLine::writeTo(QLine* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QLine::__eq__(QLine* theWrappedObject, const QLine& d) const +{ + return ( (*theWrappedObject)== d); +} + +void PythonQtWrapper_QLine::readFrom(QLine* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPoint PythonQtWrapper_QLine::p1(QLine* theWrappedObject) const +{ + return ( theWrappedObject->p1()); +} + +QPoint PythonQtWrapper_QLine::p2(QLine* theWrappedObject) const +{ + return ( theWrappedObject->p2()); +} + +void PythonQtWrapper_QLine::setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2) +{ + ( theWrappedObject->setLine(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QLine::setP1(QLine* theWrappedObject, const QPoint& p1) +{ + ( theWrappedObject->setP1(p1)); +} + +void PythonQtWrapper_QLine::setP2(QLine* theWrappedObject, const QPoint& p2) +{ + ( theWrappedObject->setP2(p2)); +} + +void PythonQtWrapper_QLine::setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2) +{ + ( theWrappedObject->setPoints(p1, p2)); +} + +void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +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()); +} + +int PythonQtWrapper_QLine::y2(QLine* theWrappedObject) const +{ + return ( theWrappedObject->y2()); +} + +QString PythonQtWrapper_QLine::py_toString(QLine* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->angle()); +} + +qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject, const QLineF& l) const +{ + return ( theWrappedObject->angle(l)); +} + +qreal PythonQtWrapper_QLineF::angleTo(QLineF* theWrappedObject, const QLineF& l) const +{ + return ( theWrappedObject->angleTo(l)); +} + +QPointF PythonQtWrapper_QLineF::center(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +qreal PythonQtWrapper_QLineF::dx(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +qreal PythonQtWrapper_QLineF::dy(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +QLineF PythonQtWrapper_QLineF::static_QLineF_fromPolar(qreal length, qreal angle) +{ + return (QLineF::fromPolar(length, angle)); +} + +QLineF::IntersectType PythonQtWrapper_QLineF::intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const +{ + return ( theWrappedObject->intersect(l, intersectionPoint)); +} + +QLineF::IntersectType PythonQtWrapper_QLineF::intersects(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const +{ + return ( theWrappedObject->intersects(l, intersectionPoint)); +} + +bool PythonQtWrapper_QLineF::isNull(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QLineF::length(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QLineF PythonQtWrapper_QLineF::normalVector(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->normalVector()); +} + +bool PythonQtWrapper_QLineF::__ne__(QLineF* theWrappedObject, const QLineF& d) const +{ + return ( (*theWrappedObject)!= d); +} + +QLineF PythonQtWrapper_QLineF::__mul__(QLineF* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QLineF PythonQtWrapper_QLineF::__mul__(QLineF* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QLineF::writeTo(QLineF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QLineF::__eq__(QLineF* theWrappedObject, const QLineF& d) const +{ + return ( (*theWrappedObject)== d); +} + +void PythonQtWrapper_QLineF::readFrom(QLineF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPointF PythonQtWrapper_QLineF::p1(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->p1()); +} + +QPointF PythonQtWrapper_QLineF::p2(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->p2()); +} + +QPointF PythonQtWrapper_QLineF::pointAt(QLineF* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->pointAt(t)); +} + +void PythonQtWrapper_QLineF::setAngle(QLineF* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setAngle(angle)); +} + +void PythonQtWrapper_QLineF::setLength(QLineF* theWrappedObject, qreal len) +{ + ( theWrappedObject->setLength(len)); +} + +void PythonQtWrapper_QLineF::setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->setLine(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QLineF::setP1(QLineF* theWrappedObject, const QPointF& p1) +{ + ( theWrappedObject->setP1(p1)); +} + +void PythonQtWrapper_QLineF::setP2(QLineF* theWrappedObject, const QPointF& p2) +{ + ( theWrappedObject->setP2(p2)); +} + +void PythonQtWrapper_QLineF::setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2) +{ + ( theWrappedObject->setPoints(p1, p2)); +} + +QLine PythonQtWrapper_QLineF::toLine(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->toLine()); +} + +void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QLineF PythonQtWrapper_QLineF::unitVector(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->unitVector()); +} + +qreal PythonQtWrapper_QLineF::x1(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->x1()); +} + +qreal PythonQtWrapper_QLineF::x2(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->x2()); +} + +qreal PythonQtWrapper_QLineF::y1(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->y1()); +} + +qreal PythonQtWrapper_QLineF::y2(QLineF* theWrappedObject) const +{ + return ( theWrappedObject->y2()); +} + +QString PythonQtWrapper_QLineF::py_toString(QLineF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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(QLocale::Language language, QLocale::Script script, QLocale::Country country) +{ +return new QLocale(language, script, 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); } + +QString PythonQtWrapper_QLocale::amText(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->amText()); +} + +QString PythonQtWrapper_QLocale::bcp47Name(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->bcp47Name()); +} + +QLocale PythonQtWrapper_QLocale::static_QLocale_c() +{ + return (QLocale::c()); +} + +QLocale PythonQtWrapper_QLocale::collation(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->collation()); +} + +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::static_QLocale_countryToString(QLocale::Country country) +{ + return (QLocale::countryToString(country)); +} + +QString PythonQtWrapper_QLocale::createSeparatedList(QLocale* theWrappedObject, const QStringList& strl) const +{ + return ( theWrappedObject->createSeparatedList(strl)); +} + +QString PythonQtWrapper_QLocale::currencySymbol(QLocale* theWrappedObject, QLocale::CurrencySymbolFormat arg__1) const +{ + return ( theWrappedObject->currencySymbol(arg__1)); +} + +QString PythonQtWrapper_QLocale::dateFormat(QLocale* theWrappedObject, QLocale::FormatType format) const +{ + return ( theWrappedObject->dateFormat(format)); +} + +QString PythonQtWrapper_QLocale::dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const +{ + return ( theWrappedObject->dateTimeFormat(format)); +} + +QString PythonQtWrapper_QLocale::dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const +{ + return ( theWrappedObject->dayName(arg__1, format)); +} + +QChar PythonQtWrapper_QLocale::decimalPoint(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->decimalPoint()); +} + +QChar PythonQtWrapper_QLocale::exponential(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->exponential()); +} + +Qt::DayOfWeek PythonQtWrapper_QLocale::firstDayOfWeek(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->firstDayOfWeek()); +} + +QChar PythonQtWrapper_QLocale::groupSeparator(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->groupSeparator()); +} + +QLocale::Language PythonQtWrapper_QLocale::language(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->language()); +} + +QString PythonQtWrapper_QLocale::static_QLocale_languageToString(QLocale::Language language) +{ + return (QLocale::languageToString(language)); +} + +QList PythonQtWrapper_QLocale::static_QLocale_matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country) +{ + return (QLocale::matchingLocales(language, script, country)); +} + +QLocale::MeasurementSystem PythonQtWrapper_QLocale::measurementSystem(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->measurementSystem()); +} + +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()); +} + +QString PythonQtWrapper_QLocale::nativeCountryName(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->nativeCountryName()); +} + +QString PythonQtWrapper_QLocale::nativeLanguageName(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->nativeLanguageName()); +} + +QChar PythonQtWrapper_QLocale::negativeSign(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->negativeSign()); +} + +QLocale::NumberOptions PythonQtWrapper_QLocale::numberOptions(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->numberOptions()); +} + +bool PythonQtWrapper_QLocale::__ne__(QLocale* theWrappedObject, const QLocale& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QLocale::writeTo(QLocale* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QLocale::__eq__(QLocale* theWrappedObject, const QLocale& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QLocale::readFrom(QLocale* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QChar PythonQtWrapper_QLocale::percent(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->percent()); +} + +QString PythonQtWrapper_QLocale::pmText(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->pmText()); +} + +QChar PythonQtWrapper_QLocale::positiveSign(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->positiveSign()); +} + +QString PythonQtWrapper_QLocale::quoteString(QLocale* theWrappedObject, const QString& str, QLocale::QuotationStyle style) const +{ + return ( theWrappedObject->quoteString(str, style)); +} + +QString PythonQtWrapper_QLocale::quoteString(QLocale* theWrappedObject, const QStringRef& str, QLocale::QuotationStyle style) const +{ + return ( theWrappedObject->quoteString(str, style)); +} + +QLocale::Script PythonQtWrapper_QLocale::script(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->script()); +} + +QString PythonQtWrapper_QLocale::static_QLocale_scriptToString(QLocale::Script script) +{ + return (QLocale::scriptToString(script)); +} + +void PythonQtWrapper_QLocale::static_QLocale_setDefault(const QLocale& locale) +{ + (QLocale::setDefault(locale)); +} + +void PythonQtWrapper_QLocale::setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options) +{ + ( theWrappedObject->setNumberOptions(options)); +} + +QString PythonQtWrapper_QLocale::standaloneDayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const +{ + return ( theWrappedObject->standaloneDayName(arg__1, format)); +} + +QString PythonQtWrapper_QLocale::standaloneMonthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format) const +{ + return ( theWrappedObject->standaloneMonthName(arg__1, format)); +} + +void PythonQtWrapper_QLocale::swap(QLocale* theWrappedObject, QLocale& other) +{ + ( theWrappedObject->swap(other)); +} + +QLocale PythonQtWrapper_QLocale::static_QLocale_system() +{ + return (QLocale::system()); +} + +Qt::LayoutDirection PythonQtWrapper_QLocale::textDirection(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +QString PythonQtWrapper_QLocale::timeFormat(QLocale* theWrappedObject, QLocale::FormatType format) const +{ + return ( theWrappedObject->timeFormat(format)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol, int precision) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol, precision)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(i, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol, int precision) const +{ + return ( theWrappedObject->toCurrencyString(i, symbol, precision)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, int arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, qlonglong arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, qulonglong arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, short arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, uint arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QString PythonQtWrapper_QLocale::toCurrencyString(QLocale* theWrappedObject, ushort arg__1, const QString& symbol) const +{ + return ( theWrappedObject->toCurrencyString(arg__1, symbol)); +} + +QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const +{ + return ( theWrappedObject->toDate(string, arg__2)); +} + +QDate PythonQtWrapper_QLocale::toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const +{ + return ( theWrappedObject->toDate(string, format)); +} + +QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format) const +{ + return ( theWrappedObject->toDateTime(string, format)); +} + +QDateTime PythonQtWrapper_QLocale::toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const +{ + return ( theWrappedObject->toDateTime(string, format)); +} + +double PythonQtWrapper_QLocale::toDouble(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toDouble(s, ok)); +} + +double PythonQtWrapper_QLocale::toDouble(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toDouble(s, ok)); +} + +float PythonQtWrapper_QLocale::toFloat(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toFloat(s, ok)); +} + +float PythonQtWrapper_QLocale::toFloat(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toFloat(s, ok)); +} + +int PythonQtWrapper_QLocale::toInt(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toInt(s, ok)); +} + +int PythonQtWrapper_QLocale::toInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toInt(s, ok)); +} + +long PythonQtWrapper_QLocale::toLong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toLong(s, ok)); +} + +long PythonQtWrapper_QLocale::toLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toLong(s, ok)); +} + +qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toLongLong(s, ok)); +} + +qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toLongLong(s, ok)); +} + +QString PythonQtWrapper_QLocale::toLower(QLocale* theWrappedObject, const QString& str) const +{ + return ( theWrappedObject->toLower(str)); +} + +short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toShort(s, ok)); +} + +short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toShort(s, ok)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format) const +{ + return ( theWrappedObject->toString(date, format)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDate& date, const QString& formatStr) const +{ + return ( theWrappedObject->toString(date, formatStr)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format) const +{ + return ( theWrappedObject->toString(dateTime, format)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, const QDateTime& dateTime, const QString& format) const +{ + return ( theWrappedObject->toString(dateTime, format)); +} + +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 QTime& time, const QString& formatStr) const +{ + return ( theWrappedObject->toString(time, formatStr)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, double i, char f, int prec) const +{ + return ( theWrappedObject->toString(i, f, prec)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, float i, char f, int prec) const +{ + return ( theWrappedObject->toString(i, f, prec)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, int i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, long i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, qlonglong i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, short i) const +{ + return ( theWrappedObject->toString(i)); +} + +QString PythonQtWrapper_QLocale::toString(QLocale* theWrappedObject, ulong i) const +{ + return ( theWrappedObject->toString(i)); +} + +QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2) const +{ + return ( theWrappedObject->toTime(string, arg__2)); +} + +QTime PythonQtWrapper_QLocale::toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const +{ + return ( theWrappedObject->toTime(string, format)); +} + +uint PythonQtWrapper_QLocale::toUInt(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toUInt(s, ok)); +} + +uint PythonQtWrapper_QLocale::toUInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toUInt(s, ok)); +} + +ulong PythonQtWrapper_QLocale::toULong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toULong(s, ok)); +} + +ulong PythonQtWrapper_QLocale::toULong(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toULong(s, ok)); +} + +qulonglong PythonQtWrapper_QLocale::toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toULongLong(s, ok)); +} + +qulonglong PythonQtWrapper_QLocale::toULongLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toULongLong(s, ok)); +} + +ushort PythonQtWrapper_QLocale::toUShort(QLocale* theWrappedObject, const QString& s, bool* ok) const +{ + return ( theWrappedObject->toUShort(s, ok)); +} + +ushort PythonQtWrapper_QLocale::toUShort(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const +{ + return ( theWrappedObject->toUShort(s, ok)); +} + +QString PythonQtWrapper_QLocale::toUpper(QLocale* theWrappedObject, const QString& str) const +{ + return ( theWrappedObject->toUpper(str)); +} + +QStringList PythonQtWrapper_QLocale::uiLanguages(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->uiLanguages()); +} + +QList PythonQtWrapper_QLocale::weekdays(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->weekdays()); +} + +QChar PythonQtWrapper_QLocale::zeroDigit(QLocale* theWrappedObject) const +{ + return ( theWrappedObject->zeroDigit()); +} + +QString PythonQtWrapper_QLocale::py_toString(QLocale* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPoint* PythonQtWrapper_QPoint::new_QPoint() +{ +return new QPoint(); } + +QPoint* PythonQtWrapper_QPoint::new_QPoint(int xpos, int ypos) +{ +return new QPoint(xpos, ypos); } + +int PythonQtWrapper_QPoint::static_QPoint_dotProduct(const QPoint& p1, const QPoint& p2) +{ + return (QPoint::dotProduct(p1, p2)); +} + +bool PythonQtWrapper_QPoint::isNull(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->manhattanLength()); +} + +bool PythonQtWrapper_QPoint::__ne__(QPoint* theWrappedObject, const QPoint& p2) +{ + return ( (*theWrappedObject)!= p2); +} + +QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QMatrix4x4& matrix) +{ + return ( (*theWrappedObject)* matrix); +} + +QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, double factor) +{ + return ( (*theWrappedObject)* factor); +} + +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, int factor) +{ + return ( (*theWrappedObject)* factor); +} + +QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, double factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, int factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QPoint PythonQtWrapper_QPoint::__add__(QPoint* theWrappedObject, const QPoint& p2) +{ + return ( (*theWrappedObject)+ p2); +} + +QPoint* PythonQtWrapper_QPoint::__iadd__(QPoint* theWrappedObject, const QPoint& p) +{ + return &( (*theWrappedObject)+= p); +} + +const QPoint PythonQtWrapper_QPoint::__sub__(QPoint* theWrappedObject, const QPoint& p2) +{ + return ( (*theWrappedObject)- p2); +} + +QPoint* PythonQtWrapper_QPoint::__isub__(QPoint* theWrappedObject, const QPoint& p) +{ + return &( (*theWrappedObject)-= p); +} + +const QPoint PythonQtWrapper_QPoint::__div__(QPoint* theWrappedObject, qreal c) +{ + return ( (*theWrappedObject)/ c); +} + +QPoint* PythonQtWrapper_QPoint::__idiv__(QPoint* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QPoint::writeTo(QPoint* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPoint::__eq__(QPoint* theWrappedObject, const QPoint& p2) +{ + return ( (*theWrappedObject)== p2); +} + +void PythonQtWrapper_QPoint::readFrom(QPoint* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QPoint::setX(QPoint* theWrappedObject, int x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QPoint::setY(QPoint* theWrappedObject, int y) +{ + ( theWrappedObject->setY(y)); +} + +QPoint PythonQtWrapper_QPoint::transposed(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +int PythonQtWrapper_QPoint::x(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QPoint::y(QPoint* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QPoint::py_toString(QPoint* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +qreal PythonQtWrapper_QPointF::static_QPointF_dotProduct(const QPointF& p1, const QPointF& p2) +{ + return (QPointF::dotProduct(p1, p2)); +} + +bool PythonQtWrapper_QPointF::isNull(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qreal PythonQtWrapper_QPointF::manhattanLength(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->manhattanLength()); +} + +bool PythonQtWrapper_QPointF::__ne__(QPointF* theWrappedObject, const QPointF& p2) +{ + return ( (*theWrappedObject)!= p2); +} + +QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QMatrix4x4& matrix) +{ + return ( (*theWrappedObject)* matrix); +} + +QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +const QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, qreal c) +{ + return ( (*theWrappedObject)* c); +} + +QPointF* PythonQtWrapper_QPointF::__imul__(QPointF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)*= c); +} + +const QPointF PythonQtWrapper_QPointF::__add__(QPointF* theWrappedObject, const QPointF& p2) +{ + return ( (*theWrappedObject)+ p2); +} + +QPointF* PythonQtWrapper_QPointF::__iadd__(QPointF* theWrappedObject, const QPointF& p) +{ + return &( (*theWrappedObject)+= p); +} + +const QPointF PythonQtWrapper_QPointF::__sub__(QPointF* theWrappedObject, const QPointF& p2) +{ + return ( (*theWrappedObject)- p2); +} + +QPointF* PythonQtWrapper_QPointF::__isub__(QPointF* theWrappedObject, const QPointF& p) +{ + return &( (*theWrappedObject)-= p); +} + +const QPointF PythonQtWrapper_QPointF::__div__(QPointF* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QPointF* PythonQtWrapper_QPointF::__idiv__(QPointF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)/= c); +} + +void PythonQtWrapper_QPointF::writeTo(QPointF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPointF::__eq__(QPointF* theWrappedObject, const QPointF& p2) +{ + return ( (*theWrappedObject)== p2); +} + +void PythonQtWrapper_QPointF::readFrom(QPointF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QPointF::setX(QPointF* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QPointF::setY(QPointF* theWrappedObject, qreal y) +{ + ( theWrappedObject->setY(y)); +} + +QPoint PythonQtWrapper_QPointF::toPoint(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QPointF::transposed(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +qreal PythonQtWrapper_QPointF::x(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QPointF::y(QPointF* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QPointF::py_toString(QPointF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +void PythonQtWrapper_QRect::adjust(QRect* theWrappedObject, int x1, int y1, int x2, int y2) +{ + ( theWrappedObject->adjust(x1, y1, x2, y2)); +} + +QRect PythonQtWrapper_QRect::adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const +{ + return ( theWrappedObject->adjusted(x1, y1, x2, y2)); +} + +int PythonQtWrapper_QRect::bottom(QRect* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +QPoint PythonQtWrapper_QRect::bottomLeft(QRect* theWrappedObject) const +{ + return ( theWrappedObject->bottomLeft()); +} + +QPoint PythonQtWrapper_QRect::bottomRight(QRect* theWrappedObject) const +{ + return ( theWrappedObject->bottomRight()); +} + +QPoint PythonQtWrapper_QRect::center(QRect* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +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)); +} + +bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->contains(x, y)); +} + +bool PythonQtWrapper_QRect::contains(QRect* theWrappedObject, int x, int y, bool proper) const +{ + return ( theWrappedObject->contains(x, y, proper)); +} + +int PythonQtWrapper_QRect::height(QRect* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +QRect PythonQtWrapper_QRect::intersected(QRect* theWrappedObject, const QRect& other) const +{ + return ( theWrappedObject->intersected(other)); +} + +bool PythonQtWrapper_QRect::intersects(QRect* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRect::isEmpty(QRect* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRect::isNull(QRect* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QRect::isValid(QRect* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QRect::left(QRect* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +QRect PythonQtWrapper_QRect::marginsAdded(QRect* theWrappedObject, const QMargins& margins) const +{ + return ( theWrappedObject->marginsAdded(margins)); +} + +QRect PythonQtWrapper_QRect::marginsRemoved(QRect* theWrappedObject, const QMargins& margins) const +{ + return ( theWrappedObject->marginsRemoved(margins)); +} + +void PythonQtWrapper_QRect::moveBottom(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveBottom(pos)); +} + +void PythonQtWrapper_QRect::moveBottomLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveBottomLeft(p)); +} + +void PythonQtWrapper_QRect::moveBottomRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveBottomRight(p)); +} + +void PythonQtWrapper_QRect::moveCenter(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveCenter(p)); +} + +void PythonQtWrapper_QRect::moveLeft(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveLeft(pos)); +} + +void PythonQtWrapper_QRect::moveRight(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveRight(pos)); +} + +void PythonQtWrapper_QRect::moveTo(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveTo(p)); +} + +void PythonQtWrapper_QRect::moveTo(QRect* theWrappedObject, int x, int t) +{ + ( theWrappedObject->moveTo(x, t)); +} + +void PythonQtWrapper_QRect::moveTop(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->moveTop(pos)); +} + +void PythonQtWrapper_QRect::moveTopLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveTopLeft(p)); +} + +void PythonQtWrapper_QRect::moveTopRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->moveTopRight(p)); +} + +QRect PythonQtWrapper_QRect::normalized(QRect* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +bool PythonQtWrapper_QRect::__ne__(QRect* theWrappedObject, const QRect& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +QRect PythonQtWrapper_QRect::__and__(QRect* theWrappedObject, const QRect& r) const +{ + return ( (*theWrappedObject)& r); +} + +QRect* PythonQtWrapper_QRect::__iand__(QRect* theWrappedObject, const QRect& r) +{ + return &( (*theWrappedObject)&= r); +} + +QRect PythonQtWrapper_QRect::__add__(QRect* theWrappedObject, const QMargins& margins) +{ + return ( (*theWrappedObject)+ margins); +} + +QRect* PythonQtWrapper_QRect::__iadd__(QRect* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QRect PythonQtWrapper_QRect::__sub__(QRect* theWrappedObject, const QMargins& rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QRect* PythonQtWrapper_QRect::__isub__(QRect* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +void PythonQtWrapper_QRect::writeTo(QRect* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QRect::__eq__(QRect* theWrappedObject, const QRect& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QRect::readFrom(QRect* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QRect PythonQtWrapper_QRect::__or__(QRect* theWrappedObject, const QRect& r) const +{ + return ( (*theWrappedObject)| r); +} + +QRect* PythonQtWrapper_QRect::__ior__(QRect* theWrappedObject, const QRect& r) +{ + return &( (*theWrappedObject)|= r); +} + +int PythonQtWrapper_QRect::right(QRect* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QRect::setBottom(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setBottom(pos)); +} + +void PythonQtWrapper_QRect::setBottomLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setBottomLeft(p)); +} + +void PythonQtWrapper_QRect::setBottomRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setBottomRight(p)); +} + +void PythonQtWrapper_QRect::setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2) +{ + ( theWrappedObject->setCoords(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QRect::setHeight(QRect* theWrappedObject, int h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QRect::setLeft(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setLeft(pos)); +} + +void PythonQtWrapper_QRect::setRect(QRect* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QRect::setRight(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setRight(pos)); +} + +void PythonQtWrapper_QRect::setSize(QRect* theWrappedObject, const QSize& s) +{ + ( theWrappedObject->setSize(s)); +} + +void PythonQtWrapper_QRect::setTop(QRect* theWrappedObject, int pos) +{ + ( theWrappedObject->setTop(pos)); +} + +void PythonQtWrapper_QRect::setTopLeft(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setTopLeft(p)); +} + +void PythonQtWrapper_QRect::setTopRight(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->setTopRight(p)); +} + +void PythonQtWrapper_QRect::setWidth(QRect* theWrappedObject, int w) +{ + ( theWrappedObject->setWidth(w)); +} + +void PythonQtWrapper_QRect::setX(QRect* theWrappedObject, int x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QRect::setY(QRect* theWrappedObject, int y) +{ + ( theWrappedObject->setY(y)); +} + +QSize PythonQtWrapper_QRect::size(QRect* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +int PythonQtWrapper_QRect::top(QRect* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QPoint PythonQtWrapper_QRect::topLeft(QRect* theWrappedObject) const +{ + return ( theWrappedObject->topLeft()); +} + +QPoint PythonQtWrapper_QRect::topRight(QRect* theWrappedObject) const +{ + return ( theWrappedObject->topRight()); +} + +void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QRect::translate(QRect* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QRect PythonQtWrapper_QRect::translated(QRect* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QRect PythonQtWrapper_QRect::transposed(QRect* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QRect PythonQtWrapper_QRect::united(QRect* theWrappedObject, const QRect& other) const +{ + return ( theWrappedObject->united(other)); +} + +int PythonQtWrapper_QRect::width(QRect* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +int PythonQtWrapper_QRect::x(QRect* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QRect::y(QRect* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QRect::py_toString(QRect* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +void PythonQtWrapper_QRectF::adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->adjust(x1, y1, x2, y2)); +} + +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::bottom(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +QPointF PythonQtWrapper_QRectF::bottomLeft(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->bottomLeft()); +} + +QPointF PythonQtWrapper_QRectF::bottomRight(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->bottomRight()); +} + +QPointF PythonQtWrapper_QRectF::center(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->contains(p)); +} + +bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QRectF& r) const +{ + return ( theWrappedObject->contains(r)); +} + +bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->contains(x, y)); +} + +qreal PythonQtWrapper_QRectF::height(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +QRectF PythonQtWrapper_QRectF::intersected(QRectF* theWrappedObject, const QRectF& other) const +{ + return ( theWrappedObject->intersected(other)); +} + +bool PythonQtWrapper_QRectF::intersects(QRectF* theWrappedObject, const QRectF& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRectF::isEmpty(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRectF::isNull(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QRectF::isValid(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QRectF::left(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +QRectF PythonQtWrapper_QRectF::marginsAdded(QRectF* theWrappedObject, const QMarginsF& margins) const +{ + return ( theWrappedObject->marginsAdded(margins)); +} + +QRectF PythonQtWrapper_QRectF::marginsRemoved(QRectF* theWrappedObject, const QMarginsF& margins) const +{ + return ( theWrappedObject->marginsRemoved(margins)); +} + +void PythonQtWrapper_QRectF::moveBottom(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveBottom(pos)); +} + +void PythonQtWrapper_QRectF::moveBottomLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveBottomLeft(p)); +} + +void PythonQtWrapper_QRectF::moveBottomRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveBottomRight(p)); +} + +void PythonQtWrapper_QRectF::moveCenter(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveCenter(p)); +} + +void PythonQtWrapper_QRectF::moveLeft(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveLeft(pos)); +} + +void PythonQtWrapper_QRectF::moveRight(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveRight(pos)); +} + +void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTo(p)); +} + +void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->moveTo(x, y)); +} + +void PythonQtWrapper_QRectF::moveTop(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->moveTop(pos)); +} + +void PythonQtWrapper_QRectF::moveTopLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTopLeft(p)); +} + +void PythonQtWrapper_QRectF::moveTopRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTopRight(p)); +} + +QRectF PythonQtWrapper_QRectF::normalized(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +bool PythonQtWrapper_QRectF::__ne__(QRectF* theWrappedObject, const QRectF& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +QRectF PythonQtWrapper_QRectF::__and__(QRectF* theWrappedObject, const QRectF& r) const +{ + return ( (*theWrappedObject)& r); +} + +QRectF* PythonQtWrapper_QRectF::__iand__(QRectF* theWrappedObject, const QRectF& r) +{ + return &( (*theWrappedObject)&= r); +} + +QRectF PythonQtWrapper_QRectF::__add__(QRectF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QRectF* PythonQtWrapper_QRectF::__iadd__(QRectF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QRectF PythonQtWrapper_QRectF::__sub__(QRectF* theWrappedObject, const QMarginsF& rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QRectF* PythonQtWrapper_QRectF::__isub__(QRectF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +void PythonQtWrapper_QRectF::writeTo(QRectF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QRectF::__eq__(QRectF* theWrappedObject, const QRectF& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +void PythonQtWrapper_QRectF::readFrom(QRectF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QRectF PythonQtWrapper_QRectF::__or__(QRectF* theWrappedObject, const QRectF& r) const +{ + return ( (*theWrappedObject)| r); +} + +QRectF* PythonQtWrapper_QRectF::__ior__(QRectF* theWrappedObject, const QRectF& r) +{ + return &( (*theWrappedObject)|= r); +} + +qreal PythonQtWrapper_QRectF::right(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QRectF::setBottom(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setBottom(pos)); +} + +void PythonQtWrapper_QRectF::setBottomLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setBottomLeft(p)); +} + +void PythonQtWrapper_QRectF::setBottomRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setBottomRight(p)); +} + +void PythonQtWrapper_QRectF::setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->setCoords(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QRectF::setHeight(QRectF* theWrappedObject, qreal h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QRectF::setLeft(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setLeft(pos)); +} + +void PythonQtWrapper_QRectF::setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QRectF::setRight(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setRight(pos)); +} + +void PythonQtWrapper_QRectF::setSize(QRectF* theWrappedObject, const QSizeF& s) +{ + ( theWrappedObject->setSize(s)); +} + +void PythonQtWrapper_QRectF::setTop(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setTop(pos)); +} + +void PythonQtWrapper_QRectF::setTopLeft(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setTopLeft(p)); +} + +void PythonQtWrapper_QRectF::setTopRight(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setTopRight(p)); +} + +void PythonQtWrapper_QRectF::setWidth(QRectF* theWrappedObject, qreal w) +{ + ( theWrappedObject->setWidth(w)); +} + +void PythonQtWrapper_QRectF::setX(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setX(pos)); +} + +void PythonQtWrapper_QRectF::setY(QRectF* theWrappedObject, qreal pos) +{ + ( theWrappedObject->setY(pos)); +} + +QSizeF PythonQtWrapper_QRectF::size(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QRect PythonQtWrapper_QRectF::toAlignedRect(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->toAlignedRect()); +} + +QRect PythonQtWrapper_QRectF::toRect(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->toRect()); +} + +qreal PythonQtWrapper_QRectF::top(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QPointF PythonQtWrapper_QRectF::topLeft(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->topLeft()); +} + +QPointF PythonQtWrapper_QRectF::topRight(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->topRight()); +} + +void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QRectF PythonQtWrapper_QRectF::transposed(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QRectF PythonQtWrapper_QRectF::united(QRectF* theWrappedObject, const QRectF& other) const +{ + return ( theWrappedObject->united(other)); +} + +qreal PythonQtWrapper_QRectF::width(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +qreal PythonQtWrapper_QRectF::x(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QRectF::y(QRectF* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QRectF::py_toString(QRectF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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)); +} + +int PythonQtWrapper_QRegExp::captureCount(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->captureCount()); +} + +QStringList PythonQtWrapper_QRegExp::capturedTexts(QRegExp* theWrappedObject) +{ + return ( theWrappedObject->capturedTexts()); +} + +Qt::CaseSensitivity PythonQtWrapper_QRegExp::caseSensitivity(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +QString PythonQtWrapper_QRegExp::errorString(QRegExp* theWrappedObject) +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QRegExp::static_QRegExp_escape(const QString& str) +{ + return (QRegExp::escape(str)); +} + +bool PythonQtWrapper_QRegExp::exactMatch(QRegExp* theWrappedObject, const QString& str) const +{ + return ( theWrappedObject->exactMatch(str)); +} + +int PythonQtWrapper_QRegExp::indexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const +{ + return ( theWrappedObject->indexIn(str, offset, caretMode)); +} + +bool PythonQtWrapper_QRegExp::isEmpty(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRegExp::isMinimal(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->isMinimal()); +} + +bool PythonQtWrapper_QRegExp::isValid(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QRegExp::lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const +{ + return ( theWrappedObject->lastIndexIn(str, offset, caretMode)); +} + +int PythonQtWrapper_QRegExp::matchedLength(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->matchedLength()); +} + +bool PythonQtWrapper_QRegExp::__ne__(QRegExp* theWrappedObject, const QRegExp& rx) const +{ + return ( (*theWrappedObject)!= rx); +} + +void PythonQtWrapper_QRegExp::writeTo(QRegExp* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +bool PythonQtWrapper_QRegExp::__eq__(QRegExp* theWrappedObject, const QRegExp& rx) const +{ + return ( (*theWrappedObject)== rx); +} + +void PythonQtWrapper_QRegExp::readFrom(QRegExp* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +QString PythonQtWrapper_QRegExp::pattern(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +QRegExp::PatternSyntax PythonQtWrapper_QRegExp::patternSyntax(QRegExp* theWrappedObject) const +{ + return ( theWrappedObject->patternSyntax()); +} + +int PythonQtWrapper_QRegExp::pos(QRegExp* theWrappedObject, int nth) +{ + return ( theWrappedObject->pos(nth)); +} + +void PythonQtWrapper_QRegExp::setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setCaseSensitivity(cs)); +} + +void PythonQtWrapper_QRegExp::setMinimal(QRegExp* theWrappedObject, bool minimal) +{ + ( theWrappedObject->setMinimal(minimal)); +} + +void PythonQtWrapper_QRegExp::setPattern(QRegExp* theWrappedObject, const QString& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + +void PythonQtWrapper_QRegExp::setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax) +{ + ( theWrappedObject->setPatternSyntax(syntax)); +} + +void PythonQtWrapper_QRegExp::swap(QRegExp* theWrappedObject, QRegExp& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QRegExp::py_toString(QRegExp* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression() +{ +return new QRegularExpression(); } + +QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QRegularExpression& re) +{ +return new QRegularExpression(re); } + +QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QString& pattern, QRegularExpression::PatternOptions options) +{ +return new QRegularExpression(pattern, options); } + +QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_anchoredPattern(const QString& expression) +{ + return (QRegularExpression::anchoredPattern(expression)); +} + +int PythonQtWrapper_QRegularExpression::captureCount(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->captureCount()); +} + +QString PythonQtWrapper_QRegularExpression::errorString(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_escape(const QString& str) +{ + return (QRegularExpression::escape(str)); +} + +QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +{ + return ( theWrappedObject->globalMatch(subject, offset, matchType, matchOptions)); +} + +QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +{ + return ( theWrappedObject->globalMatch(subjectRef, offset, matchType, matchOptions)); +} + +bool PythonQtWrapper_QRegularExpression::isValid(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QRegularExpressionMatch PythonQtWrapper_QRegularExpression::match(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +{ + return ( theWrappedObject->match(subject, offset, matchType, matchOptions)); +} + +QRegularExpressionMatch PythonQtWrapper_QRegularExpression::match(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +{ + return ( theWrappedObject->match(subjectRef, offset, matchType, matchOptions)); +} + +QStringList PythonQtWrapper_QRegularExpression::namedCaptureGroups(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->namedCaptureGroups()); +} + +bool PythonQtWrapper_QRegularExpression::__ne__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const +{ + return ( (*theWrappedObject)!= re); +} + +void PythonQtWrapper_QRegularExpression::writeTo(QRegularExpression* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +QRegularExpression* PythonQtWrapper_QRegularExpression::operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re) +{ + return &( (*theWrappedObject)= re); +} + +bool PythonQtWrapper_QRegularExpression::__eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const +{ + return ( (*theWrappedObject)== re); +} + +void PythonQtWrapper_QRegularExpression::readFrom(QRegularExpression* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QRegularExpression::optimize(QRegularExpression* theWrappedObject) const +{ + ( theWrappedObject->optimize()); +} + +QString PythonQtWrapper_QRegularExpression::pattern(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->pattern()); +} + +int PythonQtWrapper_QRegularExpression::patternErrorOffset(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->patternErrorOffset()); +} + +QRegularExpression::PatternOptions PythonQtWrapper_QRegularExpression::patternOptions(QRegularExpression* theWrappedObject) const +{ + return ( theWrappedObject->patternOptions()); +} + +void PythonQtWrapper_QRegularExpression::setPattern(QRegularExpression* theWrappedObject, const QString& pattern) +{ + ( theWrappedObject->setPattern(pattern)); +} + +void PythonQtWrapper_QRegularExpression::setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options) +{ + ( theWrappedObject->setPatternOptions(options)); +} + +void PythonQtWrapper_QRegularExpression::swap(QRegularExpression* theWrappedObject, QRegularExpression& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_wildcardToRegularExpression(const QString& str) +{ + return (QRegularExpression::wildcardToRegularExpression(str)); +} + +QString PythonQtWrapper_QRegularExpression::py_toString(QRegularExpression* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSize* PythonQtWrapper_QSize::new_QSize() +{ +return new QSize(); } + +QSize* PythonQtWrapper_QSize::new_QSize(int w, int h) +{ +return new QSize(w, h); } + +QSize PythonQtWrapper_QSize::boundedTo(QSize* theWrappedObject, const QSize& arg__1) const +{ + return ( theWrappedObject->boundedTo(arg__1)); +} + +QSize PythonQtWrapper_QSize::expandedTo(QSize* theWrappedObject, const QSize& arg__1) const +{ + return ( theWrappedObject->expandedTo(arg__1)); +} + +QSize PythonQtWrapper_QSize::grownBy(QSize* theWrappedObject, QMargins m) const +{ + return ( theWrappedObject->grownBy(m)); +} + +int PythonQtWrapper_QSize::height(QSize* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QSize::isEmpty(QSize* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QSize::isNull(QSize* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QSize::isValid(QSize* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QSize::__ne__(QSize* theWrappedObject, const QSize& s2) +{ + return ( (*theWrappedObject)!= s2); +} + +const QSize PythonQtWrapper_QSize::__mul__(QSize* theWrappedObject, qreal c) +{ + return ( (*theWrappedObject)* c); +} + +QSize* PythonQtWrapper_QSize::__imul__(QSize* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)*= c); +} + +const QSize PythonQtWrapper_QSize::__add__(QSize* theWrappedObject, const QSize& s2) +{ + return ( (*theWrappedObject)+ s2); +} + +QSize* PythonQtWrapper_QSize::__iadd__(QSize* theWrappedObject, const QSize& arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +const QSize PythonQtWrapper_QSize::__sub__(QSize* theWrappedObject, const QSize& s2) +{ + return ( (*theWrappedObject)- s2); +} + +QSize* PythonQtWrapper_QSize::__isub__(QSize* theWrappedObject, const QSize& arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +const QSize PythonQtWrapper_QSize::__div__(QSize* theWrappedObject, qreal c) +{ + return ( (*theWrappedObject)/ c); +} + +QSize* PythonQtWrapper_QSize::__idiv__(QSize* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)/= c); +} + +void PythonQtWrapper_QSize::writeTo(QSize* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QSize::__eq__(QSize* theWrappedObject, const QSize& s2) +{ + return ( (*theWrappedObject)== s2); +} + +void PythonQtWrapper_QSize::readFrom(QSize* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->scale(s, mode)); +} + +void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->scale(w, h, mode)); +} + +QSize PythonQtWrapper_QSize::scaled(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(s, mode)); +} + +QSize PythonQtWrapper_QSize::scaled(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(w, h, mode)); +} + +void PythonQtWrapper_QSize::setHeight(QSize* theWrappedObject, int h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QSize::setWidth(QSize* theWrappedObject, int w) +{ + ( theWrappedObject->setWidth(w)); +} + +QSize PythonQtWrapper_QSize::shrunkBy(QSize* theWrappedObject, QMargins m) const +{ + return ( theWrappedObject->shrunkBy(m)); +} + +void PythonQtWrapper_QSize::transpose(QSize* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +QSize PythonQtWrapper_QSize::transposed(QSize* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +int PythonQtWrapper_QSize::width(QSize* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QSize::py_toString(QSize* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +QSizeF PythonQtWrapper_QSizeF::boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const +{ + return ( theWrappedObject->boundedTo(arg__1)); +} + +QSizeF PythonQtWrapper_QSizeF::expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const +{ + return ( theWrappedObject->expandedTo(arg__1)); +} + +QSizeF PythonQtWrapper_QSizeF::grownBy(QSizeF* theWrappedObject, QMarginsF m) const +{ + return ( theWrappedObject->grownBy(m)); +} + +qreal PythonQtWrapper_QSizeF::height(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QSizeF::isEmpty(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QSizeF::isNull(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QSizeF::isValid(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QSizeF::__ne__(QSizeF* theWrappedObject, const QSizeF& s2) +{ + return ( (*theWrappedObject)!= s2); +} + +const QSizeF PythonQtWrapper_QSizeF::__mul__(QSizeF* theWrappedObject, qreal c) +{ + return ( (*theWrappedObject)* c); +} + +QSizeF* PythonQtWrapper_QSizeF::__imul__(QSizeF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)*= c); +} + +const QSizeF PythonQtWrapper_QSizeF::__add__(QSizeF* theWrappedObject, const QSizeF& s2) +{ + return ( (*theWrappedObject)+ s2); +} + +QSizeF* PythonQtWrapper_QSizeF::__iadd__(QSizeF* theWrappedObject, const QSizeF& arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +const QSizeF PythonQtWrapper_QSizeF::__sub__(QSizeF* theWrappedObject, const QSizeF& s2) +{ + return ( (*theWrappedObject)- s2); +} + +QSizeF* PythonQtWrapper_QSizeF::__isub__(QSizeF* theWrappedObject, const QSizeF& arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +const QSizeF PythonQtWrapper_QSizeF::__div__(QSizeF* theWrappedObject, qreal c) +{ + return ( (*theWrappedObject)/ c); +} + +QSizeF* PythonQtWrapper_QSizeF::__idiv__(QSizeF* theWrappedObject, qreal c) +{ + return &( (*theWrappedObject)/= c); +} + +void PythonQtWrapper_QSizeF::writeTo(QSizeF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QSizeF::__eq__(QSizeF* theWrappedObject, const QSizeF& s2) +{ + return ( (*theWrappedObject)== s2); +} + +void PythonQtWrapper_QSizeF::readFrom(QSizeF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +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::scaled(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(s, mode)); +} + +QSizeF PythonQtWrapper_QSizeF::scaled(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) const +{ + return ( theWrappedObject->scaled(w, h, mode)); +} + +void PythonQtWrapper_QSizeF::setHeight(QSizeF* theWrappedObject, qreal h) +{ + ( theWrappedObject->setHeight(h)); +} + +void PythonQtWrapper_QSizeF::setWidth(QSizeF* theWrappedObject, qreal w) +{ + ( theWrappedObject->setWidth(w)); +} + +QSizeF PythonQtWrapper_QSizeF::shrunkBy(QSizeF* theWrappedObject, QMarginsF m) const +{ + return ( theWrappedObject->shrunkBy(m)); +} + +QSize PythonQtWrapper_QSizeF::toSize(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->toSize()); +} + +void PythonQtWrapper_QSizeF::transpose(QSizeF* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +QSizeF PythonQtWrapper_QSizeF::transposed(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +qreal PythonQtWrapper_QSizeF::width(QSizeF* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QSizeF::py_toString(QSizeF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +QTime PythonQtWrapper_QTime::addMSecs(QTime* theWrappedObject, int ms) const +{ + return ( theWrappedObject->addMSecs(ms)); +} + +QTime PythonQtWrapper_QTime::addSecs(QTime* theWrappedObject, int secs) const +{ + return ( theWrappedObject->addSecs(secs)); +} + +QTime PythonQtWrapper_QTime::static_QTime_currentTime() +{ + return (QTime::currentTime()); +} + +int PythonQtWrapper_QTime::elapsed(QTime* theWrappedObject) const +{ + return ( theWrappedObject->elapsed()); +} + +QTime PythonQtWrapper_QTime::static_QTime_fromMSecsSinceStartOfDay(int msecs) +{ + return (QTime::fromMSecsSinceStartOfDay(msecs)); +} + +QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, Qt::DateFormat f) +{ + return (QTime::fromString(s, f)); +} + +QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, const QString& format) +{ + return (QTime::fromString(s, format)); +} + +int PythonQtWrapper_QTime::hour(QTime* theWrappedObject) const +{ + return ( theWrappedObject->hour()); +} + +bool PythonQtWrapper_QTime::isNull(QTime* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QTime::isValid(QTime* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QTime::static_QTime_isValid(int h, int m, int s, int ms) +{ + return (QTime::isValid(h, m, s, ms)); +} + +int PythonQtWrapper_QTime::minute(QTime* theWrappedObject) const +{ + return ( theWrappedObject->minute()); +} + +int PythonQtWrapper_QTime::msec(QTime* theWrappedObject) const +{ + return ( theWrappedObject->msec()); +} + +int PythonQtWrapper_QTime::msecsSinceStartOfDay(QTime* theWrappedObject) const +{ + return ( theWrappedObject->msecsSinceStartOfDay()); +} + +int PythonQtWrapper_QTime::msecsTo(QTime* theWrappedObject, const QTime& arg__1) const +{ + return ( theWrappedObject->msecsTo(arg__1)); +} + +bool PythonQtWrapper_QTime::__ne__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QTime::__lt__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)< other); +} + +void PythonQtWrapper_QTime::writeTo(QTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTime::__le__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QTime::__eq__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QTime::__gt__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QTime::__ge__(QTime* theWrappedObject, const QTime& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QTime::readFrom(QTime* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QTime::restart(QTime* theWrappedObject) +{ + return ( theWrappedObject->restart()); +} + +int PythonQtWrapper_QTime::second(QTime* theWrappedObject) const +{ + return ( theWrappedObject->second()); +} + +int PythonQtWrapper_QTime::secsTo(QTime* theWrappedObject, const QTime& arg__1) const +{ + return ( theWrappedObject->secsTo(arg__1)); +} + +bool PythonQtWrapper_QTime::setHMS(QTime* theWrappedObject, int h, int m, int s, int ms) +{ + return ( theWrappedObject->setHMS(h, m, s, ms)); +} + +void PythonQtWrapper_QTime::start(QTime* theWrappedObject) +{ + ( theWrappedObject->start()); +} + +QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, Qt::DateFormat f) const +{ + return ( theWrappedObject->toString(f)); +} + +QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, const QString& format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QTime::py_toString(QTime* obj) { return obj->toString(); } + + +QUrl* PythonQtWrapper_QUrl::new_QUrl() +{ +return new QUrl(); } + +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); } + +QUrl PythonQtWrapper_QUrl::adjusted(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->adjusted(options)); +} + +QString PythonQtWrapper_QUrl::authority(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->authority(options)); +} + +void PythonQtWrapper_QUrl::clear(QUrl* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QString PythonQtWrapper_QUrl::errorString(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QUrl::fileName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->fileName(options)); +} + +QString PythonQtWrapper_QUrl::fragment(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->fragment(options)); +} + +QString PythonQtWrapper_QUrl::static_QUrl_fromAce(const QByteArray& arg__1) +{ + return (QUrl::fromAce(arg__1)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode) +{ + return (QUrl::fromEncoded(url, mode)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromLocalFile(const QString& localfile) +{ + return (QUrl::fromLocalFile(localfile)); +} + +QString PythonQtWrapper_QUrl::static_QUrl_fromPercentEncoding(const QByteArray& arg__1) +{ + return (QUrl::fromPercentEncoding(arg__1)); +} + +QList PythonQtWrapper_QUrl::static_QUrl_fromStringList(const QStringList& uris, QUrl::ParsingMode mode) +{ + return (QUrl::fromStringList(uris, mode)); +} + +QUrl PythonQtWrapper_QUrl::static_QUrl_fromUserInput(const QString& userInput) +{ + return (QUrl::fromUserInput(userInput)); +} + +bool PythonQtWrapper_QUrl::hasFragment(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->hasFragment()); +} + +bool PythonQtWrapper_QUrl::hasQuery(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->hasQuery()); +} + +QString PythonQtWrapper_QUrl::host(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const +{ + return ( theWrappedObject->host(arg__1)); +} + +QStringList PythonQtWrapper_QUrl::static_QUrl_idnWhitelist() +{ + return (QUrl::idnWhitelist()); +} + +bool PythonQtWrapper_QUrl::isEmpty(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QUrl::isLocalFile(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isLocalFile()); +} + +bool PythonQtWrapper_QUrl::isParentOf(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( theWrappedObject->isParentOf(url)); +} + +bool PythonQtWrapper_QUrl::isRelative(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isRelative()); +} + +bool PythonQtWrapper_QUrl::isValid(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QUrl::matches(QUrl* theWrappedObject, const QUrl& url, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->matches(url, options)); +} + +bool PythonQtWrapper_QUrl::__ne__(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( (*theWrappedObject)!= url); +} + +bool PythonQtWrapper_QUrl::__lt__(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( (*theWrappedObject)< url); +} + +void PythonQtWrapper_QUrl::writeTo(QUrl* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QUrl::__eq__(QUrl* theWrappedObject, const QUrl& url) const +{ + return ( (*theWrappedObject)== url); +} + +void PythonQtWrapper_QUrl::readFrom(QUrl* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QString PythonQtWrapper_QUrl::password(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const +{ + return ( theWrappedObject->password(arg__1)); +} + +QString PythonQtWrapper_QUrl::path(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->path(options)); +} + +int PythonQtWrapper_QUrl::port(QUrl* theWrappedObject, int defaultPort) const +{ + return ( theWrappedObject->port(defaultPort)); +} + +QString PythonQtWrapper_QUrl::query(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1) const +{ + return ( theWrappedObject->query(arg__1)); +} + +QUrl PythonQtWrapper_QUrl::resolved(QUrl* theWrappedObject, const QUrl& relative) const +{ + return ( theWrappedObject->resolved(relative)); +} + +QString PythonQtWrapper_QUrl::scheme(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->scheme()); +} + +void PythonQtWrapper_QUrl::setAuthority(QUrl* theWrappedObject, const QString& authority, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setAuthority(authority, mode)); +} + +void PythonQtWrapper_QUrl::setFragment(QUrl* theWrappedObject, const QString& fragment, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setFragment(fragment, mode)); +} + +void PythonQtWrapper_QUrl::setHost(QUrl* theWrappedObject, const QString& host, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setHost(host, mode)); +} + +void PythonQtWrapper_QUrl::static_QUrl_setIdnWhitelist(const QStringList& arg__1) +{ + (QUrl::setIdnWhitelist(arg__1)); +} + +void PythonQtWrapper_QUrl::setPassword(QUrl* theWrappedObject, const QString& password, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setPassword(password, mode)); +} + +void PythonQtWrapper_QUrl::setPath(QUrl* theWrappedObject, const QString& path, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setPath(path, mode)); +} + +void PythonQtWrapper_QUrl::setPort(QUrl* theWrappedObject, int port) +{ + ( theWrappedObject->setPort(port)); +} + +void PythonQtWrapper_QUrl::setQuery(QUrl* theWrappedObject, const QString& query, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setQuery(query, mode)); +} + +void PythonQtWrapper_QUrl::setQuery(QUrl* theWrappedObject, const QUrlQuery& query) +{ + ( theWrappedObject->setQuery(query)); +} + +void PythonQtWrapper_QUrl::setScheme(QUrl* theWrappedObject, const QString& scheme) +{ + ( theWrappedObject->setScheme(scheme)); +} + +void PythonQtWrapper_QUrl::setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setUrl(url, mode)); +} + +void PythonQtWrapper_QUrl::setUserInfo(QUrl* theWrappedObject, const QString& userInfo, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setUserInfo(userInfo, mode)); +} + +void PythonQtWrapper_QUrl::setUserName(QUrl* theWrappedObject, const QString& userName, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setUserName(userName, mode)); +} + +void PythonQtWrapper_QUrl::swap(QUrl* theWrappedObject, QUrl& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QUrl::static_QUrl_toAce(const QString& arg__1) +{ + return (QUrl::toAce(arg__1)); +} + +QString PythonQtWrapper_QUrl::toDisplayString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->toDisplayString(options)); +} + +QByteArray PythonQtWrapper_QUrl::toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->toEncoded(options)); +} + +QString PythonQtWrapper_QUrl::toLocalFile(QUrl* theWrappedObject) const +{ + return ( theWrappedObject->toLocalFile()); +} + +QByteArray PythonQtWrapper_QUrl::static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude, const QByteArray& include) +{ + return (QUrl::toPercentEncoding(arg__1, exclude, include)); +} + +QString PythonQtWrapper_QUrl::toString(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->toString(options)); +} + +QStringList PythonQtWrapper_QUrl::static_QUrl_toStringList(const QList& uris, QUrl::FormattingOptions options) +{ + return (QUrl::toStringList(uris, options)); +} + +QString PythonQtWrapper_QUrl::topLevelDomain(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->topLevelDomain(options)); +} + +QString PythonQtWrapper_QUrl::url(QUrl* theWrappedObject, QUrl::FormattingOptions options) const +{ + return ( theWrappedObject->url(options)); +} + +QString PythonQtWrapper_QUrl::userInfo(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->userInfo(options)); +} + +QString PythonQtWrapper_QUrl::userName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->userName(options)); +} + +QString PythonQtWrapper_QUrl::py_toString(QUrl* obj) { return obj->toString(); } + + +QTextStream* PythonQtWrapper_Qt::static_Qt_bin(QTextStream& s) +{ + return &(Qt::bin(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_bom(QTextStream& s) +{ + return &(Qt::bom(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_center(QTextStream& s) +{ + return &(Qt::center(s)); +} + +QTextCodec* PythonQtWrapper_Qt::static_Qt_codecForHtml(const QByteArray& ba) +{ + return (Qt::codecForHtml(ba)); +} + +QString PythonQtWrapper_Qt::static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode) +{ + return (Qt::convertFromPlainText(plain, mode)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_dec(QTextStream& s) +{ + return &(Qt::dec(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_endl(QTextStream& s) +{ + return &(Qt::endl(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_fixed(QTextStream& s) +{ + return &(Qt::fixed(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_flush(QTextStream& s) +{ + return &(Qt::flush(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_forcepoint(QTextStream& s) +{ + return &(Qt::forcepoint(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_forcesign(QTextStream& s) +{ + return &(Qt::forcesign(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_hex(QTextStream& s) +{ + return &(Qt::hex(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_left(QTextStream& s) +{ + return &(Qt::left(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_lowercasebase(QTextStream& s) +{ + return &(Qt::lowercasebase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_lowercasedigits(QTextStream& s) +{ + return &(Qt::lowercasedigits(s)); +} + +bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) +{ + return (Qt::mightBeRichText(arg__1)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_noforcepoint(QTextStream& s) +{ + return &(Qt::noforcepoint(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_noforcesign(QTextStream& s) +{ + return &(Qt::noforcesign(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_noshowbase(QTextStream& s) +{ + return &(Qt::noshowbase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_oct(QTextStream& s) +{ + return &(Qt::oct(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_reset(QTextStream& s) +{ + return &(Qt::reset(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_right(QTextStream& s) +{ + return &(Qt::right(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_scientific(QTextStream& s) +{ + return &(Qt::scientific(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_showbase(QTextStream& s) +{ + return &(Qt::showbase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_uppercasebase(QTextStream& s) +{ + return &(Qt::uppercasebase(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_uppercasedigits(QTextStream& s) +{ + return &(Qt::uppercasedigits(s)); +} + +QTextStream* PythonQtWrapper_Qt::static_Qt_ws(QTextStream& s) +{ + return &(Qt::ws(s)); +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h new file mode 100644 index 00000000..aa1c368c --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h @@ -0,0 +1,1440 @@ +#include +#include +#include +#include +#include +#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_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; } + bool at(QBitArray* theWrappedObject, int i) const; + const char* bits(QBitArray* theWrappedObject) const; + void clear(QBitArray* theWrappedObject); + void clearBit(QBitArray* theWrappedObject, int i); + int count(QBitArray* theWrappedObject) const; + int count(QBitArray* theWrappedObject, bool on) const; + void fill(QBitArray* theWrappedObject, bool val, int first, int last); + bool fill(QBitArray* theWrappedObject, bool val, int size = -1); + QBitArray static_QBitArray_fromBits(const char* data, qsizetype len); + bool isEmpty(QBitArray* theWrappedObject) const; + bool isNull(QBitArray* theWrappedObject) const; + bool __ne__(QBitArray* theWrappedObject, const QBitArray& other) const; + QBitArray __and__(QBitArray* theWrappedObject, const QBitArray& arg__2); + QBitArray* __iand__(QBitArray* theWrappedObject, const QBitArray& arg__1); + void writeTo(QBitArray* theWrappedObject, QDataStream& arg__1); + QBitArray* operator_assign(QBitArray* theWrappedObject, const QBitArray& other); + bool __eq__(QBitArray* theWrappedObject, const QBitArray& other) const; + void readFrom(QBitArray* theWrappedObject, QDataStream& arg__1); + QBitArray __xor__(QBitArray* theWrappedObject, const QBitArray& arg__2); + QBitArray* __ixor__(QBitArray* theWrappedObject, const QBitArray& arg__1); + QBitArray __or__(QBitArray* theWrappedObject, const QBitArray& arg__2); + QBitArray* __ior__(QBitArray* theWrappedObject, const QBitArray& arg__1); + QBitArray __invert__(QBitArray* theWrappedObject) const; + void resize(QBitArray* theWrappedObject, int size); + void setBit(QBitArray* theWrappedObject, int i); + void setBit(QBitArray* theWrappedObject, int i, bool val); + int size(QBitArray* theWrappedObject) const; + void swap(QBitArray* theWrappedObject, QBitArray& other); + bool testBit(QBitArray* theWrappedObject, int i) const; + bool toggleBit(QBitArray* theWrappedObject, int i); + void truncate(QBitArray* theWrappedObject, int pos); + QString py_toString(QBitArray*); + bool __nonzero__(QBitArray* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QByteArray : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Base64Option ) +Q_FLAGS(Base64Options ) +enum Base64Option{ + Base64Encoding = QByteArray::Base64Encoding, Base64UrlEncoding = QByteArray::Base64UrlEncoding, KeepTrailingEquals = QByteArray::KeepTrailingEquals, OmitTrailingEquals = QByteArray::OmitTrailingEquals, IgnoreBase64DecodingErrors = QByteArray::IgnoreBase64DecodingErrors, AbortOnBase64DecodingErrors = QByteArray::AbortOnBase64DecodingErrors}; +Q_DECLARE_FLAGS(Base64Options, Base64Option) +public slots: +QByteArray* new_QByteArray(); +QByteArray* new_QByteArray(const QByteArray& arg__1); +QByteArray* new_QByteArray(int size, char c); +void delete_QByteArray(QByteArray* obj) { delete obj; } + QByteArray* append(QByteArray* theWrappedObject, char c); + QByteArray* append(QByteArray* theWrappedObject, const QByteArray& a); + QByteArray* append(QByteArray* theWrappedObject, const QString& s); + QByteArray* append(QByteArray* theWrappedObject, const char* s, int len); + QByteArray* append(QByteArray* theWrappedObject, int count, char c); + char at(QByteArray* theWrappedObject, int i) const; + QByteRef back(QByteArray* theWrappedObject); + char back(QByteArray* theWrappedObject) const; + int capacity(QByteArray* theWrappedObject) const; + const char* cbegin(QByteArray* theWrappedObject) const; + const char* cend(QByteArray* theWrappedObject) const; + void chop(QByteArray* theWrappedObject, int n); + QByteArray chopped(QByteArray* theWrappedObject, int len) const; + void clear(QByteArray* theWrappedObject); + int compare(QByteArray* theWrappedObject, const QByteArray& a, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; + int compare(QByteArray* theWrappedObject, const char* c, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; + bool contains(QByteArray* theWrappedObject, char c) const; + bool contains(QByteArray* theWrappedObject, const QByteArray& a) const; + bool contains(QByteArray* theWrappedObject, const char* a) const; + int count(QByteArray* theWrappedObject, char c) const; + int count(QByteArray* theWrappedObject, const QByteArray& a) const; + bool endsWith(QByteArray* theWrappedObject, char c) const; + bool endsWith(QByteArray* theWrappedObject, const QByteArray& a) const; + QByteArray* fill(QByteArray* theWrappedObject, char c, int size = -1); + QByteArray static_QByteArray_fromBase64(const QByteArray& base64); + QByteArray static_QByteArray_fromBase64(const QByteArray& base64, QByteArray::Base64Options options); + QByteArray static_QByteArray_fromHex(const QByteArray& hexEncoded); + QByteArray static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent = '%'); + QByteRef front(QByteArray* theWrappedObject); + char front(QByteArray* theWrappedObject) const; + int indexOf(QByteArray* theWrappedObject, char c, int from = 0) const; + int indexOf(QByteArray* theWrappedObject, const QByteArray& a, int from = 0) const; + int indexOf(QByteArray* theWrappedObject, const QString& s, int from = 0) const; + QByteArray* insert(QByteArray* theWrappedObject, int i, char c); + QByteArray* insert(QByteArray* theWrappedObject, int i, const QByteArray& a); + QByteArray* insert(QByteArray* theWrappedObject, int i, const QString& s); + QByteArray* insert(QByteArray* theWrappedObject, int i, const char* s, int len); + QByteArray* insert(QByteArray* theWrappedObject, int i, int count, char c); + bool isEmpty(QByteArray* theWrappedObject) const; + bool isLower(QByteArray* theWrappedObject) const; + bool isNull(QByteArray* theWrappedObject) const; + bool isSharedWith(QByteArray* theWrappedObject, const QByteArray& other) const; + bool isUpper(QByteArray* theWrappedObject) const; + int lastIndexOf(QByteArray* theWrappedObject, char c, int from = -1) const; + int lastIndexOf(QByteArray* theWrappedObject, const QByteArray& a, int from = -1) const; + int lastIndexOf(QByteArray* theWrappedObject, const QString& s, int from = -1) const; + QByteArray left(QByteArray* theWrappedObject, int len) const; + QByteArray leftJustified(QByteArray* theWrappedObject, int width, char fill = ' ', bool truncate = false) const; + int length(QByteArray* theWrappedObject) const; + QByteArray mid(QByteArray* theWrappedObject, int index, int len = -1) const; + QByteArray static_QByteArray_number(double arg__1, char f = 'g', int prec = 6); + QByteArray static_QByteArray_number(int arg__1, int base = 10); + QByteArray static_QByteArray_number(qlonglong arg__1, int base = 10); + bool __ne__(QByteArray* theWrappedObject, const QByteArray& a2); + const QByteArray __add__(QByteArray* theWrappedObject, char a2); + const QByteArray __add__(QByteArray* theWrappedObject, const QByteArray& a2); + const QString __add__(QByteArray* theWrappedObject, const QString& s); + const QByteArray __add__(QByteArray* theWrappedObject, const char* a2); + QByteArray* __iadd__(QByteArray* theWrappedObject, const QByteArray& a); + bool __lt__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __lt__(QByteArray* theWrappedObject, const QString& s2) const; + void writeTo(QByteArray* theWrappedObject, QDataStream& arg__1); + bool __le__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __le__(QByteArray* theWrappedObject, const QString& s2) const; + QByteArray* operator_assign(QByteArray* theWrappedObject, const QByteArray& arg__1); + bool __eq__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __eq__(QByteArray* theWrappedObject, const QString& s2) const; + bool __gt__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __gt__(QByteArray* theWrappedObject, const QString& s2) const; + bool __ge__(QByteArray* theWrappedObject, const QByteArray& a2); + bool __ge__(QByteArray* theWrappedObject, const QString& s2) const; + void readFrom(QByteArray* theWrappedObject, QDataStream& arg__1); + QByteArray* prepend(QByteArray* theWrappedObject, char c); + QByteArray* prepend(QByteArray* theWrappedObject, const QByteArray& a); + QByteArray* prepend(QByteArray* theWrappedObject, const char* s, int len); + QByteArray* prepend(QByteArray* theWrappedObject, int count, char c); + void push_back(QByteArray* theWrappedObject, const QByteArray& a); + void push_front(QByteArray* theWrappedObject, const QByteArray& a); + QByteArray* remove(QByteArray* theWrappedObject, int index, int len); + QByteArray repeated(QByteArray* theWrappedObject, int times) const; + QByteArray* replace(QByteArray* theWrappedObject, char before, char after); + QByteArray* replace(QByteArray* theWrappedObject, char before, const QByteArray& after); + QByteArray* replace(QByteArray* theWrappedObject, char c, const QString& after); + QByteArray* replace(QByteArray* theWrappedObject, const QByteArray& before, const QByteArray& after); + QByteArray* replace(QByteArray* theWrappedObject, const QString& before, const QByteArray& after); + QByteArray* replace(QByteArray* theWrappedObject, const char* before, int bsize, const char* after, int asize); + QByteArray* replace(QByteArray* theWrappedObject, int index, int len, const QByteArray& s); + QByteArray* replace(QByteArray* theWrappedObject, int index, int len, const char* s, int alen); + void reserve(QByteArray* theWrappedObject, int size); + void resize(QByteArray* theWrappedObject, int size); + QByteArray right(QByteArray* theWrappedObject, int len) const; + QByteArray rightJustified(QByteArray* theWrappedObject, int width, char fill = ' ', bool truncate = false) const; + QByteArray* setNum(QByteArray* theWrappedObject, double arg__1, char f = 'g', int prec = 6); + QByteArray* setNum(QByteArray* theWrappedObject, float arg__1, char f = 'g', int prec = 6); + QByteArray* setNum(QByteArray* theWrappedObject, int arg__1, int base = 10); + QByteArray* setNum(QByteArray* theWrappedObject, qlonglong arg__1, int base = 10); + QByteArray* setNum(QByteArray* theWrappedObject, short arg__1, int base = 10); + QByteArray* setRawData(QByteArray* theWrappedObject, const char* a, uint n); + void shrink_to_fit(QByteArray* theWrappedObject); + QByteArray simplified(QByteArray* theWrappedObject) const; + int size(QByteArray* theWrappedObject) const; + QList split(QByteArray* theWrappedObject, char sep) const; + void squeeze(QByteArray* theWrappedObject); + bool startsWith(QByteArray* theWrappedObject, char c) const; + bool startsWith(QByteArray* theWrappedObject, const QByteArray& a) const; + void swap(QByteArray* theWrappedObject, QByteArray& other); + QByteArray toBase64(QByteArray* theWrappedObject) const; + QByteArray toBase64(QByteArray* theWrappedObject, QByteArray::Base64Options options) const; + double toDouble(QByteArray* theWrappedObject, bool* ok = nullptr) const; + float toFloat(QByteArray* theWrappedObject, bool* ok = nullptr) const; + QByteArray toHex(QByteArray* theWrappedObject) const; + QByteArray toHex(QByteArray* theWrappedObject, char separator) const; + int toInt(QByteArray* theWrappedObject, bool* ok = nullptr, int base = 10) const; + QByteArray toLower(QByteArray* theWrappedObject) const; + QByteArray toPercentEncoding(QByteArray* theWrappedObject, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray(), char percent = '%') const; + ushort toUShort(QByteArray* theWrappedObject, bool* ok = nullptr, int base = 10) const; + QByteArray toUpper(QByteArray* theWrappedObject) const; + QByteArray trimmed(QByteArray* theWrappedObject) const; + void truncate(QByteArray* theWrappedObject, int pos); + bool __nonzero__(QByteArray* obj) { return !obj->isEmpty(); } + + PyObject* data(QByteArray* b) { + return PyBytes_FromStringAndSize(b->data(), b->size()); + } + +}; + + + + + +class PythonQtWrapper_QDate : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MonthNameType ) +enum MonthNameType{ + DateFormat = QDate::DateFormat, StandaloneFormat = QDate::StandaloneFormat}; +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 addDays(QDate* theWrappedObject, qint64 days) const; + QDate addMonths(QDate* theWrappedObject, int months) const; + QDate addYears(QDate* theWrappedObject, int years) const; + QDate static_QDate_currentDate(); + int day(QDate* theWrappedObject) const; + int dayOfWeek(QDate* theWrappedObject) const; + int dayOfYear(QDate* theWrappedObject) const; + int daysInMonth(QDate* theWrappedObject) const; + int daysInYear(QDate* theWrappedObject) const; + qint64 daysTo(QDate* theWrappedObject, const QDate& arg__1) const; + QDateTime endOfDay(QDate* theWrappedObject, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; + QDateTime endOfDay(QDate* theWrappedObject, const QTimeZone& zone) const; + QDate static_QDate_fromJulianDay(qint64 jd_); + QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); + QDate static_QDate_fromString(const QString& s, const QString& format); + void getDate(QDate* theWrappedObject, int* year, int* month, int* day); + void getDate(QDate* theWrappedObject, int* year, int* month, int* day) const; + bool static_QDate_isLeapYear(int year); + bool isNull(QDate* theWrappedObject) const; + bool isValid(QDate* theWrappedObject) const; + bool static_QDate_isValid(int y, int m, int d); + QString static_QDate_longDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); + QString static_QDate_longMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); + int month(QDate* theWrappedObject) const; + bool __ne__(QDate* theWrappedObject, const QDate& other) const; + bool __lt__(QDate* theWrappedObject, const QDate& other) const; + void writeTo(QDate* theWrappedObject, QDataStream& arg__1); + bool __le__(QDate* theWrappedObject, const QDate& other) const; + bool __eq__(QDate* theWrappedObject, const QDate& other) const; + bool __gt__(QDate* theWrappedObject, const QDate& other) const; + bool __ge__(QDate* theWrappedObject, const QDate& other) const; + void readFrom(QDate* theWrappedObject, QDataStream& arg__1); + bool setDate(QDate* theWrappedObject, int year, int month, int day); + QString static_QDate_shortDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); + QString static_QDate_shortMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); + QDateTime startOfDay(QDate* theWrappedObject, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; + QDateTime startOfDay(QDate* theWrappedObject, const QTimeZone& zone) const; + qint64 toJulianDay(QDate* theWrappedObject) const; + QString toString(QDate* theWrappedObject, Qt::DateFormat format = Qt::TextDate) const; + QString toString(QDate* theWrappedObject, const QString& format) const; + int weekNumber(QDate* theWrappedObject, int* yearNum = nullptr) const; + int year(QDate* theWrappedObject) const; + QString py_toString(QDate*); + bool __nonzero__(QDate* obj) { return obj->isValid(); } +}; + + + + + +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 QDate& date, const QTime& time, Qt::TimeSpec spec, int offsetSeconds); +QDateTime* new_QDateTime(const QDate& date, const QTime& time, const QTimeZone& timeZone); +QDateTime* new_QDateTime(const QDateTime& other); +void delete_QDateTime(QDateTime* obj) { delete obj; } + QDateTime addDays(QDateTime* theWrappedObject, qint64 days) const; + QDateTime addMSecs(QDateTime* theWrappedObject, qint64 msecs) const; + QDateTime addMonths(QDateTime* theWrappedObject, int months) const; + QDateTime addSecs(QDateTime* theWrappedObject, qint64 secs) const; + QDateTime addYears(QDateTime* theWrappedObject, int years) const; + QDateTime static_QDateTime_currentDateTime(); + QDateTime static_QDateTime_currentDateTimeUtc(); + qint64 static_QDateTime_currentMSecsSinceEpoch(); + qint64 static_QDateTime_currentSecsSinceEpoch(); + QDate date(QDateTime* theWrappedObject) const; + qint64 daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + QDateTime static_QDateTime_fromMSecsSinceEpoch(qint64 msecs); + QDateTime static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetFromUtc = 0); + QDateTime static_QDateTime_fromMSecsSinceEpoch(qint64 msecs, const QTimeZone& timeZone); + QDateTime static_QDateTime_fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spe = Qt::LocalTime, int offsetFromUtc = 0); + QDateTime static_QDateTime_fromSecsSinceEpoch(qint64 secs, const QTimeZone& timeZone); + QDateTime static_QDateTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); + QDateTime static_QDateTime_fromString(const QString& s, const QString& format); + QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC); + QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec, int offsetFromUtc = 0); + QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC, const QTimeZone& timeZone); + bool isDaylightTime(QDateTime* theWrappedObject) const; + bool isNull(QDateTime* theWrappedObject) const; + bool isValid(QDateTime* theWrappedObject) const; + qint64 msecsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + int offsetFromUtc(QDateTime* theWrappedObject) const; + bool __ne__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __lt__(QDateTime* theWrappedObject, const QDateTime& other) const; + void writeTo(QDateTime* theWrappedObject, QDataStream& arg__1); + bool __le__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __eq__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __gt__(QDateTime* theWrappedObject, const QDateTime& other) const; + bool __ge__(QDateTime* theWrappedObject, const QDateTime& other) const; + void readFrom(QDateTime* theWrappedObject, QDataStream& arg__1); + qint64 secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const; + void setDate(QDateTime* theWrappedObject, const QDate& date); + void setMSecsSinceEpoch(QDateTime* theWrappedObject, qint64 msecs); + void setOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds); + void setSecsSinceEpoch(QDateTime* theWrappedObject, qint64 secs); + void setTime(QDateTime* theWrappedObject, const QTime& time); + void setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec); + void setTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone); + void setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC); + void setUtcOffset(QDateTime* theWrappedObject, int seconds); + void swap(QDateTime* theWrappedObject, QDateTime& other); + QTime time(QDateTime* theWrappedObject) const; + Qt::TimeSpec timeSpec(QDateTime* theWrappedObject) const; + QTimeZone timeZone(QDateTime* theWrappedObject) const; + QString timeZoneAbbreviation(QDateTime* theWrappedObject) const; + QDateTime toLocalTime(QDateTime* theWrappedObject) const; + qint64 toMSecsSinceEpoch(QDateTime* theWrappedObject) const; + QDateTime toOffsetFromUtc(QDateTime* theWrappedObject, int offsetSeconds) const; + qint64 toSecsSinceEpoch(QDateTime* theWrappedObject) const; + QString toString(QDateTime* theWrappedObject, Qt::DateFormat format = Qt::TextDate) const; + QString toString(QDateTime* theWrappedObject, const QString& format) const; + QDateTime toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) const; + QDateTime toTimeZone(QDateTime* theWrappedObject, const QTimeZone& toZone) const; + uint toTime_t(QDateTime* theWrappedObject) const; + QDateTime toUTC(QDateTime* theWrappedObject) const; + int utcOffset(QDateTime* theWrappedObject) const; + QString py_toString(QDateTime*); + bool __nonzero__(QDateTime* obj) { return obj->isValid(); } +}; + + + + + +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; } + QPoint center(QLine* theWrappedObject) const; + int dx(QLine* theWrappedObject) const; + int dy(QLine* theWrappedObject) const; + bool isNull(QLine* theWrappedObject) const; + bool __ne__(QLine* theWrappedObject, const QLine& d) const; + QLine __mul__(QLine* theWrappedObject, const QMatrix& m); + QLine __mul__(QLine* theWrappedObject, const QTransform& m); + void writeTo(QLine* theWrappedObject, QDataStream& arg__1); + bool __eq__(QLine* theWrappedObject, const QLine& d) const; + void readFrom(QLine* theWrappedObject, QDataStream& arg__1); + QPoint p1(QLine* theWrappedObject) const; + QPoint p2(QLine* theWrappedObject) const; + void setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2); + void setP1(QLine* theWrappedObject, const QPoint& p1); + void setP2(QLine* theWrappedObject, const QPoint& p2); + void setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2); + void translate(QLine* theWrappedObject, const QPoint& p); + void translate(QLine* theWrappedObject, int dx, int dy); + QLine translated(QLine* theWrappedObject, const QPoint& p) const; + QLine translated(QLine* theWrappedObject, int dx, int dy) const; + int x1(QLine* theWrappedObject) const; + int x2(QLine* theWrappedObject) const; + int y1(QLine* theWrappedObject) const; + int y2(QLine* theWrappedObject) const; + QString py_toString(QLine*); + bool __nonzero__(QLine* obj) { return !obj->isNull(); } +}; + + + + + +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; } + qreal angle(QLineF* theWrappedObject) const; + qreal angle(QLineF* theWrappedObject, const QLineF& l) const; + qreal angleTo(QLineF* theWrappedObject, const QLineF& l) const; + QPointF center(QLineF* theWrappedObject) const; + qreal dx(QLineF* theWrappedObject) const; + qreal dy(QLineF* theWrappedObject) const; + QLineF static_QLineF_fromPolar(qreal length, qreal angle); + QLineF::IntersectType intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const; + QLineF::IntersectType intersects(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const; + bool isNull(QLineF* theWrappedObject) const; + qreal length(QLineF* theWrappedObject) const; + QLineF normalVector(QLineF* theWrappedObject) const; + bool __ne__(QLineF* theWrappedObject, const QLineF& d) const; + QLineF __mul__(QLineF* theWrappedObject, const QMatrix& m); + QLineF __mul__(QLineF* theWrappedObject, const QTransform& m); + void writeTo(QLineF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QLineF* theWrappedObject, const QLineF& d) const; + void readFrom(QLineF* theWrappedObject, QDataStream& arg__1); + QPointF p1(QLineF* theWrappedObject) const; + QPointF p2(QLineF* theWrappedObject) const; + QPointF pointAt(QLineF* theWrappedObject, qreal t) const; + void setAngle(QLineF* theWrappedObject, qreal angle); + void setLength(QLineF* theWrappedObject, qreal len); + void setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); + void setP1(QLineF* theWrappedObject, const QPointF& p1); + void setP2(QLineF* theWrappedObject, const QPointF& p2); + void setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2); + QLine toLine(QLineF* theWrappedObject) const; + void translate(QLineF* theWrappedObject, const QPointF& p); + void translate(QLineF* theWrappedObject, qreal dx, qreal dy); + QLineF translated(QLineF* theWrappedObject, const QPointF& p) const; + QLineF translated(QLineF* theWrappedObject, qreal dx, qreal dy) const; + QLineF unitVector(QLineF* theWrappedObject) const; + qreal x1(QLineF* theWrappedObject) const; + qreal x2(QLineF* theWrappedObject) const; + qreal y1(QLineF* theWrappedObject) const; + qreal y2(QLineF* theWrappedObject) const; + QString py_toString(QLineF*); + bool __nonzero__(QLineF* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QLocale : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Country CurrencySymbolFormat DataSizeFormat FloatingPointPrecisionOption FormatType Language MeasurementSystem NumberOption QuotationStyle Script ) +Q_FLAGS(NumberOptions ) +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, Brunei = QLocale::Brunei, 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, CongoKinshasa = QLocale::CongoKinshasa, CongoBrazzaville = QLocale::CongoBrazzaville, 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, Fiji = QLocale::Fiji, Finland = QLocale::Finland, France = QLocale::France, Guernsey = QLocale::Guernsey, 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, NorthKorea = QLocale::NorthKorea, SouthKorea = QLocale::SouthKorea, Kuwait = QLocale::Kuwait, Kyrgyzstan = QLocale::Kyrgyzstan, Laos = QLocale::Laos, Latvia = QLocale::Latvia, Lebanon = QLocale::Lebanon, Lesotho = QLocale::Lesotho, Liberia = QLocale::Liberia, Libya = QLocale::Libya, 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, CuraSao = QLocale::CuraSao, 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, PalestinianTerritories = QLocale::PalestinianTerritories, 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, Russia = QLocale::Russia, Rwanda = QLocale::Rwanda, SaintKittsAndNevis = QLocale::SaintKittsAndNevis, SaintLucia = QLocale::SaintLucia, SaintVincentAndTheGrenadines = QLocale::SaintVincentAndTheGrenadines, 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, SaintHelena = QLocale::SaintHelena, SaintPierreAndMiquelon = QLocale::SaintPierreAndMiquelon, Sudan = QLocale::Sudan, Suriname = QLocale::Suriname, SvalbardAndJanMayenIslands = QLocale::SvalbardAndJanMayenIslands, Swaziland = QLocale::Swaziland, Sweden = QLocale::Sweden, Switzerland = QLocale::Switzerland, Syria = QLocale::Syria, Taiwan = QLocale::Taiwan, Tajikistan = QLocale::Tajikistan, Tanzania = QLocale::Tanzania, Thailand = QLocale::Thailand, Togo = QLocale::Togo, TokelauCountry = QLocale::TokelauCountry, Tonga = QLocale::Tonga, TrinidadAndTobago = QLocale::TrinidadAndTobago, Tunisia = QLocale::Tunisia, Turkey = QLocale::Turkey, Turkmenistan = QLocale::Turkmenistan, TurksAndCaicosIslands = QLocale::TurksAndCaicosIslands, TuvaluCountry = QLocale::TuvaluCountry, 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, UnitedStatesVirginIslands = QLocale::UnitedStatesVirginIslands, WallisAndFutunaIslands = QLocale::WallisAndFutunaIslands, WesternSahara = QLocale::WesternSahara, Yemen = QLocale::Yemen, CanaryIslands = QLocale::CanaryIslands, Zambia = QLocale::Zambia, Zimbabwe = QLocale::Zimbabwe, ClippertonIsland = QLocale::ClippertonIsland, Montenegro = QLocale::Montenegro, Serbia = QLocale::Serbia, SaintBarthelemy = QLocale::SaintBarthelemy, SaintMartin = QLocale::SaintMartin, LatinAmerica = QLocale::LatinAmerica, AscensionIsland = QLocale::AscensionIsland, AlandIslands = QLocale::AlandIslands, DiegoGarcia = QLocale::DiegoGarcia, CeutaAndMelilla = QLocale::CeutaAndMelilla, IsleOfMan = QLocale::IsleOfMan, Jersey = QLocale::Jersey, TristanDaCunha = QLocale::TristanDaCunha, SouthSudan = QLocale::SouthSudan, Bonaire = QLocale::Bonaire, SintMaarten = QLocale::SintMaarten, Kosovo = QLocale::Kosovo, EuropeanUnion = QLocale::EuropeanUnion, OutlyingOceania = QLocale::OutlyingOceania, World = QLocale::World, Europe = QLocale::Europe, DemocraticRepublicOfCongo = QLocale::DemocraticRepublicOfCongo, DemocraticRepublicOfKorea = QLocale::DemocraticRepublicOfKorea, LatinAmericaAndTheCaribbean = QLocale::LatinAmericaAndTheCaribbean, PeoplesRepublicOfCongo = QLocale::PeoplesRepublicOfCongo, RepublicOfKorea = QLocale::RepublicOfKorea, RussianFederation = QLocale::RussianFederation, SyrianArabRepublic = QLocale::SyrianArabRepublic, Tokelau = QLocale::Tokelau, Tuvalu = QLocale::Tuvalu, LastCountry = QLocale::LastCountry}; +enum CurrencySymbolFormat{ + CurrencyIsoCode = QLocale::CurrencyIsoCode, CurrencySymbol = QLocale::CurrencySymbol, CurrencyDisplayName = QLocale::CurrencyDisplayName}; +enum DataSizeFormat{ + DataSizeBase1000 = QLocale::DataSizeBase1000, DataSizeSIQuantifiers = QLocale::DataSizeSIQuantifiers, DataSizeIecFormat = QLocale::DataSizeIecFormat, DataSizeTraditionalFormat = QLocale::DataSizeTraditionalFormat, DataSizeSIFormat = QLocale::DataSizeSIFormat}; +enum FloatingPointPrecisionOption{ + FloatingPointShortest = QLocale::FloatingPointShortest}; +enum FormatType{ + LongFormat = QLocale::LongFormat, ShortFormat = QLocale::ShortFormat, NarrowFormat = QLocale::NarrowFormat}; +enum Language{ + AnyLanguage = QLocale::AnyLanguage, C = QLocale::C, Abkhazian = QLocale::Abkhazian, Oromo = QLocale::Oromo, 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, Dzongkha = QLocale::Dzongkha, Bihari = QLocale::Bihari, Bislama = QLocale::Bislama, Breton = QLocale::Breton, Bulgarian = QLocale::Bulgarian, Burmese = QLocale::Burmese, Belarusian = QLocale::Belarusian, Khmer = QLocale::Khmer, 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, Fijian = QLocale::Fijian, Finnish = QLocale::Finnish, French = QLocale::French, WesternFrisian = QLocale::WesternFrisian, 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, Rundi = QLocale::Rundi, Lao = QLocale::Lao, 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, Marshallese = QLocale::Marshallese, Mongolian = QLocale::Mongolian, NauruLanguage = QLocale::NauruLanguage, Nepali = QLocale::Nepali, 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, Romansh = QLocale::Romansh, Romanian = QLocale::Romanian, Russian = QLocale::Russian, Samoan = QLocale::Samoan, Sango = QLocale::Sango, Sanskrit = QLocale::Sanskrit, Serbian = QLocale::Serbian, Ossetic = QLocale::Ossetic, SouthernSotho = QLocale::SouthernSotho, Tswana = QLocale::Tswana, Shona = QLocale::Shona, Sindhi = QLocale::Sindhi, Sinhala = QLocale::Sinhala, Swati = QLocale::Swati, Slovak = QLocale::Slovak, Slovenian = QLocale::Slovenian, Somali = QLocale::Somali, Spanish = QLocale::Spanish, Sundanese = QLocale::Sundanese, Swahili = QLocale::Swahili, Swedish = QLocale::Swedish, Sardinian = QLocale::Sardinian, Tajik = QLocale::Tajik, Tamil = QLocale::Tamil, Tatar = QLocale::Tatar, Telugu = QLocale::Telugu, Thai = QLocale::Thai, Tibetan = QLocale::Tibetan, Tigrinya = QLocale::Tigrinya, Tongan = QLocale::Tongan, Tsonga = QLocale::Tsonga, Turkish = QLocale::Turkish, Turkmen = QLocale::Turkmen, Tahitian = QLocale::Tahitian, Uighur = QLocale::Uighur, 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, 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, Nyanja = QLocale::Nyanja, Filipino = QLocale::Filipino, SwissGerman = QLocale::SwissGerman, SichuanYi = QLocale::SichuanYi, Kpelle = QLocale::Kpelle, LowGerman = QLocale::LowGerman, SouthNdebele = QLocale::SouthNdebele, NorthernSotho = QLocale::NorthernSotho, NorthernSami = QLocale::NorthernSami, Taroko = QLocale::Taroko, Gusii = QLocale::Gusii, Taita = QLocale::Taita, Fulah = QLocale::Fulah, Kikuyu = QLocale::Kikuyu, Samburu = QLocale::Samburu, Sena = QLocale::Sena, NorthNdebele = QLocale::NorthNdebele, Rombo = QLocale::Rombo, Tachelhit = QLocale::Tachelhit, Kabyle = QLocale::Kabyle, Nyankole = QLocale::Nyankole, Bena = QLocale::Bena, Vunjo = QLocale::Vunjo, Bambara = QLocale::Bambara, Embu = QLocale::Embu, Cherokee = QLocale::Cherokee, Morisyen = QLocale::Morisyen, Makonde = QLocale::Makonde, Langi = QLocale::Langi, Ganda = QLocale::Ganda, Bemba = QLocale::Bemba, Kabuverdianu = QLocale::Kabuverdianu, Meru = QLocale::Meru, Kalenjin = QLocale::Kalenjin, Nama = QLocale::Nama, Machame = QLocale::Machame, Colognian = QLocale::Colognian, Masai = QLocale::Masai, Soga = QLocale::Soga, Luyia = QLocale::Luyia, Asu = QLocale::Asu, Teso = QLocale::Teso, Saho = QLocale::Saho, KoyraChiini = QLocale::KoyraChiini, Rwa = QLocale::Rwa, Luo = QLocale::Luo, Chiga = QLocale::Chiga, CentralMoroccoTamazight = QLocale::CentralMoroccoTamazight, KoyraboroSenni = QLocale::KoyraboroSenni, Shambala = QLocale::Shambala, Bodo = QLocale::Bodo, Avaric = QLocale::Avaric, Chamorro = QLocale::Chamorro, Chechen = QLocale::Chechen, Church = QLocale::Church, Chuvash = QLocale::Chuvash, Cree = QLocale::Cree, Haitian = QLocale::Haitian, Herero = QLocale::Herero, HiriMotu = QLocale::HiriMotu, Kanuri = QLocale::Kanuri, Komi = QLocale::Komi, Kongo = QLocale::Kongo, Kwanyama = QLocale::Kwanyama, Limburgish = QLocale::Limburgish, LubaKatanga = QLocale::LubaKatanga, Luxembourgish = QLocale::Luxembourgish, Navaho = QLocale::Navaho, Ndonga = QLocale::Ndonga, Ojibwa = QLocale::Ojibwa, Pali = QLocale::Pali, Walloon = QLocale::Walloon, Aghem = QLocale::Aghem, Basaa = QLocale::Basaa, Zarma = QLocale::Zarma, Duala = QLocale::Duala, JolaFonyi = QLocale::JolaFonyi, Ewondo = QLocale::Ewondo, Bafia = QLocale::Bafia, MakhuwaMeetto = QLocale::MakhuwaMeetto, Mundang = QLocale::Mundang, Kwasio = QLocale::Kwasio, Nuer = QLocale::Nuer, Sakha = QLocale::Sakha, Sangu = QLocale::Sangu, CongoSwahili = QLocale::CongoSwahili, Tasawaq = QLocale::Tasawaq, Vai = QLocale::Vai, Walser = QLocale::Walser, Yangben = QLocale::Yangben, Avestan = QLocale::Avestan, Asturian = QLocale::Asturian, Ngomba = QLocale::Ngomba, Kako = QLocale::Kako, Meta = QLocale::Meta, Ngiemboon = QLocale::Ngiemboon, Aragonese = QLocale::Aragonese, Akkadian = QLocale::Akkadian, AncientEgyptian = QLocale::AncientEgyptian, AncientGreek = QLocale::AncientGreek, Aramaic = QLocale::Aramaic, Balinese = QLocale::Balinese, Bamun = QLocale::Bamun, BatakToba = QLocale::BatakToba, Buginese = QLocale::Buginese, Buhid = QLocale::Buhid, Carian = QLocale::Carian, Chakma = QLocale::Chakma, ClassicalMandaic = QLocale::ClassicalMandaic, Coptic = QLocale::Coptic, Dogri = QLocale::Dogri, EasternCham = QLocale::EasternCham, EasternKayah = QLocale::EasternKayah, Etruscan = QLocale::Etruscan, Gothic = QLocale::Gothic, Hanunoo = QLocale::Hanunoo, Ingush = QLocale::Ingush, LargeFloweryMiao = QLocale::LargeFloweryMiao, Lepcha = QLocale::Lepcha, Limbu = QLocale::Limbu, Lisu = QLocale::Lisu, Lu = QLocale::Lu, Lycian = QLocale::Lycian, Lydian = QLocale::Lydian, Mandingo = QLocale::Mandingo, Manipuri = QLocale::Manipuri, Meroitic = QLocale::Meroitic, NorthernThai = QLocale::NorthernThai, OldIrish = QLocale::OldIrish, OldNorse = QLocale::OldNorse, OldPersian = QLocale::OldPersian, OldTurkish = QLocale::OldTurkish, Pahlavi = QLocale::Pahlavi, Parthian = QLocale::Parthian, Phoenician = QLocale::Phoenician, PrakritLanguage = QLocale::PrakritLanguage, Rejang = QLocale::Rejang, Sabaean = QLocale::Sabaean, Samaritan = QLocale::Samaritan, Santali = QLocale::Santali, Saurashtra = QLocale::Saurashtra, Sora = QLocale::Sora, Sylheti = QLocale::Sylheti, Tagbanwa = QLocale::Tagbanwa, TaiDam = QLocale::TaiDam, TaiNua = QLocale::TaiNua, Ugaritic = QLocale::Ugaritic, Akoose = QLocale::Akoose, Lakota = QLocale::Lakota, StandardMoroccanTamazight = QLocale::StandardMoroccanTamazight, Mapuche = QLocale::Mapuche, CentralKurdish = QLocale::CentralKurdish, LowerSorbian = QLocale::LowerSorbian, UpperSorbian = QLocale::UpperSorbian, Kenyang = QLocale::Kenyang, Mohawk = QLocale::Mohawk, Nko = QLocale::Nko, Prussian = QLocale::Prussian, Kiche = QLocale::Kiche, SouthernSami = QLocale::SouthernSami, LuleSami = QLocale::LuleSami, InariSami = QLocale::InariSami, SkoltSami = QLocale::SkoltSami, Warlpiri = QLocale::Warlpiri, ManichaeanMiddlePersian = QLocale::ManichaeanMiddlePersian, Mende = QLocale::Mende, AncientNorthArabian = QLocale::AncientNorthArabian, LinearA = QLocale::LinearA, HmongNjua = QLocale::HmongNjua, Ho = QLocale::Ho, Lezghian = QLocale::Lezghian, Bassa = QLocale::Bassa, Mono = QLocale::Mono, TedimChin = QLocale::TedimChin, Maithili = QLocale::Maithili, Ahom = QLocale::Ahom, AmericanSignLanguage = QLocale::AmericanSignLanguage, ArdhamagadhiPrakrit = QLocale::ArdhamagadhiPrakrit, Bhojpuri = QLocale::Bhojpuri, HieroglyphicLuwian = QLocale::HieroglyphicLuwian, LiteraryChinese = QLocale::LiteraryChinese, Mazanderani = QLocale::Mazanderani, Mru = QLocale::Mru, Newari = QLocale::Newari, NorthernLuri = QLocale::NorthernLuri, Palauan = QLocale::Palauan, Papiamento = QLocale::Papiamento, Saraiki = QLocale::Saraiki, TokelauLanguage = QLocale::TokelauLanguage, TokPisin = QLocale::TokPisin, TuvaluLanguage = QLocale::TuvaluLanguage, UncodedLanguages = QLocale::UncodedLanguages, Cantonese = QLocale::Cantonese, Osage = QLocale::Osage, Tangut = QLocale::Tangut, Ido = QLocale::Ido, Lojban = QLocale::Lojban, Sicilian = QLocale::Sicilian, SouthernKurdish = QLocale::SouthernKurdish, WesternBalochi = QLocale::WesternBalochi, Cebuano = QLocale::Cebuano, Erzya = QLocale::Erzya, Chickasaw = QLocale::Chickasaw, Muscogee = QLocale::Muscogee, Silesian = QLocale::Silesian, NigerianPidgin = QLocale::NigerianPidgin, Afan = QLocale::Afan, Bhutani = QLocale::Bhutani, Byelorussian = QLocale::Byelorussian, Cambodian = QLocale::Cambodian, Chewa = QLocale::Chewa, Frisian = QLocale::Frisian, Kurundi = QLocale::Kurundi, Moldavian = QLocale::Moldavian, Norwegian = QLocale::Norwegian, RhaetoRomance = QLocale::RhaetoRomance, SerboCroatian = QLocale::SerboCroatian, Tagalog = QLocale::Tagalog, Twi = QLocale::Twi, Uigur = QLocale::Uigur, LastLanguage = QLocale::LastLanguage}; +enum MeasurementSystem{ + MetricSystem = QLocale::MetricSystem, ImperialUSSystem = QLocale::ImperialUSSystem, ImperialUKSystem = QLocale::ImperialUKSystem, ImperialSystem = QLocale::ImperialSystem}; +enum NumberOption{ + DefaultNumberOptions = QLocale::DefaultNumberOptions, OmitGroupSeparator = QLocale::OmitGroupSeparator, RejectGroupSeparator = QLocale::RejectGroupSeparator, OmitLeadingZeroInExponent = QLocale::OmitLeadingZeroInExponent, RejectLeadingZeroInExponent = QLocale::RejectLeadingZeroInExponent, IncludeTrailingZeroesAfterDot = QLocale::IncludeTrailingZeroesAfterDot, RejectTrailingZeroesAfterDot = QLocale::RejectTrailingZeroesAfterDot}; +enum QuotationStyle{ + StandardQuotation = QLocale::StandardQuotation, AlternateQuotation = QLocale::AlternateQuotation}; +enum Script{ + AnyScript = QLocale::AnyScript, ArabicScript = QLocale::ArabicScript, CyrillicScript = QLocale::CyrillicScript, DeseretScript = QLocale::DeseretScript, GurmukhiScript = QLocale::GurmukhiScript, SimplifiedHanScript = QLocale::SimplifiedHanScript, TraditionalHanScript = QLocale::TraditionalHanScript, LatinScript = QLocale::LatinScript, MongolianScript = QLocale::MongolianScript, TifinaghScript = QLocale::TifinaghScript, ArmenianScript = QLocale::ArmenianScript, BengaliScript = QLocale::BengaliScript, CherokeeScript = QLocale::CherokeeScript, DevanagariScript = QLocale::DevanagariScript, EthiopicScript = QLocale::EthiopicScript, GeorgianScript = QLocale::GeorgianScript, GreekScript = QLocale::GreekScript, GujaratiScript = QLocale::GujaratiScript, HebrewScript = QLocale::HebrewScript, JapaneseScript = QLocale::JapaneseScript, KhmerScript = QLocale::KhmerScript, KannadaScript = QLocale::KannadaScript, KoreanScript = QLocale::KoreanScript, LaoScript = QLocale::LaoScript, MalayalamScript = QLocale::MalayalamScript, MyanmarScript = QLocale::MyanmarScript, OriyaScript = QLocale::OriyaScript, TamilScript = QLocale::TamilScript, TeluguScript = QLocale::TeluguScript, ThaanaScript = QLocale::ThaanaScript, ThaiScript = QLocale::ThaiScript, TibetanScript = QLocale::TibetanScript, SinhalaScript = QLocale::SinhalaScript, SyriacScript = QLocale::SyriacScript, YiScript = QLocale::YiScript, VaiScript = QLocale::VaiScript, AvestanScript = QLocale::AvestanScript, BalineseScript = QLocale::BalineseScript, BamumScript = QLocale::BamumScript, BatakScript = QLocale::BatakScript, BopomofoScript = QLocale::BopomofoScript, BrahmiScript = QLocale::BrahmiScript, BugineseScript = QLocale::BugineseScript, BuhidScript = QLocale::BuhidScript, CanadianAboriginalScript = QLocale::CanadianAboriginalScript, CarianScript = QLocale::CarianScript, ChakmaScript = QLocale::ChakmaScript, ChamScript = QLocale::ChamScript, CopticScript = QLocale::CopticScript, CypriotScript = QLocale::CypriotScript, EgyptianHieroglyphsScript = QLocale::EgyptianHieroglyphsScript, FraserScript = QLocale::FraserScript, GlagoliticScript = QLocale::GlagoliticScript, GothicScript = QLocale::GothicScript, HanScript = QLocale::HanScript, HangulScript = QLocale::HangulScript, HanunooScript = QLocale::HanunooScript, ImperialAramaicScript = QLocale::ImperialAramaicScript, InscriptionalPahlaviScript = QLocale::InscriptionalPahlaviScript, InscriptionalParthianScript = QLocale::InscriptionalParthianScript, JavaneseScript = QLocale::JavaneseScript, KaithiScript = QLocale::KaithiScript, KatakanaScript = QLocale::KatakanaScript, KayahLiScript = QLocale::KayahLiScript, KharoshthiScript = QLocale::KharoshthiScript, LannaScript = QLocale::LannaScript, LepchaScript = QLocale::LepchaScript, LimbuScript = QLocale::LimbuScript, LinearBScript = QLocale::LinearBScript, LycianScript = QLocale::LycianScript, LydianScript = QLocale::LydianScript, MandaeanScript = QLocale::MandaeanScript, MeiteiMayekScript = QLocale::MeiteiMayekScript, MeroiticScript = QLocale::MeroiticScript, MeroiticCursiveScript = QLocale::MeroiticCursiveScript, NkoScript = QLocale::NkoScript, NewTaiLueScript = QLocale::NewTaiLueScript, OghamScript = QLocale::OghamScript, OlChikiScript = QLocale::OlChikiScript, OldItalicScript = QLocale::OldItalicScript, OldPersianScript = QLocale::OldPersianScript, OldSouthArabianScript = QLocale::OldSouthArabianScript, OrkhonScript = QLocale::OrkhonScript, OsmanyaScript = QLocale::OsmanyaScript, PhagsPaScript = QLocale::PhagsPaScript, PhoenicianScript = QLocale::PhoenicianScript, PollardPhoneticScript = QLocale::PollardPhoneticScript, RejangScript = QLocale::RejangScript, RunicScript = QLocale::RunicScript, SamaritanScript = QLocale::SamaritanScript, SaurashtraScript = QLocale::SaurashtraScript, SharadaScript = QLocale::SharadaScript, ShavianScript = QLocale::ShavianScript, SoraSompengScript = QLocale::SoraSompengScript, CuneiformScript = QLocale::CuneiformScript, SundaneseScript = QLocale::SundaneseScript, SylotiNagriScript = QLocale::SylotiNagriScript, TagalogScript = QLocale::TagalogScript, TagbanwaScript = QLocale::TagbanwaScript, TaiLeScript = QLocale::TaiLeScript, TaiVietScript = QLocale::TaiVietScript, TakriScript = QLocale::TakriScript, UgariticScript = QLocale::UgariticScript, BrailleScript = QLocale::BrailleScript, HiraganaScript = QLocale::HiraganaScript, CaucasianAlbanianScript = QLocale::CaucasianAlbanianScript, BassaVahScript = QLocale::BassaVahScript, DuployanScript = QLocale::DuployanScript, ElbasanScript = QLocale::ElbasanScript, GranthaScript = QLocale::GranthaScript, PahawhHmongScript = QLocale::PahawhHmongScript, KhojkiScript = QLocale::KhojkiScript, LinearAScript = QLocale::LinearAScript, MahajaniScript = QLocale::MahajaniScript, ManichaeanScript = QLocale::ManichaeanScript, MendeKikakuiScript = QLocale::MendeKikakuiScript, ModiScript = QLocale::ModiScript, MroScript = QLocale::MroScript, OldNorthArabianScript = QLocale::OldNorthArabianScript, NabataeanScript = QLocale::NabataeanScript, PalmyreneScript = QLocale::PalmyreneScript, PauCinHauScript = QLocale::PauCinHauScript, OldPermicScript = QLocale::OldPermicScript, PsalterPahlaviScript = QLocale::PsalterPahlaviScript, SiddhamScript = QLocale::SiddhamScript, KhudawadiScript = QLocale::KhudawadiScript, TirhutaScript = QLocale::TirhutaScript, VarangKshitiScript = QLocale::VarangKshitiScript, AhomScript = QLocale::AhomScript, AnatolianHieroglyphsScript = QLocale::AnatolianHieroglyphsScript, HatranScript = QLocale::HatranScript, MultaniScript = QLocale::MultaniScript, OldHungarianScript = QLocale::OldHungarianScript, SignWritingScript = QLocale::SignWritingScript, AdlamScript = QLocale::AdlamScript, BhaiksukiScript = QLocale::BhaiksukiScript, MarchenScript = QLocale::MarchenScript, NewaScript = QLocale::NewaScript, OsageScript = QLocale::OsageScript, TangutScript = QLocale::TangutScript, HanWithBopomofoScript = QLocale::HanWithBopomofoScript, JamoScript = QLocale::JamoScript, SimplifiedChineseScript = QLocale::SimplifiedChineseScript, TraditionalChineseScript = QLocale::TraditionalChineseScript, LastScript = QLocale::LastScript}; +Q_DECLARE_FLAGS(NumberOptions, NumberOption) +public slots: +QLocale* new_QLocale(); +QLocale* new_QLocale(QLocale::Language language, QLocale::Country country = QLocale::AnyCountry); +QLocale* new_QLocale(QLocale::Language language, QLocale::Script script, QLocale::Country country); +QLocale* new_QLocale(const QLocale& other); +QLocale* new_QLocale(const QString& name); +void delete_QLocale(QLocale* obj) { delete obj; } + QString amText(QLocale* theWrappedObject) const; + QString bcp47Name(QLocale* theWrappedObject) const; + QLocale static_QLocale_c(); + QLocale collation(QLocale* theWrappedObject) const; + QList static_QLocale_countriesForLanguage(QLocale::Language lang); + QLocale::Country country(QLocale* theWrappedObject) const; + QString static_QLocale_countryToString(QLocale::Country country); + QString createSeparatedList(QLocale* theWrappedObject, const QStringList& strl) const; + QString currencySymbol(QLocale* theWrappedObject, QLocale::CurrencySymbolFormat arg__1 = QLocale::CurrencySymbol) const; + QString dateFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; + QString dateTimeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; + QString dayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + QChar decimalPoint(QLocale* theWrappedObject) const; + QChar exponential(QLocale* theWrappedObject) const; + Qt::DayOfWeek firstDayOfWeek(QLocale* theWrappedObject) const; + QChar groupSeparator(QLocale* theWrappedObject) const; + QLocale::Language language(QLocale* theWrappedObject) const; + QString static_QLocale_languageToString(QLocale::Language language); + QList static_QLocale_matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country); + QLocale::MeasurementSystem measurementSystem(QLocale* theWrappedObject) const; + QString monthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + QString name(QLocale* theWrappedObject) const; + QString nativeCountryName(QLocale* theWrappedObject) const; + QString nativeLanguageName(QLocale* theWrappedObject) const; + QChar negativeSign(QLocale* theWrappedObject) const; + QLocale::NumberOptions numberOptions(QLocale* theWrappedObject) const; + bool __ne__(QLocale* theWrappedObject, const QLocale& other) const; + void writeTo(QLocale* theWrappedObject, QDataStream& arg__1); + bool __eq__(QLocale* theWrappedObject, const QLocale& other) const; + void readFrom(QLocale* theWrappedObject, QDataStream& arg__1); + QChar percent(QLocale* theWrappedObject) const; + QString pmText(QLocale* theWrappedObject) const; + QChar positiveSign(QLocale* theWrappedObject) const; + QString quoteString(QLocale* theWrappedObject, const QString& str, QLocale::QuotationStyle style = QLocale::StandardQuotation) const; + QString quoteString(QLocale* theWrappedObject, const QStringRef& str, QLocale::QuotationStyle style = QLocale::StandardQuotation) const; + QLocale::Script script(QLocale* theWrappedObject) const; + QString static_QLocale_scriptToString(QLocale::Script script); + void static_QLocale_setDefault(const QLocale& locale); + void setNumberOptions(QLocale* theWrappedObject, QLocale::NumberOptions options); + QString standaloneDayName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + QString standaloneMonthName(QLocale* theWrappedObject, int arg__1, QLocale::FormatType format = QLocale::LongFormat) const; + void swap(QLocale* theWrappedObject, QLocale& other); + QLocale static_QLocale_system(); + Qt::LayoutDirection textDirection(QLocale* theWrappedObject) const; + QString timeFormat(QLocale* theWrappedObject, QLocale::FormatType format = QLocale::LongFormat) const; + QString toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, double arg__1, const QString& symbol, int precision) const; + QString toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, float i, const QString& symbol, int precision) const; + QString toCurrencyString(QLocale* theWrappedObject, int arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, qlonglong arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, qulonglong arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, short arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, uint arg__1, const QString& symbol = QString()) const; + QString toCurrencyString(QLocale* theWrappedObject, ushort arg__1, const QString& symbol = QString()) const; + QDate toDate(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; + QDate toDate(QLocale* theWrappedObject, const QString& string, const QString& format) const; + QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format = QLocale::LongFormat) const; + QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; + double toDouble(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + double toDouble(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + float toFloat(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + float toFloat(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + int toInt(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + int toInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + long toLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + long toLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + qlonglong toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + qlonglong toLongLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + QString toLower(QLocale* theWrappedObject, const QString& str) const; + short toShort(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + short toShort(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + QString toString(QLocale* theWrappedObject, const QDate& date, QLocale::FormatType format = QLocale::LongFormat) const; + QString toString(QLocale* theWrappedObject, const QDate& date, const QString& formatStr) const; + QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format = QLocale::LongFormat) const; + QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, const QString& format) const; + QString toString(QLocale* theWrappedObject, const QTime& time, QLocale::FormatType format = QLocale::LongFormat) const; + QString toString(QLocale* theWrappedObject, const QTime& time, const QString& formatStr) const; + QString toString(QLocale* theWrappedObject, double i, char f = 'g', int prec = 6) const; + QString toString(QLocale* theWrappedObject, float i, char f = 'g', int prec = 6) const; + QString toString(QLocale* theWrappedObject, int i) const; + QString toString(QLocale* theWrappedObject, long i) const; + QString toString(QLocale* theWrappedObject, qlonglong i) const; + QString toString(QLocale* theWrappedObject, short i) const; + QString toString(QLocale* theWrappedObject, ulong i) const; + QTime toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; + QTime toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; + uint toUInt(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + uint toUInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + ulong toULong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + ulong toULong(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + qulonglong toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + qulonglong toULongLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + ushort toUShort(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; + ushort toUShort(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; + QString toUpper(QLocale* theWrappedObject, const QString& str) const; + QStringList uiLanguages(QLocale* theWrappedObject) const; + QList weekdays(QLocale* theWrappedObject) const; + QChar zeroDigit(QLocale* theWrappedObject) const; + QString py_toString(QLocale*); +}; + + + + + +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; } + int static_QPoint_dotProduct(const QPoint& p1, const QPoint& p2); + bool isNull(QPoint* theWrappedObject) const; + int manhattanLength(QPoint* theWrappedObject) const; + bool __ne__(QPoint* theWrappedObject, const QPoint& p2); + QPoint __mul__(QPoint* theWrappedObject, const QMatrix& m); + QPoint __mul__(QPoint* theWrappedObject, const QMatrix4x4& matrix); + QPoint __mul__(QPoint* theWrappedObject, const QTransform& m); + const QPoint __mul__(QPoint* theWrappedObject, double factor); + const QPoint __mul__(QPoint* theWrappedObject, float factor); + const QPoint __mul__(QPoint* theWrappedObject, int factor); + QPoint* __imul__(QPoint* theWrappedObject, double factor); + QPoint* __imul__(QPoint* theWrappedObject, float factor); + QPoint* __imul__(QPoint* theWrappedObject, int factor); + const QPoint __add__(QPoint* theWrappedObject, const QPoint& p2); + QPoint* __iadd__(QPoint* theWrappedObject, const QPoint& p); + const QPoint __sub__(QPoint* theWrappedObject, const QPoint& p2); + QPoint* __isub__(QPoint* theWrappedObject, const QPoint& p); + const QPoint __div__(QPoint* theWrappedObject, qreal c); + QPoint* __idiv__(QPoint* theWrappedObject, qreal divisor); + void writeTo(QPoint* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPoint* theWrappedObject, const QPoint& p2); + void readFrom(QPoint* theWrappedObject, QDataStream& arg__1); + void setX(QPoint* theWrappedObject, int x); + void setY(QPoint* theWrappedObject, int y); + QPoint transposed(QPoint* theWrappedObject) const; + int x(QPoint* theWrappedObject) const; + int y(QPoint* theWrappedObject) const; + QString py_toString(QPoint*); + bool __nonzero__(QPoint* obj) { return !obj->isNull(); } +}; + + + + + +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; } + qreal static_QPointF_dotProduct(const QPointF& p1, const QPointF& p2); + bool isNull(QPointF* theWrappedObject) const; + qreal manhattanLength(QPointF* theWrappedObject) const; + bool __ne__(QPointF* theWrappedObject, const QPointF& p2); + QPointF __mul__(QPointF* theWrappedObject, const QMatrix& m); + QPointF __mul__(QPointF* theWrappedObject, const QMatrix4x4& matrix); + QPointF __mul__(QPointF* theWrappedObject, const QTransform& m); + const QPointF __mul__(QPointF* theWrappedObject, qreal c); + QPointF* __imul__(QPointF* theWrappedObject, qreal c); + const QPointF __add__(QPointF* theWrappedObject, const QPointF& p2); + QPointF* __iadd__(QPointF* theWrappedObject, const QPointF& p); + const QPointF __sub__(QPointF* theWrappedObject, const QPointF& p2); + QPointF* __isub__(QPointF* theWrappedObject, const QPointF& p); + const QPointF __div__(QPointF* theWrappedObject, qreal divisor); + QPointF* __idiv__(QPointF* theWrappedObject, qreal c); + void writeTo(QPointF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPointF* theWrappedObject, const QPointF& p2); + void readFrom(QPointF* theWrappedObject, QDataStream& arg__1); + void setX(QPointF* theWrappedObject, qreal x); + void setY(QPointF* theWrappedObject, qreal y); + QPoint toPoint(QPointF* theWrappedObject) const; + QPointF transposed(QPointF* theWrappedObject) const; + qreal x(QPointF* theWrappedObject) const; + qreal y(QPointF* theWrappedObject) const; + QString py_toString(QPointF*); + bool __nonzero__(QPointF* obj) { return !obj->isNull(); } +}; + + + + + +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; } + void adjust(QRect* theWrappedObject, int x1, int y1, int x2, int y2); + QRect adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const; + int bottom(QRect* theWrappedObject) const; + QPoint bottomLeft(QRect* theWrappedObject) const; + QPoint bottomRight(QRect* theWrappedObject) const; + QPoint center(QRect* theWrappedObject) const; + bool contains(QRect* theWrappedObject, const QPoint& p, bool proper = false) const; + bool contains(QRect* theWrappedObject, const QRect& r, bool proper = false) const; + bool contains(QRect* theWrappedObject, int x, int y) const; + bool contains(QRect* theWrappedObject, int x, int y, bool proper) const; + int height(QRect* theWrappedObject) const; + QRect intersected(QRect* theWrappedObject, const QRect& other) const; + bool intersects(QRect* theWrappedObject, const QRect& r) const; + bool isEmpty(QRect* theWrappedObject) const; + bool isNull(QRect* theWrappedObject) const; + bool isValid(QRect* theWrappedObject) const; + int left(QRect* theWrappedObject) const; + QRect marginsAdded(QRect* theWrappedObject, const QMargins& margins) const; + QRect marginsRemoved(QRect* theWrappedObject, const QMargins& margins) const; + void moveBottom(QRect* theWrappedObject, int pos); + void moveBottomLeft(QRect* theWrappedObject, const QPoint& p); + void moveBottomRight(QRect* theWrappedObject, const QPoint& p); + void moveCenter(QRect* theWrappedObject, const QPoint& p); + void moveLeft(QRect* theWrappedObject, int pos); + void moveRight(QRect* theWrappedObject, int pos); + void moveTo(QRect* theWrappedObject, const QPoint& p); + void moveTo(QRect* theWrappedObject, int x, int t); + void moveTop(QRect* theWrappedObject, int pos); + void moveTopLeft(QRect* theWrappedObject, const QPoint& p); + void moveTopRight(QRect* theWrappedObject, const QPoint& p); + QRect normalized(QRect* theWrappedObject) const; + bool __ne__(QRect* theWrappedObject, const QRect& arg__2); + QRect __and__(QRect* theWrappedObject, const QRect& r) const; + QRect* __iand__(QRect* theWrappedObject, const QRect& r); + QRect __add__(QRect* theWrappedObject, const QMargins& margins); + QRect* __iadd__(QRect* theWrappedObject, const QMargins& margins); + QRect __sub__(QRect* theWrappedObject, const QMargins& rhs); + QRect* __isub__(QRect* theWrappedObject, const QMargins& margins); + void writeTo(QRect* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRect* theWrappedObject, const QRect& arg__2); + void readFrom(QRect* theWrappedObject, QDataStream& arg__1); + QRect __or__(QRect* theWrappedObject, const QRect& r) const; + QRect* __ior__(QRect* theWrappedObject, const QRect& r); + int right(QRect* theWrappedObject) const; + void setBottom(QRect* theWrappedObject, int pos); + void setBottomLeft(QRect* theWrappedObject, const QPoint& p); + void setBottomRight(QRect* theWrappedObject, const QPoint& p); + void setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2); + void setHeight(QRect* theWrappedObject, int h); + void setLeft(QRect* theWrappedObject, int pos); + void setRect(QRect* theWrappedObject, int x, int y, int w, int h); + void setRight(QRect* theWrappedObject, int pos); + void setSize(QRect* theWrappedObject, const QSize& s); + void setTop(QRect* theWrappedObject, int pos); + void setTopLeft(QRect* theWrappedObject, const QPoint& p); + void setTopRight(QRect* theWrappedObject, const QPoint& p); + void setWidth(QRect* theWrappedObject, int w); + void setX(QRect* theWrappedObject, int x); + void setY(QRect* theWrappedObject, int y); + QSize size(QRect* theWrappedObject) const; + int top(QRect* theWrappedObject) const; + QPoint topLeft(QRect* theWrappedObject) const; + QPoint topRight(QRect* theWrappedObject) const; + void translate(QRect* theWrappedObject, const QPoint& p); + void translate(QRect* theWrappedObject, int dx, int dy); + QRect translated(QRect* theWrappedObject, const QPoint& p) const; + QRect translated(QRect* theWrappedObject, int dx, int dy) const; + QRect transposed(QRect* theWrappedObject) const; + QRect united(QRect* theWrappedObject, const QRect& other) const; + int width(QRect* theWrappedObject) const; + int x(QRect* theWrappedObject) const; + int y(QRect* theWrappedObject) const; + QString py_toString(QRect*); + bool __nonzero__(QRect* obj) { return !obj->isEmpty(); } +}; + + + + + +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; } + void adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); + QRectF adjusted(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) const; + qreal bottom(QRectF* theWrappedObject) const; + QPointF bottomLeft(QRectF* theWrappedObject) const; + QPointF bottomRight(QRectF* theWrappedObject) const; + QPointF center(QRectF* theWrappedObject) const; + bool contains(QRectF* theWrappedObject, const QPointF& p) const; + bool contains(QRectF* theWrappedObject, const QRectF& r) const; + bool contains(QRectF* theWrappedObject, qreal x, qreal y) const; + qreal height(QRectF* theWrappedObject) const; + QRectF intersected(QRectF* theWrappedObject, const QRectF& other) const; + bool intersects(QRectF* theWrappedObject, const QRectF& r) const; + bool isEmpty(QRectF* theWrappedObject) const; + bool isNull(QRectF* theWrappedObject) const; + bool isValid(QRectF* theWrappedObject) const; + qreal left(QRectF* theWrappedObject) const; + QRectF marginsAdded(QRectF* theWrappedObject, const QMarginsF& margins) const; + QRectF marginsRemoved(QRectF* theWrappedObject, const QMarginsF& margins) const; + void moveBottom(QRectF* theWrappedObject, qreal pos); + void moveBottomLeft(QRectF* theWrappedObject, const QPointF& p); + void moveBottomRight(QRectF* theWrappedObject, const QPointF& p); + void moveCenter(QRectF* theWrappedObject, const QPointF& p); + void moveLeft(QRectF* theWrappedObject, qreal pos); + void moveRight(QRectF* theWrappedObject, qreal pos); + void moveTo(QRectF* theWrappedObject, const QPointF& p); + void moveTo(QRectF* theWrappedObject, qreal x, qreal y); + void moveTop(QRectF* theWrappedObject, qreal pos); + void moveTopLeft(QRectF* theWrappedObject, const QPointF& p); + void moveTopRight(QRectF* theWrappedObject, const QPointF& p); + QRectF normalized(QRectF* theWrappedObject) const; + bool __ne__(QRectF* theWrappedObject, const QRectF& arg__2); + QRectF __and__(QRectF* theWrappedObject, const QRectF& r) const; + QRectF* __iand__(QRectF* theWrappedObject, const QRectF& r); + QRectF __add__(QRectF* theWrappedObject, const QMarginsF& rhs); + QRectF* __iadd__(QRectF* theWrappedObject, const QMarginsF& margins); + QRectF __sub__(QRectF* theWrappedObject, const QMarginsF& rhs); + QRectF* __isub__(QRectF* theWrappedObject, const QMarginsF& margins); + void writeTo(QRectF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRectF* theWrappedObject, const QRectF& arg__2); + void readFrom(QRectF* theWrappedObject, QDataStream& arg__1); + QRectF __or__(QRectF* theWrappedObject, const QRectF& r) const; + QRectF* __ior__(QRectF* theWrappedObject, const QRectF& r); + qreal right(QRectF* theWrappedObject) const; + void setBottom(QRectF* theWrappedObject, qreal pos); + void setBottomLeft(QRectF* theWrappedObject, const QPointF& p); + void setBottomRight(QRectF* theWrappedObject, const QPointF& p); + void setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); + void setHeight(QRectF* theWrappedObject, qreal h); + void setLeft(QRectF* theWrappedObject, qreal pos); + void setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setRight(QRectF* theWrappedObject, qreal pos); + void setSize(QRectF* theWrappedObject, const QSizeF& s); + void setTop(QRectF* theWrappedObject, qreal pos); + void setTopLeft(QRectF* theWrappedObject, const QPointF& p); + void setTopRight(QRectF* theWrappedObject, const QPointF& p); + void setWidth(QRectF* theWrappedObject, qreal w); + void setX(QRectF* theWrappedObject, qreal pos); + void setY(QRectF* theWrappedObject, qreal pos); + QSizeF size(QRectF* theWrappedObject) const; + QRect toAlignedRect(QRectF* theWrappedObject) const; + QRect toRect(QRectF* theWrappedObject) const; + qreal top(QRectF* theWrappedObject) const; + QPointF topLeft(QRectF* theWrappedObject) const; + QPointF topRight(QRectF* theWrappedObject) const; + void translate(QRectF* theWrappedObject, const QPointF& p); + void translate(QRectF* theWrappedObject, qreal dx, qreal dy); + QRectF translated(QRectF* theWrappedObject, const QPointF& p) const; + QRectF translated(QRectF* theWrappedObject, qreal dx, qreal dy) const; + QRectF transposed(QRectF* theWrappedObject) const; + QRectF united(QRectF* theWrappedObject, const QRectF& other) const; + qreal width(QRectF* theWrappedObject) const; + qreal x(QRectF* theWrappedObject) const; + qreal y(QRectF* theWrappedObject) const; + QString py_toString(QRectF*); + bool __nonzero__(QRectF* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QRegExp : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CaretMode PatternSyntax ) +enum CaretMode{ + CaretAtZero = QRegExp::CaretAtZero, CaretAtOffset = QRegExp::CaretAtOffset, CaretWontMatch = QRegExp::CaretWontMatch}; +enum PatternSyntax{ + RegExp = QRegExp::RegExp, Wildcard = QRegExp::Wildcard, FixedString = QRegExp::FixedString, RegExp2 = QRegExp::RegExp2, WildcardUnix = QRegExp::WildcardUnix, W3CXmlSchema11 = QRegExp::W3CXmlSchema11}; +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); + int captureCount(QRegExp* theWrappedObject) const; + QStringList capturedTexts(QRegExp* theWrappedObject); + Qt::CaseSensitivity caseSensitivity(QRegExp* theWrappedObject) const; + QString errorString(QRegExp* theWrappedObject); + QString static_QRegExp_escape(const QString& str); + bool exactMatch(QRegExp* theWrappedObject, const QString& str) const; + int indexIn(QRegExp* theWrappedObject, const QString& str, int offset = 0, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; + bool isEmpty(QRegExp* theWrappedObject) const; + bool isMinimal(QRegExp* theWrappedObject) const; + bool isValid(QRegExp* theWrappedObject) const; + int lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset = -1, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; + int matchedLength(QRegExp* theWrappedObject) const; + bool __ne__(QRegExp* theWrappedObject, const QRegExp& rx) const; + void writeTo(QRegExp* theWrappedObject, QDataStream& out); + bool __eq__(QRegExp* theWrappedObject, const QRegExp& rx) const; + void readFrom(QRegExp* theWrappedObject, QDataStream& in); + QString pattern(QRegExp* theWrappedObject) const; + QRegExp::PatternSyntax patternSyntax(QRegExp* theWrappedObject) const; + int pos(QRegExp* theWrappedObject, int nth = 0); + void setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs); + void setMinimal(QRegExp* theWrappedObject, bool minimal); + void setPattern(QRegExp* theWrappedObject, const QString& pattern); + void setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax); + void swap(QRegExp* theWrappedObject, QRegExp& other); + QString py_toString(QRegExp*); + bool __nonzero__(QRegExp* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QRegularExpression : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MatchOption MatchType PatternOption ) +Q_FLAGS(MatchOptions PatternOptions ) +enum MatchOption{ + NoMatchOption = QRegularExpression::NoMatchOption, AnchoredMatchOption = QRegularExpression::AnchoredMatchOption, DontCheckSubjectStringMatchOption = QRegularExpression::DontCheckSubjectStringMatchOption}; +enum MatchType{ + NormalMatch = QRegularExpression::NormalMatch, PartialPreferCompleteMatch = QRegularExpression::PartialPreferCompleteMatch, PartialPreferFirstMatch = QRegularExpression::PartialPreferFirstMatch, NoMatch = QRegularExpression::NoMatch}; +enum PatternOption{ + NoPatternOption = QRegularExpression::NoPatternOption, CaseInsensitiveOption = QRegularExpression::CaseInsensitiveOption, DotMatchesEverythingOption = QRegularExpression::DotMatchesEverythingOption, MultilineOption = QRegularExpression::MultilineOption, ExtendedPatternSyntaxOption = QRegularExpression::ExtendedPatternSyntaxOption, InvertedGreedinessOption = QRegularExpression::InvertedGreedinessOption, DontCaptureOption = QRegularExpression::DontCaptureOption, UseUnicodePropertiesOption = QRegularExpression::UseUnicodePropertiesOption, OptimizeOnFirstUsageOption = QRegularExpression::OptimizeOnFirstUsageOption, DontAutomaticallyOptimizeOption = QRegularExpression::DontAutomaticallyOptimizeOption}; +Q_DECLARE_FLAGS(MatchOptions, MatchOption) +Q_DECLARE_FLAGS(PatternOptions, PatternOption) +public slots: +QRegularExpression* new_QRegularExpression(); +QRegularExpression* new_QRegularExpression(const QRegularExpression& re); +QRegularExpression* new_QRegularExpression(const QString& pattern, QRegularExpression::PatternOptions options = QRegularExpression::NoPatternOption); +void delete_QRegularExpression(QRegularExpression* obj) { delete obj; } + QString static_QRegularExpression_anchoredPattern(const QString& expression); + int captureCount(QRegularExpression* theWrappedObject) const; + QString errorString(QRegularExpression* theWrappedObject) const; + QString static_QRegularExpression_escape(const QString& str); + QRegularExpressionMatchIterator globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + QRegularExpressionMatchIterator globalMatch(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + bool isValid(QRegularExpression* theWrappedObject) const; + QRegularExpressionMatch match(QRegularExpression* theWrappedObject, const QString& subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + QRegularExpressionMatch match(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + QStringList namedCaptureGroups(QRegularExpression* theWrappedObject) const; + bool __ne__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const; + void writeTo(QRegularExpression* theWrappedObject, QDataStream& out); + QRegularExpression* operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re); + bool __eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const; + void readFrom(QRegularExpression* theWrappedObject, QDataStream& in); + void optimize(QRegularExpression* theWrappedObject) const; + QString pattern(QRegularExpression* theWrappedObject) const; + int patternErrorOffset(QRegularExpression* theWrappedObject) const; + QRegularExpression::PatternOptions patternOptions(QRegularExpression* theWrappedObject) const; + void setPattern(QRegularExpression* theWrappedObject, const QString& pattern); + void setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options); + void swap(QRegularExpression* theWrappedObject, QRegularExpression& other); + QString static_QRegularExpression_wildcardToRegularExpression(const QString& str); + QString py_toString(QRegularExpression*); + bool __nonzero__(QRegularExpression* obj) { return obj->isValid(); } +}; + + + + + +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; } + QSize boundedTo(QSize* theWrappedObject, const QSize& arg__1) const; + QSize expandedTo(QSize* theWrappedObject, const QSize& arg__1) const; + QSize grownBy(QSize* theWrappedObject, QMargins m) const; + int height(QSize* theWrappedObject) const; + bool isEmpty(QSize* theWrappedObject) const; + bool isNull(QSize* theWrappedObject) const; + bool isValid(QSize* theWrappedObject) const; + bool __ne__(QSize* theWrappedObject, const QSize& s2); + const QSize __mul__(QSize* theWrappedObject, qreal c); + QSize* __imul__(QSize* theWrappedObject, qreal c); + const QSize __add__(QSize* theWrappedObject, const QSize& s2); + QSize* __iadd__(QSize* theWrappedObject, const QSize& arg__1); + const QSize __sub__(QSize* theWrappedObject, const QSize& s2); + QSize* __isub__(QSize* theWrappedObject, const QSize& arg__1); + const QSize __div__(QSize* theWrappedObject, qreal c); + QSize* __idiv__(QSize* theWrappedObject, qreal c); + void writeTo(QSize* theWrappedObject, QDataStream& arg__1); + bool __eq__(QSize* theWrappedObject, const QSize& s2); + void readFrom(QSize* theWrappedObject, QDataStream& arg__1); + void scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode); + void scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode); + QSize scaled(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode) const; + QSize scaled(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode) const; + void setHeight(QSize* theWrappedObject, int h); + void setWidth(QSize* theWrappedObject, int w); + QSize shrunkBy(QSize* theWrappedObject, QMargins m) const; + void transpose(QSize* theWrappedObject); + QSize transposed(QSize* theWrappedObject) const; + int width(QSize* theWrappedObject) const; + QString py_toString(QSize*); + bool __nonzero__(QSize* obj) { return !obj->isEmpty(); } +}; + + + + + +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; } + QSizeF boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; + QSizeF expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; + QSizeF grownBy(QSizeF* theWrappedObject, QMarginsF m) const; + qreal height(QSizeF* theWrappedObject) const; + bool isEmpty(QSizeF* theWrappedObject) const; + bool isNull(QSizeF* theWrappedObject) const; + bool isValid(QSizeF* theWrappedObject) const; + bool __ne__(QSizeF* theWrappedObject, const QSizeF& s2); + const QSizeF __mul__(QSizeF* theWrappedObject, qreal c); + QSizeF* __imul__(QSizeF* theWrappedObject, qreal c); + const QSizeF __add__(QSizeF* theWrappedObject, const QSizeF& s2); + QSizeF* __iadd__(QSizeF* theWrappedObject, const QSizeF& arg__1); + const QSizeF __sub__(QSizeF* theWrappedObject, const QSizeF& s2); + QSizeF* __isub__(QSizeF* theWrappedObject, const QSizeF& arg__1); + const QSizeF __div__(QSizeF* theWrappedObject, qreal c); + QSizeF* __idiv__(QSizeF* theWrappedObject, qreal c); + void writeTo(QSizeF* theWrappedObject, QDataStream& arg__1); + bool __eq__(QSizeF* theWrappedObject, const QSizeF& s2); + void readFrom(QSizeF* theWrappedObject, QDataStream& arg__1); + void scale(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode); + void scale(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode); + QSizeF scaled(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode) const; + QSizeF scaled(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode) const; + void setHeight(QSizeF* theWrappedObject, qreal h); + void setWidth(QSizeF* theWrappedObject, qreal w); + QSizeF shrunkBy(QSizeF* theWrappedObject, QMarginsF m) const; + QSize toSize(QSizeF* theWrappedObject) const; + void transpose(QSizeF* theWrappedObject); + QSizeF transposed(QSizeF* theWrappedObject) const; + qreal width(QSizeF* theWrappedObject) const; + QString py_toString(QSizeF*); + bool __nonzero__(QSizeF* obj) { return !obj->isEmpty(); } +}; + + + + + +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; } + QTime addMSecs(QTime* theWrappedObject, int ms) const; + QTime addSecs(QTime* theWrappedObject, int secs) const; + QTime static_QTime_currentTime(); + int elapsed(QTime* theWrappedObject) const; + QTime static_QTime_fromMSecsSinceStartOfDay(int msecs); + QTime static_QTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); + QTime static_QTime_fromString(const QString& s, const QString& format); + int hour(QTime* theWrappedObject) const; + bool isNull(QTime* theWrappedObject) const; + bool isValid(QTime* theWrappedObject) const; + bool static_QTime_isValid(int h, int m, int s, int ms = 0); + int minute(QTime* theWrappedObject) const; + int msec(QTime* theWrappedObject) const; + int msecsSinceStartOfDay(QTime* theWrappedObject) const; + int msecsTo(QTime* theWrappedObject, const QTime& arg__1) const; + bool __ne__(QTime* theWrappedObject, const QTime& other) const; + bool __lt__(QTime* theWrappedObject, const QTime& other) const; + void writeTo(QTime* theWrappedObject, QDataStream& arg__1); + bool __le__(QTime* theWrappedObject, const QTime& other) const; + bool __eq__(QTime* theWrappedObject, const QTime& other) const; + bool __gt__(QTime* theWrappedObject, const QTime& other) const; + bool __ge__(QTime* theWrappedObject, const QTime& other) const; + void readFrom(QTime* theWrappedObject, QDataStream& arg__1); + int restart(QTime* theWrappedObject); + int second(QTime* theWrappedObject) const; + int secsTo(QTime* theWrappedObject, const QTime& arg__1) const; + bool setHMS(QTime* theWrappedObject, int h, int m, int s, int ms = 0); + void start(QTime* theWrappedObject); + QString toString(QTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; + QString toString(QTime* theWrappedObject, const QString& format) const; + QString py_toString(QTime*); + bool __nonzero__(QTime* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QUrl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ComponentFormattingOption ParsingMode UrlFormattingOption UserInputResolutionOption ) +Q_FLAGS(ComponentFormattingOptions FormattingOptions ) +enum ComponentFormattingOption{ + PrettyDecoded = QUrl::PrettyDecoded, EncodeSpaces = QUrl::EncodeSpaces, EncodeUnicode = QUrl::EncodeUnicode, EncodeDelimiters = QUrl::EncodeDelimiters, EncodeReserved = QUrl::EncodeReserved, DecodeReserved = QUrl::DecodeReserved, FullyEncoded = QUrl::FullyEncoded, FullyDecoded = QUrl::FullyDecoded}; +enum ParsingMode{ + TolerantMode = QUrl::TolerantMode, StrictMode = QUrl::StrictMode, DecodedMode = QUrl::DecodedMode}; +enum UrlFormattingOption{ + 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, PreferLocalFile = QUrl::PreferLocalFile, StripTrailingSlash = QUrl::StripTrailingSlash, RemoveFilename = QUrl::RemoveFilename, NormalizePathSegments = QUrl::NormalizePathSegments}; +enum UserInputResolutionOption{ + DefaultResolution = QUrl::DefaultResolution, AssumeLocalFile = QUrl::AssumeLocalFile}; +Q_DECLARE_FLAGS(ComponentFormattingOptions, ComponentFormattingOption) +Q_DECLARE_FLAGS(FormattingOptions, UrlFormattingOption) +public slots: +QUrl* new_QUrl(); +QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); +QUrl* new_QUrl(const QUrl& copy); +void delete_QUrl(QUrl* obj) { delete obj; } + QUrl adjusted(QUrl* theWrappedObject, QUrl::FormattingOptions options) const; + QString authority(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + void clear(QUrl* theWrappedObject); + QString errorString(QUrl* theWrappedObject) const; + QString fileName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + QString fragment(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + QString static_QUrl_fromAce(const QByteArray& arg__1); + QUrl static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode = QUrl::TolerantMode); + QUrl static_QUrl_fromLocalFile(const QString& localfile); + QString static_QUrl_fromPercentEncoding(const QByteArray& arg__1); + QList static_QUrl_fromStringList(const QStringList& uris, QUrl::ParsingMode mode = QUrl::TolerantMode); + QUrl static_QUrl_fromUserInput(const QString& userInput); + bool hasFragment(QUrl* theWrappedObject) const; + bool hasQuery(QUrl* theWrappedObject) const; + QString host(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::FullyDecoded) const; + QStringList static_QUrl_idnWhitelist(); + bool isEmpty(QUrl* theWrappedObject) const; + bool isLocalFile(QUrl* theWrappedObject) const; + bool isParentOf(QUrl* theWrappedObject, const QUrl& url) const; + bool isRelative(QUrl* theWrappedObject) const; + bool isValid(QUrl* theWrappedObject) const; + bool matches(QUrl* theWrappedObject, const QUrl& url, QUrl::FormattingOptions options) const; + bool __ne__(QUrl* theWrappedObject, const QUrl& url) const; + bool __lt__(QUrl* theWrappedObject, const QUrl& url) const; + void writeTo(QUrl* theWrappedObject, QDataStream& arg__1); + bool __eq__(QUrl* theWrappedObject, const QUrl& url) const; + void readFrom(QUrl* theWrappedObject, QDataStream& arg__1); + QString password(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::FullyDecoded) const; + QString path(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + int port(QUrl* theWrappedObject, int defaultPort = -1) const; + QString query(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions arg__1 = QUrl::PrettyDecoded) const; + QUrl resolved(QUrl* theWrappedObject, const QUrl& relative) const; + QString scheme(QUrl* theWrappedObject) const; + void setAuthority(QUrl* theWrappedObject, const QString& authority, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setFragment(QUrl* theWrappedObject, const QString& fragment, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setHost(QUrl* theWrappedObject, const QString& host, QUrl::ParsingMode mode = QUrl::DecodedMode); + void static_QUrl_setIdnWhitelist(const QStringList& arg__1); + void setPassword(QUrl* theWrappedObject, const QString& password, QUrl::ParsingMode mode = QUrl::DecodedMode); + void setPath(QUrl* theWrappedObject, const QString& path, QUrl::ParsingMode mode = QUrl::DecodedMode); + void setPort(QUrl* theWrappedObject, int port); + void setQuery(QUrl* theWrappedObject, const QString& query, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setQuery(QUrl* theWrappedObject, const QUrlQuery& query); + void setScheme(QUrl* theWrappedObject, const QString& scheme); + void setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setUserInfo(QUrl* theWrappedObject, const QString& userInfo, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setUserName(QUrl* theWrappedObject, const QString& userName, QUrl::ParsingMode mode = QUrl::DecodedMode); + void swap(QUrl* theWrappedObject, QUrl& other); + QByteArray static_QUrl_toAce(const QString& arg__1); + QString toDisplayString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; + QByteArray toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FullyEncoded) const; + QString toLocalFile(QUrl* theWrappedObject) const; + QByteArray static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray()); + QString toString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; + QStringList static_QUrl_toStringList(const QList& uris, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)); + QString topLevelDomain(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + QString url(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::FormattingOptions(PrettyDecoded)) const; + QString userInfo(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + QString userName(QUrl* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + QString py_toString(QUrl*); + bool __nonzero__(QUrl* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_Qt : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AlignmentFlag AnchorPoint ApplicationAttribute ApplicationState ArrowType AspectRatioMode Axis BGMode BrushStyle CaseSensitivity CheckState ChecksumType ClipOperation ConnectionType ContextMenuPolicy CoordinateSystem Corner CursorMoveStyle CursorShape DateFormat DayOfWeek DockWidgetArea DockWidgetAreaSizes DropAction Edge EnterKeyType EventPriority FillRule FindChildOption FocusPolicy FocusReason GestureFlag GestureState GestureType GlobalColor HitTestAccuracy ImageConversionFlag InputMethodHint InputMethodQuery ItemDataRole ItemFlag ItemSelectionMode ItemSelectionOperation Key KeyboardModifier LayoutDirection MaskMode MatchFlag MouseButton MouseEventFlag MouseEventSource NativeGestureType NavigationMode Orientation PenCapStyle PenJoinStyle PenStyle ScreenOrientation ScrollBarPolicy ScrollPhase ShortcutContext SizeHint SizeMode SortOrder TabFocusBehavior TextElideMode TextFlag TextFormat TextInteractionFlag TileRule TimeSpec TimerType ToolBarArea ToolBarAreaSizes ToolButtonStyle TouchPointState TransformationMode UIEffect WhiteSpaceMode WidgetAttribute WindowFrameSection WindowModality WindowState WindowType ) +Q_FLAGS(Alignment DockWidgetAreas DropActions FindChildOptions GestureFlags ImageConversionFlags InputMethodHints InputMethodQueries ItemFlags KeyboardModifiers MatchFlags MouseButtons MouseEventFlags Orientations ScreenOrientations TextInteractionFlags ToolBarAreas TouchPointStates WindowStates WindowFlags ) +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, AlignBaseline = Qt::AlignBaseline, AlignVertical_Mask = Qt::AlignVertical_Mask, AlignCenter = Qt::AlignCenter}; +enum AnchorPoint{ + AnchorLeft = Qt::AnchorLeft, AnchorHorizontalCenter = Qt::AnchorHorizontalCenter, AnchorRight = Qt::AnchorRight, AnchorTop = Qt::AnchorTop, AnchorVerticalCenter = Qt::AnchorVerticalCenter, AnchorBottom = Qt::AnchorBottom}; +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_PluginApplication = Qt::AA_PluginApplication, AA_MacPluginApplication = Qt::AA_MacPluginApplication, AA_DontUseNativeMenuBar = Qt::AA_DontUseNativeMenuBar, AA_MacDontSwapCtrlAndMeta = Qt::AA_MacDontSwapCtrlAndMeta, AA_Use96Dpi = Qt::AA_Use96Dpi, AA_DisableNativeVirtualKeyboard = Qt::AA_DisableNativeVirtualKeyboard, AA_X11InitThreads = Qt::AA_X11InitThreads, AA_SynthesizeTouchForUnhandledMouseEvents = Qt::AA_SynthesizeTouchForUnhandledMouseEvents, AA_SynthesizeMouseForUnhandledTouchEvents = Qt::AA_SynthesizeMouseForUnhandledTouchEvents, AA_UseHighDpiPixmaps = Qt::AA_UseHighDpiPixmaps, AA_ForceRasterWidgets = Qt::AA_ForceRasterWidgets, AA_UseDesktopOpenGL = Qt::AA_UseDesktopOpenGL, AA_UseOpenGLES = Qt::AA_UseOpenGLES, AA_UseSoftwareOpenGL = Qt::AA_UseSoftwareOpenGL, AA_ShareOpenGLContexts = Qt::AA_ShareOpenGLContexts, AA_SetPalette = Qt::AA_SetPalette, AA_EnableHighDpiScaling = Qt::AA_EnableHighDpiScaling, AA_DisableHighDpiScaling = Qt::AA_DisableHighDpiScaling, AA_UseStyleSheetPropagationInWidgetStyles = Qt::AA_UseStyleSheetPropagationInWidgetStyles, AA_DontUseNativeDialogs = Qt::AA_DontUseNativeDialogs, AA_SynthesizeMouseForUnhandledTabletEvents = Qt::AA_SynthesizeMouseForUnhandledTabletEvents, AA_CompressHighFrequencyEvents = Qt::AA_CompressHighFrequencyEvents, AA_DontCheckOpenGLContextThreadAffinity = Qt::AA_DontCheckOpenGLContextThreadAffinity, AA_DisableShaderDiskCache = Qt::AA_DisableShaderDiskCache, AA_DontShowShortcutsInContextMenus = Qt::AA_DontShowShortcutsInContextMenus, AA_CompressTabletEvents = Qt::AA_CompressTabletEvents, AA_DisableWindowContextHelpButton = Qt::AA_DisableWindowContextHelpButton, AA_DisableSessionManager = Qt::AA_DisableSessionManager, AA_AttributeCount = Qt::AA_AttributeCount}; +enum ApplicationState{ + ApplicationSuspended = Qt::ApplicationSuspended, ApplicationHidden = Qt::ApplicationHidden, ApplicationInactive = Qt::ApplicationInactive, ApplicationActive = Qt::ApplicationActive}; +enum ArrowType{ + NoArrow = Qt::NoArrow, UpArrow = Qt::UpArrow, DownArrow = Qt::DownArrow, LeftArrow = Qt::LeftArrow, RightArrow = Qt::RightArrow}; +enum AspectRatioMode{ + IgnoreAspectRatio = Qt::IgnoreAspectRatio, KeepAspectRatio = Qt::KeepAspectRatio, KeepAspectRatioByExpanding = Qt::KeepAspectRatioByExpanding}; +enum Axis{ + XAxis = Qt::XAxis, YAxis = Qt::YAxis, ZAxis = Qt::ZAxis}; +enum BGMode{ + TransparentMode = Qt::TransparentMode, OpaqueMode = Qt::OpaqueMode}; +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 CaseSensitivity{ + CaseInsensitive = Qt::CaseInsensitive, CaseSensitive = Qt::CaseSensitive}; +enum CheckState{ + Unchecked = Qt::Unchecked, PartiallyChecked = Qt::PartiallyChecked, Checked = Qt::Checked}; +enum ChecksumType{ + ChecksumIso3309 = Qt::ChecksumIso3309, ChecksumItuV41 = Qt::ChecksumItuV41}; +enum ClipOperation{ + NoClip = Qt::NoClip, ReplaceClip = Qt::ReplaceClip, IntersectClip = Qt::IntersectClip}; +enum ConnectionType{ + AutoConnection = Qt::AutoConnection, DirectConnection = Qt::DirectConnection, QueuedConnection = Qt::QueuedConnection, BlockingQueuedConnection = Qt::BlockingQueuedConnection, UniqueConnection = Qt::UniqueConnection}; +enum ContextMenuPolicy{ + NoContextMenu = Qt::NoContextMenu, DefaultContextMenu = Qt::DefaultContextMenu, ActionsContextMenu = Qt::ActionsContextMenu, CustomContextMenu = Qt::CustomContextMenu, PreventContextMenu = Qt::PreventContextMenu}; +enum CoordinateSystem{ + DeviceCoordinates = Qt::DeviceCoordinates, LogicalCoordinates = Qt::LogicalCoordinates}; +enum Corner{ + TopLeftCorner = Qt::TopLeftCorner, TopRightCorner = Qt::TopRightCorner, BottomLeftCorner = Qt::BottomLeftCorner, BottomRightCorner = Qt::BottomRightCorner}; +enum CursorMoveStyle{ + LogicalMoveStyle = Qt::LogicalMoveStyle, VisualMoveStyle = Qt::VisualMoveStyle}; +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, DragCopyCursor = Qt::DragCopyCursor, DragMoveCursor = Qt::DragMoveCursor, DragLinkCursor = Qt::DragLinkCursor, LastCursor = Qt::LastCursor, BitmapCursor = Qt::BitmapCursor, CustomCursor = Qt::CustomCursor}; +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, RFC2822Date = Qt::RFC2822Date, ISODateWithMs = Qt::ISODateWithMs}; +enum DayOfWeek{ + Monday = Qt::Monday, Tuesday = Qt::Tuesday, Wednesday = Qt::Wednesday, Thursday = Qt::Thursday, Friday = Qt::Friday, Saturday = Qt::Saturday, Sunday = Qt::Sunday}; +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 DockWidgetAreaSizes{ + NDockWidgetAreas = Qt::NDockWidgetAreas}; +enum DropAction{ + CopyAction = Qt::CopyAction, MoveAction = Qt::MoveAction, LinkAction = Qt::LinkAction, ActionMask = Qt::ActionMask, TargetMoveAction = Qt::TargetMoveAction, IgnoreAction = Qt::IgnoreAction}; +enum Edge{ + TopEdge = Qt::TopEdge, LeftEdge = Qt::LeftEdge, RightEdge = Qt::RightEdge, BottomEdge = Qt::BottomEdge}; +enum EnterKeyType{ + EnterKeyDefault = Qt::EnterKeyDefault, EnterKeyReturn = Qt::EnterKeyReturn, EnterKeyDone = Qt::EnterKeyDone, EnterKeyGo = Qt::EnterKeyGo, EnterKeySend = Qt::EnterKeySend, EnterKeySearch = Qt::EnterKeySearch, EnterKeyNext = Qt::EnterKeyNext, EnterKeyPrevious = Qt::EnterKeyPrevious}; +enum EventPriority{ + HighEventPriority = Qt::HighEventPriority, NormalEventPriority = Qt::NormalEventPriority, LowEventPriority = Qt::LowEventPriority}; +enum FillRule{ + OddEvenFill = Qt::OddEvenFill, WindingFill = Qt::WindingFill}; +enum FindChildOption{ + FindDirectChildrenOnly = Qt::FindDirectChildrenOnly, FindChildrenRecursively = Qt::FindChildrenRecursively}; +enum FocusPolicy{ + NoFocus = Qt::NoFocus, TabFocus = Qt::TabFocus, ClickFocus = Qt::ClickFocus, StrongFocus = Qt::StrongFocus, WheelFocus = Qt::WheelFocus}; +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 GestureFlag{ + DontStartGestureOnChildren = Qt::DontStartGestureOnChildren, ReceivePartialGestures = Qt::ReceivePartialGestures, IgnoredGesturesPropagateToParent = Qt::IgnoredGesturesPropagateToParent}; +enum GestureState{ + NoGesture = Qt::NoGesture, GestureStarted = Qt::GestureStarted, GestureUpdated = Qt::GestureUpdated, GestureFinished = Qt::GestureFinished, GestureCanceled = Qt::GestureCanceled}; +enum GestureType{ + TapGesture = Qt::TapGesture, TapAndHoldGesture = Qt::TapAndHoldGesture, PanGesture = Qt::PanGesture, PinchGesture = Qt::PinchGesture, SwipeGesture = Qt::SwipeGesture, CustomGesture = Qt::CustomGesture, LastGestureType = Qt::LastGestureType}; +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 HitTestAccuracy{ + ExactHit = Qt::ExactHit, FuzzyHit = Qt::FuzzyHit}; +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, NoOpaqueDetection = Qt::NoOpaqueDetection, NoFormatConversion = Qt::NoFormatConversion}; +enum InputMethodHint{ + ImhNone = Qt::ImhNone, ImhHiddenText = Qt::ImhHiddenText, ImhSensitiveData = Qt::ImhSensitiveData, ImhNoAutoUppercase = Qt::ImhNoAutoUppercase, ImhPreferNumbers = Qt::ImhPreferNumbers, ImhPreferUppercase = Qt::ImhPreferUppercase, ImhPreferLowercase = Qt::ImhPreferLowercase, ImhNoPredictiveText = Qt::ImhNoPredictiveText, ImhDate = Qt::ImhDate, ImhTime = Qt::ImhTime, ImhPreferLatin = Qt::ImhPreferLatin, ImhMultiLine = Qt::ImhMultiLine, ImhNoEditMenu = Qt::ImhNoEditMenu, ImhNoTextHandles = Qt::ImhNoTextHandles, ImhDigitsOnly = Qt::ImhDigitsOnly, ImhFormattedNumbersOnly = Qt::ImhFormattedNumbersOnly, ImhUppercaseOnly = Qt::ImhUppercaseOnly, ImhLowercaseOnly = Qt::ImhLowercaseOnly, ImhDialableCharactersOnly = Qt::ImhDialableCharactersOnly, ImhEmailCharactersOnly = Qt::ImhEmailCharactersOnly, ImhUrlCharactersOnly = Qt::ImhUrlCharactersOnly, ImhLatinOnly = Qt::ImhLatinOnly, ImhExclusiveInputMask = Qt::ImhExclusiveInputMask}; +enum InputMethodQuery{ + ImEnabled = Qt::ImEnabled, ImCursorRectangle = Qt::ImCursorRectangle, ImMicroFocus = Qt::ImMicroFocus, ImFont = Qt::ImFont, ImCursorPosition = Qt::ImCursorPosition, ImSurroundingText = Qt::ImSurroundingText, ImCurrentSelection = Qt::ImCurrentSelection, ImMaximumTextLength = Qt::ImMaximumTextLength, ImAnchorPosition = Qt::ImAnchorPosition, ImHints = Qt::ImHints, ImPreferredLanguage = Qt::ImPreferredLanguage, ImAbsolutePosition = Qt::ImAbsolutePosition, ImTextBeforeCursor = Qt::ImTextBeforeCursor, ImTextAfterCursor = Qt::ImTextAfterCursor, ImEnterKeyType = Qt::ImEnterKeyType, ImAnchorRectangle = Qt::ImAnchorRectangle, ImInputItemClipRectangle = Qt::ImInputItemClipRectangle, ImPlatformData = Qt::ImPlatformData, ImQueryInput = Qt::ImQueryInput, ImQueryAll = Qt::ImQueryAll}; +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, BackgroundRole = Qt::BackgroundRole, ForegroundRole = Qt::ForegroundRole, BackgroundColorRole = Qt::BackgroundColorRole, TextColorRole = Qt::TextColorRole, CheckStateRole = Qt::CheckStateRole, AccessibleTextRole = Qt::AccessibleTextRole, AccessibleDescriptionRole = Qt::AccessibleDescriptionRole, SizeHintRole = Qt::SizeHintRole, InitialSortOrderRole = Qt::InitialSortOrderRole, DisplayPropertyRole = Qt::DisplayPropertyRole, DecorationPropertyRole = Qt::DecorationPropertyRole, ToolTipPropertyRole = Qt::ToolTipPropertyRole, StatusTipPropertyRole = Qt::StatusTipPropertyRole, WhatsThisPropertyRole = Qt::WhatsThisPropertyRole, UserRole = Qt::UserRole}; +enum ItemFlag{ + NoItemFlags = Qt::NoItemFlags, ItemIsSelectable = Qt::ItemIsSelectable, ItemIsEditable = Qt::ItemIsEditable, ItemIsDragEnabled = Qt::ItemIsDragEnabled, ItemIsDropEnabled = Qt::ItemIsDropEnabled, ItemIsUserCheckable = Qt::ItemIsUserCheckable, ItemIsEnabled = Qt::ItemIsEnabled, ItemIsAutoTristate = Qt::ItemIsAutoTristate, ItemIsTristate = Qt::ItemIsTristate, ItemNeverHasChildren = Qt::ItemNeverHasChildren, ItemIsUserTristate = Qt::ItemIsUserTristate}; +enum ItemSelectionMode{ + ContainsItemShape = Qt::ContainsItemShape, IntersectsItemShape = Qt::IntersectsItemShape, ContainsItemBoundingRect = Qt::ContainsItemBoundingRect, IntersectsItemBoundingRect = Qt::IntersectsItemBoundingRect}; +enum ItemSelectionOperation{ + ReplaceSelection = Qt::ReplaceSelection, AddToSelection = Qt::AddToSelection}; +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_Dead_Stroke = Qt::Key_Dead_Stroke, Key_Dead_Abovecomma = Qt::Key_Dead_Abovecomma, Key_Dead_Abovereversedcomma = Qt::Key_Dead_Abovereversedcomma, Key_Dead_Doublegrave = Qt::Key_Dead_Doublegrave, Key_Dead_Belowring = Qt::Key_Dead_Belowring, Key_Dead_Belowmacron = Qt::Key_Dead_Belowmacron, Key_Dead_Belowcircumflex = Qt::Key_Dead_Belowcircumflex, Key_Dead_Belowtilde = Qt::Key_Dead_Belowtilde, Key_Dead_Belowbreve = Qt::Key_Dead_Belowbreve, Key_Dead_Belowdiaeresis = Qt::Key_Dead_Belowdiaeresis, Key_Dead_Invertedbreve = Qt::Key_Dead_Invertedbreve, Key_Dead_Belowcomma = Qt::Key_Dead_Belowcomma, Key_Dead_Currency = Qt::Key_Dead_Currency, Key_Dead_a = Qt::Key_Dead_a, Key_Dead_A = Qt::Key_Dead_A, Key_Dead_e = Qt::Key_Dead_e, Key_Dead_E = Qt::Key_Dead_E, Key_Dead_i = Qt::Key_Dead_i, Key_Dead_I = Qt::Key_Dead_I, Key_Dead_o = Qt::Key_Dead_o, Key_Dead_O = Qt::Key_Dead_O, Key_Dead_u = Qt::Key_Dead_u, Key_Dead_U = Qt::Key_Dead_U, Key_Dead_Small_Schwa = Qt::Key_Dead_Small_Schwa, Key_Dead_Capital_Schwa = Qt::Key_Dead_Capital_Schwa, Key_Dead_Greek = Qt::Key_Dead_Greek, Key_Dead_Lowline = Qt::Key_Dead_Lowline, Key_Dead_Aboveverticalline = Qt::Key_Dead_Aboveverticalline, Key_Dead_Belowverticalline = Qt::Key_Dead_Belowverticalline, Key_Dead_Longsolidusoverlay = Qt::Key_Dead_Longsolidusoverlay, 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_MediaPause = Qt::Key_MediaPause, Key_MediaTogglePlayPause = Qt::Key_MediaTogglePlayPause, 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_MonBrightnessUp = Qt::Key_MonBrightnessUp, Key_MonBrightnessDown = Qt::Key_MonBrightnessDown, Key_KeyboardLightOnOff = Qt::Key_KeyboardLightOnOff, Key_KeyboardBrightnessUp = Qt::Key_KeyboardBrightnessUp, Key_KeyboardBrightnessDown = Qt::Key_KeyboardBrightnessDown, Key_PowerOff = Qt::Key_PowerOff, Key_WakeUp = Qt::Key_WakeUp, Key_Eject = Qt::Key_Eject, Key_ScreenSaver = Qt::Key_ScreenSaver, Key_WWW = Qt::Key_WWW, Key_Memo = Qt::Key_Memo, Key_LightBulb = Qt::Key_LightBulb, Key_Shop = Qt::Key_Shop, Key_History = Qt::Key_History, Key_AddFavorite = Qt::Key_AddFavorite, Key_HotLinks = Qt::Key_HotLinks, Key_BrightnessAdjust = Qt::Key_BrightnessAdjust, Key_Finance = Qt::Key_Finance, Key_Community = Qt::Key_Community, Key_AudioRewind = Qt::Key_AudioRewind, Key_BackForward = Qt::Key_BackForward, Key_ApplicationLeft = Qt::Key_ApplicationLeft, Key_ApplicationRight = Qt::Key_ApplicationRight, Key_Book = Qt::Key_Book, Key_CD = Qt::Key_CD, Key_Calculator = Qt::Key_Calculator, Key_ToDoList = Qt::Key_ToDoList, Key_ClearGrab = Qt::Key_ClearGrab, Key_Close = Qt::Key_Close, Key_Copy = Qt::Key_Copy, Key_Cut = Qt::Key_Cut, Key_Display = Qt::Key_Display, Key_DOS = Qt::Key_DOS, Key_Documents = Qt::Key_Documents, Key_Excel = Qt::Key_Excel, Key_Explorer = Qt::Key_Explorer, Key_Game = Qt::Key_Game, Key_Go = Qt::Key_Go, Key_iTouch = Qt::Key_iTouch, Key_LogOff = Qt::Key_LogOff, Key_Market = Qt::Key_Market, Key_Meeting = Qt::Key_Meeting, Key_MenuKB = Qt::Key_MenuKB, Key_MenuPB = Qt::Key_MenuPB, Key_MySites = Qt::Key_MySites, Key_News = Qt::Key_News, Key_OfficeHome = Qt::Key_OfficeHome, Key_Option = Qt::Key_Option, Key_Paste = Qt::Key_Paste, Key_Phone = Qt::Key_Phone, Key_Calendar = Qt::Key_Calendar, Key_Reply = Qt::Key_Reply, Key_Reload = Qt::Key_Reload, Key_RotateWindows = Qt::Key_RotateWindows, Key_RotationPB = Qt::Key_RotationPB, Key_RotationKB = Qt::Key_RotationKB, Key_Save = Qt::Key_Save, Key_Send = Qt::Key_Send, Key_Spell = Qt::Key_Spell, Key_SplitScreen = Qt::Key_SplitScreen, Key_Support = Qt::Key_Support, Key_TaskPane = Qt::Key_TaskPane, Key_Terminal = Qt::Key_Terminal, Key_Tools = Qt::Key_Tools, Key_Travel = Qt::Key_Travel, Key_Video = Qt::Key_Video, Key_Word = Qt::Key_Word, Key_Xfer = Qt::Key_Xfer, Key_ZoomIn = Qt::Key_ZoomIn, Key_ZoomOut = Qt::Key_ZoomOut, Key_Away = Qt::Key_Away, Key_Messenger = Qt::Key_Messenger, Key_WebCam = Qt::Key_WebCam, Key_MailForward = Qt::Key_MailForward, Key_Pictures = Qt::Key_Pictures, Key_Music = Qt::Key_Music, Key_Battery = Qt::Key_Battery, Key_Bluetooth = Qt::Key_Bluetooth, Key_WLAN = Qt::Key_WLAN, Key_UWB = Qt::Key_UWB, Key_AudioForward = Qt::Key_AudioForward, Key_AudioRepeat = Qt::Key_AudioRepeat, Key_AudioRandomPlay = Qt::Key_AudioRandomPlay, Key_Subtitle = Qt::Key_Subtitle, Key_AudioCycleTrack = Qt::Key_AudioCycleTrack, Key_Time = Qt::Key_Time, Key_Hibernate = Qt::Key_Hibernate, Key_View = Qt::Key_View, Key_TopMenu = Qt::Key_TopMenu, Key_PowerDown = Qt::Key_PowerDown, Key_Suspend = Qt::Key_Suspend, Key_ContrastAdjust = Qt::Key_ContrastAdjust, Key_LaunchG = Qt::Key_LaunchG, Key_LaunchH = Qt::Key_LaunchH, Key_TouchpadToggle = Qt::Key_TouchpadToggle, Key_TouchpadOn = Qt::Key_TouchpadOn, Key_TouchpadOff = Qt::Key_TouchpadOff, Key_MicMute = Qt::Key_MicMute, Key_Red = Qt::Key_Red, Key_Green = Qt::Key_Green, Key_Yellow = Qt::Key_Yellow, Key_Blue = Qt::Key_Blue, Key_ChannelUp = Qt::Key_ChannelUp, Key_ChannelDown = Qt::Key_ChannelDown, Key_Guide = Qt::Key_Guide, Key_Info = Qt::Key_Info, Key_Settings = Qt::Key_Settings, Key_MicVolumeUp = Qt::Key_MicVolumeUp, Key_MicVolumeDown = Qt::Key_MicVolumeDown, Key_New = Qt::Key_New, Key_Open = Qt::Key_Open, Key_Find = Qt::Key_Find, Key_Undo = Qt::Key_Undo, Key_Redo = Qt::Key_Redo, 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_Exit = Qt::Key_Exit, 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_ToggleCallHangup = Qt::Key_ToggleCallHangup, Key_VoiceDial = Qt::Key_VoiceDial, Key_LastNumberRedial = Qt::Key_LastNumberRedial, Key_Camera = Qt::Key_Camera, Key_CameraFocus = Qt::Key_CameraFocus, Key_unknown = Qt::Key_unknown}; +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 LayoutDirection{ + LeftToRight = Qt::LeftToRight, RightToLeft = Qt::RightToLeft, LayoutDirectionAuto = Qt::LayoutDirectionAuto}; +enum MaskMode{ + MaskInColor = Qt::MaskInColor, MaskOutColor = Qt::MaskOutColor}; +enum MatchFlag{ + MatchExactly = Qt::MatchExactly, MatchContains = Qt::MatchContains, MatchStartsWith = Qt::MatchStartsWith, MatchEndsWith = Qt::MatchEndsWith, MatchRegExp = Qt::MatchRegExp, MatchWildcard = Qt::MatchWildcard, MatchFixedString = Qt::MatchFixedString, MatchRegularExpression = Qt::MatchRegularExpression, MatchCaseSensitive = Qt::MatchCaseSensitive, MatchWrap = Qt::MatchWrap, MatchRecursive = Qt::MatchRecursive}; +enum MouseButton{ + NoButton = Qt::NoButton, LeftButton = Qt::LeftButton, RightButton = Qt::RightButton, MiddleButton = Qt::MiddleButton, MidButton = Qt::MidButton, BackButton = Qt::BackButton, XButton1 = Qt::XButton1, ExtraButton1 = Qt::ExtraButton1, ForwardButton = Qt::ForwardButton, XButton2 = Qt::XButton2, ExtraButton2 = Qt::ExtraButton2, TaskButton = Qt::TaskButton, ExtraButton3 = Qt::ExtraButton3, ExtraButton4 = Qt::ExtraButton4, ExtraButton5 = Qt::ExtraButton5, ExtraButton6 = Qt::ExtraButton6, ExtraButton7 = Qt::ExtraButton7, ExtraButton8 = Qt::ExtraButton8, ExtraButton9 = Qt::ExtraButton9, ExtraButton10 = Qt::ExtraButton10, ExtraButton11 = Qt::ExtraButton11, ExtraButton12 = Qt::ExtraButton12, ExtraButton13 = Qt::ExtraButton13, ExtraButton14 = Qt::ExtraButton14, ExtraButton15 = Qt::ExtraButton15, ExtraButton16 = Qt::ExtraButton16, ExtraButton17 = Qt::ExtraButton17, ExtraButton18 = Qt::ExtraButton18, ExtraButton19 = Qt::ExtraButton19, ExtraButton20 = Qt::ExtraButton20, ExtraButton21 = Qt::ExtraButton21, ExtraButton22 = Qt::ExtraButton22, ExtraButton23 = Qt::ExtraButton23, ExtraButton24 = Qt::ExtraButton24, AllButtons = Qt::AllButtons, MaxMouseButton = Qt::MaxMouseButton, MouseButtonMask = Qt::MouseButtonMask}; +enum MouseEventFlag{ + MouseEventCreatedDoubleClick = Qt::MouseEventCreatedDoubleClick, MouseEventFlagMask = Qt::MouseEventFlagMask}; +enum MouseEventSource{ + MouseEventNotSynthesized = Qt::MouseEventNotSynthesized, MouseEventSynthesizedBySystem = Qt::MouseEventSynthesizedBySystem, MouseEventSynthesizedByQt = Qt::MouseEventSynthesizedByQt, MouseEventSynthesizedByApplication = Qt::MouseEventSynthesizedByApplication}; +enum NativeGestureType{ + BeginNativeGesture = Qt::BeginNativeGesture, EndNativeGesture = Qt::EndNativeGesture, PanNativeGesture = Qt::PanNativeGesture, ZoomNativeGesture = Qt::ZoomNativeGesture, SmartZoomNativeGesture = Qt::SmartZoomNativeGesture, RotateNativeGesture = Qt::RotateNativeGesture, SwipeNativeGesture = Qt::SwipeNativeGesture}; +enum NavigationMode{ + NavigationModeNone = Qt::NavigationModeNone, NavigationModeKeypadTabOrder = Qt::NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional = Qt::NavigationModeKeypadDirectional, NavigationModeCursorAuto = Qt::NavigationModeCursorAuto, NavigationModeCursorForceVisible = Qt::NavigationModeCursorForceVisible}; +enum Orientation{ + Horizontal = Qt::Horizontal, Vertical = Qt::Vertical}; +enum PenCapStyle{ + FlatCap = Qt::FlatCap, SquareCap = Qt::SquareCap, RoundCap = Qt::RoundCap, MPenCapStyle = Qt::MPenCapStyle}; +enum PenJoinStyle{ + MiterJoin = Qt::MiterJoin, BevelJoin = Qt::BevelJoin, RoundJoin = Qt::RoundJoin, SvgMiterJoin = Qt::SvgMiterJoin, MPenJoinStyle = Qt::MPenJoinStyle}; +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 ScreenOrientation{ + PrimaryOrientation = Qt::PrimaryOrientation, PortraitOrientation = Qt::PortraitOrientation, LandscapeOrientation = Qt::LandscapeOrientation, InvertedPortraitOrientation = Qt::InvertedPortraitOrientation, InvertedLandscapeOrientation = Qt::InvertedLandscapeOrientation}; +enum ScrollBarPolicy{ + ScrollBarAsNeeded = Qt::ScrollBarAsNeeded, ScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff, ScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn}; +enum ScrollPhase{ + NoScrollPhase = Qt::NoScrollPhase, ScrollBegin = Qt::ScrollBegin, ScrollUpdate = Qt::ScrollUpdate, ScrollEnd = Qt::ScrollEnd, ScrollMomentum = Qt::ScrollMomentum}; +enum ShortcutContext{ + WidgetShortcut = Qt::WidgetShortcut, WindowShortcut = Qt::WindowShortcut, ApplicationShortcut = Qt::ApplicationShortcut, WidgetWithChildrenShortcut = Qt::WidgetWithChildrenShortcut}; +enum SizeHint{ + MinimumSize = Qt::MinimumSize, PreferredSize = Qt::PreferredSize, MaximumSize = Qt::MaximumSize, MinimumDescent = Qt::MinimumDescent, NSizeHints = Qt::NSizeHints}; +enum SizeMode{ + AbsoluteSize = Qt::AbsoluteSize, RelativeSize = Qt::RelativeSize}; +enum SortOrder{ + AscendingOrder = Qt::AscendingOrder, DescendingOrder = Qt::DescendingOrder}; +enum TabFocusBehavior{ + NoTabFocus = Qt::NoTabFocus, TabFocusTextControls = Qt::TabFocusTextControls, TabFocusListControls = Qt::TabFocusListControls, TabFocusAllControls = Qt::TabFocusAllControls}; +enum TextElideMode{ + ElideLeft = Qt::ElideLeft, ElideRight = Qt::ElideRight, ElideMiddle = Qt::ElideMiddle, ElideNone = Qt::ElideNone}; +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, TextLongestVariant = Qt::TextLongestVariant, TextBypassShaping = Qt::TextBypassShaping}; +enum TextFormat{ + PlainText = Qt::PlainText, RichText = Qt::RichText, AutoText = Qt::AutoText, MarkdownText = Qt::MarkdownText}; +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 TileRule{ + StretchTile = Qt::StretchTile, RepeatTile = Qt::RepeatTile, RoundTile = Qt::RoundTile}; +enum TimeSpec{ + LocalTime = Qt::LocalTime, UTC = Qt::UTC, OffsetFromUTC = Qt::OffsetFromUTC, TimeZone = Qt::TimeZone}; +enum TimerType{ + PreciseTimer = Qt::PreciseTimer, CoarseTimer = Qt::CoarseTimer, VeryCoarseTimer = Qt::VeryCoarseTimer}; +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 ToolBarAreaSizes{ + NToolBarAreas = Qt::NToolBarAreas}; +enum ToolButtonStyle{ + ToolButtonIconOnly = Qt::ToolButtonIconOnly, ToolButtonTextOnly = Qt::ToolButtonTextOnly, ToolButtonTextBesideIcon = Qt::ToolButtonTextBesideIcon, ToolButtonTextUnderIcon = Qt::ToolButtonTextUnderIcon, ToolButtonFollowStyle = Qt::ToolButtonFollowStyle}; +enum TouchPointState{ + TouchPointPressed = Qt::TouchPointPressed, TouchPointMoved = Qt::TouchPointMoved, TouchPointStationary = Qt::TouchPointStationary, TouchPointReleased = Qt::TouchPointReleased}; +enum TransformationMode{ + FastTransformation = Qt::FastTransformation, SmoothTransformation = Qt::SmoothTransformation}; +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 WhiteSpaceMode{ + WhiteSpaceNormal = Qt::WhiteSpaceNormal, WhiteSpacePre = Qt::WhiteSpacePre, WhiteSpaceNoWrap = Qt::WhiteSpaceNoWrap, WhiteSpaceModeUndefined = Qt::WhiteSpaceModeUndefined}; +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_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_MacFrameworkScaled = Qt::WA_MacFrameworkScaled, WA_SetWindowModality = Qt::WA_SetWindowModality, WA_WState_WindowOpacitySet = Qt::WA_WState_WindowOpacitySet, WA_TranslucentBackground = Qt::WA_TranslucentBackground, WA_AcceptTouchEvents = Qt::WA_AcceptTouchEvents, WA_WState_AcceptedTouchBeginEvent = Qt::WA_WState_AcceptedTouchBeginEvent, WA_TouchPadAcceptSingleTouchEvents = Qt::WA_TouchPadAcceptSingleTouchEvents, WA_X11DoNotAcceptFocus = Qt::WA_X11DoNotAcceptFocus, WA_MacNoShadow = Qt::WA_MacNoShadow, WA_AlwaysStackOnTop = Qt::WA_AlwaysStackOnTop, WA_TabletTracking = Qt::WA_TabletTracking, WA_ContentsMarginsRespectsSafeArea = Qt::WA_ContentsMarginsRespectsSafeArea, WA_StyleSheetTarget = Qt::WA_StyleSheetTarget, WA_AttributeCount = Qt::WA_AttributeCount}; +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 WindowModality{ + NonModal = Qt::NonModal, WindowModal = Qt::WindowModal, ApplicationModal = Qt::ApplicationModal}; +enum WindowState{ + WindowNoState = Qt::WindowNoState, WindowMinimized = Qt::WindowMinimized, WindowMaximized = Qt::WindowMaximized, WindowFullScreen = Qt::WindowFullScreen, WindowActive = Qt::WindowActive}; +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, ForeignWindow = Qt::ForeignWindow, CoverWindow = Qt::CoverWindow, WindowType_Mask = Qt::WindowType_Mask, MSWindowsFixedSizeDialogHint = Qt::MSWindowsFixedSizeDialogHint, MSWindowsOwnDC = Qt::MSWindowsOwnDC, BypassWindowManagerHint = Qt::BypassWindowManagerHint, 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, WindowTransparentForInput = Qt::WindowTransparentForInput, WindowOverridesSystemGestures = Qt::WindowOverridesSystemGestures, WindowDoesNotAcceptFocus = Qt::WindowDoesNotAcceptFocus, MaximizeUsingFullscreenGeometryHint = Qt::MaximizeUsingFullscreenGeometryHint, CustomizeWindowHint = Qt::CustomizeWindowHint, WindowStaysOnBottomHint = Qt::WindowStaysOnBottomHint, WindowCloseButtonHint = Qt::WindowCloseButtonHint, MacWindowToolBarButtonHint = Qt::MacWindowToolBarButtonHint, BypassGraphicsProxyWidget = Qt::BypassGraphicsProxyWidget, NoDropShadowWindowHint = Qt::NoDropShadowWindowHint, WindowFullscreenButtonHint = Qt::WindowFullscreenButtonHint}; +Q_DECLARE_FLAGS(Alignment, AlignmentFlag) +Q_DECLARE_FLAGS(DockWidgetAreas, DockWidgetArea) +Q_DECLARE_FLAGS(DropActions, DropAction) +Q_DECLARE_FLAGS(FindChildOptions, FindChildOption) +Q_DECLARE_FLAGS(GestureFlags, GestureFlag) +Q_DECLARE_FLAGS(ImageConversionFlags, ImageConversionFlag) +Q_DECLARE_FLAGS(InputMethodHints, InputMethodHint) +Q_DECLARE_FLAGS(InputMethodQueries, InputMethodQuery) +Q_DECLARE_FLAGS(ItemFlags, ItemFlag) +Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier) +Q_DECLARE_FLAGS(MatchFlags, MatchFlag) +Q_DECLARE_FLAGS(MouseButtons, MouseButton) +Q_DECLARE_FLAGS(MouseEventFlags, MouseEventFlag) +Q_DECLARE_FLAGS(Orientations, Orientation) +Q_DECLARE_FLAGS(ScreenOrientations, ScreenOrientation) +Q_DECLARE_FLAGS(TextInteractionFlags, TextInteractionFlag) +Q_DECLARE_FLAGS(ToolBarAreas, ToolBarArea) +Q_DECLARE_FLAGS(TouchPointStates, TouchPointState) +Q_DECLARE_FLAGS(WindowStates, WindowState) +Q_DECLARE_FLAGS(WindowFlags, WindowType) +public slots: + QTextStream* static_Qt_bin(QTextStream& s); + QTextStream* static_Qt_bom(QTextStream& s); + QTextStream* static_Qt_center(QTextStream& s); + QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); + QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); + QTextStream* static_Qt_dec(QTextStream& s); + QTextStream* static_Qt_endl(QTextStream& s); + QTextStream* static_Qt_fixed(QTextStream& s); + QTextStream* static_Qt_flush(QTextStream& s); + QTextStream* static_Qt_forcepoint(QTextStream& s); + QTextStream* static_Qt_forcesign(QTextStream& s); + QTextStream* static_Qt_hex(QTextStream& s); + QTextStream* static_Qt_left(QTextStream& s); + QTextStream* static_Qt_lowercasebase(QTextStream& s); + QTextStream* static_Qt_lowercasedigits(QTextStream& s); + bool static_Qt_mightBeRichText(const QString& arg__1); + QTextStream* static_Qt_noforcepoint(QTextStream& s); + QTextStream* static_Qt_noforcesign(QTextStream& s); + QTextStream* static_Qt_noshowbase(QTextStream& s); + QTextStream* static_Qt_oct(QTextStream& s); + QTextStream* static_Qt_reset(QTextStream& s); + QTextStream* static_Qt_right(QTextStream& s); + QTextStream* static_Qt_scientific(QTextStream& s); + QTextStream* static_Qt_showbase(QTextStream& s); + QTextStream* static_Qt_uppercasebase(QTextStream& s); + QTextStream* static_Qt_uppercasedigits(QTextStream& s); + QTextStream* static_Qt_ws(QTextStream& s); +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp new file mode 100644 index 00000000..eb6a4bd5 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp @@ -0,0 +1,29 @@ +#include +#include +#include "com_trolltech_qt_core_builtin0.h" + + +void PythonQt_init_QtCoreBuiltin(PyObject* module) { +PythonQt::priv()->registerCPPClass("QBitArray", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_And|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceXor|PythonQt::Type_Invert|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Xor); +PythonQt::priv()->registerCPPClass("QByteArray", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDate", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDateTime", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLine", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLocale", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPoint", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QPointF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRectF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRegExp", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QRegularExpression", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSize", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QSizeF", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QTime", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QUrl", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("Qt", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); + + +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); +} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui.pri b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui.pri similarity index 92% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui.pri rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui.pri index 9fe6dc2e..da88b6a3 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui.pri @@ -11,6 +11,7 @@ HEADERS += \ $$PWD/com_trolltech_qt_gui9.h \ $$PWD/com_trolltech_qt_gui10.h \ $$PWD/com_trolltech_qt_gui11.h \ + $$PWD/com_trolltech_qt_gui12.h \ SOURCES += \ $$PWD/com_trolltech_qt_gui0.cpp \ @@ -25,4 +26,5 @@ SOURCES += \ $$PWD/com_trolltech_qt_gui9.cpp \ $$PWD/com_trolltech_qt_gui10.cpp \ $$PWD/com_trolltech_qt_gui11.cpp \ + $$PWD/com_trolltech_qt_gui12.cpp \ $$PWD/com_trolltech_qt_gui_init.cpp diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp similarity index 81% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index 3230c70c..96d4e024 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -2,14 +2,15 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include +#include #include #include #include @@ -18,34 +19,28 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include #include #include #include #include #include -#include +#include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include #include #include #include +#include #include #include #include #include +#include #include +#include #include #include #include @@ -53,21 +48,40 @@ #include #include #include +#include +#include #include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include #include #include +#include +#include +#include #include #include #include @@ -75,8 +89,11 @@ #include #include #include +#include +#include #include #include +#include #include #include @@ -94,9 +111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -116,9 +133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -138,9 +155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -150,6 +167,28 @@ if (_wrapper) { } QAbstractButton::checkStateSet(); } +void PythonQtShell_QAbstractButton::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::childEvent(event0); +} void PythonQtShell_QAbstractButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -160,9 +199,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -182,9 +221,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -194,6 +233,28 @@ if (_wrapper) { } QAbstractButton::contextMenuEvent(event0); } +void PythonQtShell_QAbstractButton::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractButton::customEvent(event0); +} int PythonQtShell_QAbstractButton::devType() const { if (_wrapper) { @@ -205,19 +266,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -237,9 +298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -259,9 +320,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -281,9 +342,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -303,9 +364,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -325,9 +386,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -348,19 +409,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -370,6 +431,39 @@ if (_wrapper) { } return QAbstractButton::event(e0); } +bool PythonQtShell_QAbstractButton::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractButton::eventFilter(watched0, event1); +} void PythonQtShell_QAbstractButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { @@ -380,9 +474,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -403,19 +497,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -435,9 +529,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -458,19 +552,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -491,19 +585,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -523,9 +617,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -546,19 +640,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -578,9 +672,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -600,9 +694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -623,19 +717,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -655,9 +749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -677,9 +771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -699,9 +793,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -722,19 +816,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -755,19 +849,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -787,9 +881,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -809,9 +903,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -831,9 +925,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -853,9 +947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -875,9 +969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -898,19 +992,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -930,9 +1024,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -953,19 +1047,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -985,9 +1079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1008,19 +1102,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1040,9 +1134,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1062,9 +1156,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1085,19 +1179,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1117,9 +1211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1140,19 +1234,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1172,9 +1266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1194,9 +1288,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1216,9 +1310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1365,11 +1459,6 @@ QString PythonQtWrapper_QAbstractButton::text(QAbstractButton* theWrappedObject return ( theWrappedObject->text()); } -void PythonQtWrapper_QAbstractButton::timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_timerEvent(e)); -} - PythonQtShell_QAbstractGraphicsShapeItem::~PythonQtShell_QAbstractGraphicsShapeItem() { @@ -1386,9 +1475,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1409,19 +1498,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRectF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1442,19 +1531,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1475,19 +1564,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1508,19 +1597,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1540,9 +1629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1562,9 +1651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1584,9 +1673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1606,9 +1695,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1628,9 +1717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1651,19 +1740,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1683,9 +1772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1705,9 +1794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1727,9 +1816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1749,9 +1838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1771,9 +1860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1793,9 +1882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1816,19 +1905,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1849,19 +1938,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1882,19 +1971,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -1917,9 +2006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1939,9 +2028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1961,9 +2050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1983,9 +2072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2005,9 +2094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2027,9 +2116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2050,19 +2139,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2082,9 +2171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2105,19 +2194,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2138,19 +2227,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2170,9 +2259,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2193,19 +2282,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2226,19 +2315,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2259,19 +2348,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2291,9 +2380,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2333,6 +2422,28 @@ PythonQtShell_QAbstractItemDelegate::~PythonQtShell_QAbstractItemDelegate() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QAbstractItemDelegate::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemDelegate::childEvent(event0); +} QWidget* PythonQtShell_QAbstractItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { @@ -2344,19 +2455,19 @@ if (_wrapper) { 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*)&parent0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2366,6 +2477,28 @@ if (_wrapper) { } return QAbstractItemDelegate::createEditor(parent0, option1, index2); } +void PythonQtShell_QAbstractItemDelegate::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemDelegate::customEvent(event0); +} void PythonQtShell_QAbstractItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { if (_wrapper) { @@ -2376,9 +2509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2399,19 +2532,19 @@ if (_wrapper) { 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*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2421,6 +2554,72 @@ if (_wrapper) { } return QAbstractItemDelegate::editorEvent(event0, model1, option2, index3); } +bool PythonQtShell_QAbstractItemDelegate::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemDelegate::event(event0); +} +bool PythonQtShell_QAbstractItemDelegate::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractItemDelegate::eventFilter(watched0, event1); +} bool PythonQtShell_QAbstractItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { if (_wrapper) { @@ -2432,19 +2631,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2464,9 +2663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2487,19 +2686,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVector"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVector returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2519,9 +2718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2541,9 +2740,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2564,19 +2763,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QSize returnValue{}; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2586,6 +2785,28 @@ if (_wrapper) { } return QSize(); } +void PythonQtShell_QAbstractItemDelegate::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemDelegate::timerEvent(event0); +} void PythonQtShell_QAbstractItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { @@ -2596,9 +2817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2691,9 +2912,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2713,9 +2934,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2725,6 +2946,28 @@ if (_wrapper) { } QAbstractItemView::changeEvent(arg__1); } +void PythonQtShell_QAbstractItemView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::childEvent(event0); +} void PythonQtShell_QAbstractItemView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { @@ -2735,9 +2978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2757,9 +3000,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2779,9 +3022,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2801,9 +3044,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2823,9 +3066,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2835,6 +3078,28 @@ if (_wrapper) { } QAbstractItemView::currentChanged(current0, previous1); } +void PythonQtShell_QAbstractItemView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractItemView::customEvent(event0); +} void PythonQtShell_QAbstractItemView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { @@ -2845,9 +3110,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2868,19 +3133,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2900,9 +3165,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2922,9 +3187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2944,9 +3209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2966,9 +3231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2988,9 +3253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3011,19 +3276,19 @@ if (_wrapper) { 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*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3043,9 +3308,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3065,9 +3330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3088,19 +3353,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3121,19 +3386,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3153,9 +3418,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3176,19 +3441,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3208,9 +3473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3231,19 +3496,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3264,19 +3529,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3296,9 +3561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3319,19 +3584,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3351,9 +3616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3373,9 +3638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3396,19 +3661,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3428,9 +3693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3450,9 +3715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3473,19 +3738,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3506,19 +3771,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3538,9 +3803,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3560,9 +3825,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3582,9 +3847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3604,9 +3869,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3627,19 +3892,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3660,19 +3925,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3692,9 +3957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3714,9 +3979,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3736,9 +4001,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3758,9 +4023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3781,19 +4046,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3813,9 +4078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3836,19 +4101,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3869,19 +4134,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3901,9 +4166,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3924,19 +4189,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3956,9 +4221,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3978,9 +4243,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4000,9 +4265,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4022,9 +4287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4044,9 +4309,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4066,9 +4331,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4088,9 +4353,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4111,19 +4376,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4143,9 +4408,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4166,19 +4431,19 @@ if (_wrapper) { 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*)&index0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4198,9 +4463,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4220,9 +4485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4242,9 +4507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4264,9 +4529,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4286,9 +4551,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4308,9 +4573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4331,19 +4596,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4363,9 +4628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4386,19 +4651,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4419,19 +4684,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4452,19 +4717,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4484,9 +4749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4506,9 +4771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4528,9 +4793,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4550,9 +4815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4572,9 +4837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4594,9 +4859,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4617,19 +4882,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4649,9 +4914,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4671,9 +4936,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4694,19 +4959,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4727,19 +4992,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4760,19 +5025,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4793,19 +5058,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4826,19 +5091,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4858,9 +5123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5267,11 +5532,6 @@ Qt::TextElideMode PythonQtWrapper_QAbstractItemView::textElideMode(QAbstractIte return ( theWrappedObject->textElideMode()); } -void PythonQtWrapper_QAbstractItemView::timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_timerEvent(event)); -} - int PythonQtWrapper_QAbstractItemView::verticalOffset(QAbstractItemView* theWrappedObject) const { return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_verticalOffset()); @@ -5313,9 +5573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5335,9 +5595,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5357,9 +5617,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5369,6 +5629,28 @@ if (_wrapper) { } QAbstractPrintDialog::changeEvent(arg__1); } +void PythonQtShell_QAbstractPrintDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::childEvent(event0); +} void PythonQtShell_QAbstractPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { @@ -5379,9 +5661,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5401,9 +5683,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5413,6 +5695,28 @@ if (_wrapper) { } QAbstractPrintDialog::contextMenuEvent(arg__1); } +void PythonQtShell_QAbstractPrintDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::customEvent(event0); +} int PythonQtShell_QAbstractPrintDialog::devType() const { if (_wrapper) { @@ -5424,19 +5728,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5456,9 +5760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5478,9 +5782,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5500,9 +5804,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5522,9 +5826,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5544,9 +5848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5566,9 +5870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5589,19 +5893,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5622,19 +5926,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5655,19 +5959,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5687,9 +5991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5710,19 +6014,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5742,9 +6046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5765,19 +6069,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5798,19 +6102,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5830,9 +6134,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5852,9 +6156,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5874,9 +6178,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5897,19 +6201,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5929,9 +6233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5951,9 +6255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5973,9 +6277,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5996,19 +6300,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6029,19 +6333,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6061,9 +6365,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6083,9 +6387,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6105,9 +6409,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6127,9 +6431,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6149,9 +6453,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6172,19 +6476,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6204,9 +6508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6227,19 +6531,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6259,9 +6563,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6282,19 +6586,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6314,9 +6618,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6336,9 +6640,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6358,9 +6662,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6381,19 +6685,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6413,9 +6717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6436,19 +6740,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6468,9 +6772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6480,6 +6784,28 @@ if (_wrapper) { } QAbstractPrintDialog::tabletEvent(event0); } +void PythonQtShell_QAbstractPrintDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractPrintDialog::timerEvent(event0); +} void PythonQtShell_QAbstractPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -6490,9 +6816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6606,19 +6932,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6639,19 +6965,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6672,19 +6998,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6694,7 +7020,29 @@ if (_wrapper) { } return QAbstractProxyModel::canFetchMore(parent0); } -int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const +void PythonQtShell_QAbstractProxyModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractProxyModel::childEvent(event0); +} +int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6705,19 +7053,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6727,6 +7075,28 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QAbstractProxyModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractProxyModel::customEvent(event0); +} QVariant PythonQtShell_QAbstractProxyModel::data(const QModelIndex& proxyIndex0, int role1) const { if (_wrapper) { @@ -6738,19 +7108,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&proxyIndex0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&proxyIndex0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6771,19 +7141,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6793,6 +7163,72 @@ if (_wrapper) { } return QAbstractProxyModel::dropMimeData(data0, action1, row2, column3, parent4); } +bool PythonQtShell_QAbstractProxyModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::event(event0); +} +bool PythonQtShell_QAbstractProxyModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractProxyModel::eventFilter(watched0, event1); +} void PythonQtShell_QAbstractProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -6803,9 +7239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6826,19 +7262,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6859,19 +7295,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6892,19 +7328,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6925,19 +7361,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6958,19 +7394,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6991,19 +7427,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7024,19 +7460,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7057,19 +7493,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&sourceIndex0}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7090,19 +7526,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7123,19 +7559,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7156,19 +7592,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&proxyIndex0}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7189,19 +7625,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7222,19 +7658,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7255,19 +7691,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7288,19 +7724,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7321,19 +7757,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7354,19 +7790,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7387,19 +7823,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7420,19 +7856,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7452,9 +7888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7475,19 +7911,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7508,19 +7944,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7541,19 +7977,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7574,19 +8010,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7607,19 +8043,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7639,9 +8075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7662,19 +8098,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7694,9 +8130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7717,19 +8153,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7750,19 +8186,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7783,19 +8219,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7816,19 +8252,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7838,6 +8274,28 @@ if (_wrapper) { } return QAbstractProxyModel::supportedDropActions(); } +void PythonQtShell_QAbstractProxyModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractProxyModel::timerEvent(event0); +} QAbstractProxyModel* PythonQtWrapper_QAbstractProxyModel::new_QAbstractProxyModel(QObject* parent) { return new PythonQtShell_QAbstractProxyModel(parent); } @@ -7901,9 +8359,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7923,9 +8381,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7935,6 +8393,28 @@ if (_wrapper) { } QAbstractScrollArea::changeEvent(arg__1); } +void PythonQtShell_QAbstractScrollArea::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::childEvent(event0); +} void PythonQtShell_QAbstractScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -7945,9 +8425,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7967,9 +8447,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7979,6 +8459,28 @@ if (_wrapper) { } QAbstractScrollArea::contextMenuEvent(arg__1); } +void PythonQtShell_QAbstractScrollArea::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::customEvent(event0); +} int PythonQtShell_QAbstractScrollArea::devType() const { if (_wrapper) { @@ -7990,19 +8492,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8022,9 +8524,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8044,9 +8546,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8066,9 +8568,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8088,9 +8590,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8110,9 +8612,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8133,19 +8635,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8166,19 +8668,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8198,9 +8700,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8221,19 +8723,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8253,9 +8755,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8276,19 +8778,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8309,19 +8811,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8341,9 +8843,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8363,9 +8865,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8385,9 +8887,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8408,19 +8910,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8440,9 +8942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8462,9 +8964,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8484,9 +8986,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8507,19 +9009,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8540,19 +9042,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8572,9 +9074,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8594,9 +9096,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8616,9 +9118,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8638,9 +9140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8660,9 +9162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8683,19 +9185,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8716,19 +9218,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8748,9 +9250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8771,19 +9273,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8803,9 +9305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8825,9 +9327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8847,9 +9349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8869,9 +9371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8892,19 +9394,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8924,9 +9426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8947,19 +9449,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8979,9 +9481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8991,6 +9493,28 @@ if (_wrapper) { } QAbstractScrollArea::tabletEvent(event0); } +void PythonQtShell_QAbstractScrollArea::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractScrollArea::timerEvent(event0); +} bool PythonQtShell_QAbstractScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { @@ -9002,19 +9526,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9035,19 +9559,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9067,9 +9591,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9106,11 +9630,6 @@ QWidget* PythonQtWrapper_QAbstractScrollArea::cornerWidget(QAbstractScrollArea* return ( theWrappedObject->cornerWidget()); } -bool PythonQtWrapper_QAbstractScrollArea::eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - QScrollBar* PythonQtWrapper_QAbstractScrollArea::horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const { return ( theWrappedObject->horizontalScrollBar()); @@ -9242,9 +9761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9264,9 +9783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9276,6 +9795,28 @@ if (_wrapper) { } QAbstractSlider::changeEvent(e0); } +void PythonQtShell_QAbstractSlider::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::childEvent(event0); +} void PythonQtShell_QAbstractSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -9286,9 +9827,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9308,9 +9849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9320,6 +9861,28 @@ if (_wrapper) { } QAbstractSlider::contextMenuEvent(event0); } +void PythonQtShell_QAbstractSlider::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSlider::customEvent(event0); +} int PythonQtShell_QAbstractSlider::devType() const { if (_wrapper) { @@ -9331,19 +9894,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9363,9 +9926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9385,9 +9948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9407,9 +9970,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9429,9 +9992,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9451,9 +10014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9474,19 +10037,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9496,6 +10059,39 @@ if (_wrapper) { } return QAbstractSlider::event(e0); } +bool PythonQtShell_QAbstractSlider::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSlider::eventFilter(watched0, event1); +} void PythonQtShell_QAbstractSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -9506,9 +10102,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9529,19 +10125,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9561,9 +10157,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9584,19 +10180,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9617,19 +10213,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9649,9 +10245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9671,9 +10267,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9693,9 +10289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9716,19 +10312,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9748,9 +10344,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9770,9 +10366,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9792,9 +10388,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9815,19 +10411,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9848,19 +10444,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9880,9 +10476,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9902,9 +10498,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9924,9 +10520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9946,9 +10542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9968,9 +10564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9991,19 +10587,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10024,19 +10620,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10056,9 +10652,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10079,19 +10675,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10111,9 +10707,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10133,9 +10729,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10156,19 +10752,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10188,9 +10784,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10211,19 +10807,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10243,9 +10839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10265,9 +10861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10287,9 +10883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10309,9 +10905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10448,11 +11044,6 @@ int PythonQtWrapper_QAbstractSlider::sliderPosition(QAbstractSlider* theWrapped return ( theWrappedObject->sliderPosition()); } -void PythonQtWrapper_QAbstractSlider::timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - void PythonQtWrapper_QAbstractSlider::triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action) { ( theWrappedObject->triggerAction(action)); @@ -10479,9 +11070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10501,9 +11092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10513,6 +11104,28 @@ if (_wrapper) { } QAbstractSpinBox::changeEvent(event0); } +void PythonQtShell_QAbstractSpinBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSpinBox::childEvent(event0); +} void PythonQtShell_QAbstractSpinBox::clear() { if (_wrapper) { @@ -10523,9 +11136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10545,9 +11158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10567,9 +11180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10579,6 +11192,28 @@ if (_wrapper) { } QAbstractSpinBox::contextMenuEvent(event0); } +void PythonQtShell_QAbstractSpinBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSpinBox::customEvent(event0); +} int PythonQtShell_QAbstractSpinBox::devType() const { if (_wrapper) { @@ -10590,19 +11225,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10622,9 +11257,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10644,9 +11279,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10666,9 +11301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10688,9 +11323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10710,9 +11345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10733,19 +11368,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10755,6 +11390,39 @@ if (_wrapper) { } return QAbstractSpinBox::event(event0); } +bool PythonQtShell_QAbstractSpinBox::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSpinBox::eventFilter(watched0, event1); +} void PythonQtShell_QAbstractSpinBox::fixup(QString& input0) const { if (_wrapper) { @@ -10765,9 +11433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10787,9 +11455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10810,19 +11478,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10842,9 +11510,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10865,19 +11533,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10898,19 +11566,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10930,9 +11598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10952,9 +11620,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10974,9 +11642,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10997,19 +11665,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11029,9 +11697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11051,9 +11719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11073,9 +11741,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11096,19 +11764,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11129,19 +11797,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11161,9 +11829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11183,9 +11851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11205,9 +11873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11227,9 +11895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11249,9 +11917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11272,19 +11940,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11305,19 +11973,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11337,9 +12005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11360,19 +12028,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11392,9 +12060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11414,9 +12082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11437,19 +12105,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11469,9 +12137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11492,19 +12160,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11524,9 +12192,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11547,19 +12215,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractSpinBox::StepEnabled returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11579,9 +12247,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11601,9 +12269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11624,19 +12292,19 @@ if (_wrapper) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QValidator::State returnValue{}; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11656,9 +12324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11835,11 +12503,6 @@ QString PythonQtWrapper_QAbstractSpinBox::text(QAbstractSpinBox* theWrappedObje return ( theWrappedObject->text()); } -void PythonQtWrapper_QAbstractSpinBox::timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_timerEvent(event)); -} - QValidator::State PythonQtWrapper_QAbstractSpinBox::validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const { return ( theWrappedObject->validate(input, pos)); @@ -11867,19 +12530,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11900,19 +12563,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11933,19 +12596,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11955,6 +12618,28 @@ if (_wrapper) { } return QAbstractTableModel::canFetchMore(parent0); } +void PythonQtShell_QAbstractTableModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTableModel::childEvent(event0); +} int PythonQtShell_QAbstractTableModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { @@ -11966,19 +12651,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11988,6 +12673,28 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QAbstractTableModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTableModel::customEvent(event0); +} QVariant PythonQtShell_QAbstractTableModel::data(const QModelIndex& index0, int role1) const { if (_wrapper) { @@ -11999,19 +12706,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12032,19 +12739,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12054,6 +12761,72 @@ if (_wrapper) { } return QAbstractTableModel::dropMimeData(data0, action1, row2, column3, parent4); } +bool PythonQtShell_QAbstractTableModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::event(event0); +} +bool PythonQtShell_QAbstractTableModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTableModel::eventFilter(watched0, event1); +} void PythonQtShell_QAbstractTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -12064,9 +12837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12087,19 +12860,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12120,19 +12893,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12153,19 +12926,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12186,19 +12959,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12219,19 +12992,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12252,19 +13025,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12285,19 +13058,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12318,19 +13091,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12351,19 +13124,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12384,19 +13157,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12417,19 +13190,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12450,19 +13223,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12483,19 +13256,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12515,9 +13288,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12538,19 +13311,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12571,19 +13344,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12604,19 +13377,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12637,19 +13410,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12670,19 +13443,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12703,19 +13476,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12735,9 +13508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12758,19 +13531,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12791,19 +13564,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12824,19 +13597,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12857,19 +13630,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12879,6 +13652,28 @@ if (_wrapper) { } return QAbstractTableModel::supportedDropActions(); } +void PythonQtShell_QAbstractTableModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTableModel::timerEvent(event0); +} QAbstractTableModel* PythonQtWrapper_QAbstractTableModel::new_QAbstractTableModel(QObject* parent) { return new PythonQtShell_QAbstractTableModel(parent); } @@ -12913,19 +13708,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRectF returnValue{}; - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12935,6 +13730,50 @@ if (_wrapper) { } return QRectF(); } +void PythonQtShell_QAbstractTextDocumentLayout::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTextDocumentLayout::childEvent(event0); +} +void PythonQtShell_QAbstractTextDocumentLayout::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTextDocumentLayout::customEvent(event0); +} void PythonQtShell_QAbstractTextDocumentLayout::documentChanged(int from0, int charsRemoved1, int charsAdded2) { if (_wrapper) { @@ -12945,9 +13784,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; + void* args[4] = {nullptr, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12968,19 +13807,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSizeF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSizeF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13000,9 +13839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&context1}; + void* args[3] = {nullptr, (void*)&painter0, (void*)&context1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13022,9 +13861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; + void* args[6] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13034,6 +13873,72 @@ if (_wrapper) { } QAbstractTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); } +bool PythonQtShell_QAbstractTextDocumentLayout::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTextDocumentLayout::event(event0); +} +bool PythonQtShell_QAbstractTextDocumentLayout::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractTextDocumentLayout::eventFilter(watched0, event1); +} QRectF PythonQtShell_QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame* frame0) const { if (_wrapper) { @@ -13045,19 +13950,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRectF returnValue{}; - void* args[2] = {NULL, (void*)&frame0}; + void* args[2] = {nullptr, (void*)&frame0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13078,19 +13983,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); int returnValue{}; - void* args[3] = {NULL, (void*)&point0, (void*)&accuracy1}; + void* args[3] = {nullptr, (void*)&point0, (void*)&accuracy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13111,19 +14016,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13143,9 +14048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13165,9 +14070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13177,6 +14082,28 @@ if (_wrapper) { } QAbstractTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); } +void PythonQtShell_QAbstractTextDocumentLayout::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractTextDocumentLayout::timerEvent(event0); +} QAbstractTextDocumentLayout* PythonQtWrapper_QAbstractTextDocumentLayout::new_QAbstractTextDocumentLayout(QTextDocument* doc) { return new PythonQtShell_QAbstractTextDocumentLayout(doc); } @@ -13362,40 +14289,139 @@ PythonQtShell_QAction::~PythonQtShell_QAction() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QAction::event(QEvent* arg__1) +void PythonQtShell_QAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAction::event(arg__1); + QAction::childEvent(event0); } -QAction* PythonQtWrapper_QAction::new_QAction(QObject* parent) +void PythonQtShell_QAction::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAction::customEvent(event0); +} +bool PythonQtShell_QAction::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAction::event(arg__1); +} +bool PythonQtShell_QAction::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAction::eventFilter(watched0, event1); +} +void PythonQtShell_QAction::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAction::timerEvent(event0); +} +QAction* PythonQtWrapper_QAction::new_QAction(QObject* parent) { return new PythonQtShell_QAction(parent); } @@ -13450,11 +14476,6 @@ QVariant PythonQtWrapper_QAction::data(QAction* theWrappedObject) const return ( theWrappedObject->data()); } -bool PythonQtWrapper_QAction::event(QAction* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QAction*)theWrappedObject)->promoted_event(arg__1)); -} - QFont PythonQtWrapper_QAction::font(QAction* theWrappedObject) const { return ( theWrappedObject->font()); @@ -13699,6 +14720,138 @@ PythonQtShell_QActionGroup::~PythonQtShell_QActionGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QActionGroup::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QActionGroup::childEvent(event0); +} +void PythonQtShell_QActionGroup::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QActionGroup::customEvent(event0); +} +bool PythonQtShell_QActionGroup::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QActionGroup::event(event0); +} +bool PythonQtShell_QActionGroup::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QActionGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QActionGroup::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QActionGroup::timerEvent(event0); +} QActionGroup* PythonQtWrapper_QActionGroup::new_QActionGroup(QObject* parent) { return new PythonQtShell_QActionGroup(parent); } @@ -14065,9 +15218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14077,63 +15230,52 @@ if (_wrapper) { } QBoxLayout::addItem(arg__1); } -int PythonQtShell_QBoxLayout::count() const +void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QBoxLayout::count(); + QBoxLayout::childEvent(e0); } -Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const +QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14141,32 +15283,32 @@ if (_wrapper) { } } } - return QBoxLayout::expandingDirections(); + return QBoxLayout::controlTypes(); } -bool PythonQtShell_QBoxLayout::hasHeightForWidth() const +int PythonQtShell_QBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14174,54 +15316,274 @@ if (_wrapper) { } } } - return QBoxLayout::hasHeightForWidth(); + return QBoxLayout::count(); } -int PythonQtShell_QBoxLayout::heightForWidth(int arg__1) const +void PythonQtShell_QBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QBoxLayout::heightForWidth(arg__1); + QBoxLayout::customEvent(event0); } -void PythonQtShell_QBoxLayout::invalidate() +bool PythonQtShell_QBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::event(event0); +} +bool PythonQtShell_QBoxLayout::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QBoxLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::geometry(); +} +bool PythonQtShell_QBoxLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::hasHeightForWidth(); +} +int PythonQtShell_QBoxLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::heightForWidth(arg__1); +} +int PythonQtShell_QBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QBoxLayout::invalidate() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14231,6 +15593,39 @@ if (_wrapper) { } QBoxLayout::invalidate(); } +bool PythonQtShell_QBoxLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::isEmpty(); +} QLayoutItem* PythonQtShell_QBoxLayout::itemAt(int arg__1) const { if (_wrapper) { @@ -14242,19 +15637,19 @@ if (_wrapper) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14264,6 +15659,39 @@ if (_wrapper) { } return QBoxLayout::itemAt(arg__1); } +QLayout* PythonQtShell_QBoxLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::layout(); +} QSize PythonQtShell_QBoxLayout::maximumSize() const { if (_wrapper) { @@ -14275,19 +15703,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14308,19 +15736,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14341,19 +15769,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14373,9 +15801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14396,19 +15824,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14418,6 +15846,39 @@ if (_wrapper) { } return QBoxLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QBoxLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { if (_wrapper) { @@ -14429,19 +15890,19 @@ if (_wrapper) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14451,6 +15912,61 @@ if (_wrapper) { } return QBoxLayout::takeAt(arg__1); } +void PythonQtShell_QBoxLayout::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBoxLayout::timerEvent(event0); +} +QWidget* PythonQtShell_QBoxLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::widget(); +} QBoxLayout* PythonQtWrapper_QBoxLayout::new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent) { return new PythonQtShell_QBoxLayout(arg__1, parent); } @@ -14468,9 +15984,9 @@ int PythonQtShell_QBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** int result = QBoxLayout::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QBoxLayout::addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1) +void PythonQtWrapper_QBoxLayout::addLayout(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout, int stretch) { - ( theWrappedObject->addItem(arg__1)); + ( theWrappedObject->addLayout(layout, stretch)); } void PythonQtWrapper_QBoxLayout::addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP spacerItem) @@ -14498,34 +16014,19 @@ void PythonQtWrapper_QBoxLayout::addWidget(QBoxLayout* theWrappedObject, PythonQ ( theWrappedObject->addWidget(arg__1, stretch, alignment)); } -int PythonQtWrapper_QBoxLayout::count(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - QBoxLayout::Direction PythonQtWrapper_QBoxLayout::direction(QBoxLayout* theWrappedObject) const { return ( theWrappedObject->direction()); } -Qt::Orientations PythonQtWrapper_QBoxLayout::expandingDirections(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -bool PythonQtWrapper_QBoxLayout::hasHeightForWidth(QBoxLayout* theWrappedObject) const +void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) { - return ( theWrappedObject->hasHeightForWidth()); + ( theWrappedObject->insertItem(index, arg__2)); } -int PythonQtWrapper_QBoxLayout::heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const +void PythonQtWrapper_QBoxLayout::insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch) { - return ( theWrappedObject->heightForWidth(arg__1)); -} - -void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) -{ - ( theWrappedObject->insertItem(index, arg__2)); + ( theWrappedObject->insertLayout(index, layout, stretch)); } void PythonQtWrapper_QBoxLayout::insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP spacerItem) @@ -14548,81 +16049,178 @@ void PythonQtWrapper_QBoxLayout::insertWidget(QBoxLayout* theWrappedObject, int ( theWrappedObject->insertWidget(index, widget, stretch, alignment)); } -void PythonQtWrapper_QBoxLayout::invalidate(QBoxLayout* theWrappedObject) +void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) { - ( theWrappedObject->invalidate()); + ( theWrappedObject->setDirection(arg__1)); } -QLayoutItem* PythonQtWrapper_QBoxLayout::itemAt(QBoxLayout* theWrappedObject, int arg__1) const +void PythonQtWrapper_QBoxLayout::setSpacing(QBoxLayout* theWrappedObject, int spacing) { - return ( theWrappedObject->itemAt(arg__1)); + ( theWrappedObject->setSpacing(spacing)); } -QSize PythonQtWrapper_QBoxLayout::maximumSize(QBoxLayout* theWrappedObject) const +void PythonQtWrapper_QBoxLayout::setStretch(QBoxLayout* theWrappedObject, int index, int stretch) { - return ( theWrappedObject->maximumSize()); + ( theWrappedObject->setStretch(index, stretch)); } -int PythonQtWrapper_QBoxLayout::minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch) { - return ( theWrappedObject->minimumHeightForWidth(arg__1)); + return ( theWrappedObject->setStretchFactor(l, stretch)); } -QSize PythonQtWrapper_QBoxLayout::minimumSize(QBoxLayout* theWrappedObject) const +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) { - return ( theWrappedObject->minimumSize()); + return ( theWrappedObject->setStretchFactor(w, stretch)); } -void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) +int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const { - ( theWrappedObject->setDirection(arg__1)); + return ( theWrappedObject->spacing()); } -void PythonQtWrapper_QBoxLayout::setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1) +int PythonQtWrapper_QBoxLayout::stretch(QBoxLayout* theWrappedObject, int index) const { - ( theWrappedObject->setGeometry(arg__1)); + return ( theWrappedObject->stretch(index)); } -void PythonQtWrapper_QBoxLayout::setSpacing(QBoxLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setSpacing(spacing)); -} -void PythonQtWrapper_QBoxLayout::setStretch(QBoxLayout* theWrappedObject, int index, int stretch) + +PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QButtonGroup::childEvent(QChildEvent* event0) { - ( theWrappedObject->setStretch(index, stretch)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) + QButtonGroup::childEvent(event0); +} +void PythonQtShell_QButtonGroup::customEvent(QEvent* event0) { - return ( theWrappedObject->setStretchFactor(w, stretch)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QSize PythonQtWrapper_QBoxLayout::sizeHint(QBoxLayout* theWrappedObject) const + QButtonGroup::customEvent(event0); +} +bool PythonQtShell_QButtonGroup::event(QEvent* event0) { - return ( theWrappedObject->sizeHint()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const + return QButtonGroup::event(event0); +} +bool PythonQtShell_QButtonGroup::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->spacing()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QBoxLayout::stretch(QBoxLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->stretch(index)); + return QButtonGroup::eventFilter(watched0, event1); } - -QLayoutItem* PythonQtWrapper_QBoxLayout::takeAt(QBoxLayout* theWrappedObject, int arg__1) +void PythonQtShell_QButtonGroup::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->takeAt(arg__1)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QButtonGroup::timerEvent(event0); } QButtonGroup* PythonQtWrapper_QButtonGroup::new_QButtonGroup(QObject* parent) { @@ -14707,9 +16305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14729,9 +16327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14741,6 +16339,28 @@ if (_wrapper) { } QCalendarWidget::changeEvent(arg__1); } +void PythonQtShell_QCalendarWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::childEvent(event0); +} void PythonQtShell_QCalendarWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -14751,9 +16371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14773,9 +16393,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14785,6 +16405,28 @@ if (_wrapper) { } QCalendarWidget::contextMenuEvent(event0); } +void PythonQtShell_QCalendarWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::customEvent(event0); +} int PythonQtShell_QCalendarWidget::devType() const { if (_wrapper) { @@ -14796,19 +16438,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14828,9 +16470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14850,9 +16492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14872,9 +16514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14894,9 +16536,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14916,9 +16558,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14939,19 +16581,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14972,19 +16614,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15004,9 +16646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15027,19 +16669,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15059,9 +16701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15082,19 +16724,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15115,19 +16757,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15147,9 +16789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15169,9 +16811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15191,9 +16833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15214,19 +16856,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15246,9 +16888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15268,9 +16910,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15290,9 +16932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15313,19 +16955,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15346,19 +16988,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15378,9 +17020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15400,9 +17042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15422,9 +17064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15444,9 +17086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15466,9 +17108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15489,19 +17131,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15521,9 +17163,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QDate&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&date2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&date2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15544,19 +17186,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15576,9 +17218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15599,19 +17241,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15631,9 +17273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15653,9 +17295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15676,19 +17318,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15708,9 +17350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15731,19 +17373,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15763,9 +17405,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15775,6 +17417,28 @@ if (_wrapper) { } QCalendarWidget::tabletEvent(event0); } +void PythonQtShell_QCalendarWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCalendarWidget::timerEvent(event0); +} void PythonQtShell_QCalendarWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -15785,9 +17449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15829,11 +17493,6 @@ QTextCharFormat PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget return ( theWrappedObject->dateTextFormat(date)); } -bool PythonQtWrapper_QCalendarWidget::eventFilter(QCalendarWidget* theWrappedObject, QObject* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_eventFilter(watched, event)); -} - Qt::DayOfWeek PythonQtWrapper_QCalendarWidget::firstDayOfWeek(QCalendarWidget* theWrappedObject) const { return ( theWrappedObject->firstDayOfWeek()); @@ -15990,9 +17649,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16012,9 +17671,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16034,9 +17693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16046,6 +17705,28 @@ if (_wrapper) { } QCheckBox::checkStateSet(); } +void PythonQtShell_QCheckBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::childEvent(event0); +} void PythonQtShell_QCheckBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -16056,9 +17737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16078,9 +17759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16090,6 +17771,28 @@ if (_wrapper) { } QCheckBox::contextMenuEvent(event0); } +void PythonQtShell_QCheckBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCheckBox::customEvent(event0); +} int PythonQtShell_QCheckBox::devType() const { if (_wrapper) { @@ -16101,19 +17804,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16133,9 +17836,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16155,9 +17858,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16177,9 +17880,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16199,9 +17902,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16221,9 +17924,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16244,19 +17947,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16266,6 +17969,39 @@ if (_wrapper) { } return QCheckBox::event(e0); } +bool PythonQtShell_QCheckBox::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCheckBox::eventFilter(watched0, event1); +} void PythonQtShell_QCheckBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { @@ -16276,9 +18012,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16299,19 +18035,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16331,9 +18067,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16354,19 +18090,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16387,19 +18123,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16419,9 +18155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16442,19 +18178,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16474,9 +18210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16496,9 +18232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16519,19 +18255,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16551,9 +18287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16573,9 +18309,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16595,9 +18331,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16618,19 +18354,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16651,19 +18387,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16683,9 +18419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16705,9 +18441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16727,9 +18463,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16749,9 +18485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16771,9 +18507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16794,19 +18530,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16826,9 +18562,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16849,19 +18585,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16881,9 +18617,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16904,19 +18640,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16936,9 +18672,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16958,9 +18694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16981,19 +18717,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17013,9 +18749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17036,19 +18772,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17068,9 +18804,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17090,9 +18826,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17112,9 +18848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17182,6 +18918,83 @@ QSize PythonQtWrapper_QCheckBox::sizeHint(QCheckBox* theWrappedObject) const +void PythonQtWrapper_QClipboard::clear(QClipboard* theWrappedObject, QClipboard::Mode mode) +{ + ( theWrappedObject->clear(mode)); +} + +QImage PythonQtWrapper_QClipboard::image(QClipboard* theWrappedObject, QClipboard::Mode mode) const +{ + return ( theWrappedObject->image(mode)); +} + +const QMimeData* PythonQtWrapper_QClipboard::mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode) const +{ + return ( theWrappedObject->mimeData(mode)); +} + +bool PythonQtWrapper_QClipboard::ownsClipboard(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->ownsClipboard()); +} + +bool PythonQtWrapper_QClipboard::ownsFindBuffer(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->ownsFindBuffer()); +} + +bool PythonQtWrapper_QClipboard::ownsSelection(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->ownsSelection()); +} + +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)); +} + +void PythonQtWrapper_QClipboard::setMimeData(QClipboard* theWrappedObject, PythonQtPassOwnershipToCPP data, QClipboard::Mode mode) +{ + ( theWrappedObject->setMimeData(data, mode)); +} + +void PythonQtWrapper_QClipboard::setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode) +{ + ( theWrappedObject->setPixmap(arg__1, mode)); +} + +void PythonQtWrapper_QClipboard::setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode) +{ + ( theWrappedObject->setText(arg__1, mode)); +} + +bool PythonQtWrapper_QClipboard::supportsFindBuffer(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->supportsFindBuffer()); +} + +bool PythonQtWrapper_QClipboard::supportsSelection(QClipboard* theWrappedObject) const +{ + return ( theWrappedObject->supportsSelection()); +} + +QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QClipboard::Mode mode) const +{ + return ( theWrappedObject->text(mode)); +} + +QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode) const +{ + return ( theWrappedObject->text(subtype, mode)); +} + + + QCloseEvent* PythonQtWrapper_QCloseEvent::new_QCloseEvent() { return new QCloseEvent(); } @@ -17202,9 +19015,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17224,9 +19037,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17246,9 +19059,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17258,6 +19071,28 @@ if (_wrapper) { } QColorDialog::changeEvent(event0); } +void PythonQtShell_QColorDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::childEvent(event0); +} void PythonQtShell_QColorDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { @@ -17268,9 +19103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17290,9 +19125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17302,6 +19137,28 @@ if (_wrapper) { } QColorDialog::contextMenuEvent(arg__1); } +void PythonQtShell_QColorDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::customEvent(event0); +} int PythonQtShell_QColorDialog::devType() const { if (_wrapper) { @@ -17313,19 +19170,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17345,9 +19202,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17367,9 +19224,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17389,9 +19246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17411,9 +19268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17433,9 +19290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17455,9 +19312,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17478,19 +19335,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17511,19 +19368,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17544,19 +19401,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17576,9 +19433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17599,19 +19456,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17631,9 +19488,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17654,19 +19511,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17687,19 +19544,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17719,9 +19576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17741,9 +19598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17763,9 +19620,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17786,19 +19643,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17818,9 +19675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17840,9 +19697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17862,9 +19719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17885,19 +19742,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17918,19 +19775,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17950,9 +19807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17972,9 +19829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17994,9 +19851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18016,9 +19873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18038,9 +19895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18061,19 +19918,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18094,19 +19951,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18126,9 +19983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18149,19 +20006,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18181,9 +20038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18203,9 +20060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18225,9 +20082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18248,19 +20105,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18280,9 +20137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18303,19 +20160,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18330,14 +20187,36 @@ void PythonQtShell_QColorDialog::tabletEvent(QTabletEvent* event0) if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColorDialog::tabletEvent(event0); +} +void PythonQtShell_QColorDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18345,7 +20224,7 @@ if (_wrapper) { } } } - QColorDialog::tabletEvent(event0); + QColorDialog::timerEvent(event0); } void PythonQtShell_QColorDialog::wheelEvent(QWheelEvent* event0) { @@ -18357,9 +20236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18481,9 +20360,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18503,9 +20382,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18515,6 +20394,28 @@ if (_wrapper) { } QColumnView::changeEvent(arg__1); } +void PythonQtShell_QColumnView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::childEvent(event0); +} void PythonQtShell_QColumnView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { @@ -18525,9 +20426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18547,9 +20448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18569,9 +20470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18591,9 +20492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18614,19 +20515,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractItemView*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractItemView* returnValue{}; - void* args[2] = {NULL, (void*)&rootIndex0}; + void* args[2] = {nullptr, (void*)&rootIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createColumn", methodInfo, result); } else { returnValue = *((QAbstractItemView**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18646,9 +20547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18658,6 +20559,28 @@ if (_wrapper) { } QColumnView::currentChanged(current0, previous1); } +void PythonQtShell_QColumnView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QColumnView::customEvent(event0); +} void PythonQtShell_QColumnView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { @@ -18668,9 +20591,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18691,19 +20614,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18723,9 +20646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18745,9 +20668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18767,9 +20690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18789,9 +20712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18811,9 +20734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18834,19 +20757,19 @@ if (_wrapper) { 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*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18866,9 +20789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18888,9 +20811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18911,19 +20834,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18944,19 +20867,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18976,9 +20899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18999,19 +20922,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19031,9 +20954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19054,19 +20977,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19087,19 +21010,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19119,9 +21042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19142,19 +21065,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19174,9 +21097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19196,9 +21119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19219,19 +21142,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19251,9 +21174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19273,9 +21196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19296,19 +21219,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19329,19 +21252,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19361,9 +21284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19383,9 +21306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19405,9 +21328,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19427,9 +21350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19450,19 +21373,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19483,19 +21406,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19515,9 +21438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19537,9 +21460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19559,9 +21482,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19581,9 +21504,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19604,19 +21527,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19636,9 +21559,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19659,19 +21582,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19692,19 +21615,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19724,9 +21647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19747,19 +21670,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19779,9 +21702,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19801,9 +21724,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19823,9 +21746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19845,9 +21768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19867,9 +21790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19889,9 +21812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19911,9 +21834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19934,19 +21857,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19966,9 +21889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19989,19 +21912,19 @@ if (_wrapper) { 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*)&index0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20021,9 +21944,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20043,9 +21966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20065,9 +21988,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20087,9 +22010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20109,9 +22032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20131,9 +22054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20154,19 +22077,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20186,9 +22109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20209,19 +22132,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20242,19 +22165,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20275,19 +22198,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20307,9 +22230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20329,9 +22252,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20351,9 +22274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20373,9 +22296,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20395,9 +22318,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20417,9 +22340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20440,19 +22363,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20472,9 +22395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20494,9 +22417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20517,19 +22440,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20550,19 +22473,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20583,19 +22506,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20616,19 +22539,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20649,19 +22572,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20681,9 +22604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20766,9 +22689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20788,9 +22711,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20800,6 +22723,28 @@ if (_wrapper) { } QComboBox::changeEvent(e0); } +void PythonQtShell_QComboBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::childEvent(event0); +} void PythonQtShell_QComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -20810,9 +22755,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20832,9 +22777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20844,6 +22789,28 @@ if (_wrapper) { } QComboBox::contextMenuEvent(e0); } +void PythonQtShell_QComboBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::customEvent(event0); +} int PythonQtShell_QComboBox::devType() const { if (_wrapper) { @@ -20855,19 +22822,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20887,9 +22854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20909,9 +22876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20931,9 +22898,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20953,9 +22920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20975,9 +22942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20998,19 +22965,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21020,6 +22987,39 @@ if (_wrapper) { } return QComboBox::event(event0); } +bool PythonQtShell_QComboBox::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QComboBox::eventFilter(watched0, event1); +} void PythonQtShell_QComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { @@ -21030,9 +23030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21053,19 +23053,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21085,9 +23085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21108,19 +23108,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21141,19 +23141,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21173,9 +23173,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21195,9 +23195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21217,9 +23217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21239,9 +23239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21262,19 +23262,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21294,9 +23294,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21316,9 +23316,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21338,9 +23338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21361,19 +23361,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21394,19 +23394,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21426,9 +23426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21448,9 +23448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21470,9 +23470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21492,9 +23492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21514,9 +23514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21537,19 +23537,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21570,19 +23570,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21602,9 +23602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21625,19 +23625,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21657,9 +23657,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21679,9 +23679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21702,19 +23702,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21734,9 +23734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21756,9 +23756,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21779,19 +23779,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21811,9 +23811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21823,6 +23823,28 @@ if (_wrapper) { } QComboBox::tabletEvent(event0); } +void PythonQtShell_QComboBox::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QComboBox::timerEvent(event0); +} void PythonQtShell_QComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { @@ -21833,9 +23855,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22188,9 +24210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22210,9 +24232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22232,9 +24254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22244,6 +24266,28 @@ if (_wrapper) { } QCommandLinkButton::checkStateSet(); } +void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::childEvent(event0); +} void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -22254,9 +24298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22276,9 +24320,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22288,6 +24332,28 @@ if (_wrapper) { } QCommandLinkButton::contextMenuEvent(event0); } +void PythonQtShell_QCommandLinkButton::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommandLinkButton::customEvent(event0); +} int PythonQtShell_QCommandLinkButton::devType() const { if (_wrapper) { @@ -22299,19 +24365,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22331,9 +24397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22353,9 +24419,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22375,9 +24441,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22397,9 +24463,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22419,9 +24485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22442,19 +24508,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22464,6 +24530,39 @@ if (_wrapper) { } return QCommandLinkButton::event(e0); } +bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommandLinkButton::eventFilter(watched0, event1); +} void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { @@ -22474,9 +24573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22497,19 +24596,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22529,9 +24628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22552,19 +24651,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22585,19 +24684,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22617,9 +24716,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22640,19 +24739,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22672,9 +24771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22694,9 +24793,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22717,19 +24816,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22749,9 +24848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22771,9 +24870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22793,9 +24892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22816,19 +24915,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22849,19 +24948,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22881,9 +24980,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22903,9 +25002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22925,9 +25024,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22947,9 +25046,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22969,9 +25068,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22992,19 +25091,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23024,9 +25123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23047,19 +25146,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23079,9 +25178,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23102,19 +25201,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23134,9 +25233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23156,9 +25255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23179,19 +25278,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23211,9 +25310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23234,19 +25333,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23266,9 +25365,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23288,9 +25387,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23310,9 +25409,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23363,6 +25462,50 @@ PythonQtShell_QCommonStyle::~PythonQtShell_QCommonStyle() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCommonStyle::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::childEvent(event0); +} +void PythonQtShell_QCommonStyle::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::customEvent(event0); +} void PythonQtShell_QCommonStyle::drawComplexControl(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QPainter* p2, const QWidget* w3) const { if (_wrapper) { @@ -23373,9 +25516,9 @@ if (_wrapper) { if (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*)&cc0, (void*)&opt1, (void*)&p2, (void*)&w3}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&p2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23395,9 +25538,9 @@ if (_wrapper) { if (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*)&element0, (void*)&opt1, (void*)&p2, (void*)&w3}; + void* args[5] = {nullptr, (void*)&element0, (void*)&opt1, (void*)&p2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23417,9 +25560,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; + void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23439,9 +25582,31 @@ if (_wrapper) { if (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*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; + void* args[8] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCommonStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); +} +void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPrimitive"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&pe0, (void*)&opt1, (void*)&p2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23449,29 +25614,73 @@ if (_wrapper) { } } } - QCommonStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); + QCommonStyle::drawPrimitive(pe0, opt1, p2, w3); +} +bool PythonQtShell_QCommonStyle::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCommonStyle::event(event0); } -void PythonQtShell_QCommonStyle::drawPrimitive(QStyle::PrimitiveElement pe0, const QStyleOption* opt1, QPainter* p2, const QWidget* w3) const +bool PythonQtShell_QCommonStyle::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPrimitive"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&pe0, (void*)&opt1, (void*)&p2, (void*)&w3}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCommonStyle::drawPrimitive(pe0, opt1, p2, w3); + return QCommonStyle::eventFilter(watched0, event1); } QPixmap PythonQtShell_QCommonStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { @@ -23484,19 +25693,19 @@ if (_wrapper) { 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*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; + void* args[4] = {nullptr, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); } else { returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23517,19 +25726,19 @@ if (_wrapper) { 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*)&cc0, (void*)&opt1, (void*)&pt2, (void*)&w3}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&pt2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); } else { returnValue = *((QStyle::SubControl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23550,19 +25759,19 @@ if (_wrapper) { 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*)&r0, (void*)&flags1, (void*)&pixmap2}; + void* args[4] = {nullptr, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23583,19 +25792,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); int returnValue{}; - void* args[6] = {NULL, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; + void* args[6] = {nullptr, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23616,19 +25825,19 @@ if (_wrapper) { 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*)&m0, (void*)&opt1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&m0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23648,9 +25857,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; + void* args[2] = {nullptr, (void*)&app0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23670,9 +25879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPalette&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23692,9 +25901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23715,19 +25924,19 @@ if (_wrapper) { 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*)&ct0, (void*)&opt1, (void*)&contentsSize2, (void*)&widget3}; + void* args[5] = {nullptr, (void*)&ct0, (void*)&opt1, (void*)&contentsSize2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23748,19 +25957,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QIcon returnValue{}; - void* args[4] = {NULL, (void*)&standardIcon0, (void*)&opt1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&standardIcon0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); } else { returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23781,19 +25990,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPalette"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPalette returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); } else { returnValue = *((QPalette*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23814,19 +26023,19 @@ if (_wrapper) { 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*)&sp0, (void*)&opt1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&sp0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); } else { returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23847,19 +26056,19 @@ if (_wrapper) { 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*)&sh0, (void*)&opt1, (void*)&w2, (void*)&shret3}; + void* args[5] = {nullptr, (void*)&sh0, (void*)&opt1, (void*)&w2, (void*)&shret3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23880,19 +26089,19 @@ if (_wrapper) { 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*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&w3}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&w3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23913,19 +26122,19 @@ if (_wrapper) { 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*)&r0, (void*)&opt1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&r0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23935,19 +26144,19 @@ if (_wrapper) { } return QCommonStyle::subElementRect(r0, opt1, widget2); } -void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) +void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unpolish"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&application0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23955,9 +26164,9 @@ if (_wrapper) { } } } - QCommonStyle::unpolish(application0); + QCommonStyle::timerEvent(event0); } -void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) +void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -23965,11 +26174,11 @@ if (_wrapper) { static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&application0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23977,346 +26186,45 @@ if (_wrapper) { } } } - QCommonStyle::unpolish(widget0); -} -QCommonStyle* PythonQtWrapper_QCommonStyle::new_QCommonStyle() -{ -return new PythonQtShell_QCommonStyle(); } - -const QMetaObject* PythonQtShell_QCommonStyle::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCommonStyle::staticMetaObject); - } else { - return &QCommonStyle::staticMetaObject; - } -} -int PythonQtShell_QCommonStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCommonStyle::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QCompleter::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QCompleter::event(arg__1); -} -bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&o0, (void*)&e1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QCompleter::eventFilter(o0, e1); -} -QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pathFromIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QCompleter::pathFromIndex(index0); + QCommonStyle::unpolish(application0); } -QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const +void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("splitPath"); + static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStringList" , "const QString&"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStringList returnValue{}; - void* args[2] = {NULL, (void*)&path0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCompleter::splitPath(path0); + QCommonStyle::unpolish(widget0); } -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) +QCommonStyle* PythonQtWrapper_QCommonStyle::new_QCommonStyle() { -return new PythonQtShell_QCompleter(completions, parent); } +return new PythonQtShell_QCommonStyle(); } -const QMetaObject* PythonQtShell_QCompleter::metaObject() const { +const QMetaObject* PythonQtShell_QCommonStyle::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCompleter::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCommonStyle::staticMetaObject); } else { - return &QCompleter::staticMetaObject; + return &QCommonStyle::staticMetaObject; } } -int PythonQtShell_QCompleter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCompleter::qt_metacall(call, id, args); +int PythonQtShell_QCommonStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCommonStyle::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -Qt::CaseSensitivity PythonQtWrapper_QCompleter::caseSensitivity(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->caseSensitivity()); -} - -int PythonQtWrapper_QCompleter::completionColumn(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionColumn()); -} - -int PythonQtWrapper_QCompleter::completionCount(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionCount()); -} - -QCompleter::CompletionMode PythonQtWrapper_QCompleter::completionMode(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionMode()); -} - -QAbstractItemModel* PythonQtWrapper_QCompleter::completionModel(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionModel()); -} - -QString PythonQtWrapper_QCompleter::completionPrefix(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionPrefix()); -} - -int PythonQtWrapper_QCompleter::completionRole(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionRole()); -} - -QString PythonQtWrapper_QCompleter::currentCompletion(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->currentCompletion()); -} - -QModelIndex PythonQtWrapper_QCompleter::currentIndex(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -int PythonQtWrapper_QCompleter::currentRow(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->currentRow()); -} - -bool PythonQtWrapper_QCompleter::event(QCompleter* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_event(arg__1)); -} - -bool PythonQtWrapper_QCompleter::eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_eventFilter(o, e)); -} - -Qt::MatchFlags PythonQtWrapper_QCompleter::filterMode(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->filterMode()); -} - -int PythonQtWrapper_QCompleter::maxVisibleItems(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->maxVisibleItems()); -} - -QAbstractItemModel* PythonQtWrapper_QCompleter::model(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -QCompleter::ModelSorting PythonQtWrapper_QCompleter::modelSorting(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->modelSorting()); -} - -QString PythonQtWrapper_QCompleter::pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->pathFromIndex(index)); -} - -QAbstractItemView* PythonQtWrapper_QCompleter::popup(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->popup()); -} - -void PythonQtWrapper_QCompleter::setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity) -{ - ( theWrappedObject->setCaseSensitivity(caseSensitivity)); -} - -void PythonQtWrapper_QCompleter::setCompletionColumn(QCompleter* theWrappedObject, int column) -{ - ( theWrappedObject->setCompletionColumn(column)); -} - -void PythonQtWrapper_QCompleter::setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode) -{ - ( theWrappedObject->setCompletionMode(mode)); -} - -void PythonQtWrapper_QCompleter::setCompletionRole(QCompleter* theWrappedObject, int role) -{ - ( theWrappedObject->setCompletionRole(role)); -} - -bool PythonQtWrapper_QCompleter::setCurrentRow(QCompleter* theWrappedObject, int row) -{ - return ( theWrappedObject->setCurrentRow(row)); -} - -void PythonQtWrapper_QCompleter::setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode) -{ - ( theWrappedObject->setFilterMode(filterMode)); -} - -void PythonQtWrapper_QCompleter::setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems) -{ - ( theWrappedObject->setMaxVisibleItems(maxItems)); -} - -void PythonQtWrapper_QCompleter::setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c) -{ - ( theWrappedObject->setModel(c)); -} - -void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) -{ - ( theWrappedObject->setModelSorting(sorting)); -} - -void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup) -{ - ( theWrappedObject->setPopup(popup)); -} - -void PythonQtWrapper_QCompleter::setWidget(QCompleter* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QStringList PythonQtWrapper_QCompleter::splitPath(QCompleter* theWrappedObject, const QString& path) const -{ - return ( theWrappedObject->splitPath(path)); -} - -QWidget* PythonQtWrapper_QCompleter::widget(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -bool PythonQtWrapper_QCompleter::wrapAround(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->wrapAround()); -} - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.h similarity index 73% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.h index 0ad1b6da..d73528c8 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.h @@ -1,13 +1,14 @@ #include -#include #include #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -29,9 +30,13 @@ #include #include #include +#include #include +#include #include #include +#include +#include #include #include #include @@ -40,11 +45,14 @@ #include #include #include +#include #include #include #include #include +#include #include +#include #include #include #include @@ -52,21 +60,40 @@ #include #include #include +#include +#include #include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include #include #include +#include +#include +#include #include #include #include @@ -74,8 +101,11 @@ #include #include #include +#include +#include #include #include +#include #include #include @@ -84,59 +114,62 @@ class PythonQtShell_QAbstractButton : public QAbstractButton { public: - PythonQtShell_QAbstractButton(QWidget* parent = nullptr):QAbstractButton(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractButton(QWidget* parent = nullptr):QAbstractButton(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractButton : public QAbstractButton @@ -176,7 +209,7 @@ class PythonQtWrapper_QAbstractButton : public QObject public: public slots: QAbstractButton* new_QAbstractButton(QWidget* parent = nullptr); -void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } +void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } bool autoExclusive(QAbstractButton* theWrappedObject) const; bool autoRepeat(QAbstractButton* theWrappedObject) const; int autoRepeatDelay(QAbstractButton* theWrappedObject) const; @@ -214,7 +247,6 @@ void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } void setText(QAbstractButton* theWrappedObject, const QString& text); QKeySequence shortcut(QAbstractButton* theWrappedObject) const; QString text(QAbstractButton* theWrappedObject) const; - void timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e); void py_q_timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_timerEvent(e));} }; @@ -225,47 +257,47 @@ void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } class PythonQtShell_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem { public: - PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr):QAbstractGraphicsShapeItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractGraphicsShapeItem(); - -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 = nullptr); -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; + PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr):QAbstractGraphicsShapeItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractGraphicsShapeItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem @@ -279,7 +311,7 @@ class PythonQtWrapper_QAbstractGraphicsShapeItem : public QObject public: public slots: QAbstractGraphicsShapeItem* new_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr); -void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } +void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } QBrush brush(QAbstractGraphicsShapeItem* theWrappedObject) const; bool py_q_isObscuredBy(QAbstractGraphicsShapeItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QAbstractGraphicsShapeItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->py_q_opaqueArea());} @@ -295,24 +327,29 @@ void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete class PythonQtShell_QAbstractItemDelegate : public QAbstractItemDelegate { public: - PythonQtShell_QAbstractItemDelegate(QObject* parent = nullptr):QAbstractItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemDelegate(); - -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() 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 updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemDelegate(QObject* parent = nullptr):QAbstractItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemDelegate : public QAbstractItemDelegate @@ -337,7 +374,7 @@ enum EndEditHint{ NoHint = QAbstractItemDelegate::NoHint, EditNextItem = QAbstractItemDelegate::EditNextItem, EditPreviousItem = QAbstractItemDelegate::EditPreviousItem, SubmitModelCache = QAbstractItemDelegate::SubmitModelCache, RevertModelCache = QAbstractItemDelegate::RevertModelCache}; public slots: QAbstractItemDelegate* new_QAbstractItemDelegate(QObject* parent = nullptr); -void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } +void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } QWidget* createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; QWidget* py_q_createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} void destroyEditor(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; @@ -367,99 +404,101 @@ void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } class PythonQtShell_QAbstractItemView : public QAbstractItemView { public: - PythonQtShell_QAbstractItemView(QWidget* parent = nullptr):QAbstractItemView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) 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 = 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 = nullptr) 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 setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemView(QWidget* parent = nullptr):QAbstractItemView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& point) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemView : public QAbstractItemView @@ -602,7 +641,7 @@ enum State{ Q_DECLARE_FLAGS(EditTriggers, EditTrigger) public slots: QAbstractItemView* new_QAbstractItemView(QWidget* parent = nullptr); -void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } +void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } bool alternatingRowColors(QAbstractItemView* theWrappedObject) const; int autoScrollMargin(QAbstractItemView* theWrappedObject) const; void py_q_closeEditor(QAbstractItemView* theWrappedObject, QWidget* editor, QAbstractItemDelegate::EndEditHint hint){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_closeEditor(editor, hint));} @@ -725,7 +764,6 @@ void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } void stopAutoScroll(QAbstractItemView* theWrappedObject); bool tabKeyNavigation(QAbstractItemView* theWrappedObject) const; Qt::TextElideMode textElideMode(QAbstractItemView* theWrappedObject) const; - void timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_timerEvent(event));} void py_q_updateEditorData(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_updateEditorData());} void py_q_updateEditorGeometries(QAbstractItemView* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_updateEditorGeometries());} @@ -752,61 +790,64 @@ void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } class PythonQtShell_QAbstractPrintDialog : public QAbstractPrintDialog { public: - PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QAbstractPrintDialog(printer, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractPrintDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QAbstractPrintDialog(printer, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractPrintDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractPrintDialog : public QObject @@ -821,7 +862,7 @@ enum PrintRange{ Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption) public slots: QAbstractPrintDialog* new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr); -void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } +void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } void addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option); QAbstractPrintDialog::PrintDialogOptions enabledOptions(QAbstractPrintDialog* theWrappedObject) const; int fromPage(QAbstractPrintDialog* theWrappedObject) const; @@ -845,53 +886,58 @@ void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } class PythonQtShell_QAbstractProxyModel : public QAbstractProxyModel { public: - PythonQtShell_QAbstractProxyModel(QObject* parent = nullptr):QAbstractProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -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 QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractProxyModel(QObject* parent = nullptr):QAbstractProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& selection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& selection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractProxyModel : public QAbstractProxyModel @@ -931,7 +977,7 @@ class PythonQtWrapper_QAbstractProxyModel : public QObject public: public slots: QAbstractProxyModel* new_QAbstractProxyModel(QObject* parent = nullptr); -void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } +void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } QModelIndex py_q_buddy(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_buddy(index));} bool py_q_canDropMimeData(QAbstractProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_canDropMimeData(data, action, row, column, parent));} bool py_q_canFetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_canFetchMore(parent));} @@ -974,60 +1020,63 @@ void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } class PythonQtShell_QAbstractScrollArea : public QAbstractScrollArea { public: - PythonQtShell_QAbstractScrollArea(QWidget* parent = nullptr):QAbstractScrollArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractScrollArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* 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* event); -virtual bool event(QEvent* arg__1); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractScrollArea(QWidget* parent = nullptr):QAbstractScrollArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractScrollArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractScrollArea : public QAbstractScrollArea @@ -1081,7 +1130,7 @@ class PythonQtWrapper_QAbstractScrollArea : public QObject public: public slots: QAbstractScrollArea* new_QAbstractScrollArea(QWidget* parent = nullptr); -void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } +void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } void addScrollBarWidget(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::Alignment alignment); void py_q_contextMenuEvent(QAbstractScrollArea* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} QWidget* cornerWidget(QAbstractScrollArea* theWrappedObject) const; @@ -1090,7 +1139,6 @@ void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } void py_q_dragMoveEvent(QAbstractScrollArea* theWrappedObject, QDragMoveEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} void py_q_dropEvent(QAbstractScrollArea* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_dropEvent(arg__1));} bool py_q_event(QAbstractScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_event(arg__1));} - bool eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2); bool py_q_eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} QScrollBar* horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const; Qt::ScrollBarPolicy horizontalScrollBarPolicy(QAbstractScrollArea* theWrappedObject) const; @@ -1138,57 +1186,60 @@ void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } class PythonQtShell_QAbstractSlider : public QAbstractSlider { public: - PythonQtShell_QAbstractSlider(QWidget* parent = nullptr):QAbstractSlider(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSlider(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSlider(QWidget* parent = nullptr):QAbstractSlider(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSlider() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSlider : public QAbstractSlider @@ -1221,7 +1272,7 @@ enum SliderChange{ SliderRangeChange = PythonQtPublicPromoter_QAbstractSlider::SliderRangeChange, SliderOrientationChange = PythonQtPublicPromoter_QAbstractSlider::SliderOrientationChange, SliderStepsChange = PythonQtPublicPromoter_QAbstractSlider::SliderStepsChange, SliderValueChange = PythonQtPublicPromoter_QAbstractSlider::SliderValueChange}; public slots: QAbstractSlider* new_QAbstractSlider(QWidget* parent = nullptr); -void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } +void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } void py_q_changeEvent(QAbstractSlider* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_changeEvent(e));} bool py_q_event(QAbstractSlider* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_event(e));} bool hasTracking(QAbstractSlider* theWrappedObject) const; @@ -1248,7 +1299,6 @@ void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } void sliderChange(QAbstractSlider* theWrappedObject, int change); void py_q_sliderChange(QAbstractSlider* theWrappedObject, int change){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_sliderChange(change));} int sliderPosition(QAbstractSlider* theWrappedObject) const; - void timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1); void py_q_timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_timerEvent(arg__1));} void triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action); int value(QAbstractSlider* theWrappedObject) const; @@ -1262,61 +1312,64 @@ void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } class PythonQtShell_QAbstractSpinBox : public QAbstractSpinBox { public: - PythonQtShell_QAbstractSpinBox(QWidget* parent = nullptr):QAbstractSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSpinBox(QWidget* parent = nullptr):QAbstractSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSpinBox : public QAbstractSpinBox @@ -1378,7 +1431,7 @@ enum StepEnabledFlag{ Q_DECLARE_FLAGS(StepEnabled, StepEnabledFlag) public slots: QAbstractSpinBox* new_QAbstractSpinBox(QWidget* parent = nullptr); -void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } +void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } Qt::Alignment alignment(QAbstractSpinBox* theWrappedObject) const; QAbstractSpinBox::ButtonSymbols buttonSymbols(QAbstractSpinBox* theWrappedObject) const; void py_q_changeEvent(QAbstractSpinBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_changeEvent(event));} @@ -1431,7 +1484,6 @@ void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } QAbstractSpinBox::StepEnabled stepEnabled(QAbstractSpinBox* theWrappedObject) const; QAbstractSpinBox::StepEnabled py_q_stepEnabled(QAbstractSpinBox* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_stepEnabled());} QString text(QAbstractSpinBox* theWrappedObject) const; - void timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_timerEvent(event));} QValidator::State validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const; QValidator::State py_q_validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_validate(input, pos));} @@ -1446,46 +1498,51 @@ void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } class PythonQtShell_QAbstractTableModel : public QAbstractTableModel { public: - PythonQtShell_QAbstractTableModel(QObject* parent = nullptr):QAbstractTableModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 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 = 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractTableModel(QObject* parent = nullptr):QAbstractTableModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTableModel : public QAbstractTableModel @@ -1501,7 +1558,7 @@ class PythonQtWrapper_QAbstractTableModel : public QObject public: public slots: QAbstractTableModel* new_QAbstractTableModel(QObject* parent = nullptr); -void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } +void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } bool py_q_dropMimeData(QAbstractTableModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} Qt::ItemFlags py_q_flags(QAbstractTableModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_flags(index));} QModelIndex py_q_index(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_index(row, column, parent));} @@ -1515,24 +1572,29 @@ void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } class PythonQtShell_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout { public: - PythonQtShell_QAbstractTextDocumentLayout(QTextDocument* doc):QAbstractTextDocumentLayout(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTextDocumentLayout(); - -virtual QRectF blockBoundingRect(const QTextBlock& block) const; -virtual void documentChanged(int from, int charsRemoved, int charsAdded); -virtual QSizeF documentSize() const; -virtual void draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context); -virtual void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); -virtual QRectF frameBoundingRect(QTextFrame* frame) const; -virtual int hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const; -virtual int pageCount() const; -virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractTextDocumentLayout(QTextDocument* doc):QAbstractTextDocumentLayout(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTextDocumentLayout() override; + +QRectF blockBoundingRect(const QTextBlock& block) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void documentChanged(int from, int charsRemoved, int charsAdded) override; +QSizeF documentSize() const override; +void draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context) override; +void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QRectF frameBoundingRect(QTextFrame* frame) const override; +int hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const override; +int pageCount() const override; +void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout @@ -1560,7 +1622,7 @@ class PythonQtWrapper_QAbstractTextDocumentLayout : public QObject public: public slots: QAbstractTextDocumentLayout* new_QAbstractTextDocumentLayout(QTextDocument* doc); -void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { delete obj; } QString anchorAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const; QRectF blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; QRectF py_q_blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} @@ -1601,12 +1663,12 @@ void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { dele class PythonQtShell_QAbstractTextDocumentLayout__PaintContext : public QAbstractTextDocumentLayout::PaintContext { public: - PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(NULL) {}; + PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(nullptr) {}; ~PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext : public QObject @@ -1618,7 +1680,7 @@ QAbstractTextDocumentLayout::PaintContext* new_QAbstractTextDocumentLayout__Pain PythonQtShell_QAbstractTextDocumentLayout__PaintContext* a = new PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); *((QAbstractTextDocumentLayout::PaintContext*)a) = other; return a; } -void delete_QAbstractTextDocumentLayout__PaintContext(QAbstractTextDocumentLayout::PaintContext* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout__PaintContext(QAbstractTextDocumentLayout::PaintContext* obj) { delete obj; } void py_set_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, QRectF clip){ theWrappedObject->clip = clip; } QRectF py_get_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->clip; } void py_set_cursorPosition(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, int cursorPosition){ theWrappedObject->cursorPosition = cursorPosition; } @@ -1634,12 +1696,12 @@ QPalette py_get_palette(QAbstractTextDocumentLayout::PaintContext* theWrappedOb class PythonQtShell_QAbstractTextDocumentLayout__Selection : public QAbstractTextDocumentLayout::Selection { public: - PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(NULL) {}; + PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(nullptr) {}; ~PythonQtShell_QAbstractTextDocumentLayout__Selection(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__Selection : public QObject @@ -1651,7 +1713,7 @@ QAbstractTextDocumentLayout::Selection* new_QAbstractTextDocumentLayout__Selecti PythonQtShell_QAbstractTextDocumentLayout__Selection* a = new PythonQtShell_QAbstractTextDocumentLayout__Selection(); *((QAbstractTextDocumentLayout::Selection*)a) = other; return a; } -void delete_QAbstractTextDocumentLayout__Selection(QAbstractTextDocumentLayout::Selection* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout__Selection(QAbstractTextDocumentLayout::Selection* obj) { delete obj; } void py_set_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } QTextCursor py_get_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject){ return theWrappedObject->cursor; } void py_set_format(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } @@ -1665,12 +1727,12 @@ QTextCharFormat py_get_format(QAbstractTextDocumentLayout::Selection* theWrappe class PythonQtShell_QAccessibleEvent : public QAccessibleEvent { public: - PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(NULL) {}; + PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(nullptr) {}; - ~PythonQtShell_QAccessibleEvent(); + ~PythonQtShell_QAccessibleEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAccessibleEvent : public QObject @@ -1678,7 +1740,7 @@ class PythonQtWrapper_QAccessibleEvent : public QObject public: public slots: QAccessibleEvent* new_QAccessibleEvent(QObject* obj, QAccessible::Event typ); -void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } +void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } int child(QAccessibleEvent* theWrappedObject) const; QObject* object(QAccessibleEvent* theWrappedObject) const; void setChild(QAccessibleEvent* theWrappedObject, int chld); @@ -1693,17 +1755,21 @@ void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } class PythonQtShell_QAction : public QAction { public: - PythonQtShell_QAction(QObject* parent = nullptr):QAction(parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr):QAction(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QString& text, QObject* parent = nullptr):QAction(text, parent),_wrapper(NULL) {}; + PythonQtShell_QAction(QObject* parent = nullptr):QAction(parent),_wrapper(nullptr) {}; + PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr):QAction(icon, text, parent),_wrapper(nullptr) {}; + PythonQtShell_QAction(const QString& text, QObject* parent = nullptr):QAction(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAction(); + ~PythonQtShell_QAction() override; -virtual bool event(QEvent* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAction : public QAction @@ -1722,14 +1788,13 @@ public slots: QAction* new_QAction(QObject* parent = nullptr); QAction* new_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr); QAction* new_QAction(const QString& text, QObject* parent = nullptr); -void delete_QAction(QAction* obj) { delete obj; } +void delete_QAction(QAction* obj) { delete obj; } QActionGroup* actionGroup(QAction* theWrappedObject) const; void activate(QAction* theWrappedObject, QAction::ActionEvent event); QList associatedGraphicsWidgets(QAction* theWrappedObject) const; QList associatedWidgets(QAction* theWrappedObject) const; bool autoRepeat(QAction* theWrappedObject) const; QVariant data(QAction* theWrappedObject) const; - bool event(QAction* theWrappedObject, QEvent* arg__1); bool py_q_event(QAction* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QAction*)theWrappedObject)->py_q_event(arg__1));} QFont font(QAction* theWrappedObject) const; QIcon icon(QAction* theWrappedObject) const; @@ -1786,7 +1851,7 @@ class PythonQtWrapper_QActionEvent : public QObject public: public slots: QActionEvent* new_QActionEvent(int type, QAction* action, QAction* before = nullptr); -void delete_QActionEvent(QActionEvent* obj) { delete obj; } +void delete_QActionEvent(QActionEvent* obj) { delete obj; } QAction* action(QActionEvent* theWrappedObject) const; QAction* before(QActionEvent* theWrappedObject) const; }; @@ -1798,14 +1863,19 @@ void delete_QActionEvent(QActionEvent* obj) { delete obj; } class PythonQtShell_QActionGroup : public QActionGroup { public: - PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QActionGroup(); + ~PythonQtShell_QActionGroup() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QActionGroup : public QObject @@ -1813,7 +1883,7 @@ class PythonQtWrapper_QActionGroup : public QObject public: public slots: QActionGroup* new_QActionGroup(QObject* parent); -void delete_QActionGroup(QActionGroup* obj) { delete obj; } +void delete_QActionGroup(QActionGroup* obj) { delete obj; } QList actions(QActionGroup* theWrappedObject) const; QAction* addAction(QActionGroup* theWrappedObject, QAction* a); QAction* addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text); @@ -1843,7 +1913,7 @@ Q_ENUMS(ColorSpec ) enum ColorSpec{ NormalColor = QApplication::NormalColor, CustomColor = QApplication::CustomColor, ManyColor = QApplication::ManyColor}; public slots: -void delete_QApplication(QApplication* obj) { delete obj; } +void delete_QApplication(QApplication* obj) { delete obj; } QWidget* static_QApplication_activeModalWidget(); QWidget* static_QApplication_activePopupWidget(); QWidget* static_QApplication_activeWindow(); @@ -1902,7 +1972,7 @@ class PythonQtWrapper_QBackingStore : public QObject public: public slots: QBackingStore* new_QBackingStore(QWindow* window); -void delete_QBackingStore(QBackingStore* obj) { delete obj; } +void delete_QBackingStore(QBackingStore* obj) { delete obj; } void beginPaint(QBackingStore* theWrappedObject, const QRegion& arg__1); void endPaint(QBackingStore* theWrappedObject); void flush(QBackingStore* theWrappedObject, const QRegion& region, QWindow* window = nullptr, const QPoint& offset = QPoint()); @@ -1923,27 +1993,39 @@ void delete_QBackingStore(QBackingStore* obj) { delete obj; } class PythonQtShell_QBoxLayout : public QBoxLayout { public: - PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr):QBoxLayout(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int arg__1) const; -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 QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr):QBoxLayout(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QBoxLayout : public QBoxLayout @@ -1971,50 +2053,41 @@ 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 = nullptr); -void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } - void addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1); +void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } void py_q_addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_addItem(arg__1));} + void addLayout(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout, int stretch = 0); void addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP spacerItem); void addSpacing(QBoxLayout* theWrappedObject, int size); void addStretch(QBoxLayout* theWrappedObject, int stretch = 0); void addStrut(QBoxLayout* theWrappedObject, int arg__1); void addWidget(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int stretch = 0, Qt::Alignment alignment = Qt::Alignment()); - int count(QBoxLayout* theWrappedObject) const; int py_q_count(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_count());} QBoxLayout::Direction direction(QBoxLayout* theWrappedObject) const; - Qt::Orientations expandingDirections(QBoxLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QBoxLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} void insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2); + void insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch = 0); void insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP spacerItem); void insertSpacing(QBoxLayout* theWrappedObject, int index, int size); void insertStretch(QBoxLayout* theWrappedObject, int index, int stretch = 0); void insertWidget(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, int stretch = 0, Qt::Alignment alignment = Qt::Alignment()); - void invalidate(QBoxLayout* theWrappedObject); void py_q_invalidate(QBoxLayout* theWrappedObject){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QBoxLayout* theWrappedObject, int arg__1) const; QLayoutItem* py_q_itemAt(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_itemAt(arg__1));} - QSize maximumSize(QBoxLayout* theWrappedObject) const; QSize py_q_maximumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} - QSize minimumSize(QBoxLayout* theWrappedObject) const; QSize py_q_minimumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumSize());} void setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1); - void setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1); void py_q_setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_setGeometry(arg__1));} void setSpacing(QBoxLayout* theWrappedObject, int spacing); void setStretch(QBoxLayout* theWrappedObject, int index, int stretch); + bool setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch); bool setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch); - QSize sizeHint(QBoxLayout* theWrappedObject) const; QSize py_q_sizeHint(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QBoxLayout* theWrappedObject) const; int stretch(QBoxLayout* theWrappedObject, int index) const; - QLayoutItem* takeAt(QBoxLayout* theWrappedObject, int arg__1); QLayoutItem* py_q_takeAt(QBoxLayout* theWrappedObject, int arg__1){ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_takeAt(arg__1));} + bool __nonzero__(QBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -2024,14 +2097,19 @@ void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } class PythonQtShell_QButtonGroup : public QButtonGroup { public: - PythonQtShell_QButtonGroup(QObject* parent = nullptr):QButtonGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QButtonGroup(QObject* parent = nullptr):QButtonGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QButtonGroup(); + ~PythonQtShell_QButtonGroup() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QButtonGroup : public QObject @@ -2039,7 +2117,7 @@ class PythonQtWrapper_QButtonGroup : public QObject public: public slots: QButtonGroup* new_QButtonGroup(QObject* parent = nullptr); -void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } +void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } void addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id = -1); QAbstractButton* button(QButtonGroup* theWrappedObject, int id) const; QList buttons(QButtonGroup* theWrappedObject) const; @@ -2059,57 +2137,60 @@ void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } class PythonQtShell_QCalendarWidget : public QCalendarWidget { public: - PythonQtShell_QCalendarWidget(QWidget* parent = nullptr):QCalendarWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCalendarWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCalendarWidget(QWidget* parent = nullptr):QCalendarWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCalendarWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCalendarWidget : public QCalendarWidget @@ -2137,12 +2218,11 @@ class PythonQtWrapper_QCalendarWidget : public QObject public: public slots: QCalendarWidget* new_QCalendarWidget(QWidget* parent = nullptr); -void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } +void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } int dateEditAcceptDelay(QCalendarWidget* theWrappedObject) const; QMap dateTextFormat(QCalendarWidget* theWrappedObject) const; QTextCharFormat dateTextFormat(QCalendarWidget* theWrappedObject, const QDate& date) const; bool py_q_event(QCalendarWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_event(event));} - bool eventFilter(QCalendarWidget* theWrappedObject, QObject* watched, QEvent* event); bool py_q_eventFilter(QCalendarWidget* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->py_q_eventFilter(watched, event));} Qt::DayOfWeek firstDayOfWeek(QCalendarWidget* theWrappedObject) const; QTextCharFormat headerTextFormat(QCalendarWidget* theWrappedObject) const; @@ -2187,60 +2267,63 @@ void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } class PythonQtShell_QCheckBox : public QCheckBox { public: - PythonQtShell_QCheckBox(QWidget* parent = nullptr):QCheckBox(parent),_wrapper(NULL) {}; - PythonQtShell_QCheckBox(const QString& text, QWidget* parent = nullptr):QCheckBox(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCheckBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCheckBox(QWidget* parent = nullptr):QCheckBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QCheckBox(const QString& text, QWidget* parent = nullptr):QCheckBox(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCheckBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCheckBox : public QCheckBox @@ -2268,7 +2351,7 @@ class PythonQtWrapper_QCheckBox : public QObject public slots: QCheckBox* new_QCheckBox(QWidget* parent = nullptr); QCheckBox* new_QCheckBox(const QString& text, QWidget* parent = nullptr); -void delete_QCheckBox(QCheckBox* obj) { delete obj; } +void delete_QCheckBox(QCheckBox* obj) { delete obj; } Qt::CheckState checkState(QCheckBox* theWrappedObject) const; void py_q_checkStateSet(QCheckBox* theWrappedObject){ (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_checkStateSet());} bool py_q_event(QCheckBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_event(e));} @@ -2290,12 +2373,40 @@ void delete_QCheckBox(QCheckBox* obj) { delete obj; } +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: + void clear(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard); + QImage image(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; + const QMimeData* mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; + bool ownsClipboard(QClipboard* theWrappedObject) const; + bool ownsFindBuffer(QClipboard* theWrappedObject) const; + bool ownsSelection(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); + void setMimeData(QClipboard* theWrappedObject, PythonQtPassOwnershipToCPP data, QClipboard::Mode mode = QClipboard::Clipboard); + void setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); + void setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode = QClipboard::Clipboard); + bool supportsFindBuffer(QClipboard* theWrappedObject) const; + bool supportsSelection(QClipboard* theWrappedObject) const; + QString text(QClipboard* theWrappedObject, QClipboard::Mode mode = QClipboard::Clipboard) const; + QString text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode = QClipboard::Clipboard) const; +}; + + + + + class PythonQtWrapper_QCloseEvent : public QObject { Q_OBJECT public: public slots: QCloseEvent* new_QCloseEvent(); -void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } +void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } }; @@ -2305,61 +2416,64 @@ void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } class PythonQtShell_QColorDialog : public QColorDialog { public: - PythonQtShell_QColorDialog(QWidget* parent = nullptr):QColorDialog(parent),_wrapper(NULL) {}; - PythonQtShell_QColorDialog(const QColor& initial, QWidget* parent = nullptr):QColorDialog(initial, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QColorDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QColorDialog(QWidget* parent = nullptr):QColorDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QColorDialog(const QColor& initial, QWidget* parent = nullptr):QColorDialog(initial, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QColorDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColorDialog : public QColorDialog @@ -2382,7 +2496,7 @@ Q_DECLARE_FLAGS(ColorDialogOptions, ColorDialogOption) public slots: QColorDialog* new_QColorDialog(QWidget* parent = nullptr); QColorDialog* new_QColorDialog(const QColor& initial, QWidget* parent = nullptr); -void delete_QColorDialog(QColorDialog* obj) { delete obj; } +void delete_QColorDialog(QColorDialog* obj) { delete obj; } void py_q_changeEvent(QColorDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->py_q_changeEvent(event));} QColor currentColor(QColorDialog* theWrappedObject) const; QColor static_QColorDialog_customColor(int index); @@ -2410,100 +2524,102 @@ void delete_QColorDialog(QColorDialog* obj) { delete obj; } class PythonQtShell_QColumnView : public QColumnView { public: - PythonQtShell_QColumnView(QWidget* parent = nullptr):QColumnView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QColumnView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -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 dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) 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 = 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 = nullptr) 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 setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QColumnView(QWidget* parent = nullptr):QColumnView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QColumnView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +QAbstractItemView* createColumn(const QModelIndex& rootIndex) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& point) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColumnView : public QColumnView @@ -2546,7 +2662,7 @@ class PythonQtWrapper_QColumnView : public QObject public: public slots: QColumnView* new_QColumnView(QWidget* parent = nullptr); -void delete_QColumnView(QColumnView* obj) { delete obj; } +void delete_QColumnView(QColumnView* obj) { delete obj; } QList columnWidths(QColumnView* theWrappedObject) const; QAbstractItemView* createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex); QAbstractItemView* py_q_createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex){ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_createColumn(rootIndex));} @@ -2583,57 +2699,61 @@ void delete_QColumnView(QColumnView* obj) { delete obj; } class PythonQtShell_QComboBox : public QComboBox { public: - PythonQtShell_QComboBox(QWidget* parent = nullptr):QComboBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QComboBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QComboBox(QWidget* parent = nullptr):QComboBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QComboBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* e) override; +void hidePopup() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +void showPopup() override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QComboBox : public QComboBox @@ -2680,7 +2800,7 @@ class PythonQtWrapper_QComboBox : public QObject public: public slots: QComboBox* new_QComboBox(QWidget* parent = nullptr); -void delete_QComboBox(QComboBox* obj) { delete obj; } +void delete_QComboBox(QComboBox* obj) { delete obj; } void addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); void addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData = QVariant()); void addItems(QComboBox* theWrappedObject, const QStringList& texts); @@ -2772,61 +2892,64 @@ void delete_QComboBox(QComboBox* obj) { delete obj; } class PythonQtShell_QCommandLinkButton : public QCommandLinkButton { public: - PythonQtShell_QCommandLinkButton(QWidget* parent = nullptr):QCommandLinkButton(parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, QWidget* parent = nullptr):QCommandLinkButton(text, parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = nullptr):QCommandLinkButton(text, description, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCommandLinkButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCommandLinkButton(QWidget* parent = nullptr):QCommandLinkButton(parent),_wrapper(nullptr) {}; + PythonQtShell_QCommandLinkButton(const QString& text, QWidget* parent = nullptr):QCommandLinkButton(text, parent),_wrapper(nullptr) {}; + PythonQtShell_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = nullptr):QCommandLinkButton(text, description, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCommandLinkButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCommandLinkButton : public QCommandLinkButton @@ -2850,7 +2973,7 @@ public slots: QCommandLinkButton* new_QCommandLinkButton(QWidget* parent = nullptr); QCommandLinkButton* new_QCommandLinkButton(const QString& text, QWidget* parent = nullptr); QCommandLinkButton* new_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = nullptr); -void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } +void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } QString description(QCommandLinkButton* theWrappedObject) const; bool py_q_event(QCommandLinkButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->py_q_event(e));} int py_q_heightForWidth(QCommandLinkButton* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QCommandLinkButton*)theWrappedObject)->py_q_heightForWidth(arg__1));} @@ -2867,36 +2990,41 @@ void delete_QCommandLinkButton(QCommandLinkButton* obj) { delete obj; } class PythonQtShell_QCommonStyle : public QCommonStyle { public: - PythonQtShell_QCommonStyle():QCommonStyle(),_wrapper(NULL) {}; - - ~PythonQtShell_QCommonStyle(); - -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) 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 = nullptr) const; -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 = nullptr) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual int pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual void polish(QApplication* app); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* widget); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = nullptr) const; -virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual int styleHint(QStyle::StyleHint sh, const QStyleOption* opt = nullptr, const QWidget* w = nullptr, QStyleHintReturn* shret = nullptr) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = nullptr) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = nullptr) const; -virtual void unpolish(QApplication* application); -virtual void unpolish(QWidget* widget); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCommonStyle():QCommonStyle(),_wrapper(nullptr) {}; + + ~PythonQtShell_QCommonStyle() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const override; +void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const override; +void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const override; +void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const override; +void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const override; +QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = nullptr) const override; +QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const override; +int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +int pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const override; +void polish(QApplication* app) override; +void polish(QPalette& arg__1) override; +void polish(QWidget* widget) override; +QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = nullptr) const override; +QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const override; +QPalette standardPalette() const override; +QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const override; +int styleHint(QStyle::StyleHint sh, const QStyleOption* opt = nullptr, const QWidget* w = nullptr, QStyleHintReturn* shret = nullptr) const override; +QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = nullptr) const override; +QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = nullptr) const override; +void timerEvent(QTimerEvent* event) override; +void unpolish(QApplication* application) override; +void unpolish(QWidget* widget) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCommonStyle : public QCommonStyle @@ -2926,7 +3054,7 @@ class PythonQtWrapper_QCommonStyle : public QObject public: public slots: QCommonStyle* new_QCommonStyle(); -void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } +void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } void py_q_drawComplexControl(QCommonStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_drawComplexControl(cc, opt, p, w));} void py_q_drawControl(QCommonStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_drawControl(element, opt, p, w));} void py_q_drawPrimitive(QCommonStyle* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const{ (((PythonQtPublicPromoter_QCommonStyle*)theWrappedObject)->py_q_drawPrimitive(pe, opt, p, w));} @@ -2948,82 +3076,3 @@ void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } }; - - - -class PythonQtShell_QCompleter : public QCompleter -{ -public: - PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr):QCompleter(model, parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(QObject* parent = nullptr):QCompleter(parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = nullptr):QCompleter(completions, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCompleter(); - -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; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCompleter : public QCompleter -{ public: -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_eventFilter(QObject* o, QEvent* e) { return this->eventFilter(o, e); } -inline bool py_q_event(QEvent* arg__1) { return QCompleter::event(arg__1); } -inline bool py_q_eventFilter(QObject* o, QEvent* e) { return QCompleter::eventFilter(o, e); } -inline QString py_q_pathFromIndex(const QModelIndex& index) const { return QCompleter::pathFromIndex(index); } -inline QStringList py_q_splitPath(const QString& path) const { return QCompleter::splitPath(path); } -}; - -class PythonQtWrapper_QCompleter : public QObject -{ Q_OBJECT -public: -public slots: -QCompleter* new_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr); -QCompleter* new_QCompleter(QObject* parent = nullptr); -QCompleter* new_QCompleter(const QStringList& completions, QObject* parent = nullptr); -void delete_QCompleter(QCompleter* obj) { delete obj; } - Qt::CaseSensitivity caseSensitivity(QCompleter* theWrappedObject) const; - int completionColumn(QCompleter* theWrappedObject) const; - int completionCount(QCompleter* theWrappedObject) const; - QCompleter::CompletionMode completionMode(QCompleter* theWrappedObject) const; - QAbstractItemModel* completionModel(QCompleter* theWrappedObject) const; - QString completionPrefix(QCompleter* theWrappedObject) const; - int completionRole(QCompleter* theWrappedObject) const; - QString currentCompletion(QCompleter* theWrappedObject) const; - QModelIndex currentIndex(QCompleter* theWrappedObject) const; - int currentRow(QCompleter* theWrappedObject) const; - bool event(QCompleter* theWrappedObject, QEvent* arg__1); - bool py_q_event(QCompleter* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_event(arg__1));} - bool eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e); - bool py_q_eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_eventFilter(o, e));} - Qt::MatchFlags filterMode(QCompleter* theWrappedObject) const; - int maxVisibleItems(QCompleter* theWrappedObject) const; - QAbstractItemModel* model(QCompleter* theWrappedObject) const; - QCompleter::ModelSorting modelSorting(QCompleter* theWrappedObject) const; - QString pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const; - QString py_q_pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_pathFromIndex(index));} - QAbstractItemView* popup(QCompleter* theWrappedObject) const; - void setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity); - void setCompletionColumn(QCompleter* theWrappedObject, int column); - void setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode); - void setCompletionRole(QCompleter* theWrappedObject, int role); - bool setCurrentRow(QCompleter* theWrappedObject, int row); - void setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode); - void setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems); - void setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c); - void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); - void setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup); - void setWidget(QCompleter* theWrappedObject, QWidget* widget); - QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; - QStringList py_q_splitPath(QCompleter* theWrappedObject, const QString& path) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_splitPath(path));} - QWidget* widget(QCompleter* theWrappedObject) const; - bool wrapAround(QCompleter* theWrappedObject) const; -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp similarity index 80% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index f27c01d0..3160ebf5 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -16,48 +15,436 @@ #include #include #include +#include #include +#include #include #include +#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include -#include #include -#include -#include -#include +#include +#include #include +#include #include #include +#include +#include +#include #include +#include +#include #include +#include #include +#include #include #include #include -#include +#include +#include +#include #include #include -#include +#include +#include +#include +#include +#include #include #include +#include #include #include +#include #include #include +PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCompleter::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCompleter::childEvent(event0); +} +void PythonQtShell_QCompleter::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCompleter::customEvent(event0); +} +bool PythonQtShell_QCompleter::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::event(arg__1); +} +bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&o0, (void*)&e1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::eventFilter(o0, e1); +} +QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pathFromIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::pathFromIndex(index0); +} +QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("splitPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStringList returnValue{}; + void* args[2] = {nullptr, (void*)&path0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::splitPath(path0); +} +void PythonQtShell_QCompleter::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCompleter::timerEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QCompleter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCompleter::staticMetaObject); + } else { + return &QCompleter::staticMetaObject; + } +} +int PythonQtShell_QCompleter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCompleter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::CaseSensitivity PythonQtWrapper_QCompleter::caseSensitivity(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +int PythonQtWrapper_QCompleter::completionColumn(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionColumn()); +} + +int PythonQtWrapper_QCompleter::completionCount(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionCount()); +} + +QCompleter::CompletionMode PythonQtWrapper_QCompleter::completionMode(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionMode()); +} + +QAbstractItemModel* PythonQtWrapper_QCompleter::completionModel(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionModel()); +} + +QString PythonQtWrapper_QCompleter::completionPrefix(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionPrefix()); +} + +int PythonQtWrapper_QCompleter::completionRole(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionRole()); +} + +QString PythonQtWrapper_QCompleter::currentCompletion(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentCompletion()); +} + +QModelIndex PythonQtWrapper_QCompleter::currentIndex(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +int PythonQtWrapper_QCompleter::currentRow(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentRow()); +} + +Qt::MatchFlags PythonQtWrapper_QCompleter::filterMode(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->filterMode()); +} + +int PythonQtWrapper_QCompleter::maxVisibleItems(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->maxVisibleItems()); +} + +QAbstractItemModel* PythonQtWrapper_QCompleter::model(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QCompleter::ModelSorting PythonQtWrapper_QCompleter::modelSorting(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->modelSorting()); +} + +QString PythonQtWrapper_QCompleter::pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->pathFromIndex(index)); +} + +QAbstractItemView* PythonQtWrapper_QCompleter::popup(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->popup()); +} + +void PythonQtWrapper_QCompleter::setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity) +{ + ( theWrappedObject->setCaseSensitivity(caseSensitivity)); +} + +void PythonQtWrapper_QCompleter::setCompletionColumn(QCompleter* theWrappedObject, int column) +{ + ( theWrappedObject->setCompletionColumn(column)); +} + +void PythonQtWrapper_QCompleter::setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode) +{ + ( theWrappedObject->setCompletionMode(mode)); +} + +void PythonQtWrapper_QCompleter::setCompletionRole(QCompleter* theWrappedObject, int role) +{ + ( theWrappedObject->setCompletionRole(role)); +} + +bool PythonQtWrapper_QCompleter::setCurrentRow(QCompleter* theWrappedObject, int row) +{ + return ( theWrappedObject->setCurrentRow(row)); +} + +void PythonQtWrapper_QCompleter::setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode) +{ + ( theWrappedObject->setFilterMode(filterMode)); +} + +void PythonQtWrapper_QCompleter::setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems) +{ + ( theWrappedObject->setMaxVisibleItems(maxItems)); +} + +void PythonQtWrapper_QCompleter::setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c) +{ + ( theWrappedObject->setModel(c)); +} + +void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) +{ + ( theWrappedObject->setModelSorting(sorting)); +} + +void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup) +{ + ( theWrappedObject->setPopup(popup)); +} + +void PythonQtWrapper_QCompleter::setWidget(QCompleter* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QStringList PythonQtWrapper_QCompleter::splitPath(QCompleter* theWrappedObject, const QString& path) const +{ + return ( theWrappedObject->splitPath(path)); +} + +QWidget* PythonQtWrapper_QCompleter::widget(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +bool PythonQtWrapper_QCompleter::wrapAround(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->wrapAround()); +} + + + QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient() { return new QConicalGradient(); } @@ -154,6 +541,116 @@ PythonQtShell_QDataWidgetMapper::~PythonQtShell_QDataWidgetMapper() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QDataWidgetMapper::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDataWidgetMapper::childEvent(event0); +} +void PythonQtShell_QDataWidgetMapper::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDataWidgetMapper::customEvent(event0); +} +bool PythonQtShell_QDataWidgetMapper::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDataWidgetMapper::event(event0); +} +bool PythonQtShell_QDataWidgetMapper::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDataWidgetMapper::eventFilter(watched0, event1); +} void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) { if (_wrapper) { @@ -164,9 +661,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -176,6 +673,28 @@ if (_wrapper) { } QDataWidgetMapper::setCurrentIndex(index0); } +void PythonQtShell_QDataWidgetMapper::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDataWidgetMapper::timerEvent(event0); +} QDataWidgetMapper* PythonQtWrapper_QDataWidgetMapper::new_QDataWidgetMapper(QObject* parent) { return new PythonQtShell_QDataWidgetMapper(parent); } @@ -299,9 +818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -321,9 +840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -333,6 +852,28 @@ if (_wrapper) { } QDateEdit::changeEvent(event0); } +void PythonQtShell_QDateEdit::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateEdit::childEvent(event0); +} void PythonQtShell_QDateEdit::clear() { if (_wrapper) { @@ -343,9 +884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -365,9 +906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -387,9 +928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -399,6 +940,28 @@ if (_wrapper) { } QDateEdit::contextMenuEvent(event0); } +void PythonQtShell_QDateEdit::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateEdit::customEvent(event0); +} QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) const { if (_wrapper) { @@ -410,19 +973,19 @@ if (_wrapper) { static const char* argumentList[] ={"QDateTime" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QDateTime returnValue{}; - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); } else { returnValue = *((QDateTime*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -443,19 +1006,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -475,9 +1038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -497,9 +1060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -519,9 +1082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -541,9 +1104,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -563,9 +1126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -586,19 +1149,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -608,6 +1171,39 @@ if (_wrapper) { } return QDateEdit::event(event0); } +bool PythonQtShell_QDateEdit::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateEdit::eventFilter(watched0, event1); +} void PythonQtShell_QDateEdit::fixup(QString& input0) const { if (_wrapper) { @@ -618,9 +1214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -640,9 +1236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -663,19 +1259,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -695,9 +1291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -718,19 +1314,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -751,19 +1347,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -783,9 +1379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -805,9 +1401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -827,9 +1423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -850,19 +1446,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -882,9 +1478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -904,9 +1500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -926,9 +1522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -949,19 +1545,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -982,19 +1578,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1014,9 +1610,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1036,9 +1632,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1058,9 +1654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1080,9 +1676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1102,9 +1698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1125,19 +1721,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1158,19 +1754,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1190,9 +1786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1213,19 +1809,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1245,9 +1841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1267,9 +1863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1290,19 +1886,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1322,9 +1918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1345,19 +1941,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1377,9 +1973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1400,19 +1996,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractSpinBox::StepEnabled returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1432,9 +2028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1455,19 +2051,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QDateTime&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&dt0}; + void* args[2] = {nullptr, (void*)&dt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1487,9 +2083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1510,19 +2106,19 @@ if (_wrapper) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QValidator::State returnValue{}; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1542,9 +2138,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1591,9 +2187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1613,9 +2209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1625,6 +2221,28 @@ if (_wrapper) { } QDateTimeEdit::changeEvent(event0); } +void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateTimeEdit::childEvent(event0); +} void PythonQtShell_QDateTimeEdit::clear() { if (_wrapper) { @@ -1635,9 +2253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1657,9 +2275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1679,9 +2297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1691,6 +2309,28 @@ if (_wrapper) { } QDateTimeEdit::contextMenuEvent(event0); } +void PythonQtShell_QDateTimeEdit::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDateTimeEdit::customEvent(event0); +} QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const { if (_wrapper) { @@ -1702,19 +2342,19 @@ if (_wrapper) { static const char* argumentList[] ={"QDateTime" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QDateTime returnValue{}; - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); } else { returnValue = *((QDateTime*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1735,19 +2375,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1767,9 +2407,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1789,9 +2429,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1811,9 +2451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1833,9 +2473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1855,9 +2495,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1878,19 +2518,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1900,6 +2540,39 @@ if (_wrapper) { } return QDateTimeEdit::event(event0); } +bool PythonQtShell_QDateTimeEdit::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDateTimeEdit::eventFilter(watched0, event1); +} void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const { if (_wrapper) { @@ -1910,9 +2583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1932,9 +2605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1955,19 +2628,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1987,9 +2660,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2010,19 +2683,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2043,19 +2716,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2075,9 +2748,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2097,9 +2770,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2119,9 +2792,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2142,19 +2815,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2174,9 +2847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2196,9 +2869,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2218,9 +2891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2241,19 +2914,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2274,19 +2947,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2306,9 +2979,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2328,9 +3001,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2350,9 +3023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2372,9 +3045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2394,9 +3067,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2417,19 +3090,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2450,19 +3123,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2482,9 +3155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2505,19 +3178,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2537,9 +3210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2559,9 +3232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2582,19 +3255,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2614,9 +3287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2637,19 +3310,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2669,9 +3342,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2692,19 +3365,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractSpinBox::StepEnabled returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2724,9 +3397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2747,19 +3420,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QDateTime&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&dt0}; + void* args[2] = {nullptr, (void*)&dt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2779,9 +3452,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2802,19 +3475,19 @@ if (_wrapper) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QValidator::State returnValue{}; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2834,9 +3507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2862,6 +3535,10 @@ QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QTime& t, { return new PythonQtShell_QDateTimeEdit(t, parent); } +QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QVariant& val, QMetaType::Type parserType, QWidget* parent) +{ +return new PythonQtShell_QDateTimeEdit(val, parserType, parent); } + QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent) { return new PythonQtShell_QDateTimeEdit(val, parserType, parent); } @@ -3140,9 +3817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3162,9 +3839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3174,6 +3851,28 @@ if (_wrapper) { } QDesktopWidget::changeEvent(arg__1); } +void PythonQtShell_QDesktopWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDesktopWidget::childEvent(event0); +} void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -3184,9 +3883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3206,9 +3905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3218,6 +3917,28 @@ if (_wrapper) { } QDesktopWidget::contextMenuEvent(event0); } +void PythonQtShell_QDesktopWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDesktopWidget::customEvent(event0); +} int PythonQtShell_QDesktopWidget::devType() const { if (_wrapper) { @@ -3229,19 +3950,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3261,9 +3982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3283,9 +4004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3305,9 +4026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3327,9 +4048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3349,9 +4070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3372,19 +4093,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3394,6 +4115,39 @@ if (_wrapper) { } return QDesktopWidget::event(event0); } +bool PythonQtShell_QDesktopWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDesktopWidget::eventFilter(watched0, event1); +} void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -3404,9 +4158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3427,19 +4181,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3459,9 +4213,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3482,19 +4236,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3515,19 +4269,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3547,9 +4301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3569,9 +4323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3591,9 +4345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3614,19 +4368,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3646,9 +4400,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3668,9 +4422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3690,9 +4444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3713,19 +4467,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3746,19 +4500,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3778,9 +4532,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3800,9 +4554,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3822,9 +4576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3844,9 +4598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3866,9 +4620,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3889,19 +4643,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3922,19 +4676,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3954,9 +4708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3977,19 +4731,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4009,9 +4763,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4031,9 +4785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4054,19 +4808,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4086,9 +4840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4109,19 +4863,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4141,9 +4895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4153,6 +4907,28 @@ if (_wrapper) { } QDesktopWidget::tabletEvent(event0); } +void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDesktopWidget::timerEvent(event0); +} void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -4163,9 +4939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4273,9 +5049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4295,9 +5071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4307,6 +5083,28 @@ if (_wrapper) { } QDial::changeEvent(e0); } +void PythonQtShell_QDial::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::childEvent(event0); +} void PythonQtShell_QDial::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -4317,9 +5115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4339,9 +5137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4351,6 +5149,28 @@ if (_wrapper) { } QDial::contextMenuEvent(event0); } +void PythonQtShell_QDial::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::customEvent(event0); +} int PythonQtShell_QDial::devType() const { if (_wrapper) { @@ -4362,19 +5182,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4394,9 +5214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4416,9 +5236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4438,9 +5258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4460,9 +5280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4482,42 +5302,75 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDial::enterEvent(event0); +} +bool PythonQtShell_QDial::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDial::enterEvent(event0); + return QDial::event(e0); } -bool PythonQtShell_QDial::event(QEvent* e0) +bool PythonQtShell_QDial::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4525,7 +5378,7 @@ if (_wrapper) { } } } - return QDial::event(e0); + return QDial::eventFilter(watched0, event1); } void PythonQtShell_QDial::focusInEvent(QFocusEvent* event0) { @@ -4537,9 +5390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4560,19 +5413,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4592,9 +5445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4615,19 +5468,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4648,19 +5501,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4680,9 +5533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4702,9 +5555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4724,9 +5577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4747,19 +5600,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4779,9 +5632,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4801,9 +5654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4823,9 +5676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4846,19 +5699,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4879,19 +5732,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4911,9 +5764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4933,9 +5786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4955,9 +5808,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4977,9 +5830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4999,9 +5852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5022,19 +5875,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5055,19 +5908,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5087,9 +5940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pe0}; + void* args[2] = {nullptr, (void*)&pe0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5110,19 +5963,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5142,9 +5995,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&re0}; + void* args[2] = {nullptr, (void*)&re0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5164,9 +6017,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5187,19 +6040,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5219,9 +6072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5242,19 +6095,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5274,9 +6127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5296,9 +6149,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5318,9 +6171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5340,9 +6193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5425,9 +6278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5447,9 +6300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5469,9 +6322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5481,6 +6334,28 @@ if (_wrapper) { } QDialog::changeEvent(arg__1); } +void PythonQtShell_QDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::childEvent(event0); +} void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { @@ -5491,9 +6366,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5513,9 +6388,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5525,6 +6400,28 @@ if (_wrapper) { } QDialog::contextMenuEvent(arg__1); } +void PythonQtShell_QDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::customEvent(event0); +} int PythonQtShell_QDialog::devType() const { if (_wrapper) { @@ -5536,19 +6433,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5568,9 +6465,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5590,9 +6487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5612,9 +6509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5634,9 +6531,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5656,9 +6553,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5678,9 +6575,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5701,19 +6598,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5734,19 +6631,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5767,19 +6664,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5799,9 +6696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5822,19 +6719,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5854,9 +6751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5877,19 +6774,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5910,19 +6807,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5942,9 +6839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5964,9 +6861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5986,9 +6883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6009,19 +6906,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6041,9 +6938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6063,9 +6960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6085,9 +6982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6108,19 +7005,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6141,19 +7038,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6173,9 +7070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6195,9 +7092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6217,9 +7114,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6239,9 +7136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6261,9 +7158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6284,19 +7181,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6316,9 +7213,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6339,19 +7236,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6371,9 +7268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6394,19 +7291,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6426,9 +7323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6448,9 +7345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6470,9 +7367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6493,19 +7390,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6525,9 +7422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6548,19 +7445,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6580,9 +7477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6592,6 +7489,28 @@ if (_wrapper) { } QDialog::tabletEvent(event0); } +void PythonQtShell_QDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialog::timerEvent(event0); +} void PythonQtShell_QDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -6602,9 +7521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6636,11 +7555,6 @@ void PythonQtWrapper_QDialog::adjustPosition(QDialog* theWrappedObject, QWidget* ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_adjustPosition(arg__1)); } -bool PythonQtWrapper_QDialog::eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - bool PythonQtWrapper_QDialog::isSizeGripEnabled(QDialog* theWrappedObject) const { return ( theWrappedObject->isSizeGripEnabled()); @@ -6692,9 +7606,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6714,9 +7628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6726,6 +7640,28 @@ if (_wrapper) { } QDialogButtonBox::changeEvent(event0); } +void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialogButtonBox::childEvent(event0); +} void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -6736,9 +7672,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6758,9 +7694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6770,6 +7706,28 @@ if (_wrapper) { } QDialogButtonBox::contextMenuEvent(event0); } +void PythonQtShell_QDialogButtonBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialogButtonBox::customEvent(event0); +} int PythonQtShell_QDialogButtonBox::devType() const { if (_wrapper) { @@ -6781,19 +7739,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6813,9 +7771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6835,9 +7793,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6857,9 +7815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6879,9 +7837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6901,9 +7859,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6924,19 +7882,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6946,6 +7904,39 @@ if (_wrapper) { } return QDialogButtonBox::event(event0); } +bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDialogButtonBox::eventFilter(watched0, event1); +} void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -6956,9 +7947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6979,19 +7970,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7011,9 +8002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7034,19 +8025,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7067,19 +8058,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7099,9 +8090,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7121,9 +8112,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7143,9 +8134,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7166,19 +8157,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7198,9 +8189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7220,9 +8211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7242,9 +8233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7265,19 +8256,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7298,19 +8289,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7330,9 +8321,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7352,9 +8343,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7374,9 +8365,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7396,9 +8387,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7418,9 +8409,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7441,19 +8432,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7474,19 +8465,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7506,9 +8497,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7529,19 +8520,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7561,9 +8552,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7583,9 +8574,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7606,19 +8597,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7638,9 +8629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7661,19 +8652,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7693,9 +8684,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7705,6 +8696,28 @@ if (_wrapper) { } QDialogButtonBox::tabletEvent(event0); } +void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDialogButtonBox::timerEvent(event0); +} void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -7715,9 +8728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7848,19 +8861,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7881,19 +8894,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7914,19 +8927,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7936,6 +8949,28 @@ if (_wrapper) { } return QDirModel::canFetchMore(parent0); } +void PythonQtShell_QDirModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDirModel::childEvent(event0); +} int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { @@ -7947,19 +8982,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7969,6 +9004,28 @@ if (_wrapper) { } return QDirModel::columnCount(parent0); } +void PythonQtShell_QDirModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDirModel::customEvent(event0); +} QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) const { if (_wrapper) { @@ -7980,19 +9037,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8013,19 +9070,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8035,6 +9092,72 @@ if (_wrapper) { } return QDirModel::dropMimeData(data0, action1, row2, column3, parent4); } +bool PythonQtShell_QDirModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::event(event0); +} +bool PythonQtShell_QDirModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::eventFilter(watched0, event1); +} void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -8045,9 +9168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8068,19 +9191,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8101,19 +9224,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8134,19 +9257,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8167,19 +9290,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8200,19 +9323,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8233,19 +9356,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8266,19 +9389,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8299,19 +9422,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8332,19 +9455,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8365,19 +9488,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8398,19 +9521,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8431,19 +9554,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8464,19 +9587,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8497,19 +9620,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8530,19 +9653,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8562,9 +9685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8585,19 +9708,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8618,19 +9741,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8651,19 +9774,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8684,19 +9807,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8717,19 +9840,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8750,19 +9873,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8782,9 +9905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8805,19 +9928,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8838,19 +9961,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8871,19 +9994,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8904,27 +10027,49 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDirModel::supportedDropActions(); +} +void PythonQtShell_QDirModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::supportedDropActions(); + QDirModel::timerEvent(event0); } QDirModel* PythonQtWrapper_QDirModel::new_QDirModel(QObject* parent) { @@ -9078,9 +10223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9100,9 +10245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9112,6 +10257,28 @@ if (_wrapper) { } QDockWidget::changeEvent(event0); } +void PythonQtShell_QDockWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDockWidget::childEvent(event0); +} void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -9122,9 +10289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9144,9 +10311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9156,6 +10323,28 @@ if (_wrapper) { } QDockWidget::contextMenuEvent(event0); } +void PythonQtShell_QDockWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDockWidget::customEvent(event0); +} int PythonQtShell_QDockWidget::devType() const { if (_wrapper) { @@ -9167,19 +10356,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9199,9 +10388,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9221,9 +10410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9243,9 +10432,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9265,9 +10454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9287,9 +10476,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9310,19 +10499,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9332,6 +10521,39 @@ if (_wrapper) { } return QDockWidget::event(event0); } +bool PythonQtShell_QDockWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDockWidget::eventFilter(watched0, event1); +} void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -9342,9 +10564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9365,19 +10587,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9397,9 +10619,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9420,19 +10642,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9453,19 +10675,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9485,9 +10707,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9507,9 +10729,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9529,9 +10751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9552,19 +10774,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9584,9 +10806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9606,9 +10828,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9628,9 +10850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9651,19 +10873,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9684,19 +10906,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9716,9 +10938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9738,9 +10960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9760,9 +10982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9782,9 +11004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9804,9 +11026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9827,19 +11049,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9860,19 +11082,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9892,9 +11114,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9915,19 +11137,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9947,9 +11169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9969,9 +11191,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9992,19 +11214,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10024,9 +11246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10047,19 +11269,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10079,9 +11301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10091,6 +11313,28 @@ if (_wrapper) { } QDockWidget::tabletEvent(event0); } +void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDockWidget::timerEvent(event0); +} void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -10101,9 +11345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10215,9 +11459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10237,9 +11481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10249,6 +11493,28 @@ if (_wrapper) { } QDoubleSpinBox::changeEvent(event0); } +void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleSpinBox::childEvent(event0); +} void PythonQtShell_QDoubleSpinBox::clear() { if (_wrapper) { @@ -10259,9 +11525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10281,9 +11547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10303,9 +11569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10315,6 +11581,28 @@ if (_wrapper) { } QDoubleSpinBox::contextMenuEvent(event0); } +void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleSpinBox::customEvent(event0); +} int PythonQtShell_QDoubleSpinBox::devType() const { if (_wrapper) { @@ -10326,19 +11614,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10358,9 +11646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10380,9 +11668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10402,9 +11690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10424,9 +11712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10446,9 +11734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10469,19 +11757,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10491,6 +11779,39 @@ if (_wrapper) { } return QDoubleSpinBox::event(event0); } +bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleSpinBox::eventFilter(watched0, event1); +} void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { if (_wrapper) { @@ -10501,9 +11822,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str0}; + void* args[2] = {nullptr, (void*)&str0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10523,9 +11844,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10546,19 +11867,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10578,9 +11899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10601,19 +11922,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10634,19 +11955,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10666,9 +11987,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10688,9 +12009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10710,9 +12031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10733,19 +12054,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10765,9 +12086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10787,9 +12108,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10809,9 +12130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10832,19 +12153,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10865,19 +12186,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10897,9 +12218,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10919,9 +12240,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10941,9 +12262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10963,9 +12284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10985,9 +12306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11008,19 +12329,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11041,19 +12362,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11073,9 +12394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11096,19 +12417,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11128,9 +12449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11150,9 +12471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11173,19 +12494,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11205,9 +12526,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11228,19 +12549,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11260,9 +12581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11283,19 +12604,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractSpinBox::StepEnabled returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11315,9 +12636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11338,19 +12659,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "double"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&val0}; + void* args[2] = {nullptr, (void*)&val0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11370,9 +12691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11393,19 +12714,19 @@ if (_wrapper) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QValidator::State returnValue{}; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11426,19 +12747,19 @@ if (_wrapper) { static const char* argumentList[] ={"double" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); double returnValue{}; - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); } else { returnValue = *((double*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11458,9 +12779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11542,6 +12863,11 @@ void PythonQtWrapper_QDoubleSpinBox::setSingleStep(QDoubleSpinBox* theWrappedObj ( theWrappedObject->setSingleStep(val)); } +void PythonQtWrapper_QDoubleSpinBox::setStepType(QDoubleSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType) +{ + ( theWrappedObject->setStepType(stepType)); +} + void PythonQtWrapper_QDoubleSpinBox::setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix) { ( theWrappedObject->setSuffix(suffix)); @@ -11552,6 +12878,11 @@ double PythonQtWrapper_QDoubleSpinBox::singleStep(QDoubleSpinBox* theWrappedObj return ( theWrappedObject->singleStep()); } +QAbstractSpinBox::StepType PythonQtWrapper_QDoubleSpinBox::stepType(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->stepType()); +} + QString PythonQtWrapper_QDoubleSpinBox::suffix(QDoubleSpinBox* theWrappedObject) const { return ( theWrappedObject->suffix()); @@ -11578,6 +12909,116 @@ PythonQtShell_QDoubleValidator::~PythonQtShell_QDoubleValidator() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QDoubleValidator::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleValidator::childEvent(event0); +} +void PythonQtShell_QDoubleValidator::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleValidator::customEvent(event0); +} +bool PythonQtShell_QDoubleValidator::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleValidator::event(event0); +} +bool PythonQtShell_QDoubleValidator::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDoubleValidator::eventFilter(watched0, event1); +} void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { if (_wrapper) { @@ -11586,11 +13027,33 @@ if (_wrapper) { static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDoubleValidator::fixup(arg__1); +} +void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "double" , "double" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&bottom0, (void*)&top1, (void*)&decimals2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11598,21 +13061,21 @@ if (_wrapper) { } } } - QDoubleValidator::fixup(arg__1); + QDoubleValidator::setRange(bottom0, top1, decimals2); } -void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) +void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRange"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "double" , "double" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&bottom0, (void*)&top1, (void*)&decimals2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11620,7 +13083,7 @@ if (_wrapper) { } } } - QDoubleValidator::setRange(bottom0, top1, decimals2); + QDoubleValidator::timerEvent(event0); } QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const { @@ -11633,19 +13096,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11727,6 +13190,138 @@ PythonQtShell_QDrag::~PythonQtShell_QDrag() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QDrag::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDrag::childEvent(event0); +} +void PythonQtShell_QDrag::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDrag::customEvent(event0); +} +bool PythonQtShell_QDrag::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDrag::event(event0); +} +bool PythonQtShell_QDrag::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDrag::eventFilter(watched0, event1); +} +void PythonQtShell_QDrag::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDrag::timerEvent(event0); +} QDrag* PythonQtWrapper_QDrag::new_QDrag(QObject* dragSource) { return new PythonQtShell_QDrag(dragSource); } @@ -11992,9 +13587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12014,9 +13609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12036,9 +13631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12048,6 +13643,28 @@ if (_wrapper) { } QErrorMessage::changeEvent(e0); } +void PythonQtShell_QErrorMessage::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::childEvent(event0); +} void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { @@ -12058,9 +13675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12080,9 +13697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12092,6 +13709,28 @@ if (_wrapper) { } QErrorMessage::contextMenuEvent(arg__1); } +void PythonQtShell_QErrorMessage::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::customEvent(event0); +} int PythonQtShell_QErrorMessage::devType() const { if (_wrapper) { @@ -12103,19 +13742,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12135,9 +13774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12157,9 +13796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12179,9 +13818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12201,9 +13840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12223,9 +13862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12245,9 +13884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12268,19 +13907,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12301,19 +13940,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12334,19 +13973,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12366,9 +14005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12389,19 +14028,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12421,9 +14060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12444,19 +14083,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12477,19 +14116,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12509,9 +14148,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12531,9 +14170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12553,9 +14192,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12576,19 +14215,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12608,9 +14247,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12630,9 +14269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12652,9 +14291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12675,19 +14314,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12708,19 +14347,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12740,9 +14379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12762,9 +14401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12784,9 +14423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12806,9 +14445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12828,9 +14467,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12851,19 +14490,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12883,9 +14522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12906,19 +14545,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12938,9 +14577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12961,19 +14600,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12993,9 +14632,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13015,9 +14654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13037,9 +14676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13060,19 +14699,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13092,9 +14731,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13115,19 +14754,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13147,9 +14786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13159,6 +14798,28 @@ if (_wrapper) { } QErrorMessage::tabletEvent(event0); } +void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QErrorMessage::timerEvent(event0); +} void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -13169,9 +14830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13234,9 +14895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13256,9 +14917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13278,9 +14939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13290,6 +14951,28 @@ if (_wrapper) { } QFileDialog::changeEvent(e0); } +void PythonQtShell_QFileDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::childEvent(event0); +} void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { @@ -13300,9 +14983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13322,9 +15005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13334,6 +15017,28 @@ if (_wrapper) { } QFileDialog::contextMenuEvent(arg__1); } +void PythonQtShell_QFileDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::customEvent(event0); +} int PythonQtShell_QFileDialog::devType() const { if (_wrapper) { @@ -13345,19 +15050,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13377,9 +15082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13399,9 +15104,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13421,9 +15126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13443,9 +15148,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13465,9 +15170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13487,9 +15192,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13510,19 +15215,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13543,19 +15248,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13576,19 +15281,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13608,9 +15313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13631,19 +15336,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13663,9 +15368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13686,19 +15391,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13719,19 +15424,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13751,9 +15456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13773,9 +15478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13795,9 +15500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13818,19 +15523,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13850,9 +15555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13872,9 +15577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13894,9 +15599,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13917,19 +15622,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13950,19 +15655,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13982,9 +15687,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14004,9 +15709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14026,9 +15731,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14048,9 +15753,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14070,9 +15775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14093,19 +15798,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14126,19 +15831,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14158,9 +15863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14181,19 +15886,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14213,9 +15918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14235,9 +15940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14257,9 +15962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14280,19 +15985,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14312,9 +16017,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14335,19 +16040,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14367,9 +16072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14379,6 +16084,28 @@ if (_wrapper) { } QFileDialog::tabletEvent(event0); } +void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileDialog::timerEvent(event0); +} void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -14389,9 +16116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14769,19 +16496,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIcon" , "QFileIconProvider::IconType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QIcon returnValue{}; - void* args[2] = {NULL, (void*)&type0}; + void* args[2] = {nullptr, (void*)&type0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); } else { returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14802,19 +16529,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QIcon returnValue{}; - void* args[2] = {NULL, (void*)&info0}; + void* args[2] = {nullptr, (void*)&info0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); } else { returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14835,19 +16562,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QFileInfo&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&info0}; + void* args[2] = {nullptr, (void*)&info0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14928,19 +16655,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14961,19 +16688,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14994,19 +16721,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15016,6 +16743,28 @@ if (_wrapper) { } return QFileSystemModel::canFetchMore(parent0); } +void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFileSystemModel::childEvent(event0); +} int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { @@ -15027,27 +16776,49 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::columnCount(parent0); +} +void PythonQtShell_QFileSystemModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::columnCount(parent0); + QFileSystemModel::customEvent(event0); } QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int role1) const { @@ -15060,19 +16831,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15093,19 +16864,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15126,19 +16897,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15148,6 +16919,39 @@ if (_wrapper) { } return QFileSystemModel::event(event0); } +bool PythonQtShell_QFileSystemModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFileSystemModel::eventFilter(watched0, event1); +} void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -15158,9 +16962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15181,19 +16985,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15214,19 +17018,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15247,19 +17051,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15280,19 +17084,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15313,19 +17117,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15346,19 +17150,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15379,19 +17183,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15412,19 +17216,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15445,19 +17249,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15478,19 +17282,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15511,19 +17315,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15544,19 +17348,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15577,19 +17381,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15610,19 +17414,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15643,19 +17447,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15675,9 +17479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15698,19 +17502,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15731,19 +17535,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15764,19 +17568,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15797,19 +17601,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15830,19 +17634,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15863,19 +17667,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15895,9 +17699,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15918,19 +17722,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15951,19 +17755,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15984,19 +17788,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16017,19 +17821,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16049,9 +17853,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16078,11 +17882,6 @@ int PythonQtShell_QFileSystemModel::qt_metacall(QMetaObject::Call call, int id, int result = QFileSystemModel::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -bool PythonQtWrapper_QFileSystemModel::event(QFileSystemModel* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_event(event)); -} - QIcon PythonQtWrapper_QFileSystemModel::fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { return ( theWrappedObject->fileIcon(index)); @@ -16223,11 +18022,6 @@ qint64 PythonQtWrapper_QFileSystemModel::size(QFileSystemModel* theWrappedObjec return ( theWrappedObject->size(index)); } -void PythonQtWrapper_QFileSystemModel::timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_timerEvent(event)); -} - QString PythonQtWrapper_QFileSystemModel::type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { return ( theWrappedObject->type(index)); @@ -16270,9 +18064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16292,9 +18086,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16304,6 +18098,28 @@ if (_wrapper) { } QFocusFrame::changeEvent(arg__1); } +void PythonQtShell_QFocusFrame::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::childEvent(event0); +} void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -16314,9 +18130,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16336,9 +18152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16348,6 +18164,28 @@ if (_wrapper) { } QFocusFrame::contextMenuEvent(event0); } +void PythonQtShell_QFocusFrame::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::customEvent(event0); +} int PythonQtShell_QFocusFrame::devType() const { if (_wrapper) { @@ -16359,19 +18197,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16391,9 +18229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16413,9 +18251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16435,9 +18273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16457,9 +18295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16479,9 +18317,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16502,19 +18340,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16535,19 +18373,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16567,9 +18405,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16590,19 +18428,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16622,9 +18460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16645,19 +18483,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16678,19 +18516,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16710,9 +18548,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16732,9 +18570,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16754,9 +18592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16777,19 +18615,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16809,9 +18647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16831,9 +18669,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16853,9 +18691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16876,19 +18714,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16909,19 +18747,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16941,9 +18779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16963,9 +18801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16985,9 +18823,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17007,9 +18845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17029,9 +18867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17052,19 +18890,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17085,19 +18923,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17117,9 +18955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17140,19 +18978,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17172,9 +19010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17194,9 +19032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17217,19 +19055,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17249,9 +19087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17272,19 +19110,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17304,9 +19142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17316,6 +19154,28 @@ if (_wrapper) { } QFocusFrame::tabletEvent(event0); } +void PythonQtShell_QFocusFrame::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFocusFrame::timerEvent(event0); +} void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -17326,9 +19186,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17355,11 +19215,6 @@ int PythonQtShell_QFocusFrame::qt_metacall(QMetaObject::Call call, int id, void* int result = QFocusFrame::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -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::initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const { ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_initStyleOption(option)); @@ -17391,9 +19246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17413,9 +19268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17425,6 +19280,28 @@ if (_wrapper) { } QFontComboBox::changeEvent(e0); } +void PythonQtShell_QFontComboBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::childEvent(event0); +} void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -17435,9 +19312,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17457,9 +19334,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17469,6 +19346,28 @@ if (_wrapper) { } QFontComboBox::contextMenuEvent(e0); } +void PythonQtShell_QFontComboBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::customEvent(event0); +} int PythonQtShell_QFontComboBox::devType() const { if (_wrapper) { @@ -17480,19 +19379,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17512,9 +19411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17534,9 +19433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17556,9 +19455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17578,9 +19477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17600,9 +19499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17623,19 +19522,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17645,6 +19544,39 @@ if (_wrapper) { } return QFontComboBox::event(e0); } +bool PythonQtShell_QFontComboBox::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QFontComboBox::eventFilter(watched0, event1); +} void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { @@ -17655,9 +19587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17678,19 +19610,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17710,9 +19642,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17733,19 +19665,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17766,19 +19698,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17798,9 +19730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17820,9 +19752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17842,9 +19774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17864,9 +19796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17887,19 +19819,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17919,9 +19851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17941,9 +19873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17963,9 +19895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17986,19 +19918,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18019,19 +19951,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18051,9 +19983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18073,9 +20005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18095,9 +20027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18117,9 +20049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18139,9 +20071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18162,19 +20094,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18195,19 +20127,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18227,9 +20159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18250,19 +20182,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18282,9 +20214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18304,9 +20236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18327,19 +20259,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18359,9 +20291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18381,9 +20313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18404,19 +20336,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18436,9 +20368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18448,6 +20380,28 @@ if (_wrapper) { } QFontComboBox::tabletEvent(event0); } +void PythonQtShell_QFontComboBox::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontComboBox::timerEvent(event0); +} void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) { if (_wrapper) { @@ -18458,9 +20412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18513,149 +20467,3 @@ QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFont } - -QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() -{ -return new QFontDatabase(); } - -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) -{ - return (QFontDatabase::addApplicationFont(fileName)); -} - -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) -{ - return (QFontDatabase::addApplicationFontFromData(fontData)); -} - -QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) -{ - return (QFontDatabase::applicationFontFamilies(id)); -} - -bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->bold(family, style)); -} - -QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const -{ - return ( theWrappedObject->families(writingSystem)); -} - -QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const -{ - return ( theWrappedObject->font(family, style, pointSize)); -} - -bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->hasFamily(family)); -} - -bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isBitmapScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isFixedPitch(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->isPrivateFamily(family)); -} - -bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isSmoothlyScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->italic(family, style)); -} - -QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) -{ - return ( theWrappedObject->pointSizes(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() -{ - return (QFontDatabase::removeAllApplicationFonts()); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) -{ - return (QFontDatabase::removeApplicationFont(id)); -} - -QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) -{ - return ( theWrappedObject->smoothSizes(family, style)); -} - -QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() -{ - return (QFontDatabase::standardSizes()); -} - -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) -{ - return ( theWrappedObject->styleString(font)); -} - -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) -{ - return ( theWrappedObject->styleString(fontInfo)); -} - -QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->styles(family)); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() -{ - return (QFontDatabase::supportsThreadedFontRendering()); -} - -QFont PythonQtWrapper_QFontDatabase::static_QFontDatabase_systemFont(QFontDatabase::SystemFont type) -{ - return (QFontDatabase::systemFont(type)); -} - -int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->weight(family, style)); -} - -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) -{ - return (QFontDatabase::writingSystemName(writingSystem)); -} - -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) -{ - return (QFontDatabase::writingSystemSample(writingSystem)); -} - -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const -{ - return ( theWrappedObject->writingSystems()); -} - -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->writingSystems(family)); -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.h similarity index 62% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.h index fa3a5f11..d70843c0 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.h @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include @@ -14,9 +13,12 @@ #include #include #include +#include #include +#include #include #include +#include #include #include #include @@ -26,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -34,32 +37,130 @@ #include #include #include +#include #include #include +#include #include -#include #include +#include #include #include +#include +#include +#include #include +#include +#include #include +#include #include +#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_QCompleter : public QCompleter +{ +public: + PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr):QCompleter(model, parent),_wrapper(nullptr) {}; + PythonQtShell_QCompleter(QObject* parent = nullptr):QCompleter(parent),_wrapper(nullptr) {}; + PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = nullptr):QCompleter(completions, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCompleter() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* o, QEvent* e) override; +QString pathFromIndex(const QModelIndex& index) const override; +QStringList splitPath(const QString& path) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCompleter : public QCompleter +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* o, QEvent* e) { return this->eventFilter(o, e); } +inline bool py_q_event(QEvent* arg__1) { return QCompleter::event(arg__1); } +inline bool py_q_eventFilter(QObject* o, QEvent* e) { return QCompleter::eventFilter(o, e); } +inline QString py_q_pathFromIndex(const QModelIndex& index) const { return QCompleter::pathFromIndex(index); } +inline QStringList py_q_splitPath(const QString& path) const { return QCompleter::splitPath(path); } +}; + +class PythonQtWrapper_QCompleter : public QObject +{ Q_OBJECT +public: +public slots: +QCompleter* new_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr); +QCompleter* new_QCompleter(QObject* parent = nullptr); +QCompleter* new_QCompleter(const QStringList& completions, QObject* parent = nullptr); +void delete_QCompleter(QCompleter* obj) { delete obj; } + Qt::CaseSensitivity caseSensitivity(QCompleter* theWrappedObject) const; + int completionColumn(QCompleter* theWrappedObject) const; + int completionCount(QCompleter* theWrappedObject) const; + QCompleter::CompletionMode completionMode(QCompleter* theWrappedObject) const; + QAbstractItemModel* completionModel(QCompleter* theWrappedObject) const; + QString completionPrefix(QCompleter* theWrappedObject) const; + int completionRole(QCompleter* theWrappedObject) const; + QString currentCompletion(QCompleter* theWrappedObject) const; + QModelIndex currentIndex(QCompleter* theWrappedObject) const; + int currentRow(QCompleter* theWrappedObject) const; + bool py_q_event(QCompleter* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_eventFilter(o, e));} + Qt::MatchFlags filterMode(QCompleter* theWrappedObject) const; + int maxVisibleItems(QCompleter* theWrappedObject) const; + QAbstractItemModel* model(QCompleter* theWrappedObject) const; + QCompleter::ModelSorting modelSorting(QCompleter* theWrappedObject) const; + QString pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const; + QString py_q_pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_pathFromIndex(index));} + QAbstractItemView* popup(QCompleter* theWrappedObject) const; + void setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity); + void setCompletionColumn(QCompleter* theWrappedObject, int column); + void setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode); + void setCompletionRole(QCompleter* theWrappedObject, int role); + bool setCurrentRow(QCompleter* theWrappedObject, int row); + void setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode); + void setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems); + void setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c); + void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); + void setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup); + void setWidget(QCompleter* theWrappedObject, QWidget* widget); + QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; + QStringList py_q_splitPath(QCompleter* theWrappedObject, const QString& path) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_splitPath(path));} + QWidget* widget(QCompleter* theWrappedObject) const; + bool wrapAround(QCompleter* theWrappedObject) const; +}; + + + + + class PythonQtWrapper_QConicalGradient : public QObject { Q_OBJECT public: @@ -71,7 +172,7 @@ QConicalGradient* new_QConicalGradient(const QConicalGradient& other) { QConicalGradient* a = new QConicalGradient(); *((QConicalGradient*)a) = other; return a; } -void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } +void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } qreal angle(QConicalGradient* theWrappedObject) const; QPointF center(QConicalGradient* theWrappedObject) const; void setAngle(QConicalGradient* theWrappedObject, qreal angle); @@ -86,14 +187,14 @@ void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } 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) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(nullptr) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(nullptr) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(nullptr) {}; - ~PythonQtShell_QContextMenuEvent(); + ~PythonQtShell_QContextMenuEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QContextMenuEvent : public QObject @@ -106,7 +207,7 @@ 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; } +void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } const QPoint* globalPos(QContextMenuEvent* theWrappedObject) const; int globalX(QContextMenuEvent* theWrappedObject) const; int globalY(QContextMenuEvent* theWrappedObject) const; @@ -123,15 +224,20 @@ void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } class PythonQtShell_QDataWidgetMapper : public QDataWidgetMapper { public: - PythonQtShell_QDataWidgetMapper(QObject* parent = nullptr):QDataWidgetMapper(parent),_wrapper(NULL) {}; + PythonQtShell_QDataWidgetMapper(QObject* parent = nullptr):QDataWidgetMapper(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDataWidgetMapper(); + ~PythonQtShell_QDataWidgetMapper() override; -virtual void setCurrentIndex(int index); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setCurrentIndex(int index) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper @@ -144,7 +250,7 @@ class PythonQtWrapper_QDataWidgetMapper : public QObject public: public slots: QDataWidgetMapper* new_QDataWidgetMapper(QObject* parent = nullptr); -void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } +void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section); void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName); void clearMapping(QDataWidgetMapper* theWrappedObject); @@ -173,64 +279,67 @@ void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } class PythonQtShell_QDateEdit : public QDateEdit { public: - PythonQtShell_QDateEdit(QWidget* parent = nullptr):QDateEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = nullptr):QDateEdit(date, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDateEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -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); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDateEdit(QWidget* parent = nullptr):QDateEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = nullptr):QDateEdit(date, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDateEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDateEdit : public QObject @@ -239,7 +348,7 @@ class PythonQtWrapper_QDateEdit : public QObject public slots: QDateEdit* new_QDateEdit(QWidget* parent = nullptr); QDateEdit* new_QDateEdit(const QDate& date, QWidget* parent = nullptr); -void delete_QDateEdit(QDateEdit* obj) { delete obj; } +void delete_QDateEdit(QDateEdit* obj) { delete obj; } }; @@ -249,67 +358,71 @@ void delete_QDateEdit(QDateEdit* obj) { delete obj; } class PythonQtShell_QDateTimeEdit : public QDateTimeEdit { public: - PythonQtShell_QDateTimeEdit(QWidget* parent = nullptr):QDateTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr):QDateTimeEdit(d, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr):QDateTimeEdit(dt, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr):QDateTimeEdit(t, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr):QDateTimeEdit(val, parserType, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDateTimeEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -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); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDateTimeEdit(QWidget* parent = nullptr):QDateTimeEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr):QDateTimeEdit(d, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr):QDateTimeEdit(dt, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr):QDateTimeEdit(t, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QVariant& val, QMetaType::Type parserType, QWidget* parent = nullptr):QDateTimeEdit(val, parserType, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr):QDateTimeEdit(val, parserType, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDateTimeEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDateTimeEdit : public QDateTimeEdit @@ -356,8 +469,9 @@ QDateTimeEdit* new_QDateTimeEdit(QWidget* parent = nullptr); QDateTimeEdit* new_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr); QDateTimeEdit* new_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr); QDateTimeEdit* new_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr); +QDateTimeEdit* new_QDateTimeEdit(const QVariant& val, QMetaType::Type parserType, QWidget* parent = nullptr); QDateTimeEdit* new_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr); -void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } +void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } bool calendarPopup(QDateTimeEdit* theWrappedObject) const; QCalendarWidget* calendarWidget(QDateTimeEdit* theWrappedObject) const; void py_q_clear(QDateTimeEdit* theWrappedObject){ (((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->py_q_clear());} @@ -426,12 +540,12 @@ void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } class PythonQtShell_QDesktopServices : public QDesktopServices { public: - PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(NULL) {}; + PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(nullptr) {}; ~PythonQtShell_QDesktopServices(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDesktopServices : public QObject @@ -439,7 +553,7 @@ class PythonQtWrapper_QDesktopServices : public QObject public: public slots: QDesktopServices* new_QDesktopServices(); -void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } +void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } bool static_QDesktopServices_openUrl(const QUrl& url); void static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method); void static_QDesktopServices_unsetUrlHandler(const QString& scheme); @@ -452,55 +566,59 @@ void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } class PythonQtShell_QDesktopWidget : public QDesktopWidget { public: - PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(NULL) {}; - - ~PythonQtShell_QDesktopWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(nullptr) {}; + + ~PythonQtShell_QDesktopWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDesktopWidget : public QDesktopWidget @@ -514,7 +632,7 @@ class PythonQtWrapper_QDesktopWidget : public QObject public: public slots: QDesktopWidget* new_QDesktopWidget(); -void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } +void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const; const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const; const QRect availableGeometry(QDesktopWidget* theWrappedObject, int screen = -1) const; @@ -538,57 +656,60 @@ void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } class PythonQtShell_QDial : public QDial { public: - PythonQtShell_QDial(QWidget* parent = nullptr):QDial(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDial(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* me); -virtual void mousePressEvent(QMouseEvent* me); -virtual void mouseReleaseEvent(QMouseEvent* me); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* pe); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* re); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDial(QWidget* parent = nullptr):QDial(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDial() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* me) override; +void mousePressEvent(QMouseEvent* me) override; +void mouseReleaseEvent(QMouseEvent* me) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* pe) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* re) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDial : public QDial @@ -617,7 +738,7 @@ class PythonQtWrapper_QDial : public QObject public: public slots: QDial* new_QDial(QWidget* parent = nullptr); -void delete_QDial(QDial* obj) { delete obj; } +void delete_QDial(QDial* obj) { delete obj; } bool py_q_event(QDial* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_event(e));} void initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const; QSize minimumSizeHint(QDial* theWrappedObject) const; @@ -644,61 +765,64 @@ void delete_QDial(QDial* obj) { delete obj; } class PythonQtShell_QDialog : public QDialog { public: - PythonQtShell_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QDialog(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QDialog(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialog : public QDialog @@ -734,13 +858,12 @@ enum DialogCode{ Rejected = QDialog::Rejected, Accepted = QDialog::Accepted}; public slots: QDialog* new_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QDialog(QDialog* obj) { delete obj; } +void delete_QDialog(QDialog* obj) { delete obj; } void py_q_accept(QDialog* theWrappedObject){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_accept());} void adjustPosition(QDialog* theWrappedObject, QWidget* arg__1); void py_q_closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_closeEvent(arg__1));} void py_q_contextMenuEvent(QDialog* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} void py_q_done(QDialog* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_done(arg__1));} - bool eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2); bool py_q_eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} int py_q_exec(QDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_exec());} bool isSizeGripEnabled(QDialog* theWrappedObject) const; @@ -767,58 +890,62 @@ void delete_QDialog(QDialog* obj) { delete obj; } class PythonQtShell_QDialogButtonBox : public QDialogButtonBox { public: - PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent = nullptr):QDialogButtonBox(buttons, parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(buttons, orientation, parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(QWidget* parent = nullptr):QDialogButtonBox(parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDialogButtonBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent = nullptr):QDialogButtonBox(buttons, parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(buttons, orientation, parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(QWidget* parent = nullptr):QDialogButtonBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDialogButtonBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialogButtonBox : public QDialogButtonBox @@ -846,7 +973,7 @@ QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons button QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr); QDialogButtonBox* new_QDialogButtonBox(QWidget* parent = nullptr); QDialogButtonBox* new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } +void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } void addButton(QDialogButtonBox* theWrappedObject, PythonQtPassOwnershipToCPP button, QDialogButtonBox::ButtonRole role); QPushButton* addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button); QPushButton* addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role); @@ -873,49 +1000,54 @@ void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } class PythonQtShell_QDirModel : public QDirModel { public: - PythonQtShell_QDirModel(QObject* parent = nullptr):QDirModel(parent),_wrapper(NULL) {}; - PythonQtShell_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr):QDirModel(nameFilters, filters, sort, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDirModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& index = 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDirModel(QObject* parent = nullptr):QDirModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr):QDirModel(nameFilters, filters, sort, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDirModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& index = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDirModel : public QDirModel @@ -945,7 +1077,7 @@ enum Roles{ public slots: QDirModel* new_QDirModel(QObject* parent = nullptr); QDirModel* new_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr); -void delete_QDirModel(QDirModel* obj) { delete obj; } +void delete_QDirModel(QDirModel* obj) { delete obj; } int py_q_columnCount(QDirModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_columnCount(parent));} QVariant py_q_data(QDirModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_data(index, role));} bool py_q_dropMimeData(QDirModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} @@ -992,56 +1124,60 @@ void delete_QDirModel(QDirModel* obj) { delete obj; } class PythonQtShell_QDockWidget : public QDockWidget { public: - PythonQtShell_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(parent, flags),_wrapper(NULL) {}; - PythonQtShell_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(title, parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QDockWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(title, parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QDockWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDockWidget : public QDockWidget @@ -1068,7 +1204,7 @@ Q_DECLARE_FLAGS(DockWidgetFeatures, DockWidgetFeature) public slots: QDockWidget* new_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); QDockWidget* new_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QDockWidget(QDockWidget* obj) { delete obj; } +void delete_QDockWidget(QDockWidget* obj) { delete obj; } Qt::DockWidgetAreas allowedAreas(QDockWidget* theWrappedObject) const; void py_q_changeEvent(QDockWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_changeEvent(event));} void py_q_closeEvent(QDockWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_closeEvent(event));} @@ -1095,63 +1231,66 @@ void delete_QDockWidget(QDockWidget* obj) { delete obj; } class PythonQtShell_QDoubleSpinBox : public QDoubleSpinBox { public: - PythonQtShell_QDoubleSpinBox(QWidget* parent = nullptr):QDoubleSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDoubleSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -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); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDoubleSpinBox(QWidget* parent = nullptr):QDoubleSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDoubleSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& str) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromValue(double val) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +double valueFromText(const QString& text) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleSpinBox : public QDoubleSpinBox @@ -1167,7 +1306,7 @@ class PythonQtWrapper_QDoubleSpinBox : public QObject public: public slots: QDoubleSpinBox* new_QDoubleSpinBox(QWidget* parent = nullptr); -void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } +void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } QString cleanText(QDoubleSpinBox* theWrappedObject) const; int decimals(QDoubleSpinBox* theWrappedObject) const; void py_q_fixup(QDoubleSpinBox* theWrappedObject, QString& str) const{ (((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->py_q_fixup(str));} @@ -1180,8 +1319,10 @@ void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } void setPrefix(QDoubleSpinBox* theWrappedObject, const QString& prefix); void setRange(QDoubleSpinBox* theWrappedObject, double min, double max); void setSingleStep(QDoubleSpinBox* theWrappedObject, double val); + void setStepType(QDoubleSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType); void setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix); double singleStep(QDoubleSpinBox* theWrappedObject) const; + QAbstractSpinBox::StepType stepType(QDoubleSpinBox* theWrappedObject) const; QString suffix(QDoubleSpinBox* theWrappedObject) const; QString textFromValue(QDoubleSpinBox* theWrappedObject, double val) const; QString py_q_textFromValue(QDoubleSpinBox* theWrappedObject, double val) const{ return (((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->py_q_textFromValue(val));} @@ -1198,18 +1339,23 @@ void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } class PythonQtShell_QDoubleValidator : public QDoubleValidator { public: - PythonQtShell_QDoubleValidator(QObject* parent = nullptr):QDoubleValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr):QDoubleValidator(bottom, top, decimals, parent),_wrapper(NULL) {}; + PythonQtShell_QDoubleValidator(QObject* parent = nullptr):QDoubleValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr):QDoubleValidator(bottom, top, decimals, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDoubleValidator(); + ~PythonQtShell_QDoubleValidator() override; -virtual void fixup(QString& arg__1) const; -virtual void setRange(double bottom, double top, int decimals = 0); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void setRange(double bottom, double top, int decimals = 0) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator @@ -1224,7 +1370,7 @@ class PythonQtWrapper_QDoubleValidator : public QObject public slots: QDoubleValidator* new_QDoubleValidator(QObject* parent = nullptr); QDoubleValidator* new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr); -void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } +void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } double bottom(QDoubleValidator* theWrappedObject) const; int decimals(QDoubleValidator* theWrappedObject) const; QDoubleValidator::Notation notation(QDoubleValidator* theWrappedObject) const; @@ -1245,14 +1391,19 @@ void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } class PythonQtShell_QDrag : public QDrag { public: - PythonQtShell_QDrag(QObject* dragSource):QDrag(dragSource),_wrapper(NULL) {}; + PythonQtShell_QDrag(QObject* dragSource):QDrag(dragSource),_wrapper(nullptr) {}; - ~PythonQtShell_QDrag(); + ~PythonQtShell_QDrag() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDrag : public QObject @@ -1260,7 +1411,7 @@ class PythonQtWrapper_QDrag : public QObject public: public slots: QDrag* new_QDrag(QObject* dragSource); -void delete_QDrag(QDrag* obj) { delete obj; } +void delete_QDrag(QDrag* obj) { delete obj; } void static_QDrag_cancel(); Qt::DropAction defaultAction(QDrag* theWrappedObject) const; QPixmap dragCursor(QDrag* theWrappedObject, Qt::DropAction action) const; @@ -1287,7 +1438,7 @@ class PythonQtWrapper_QDragEnterEvent : public QObject 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; } +void delete_QDragEnterEvent(QDragEnterEvent* obj) { delete obj; } }; @@ -1299,7 +1450,7 @@ class PythonQtWrapper_QDragLeaveEvent : public QObject public: public slots: QDragLeaveEvent* new_QDragLeaveEvent(); -void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } +void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } }; @@ -1309,12 +1460,12 @@ void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } 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) {}; + 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(nullptr) {}; - ~PythonQtShell_QDragMoveEvent(); + ~PythonQtShell_QDragMoveEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDragMoveEvent : public QObject @@ -1322,7 +1473,7 @@ class PythonQtWrapper_QDragMoveEvent : public QObject 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; } +void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } void accept(QDragMoveEvent* theWrappedObject, const QRect& r); QRect answerRect(QDragMoveEvent* theWrappedObject) const; void ignore(QDragMoveEvent* theWrappedObject, const QRect& r); @@ -1335,12 +1486,12 @@ void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } class PythonQtShell_QDropEvent : public QDropEvent { public: - PythonQtShell_QDropEvent(const QPointF& 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) {}; + PythonQtShell_QDropEvent(const QPointF& 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(nullptr) {}; - ~PythonQtShell_QDropEvent(); + ~PythonQtShell_QDropEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDropEvent : public QObject @@ -1348,7 +1499,7 @@ class PythonQtWrapper_QDropEvent : public QObject public: public slots: QDropEvent* new_QDropEvent(const QPointF& 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; } +void delete_QDropEvent(QDropEvent* obj) { delete obj; } void acceptProposedAction(QDropEvent* theWrappedObject); Qt::DropAction dropAction(QDropEvent* theWrappedObject) const; Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const; @@ -1369,12 +1520,12 @@ void delete_QDropEvent(QDropEvent* obj) { delete obj; } class PythonQtShell_QEnterEvent : public QEnterEvent { public: - PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(NULL) {}; + PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(nullptr) {}; - ~PythonQtShell_QEnterEvent(); + ~PythonQtShell_QEnterEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QEnterEvent : public QObject @@ -1382,7 +1533,7 @@ class PythonQtWrapper_QEnterEvent : public QObject public: public slots: QEnterEvent* new_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos); -void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } +void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } QPoint globalPos(QEnterEvent* theWrappedObject) const; int globalX(QEnterEvent* theWrappedObject) const; int globalY(QEnterEvent* theWrappedObject) const; @@ -1401,61 +1552,64 @@ void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } class PythonQtShell_QErrorMessage : public QErrorMessage { public: - PythonQtShell_QErrorMessage(QWidget* parent = nullptr):QErrorMessage(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QErrorMessage(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QErrorMessage(QWidget* parent = nullptr):QErrorMessage(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QErrorMessage() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QErrorMessage : public QErrorMessage @@ -1471,7 +1625,7 @@ class PythonQtWrapper_QErrorMessage : public QObject public: public slots: QErrorMessage* new_QErrorMessage(QWidget* parent = nullptr); -void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } +void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } void py_q_changeEvent(QErrorMessage* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->py_q_changeEvent(e));} void py_q_done(QErrorMessage* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->py_q_done(arg__1));} QErrorMessage* static_QErrorMessage_qtHandler(); @@ -1484,12 +1638,12 @@ void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } class PythonQtShell_QExposeEvent : public QExposeEvent { public: - PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(NULL) {}; + PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(nullptr) {}; - ~PythonQtShell_QExposeEvent(); + ~PythonQtShell_QExposeEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QExposeEvent : public QObject @@ -1497,7 +1651,7 @@ class PythonQtWrapper_QExposeEvent : public QObject public: public slots: QExposeEvent* new_QExposeEvent(const QRegion& rgn); -void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } +void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } const QRegion* region(QExposeEvent* theWrappedObject) const; }; @@ -1508,61 +1662,64 @@ void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } class PythonQtShell_QFileDialog : public QFileDialog { public: - PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(NULL) {}; - PythonQtShell_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(NULL) {}; - - ~PythonQtShell_QFileDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(nullptr) {}; + PythonQtShell_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileDialog : public QFileDialog @@ -1589,7 +1746,7 @@ Q_DECLARE_FLAGS(Options, Option) public slots: QFileDialog* new_QFileDialog(QWidget* parent, Qt::WindowFlags f); QFileDialog* new_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()); -void delete_QFileDialog(QFileDialog* obj) { delete obj; } +void delete_QFileDialog(QFileDialog* obj) { delete obj; } void py_q_accept(QFileDialog* theWrappedObject){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_accept());} QFileDialog::AcceptMode acceptMode(QFileDialog* theWrappedObject) const; void py_q_changeEvent(QFileDialog* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_changeEvent(e));} @@ -1669,15 +1826,15 @@ void delete_QFileDialog(QFileDialog* obj) { delete obj; } class PythonQtShell_QFileIconProvider : public QFileIconProvider { public: - PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(NULL) {}; + PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(nullptr) {}; - ~PythonQtShell_QFileIconProvider(); + ~PythonQtShell_QFileIconProvider() override; -virtual QIcon icon(QFileIconProvider::IconType type) const; -virtual QIcon icon(const QFileInfo& info) const; -virtual QString type(const QFileInfo& info) const; +QIcon icon(QFileIconProvider::IconType type) const override; +QIcon icon(const QFileInfo& info) const override; +QString type(const QFileInfo& info) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider @@ -1699,7 +1856,7 @@ enum Option{ Q_DECLARE_FLAGS(Options, Option) public slots: QFileIconProvider* new_QFileIconProvider(); -void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } +void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } QIcon icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const; QIcon py_q_icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const{ return (((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->py_q_icon(type));} QIcon icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; @@ -1720,7 +1877,7 @@ class PythonQtWrapper_QFileOpenEvent : public QObject public slots: QFileOpenEvent* new_QFileOpenEvent(const QString& file); QFileOpenEvent* new_QFileOpenEvent(const QUrl& url); -void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } +void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } QString file(QFileOpenEvent* theWrappedObject) const; bool openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const; QUrl url(QFileOpenEvent* theWrappedObject) const; @@ -1733,50 +1890,53 @@ void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } class PythonQtShell_QFileSystemModel : public QFileSystemModel { public: - PythonQtShell_QFileSystemModel(QObject* parent = nullptr):QFileSystemModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileSystemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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* event); -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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFileSystemModel(QObject* parent = nullptr):QFileSystemModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileSystemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileSystemModel : public QFileSystemModel @@ -1812,12 +1972,11 @@ enum Roles{ FileIconRole = QFileSystemModel::FileIconRole, FilePathRole = QFileSystemModel::FilePathRole, FileNameRole = QFileSystemModel::FileNameRole, FilePermissions = QFileSystemModel::FilePermissions}; public slots: QFileSystemModel* new_QFileSystemModel(QObject* parent = nullptr); -void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } +void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } bool py_q_canFetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_canFetchMore(parent));} int py_q_columnCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_columnCount(parent));} QVariant py_q_data(QFileSystemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_data(index, role));} bool py_q_dropMimeData(QFileSystemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} - bool event(QFileSystemModel* theWrappedObject, QEvent* event); bool py_q_event(QFileSystemModel* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_event(event));} void py_q_fetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent){ (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_fetchMore(parent));} QIcon fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; @@ -1860,7 +2019,6 @@ void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } qint64 size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; void py_q_sort(QFileSystemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder){ (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_sort(column, order));} Qt::DropActions py_q_supportedDropActions(QFileSystemModel* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_supportedDropActions());} - void timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->py_q_timerEvent(event));} QString type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const; }; @@ -1874,7 +2032,7 @@ class PythonQtWrapper_QFocusEvent : public QObject public: public slots: QFocusEvent* new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason); -void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } +void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } bool gotFocus(QFocusEvent* theWrappedObject) const; bool lostFocus(QFocusEvent* theWrappedObject) const; Qt::FocusReason reason(QFocusEvent* theWrappedObject) const; @@ -1887,56 +2045,59 @@ void delete_QFocusEvent(QFocusEvent* obj) { delete obj; } class PythonQtShell_QFocusFrame : public QFocusFrame { public: - PythonQtShell_QFocusFrame(QWidget* parent = nullptr):QFocusFrame(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFocusFrame(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFocusFrame(QWidget* parent = nullptr):QFocusFrame(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFocusFrame() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFocusFrame : public QFocusFrame @@ -1955,9 +2116,8 @@ class PythonQtWrapper_QFocusFrame : public QObject public: public slots: QFocusFrame* new_QFocusFrame(QWidget* parent = nullptr); -void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } +void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } bool py_q_event(QFocusFrame* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->py_q_event(e));} - bool eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2); bool py_q_eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} void initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const; void py_q_paintEvent(QFocusFrame* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->py_q_paintEvent(arg__1));} @@ -1972,57 +2132,61 @@ void delete_QFocusFrame(QFocusFrame* obj) { delete obj; } class PythonQtShell_QFontComboBox : public QFontComboBox { public: - PythonQtShell_QFontComboBox(QWidget* parent = nullptr):QFontComboBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFontComboBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFontComboBox(QWidget* parent = nullptr):QFontComboBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFontComboBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* e) override; +void hidePopup() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +void showPopup() override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFontComboBox : public QFontComboBox @@ -2042,7 +2206,7 @@ enum FontFilter{ Q_DECLARE_FLAGS(FontFilters, FontFilter) public slots: QFontComboBox* new_QFontComboBox(QWidget* parent = nullptr); -void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } +void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } QFont currentFont(QFontComboBox* theWrappedObject) const; bool py_q_event(QFontComboBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFontComboBox*)theWrappedObject)->py_q_event(e));} QFontComboBox::FontFilters fontFilters(QFontComboBox* theWrappedObject) const; @@ -2053,52 +2217,3 @@ void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } }; - - - -class PythonQtWrapper_QFontDatabase : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SystemFont WritingSystem ) -enum SystemFont{ - GeneralFont = QFontDatabase::GeneralFont, FixedFont = QFontDatabase::FixedFont, TitleFont = QFontDatabase::TitleFont, SmallestReadableFont = QFontDatabase::SmallestReadableFont}; -enum WritingSystem{ - Any = QFontDatabase::Any, Latin = QFontDatabase::Latin, Greek = QFontDatabase::Greek, Cyrillic = QFontDatabase::Cyrillic, Armenian = QFontDatabase::Armenian, Hebrew = QFontDatabase::Hebrew, Arabic = QFontDatabase::Arabic, Syriac = QFontDatabase::Syriac, Thaana = QFontDatabase::Thaana, Devanagari = QFontDatabase::Devanagari, Bengali = QFontDatabase::Bengali, Gurmukhi = QFontDatabase::Gurmukhi, Gujarati = QFontDatabase::Gujarati, Oriya = QFontDatabase::Oriya, Tamil = QFontDatabase::Tamil, Telugu = QFontDatabase::Telugu, Kannada = QFontDatabase::Kannada, Malayalam = QFontDatabase::Malayalam, Sinhala = QFontDatabase::Sinhala, Thai = QFontDatabase::Thai, Lao = QFontDatabase::Lao, Tibetan = QFontDatabase::Tibetan, Myanmar = QFontDatabase::Myanmar, Georgian = QFontDatabase::Georgian, Khmer = QFontDatabase::Khmer, SimplifiedChinese = QFontDatabase::SimplifiedChinese, TraditionalChinese = QFontDatabase::TraditionalChinese, Japanese = QFontDatabase::Japanese, Korean = QFontDatabase::Korean, Vietnamese = QFontDatabase::Vietnamese, Symbol = QFontDatabase::Symbol, Other = QFontDatabase::Other, Ogham = QFontDatabase::Ogham, Runic = QFontDatabase::Runic, Nko = QFontDatabase::Nko, WritingSystemsCount = QFontDatabase::WritingSystemsCount}; -public slots: -QFontDatabase* new_QFontDatabase(); -QFontDatabase* new_QFontDatabase(const QFontDatabase& other) { -QFontDatabase* a = new QFontDatabase(); -*((QFontDatabase*)a) = other; -return a; } -void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } - int static_QFontDatabase_addApplicationFont(const QString& fileName); - int static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData); - QStringList static_QFontDatabase_applicationFontFamilies(int id); - bool bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QStringList families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const; - QFont font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const; - bool hasFamily(QFontDatabase* theWrappedObject, const QString& family) const; - bool isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const; - bool isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QList pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()); - bool static_QFontDatabase_removeAllApplicationFonts(); - bool static_QFontDatabase_removeApplicationFont(int id); - QList smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style); - QList static_QFontDatabase_standardSizes(); - QString styleString(QFontDatabase* theWrappedObject, const QFont& font); - QString styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo); - QStringList styles(QFontDatabase* theWrappedObject, const QString& family) const; - bool static_QFontDatabase_supportsThreadedFontRendering(); - QFont static_QFontDatabase_systemFont(QFontDatabase::SystemFont type); - int weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QString static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem); - QString static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem); - QList writingSystems(QFontDatabase* theWrappedObject) const; - QList writingSystems(QFontDatabase* theWrappedObject, const QString& family) const; -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp similarity index 68% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 61a73107..b135fb85 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -1,288 +1,366 @@ -#include "com_trolltech_qt_gui9.h" +#include "com_trolltech_qt_gui10.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 +#include +#include #include #include +#include #include +#include #include #include #include #include -#include -#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include #include -#include #include -#include #include -#include -#include #include -#include #include -#include -#include #include +#include #include #include -#include +#include #include #include #include #include #include +#include +#include #include +#include #include #include -PythonQtShell_QStyleOptionToolButton::~PythonQtShell_QStyleOptionToolButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton() +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat() { -return new PythonQtShell_QStyleOptionToolButton(); } +return new QSurfaceFormat(); } -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(const QStyleOptionToolButton& other) +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(QSurfaceFormat::FormatOptions options) { -return new PythonQtShell_QStyleOptionToolButton(other); } +return new QSurfaceFormat(options); } -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(int version) +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(const QSurfaceFormat& other) { -return new PythonQtShell_QStyleOptionToolButton(version); } +return new QSurfaceFormat(other); } +int PythonQtWrapper_QSurfaceFormat::alphaBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaBufferSize()); +} +int PythonQtWrapper_QSurfaceFormat::blueBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->blueBufferSize()); +} -PythonQtShell_QStyleOptionViewItem::~PythonQtShell_QStyleOptionViewItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QSurfaceFormat::ColorSpace PythonQtWrapper_QSurfaceFormat::colorSpace(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->colorSpace()); } -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem() -{ -return new PythonQtShell_QStyleOptionViewItem(); } -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(const QStyleOptionViewItem& other) -{ -return new PythonQtShell_QStyleOptionViewItem(other); } +QSurfaceFormat PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_defaultFormat() +{ + return (QSurfaceFormat::defaultFormat()); +} -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(int version) -{ -return new PythonQtShell_QStyleOptionViewItem(version); } +int PythonQtWrapper_QSurfaceFormat::depthBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->depthBufferSize()); +} +int PythonQtWrapper_QSurfaceFormat::greenBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->greenBufferSize()); +} +bool PythonQtWrapper_QSurfaceFormat::hasAlpha(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->hasAlpha()); +} -PythonQtShell_QStyleOptionViewItemV2::~PythonQtShell_QStyleOptionViewItemV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +int PythonQtWrapper_QSurfaceFormat::majorVersion(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->majorVersion()); } -QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2() -{ -return new PythonQtShell_QStyleOptionViewItemV2(); } +int PythonQtWrapper_QSurfaceFormat::minorVersion(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->minorVersion()); +} +bool PythonQtWrapper_QSurfaceFormat::__ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} -PythonQtShell_QStyleOptionViewItemV3::~PythonQtShell_QStyleOptionViewItemV3() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other) +{ + return &( (*theWrappedObject)= other); } -QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3() -{ -return new PythonQtShell_QStyleOptionViewItemV3(); } +bool PythonQtWrapper_QSurfaceFormat::__eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} +QSurfaceFormat::FormatOptions PythonQtWrapper_QSurfaceFormat::options(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} -PythonQtShell_QStyleOptionViewItemV4::~PythonQtShell_QStyleOptionViewItemV4() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QSurfaceFormat::profile(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->profile()); } -QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() -{ -return new PythonQtShell_QStyleOptionViewItemV4(); } +int PythonQtWrapper_QSurfaceFormat::redBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->redBufferSize()); +} +QSurfaceFormat::RenderableType PythonQtWrapper_QSurfaceFormat::renderableType(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->renderableType()); +} -bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w) +int PythonQtWrapper_QSurfaceFormat::samples(QSurfaceFormat* theWrappedObject) const { - return ( theWrappedObject->begin(pd, w)); + return ( theWrappedObject->samples()); } -bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QWidget* w) +void PythonQtWrapper_QSurfaceFormat::setAlphaBufferSize(QSurfaceFormat* theWrappedObject, int size) { - return ( theWrappedObject->begin(w)); + ( theWrappedObject->setAlphaBufferSize(size)); } -void PythonQtWrapper_QStylePainter::drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt) +void PythonQtWrapper_QSurfaceFormat::setBlueBufferSize(QSurfaceFormat* theWrappedObject, int size) { - ( theWrappedObject->drawComplexControl(cc, opt)); + ( theWrappedObject->setBlueBufferSize(size)); } -void PythonQtWrapper_QStylePainter::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt) +void PythonQtWrapper_QSurfaceFormat::setColorSpace(QSurfaceFormat* theWrappedObject, QSurfaceFormat::ColorSpace colorSpace) { - ( theWrappedObject->drawControl(ce, opt)); + ( theWrappedObject->setColorSpace(colorSpace)); } -void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) +void PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_setDefaultFormat(const QSurfaceFormat& format) { - ( theWrappedObject->drawItemPixmap(r, flags, pixmap)); + (QSurfaceFormat::setDefaultFormat(format)); } -void PythonQtWrapper_QStylePainter::drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) +void PythonQtWrapper_QSurfaceFormat::setDepthBufferSize(QSurfaceFormat* theWrappedObject, int size) { - ( theWrappedObject->drawItemText(r, flags, pal, enabled, text, textRole)); + ( theWrappedObject->setDepthBufferSize(size)); } -void PythonQtWrapper_QStylePainter::drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt) +void PythonQtWrapper_QSurfaceFormat::setGreenBufferSize(QSurfaceFormat* theWrappedObject, int size) { - ( theWrappedObject->drawPrimitive(pe, opt)); + ( theWrappedObject->setGreenBufferSize(size)); } -QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const +void PythonQtWrapper_QSurfaceFormat::setMajorVersion(QSurfaceFormat* theWrappedObject, int majorVersion) { - return ( theWrappedObject->style()); + ( theWrappedObject->setMajorVersion(majorVersion)); } +void PythonQtWrapper_QSurfaceFormat::setMinorVersion(QSurfaceFormat* theWrappedObject, int minorVersion) +{ + ( theWrappedObject->setMinorVersion(minorVersion)); +} +void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) +{ + ( theWrappedObject->setOption(opt)); +} -PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); } -QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) + +void PythonQtWrapper_QSurfaceFormat::setOptions(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions options) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("create"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyle*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStyle* returnValue{}; - void* args[2] = {NULL, (void*)&key0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setOptions(options)); } - return 0; + +void PythonQtWrapper_QSurfaceFormat::setProfile(QSurfaceFormat* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +{ + ( theWrappedObject->setProfile(profile)); } -QStylePlugin* PythonQtWrapper_QStylePlugin::new_QStylePlugin(QObject* parent) -{ -return new PythonQtShell_QStylePlugin(parent); } -const QMetaObject* PythonQtShell_QStylePlugin::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStylePlugin::staticMetaObject); - } else { - return &QStylePlugin::staticMetaObject; - } +void PythonQtWrapper_QSurfaceFormat::setRedBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setRedBufferSize(size)); } -int PythonQtShell_QStylePlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QStylePlugin::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +void PythonQtWrapper_QSurfaceFormat::setRenderableType(QSurfaceFormat* theWrappedObject, QSurfaceFormat::RenderableType type) +{ + ( theWrappedObject->setRenderableType(type)); +} + +void PythonQtWrapper_QSurfaceFormat::setSamples(QSurfaceFormat* theWrappedObject, int numSamples) +{ + ( theWrappedObject->setSamples(numSamples)); +} + +void PythonQtWrapper_QSurfaceFormat::setStencilBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setStencilBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setStereo(QSurfaceFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setStereo(enable)); +} + +void PythonQtWrapper_QSurfaceFormat::setSwapBehavior(QSurfaceFormat* theWrappedObject, QSurfaceFormat::SwapBehavior behavior) +{ + ( theWrappedObject->setSwapBehavior(behavior)); +} + +void PythonQtWrapper_QSurfaceFormat::setSwapInterval(QSurfaceFormat* theWrappedObject, int interval) +{ + ( theWrappedObject->setSwapInterval(interval)); +} + +void PythonQtWrapper_QSurfaceFormat::setVersion(QSurfaceFormat* theWrappedObject, int major, int minor) +{ + ( theWrappedObject->setVersion(major, minor)); +} + +int PythonQtWrapper_QSurfaceFormat::stencilBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->stencilBufferSize()); +} + +bool PythonQtWrapper_QSurfaceFormat::stereo(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->stereo()); +} + +QSurfaceFormat::SwapBehavior PythonQtWrapper_QSurfaceFormat::swapBehavior(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->swapBehavior()); +} + +int PythonQtWrapper_QSurfaceFormat::swapInterval(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->swapInterval()); +} + +bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) const +{ + return ( theWrappedObject->testOption(opt)); +} + +bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option) const +{ + return ( theWrappedObject->testOption(option)); } -QStyle* PythonQtWrapper_QStylePlugin::create(QStylePlugin* theWrappedObject, const QString& key) + +QPair PythonQtWrapper_QSurfaceFormat::version(QSurfaceFormat* theWrappedObject) const { - return ( theWrappedObject->create(key)); + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QSurfaceFormat::py_toString(QSurfaceFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { +PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createEditor"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&parent0, (void*)&option1, (void*)&index2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QStyledItemDelegate::createEditor(parent0, option1, index2); + QSwipeGesture::childEvent(event0); } -void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const +void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("destroyEditor"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -290,32 +368,32 @@ if (_wrapper) { } } } - QStyledItemDelegate::destroyEditor(editor0, index1); + QSwipeGesture::customEvent(event0); } -QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const +bool PythonQtShell_QSwipeGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("displayText"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&value0, (void*)&locale1}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -323,32 +401,32 @@ if (_wrapper) { } } } - return QStyledItemDelegate::displayText(value0, locale1); + return QSwipeGesture::event(event0); } -bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +bool PythonQtShell_QSwipeGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -356,87 +434,86 @@ if (_wrapper) { } } } - return QStyledItemDelegate::editorEvent(event0, model1, option2, index3); + return QSwipeGesture::eventFilter(watched0, event1); } -bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QStyledItemDelegate::eventFilter(object0, event1); + QSwipeGesture::timerEvent(event0); } -bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +QSwipeGesture* PythonQtWrapper_QSwipeGesture::new_QSwipeGesture(QObject* parent) +{ +return new PythonQtShell_QSwipeGesture(parent); } + +const QMetaObject* PythonQtShell_QSwipeGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSwipeGesture::staticMetaObject); + } else { + return &QSwipeGesture::staticMetaObject; } } - return QStyledItemDelegate::helpEvent(event0, view1, option2, index3); +int PythonQtShell_QSwipeGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSwipeGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::horizontalDirection(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->horizontalDirection()); +} + +void PythonQtWrapper_QSwipeGesture::setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setSwipeAngle(value)); +} + +qreal PythonQtWrapper_QSwipeGesture::swipeAngle(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->swipeAngle()); +} + +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::verticalDirection(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->verticalDirection()); +} + + + +PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const +void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initStyleOption"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -444,21 +521,21 @@ if (_wrapper) { } } } - QStyledItemDelegate::initStyleOption(option0, index1); + QSyntaxHighlighter::childEvent(event0); } -void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -466,32 +543,32 @@ if (_wrapper) { } } } - QStyledItemDelegate::paint(painter0, option1, index2); + QSyntaxHighlighter::customEvent(event0); } -QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const +bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintingRoles"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVector"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVector*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -499,43 +576,54 @@ if (_wrapper) { } } } - return QStyledItemDelegate::paintingRoles(); + return QSyntaxHighlighter::event(event0); } -void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const +bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setEditorData"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QStyledItemDelegate::setEditorData(editor0, index1); + return QSyntaxHighlighter::eventFilter(watched0, event1); } -void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModelData"); + static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -543,54 +631,21 @@ if (_wrapper) { } } } - QStyledItemDelegate::setModelData(editor0, model1, index2); -} -QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&option0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::sizeHint(option0, index1); + } -void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometry"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -598,146 +653,168 @@ if (_wrapper) { } } } - QStyledItemDelegate::updateEditorGeometry(editor0, option1, index2); + QSyntaxHighlighter::timerEvent(event0); } -QStyledItemDelegate* PythonQtWrapper_QStyledItemDelegate::new_QStyledItemDelegate(QObject* parent) +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QObject* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextDocument* parent) { -return new PythonQtShell_QStyledItemDelegate(parent); } +return new PythonQtShell_QSyntaxHighlighter(parent); } -const QMetaObject* PythonQtShell_QStyledItemDelegate::metaObject() const { +const QMetaObject* PythonQtShell_QSyntaxHighlighter::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStyledItemDelegate::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSyntaxHighlighter::staticMetaObject); } else { - return &QStyledItemDelegate::staticMetaObject; + return &QSyntaxHighlighter::staticMetaObject; } } -int PythonQtShell_QStyledItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QStyledItemDelegate::qt_metacall(call, id, args); +int PythonQtShell_QSyntaxHighlighter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSyntaxHighlighter::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const +QTextBlock PythonQtWrapper_QSyntaxHighlighter::currentBlock(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlock()); +} + +int PythonQtWrapper_QSyntaxHighlighter::currentBlockState(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockState()); +} + +QTextBlockUserData* PythonQtWrapper_QSyntaxHighlighter::currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockUserData()); +} + +QTextDocument* PythonQtWrapper_QSyntaxHighlighter::document(QSyntaxHighlighter* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QTextCharFormat PythonQtWrapper_QSyntaxHighlighter::format(QSyntaxHighlighter* theWrappedObject, int pos) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_format(pos)); +} + +void PythonQtWrapper_QSyntaxHighlighter::highlightBlock(QSyntaxHighlighter* theWrappedObject, const QString& text) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_highlightBlock(text)); +} + +int PythonQtWrapper_QSyntaxHighlighter::previousBlockState(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_previousBlockState()); +} + +void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockState(QSyntaxHighlighter* theWrappedObject, int newState) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockState(newState)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockUserData(QSyntaxHighlighter* theWrappedObject, QTextBlockUserData* data) { - return ( theWrappedObject->displayText(value, locale)); + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockUserData(data)); } -bool PythonQtWrapper_QStyledItemDelegate::eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event) +void PythonQtWrapper_QSyntaxHighlighter::setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc) { - return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_eventFilter(object, event)); + ( theWrappedObject->setDocument(doc)); } -void PythonQtWrapper_QStyledItemDelegate::initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QColor& color) { - ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_initStyleOption(option, index)); + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, color)); } -QItemEditorFactory* PythonQtWrapper_QStyledItemDelegate::itemEditorFactory(QStyledItemDelegate* theWrappedObject) const +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QFont& font) { - return ( theWrappedObject->itemEditorFactory()); + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, font)); } -void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory) +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QTextCharFormat& format) { - ( theWrappedObject->setItemEditorFactory(factory)); + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, format)); } -PythonQtShell_QSurface::~PythonQtShell_QSurface() { +PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QSurfaceFormat PythonQtShell_QSurface::format() const +void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("format"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSurfaceFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); - } else { - returnValue = *((QSurfaceFormat*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSurfaceFormat(); + QSystemTrayIcon::childEvent(event0); } -QSize PythonQtShell_QSurface::size() const +void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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 = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSize(); + QSystemTrayIcon::customEvent(event0); } -QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const +bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("surfaceHandle"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPlatformSurface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPlatformSurface* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPlatformSurface**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -745,32 +822,32 @@ if (_wrapper) { } } } - return 0; + return QSystemTrayIcon::event(event0); } -QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const +bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("surfaceType"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSurface::SurfaceType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSurface::SurfaceType*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -778,323 +855,461 @@ if (_wrapper) { } } } - return QSurface::SurfaceType(); + return QSystemTrayIcon::eventFilter(watched0, event1); } -QSurface* PythonQtWrapper_QSurface::new_QSurface(QSurface::SurfaceClass type) -{ -return new PythonQtShell_QSurface(type); } - -QSurfaceFormat PythonQtWrapper_QSurface::format(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QSize PythonQtWrapper_QSurface::size(QSurface* theWrappedObject) const +void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->size()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QSurface::supportsOpenGL(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->supportsOpenGL()); + QSystemTrayIcon::timerEvent(event0); } +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(parent); } -QSurface::SurfaceClass PythonQtWrapper_QSurface::surfaceClass(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->surfaceClass()); -} +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(const QIcon& icon, QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(icon, parent); } -QPlatformSurface* PythonQtWrapper_QSurface::surfaceHandle(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->surfaceHandle()); +const QMetaObject* PythonQtShell_QSystemTrayIcon::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSystemTrayIcon::staticMetaObject); + } else { + return &QSystemTrayIcon::staticMetaObject; + } } - -QSurface::SurfaceType PythonQtWrapper_QSurface::surfaceType(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->surfaceType()); +int PythonQtShell_QSystemTrayIcon::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSystemTrayIcon::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - - - -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat() -{ -return new QSurfaceFormat(); } - -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(QSurfaceFormat::FormatOptions options) -{ -return new QSurfaceFormat(options); } - -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(const QSurfaceFormat& other) -{ -return new QSurfaceFormat(other); } - -int PythonQtWrapper_QSurfaceFormat::alphaBufferSize(QSurfaceFormat* theWrappedObject) const +QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) const { - return ( theWrappedObject->alphaBufferSize()); + return ( theWrappedObject->contextMenu()); } -int PythonQtWrapper_QSurfaceFormat::blueBufferSize(QSurfaceFormat* theWrappedObject) const +QRect PythonQtWrapper_QSystemTrayIcon::geometry(QSystemTrayIcon* theWrappedObject) const { - return ( theWrappedObject->blueBufferSize()); + return ( theWrappedObject->geometry()); } -QSurfaceFormat::ColorSpace PythonQtWrapper_QSurfaceFormat::colorSpace(QSurfaceFormat* theWrappedObject) const +QIcon PythonQtWrapper_QSystemTrayIcon::icon(QSystemTrayIcon* theWrappedObject) const { - return ( theWrappedObject->colorSpace()); + return ( theWrappedObject->icon()); } -QSurfaceFormat PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_defaultFormat() +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_isSystemTrayAvailable() { - return (QSurfaceFormat::defaultFormat()); + return (QSystemTrayIcon::isSystemTrayAvailable()); } -int PythonQtWrapper_QSurfaceFormat::depthBufferSize(QSurfaceFormat* theWrappedObject) const +bool PythonQtWrapper_QSystemTrayIcon::isVisible(QSystemTrayIcon* theWrappedObject) const { - return ( theWrappedObject->depthBufferSize()); + return ( theWrappedObject->isVisible()); } -int PythonQtWrapper_QSurfaceFormat::greenBufferSize(QSurfaceFormat* theWrappedObject) const +void PythonQtWrapper_QSystemTrayIcon::setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu) { - return ( theWrappedObject->greenBufferSize()); + ( theWrappedObject->setContextMenu(menu)); } -bool PythonQtWrapper_QSurfaceFormat::hasAlpha(QSurfaceFormat* theWrappedObject) const +void PythonQtWrapper_QSystemTrayIcon::setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon) { - return ( theWrappedObject->hasAlpha()); + ( theWrappedObject->setIcon(icon)); } -int PythonQtWrapper_QSurfaceFormat::majorVersion(QSurfaceFormat* theWrappedObject) const +void PythonQtWrapper_QSystemTrayIcon::setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip) { - return ( theWrappedObject->majorVersion()); + ( theWrappedObject->setToolTip(tip)); } -int PythonQtWrapper_QSurfaceFormat::minorVersion(QSurfaceFormat* theWrappedObject) const +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() { - return ( theWrappedObject->minorVersion()); + return (QSystemTrayIcon::supportsMessages()); } -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other) +QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->toolTip()); } -bool PythonQtWrapper_QSurfaceFormat::__eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) -{ - return ( (*theWrappedObject)== arg__2); -} -QSurfaceFormat::FormatOptions PythonQtWrapper_QSurfaceFormat::options(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->options()); -} -QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QSurfaceFormat::profile(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->profile()); +PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -int PythonQtWrapper_QSurfaceFormat::redBufferSize(QSurfaceFormat* theWrappedObject) const +void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->redBufferSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QSurfaceFormat::RenderableType PythonQtWrapper_QSurfaceFormat::renderableType(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->renderableType()); + QTabBar::actionEvent(event0); } - -int PythonQtWrapper_QSurfaceFormat::samples(QSurfaceFormat* theWrappedObject) const +void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { - return ( theWrappedObject->samples()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSurfaceFormat::setAlphaBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setAlphaBufferSize(size)); + QTabBar::changeEvent(arg__1); } - -void PythonQtWrapper_QSurfaceFormat::setBlueBufferSize(QSurfaceFormat* theWrappedObject, int size) +void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) { - ( theWrappedObject->setBlueBufferSize(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSurfaceFormat::setColorSpace(QSurfaceFormat* theWrappedObject, QSurfaceFormat::ColorSpace colorSpace) -{ - ( theWrappedObject->setColorSpace(colorSpace)); + QTabBar::childEvent(event0); } - -void PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_setDefaultFormat(const QSurfaceFormat& format) +void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) { - (QSurfaceFormat::setDefaultFormat(format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSurfaceFormat::setDepthBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setDepthBufferSize(size)); + QTabBar::closeEvent(event0); } - -void PythonQtWrapper_QSurfaceFormat::setGreenBufferSize(QSurfaceFormat* theWrappedObject, int size) +void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) { - ( theWrappedObject->setGreenBufferSize(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSurfaceFormat::setMajorVersion(QSurfaceFormat* theWrappedObject, int majorVersion) -{ - ( theWrappedObject->setMajorVersion(majorVersion)); + QTabBar::contextMenuEvent(event0); } - -void PythonQtWrapper_QSurfaceFormat::setMinorVersion(QSurfaceFormat* theWrappedObject, int minorVersion) +void PythonQtShell_QTabBar::customEvent(QEvent* event0) { - ( theWrappedObject->setMinorVersion(minorVersion)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) -{ - ( theWrappedObject->setOption(opt)); + QTabBar::customEvent(event0); } - -void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option, bool on) +int PythonQtShell_QTabBar::devType() const { - ( theWrappedObject->setOption(option, on)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSurfaceFormat::setOptions(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions options) -{ - ( theWrappedObject->setOptions(options)); + return QTabBar::devType(); } - -void PythonQtWrapper_QSurfaceFormat::setProfile(QSurfaceFormat* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setProfile(profile)); -} - -void PythonQtWrapper_QSurfaceFormat::setRedBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setRedBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setRenderableType(QSurfaceFormat* theWrappedObject, QSurfaceFormat::RenderableType type) -{ - ( theWrappedObject->setRenderableType(type)); -} - -void PythonQtWrapper_QSurfaceFormat::setSamples(QSurfaceFormat* theWrappedObject, int numSamples) -{ - ( theWrappedObject->setSamples(numSamples)); -} - -void PythonQtWrapper_QSurfaceFormat::setStencilBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setStencilBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setStereo(QSurfaceFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setStereo(enable)); -} - -void PythonQtWrapper_QSurfaceFormat::setSwapBehavior(QSurfaceFormat* theWrappedObject, QSurfaceFormat::SwapBehavior behavior) -{ - ( theWrappedObject->setSwapBehavior(behavior)); -} - -void PythonQtWrapper_QSurfaceFormat::setSwapInterval(QSurfaceFormat* theWrappedObject, int interval) -{ - ( theWrappedObject->setSwapInterval(interval)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSurfaceFormat::setVersion(QSurfaceFormat* theWrappedObject, int major, int minor) -{ - ( theWrappedObject->setVersion(major, minor)); + QTabBar::dragEnterEvent(event0); } - -int PythonQtWrapper_QSurfaceFormat::stencilBufferSize(QSurfaceFormat* theWrappedObject) const +void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->stencilBufferSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QSurfaceFormat::stereo(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->stereo()); + QTabBar::dragLeaveEvent(event0); } - -QSurfaceFormat::SwapBehavior PythonQtWrapper_QSurfaceFormat::swapBehavior(QSurfaceFormat* theWrappedObject) const +void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->swapBehavior()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QSurfaceFormat::swapInterval(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->swapInterval()); + QTabBar::dragMoveEvent(event0); } - -bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) const +void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->testOption(opt)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option) const -{ - return ( theWrappedObject->testOption(option)); + QTabBar::dropEvent(event0); } - -QPair PythonQtWrapper_QSurfaceFormat::version(QSurfaceFormat* theWrappedObject) const +void PythonQtShell_QTabBar::enterEvent(QEvent* event0) { - return ( theWrappedObject->version()); -} - -QString PythonQtWrapper_QSurfaceFormat::py_toString(QSurfaceFormat* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -QSwipeGesture* PythonQtWrapper_QSwipeGesture::new_QSwipeGesture(QObject* parent) -{ -return new QSwipeGesture(parent); } - -QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::horizontalDirection(QSwipeGesture* theWrappedObject) const -{ - return ( theWrappedObject->horizontalDirection()); + QTabBar::enterEvent(event0); } - -void PythonQtWrapper_QSwipeGesture::setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value) +bool PythonQtShell_QTabBar::event(QEvent* arg__1) { - ( theWrappedObject->setSwipeAngle(value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QSwipeGesture::swipeAngle(QSwipeGesture* theWrappedObject) const -{ - return ( theWrappedObject->swipeAngle()); + return QTabBar::event(arg__1); } - -QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::verticalDirection(QSwipeGesture* theWrappedObject) const +bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->verticalDirection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTabBar::eventFilter(watched0, event1); } -void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) +void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("highlightBlock"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1102,124 +1317,32 @@ if (_wrapper) { } } } - -} -QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QObject* parent) -{ -return new PythonQtShell_QSyntaxHighlighter(parent); } - -QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextDocument* parent) -{ -return new PythonQtShell_QSyntaxHighlighter(parent); } - -const QMetaObject* PythonQtShell_QSyntaxHighlighter::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSyntaxHighlighter::staticMetaObject); - } else { - return &QSyntaxHighlighter::staticMetaObject; - } + QTabBar::focusInEvent(event0); } -int PythonQtShell_QSyntaxHighlighter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSyntaxHighlighter::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QTextBlock PythonQtWrapper_QSyntaxHighlighter::currentBlock(QSyntaxHighlighter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlock()); -} - -int PythonQtWrapper_QSyntaxHighlighter::currentBlockState(QSyntaxHighlighter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockState()); -} - -QTextBlockUserData* PythonQtWrapper_QSyntaxHighlighter::currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockUserData()); -} - -QTextDocument* PythonQtWrapper_QSyntaxHighlighter::document(QSyntaxHighlighter* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QTextCharFormat PythonQtWrapper_QSyntaxHighlighter::format(QSyntaxHighlighter* theWrappedObject, int pos) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_format(pos)); -} - -void PythonQtWrapper_QSyntaxHighlighter::highlightBlock(QSyntaxHighlighter* theWrappedObject, const QString& text) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_highlightBlock(text)); -} - -int PythonQtWrapper_QSyntaxHighlighter::previousBlockState(QSyntaxHighlighter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_previousBlockState()); -} - -void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockState(QSyntaxHighlighter* theWrappedObject, int newState) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockState(newState)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockUserData(QSyntaxHighlighter* theWrappedObject, QTextBlockUserData* data) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockUserData(data)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc) -{ - ( theWrappedObject->setDocument(doc)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QColor& color) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, color)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QFont& font) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, font)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QTextCharFormat& format) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, format)); -} - - - -PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) +bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1227,103 +1350,21 @@ if (_wrapper) { } } } - return QSystemTrayIcon::event(event0); -} -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); } - -const QMetaObject* PythonQtShell_QSystemTrayIcon::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSystemTrayIcon::staticMetaObject); - } else { - return &QSystemTrayIcon::staticMetaObject; - } -} -int PythonQtShell_QSystemTrayIcon::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSystemTrayIcon::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->contextMenu()); -} - -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()); -} - -QIcon PythonQtWrapper_QSystemTrayIcon::icon(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_isSystemTrayAvailable() -{ - return (QSystemTrayIcon::isSystemTrayAvailable()); -} - -bool PythonQtWrapper_QSystemTrayIcon::isVisible(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -void PythonQtWrapper_QSystemTrayIcon::setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu) -{ - ( theWrappedObject->setContextMenu(menu)); -} - -void PythonQtWrapper_QSystemTrayIcon::setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -void PythonQtWrapper_QSystemTrayIcon::setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip) -{ - ( theWrappedObject->setToolTip(tip)); -} - -bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() -{ - return (QSystemTrayIcon::supportsMessages()); -} - -QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - - - -PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTabBar::focusNextPrevChild(next0); } -void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1331,65 +1372,87 @@ if (_wrapper) { } } } - QTabBar::actionEvent(event0); + QTabBar::focusOutEvent(event0); } -void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) +bool PythonQtShell_QTabBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::changeEvent(arg__1); + return QTabBar::hasHeightForWidth(); } -void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) +int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::closeEvent(event0); + return QTabBar::heightForWidth(arg__1); } -void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1397,54 +1460,43 @@ if (_wrapper) { } } } - QTabBar::contextMenuEvent(event0); + QTabBar::hideEvent(arg__1); } -int PythonQtShell_QTabBar::devType() const +void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::devType(); + QTabBar::initPainter(painter0); } -void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1452,43 +1504,54 @@ if (_wrapper) { } } } - QTabBar::dragEnterEvent(event0); + QTabBar::inputMethodEvent(arg__1); } -void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) +QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::dragLeaveEvent(event0); + return QTabBar::inputMethodQuery(arg__1); } -void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1496,21 +1559,21 @@ if (_wrapper) { } } } - QTabBar::dragMoveEvent(event0); + QTabBar::keyPressEvent(arg__1); } -void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1518,21 +1581,21 @@ if (_wrapper) { } } } - QTabBar::dropEvent(event0); + QTabBar::keyReleaseEvent(event0); } -void PythonQtShell_QTabBar::enterEvent(QEvent* event0) +void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1540,32 +1603,32 @@ if (_wrapper) { } } } - QTabBar::enterEvent(event0); + QTabBar::leaveEvent(event0); } -bool PythonQtShell_QTabBar::event(QEvent* arg__1) +int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1573,54 +1636,65 @@ if (_wrapper) { } } } - return QTabBar::event(arg__1); + return QTabBar::metric(arg__1); } -void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) +QSize PythonQtShell_QTabBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::focusInEvent(event0); + return QTabBar::minimumSizeHint(); } -bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) +QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QSize" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1628,21 +1702,21 @@ if (_wrapper) { } } } - return QTabBar::focusNextPrevChild(next0); + return QTabBar::minimumTabSizeHint(index0); } -void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1650,87 +1724,65 @@ if (_wrapper) { } } } - QTabBar::focusOutEvent(event0); + QTabBar::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QTabBar::hasHeightForWidth() const +void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::hasHeightForWidth(); + QTabBar::mouseMoveEvent(arg__1); } -int PythonQtShell_QTabBar::heightForWidth(int arg__1) const +void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::heightForWidth(arg__1); + QTabBar::mousePressEvent(arg__1); } -void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1738,21 +1790,21 @@ if (_wrapper) { } } } - QTabBar::hideEvent(arg__1); + QTabBar::mouseReleaseEvent(arg__1); } -void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const +void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1760,54 +1812,65 @@ if (_wrapper) { } } } - QTabBar::initPainter(painter0); + QTabBar::moveEvent(event0); } -void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) +bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::inputMethodEvent(arg__1); + return QTabBar::nativeEvent(eventType0, message1, result2); } -QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1815,21 +1878,21 @@ if (_wrapper) { } } } - return QTabBar::inputMethodQuery(arg__1); + return QTabBar::paintEngine(); } -void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1837,43 +1900,54 @@ if (_wrapper) { } } } - QTabBar::keyPressEvent(arg__1); + QTabBar::paintEvent(arg__1); } -void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) +QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::keyReleaseEvent(event0); + return QTabBar::redirected(offset0); } -void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) +void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1881,65 +1955,54 @@ if (_wrapper) { } } } - QTabBar::leaveEvent(event0); + QTabBar::resizeEvent(arg__1); } -int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QTabBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::metric(arg__1); + QTabBar::setVisible(visible0); } -QSize PythonQtShell_QTabBar::minimumSizeHint() const +QPainter* PythonQtShell_QTabBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1947,54 +2010,21 @@ if (_wrapper) { } } } - return QTabBar::minimumSizeHint(); + return QTabBar::sharedPainter(); } -QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const +void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumTabSizeHint"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabBar::minimumTabSizeHint(index0); -} -void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2002,43 +2032,54 @@ if (_wrapper) { } } } - QTabBar::mouseDoubleClickEvent(event0); + QTabBar::showEvent(arg__1); } -void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) +QSize PythonQtShell_QTabBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::mouseMoveEvent(arg__1); + return QTabBar::sizeHint(); } -void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QTabBar::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2046,21 +2087,21 @@ if (_wrapper) { } } } - QTabBar::mousePressEvent(arg__1); + QTabBar::tabInserted(index0); } -void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QTabBar::tabLayoutChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2068,21 +2109,21 @@ if (_wrapper) { } } } - QTabBar::mouseReleaseEvent(arg__1); + QTabBar::tabLayoutChange(); } -void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTabBar::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2090,65 +2131,32 @@ if (_wrapper) { } } } - QTabBar::moveEvent(event0); -} -bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabBar::nativeEvent(eventType0, message1, result2); + QTabBar::tabRemoved(index0); } -QPaintEngine* PythonQtShell_QTabBar::paintEngine() const +QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QSize" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2156,21 +2164,21 @@ if (_wrapper) { } } } - return QTabBar::paintEngine(); + return QTabBar::tabSizeHint(index0); } -void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2178,54 +2186,43 @@ if (_wrapper) { } } } - QTabBar::paintEvent(arg__1); + QTabBar::tabletEvent(event0); } -QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const +void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::redirected(offset0); + QTabBar::timerEvent(event0); } -void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2233,321 +2230,46 @@ if (_wrapper) { } } } - QTabBar::resizeEvent(arg__1); + QTabBar::wheelEvent(event0); } -void PythonQtShell_QTabBar::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QTabBar* PythonQtWrapper_QTabBar::new_QTabBar(QWidget* parent) +{ +return new PythonQtShell_QTabBar(parent); } + +const QMetaObject* PythonQtShell_QTabBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabBar::staticMetaObject); + } else { + return &QTabBar::staticMetaObject; } } - QTabBar::setVisible(visible0); +int PythonQtShell_QTabBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTabBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QPainter* PythonQtShell_QTabBar::sharedPainter() const +QString PythonQtWrapper_QTabBar::accessibleTabName(QTabBar* theWrappedObject, int index) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->accessibleTabName(index)); } - return QTabBar::sharedPainter(); + +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addTab(icon, text)); } -void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) + +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->addTab(text)); } - QTabBar::showEvent(arg__1); + +bool PythonQtWrapper_QTabBar::autoHide(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->autoHide()); } -QSize PythonQtShell_QTabBar::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTabBar::sizeHint(); -} -void PythonQtShell_QTabBar::tabInserted(int index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::tabInserted(index0); -} -void PythonQtShell_QTabBar::tabLayoutChange() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabLayoutChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::tabLayoutChange(); -} -void PythonQtShell_QTabBar::tabRemoved(int index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::tabRemoved(index0); -} -QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTabBar::tabSizeHint(index0); -} -void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::tabletEvent(event0); -} -void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::timerEvent(event0); -} -void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::wheelEvent(event0); -} -QTabBar* PythonQtWrapper_QTabBar::new_QTabBar(QWidget* parent) -{ -return new PythonQtShell_QTabBar(parent); } - -const QMetaObject* PythonQtShell_QTabBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabBar::staticMetaObject); - } else { - return &QTabBar::staticMetaObject; - } -} -int PythonQtShell_QTabBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTabBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QTabBar::accessibleTabName(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->accessibleTabName(index)); -} - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addTab(icon, text)); -} - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addTab(text)); -} - -bool PythonQtWrapper_QTabBar::autoHide(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->autoHide()); -} - -bool PythonQtWrapper_QTabBar::changeCurrentOnDrag(QTabBar* theWrappedObject) const + +bool PythonQtWrapper_QTabBar::changeCurrentOnDrag(QTabBar* theWrappedObject) const { return ( theWrappedObject->changeCurrentOnDrag()); } @@ -2832,11 +2554,6 @@ bool PythonQtWrapper_QTabBar::tabsClosable(QTabBar* theWrappedObject) const return ( theWrappedObject->tabsClosable()); } -void PythonQtWrapper_QTabBar::timerEvent(QTabBar* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_timerEvent(event)); -} - bool PythonQtWrapper_QTabBar::usesScrollButtons(QTabBar* theWrappedObject) const { return ( theWrappedObject->usesScrollButtons()); @@ -2858,9 +2575,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2880,9 +2597,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2892,6 +2609,28 @@ if (_wrapper) { } QTabWidget::changeEvent(arg__1); } +void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::childEvent(event0); +} void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -2902,9 +2641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2924,9 +2663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2936,6 +2675,28 @@ if (_wrapper) { } QTabWidget::contextMenuEvent(event0); } +void PythonQtShell_QTabWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::customEvent(event0); +} int PythonQtShell_QTabWidget::devType() const { if (_wrapper) { @@ -2947,19 +2708,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2979,9 +2740,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3001,9 +2762,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3023,9 +2784,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3045,9 +2806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3067,9 +2828,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3090,19 +2851,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3112,22 +2873,55 @@ if (_wrapper) { } return QTabWidget::event(arg__1); } -void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) +bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTabWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { PyErr_Clear(); } } @@ -3145,19 +2939,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3177,9 +2971,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3200,19 +2994,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3233,19 +3027,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&width0}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3265,9 +3059,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3287,9 +3081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3309,9 +3103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3332,19 +3126,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3364,9 +3158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3386,9 +3180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3408,9 +3202,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3431,19 +3225,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3464,19 +3258,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3496,9 +3290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3518,9 +3312,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3540,9 +3334,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3562,9 +3356,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3584,9 +3378,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3607,19 +3401,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3640,19 +3434,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3672,9 +3466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3695,19 +3489,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3727,9 +3521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3749,9 +3543,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3772,19 +3566,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3804,9 +3598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3827,19 +3621,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3859,9 +3653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3881,9 +3675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3903,9 +3697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3915,6 +3709,28 @@ if (_wrapper) { } QTabWidget::tabletEvent(event0); } +void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::timerEvent(event0); +} void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -3925,9 +3741,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4220,9 +4036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4242,9 +4058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4254,6 +4070,28 @@ if (_wrapper) { } QTableView::changeEvent(arg__1); } +void PythonQtShell_QTableView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::childEvent(event0); +} void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { @@ -4264,9 +4102,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4286,9 +4124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4308,9 +4146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4330,9 +4168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4352,9 +4190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4364,6 +4202,28 @@ if (_wrapper) { } QTableView::currentChanged(current0, previous1); } +void PythonQtShell_QTableView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::customEvent(event0); +} void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { @@ -4374,9 +4234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4397,19 +4257,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4429,9 +4289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4451,9 +4311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4473,9 +4333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4495,9 +4355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4517,9 +4377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4540,19 +4400,19 @@ if (_wrapper) { 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*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4572,9 +4432,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4594,9 +4454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4617,19 +4477,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4650,19 +4510,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4682,9 +4542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4705,19 +4565,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4737,9 +4597,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4760,19 +4620,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4793,19 +4653,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4825,9 +4685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4848,19 +4708,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4880,9 +4740,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4902,9 +4762,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4925,19 +4785,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4957,9 +4817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4979,9 +4839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5002,19 +4862,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5035,19 +4895,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5067,9 +4927,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5089,9 +4949,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5111,9 +4971,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5133,9 +4993,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5156,19 +5016,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5189,19 +5049,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5221,9 +5081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5243,9 +5103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5265,9 +5125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5287,9 +5147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5310,19 +5170,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5342,9 +5202,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5365,19 +5225,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5398,19 +5258,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5430,9 +5290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5453,19 +5313,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5485,9 +5345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5507,9 +5367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5529,9 +5389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5551,9 +5411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5573,9 +5433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5595,9 +5455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5617,9 +5477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5640,19 +5500,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5672,9 +5532,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5695,19 +5555,19 @@ if (_wrapper) { 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*)&index0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5727,9 +5587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5749,9 +5609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5771,9 +5631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5793,9 +5653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5815,9 +5675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5837,9 +5697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5860,19 +5720,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5892,9 +5752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5915,19 +5775,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5948,19 +5808,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5981,19 +5841,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6013,9 +5873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6035,9 +5895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6057,9 +5917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6079,9 +5939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6101,9 +5961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6123,9 +5983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6146,19 +6006,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6178,9 +6038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6200,9 +6060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6223,19 +6083,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6256,19 +6116,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6289,19 +6149,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6322,19 +6182,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6355,19 +6215,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6387,9 +6247,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6577,9 +6437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6599,9 +6459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6611,6 +6471,28 @@ if (_wrapper) { } QTableWidget::changeEvent(arg__1); } +void PythonQtShell_QTableWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::childEvent(event0); +} void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { @@ -6621,9 +6503,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6643,9 +6525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6665,9 +6547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6687,9 +6569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6709,9 +6591,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6721,6 +6603,28 @@ if (_wrapper) { } QTableWidget::currentChanged(current0, previous1); } +void PythonQtShell_QTableWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::customEvent(event0); +} void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { @@ -6731,9 +6635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6754,19 +6658,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6786,9 +6690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6808,9 +6712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6830,9 +6734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6852,9 +6756,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6874,9 +6778,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6897,19 +6801,19 @@ if (_wrapper) { 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*)&row0, (void*)&column1, (void*)&data2, (void*)&action3}; + void* args[5] = {nullptr, (void*)&row0, (void*)&column1, (void*)&data2, (void*)&action3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6930,19 +6834,19 @@ if (_wrapper) { 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*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6962,9 +6866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6984,9 +6888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7007,19 +6911,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7029,52 +6933,3342 @@ if (_wrapper) { } return QTableWidget::event(e0); } -bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::eventFilter(object0, event1); +} +void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::focusInEvent(event0); +} +bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::focusOutEvent(event0); +} +bool PythonQtShell_QTableWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::hasHeightForWidth(); +} +int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::heightForWidth(arg__1); +} +void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::hideEvent(event0); +} +int PythonQtShell_QTableWidget::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::horizontalOffset(); +} +void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::indexAt(p0); +} +void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::initPainter(painter0); +} +void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::inputMethodEvent(event0); +} +QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::inputMethodQuery(query0); +} +bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::isIndexHidden(index0); +} +void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::keyPressEvent(event0); +} +void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::keyboardSearch(search0); +} +void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::leaveEvent(event0); +} +int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::mimeData(items0); +} +QStringList PythonQtShell_QTableWidget::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::mimeTypes(); +} +QSize PythonQtShell_QTableWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::minimumSizeHint(); +} +void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::mousePressEvent(event0); +} +void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::moveEvent(event0); +} +bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::paintEngine(); +} +void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::redirected(offset0); +} +void PythonQtShell_QTableWidget::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::reset(); +} +void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::resizeEvent(event0); +} +void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::scrollTo(index0, hint1); +} +void PythonQtShell_QTableWidget::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectAll"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::selectAll(); +} +QList PythonQtShell_QTableWidget::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::selectedIndexes(); +} +void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&index0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::selectionCommand(index0, event1); +} +void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setRootIndex(index0); +} +void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setSelection(rect0, command1); +} +void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setSelectionModel(selectionModel0); +} +void PythonQtShell_QTableWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setVisible(visible0); +} +void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTableWidget::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::sharedPainter(); +} +void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::showEvent(event0); +} +QSize PythonQtShell_QTableWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::sizeHint(); +} +int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::sizeHintForColumn(column0); +} +int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHintForRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::sizeHintForRow(row0); +} +void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::startDrag(supportedActions0); +} +Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::supportedDropActions(); +} +void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::tabletEvent(event0); +} +void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::timerEvent(event0); +} +void PythonQtShell_QTableWidget::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::updateEditorData(); +} +void PythonQtShell_QTableWidget::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::updateEditorGeometries(); +} +void PythonQtShell_QTableWidget::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::updateGeometries(); +} +int PythonQtShell_QTableWidget::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::verticalOffset(); +} +void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::verticalScrollbarAction(action0); +} +void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::viewOptions(); +} +bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::viewportEvent(event0); +} +QSize PythonQtShell_QTableWidget::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::viewportSizeHint(); +} +QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::visualRect(index0); +} +QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidget::visualRegionForSelection(selection0); +} +void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + 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); } + +const QMetaObject* PythonQtShell_QTableWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableWidget::staticMetaObject); + } else { + return &QTableWidget::staticMetaObject; + } +} +int PythonQtShell_QTableWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTableWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QWidget* PythonQtWrapper_QTableWidget::cellWidget(QTableWidget* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->cellWidget(row, column)); +} + +void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->closePersistentEditor(item)); +} + +int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( theWrappedObject->column(item)); +} + +int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentColumn()); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentRow()); +} + +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::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->editItem(item)); +} + +QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findItems(text, flags)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const +{ + return ( theWrappedObject->horizontalHeaderItem(column)); +} + +QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->item(row, column)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +} + +const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->itemPrototype()); +} + +QList PythonQtWrapper_QTableWidget::items(QTableWidget* theWrappedObject, const QMimeData* data) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_items(data)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::mimeData(QTableWidget* theWrappedObject, const QList items) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeData(items)); +} + +QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); +} + +void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->openPersistentEditor(item)); +} + +void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) +{ + ( theWrappedObject->removeCellWidget(row, column)); +} + +int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( theWrappedObject->row(item)); +} + +int PythonQtWrapper_QTableWidget::rowCount(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedRanges()); +} + +void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setCellWidget(row, column, widget)); +} + +void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) +{ + ( theWrappedObject->setCurrentCell(row, column)); +} + +void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentCell(row, column, command)); +} + +void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); +} + +void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentItem(item, command)); +} + +void PythonQtWrapper_QTableWidget::setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setHorizontalHeaderItem(column, item)); +} + +void PythonQtWrapper_QTableWidget::setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setHorizontalHeaderLabels(labels)); +} + +void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItem(row, column, item)); +} + +void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItemPrototype(item)); +} + +void PythonQtWrapper_QTableWidget::setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select) +{ + ( theWrappedObject->setRangeSelected(range, select)); +} + +void PythonQtWrapper_QTableWidget::setRowCount(QTableWidget* theWrappedObject, int rows) +{ + ( theWrappedObject->setRowCount(rows)); +} + +void PythonQtWrapper_QTableWidget::setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setVerticalHeaderItem(row, item)); +} + +void PythonQtWrapper_QTableWidget::setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setVerticalHeaderLabels(labels)); +} + +void PythonQtWrapper_QTableWidget::sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); +} + +Qt::DropActions PythonQtWrapper_QTableWidget::supportedDropActions(QTableWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) +{ + return ( theWrappedObject->takeHorizontalHeaderItem(column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) +{ + return ( theWrappedObject->takeItem(row, column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) +{ + return ( theWrappedObject->takeVerticalHeaderItem(row)); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const +{ + return ( theWrappedObject->verticalHeaderItem(row)); +} + +int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const +{ + return ( theWrappedObject->visualColumn(logicalColumn)); +} + +QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); +} + +int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const +{ + return ( theWrappedObject->visualRow(logicalRow)); +} + + + +PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QTableWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QTableWidgetItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTableWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidgetItem::clone(); +} +QVariant PythonQtShell_QTableWidgetItem::data(int role0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableWidgetItem::data(role0); +} +void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&in0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidgetItem::read(in0); +} +void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidgetItem::setData(role0, value1); +} +void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&out0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidgetItem::write(out0); +} +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); } + +QBrush PythonQtWrapper_QTableWidgetItem::background(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) +{ + ( theWrappedObject->setData(role, value)); +} + +void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSizeHint(size)); +} + +void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) +{ + ( theWrappedObject->setTextAlignment(alignment)); +} + +void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(whatsThis)); +} + +QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->tableWidget()); +} + +QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); +} + +QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QTableWidgetItem::write(QTableWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); +} + + + +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::columnCount(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->leftColumn()); +} + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::operator_assign(QTableWidgetSelectionRange* theWrappedObject, const QTableWidgetSelectionRange& other) +{ + return &( (*theWrappedObject)= other); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->rightColumn()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->topRow()); +} + + + +PythonQtShell_QTabletEvent::~PythonQtShell_QTabletEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, 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, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID); } + +QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons) +{ +return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons); } + +Qt::MouseButton PythonQtWrapper_QTabletEvent::button(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +Qt::MouseButtons PythonQtWrapper_QTabletEvent::buttons(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::deviceType(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->deviceType()); +} + +QPoint PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +const QPointF* PythonQtWrapper_QTabletEvent::globalPosF(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPosF()); +} + +int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->hiResGlobalX()); +} + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->hiResGlobalY()); +} + +QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pointerType()); +} + +QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->posF()); +} + +qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pressure()); +} + +qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->tangentialPressure()); +} + +qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->uniqueId()); +} + +int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->xTilt()); +} + +int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->yTilt()); +} + +int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + + + +PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTapAndHoldGesture::childEvent(event0); +} +void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTapAndHoldGesture::customEvent(event0); +} +bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTapAndHoldGesture::event(event0); +} +bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTapAndHoldGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTapAndHoldGesture::timerEvent(event0); +} +QTapAndHoldGesture* PythonQtWrapper_QTapAndHoldGesture::new_QTapAndHoldGesture(QObject* parent) +{ +return new PythonQtShell_QTapAndHoldGesture(parent); } + +const QMetaObject* PythonQtShell_QTapAndHoldGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapAndHoldGesture::staticMetaObject); + } else { + return &QTapAndHoldGesture::staticMetaObject; + } +} +int PythonQtShell_QTapAndHoldGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTapAndHoldGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPointF PythonQtWrapper_QTapAndHoldGesture::position(QTapAndHoldGesture* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QTapAndHoldGesture::setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPosition(pos)); +} + +void PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_setTimeout(int msecs) +{ + (QTapAndHoldGesture::setTimeout(msecs)); +} + +int PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_timeout() +{ + return (QTapAndHoldGesture::timeout()); +} + + + +PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTapGesture::childEvent(event0); +} +void PythonQtShell_QTapGesture::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTapGesture::customEvent(event0); +} +bool PythonQtShell_QTapGesture::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTapGesture::event(event0); +} +bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTapGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTapGesture::timerEvent(event0); +} +QTapGesture* PythonQtWrapper_QTapGesture::new_QTapGesture(QObject* parent) +{ +return new PythonQtShell_QTapGesture(parent); } + +const QMetaObject* PythonQtShell_QTapGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapGesture::staticMetaObject); + } else { + return &QTapGesture::staticMetaObject; + } +} +int PythonQtShell_QTapGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTapGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPosition(pos)); +} + + + +QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock() +{ +return new QTextBlock(); } + +QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock(const QTextBlock& o) +{ +return new QTextBlock(o); } + +QTextBlock::iterator PythonQtWrapper_QTextBlock::begin(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->blockFormat()); +} + +int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->blockFormatIndex()); +} + +int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->blockNumber()); +} + +QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->charFormat()); +} + +int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->charFormatIndex()); +} + +void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) +{ + ( theWrappedObject->clearLayout()); +} + +bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const +{ + return ( theWrappedObject->contains(position)); +} + +const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->firstLineNumber()); +} + +int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->fragmentIndex()); +} + +bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->layout()); +} + +int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->lineCount()); +} + +QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->next()); +} + +bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const +{ + return ( (*theWrappedObject)!= o); +} + +bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const +{ + return ( (*theWrappedObject)< o); +} + +bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const +{ + return ( (*theWrappedObject)== o); +} + +int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->previous()); +} + +int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->revision()); +} + +void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) +{ + ( theWrappedObject->setLineCount(count)); +} + +void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) +{ + ( theWrappedObject->setRevision(rev)); +} + +void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) +{ + ( theWrappedObject->setUserData(data)); +} + +void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) +{ + ( theWrappedObject->setUserState(state)); +} + +void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); +} + +QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->textFormats()); +} + +QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->textList()); +} + +QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->userData()); +} + +int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const +{ + return ( theWrappedObject->userState()); +} + + + +PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() +{ +return new PythonQtShell_QTextBlockFormat(); } + +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextBlockFormat(fmt); } + +Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomMargin()); +} + +int PythonQtWrapper_QTextBlockFormat::headingLevel(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->headingLevel()); +} + +int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftMargin()); +} + +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->lineHeight()); +} + +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const +{ + return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); +} + +int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->lineHeightType()); +} + +bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->nonBreakableLines()); +} + +QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->pageBreakPolicy()); +} + +qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightMargin()); +} + +void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setBottomMargin(margin)); +} + +void PythonQtWrapper_QTextBlockFormat::setHeadingLevel(QTextBlockFormat* theWrappedObject, int alevel) +{ + ( theWrappedObject->setHeadingLevel(alevel)); +} + +void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) +{ + ( theWrappedObject->setIndent(indent)); +} + +void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setLeftMargin(margin)); +} + +void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) +{ + ( theWrappedObject->setLineHeight(height, heightType)); +} + +void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) +{ + ( theWrappedObject->setNonBreakableLines(b)); +} + +void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +{ + ( theWrappedObject->setPageBreakPolicy(flags)); +} + +void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setRightMargin(margin)); +} + +void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) +{ + ( theWrappedObject->setTabPositions(tabs)); +} + +void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) +{ + ( theWrappedObject->setTextIndent(aindent)); +} + +void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setTopMargin(margin)); +} + +QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->tabPositions()); +} + +qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->textIndent()); +} + +qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->topMargin()); +} + + + +PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::eventFilter(object0, event1); + QTextBlockGroup::blockFormatChanged(block0); } -void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7082,54 +10276,43 @@ if (_wrapper) { } } } - QTableWidget::focusInEvent(event0); + QTextBlockGroup::blockInserted(block0); } -bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::focusNextPrevChild(next0); + QTextBlockGroup::blockRemoved(block0); } -void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7137,65 +10320,54 @@ if (_wrapper) { } } } - QTableWidget::focusOutEvent(event0); + QTextBlockGroup::childEvent(event0); } -bool PythonQtShell_QTableWidget::hasHeightForWidth() const +void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::hasHeightForWidth(); + QTextBlockGroup::customEvent(event0); } -int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const +bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7203,54 +10375,32 @@ if (_wrapper) { } } } - return QTableWidget::heightForWidth(arg__1); -} -void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::hideEvent(event0); + return QTextBlockGroup::event(event0); } -int PythonQtShell_QTableWidget::horizontalOffset() const +bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7258,21 +10408,21 @@ if (_wrapper) { } } } - return QTableWidget::horizontalOffset(); + return QTextBlockGroup::eventFilter(watched0, event1); } -void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) +void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7280,98 +10430,74 @@ if (_wrapper) { } } } - QTableWidget::horizontalScrollbarAction(action0); + QTextBlockGroup::timerEvent(event0); } -void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QTextBlockGroup* PythonQtWrapper_QTextBlockGroup::new_QTextBlockGroup(QTextDocument* doc) +{ +return new PythonQtShell_QTextBlockGroup(doc); } + +const QMetaObject* PythonQtShell_QTextBlockGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBlockGroup::staticMetaObject); + } else { + return &QTextBlockGroup::staticMetaObject; } } - QTableWidget::horizontalScrollbarValueChanged(value0); +int PythonQtShell_QTextBlockGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextBlockGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const +void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); } - return QTableWidget::indexAt(p0); + +void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); } -void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const + +QList PythonQtWrapper_QTextBlockGroup::blockList(QTextBlockGroup* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockList()); } - QTableWidget::initPainter(painter0); + +void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +{ + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); } -void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) + + + +PythonQtShell_QTextBlockUserData::~PythonQtShell_QTextBlockUserData() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() +{ +return new PythonQtShell_QTextBlockUserData(); } + + + +PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7379,65 +10505,54 @@ if (_wrapper) { } } } - QTableWidget::inputMethodEvent(event0); + QTextBrowser::actionEvent(event0); } -QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QTextBrowser::backward() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::inputMethodQuery(query0); + QTextBrowser::backward(); } -bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const +bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7445,21 +10560,21 @@ if (_wrapper) { } } } - return QTableWidget::isIndexHidden(index0); + return QTextBrowser::canInsertFromMimeData(source0); } -void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7467,21 +10582,21 @@ if (_wrapper) { } } } - QTableWidget::keyPressEvent(event0); + QTextBrowser::changeEvent(e0); } -void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7489,21 +10604,21 @@ if (_wrapper) { } } } - QTableWidget::keyReleaseEvent(event0); + QTextBrowser::childEvent(event0); } -void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) +void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7511,21 +10626,21 @@ if (_wrapper) { } } } - QTableWidget::keyboardSearch(search0); + QTextBrowser::closeEvent(event0); } -void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7533,32 +10648,32 @@ if (_wrapper) { } } } - QTableWidget::leaveEvent(event0); + QTextBrowser::contextMenuEvent(e0); } -int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7566,65 +10681,54 @@ if (_wrapper) { } } } - return QTableWidget::metric(arg__1); + return QTextBrowser::createMimeDataFromSelection(); } -QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const +void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&items0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::mimeData(items0); + QTextBrowser::customEvent(event0); } -QStringList PythonQtShell_QTableWidget::mimeTypes() const +int PythonQtShell_QTextBrowser::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStringList"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7632,54 +10736,43 @@ if (_wrapper) { } } } - return QTableWidget::mimeTypes(); + return QTextBrowser::devType(); } -QSize PythonQtShell_QTableWidget::minimumSizeHint() const +void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::minimumSizeHint(); + QTextBrowser::doSetTextCursor(cursor0); } -void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7687,21 +10780,21 @@ if (_wrapper) { } } } - QTableWidget::mouseDoubleClickEvent(event0); + QTextBrowser::dragEnterEvent(e0); } -void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7709,21 +10802,21 @@ if (_wrapper) { } } } - QTableWidget::mouseMoveEvent(event0); + QTextBrowser::dragLeaveEvent(e0); } -void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7731,21 +10824,21 @@ if (_wrapper) { } } } - QTableWidget::mousePressEvent(event0); + QTextBrowser::dragMoveEvent(e0); } -void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7753,32 +10846,87 @@ if (_wrapper) { } } } - QTableWidget::mouseReleaseEvent(event0); + QTextBrowser::dropEvent(e0); } -QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::enterEvent(event0); +} +bool PythonQtShell_QTextBrowser::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::event(e0); +} +bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + bool returnValue{}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7786,21 +10934,21 @@ if (_wrapper) { } } } - return QTableWidget::moveCursor(cursorAction0, modifiers1); + return QTextBrowser::eventFilter(arg__1, arg__2); } -void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7808,32 +10956,32 @@ if (_wrapper) { } } } - QTableWidget::moveEvent(event0); + QTextBrowser::focusInEvent(e0); } -bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7841,87 +10989,109 @@ if (_wrapper) { } } } - return QTableWidget::nativeEvent(eventType0, message1, result2); + return QTextBrowser::focusNextPrevChild(next0); } -QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const +void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::focusOutEvent(ev0); +} +void PythonQtShell_QTextBrowser::forward() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("forward"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::paintEngine(); + QTextBrowser::forward(); } -void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) +bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::paintEvent(e0); + return QTextBrowser::hasHeightForWidth(); } -QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const +int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7929,21 +11099,21 @@ if (_wrapper) { } } } - return QTableWidget::redirected(offset0); + return QTextBrowser::heightForWidth(arg__1); } -void PythonQtShell_QTableWidget::reset() +void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7951,21 +11121,21 @@ if (_wrapper) { } } } - QTableWidget::reset(); + QTextBrowser::hideEvent(event0); } -void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTextBrowser::home() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7973,21 +11143,21 @@ if (_wrapper) { } } } - QTableWidget::resizeEvent(event0); + QTextBrowser::home(); } -void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7995,21 +11165,21 @@ if (_wrapper) { } } } - QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QTextBrowser::initPainter(painter0); } -void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8017,43 +11187,54 @@ if (_wrapper) { } } } - QTableWidget::rowsInserted(parent0, start1, end2); + QTextBrowser::inputMethodEvent(arg__1); } -void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) +QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::scrollContentsBy(dx0, dy1); + return QTextBrowser::inputMethodQuery(property0); } -void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8061,21 +11242,21 @@ if (_wrapper) { } } } - QTableWidget::scrollTo(index0, hint1); + QTextBrowser::insertFromMimeData(source0); } -void PythonQtShell_QTableWidget::selectAll() +void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8083,54 +11264,43 @@ if (_wrapper) { } } } - QTableWidget::selectAll(); + QTextBrowser::keyPressEvent(ev0); } -QList PythonQtShell_QTableWidget::selectedIndexes() const +void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::selectedIndexes(); + QTextBrowser::keyReleaseEvent(e0); } -void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8138,32 +11308,32 @@ if (_wrapper) { } } } - QTableWidget::selectionChanged(selected0, deselected1); + QTextBrowser::leaveEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8171,65 +11341,87 @@ if (_wrapper) { } } } - return QTableWidget::selectionCommand(index0, event1); + return QTextBrowser::loadResource(type0, name1); } -void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) +int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::setRootIndex(index0); + return QTextBrowser::metric(arg__1); } -void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +QSize PythonQtShell_QTextBrowser::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::setSelection(rect0, command1); + return QTextBrowser::minimumSizeHint(); } -void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8237,21 +11429,21 @@ if (_wrapper) { } } } - QTableWidget::setSelectionModel(selectionModel0); + QTextBrowser::mouseDoubleClickEvent(e0); } -void PythonQtShell_QTableWidget::setVisible(bool visible0) +void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8259,21 +11451,21 @@ if (_wrapper) { } } } - QTableWidget::setVisible(visible0); + QTextBrowser::mouseMoveEvent(ev0); } -void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) +void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8281,54 +11473,21 @@ if (_wrapper) { } } } - QTableWidget::setupViewport(viewport0); -} -QPainter* PythonQtShell_QTableWidget::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::sharedPainter(); + QTextBrowser::mousePressEvent(ev0); } -void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8336,65 +11495,54 @@ if (_wrapper) { } } } - QTableWidget::showEvent(event0); + QTextBrowser::mouseReleaseEvent(ev0); } -QSize PythonQtShell_QTableWidget::sizeHint() const +void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::sizeHint(); + QTextBrowser::moveEvent(event0); } -int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const +bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8402,32 +11550,32 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForColumn(column0); + return QTextBrowser::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const +QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8435,21 +11583,21 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForRow(row0); + return QTextBrowser::paintEngine(); } -void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8457,32 +11605,32 @@ if (_wrapper) { } } } - QTableWidget::startDrag(supportedActions0); + QTextBrowser::paintEvent(e0); } -Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const +QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8490,21 +11638,21 @@ if (_wrapper) { } } } - return QTableWidget::supportedDropActions(); + return QTextBrowser::redirected(offset0); } -void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTextBrowser::reload() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8512,21 +11660,21 @@ if (_wrapper) { } } } - QTableWidget::tabletEvent(event0); + QTextBrowser::reload(); } -void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8534,21 +11682,21 @@ if (_wrapper) { } } } - QTableWidget::timerEvent(event0); + QTextBrowser::resizeEvent(e0); } -void PythonQtShell_QTableWidget::updateEditorData() +void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8556,21 +11704,21 @@ if (_wrapper) { } } } - QTableWidget::updateEditorData(); + QTextBrowser::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTableWidget::updateEditorGeometries() +void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8578,21 +11726,21 @@ if (_wrapper) { } } } - QTableWidget::updateEditorGeometries(); + QTextBrowser::setSource(name0); } -void PythonQtShell_QTableWidget::updateGeometries() +void PythonQtShell_QTextBrowser::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8600,76 +11748,76 @@ if (_wrapper) { } } } - QTableWidget::updateGeometries(); + QTextBrowser::setVisible(visible0); } -int PythonQtShell_QTableWidget::verticalOffset() const +void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::verticalOffset(); + QTextBrowser::setupViewport(viewport0); } -void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) +QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::verticalScrollbarAction(action0); + return QTextBrowser::sharedPainter(); } -void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8677,32 +11825,32 @@ if (_wrapper) { } } } - QTableWidget::verticalScrollbarValueChanged(value0); + QTextBrowser::showEvent(arg__1); } -QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +QSize PythonQtShell_QTextBrowser::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8710,98 +11858,76 @@ if (_wrapper) { } } } - return QTableWidget::viewOptions(); + return QTextBrowser::sizeHint(); } -bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) +void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::viewportEvent(event0); + QTextBrowser::tabletEvent(event0); } -QSize PythonQtShell_QTableWidget::viewportSizeHint() const +void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::viewportSizeHint(); + QTextBrowser::timerEvent(e0); } -QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const +bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8809,32 +11935,32 @@ if (_wrapper) { } } } - return QTableWidget::visualRect(index0); + return QTextBrowser::viewportEvent(arg__1); } -QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const +QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8842,9 +11968,9 @@ if (_wrapper) { } } } - return QTableWidget::visualRegionForSelection(selection0); + return QTextBrowser::viewportSizeHint(); } -void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8854,9 +11980,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8864,1327 +11990,1572 @@ if (_wrapper) { } } } - QTableWidget::wheelEvent(arg__1); + QTextBrowser::wheelEvent(e0); } -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(QWidget* parent) -{ -return new PythonQtShell_QTableWidget(parent); } - -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(int rows, int columns, QWidget* parent) +QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) { -return new PythonQtShell_QTableWidget(rows, columns, parent); } +return new PythonQtShell_QTextBrowser(parent); } -const QMetaObject* PythonQtShell_QTableWidget::metaObject() const { +const QMetaObject* PythonQtShell_QTextBrowser::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBrowser::staticMetaObject); } else { - return &QTableWidget::staticMetaObject; + return &QTextBrowser::staticMetaObject; } } -int PythonQtShell_QTableWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTableWidget::qt_metacall(call, id, args); +int PythonQtShell_QTextBrowser::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextBrowser::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QWidget* PythonQtWrapper_QTableWidget::cellWidget(QTableWidget* theWrappedObject, int row, int column) const +int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->cellWidget(row, column)); + return ( theWrappedObject->backwardHistoryCount()); } -void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) { - ( theWrappedObject->closePersistentEditor(item)); + ( theWrappedObject->clearHistory()); } -int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::doSetSource(QTextBrowser* theWrappedObject, const QUrl& name, QTextDocument::ResourceType type) { - return ( theWrappedObject->column(item)); + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_doSetSource(name, type)); } -int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const +int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->columnCount()); + return ( theWrappedObject->forwardHistoryCount()); } -int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const +QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const { - return ( theWrappedObject->currentColumn()); + return ( theWrappedObject->historyTitle(arg__1)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const +QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const { - return ( theWrappedObject->currentItem()); + return ( theWrappedObject->historyUrl(arg__1)); } -int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const +bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->currentRow()); + return ( theWrappedObject->isBackwardAvailable()); } -bool PythonQtWrapper_QTableWidget::dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action) +bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropMimeData(row, column, data, action)); + return ( theWrappedObject->isForwardAvailable()); } -void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const { - ( theWrappedObject->editItem(item)); + return ( theWrappedObject->openExternalLinks()); } -QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->findItems(text, flags)); + return ( theWrappedObject->openLinks()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const +QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->horizontalHeaderItem(column)); + return ( theWrappedObject->searchPaths()); } -QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); + ( theWrappedObject->setOpenExternalLinks(open)); } -QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); + ( theWrappedObject->setOpenLinks(open)); } -bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) { - return ( theWrappedObject->isPersistentEditorOpen(item)); + ( theWrappedObject->setSearchPaths(paths)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const +QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->item(row, column)); + return ( theWrappedObject->source()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const +QTextDocument::ResourceType PythonQtWrapper_QTextBrowser::sourceType(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->itemAt(p)); + return ( theWrappedObject->sourceType()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const + + +PythonQtShell_QTextCharFormat::~PythonQtShell_QTextCharFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat() +{ +return new PythonQtShell_QTextCharFormat(); } + +QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextCharFormat(fmt); } + +QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->itemAt(x, y)); + return ( theWrappedObject->anchorHref()); +} + +QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->anchorNames()); +} + +QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontCapitalization()); +} + +QVariant PythonQtWrapper_QTextCharFormat::fontFamilies(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFamilies()); +} + +QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFamily()); +} + +bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontFixedPitch()); +} + +QFont::HintingPreference PythonQtWrapper_QTextCharFormat::fontHintingPreference(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontHintingPreference()); +} + +bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontItalic()); +} + +bool PythonQtWrapper_QTextCharFormat::fontKerning(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontKerning()); +} + +qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontLetterSpacing()); +} + +QFont::SpacingType PythonQtWrapper_QTextCharFormat::fontLetterSpacingType(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontLetterSpacingType()); +} + +bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontOverline()); +} + +qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontPointSize()); +} + +int PythonQtWrapper_QTextCharFormat::fontStretch(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStretch()); +} + +bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStrikeOut()); +} + +QFont::StyleHint PythonQtWrapper_QTextCharFormat::fontStyleHint(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleHint()); +} + +QVariant PythonQtWrapper_QTextCharFormat::fontStyleName(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleName()); +} + +QFont::StyleStrategy PythonQtWrapper_QTextCharFormat::fontStyleStrategy(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleStrategy()); +} + +bool PythonQtWrapper_QTextCharFormat::fontUnderline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontUnderline()); +} + +int PythonQtWrapper_QTextCharFormat::fontWeight(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontWeight()); +} + +qreal PythonQtWrapper_QTextCharFormat::fontWordSpacing(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontWordSpacing()); +} + +bool PythonQtWrapper_QTextCharFormat::isAnchor(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->isAnchor()); +} + +bool PythonQtWrapper_QTextCharFormat::isValid(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QTextCharFormat::setAnchor(QTextCharFormat* theWrappedObject, bool anchor) +{ + ( theWrappedObject->setAnchor(anchor)); +} + +void PythonQtWrapper_QTextCharFormat::setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value) +{ + ( theWrappedObject->setAnchorHref(value)); +} + +void PythonQtWrapper_QTextCharFormat::setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names) +{ + ( theWrappedObject->setAnchorNames(names)); +} + +void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior) +{ + ( theWrappedObject->setFont(font, behavior)); +} + +void PythonQtWrapper_QTextCharFormat::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization) +{ + ( theWrappedObject->setFontCapitalization(capitalization)); +} + +void PythonQtWrapper_QTextCharFormat::setFontFamilies(QTextCharFormat* theWrappedObject, const QStringList& families) +{ + ( theWrappedObject->setFontFamilies(families)); +} + +void PythonQtWrapper_QTextCharFormat::setFontFamily(QTextCharFormat* theWrappedObject, const QString& family) +{ + ( theWrappedObject->setFontFamily(family)); +} + +void PythonQtWrapper_QTextCharFormat::setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch) +{ + ( theWrappedObject->setFontFixedPitch(fixedPitch)); +} + +void PythonQtWrapper_QTextCharFormat::setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference) +{ + ( theWrappedObject->setFontHintingPreference(hintingPreference)); +} + +void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic) +{ + ( theWrappedObject->setFontItalic(italic)); +} + +void PythonQtWrapper_QTextCharFormat::setFontKerning(QTextCharFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setFontKerning(enable)); +} + +void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setFontLetterSpacing(spacing)); +} + +void PythonQtWrapper_QTextCharFormat::setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType) +{ + ( theWrappedObject->setFontLetterSpacingType(letterSpacingType)); +} + +void PythonQtWrapper_QTextCharFormat::setFontOverline(QTextCharFormat* theWrappedObject, bool overline) +{ + ( theWrappedObject->setFontOverline(overline)); +} + +void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size) +{ + ( theWrappedObject->setFontPointSize(size)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStretch(QTextCharFormat* theWrappedObject, int factor) +{ + ( theWrappedObject->setFontStretch(factor)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut) +{ + ( theWrappedObject->setFontStrikeOut(strikeOut)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy) +{ + ( theWrappedObject->setFontStyleHint(hint, strategy)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStyleName(QTextCharFormat* theWrappedObject, const QString& styleName) +{ + ( theWrappedObject->setFontStyleName(styleName)); +} + +void PythonQtWrapper_QTextCharFormat::setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy) +{ + ( theWrappedObject->setFontStyleStrategy(strategy)); +} + +void PythonQtWrapper_QTextCharFormat::setFontUnderline(QTextCharFormat* theWrappedObject, bool underline) +{ + ( theWrappedObject->setFontUnderline(underline)); +} + +void PythonQtWrapper_QTextCharFormat::setFontWeight(QTextCharFormat* theWrappedObject, int weight) +{ + ( theWrappedObject->setFontWeight(weight)); +} + +void PythonQtWrapper_QTextCharFormat::setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setFontWordSpacing(spacing)); +} + +void PythonQtWrapper_QTextCharFormat::setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan) +{ + ( theWrappedObject->setTableCellColumnSpan(tableCellColumnSpan)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_itemFromIndex(index)); + ( theWrappedObject->setTableCellRowSpan(tableCellRowSpan)); } -const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const +void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen) { - return ( theWrappedObject->itemPrototype()); + ( theWrappedObject->setTextOutline(pen)); } -QList PythonQtWrapper_QTableWidget::items(QTableWidget* theWrappedObject, const QMimeData* data) const +void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_items(data)); + ( theWrappedObject->setToolTip(tip)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::mimeData(QTableWidget* theWrappedObject, const QList items) const +void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeData(items)); + ( theWrappedObject->setUnderlineColor(color)); } -QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const +void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); + ( theWrappedObject->setUnderlineStyle(style)); } -void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment) { - ( theWrappedObject->openPersistentEditor(item)); + ( theWrappedObject->setVerticalAlignment(alignment)); } -void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) +int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->removeCellWidget(row, column)); + return ( theWrappedObject->tableCellColumnSpan()); } -int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->row(item)); + return ( theWrappedObject->tableCellRowSpan()); } -int PythonQtWrapper_QTableWidget::rowCount(QTableWidget* theWrappedObject) const +QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->textOutline()); } -QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) const +QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->selectedItems()); + return ( theWrappedObject->toolTip()); } -QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const +QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->selectedRanges()); + return ( theWrappedObject->underlineColor()); } -void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget) +QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->setCellWidget(row, column, widget)); + return ( theWrappedObject->underlineStyle()); } -void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) +QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->setColumnCount(columns)); + return ( theWrappedObject->verticalAlignment()); } -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) + + +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); } + +int PythonQtWrapper_QTextCursor::anchor(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setCurrentCell(row, column)); + return ( theWrappedObject->anchor()); } -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) +bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setCurrentCell(row, column, command)); + return ( theWrappedObject->atBlockEnd()); } -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item)); + return ( theWrappedObject->atBlockStart()); } -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command) +bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item, command)); + return ( theWrappedObject->atEnd()); } -void PythonQtWrapper_QTableWidget::setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, PythonQtPassOwnershipToCPP item) +bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setHorizontalHeaderItem(column, item)); + return ( theWrappedObject->atStart()); } -void PythonQtWrapper_QTableWidget::setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) { - ( theWrappedObject->setHorizontalHeaderLabels(labels)); + ( theWrappedObject->beginEditBlock()); } -void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setItem(row, column, item)); + return ( theWrappedObject->block()); } -void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setItemPrototype(item)); + return ( theWrappedObject->blockCharFormat()); } -void PythonQtWrapper_QTableWidget::setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select) +QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setRangeSelected(range, select)); + return ( theWrappedObject->blockFormat()); } -void PythonQtWrapper_QTableWidget::setRowCount(QTableWidget* theWrappedObject, int rows) +int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setRowCount(rows)); + return ( theWrappedObject->blockNumber()); } -void PythonQtWrapper_QTableWidget::setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setVerticalHeaderItem(row, item)); + return ( theWrappedObject->charFormat()); } -void PythonQtWrapper_QTableWidget::setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) { - ( theWrappedObject->setVerticalHeaderLabels(labels)); + ( theWrappedObject->clearSelection()); } -void PythonQtWrapper_QTableWidget::sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order) +int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const { - ( theWrappedObject->sortItems(column, order)); + return ( theWrappedObject->columnNumber()); } -Qt::DropActions PythonQtWrapper_QTableWidget::supportedDropActions(QTableWidget* theWrappedObject) const +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_supportedDropActions()); + return ( theWrappedObject->createList(style)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) { - return ( theWrappedObject->takeHorizontalHeaderItem(column)); + return ( theWrappedObject->createList(format)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) +QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->takeItem(row, column)); + return ( theWrappedObject->currentFrame()); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) +QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->takeVerticalHeaderItem(row)); + return ( theWrappedObject->currentList()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const +QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->verticalHeaderItem(row)); + return ( theWrappedObject->currentTable()); } -int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const +void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) { - return ( theWrappedObject->visualColumn(logicalColumn)); + ( theWrappedObject->deleteChar()); } -QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) { - return ( theWrappedObject->visualItemRect(item)); + ( theWrappedObject->deletePreviousChar()); } -int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const +QTextDocument* PythonQtWrapper_QTextCursor::document(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->visualRow(logicalRow)); + return ( theWrappedObject->document()); } - - -PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const +void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTableWidgetItem::clone(); + ( theWrappedObject->endEditBlock()); } -QVariant PythonQtShell_QTableWidgetItem::data(int role0) const + +bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&role0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTableWidgetItem::data(role0); + return ( theWrappedObject->hasComplexSelection()); } -bool PythonQtShell_QTableWidgetItem::__lt__(const QTableWidgetItem& other0) const + +bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QTableWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidgetItem::operator<(other0); + return ( theWrappedObject->hasSelection()); } -void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidgetItem::read(in0); + ( theWrappedObject->insertBlock()); } -void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&role0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidgetItem::setData(role0, value1); + ( theWrappedObject->insertBlock(format)); } -void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidgetItem::write(out0); + ( theWrappedObject->insertBlock(format, charFormat)); } -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); } -QBrush PythonQtWrapper_QTableWidgetItem::background(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) { - return ( theWrappedObject->background()); + ( theWrappedObject->insertFragment(fragment)); } -Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) { - return ( theWrappedObject->checkState()); + return ( theWrappedObject->insertFrame(format)); } -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) { - return ( theWrappedObject->clone()); + ( theWrappedObject->insertHtml(html)); } -int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name) { - return ( theWrappedObject->column()); + ( theWrappedObject->insertImage(image, name)); } -QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) { - return ( theWrappedObject->data(role)); + ( theWrappedObject->insertImage(name)); } -Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) { - return ( theWrappedObject->flags()); + ( theWrappedObject->insertImage(format)); } -QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) { - return ( theWrappedObject->font()); + ( theWrappedObject->insertImage(format, alignment)); } -QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) { - return ( theWrappedObject->foreground()); + return ( theWrappedObject->insertList(style)); } -QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) { - return ( theWrappedObject->icon()); + return ( theWrappedObject->insertList(format)); } -bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) { - return ( theWrappedObject->isSelected()); + return ( theWrappedObject->insertTable(rows, cols)); } -void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) { - out << (*theWrappedObject); + return ( theWrappedObject->insertTable(rows, cols, format)); } -void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) { - in >> (*theWrappedObject); + ( theWrappedObject->insertText(text)); } -void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) { - ( theWrappedObject->read(in)); + ( theWrappedObject->insertText(text, format)); } -int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const { - return ( theWrappedObject->row()); + return ( theWrappedObject->isCopyOf(other)); } -void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +bool PythonQtWrapper_QTextCursor::isNull(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setBackground(brush)); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) +void PythonQtWrapper_QTextCursor::joinPreviousEditBlock(QTextCursor* theWrappedObject) { - ( theWrappedObject->setCheckState(state)); + ( theWrappedObject->joinPreviousEditBlock()); } -void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) +bool PythonQtWrapper_QTextCursor::keepPositionOnInsert(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setData(role, value)); + return ( theWrappedObject->keepPositionOnInsert()); } -void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) +void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) { - ( theWrappedObject->setFlags(flags)); + ( theWrappedObject->mergeBlockCharFormat(modifier)); } -void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) +void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) { - ( theWrappedObject->setFont(font)); + ( theWrappedObject->mergeBlockFormat(modifier)); } -void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) { - ( theWrappedObject->setForeground(brush)); + ( theWrappedObject->mergeCharFormat(modifier)); } -void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) +bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) { - ( theWrappedObject->setIcon(icon)); + return ( theWrappedObject->movePosition(op, arg__2, n)); } -void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) +bool PythonQtWrapper_QTextCursor::__ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setSelected(select)); + return ( (*theWrappedObject)!= rhs); } -void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) +bool PythonQtWrapper_QTextCursor::__lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setSizeHint(size)); + return ( (*theWrappedObject)< rhs); } -void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) +bool PythonQtWrapper_QTextCursor::__le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setStatusTip(statusTip)); + return ( (*theWrappedObject)<= rhs); } -void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) +bool PythonQtWrapper_QTextCursor::__eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setText(text)); + return ( (*theWrappedObject)== rhs); } -void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) +bool PythonQtWrapper_QTextCursor::__gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setTextAlignment(alignment)); + return ( (*theWrappedObject)> rhs); } -void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) +bool PythonQtWrapper_QTextCursor::__ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setToolTip(toolTip)); + return ( (*theWrappedObject)>= rhs); } -void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) +int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setWhatsThis(whatsThis)); + return ( theWrappedObject->position()); } -QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTextCursor::positionInBlock(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->positionInBlock()); } -QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) { - return ( theWrappedObject->statusTip()); + ( theWrappedObject->removeSelectedText()); } -QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) { - return ( theWrappedObject->tableWidget()); + ( theWrappedObject->select(selection)); } -QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const +QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->selectedText()); } -int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const +QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->textAlignment()); + return ( theWrappedObject->selection()); } -QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->toolTip()); + return ( theWrappedObject->selectionEnd()); } -int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->selectionStart()); } -QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) { - return ( theWrappedObject->whatsThis()); + ( theWrappedObject->setBlockCharFormat(format)); } -void PythonQtWrapper_QTableWidgetItem::write(QTableWidgetItem* theWrappedObject, QDataStream& out) const +void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) { - ( theWrappedObject->write(out)); + ( theWrappedObject->setBlockFormat(format)); } +void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCharFormat(format)); +} - -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 +void PythonQtWrapper_QTextCursor::setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b) { - return ( theWrappedObject->bottomRow()); + ( theWrappedObject->setKeepPositionOnInsert(b)); } -int PythonQtWrapper_QTableWidgetSelectionRange::columnCount(QTableWidgetSelectionRange* theWrappedObject) const +void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) { - return ( theWrappedObject->columnCount()); + ( theWrappedObject->setPosition(pos, mode)); } -int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const +void PythonQtWrapper_QTextCursor::setVerticalMovementX(QTextCursor* theWrappedObject, int x) { - return ( theWrappedObject->leftColumn()); + ( theWrappedObject->setVerticalMovementX(x)); } -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::operator_assign(QTableWidgetSelectionRange* theWrappedObject, const QTableWidgetSelectionRange& other) +void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) { - return &( (*theWrappedObject)= other); + ( theWrappedObject->setVisualNavigation(b)); } -int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const +void PythonQtWrapper_QTextCursor::swap(QTextCursor* theWrappedObject, QTextCursor& other) { - return ( theWrappedObject->rightColumn()); + ( theWrappedObject->swap(other)); } -int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const +int PythonQtWrapper_QTextCursor::verticalMovementX(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->verticalMovementX()); } -int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->topRow()); + return ( theWrappedObject->visualNavigation()); } -PythonQtShell_QTabletEvent::~PythonQtShell_QTabletEvent() { +PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, 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, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID); } - -QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons) -{ -return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons); } - -Qt::MouseButton PythonQtWrapper_QTabletEvent::button(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) { - return ( theWrappedObject->button()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::MouseButtons PythonQtWrapper_QTabletEvent::buttons(QTabletEvent* theWrappedObject) const + QTextDocument::childEvent(event0); +} +void PythonQtShell_QTextDocument::clear() { - return ( theWrappedObject->buttons()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextDocument::clear(); +} +QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QTextObject* returnValue{}; + void* args[2] = {nullptr, (void*)&f0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + } else { + returnValue = *((QTextObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextDocument::createObject(f0); +} +void PythonQtShell_QTextDocument::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextDocument::customEvent(event0); +} +bool PythonQtShell_QTextDocument::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextDocument::event(event0); +} +bool PythonQtShell_QTextDocument::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextDocument::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->device()); + return QTextDocument::loadResource(type0, name1); } - -QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::deviceType(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->deviceType()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalPos()); + QTextDocument::timerEvent(event0); } +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) +{ +return new PythonQtShell_QTextDocument(parent); } -const QPointF* PythonQtWrapper_QTabletEvent::globalPosF(QTabletEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPosF()); -} +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) +{ +return new PythonQtShell_QTextDocument(text, parent); } -int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); +const QMetaObject* PythonQtShell_QTextDocument::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextDocument::staticMetaObject); + } else { + return &QTextDocument::staticMetaObject; + } } - -int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); +int PythonQtShell_QTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextDocument::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) { - return ( theWrappedObject->hiResGlobalX()); + ( theWrappedObject->addResource(type, name, resource)); } -qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) { - return ( theWrappedObject->hiResGlobalY()); + ( theWrappedObject->adjustSize()); } -QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->pointerType()); + return ( theWrappedObject->allFormats()); } -QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->pos()); + return ( theWrappedObject->availableRedoSteps()); } -const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::availableUndoSteps(QTextDocument* theWrappedObject) const { - return &( theWrappedObject->posF()); + return ( theWrappedObject->availableUndoSteps()); } -qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const +QUrl PythonQtWrapper_QTextDocument::baseUrl(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->pressure()); + return ( theWrappedObject->baseUrl()); } -qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->rotation()); + return ( theWrappedObject->begin()); } -qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->tangentialPressure()); + return ( theWrappedObject->blockCount()); } -qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const +QChar PythonQtWrapper_QTextDocument::characterAt(QTextDocument* theWrappedObject, int pos) const { - return ( theWrappedObject->uniqueId()); + return ( theWrappedObject->characterAt(pos)); } -int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::characterCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->x()); + return ( theWrappedObject->characterCount()); } -int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) { - return ( theWrappedObject->xTilt()); + ( theWrappedObject->clear()); } -int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) { - return ( theWrappedObject->y()); + ( theWrappedObject->clearUndoRedoStacks(historyToClear)); } -int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const +QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const { - return ( theWrappedObject->yTilt()); + return ( theWrappedObject->clone(parent)); } -int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const +QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) { - return ( theWrappedObject->z()); + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); } - - -QTapAndHoldGesture* PythonQtWrapper_QTapAndHoldGesture::new_QTapAndHoldGesture(QObject* parent) -{ -return new QTapAndHoldGesture(parent); } - -QPointF PythonQtWrapper_QTapAndHoldGesture::position(QTapAndHoldGesture* theWrappedObject) const +Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->defaultCursorMoveStyle()); } -void PythonQtWrapper_QTapAndHoldGesture::setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos) +QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setPosition(pos)); + return ( theWrappedObject->defaultFont()); } -void PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_setTimeout(int msecs) +QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const { - (QTapAndHoldGesture::setTimeout(msecs)); + return ( theWrappedObject->defaultStyleSheet()); } -int PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_timeout() +QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const { - return (QTapAndHoldGesture::timeout()); + return ( theWrappedObject->defaultTextOption()); } - - -QTapGesture* PythonQtWrapper_QTapGesture::new_QTapGesture(QObject* parent) -{ -return new QTapGesture(parent); } - -QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const +QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->documentLayout()); } -void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) +qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setPosition(pos)); + return ( theWrappedObject->documentMargin()); } - - -QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock() -{ -return new QTextBlock(); } - -QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock(const QTextBlock& o) -{ -return new QTextBlock(o); } - -QTextBlock::iterator PythonQtWrapper_QTextBlock::begin(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) { - return ( theWrappedObject->begin()); + ( theWrappedObject->drawContents(painter, rect)); } -QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->blockFormat()); + return ( theWrappedObject->end()); } -int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - return ( theWrappedObject->blockFormatIndex()); + return ( theWrappedObject->find(expr, cursor, options)); } -int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const { - return ( theWrappedObject->blockNumber()); + return ( theWrappedObject->find(expr, from, options)); } -QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - return ( theWrappedObject->charFormat()); + return ( theWrappedObject->find(expr, cursor, options)); } -int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const { - return ( theWrappedObject->charFormatIndex()); + return ( theWrappedObject->find(expr, from, options)); } -void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - ( theWrappedObject->clearLayout()); + return ( theWrappedObject->find(subString, cursor, options)); } -bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const { - return ( theWrappedObject->contains(position)); + return ( theWrappedObject->find(subString, from, options)); } -const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const { - return ( theWrappedObject->document()); + return ( theWrappedObject->findBlock(pos)); } -QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const { - return ( theWrappedObject->end()); + return ( theWrappedObject->findBlockByLineNumber(blockNumber)); } -int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const { - return ( theWrappedObject->firstLineNumber()); + return ( theWrappedObject->findBlockByNumber(blockNumber)); } -int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->fragmentIndex()); + return ( theWrappedObject->firstBlock()); } -bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->frameAt(pos)); } -bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const +qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->isVisible()); + return ( theWrappedObject->idealWidth()); } -QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const +qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->layout()); + return ( theWrappedObject->indentWidth()); } -int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->length()); + return ( theWrappedObject->isEmpty()); } -int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->lineCount()); + return ( theWrappedObject->isModified()); } -QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->next()); + return ( theWrappedObject->isRedoAvailable()); } -bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const +bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const { - return ( (*theWrappedObject)!= o); + return ( theWrappedObject->isUndoAvailable()); } -bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const +bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const { - return ( (*theWrappedObject)< o); + return ( theWrappedObject->isUndoRedoEnabled()); } -bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const +QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const { - return ( (*theWrappedObject)== o); + return ( theWrappedObject->lastBlock()); } -int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const +int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->lineCount()); } -QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const +QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) { - return ( theWrappedObject->previous()); + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); } -int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) { - return ( theWrappedObject->revision()); + ( theWrappedObject->markContentsDirty(from, length)); } -void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) +int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setLineCount(count)); + return ( theWrappedObject->maximumBlockCount()); } -void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) +QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const { - ( theWrappedObject->setRevision(rev)); + return ( theWrappedObject->metaInformation(info)); } -void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) +QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const { - ( theWrappedObject->setUserData(data)); + return ( theWrappedObject->object(objectIndex)); } -void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) +QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const { - ( theWrappedObject->setUserState(state)); + return ( theWrappedObject->objectForFormat(arg__1)); } -void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) +int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setVisible(visible)); + return ( theWrappedObject->pageCount()); } -QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const +QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->pageSize()); } -Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const { - return ( theWrappedObject->textDirection()); + ( theWrappedObject->print(printer)); } -QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) { - return ( theWrappedObject->textFormats()); + ( theWrappedObject->redo(cursor)); } -QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const +QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const { - return ( theWrappedObject->textList()); + return ( theWrappedObject->resource(type, name)); } -QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const +int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->userData()); + return ( theWrappedObject->revision()); } -int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->userState()); + return ( theWrappedObject->rootFrame()); } - - -PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setBaseUrl(url)); } -QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() -{ -return new PythonQtShell_QTextBlockFormat(); } -QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextBlockFormat(fmt); } +void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) +{ + ( theWrappedObject->setDefaultCursorMoveStyle(style)); +} -Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) { - return ( theWrappedObject->alignment()); + ( theWrappedObject->setDefaultFont(font)); } -qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) { - return ( theWrappedObject->bottomMargin()); + ( theWrappedObject->setDefaultStyleSheet(sheet)); } -int PythonQtWrapper_QTextBlockFormat::headingLevel(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) { - return ( theWrappedObject->headingLevel()); + ( theWrappedObject->setDefaultTextOption(option)); } -int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) { - return ( theWrappedObject->indent()); + ( theWrappedObject->setDocumentLayout(layout)); } -bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setDocumentMargin(margin)); } -qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) { - return ( theWrappedObject->leftMargin()); + ( theWrappedObject->setHtml(html)); } -qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) { - return ( theWrappedObject->lineHeight()); + ( theWrappedObject->setIndentWidth(width)); } -qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const +void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) { - return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); + ( theWrappedObject->setMaximumBlockCount(maximum)); } -int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) { - return ( theWrappedObject->lineHeightType()); + ( theWrappedObject->setMetaInformation(info, arg__2)); } -bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) { - return ( theWrappedObject->nonBreakableLines()); + ( theWrappedObject->setPageSize(size)); } -QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) { - return ( theWrappedObject->pageBreakPolicy()); + ( theWrappedObject->setPlainText(text)); } -qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) { - return ( theWrappedObject->rightMargin()); + ( theWrappedObject->setTextWidth(width)); } -void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) +void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) { - ( theWrappedObject->setAlignment(alignment)); + ( theWrappedObject->setUndoRedoEnabled(enable)); } -void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) +void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) { - ( theWrappedObject->setBottomMargin(margin)); + ( theWrappedObject->setUseDesignMetrics(b)); } -void PythonQtWrapper_QTextBlockFormat::setHeadingLevel(QTextBlockFormat* theWrappedObject, int alevel) +QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setHeadingLevel(alevel)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) +qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setIndent(indent)); + return ( theWrappedObject->textWidth()); } -void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) +QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const { - ( theWrappedObject->setLeftMargin(margin)); + return ( theWrappedObject->toHtml(encoding)); } -void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) +QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setLineHeight(height, heightType)); + return ( theWrappedObject->toPlainText()); } -void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) +QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setNonBreakableLines(b)); + return ( theWrappedObject->toRawText()); } -void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) { - ( theWrappedObject->setPageBreakPolicy(flags)); + ( theWrappedObject->undo(cursor)); } -void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) +bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setRightMargin(margin)); + return ( theWrappedObject->useDesignMetrics()); } -void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) + + +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) { - ( theWrappedObject->setTabPositions(tabs)); + return (QTextDocumentFragment::fromHtml(html)); } -void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) { - ( theWrappedObject->setTextIndent(aindent)); + return (QTextDocumentFragment::fromHtml(html, resourceProvider)); } -void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) { - ( theWrappedObject->setTopMargin(margin)); + return (QTextDocumentFragment::fromPlainText(plainText)); } -QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const +bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const { - return ( theWrappedObject->tabPositions()); + return ( theWrappedObject->isEmpty()); } -qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const +QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const { - return ( theWrappedObject->textIndent()); + return ( theWrappedObject->toHtml(encoding)); } -qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const +QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const { - return ( theWrappedObject->topMargin()); + return ( theWrappedObject->toPlainText()); } -PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockFormatChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextBlockGroup::blockFormatChanged(block0); -} -void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextBlockGroup::blockInserted(block0); -} -void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter() +{ +return new QTextDocumentWriter(); } + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(QIODevice* device, const QByteArray& format) +{ +return new QTextDocumentWriter(device, format); } + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(const QString& fileName, const QByteArray& format) +{ +return new QTextDocumentWriter(fileName, format); } + +QTextCodec* PythonQtWrapper_QTextDocumentWriter::codec(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->codec()); } - QTextBlockGroup::blockRemoved(block0); + +QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); } -QTextBlockGroup* PythonQtWrapper_QTextBlockGroup::new_QTextBlockGroup(QTextDocument* doc) -{ -return new PythonQtShell_QTextBlockGroup(doc); } -const QMetaObject* PythonQtShell_QTextBlockGroup::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBlockGroup::staticMetaObject); - } else { - return &QTextBlockGroup::staticMetaObject; - } +QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); } -int PythonQtShell_QTextBlockGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextBlockGroup::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) + +void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) { - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); + ( theWrappedObject->setCodec(codec)); } -void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) { - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); + ( theWrappedObject->setDevice(device)); } -QList PythonQtWrapper_QTextBlockGroup::blockList(QTextBlockGroup* theWrappedObject) const +void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) { - return ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockList()); + ( theWrappedObject->setFileName(fileName)); } -void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) { - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); + ( theWrappedObject->setFormat(format)); } +QList PythonQtWrapper_QTextDocumentWriter::static_QTextDocumentWriter_supportedDocumentFormats() +{ + return (QTextDocumentWriter::supportedDocumentFormats()); +} +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document) +{ + return ( theWrappedObject->write(document)); +} -PythonQtShell_QTextBlockUserData::~PythonQtShell_QTextBlockUserData() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) +{ + return ( theWrappedObject->write(fragment)); } -QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() -{ -return new PythonQtShell_QTextBlockUserData(); } -PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { +PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) +void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10194,9 +13565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10204,31 +13575,9 @@ if (_wrapper) { } } } - QTextBrowser::actionEvent(event0); -} -void PythonQtShell_QTextBrowser::backward() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("backward"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextBrowser::backward(); + QTextEdit::actionEvent(event0); } -bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const +bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10239,19 +13588,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10259,9 +13608,9 @@ if (_wrapper) { } } } - return QTextBrowser::canInsertFromMimeData(source0); + return QTextEdit::canInsertFromMimeData(source0); } -void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) +void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10271,9 +13620,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10281,9 +13630,31 @@ if (_wrapper) { } } } - QTextBrowser::changeEvent(e0); + QTextEdit::changeEvent(e0); } -void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) +void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::childEvent(event0); +} +void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10293,9 +13664,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10303,9 +13674,9 @@ if (_wrapper) { } } } - QTextBrowser::closeEvent(event0); + QTextEdit::closeEvent(event0); } -void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) +void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10315,9 +13686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10325,9 +13696,9 @@ if (_wrapper) { } } } - QTextBrowser::contextMenuEvent(e0); + QTextEdit::contextMenuEvent(e0); } -QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const +QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10338,19 +13709,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMimeData* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10358,9 +13729,31 @@ if (_wrapper) { } } } - return QTextBrowser::createMimeDataFromSelection(); + return QTextEdit::createMimeDataFromSelection(); } -int PythonQtShell_QTextBrowser::devType() const +void PythonQtShell_QTextEdit::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::customEvent(event0); +} +int PythonQtShell_QTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10371,19 +13764,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10391,9 +13784,9 @@ if (_wrapper) { } } } - return QTextBrowser::devType(); + return QTextEdit::devType(); } -void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) +void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10403,9 +13796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10413,9 +13806,9 @@ if (_wrapper) { } } } - QTextBrowser::doSetTextCursor(cursor0); + QTextEdit::doSetTextCursor(cursor0); } -void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) +void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10425,9 +13818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10435,9 +13828,9 @@ if (_wrapper) { } } } - QTextBrowser::dragEnterEvent(e0); + QTextEdit::dragEnterEvent(e0); } -void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10447,9 +13840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10457,9 +13850,9 @@ if (_wrapper) { } } } - QTextBrowser::dragLeaveEvent(e0); + QTextEdit::dragLeaveEvent(e0); } -void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10469,9 +13862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10479,9 +13872,9 @@ if (_wrapper) { } } } - QTextBrowser::dragMoveEvent(e0); + QTextEdit::dragMoveEvent(e0); } -void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) +void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10491,9 +13884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10501,9 +13894,9 @@ if (_wrapper) { } } } - QTextBrowser::dropEvent(e0); + QTextEdit::dropEvent(e0); } -void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) +void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10513,9 +13906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10523,9 +13916,9 @@ if (_wrapper) { } } } - QTextBrowser::enterEvent(event0); + QTextEdit::enterEvent(event0); } -bool PythonQtShell_QTextBrowser::event(QEvent* e0) +bool PythonQtShell_QTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10536,19 +13929,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10556,9 +13949,9 @@ if (_wrapper) { } } } - return QTextBrowser::event(e0); + return QTextEdit::event(e0); } -bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10569,19 +13962,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10589,9 +13982,9 @@ if (_wrapper) { } } } - return QTextBrowser::eventFilter(arg__1, arg__2); + return QTextEdit::eventFilter(arg__1, arg__2); } -void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10601,9 +13994,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10611,9 +14004,9 @@ if (_wrapper) { } } } - QTextBrowser::focusInEvent(e0); + QTextEdit::focusInEvent(e0); } -bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) +bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10624,19 +14017,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10644,9 +14037,9 @@ if (_wrapper) { } } } - return QTextBrowser::focusNextPrevChild(next0); + return QTextEdit::focusNextPrevChild(next0); } -void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) +void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10656,31 +14049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextBrowser::focusOutEvent(ev0); -} -void PythonQtShell_QTextBrowser::forward() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("forward"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10688,9 +14059,9 @@ if (_wrapper) { } } } - QTextBrowser::forward(); + QTextEdit::focusOutEvent(e0); } -bool PythonQtShell_QTextBrowser::hasHeightForWidth() const +bool PythonQtShell_QTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10701,19 +14072,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10721,9 +14092,9 @@ if (_wrapper) { } } } - return QTextBrowser::hasHeightForWidth(); + return QTextEdit::hasHeightForWidth(); } -int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const +int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10734,19 +14105,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10754,9 +14125,9 @@ if (_wrapper) { } } } - return QTextBrowser::heightForWidth(arg__1); + return QTextEdit::heightForWidth(arg__1); } -void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) +void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10766,31 +14137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextBrowser::hideEvent(event0); -} -void PythonQtShell_QTextBrowser::home() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("home"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10798,9 +14147,9 @@ if (_wrapper) { } } } - QTextBrowser::home(); + QTextEdit::hideEvent(event0); } -void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const +void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10810,9 +14159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10820,9 +14169,9 @@ if (_wrapper) { } } } - QTextBrowser::initPainter(painter0); + QTextEdit::initPainter(painter0); } -void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10832,9 +14181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10842,9 +14191,9 @@ if (_wrapper) { } } } - QTextBrowser::inputMethodEvent(arg__1); + QTextEdit::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const +QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10855,19 +14204,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&property0}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10875,9 +14224,9 @@ if (_wrapper) { } } } - return QTextBrowser::inputMethodQuery(property0); + return QTextEdit::inputMethodQuery(property0); } -void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) +void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10887,9 +14236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10897,9 +14246,9 @@ if (_wrapper) { } } } - QTextBrowser::insertFromMimeData(source0); + QTextEdit::insertFromMimeData(source0); } -void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10909,9 +14258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10919,9 +14268,9 @@ if (_wrapper) { } } } - QTextBrowser::keyPressEvent(ev0); + QTextEdit::keyPressEvent(e0); } -void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10931,9 +14280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10941,9 +14290,9 @@ if (_wrapper) { } } } - QTextBrowser::keyReleaseEvent(e0); + QTextEdit::keyReleaseEvent(e0); } -void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) +void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10953,9 +14302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10963,9 +14312,9 @@ if (_wrapper) { } } } - QTextBrowser::leaveEvent(event0); + QTextEdit::leaveEvent(event0); } -QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) +QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10976,19 +14325,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10996,9 +14345,9 @@ if (_wrapper) { } } } - return QTextBrowser::loadResource(type0, name1); + return QTextEdit::loadResource(type0, name1); } -int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11009,19 +14358,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11029,9 +14378,9 @@ if (_wrapper) { } } } - return QTextBrowser::metric(arg__1); + return QTextEdit::metric(arg__1); } -QSize PythonQtShell_QTextBrowser::minimumSizeHint() const +QSize PythonQtShell_QTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11042,19 +14391,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11062,9 +14411,9 @@ if (_wrapper) { } } } - return QTextBrowser::minimumSizeHint(); + return QTextEdit::minimumSizeHint(); } -void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11074,9 +14423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11084,9 +14433,9 @@ if (_wrapper) { } } } - QTextBrowser::mouseDoubleClickEvent(e0); + QTextEdit::mouseDoubleClickEvent(e0); } -void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) +void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11096,9 +14445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11106,9 +14455,9 @@ if (_wrapper) { } } } - QTextBrowser::mouseMoveEvent(ev0); + QTextEdit::mouseMoveEvent(e0); } -void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) +void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11118,9 +14467,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11128,9 +14477,9 @@ if (_wrapper) { } } } - QTextBrowser::mousePressEvent(ev0); + QTextEdit::mousePressEvent(e0); } -void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) +void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11140,9 +14489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11150,9 +14499,9 @@ if (_wrapper) { } } } - QTextBrowser::mouseReleaseEvent(ev0); + QTextEdit::mouseReleaseEvent(e0); } -void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11162,9 +14511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11172,9 +14521,9 @@ if (_wrapper) { } } } - QTextBrowser::moveEvent(event0); + QTextEdit::moveEvent(event0); } -bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11185,19 +14534,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11205,9 +14554,9 @@ if (_wrapper) { } } } - return QTextBrowser::nativeEvent(eventType0, message1, result2); + return QTextEdit::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const +QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11218,19 +14567,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11238,9 +14587,9 @@ if (_wrapper) { } } } - return QTextBrowser::paintEngine(); + return QTextEdit::paintEngine(); } -void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) +void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11250,9 +14599,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11260,9 +14609,9 @@ if (_wrapper) { } } } - QTextBrowser::paintEvent(e0); + QTextEdit::paintEvent(e0); } -QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11273,51 +14622,29 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextBrowser::redirected(offset0); -} -void PythonQtShell_QTextBrowser::reload() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reload"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::reload(); + return QTextEdit::redirected(offset0); } -void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11327,9 +14654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11337,9 +14664,9 @@ if (_wrapper) { } } } - QTextBrowser::resizeEvent(e0); + QTextEdit::resizeEvent(e0); } -void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11349,31 +14676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextBrowser::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11381,9 +14686,9 @@ if (_wrapper) { } } } - QTextBrowser::setSource(name0); + QTextEdit::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTextBrowser::setVisible(bool visible0) +void PythonQtShell_QTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11393,9 +14698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11403,9 +14708,9 @@ if (_wrapper) { } } } - QTextBrowser::setVisible(visible0); + QTextEdit::setVisible(visible0); } -void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) +void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11415,9 +14720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11425,9 +14730,9 @@ if (_wrapper) { } } } - QTextBrowser::setupViewport(viewport0); + QTextEdit::setupViewport(viewport0); } -QPainter* PythonQtShell_QTextBrowser::sharedPainter() const +QPainter* PythonQtShell_QTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11438,19 +14743,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11458,9 +14763,9 @@ if (_wrapper) { } } } - return QTextBrowser::sharedPainter(); + return QTextEdit::sharedPainter(); } -void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) +void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11470,9 +14775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11480,9 +14785,9 @@ if (_wrapper) { } } } - QTextBrowser::showEvent(arg__1); + QTextEdit::showEvent(arg__1); } -QSize PythonQtShell_QTextBrowser::sizeHint() const +QSize PythonQtShell_QTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11493,19 +14798,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11513,9 +14818,9 @@ if (_wrapper) { } } } - return QTextBrowser::sizeHint(); + return QTextEdit::sizeHint(); } -void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11525,9 +14830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11535,9 +14840,9 @@ if (_wrapper) { } } } - QTextBrowser::tabletEvent(event0); + QTextEdit::tabletEvent(event0); } -void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) +void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11547,9 +14852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11557,9 +14862,9 @@ if (_wrapper) { } } } - QTextBrowser::timerEvent(e0); + QTextEdit::timerEvent(e0); } -bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) +bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11570,19 +14875,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11590,9 +14895,9 @@ if (_wrapper) { } } } - return QTextBrowser::viewportEvent(arg__1); + return QTextEdit::viewportEvent(arg__1); } -QSize PythonQtShell_QTextBrowser::viewportSizeHint() const +QSize PythonQtShell_QTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11603,19 +14908,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11623,146 +14928,495 @@ if (_wrapper) { } } } - return QTextBrowser::viewportSizeHint(); + return QTextEdit::viewportSizeHint(); +} +void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextEdit::wheelEvent(e0); +} +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); } + +const QMetaObject* PythonQtShell_QTextEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextEdit::staticMetaObject); + } else { + return &QTextEdit::staticMetaObject; + } +} +int PythonQtShell_QTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->acceptRichText()); +} + +Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->anchorAt(pos)); +} + +QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->autoFormatting()); +} + +bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const +{ + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); +} + +bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->canPaste()); +} + +QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); +} + +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) +{ + return ( theWrappedObject->createStandardContextMenu(position)); +} + +QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentCharFormat()); +} + +QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentFont()); +} + +QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->cursorForPosition(pos)); +} + +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorRect()); +} + +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const +{ + return ( theWrappedObject->cursorRect(cursor)); +} + +int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorWidth()); +} + +void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); +} + +QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->documentTitle()); +} + +void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) +{ + ( theWrappedObject->ensureCursorVisible()); +} + +QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->extraSelections()); +} + +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontFamily()); +} + +bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontItalic()); +} + +qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontPointSize()); +} + +bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontUnderline()); +} + +int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->fontWeight()); +} + +QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +{ + return ( theWrappedObject->inputMethodQuery(query, argument)); +} + +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()); +} + +bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isUndoRedoEnabled()); +} + +int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->lineWrapColumnOrWidth()); +} + +QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->lineWrapMode()); +} + +QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) +{ + return ( theWrappedObject->loadResource(type, name)); +} + +void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCurrentCharFormat(modifier)); +} + +void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +{ + ( theWrappedObject->moveCursor(operation, mode)); +} + +bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->overwriteMode()); +} + +QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->placeholderText()); +} + +void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) +{ + ( theWrappedObject->setAcceptRichText(accept)); +} + +void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) +{ + ( theWrappedObject->setAutoFormatting(features)); +} + +void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCurrentCharFormat(format)); +} + +void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + +void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) +{ + ( theWrappedObject->setDocument(document)); +} + +void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setDocumentTitle(title)); +} + +void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) +{ + ( theWrappedObject->setExtraSelections(selections)); +} + +void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) +{ + ( theWrappedObject->setLineWrapColumnOrWidth(w)); +} + +void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) +{ + ( theWrappedObject->setLineWrapMode(mode)); +} + +void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) +{ + ( theWrappedObject->setOverwriteMode(overwrite)); +} + +void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) +{ + ( theWrappedObject->setPlaceholderText(placeholderText)); +} + +void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); +} + +void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} + +void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) +{ + ( theWrappedObject->setTabStopDistance(distance)); +} + +void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setTabStopWidth(width)); +} + +void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->setTextCursor(cursor)); +} + +void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); +} + +void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) +{ + ( theWrappedObject->setWordWrapMode(policy)); +} + +bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); } -void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) + +qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabStopDistance()); } - QTextBrowser::wheelEvent(e0); + +int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopWidth()); } -QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) -{ -return new PythonQtShell_QTextBrowser(parent); } -const QMetaObject* PythonQtShell_QTextBrowser::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBrowser::staticMetaObject); - } else { - return &QTextBrowser::staticMetaObject; - } +QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textBackgroundColor()); } -int PythonQtShell_QTextBrowser::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextBrowser::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textColor()); } -int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const + +QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->backwardHistoryCount()); + return ( theWrappedObject->textCursor()); } -void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) +Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const { - ( theWrappedObject->clearHistory()); + return ( theWrappedObject->textInteractionFlags()); } -void PythonQtWrapper_QTextBrowser::doSetSource(QTextBrowser* theWrappedObject, const QUrl& name, QTextDocument::ResourceType type) +QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_doSetSource(name, type)); + return ( theWrappedObject->toHtml()); } -int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->forwardHistoryCount()); + return ( theWrappedObject->toPlainText()); } -QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const +QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->historyTitle(arg__1)); + return ( theWrappedObject->wordWrapMode()); } -QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const +void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) { - return ( theWrappedObject->historyUrl(arg__1)); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); } -bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const + + +PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextEdit::ExtraSelection* PythonQtWrapper_QTextEdit__ExtraSelection::new_QTextEdit__ExtraSelection() +{ +return new PythonQtShell_QTextEdit__ExtraSelection(); } + + + +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() +{ +return new QTextFragment(); } + +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) +{ +return new QTextFragment(o); } + +QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->isBackwardAvailable()); + return ( theWrappedObject->charFormat()); } -bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const +int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->isForwardAvailable()); + return ( theWrappedObject->charFormatIndex()); } -bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const +bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const { - return ( theWrappedObject->openExternalLinks()); + return ( theWrappedObject->contains(position)); } -bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const +QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const { - return ( theWrappedObject->openLinks()); + return ( theWrappedObject->glyphRuns(from, length)); } -QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const +bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->searchPaths()); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) +int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setOpenExternalLinks(open)); + return ( theWrappedObject->length()); } -void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) +bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - ( theWrappedObject->setOpenLinks(open)); + return ( (*theWrappedObject)!= o); } -void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) +bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - ( theWrappedObject->setSearchPaths(paths)); + return ( (*theWrappedObject)< o); } -QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const +bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - return ( theWrappedObject->source()); + return ( (*theWrappedObject)== o); } -QTextDocument::ResourceType PythonQtWrapper_QTextBrowser::sourceType(QTextBrowser* theWrappedObject) const +int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->sourceType()); + return ( theWrappedObject->position()); +} + +QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const +{ + return ( theWrappedObject->text()); } -PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { +PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextDocument::clear() +void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11770,32 +15424,54 @@ if (_wrapper) { } } } - QTextDocument::clear(); + QTextFrame::childEvent(event0); } -QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) +void PythonQtShell_QTextFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createObject"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextObject* returnValue{}; - void* args[2] = {NULL, (void*)&f0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextFrame::customEvent(event0); +} +bool PythonQtShell_QTextFrame::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QTextObject**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11803,555 +15479,417 @@ if (_wrapper) { } } } - return QTextDocument::createObject(f0); + return QTextFrame::event(event0); } -QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) +bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadResource"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { PyErr_Clear(); } - } -} - return QTextDocument::loadResource(type0, name1); -} -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); } - -const QMetaObject* PythonQtShell_QTextDocument::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextDocument::staticMetaObject); - } else { - return &QTextDocument::staticMetaObject; - } -} -int PythonQtShell_QTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextDocument::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) -{ - ( theWrappedObject->addResource(type, name, resource)); -} - -void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->allFormats()); -} - -int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->availableRedoSteps()); -} - -int PythonQtWrapper_QTextDocument::availableUndoSteps(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->availableUndoSteps()); -} - -QUrl PythonQtWrapper_QTextDocument::baseUrl(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->baseUrl()); -} - -QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->blockCount()); -} - -QChar PythonQtWrapper_QTextDocument::characterAt(QTextDocument* theWrappedObject, int pos) const -{ - return ( theWrappedObject->characterAt(pos)); -} - -int PythonQtWrapper_QTextDocument::characterCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->characterCount()); -} - -void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) -{ - ( theWrappedObject->clearUndoRedoStacks(historyToClear)); -} - -QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const -{ - return ( theWrappedObject->clone(parent)); -} - -QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) -{ - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); -} - -Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultCursorMoveStyle()); -} - -QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultFont()); -} - -QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultStyleSheet()); + } } - -QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextOption()); + return QTextFrame::eventFilter(watched0, event1); } - -QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const +void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->documentLayout()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->documentMargin()); + QTextFrame::timerEvent(event0); } +QTextFrame* PythonQtWrapper_QTextFrame::new_QTextFrame(QTextDocument* doc) +{ +return new PythonQtShell_QTextFrame(doc); } -void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( theWrappedObject->drawContents(painter, rect)); +const QMetaObject* PythonQtShell_QTextFrame::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextFrame::staticMetaObject); + } else { + return &QTextFrame::staticMetaObject; + } } - -QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->end()); +int PythonQtShell_QTextFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextFrame::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const +QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->find(expr, cursor, options)); + return ( theWrappedObject->begin()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const +QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->find(expr, from, options)); + return ( theWrappedObject->childFrames()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const +QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->find(expr, cursor, options)); + return ( theWrappedObject->end()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const +QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->find(expr, from, options)); + return ( theWrappedObject->firstCursorPosition()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const +int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->find(subString, cursor, options)); + return ( theWrappedObject->firstPosition()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const +QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->find(subString, from, options)); + return ( theWrappedObject->frameFormat()); } -QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const +QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->findBlock(pos)); + return ( theWrappedObject->lastCursorPosition()); } -QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const +int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->findBlockByLineNumber(blockNumber)); + return ( theWrappedObject->lastPosition()); } -QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const +QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->findBlockByNumber(blockNumber)); + return ( theWrappedObject->parentFrame()); } -QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) { - return ( theWrappedObject->firstBlock()); + ( theWrappedObject->setFrameFormat(format)); } -QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const -{ - return ( theWrappedObject->frameAt(pos)); -} -qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->idealWidth()); -} -qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->indentWidth()); +PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() +{ +return new PythonQtShell_QTextFrameFormat(); } -bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} +QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextFrameFormat(fmt); } -bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const +qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->isModified()); + return ( theWrappedObject->border()); } -bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const +QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->isRedoAvailable()); + return ( theWrappedObject->borderBrush()); } -bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->isUndoAvailable()); + return ( theWrappedObject->borderStyle()); } -bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const +qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->isUndoRedoEnabled()); + return ( theWrappedObject->bottomMargin()); } -QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const +QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->lastBlock()); + return ( theWrappedObject->height()); } -int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const +bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->lineCount()); + return ( theWrappedObject->isValid()); } -QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) +qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); + return ( theWrappedObject->leftMargin()); } -void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) +qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->markContentsDirty(from, length)); + return ( theWrappedObject->margin()); } -int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const +qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->maximumBlockCount()); + return ( theWrappedObject->padding()); } -QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const +QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->metaInformation(info)); + return ( theWrappedObject->pageBreakPolicy()); } -QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const +QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->object(objectIndex)); + return ( theWrappedObject->position()); } -QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const +qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->objectForFormat(arg__1)); + return ( theWrappedObject->rightMargin()); } -int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border) { - return ( theWrappedObject->pageCount()); + ( theWrappedObject->setBorder(border)); } -QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->pageSize()); + ( theWrappedObject->setBorderBrush(brush)); } -void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const +void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - ( theWrappedObject->print(printer)); + ( theWrappedObject->setBorderStyle(style)); } -void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) +void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - ( theWrappedObject->redo(cursor)); + ( theWrappedObject->setBottomMargin(margin)); } -QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) { - return ( theWrappedObject->resource(type, name)); + ( theWrappedObject->setHeight(height)); } -int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) { - return ( theWrappedObject->revision()); + ( theWrappedObject->setHeight(height)); } -QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->rootFrame()); + ( theWrappedObject->setLeftMargin(margin)); } -void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) +void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - ( theWrappedObject->setBaseUrl(url)); + ( theWrappedObject->setMargin(margin)); } -void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) +void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->setDefaultCursorMoveStyle(style)); + ( theWrappedObject->setPadding(padding)); } -void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) +void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) { - ( theWrappedObject->setDefaultFont(font)); + ( theWrappedObject->setPageBreakPolicy(flags)); } -void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) +void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) { - ( theWrappedObject->setDefaultStyleSheet(sheet)); + ( theWrappedObject->setPosition(f)); } -void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) +void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - ( theWrappedObject->setDefaultTextOption(option)); + ( theWrappedObject->setRightMargin(margin)); } -void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) +void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - ( theWrappedObject->setDocumentLayout(layout)); + ( theWrappedObject->setTopMargin(margin)); } -void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) { - ( theWrappedObject->setDocumentMargin(margin)); + ( theWrappedObject->setWidth(length)); } -void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) { - ( theWrappedObject->setHtml(html)); + ( theWrappedObject->setWidth(width)); } -void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) +qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->setIndentWidth(width)); + return ( theWrappedObject->topMargin()); } -void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) +QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->setMaximumBlockCount(maximum)); + return ( theWrappedObject->width()); } -void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) -{ - ( theWrappedObject->setMetaInformation(info, arg__2)); -} -void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setPageSize(size)); -} -void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setPlainText(text)); +PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() +{ +return new PythonQtShell_QTextImageFormat(); } -void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) -{ - ( theWrappedObject->setTextWidth(width)); -} +QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat(const QTextFormat& format) +{ +return new PythonQtShell_QTextImageFormat(format); } -void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) +qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const { - ( theWrappedObject->setUndoRedoEnabled(enable)); + return ( theWrappedObject->height()); } -void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) +bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const { - ( theWrappedObject->setUseDesignMetrics(b)); + return ( theWrappedObject->isValid()); } -QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const +QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const { - return ( theWrappedObject->size()); + return ( theWrappedObject->name()); } -qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const +int PythonQtWrapper_QTextImageFormat::quality(QTextImageFormat* theWrappedObject) const { - return ( theWrappedObject->textWidth()); + return ( theWrappedObject->quality()); } -QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const +void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) { - return ( theWrappedObject->toHtml(encoding)); + ( theWrappedObject->setHeight(height)); } -QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) { - return ( theWrappedObject->toPlainText()); + ( theWrappedObject->setName(name)); } -QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextImageFormat::setQuality(QTextImageFormat* theWrappedObject, int quality) { - return ( theWrappedObject->toRawText()); + ( theWrappedObject->setQuality(quality)); } -void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) +void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) { - ( theWrappedObject->undo(cursor)); + ( theWrappedObject->setWidth(width)); } -bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const +qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const { - return ( theWrappedObject->useDesignMetrics()); + return ( theWrappedObject->width()); } -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) +QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() { -return new QTextDocumentFragment(rhs); } - -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html) -{ - return (QTextDocumentFragment::fromHtml(html)); -} - -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) -{ - return (QTextDocumentFragment::fromHtml(html, resourceProvider)); -} - -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) -{ - return (QTextDocumentFragment::fromPlainText(plainText)); -} - -bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} +return new QTextInlineObject(); } -QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const +qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->toHtml(encoding)); + return ( theWrappedObject->ascent()); } -QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const +qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->toPlainText()); + return ( theWrappedObject->descent()); } - - -QTextCodec* PythonQtWrapper_QTextDocumentWriter::codec(QTextDocumentWriter* theWrappedObject) const +QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->codec()); + return ( theWrappedObject->format()); } -QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const +int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->formatIndex()); } -QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const +qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->height()); } -QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) +QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const { - ( theWrappedObject->setCodec(codec)); + return ( theWrappedObject->rect()); } -void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) +void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) { - ( theWrappedObject->setDevice(device)); + ( theWrappedObject->setAscent(a)); } -void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) +void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) { - ( theWrappedObject->setFileName(fileName)); + ( theWrappedObject->setDescent(d)); } -void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) +void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) { - ( theWrappedObject->setFormat(format)); + ( theWrappedObject->setWidth(w)); } -QList PythonQtWrapper_QTextDocumentWriter::static_QTextDocumentWriter_supportedDocumentFormats() +Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const { - return (QTextDocumentWriter::supportedDocumentFormats()); + return ( theWrappedObject->textDirection()); } -bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document) +int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->write(document)); + return ( theWrappedObject->textPosition()); } -bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) +qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->write(fragment)); + return ( theWrappedObject->width()); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.h similarity index 56% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.h index 9fae064b..35de63b2 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.h @@ -3,47 +3,63 @@ #include #include #include -#include +#include #include -#include +#include #include #include #include -#include #include #include #include #include +#include +#include +#include #include +#include #include #include +#include #include +#include #include +#include #include #include #include +#include #include #include -#include #include -#include +#include +#include +#include +#include #include #include +#include #include +#include #include #include #include #include -#include -#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include #include -#include #include -#include -#include -#include #include #include #include @@ -53,396 +69,25 @@ #include #include #include +#include #include #include #include +#include #include #include #include #include #include +#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) {}; - - ~PythonQtShell_QStyleOptionToolButton(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolButton : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ToolButtonFeature ) -Q_FLAGS(ToolButtonFeatures ) -enum StyleOptionType{ - Type = QStyleOptionToolButton::Type}; -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}; -Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) -public slots: -QStyleOptionToolButton* new_QStyleOptionToolButton(); -QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); -QStyleOptionToolButton* new_QStyleOptionToolButton(int version); -void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } -void py_set_arrowType(QStyleOptionToolButton* theWrappedObject, Qt::ArrowType arrowType){ theWrappedObject->arrowType = arrowType; } -Qt::ArrowType py_get_arrowType(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->arrowType; } -void py_set_features(QStyleOptionToolButton* theWrappedObject, QStyleOptionToolButton::ToolButtonFeatures features){ theWrappedObject->features = features; } -QStyleOptionToolButton::ToolButtonFeatures py_get_features(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->features; } -void py_set_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; } -QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; } -void py_set_icon(QStyleOptionToolButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->icon; } -void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } -QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; } -void py_set_pos(QStyleOptionToolButton* theWrappedObject, QPoint pos){ theWrappedObject->pos = pos; } -QPoint py_get_pos(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->pos; } -void py_set_text(QStyleOptionToolButton* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->text; } -void py_set_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; } -Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; } -}; - - - - - -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) {}; - - ~PythonQtShell_QStyleOptionViewItem(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Position StyleOptionType StyleOptionVersion ViewItemFeature ViewItemPosition ) -Q_FLAGS(ViewItemFeatures ) -enum Position{ - Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; -enum StyleOptionType{ - Type = QStyleOptionViewItem::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionViewItem::Version}; -enum ViewItemFeature{ - None = QStyleOptionViewItem::None, WrapText = QStyleOptionViewItem::WrapText, Alternate = QStyleOptionViewItem::Alternate, HasCheckIndicator = QStyleOptionViewItem::HasCheckIndicator, HasDisplay = QStyleOptionViewItem::HasDisplay, HasDecoration = QStyleOptionViewItem::HasDecoration}; -enum ViewItemPosition{ - Invalid = QStyleOptionViewItem::Invalid, Beginning = QStyleOptionViewItem::Beginning, Middle = QStyleOptionViewItem::Middle, End = QStyleOptionViewItem::End, OnlyOne = QStyleOptionViewItem::OnlyOne}; -Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) -public slots: -QStyleOptionViewItem* new_QStyleOptionViewItem(); -QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); -QStyleOptionViewItem* new_QStyleOptionViewItem(int version); -void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } -void py_set_backgroundBrush(QStyleOptionViewItem* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; } -QBrush py_get_backgroundBrush(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->backgroundBrush; } -void py_set_checkState(QStyleOptionViewItem* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; } -Qt::CheckState py_get_checkState(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->checkState; } -void py_set_decorationAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment decorationAlignment){ theWrappedObject->decorationAlignment = decorationAlignment; } -Qt::Alignment py_get_decorationAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationAlignment; } -void py_set_decorationPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::Position decorationPosition){ theWrappedObject->decorationPosition = decorationPosition; } -QStyleOptionViewItem::Position py_get_decorationPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationPosition; } -void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; } -QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; } -void py_set_displayAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment displayAlignment){ theWrappedObject->displayAlignment = displayAlignment; } -Qt::Alignment py_get_displayAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->displayAlignment; } -void py_set_features(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemFeatures features){ theWrappedObject->features = features; } -QStyleOptionViewItem::ViewItemFeatures py_get_features(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->features; } -void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } -QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; } -void py_set_icon(QStyleOptionViewItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->icon; } -void py_set_index(QStyleOptionViewItem* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; } -QModelIndex py_get_index(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->index; } -void py_set_locale(QStyleOptionViewItem* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; } -QLocale py_get_locale(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->locale; } -void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; } -bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; } -void py_set_text(QStyleOptionViewItem* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->text; } -void py_set_textElideMode(QStyleOptionViewItem* theWrappedObject, Qt::TextElideMode textElideMode){ theWrappedObject->textElideMode = textElideMode; } -Qt::TextElideMode py_get_textElideMode(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->textElideMode; } -void py_set_viewItemPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; } -QStyleOptionViewItem::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->viewItemPosition; } -const QWidget* py_get_widget(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->widget; } -}; - - - - - -class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 -{ -public: - PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionViewItemV2(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject -{ Q_OBJECT -public: -public slots: -QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); -QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other) { -PythonQtShell_QStyleOptionViewItemV2* a = new PythonQtShell_QStyleOptionViewItemV2(); -*((QStyleOptionViewItemV2*)a) = other; -return a; } -void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 -{ -public: - PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionViewItemV3(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject -{ Q_OBJECT -public: -public slots: -QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); -QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other) { -PythonQtShell_QStyleOptionViewItemV3* a = new PythonQtShell_QStyleOptionViewItemV3(); -*((QStyleOptionViewItemV3*)a) = other; -return a; } -void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 -{ -public: - PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionViewItemV4(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject -{ Q_OBJECT -public: -public slots: -QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); -QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other) { -PythonQtShell_QStyleOptionViewItemV4* a = new PythonQtShell_QStyleOptionViewItemV4(); -*((QStyleOptionViewItemV4*)a) = other; -return a; } -void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } -}; - - - - - -class PythonQtWrapper_QStylePainter : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QStylePainter(QStylePainter* obj) { delete obj; } - 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 drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt); - void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap); - 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); - QStyle* style(QStylePainter* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QStylePlugin : public QStylePlugin -{ -public: - PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStylePlugin(); - -virtual QStyle* create(const QString& key); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin -{ public: -inline QStyle* py_q_create(const QString& key) { return this->create(key); } -}; - -class PythonQtWrapper_QStylePlugin : public QObject -{ Q_OBJECT -public: -public slots: -QStylePlugin* new_QStylePlugin(QObject* parent = nullptr); -void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } - QStyle* create(QStylePlugin* theWrappedObject, const QString& key); - QStyle* py_q_create(QStylePlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QStylePlugin*)theWrappedObject)->py_q_create(key));} -}; - - - - - -class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate -{ -public: - PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStyledItemDelegate(); - -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -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 eventFilter(QObject* object, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const; -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() 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 updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate -{ public: -inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return this->editorEvent(event, model, option, index); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } -inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { this->initStyleOption(option, index); } -inline QWidget* py_q_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } -inline QString py_q_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } -inline bool py_q_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } -inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } -inline void py_q_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } -inline void py_q_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } -inline void py_q_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } -inline void py_q_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } -inline QSize py_q_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } -inline void py_q_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } -}; - -class PythonQtWrapper_QStyledItemDelegate : public QObject -{ Q_OBJECT -public: -public slots: -QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = nullptr); -void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } - QWidget* py_q_createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} - QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; - QString py_q_displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_displayText(value, locale));} - bool py_q_editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} - bool eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event); - bool py_q_eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_eventFilter(object, event));} - void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; - void py_q_initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_initStyleOption(option, index));} - QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; - void py_q_paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_paint(painter, option, index));} - void py_q_setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setEditorData(editor, index));} - void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); - void py_q_setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setModelData(editor, model, index));} - QSize py_q_sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_sizeHint(option, index));} - void py_q_updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_updateEditorGeometry(editor, option, index));} -}; - - - - - -class PythonQtShell_QSurface : public QSurface -{ -public: - PythonQtShell_QSurface(QSurface::SurfaceClass type):QSurface(type),_wrapper(NULL) {}; - - ~PythonQtShell_QSurface(); - -virtual QSurfaceFormat format() const; -virtual QSize size() const; -virtual QPlatformSurface* surfaceHandle() const; -virtual QSurface::SurfaceType surfaceType() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSurface : public QSurface -{ public: -inline QSurfaceFormat py_q_format() const { return this->format(); } -inline QSize py_q_size() const { return this->size(); } -inline QPlatformSurface* py_q_surfaceHandle() const { return this->surfaceHandle(); } -inline QSurface::SurfaceType py_q_surfaceType() const { return this->surfaceType(); } -}; - -class PythonQtWrapper_QSurface : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SurfaceClass SurfaceType ) -enum SurfaceClass{ - Window = QSurface::Window, Offscreen = QSurface::Offscreen}; -enum SurfaceType{ - RasterSurface = QSurface::RasterSurface, OpenGLSurface = QSurface::OpenGLSurface, RasterGLSurface = QSurface::RasterGLSurface, OpenVGSurface = QSurface::OpenVGSurface, VulkanSurface = QSurface::VulkanSurface, MetalSurface = QSurface::MetalSurface}; -public slots: -QSurface* new_QSurface(QSurface::SurfaceClass type); -void delete_QSurface(QSurface* obj) { delete obj; } - QSurfaceFormat format(QSurface* theWrappedObject) const; - QSurfaceFormat py_q_format(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_format());} - QSize size(QSurface* theWrappedObject) const; - QSize py_q_size(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_size());} - bool supportsOpenGL(QSurface* theWrappedObject) const; - QSurface::SurfaceClass surfaceClass(QSurface* theWrappedObject) const; - QPlatformSurface* surfaceHandle(QSurface* theWrappedObject) const; - QPlatformSurface* py_q_surfaceHandle(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_surfaceHandle());} - QSurface::SurfaceType surfaceType(QSurface* theWrappedObject) const; - QSurface::SurfaceType py_q_surfaceType(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_surfaceType());} -}; - - - - - class PythonQtWrapper_QSurfaceFormat : public QObject { Q_OBJECT public: @@ -463,7 +108,7 @@ public slots: QSurfaceFormat* new_QSurfaceFormat(); QSurfaceFormat* new_QSurfaceFormat(QSurfaceFormat::FormatOptions options); QSurfaceFormat* new_QSurfaceFormat(const QSurfaceFormat& other); -void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } +void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } int alphaBufferSize(QSurfaceFormat* theWrappedObject) const; int blueBufferSize(QSurfaceFormat* theWrappedObject) const; QSurfaceFormat::ColorSpace colorSpace(QSurfaceFormat* theWrappedObject) const; @@ -473,6 +118,7 @@ void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } bool hasAlpha(QSurfaceFormat* theWrappedObject) const; int majorVersion(QSurfaceFormat* theWrappedObject) const; int minorVersion(QSurfaceFormat* theWrappedObject) const; + bool __ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2); QSurfaceFormat* operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other); bool __eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2); QSurfaceFormat::FormatOptions options(QSurfaceFormat* theWrappedObject) const; @@ -514,12 +160,30 @@ void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } +class PythonQtShell_QSwipeGesture : public QSwipeGesture +{ +public: + PythonQtShell_QSwipeGesture(QObject* parent = nullptr):QSwipeGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSwipeGesture() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QSwipeGesture : public QObject { Q_OBJECT public: public slots: QSwipeGesture* new_QSwipeGesture(QObject* parent = nullptr); -void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } +void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } QSwipeGesture::SwipeDirection horizontalDirection(QSwipeGesture* theWrappedObject) const; void setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value); qreal swipeAngle(QSwipeGesture* theWrappedObject) const; @@ -533,16 +197,21 @@ void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter { public: - PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; - PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; + PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; + PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSyntaxHighlighter(); + ~PythonQtShell_QSyntaxHighlighter() override; -virtual void highlightBlock(const QString& text); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void highlightBlock(const QString& text) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSyntaxHighlighter : public QSyntaxHighlighter @@ -567,7 +236,7 @@ class PythonQtWrapper_QSyntaxHighlighter : public QObject public slots: QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent); QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent); -void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } +void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } QTextBlock currentBlock(QSyntaxHighlighter* theWrappedObject) const; int currentBlockState(QSyntaxHighlighter* theWrappedObject) const; QTextBlockUserData* currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const; @@ -591,16 +260,20 @@ void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon { public: - PythonQtShell_QSystemTrayIcon(QObject* parent = nullptr):QSystemTrayIcon(parent),_wrapper(NULL) {}; - PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr):QSystemTrayIcon(icon, parent),_wrapper(NULL) {}; + PythonQtShell_QSystemTrayIcon(QObject* parent = nullptr):QSystemTrayIcon(parent),_wrapper(nullptr) {}; + PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr):QSystemTrayIcon(icon, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSystemTrayIcon(); + ~PythonQtShell_QSystemTrayIcon() override; -virtual bool event(QEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon @@ -620,9 +293,8 @@ enum MessageIcon{ public slots: QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = nullptr); QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr); -void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } +void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const; - bool event(QSystemTrayIcon* theWrappedObject, QEvent* event); bool py_q_event(QSystemTrayIcon* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSystemTrayIcon*)theWrappedObject)->py_q_event(event));} QRect geometry(QSystemTrayIcon* theWrappedObject) const; QIcon icon(QSystemTrayIcon* theWrappedObject) const; @@ -642,61 +314,64 @@ void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } class PythonQtShell_QTabBar : public QTabBar { public: - PythonQtShell_QTabBar(QWidget* parent = nullptr):QTabBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTabBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual QSize minimumTabSizeHint(int index) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabInserted(int index); -virtual void tabLayoutChange(); -virtual void tabRemoved(int index); -virtual QSize tabSizeHint(int index) const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTabBar(QWidget* parent = nullptr):QTabBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTabBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +QSize minimumTabSizeHint(int index) const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabInserted(int index) override; +void tabLayoutChange() override; +void tabRemoved(int index) override; +QSize tabSizeHint(int index) const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTabBar : public QTabBar @@ -750,7 +425,7 @@ enum SelectionBehavior{ SelectLeftTab = QTabBar::SelectLeftTab, SelectRightTab = QTabBar::SelectRightTab, SelectPreviousTab = QTabBar::SelectPreviousTab}; public slots: QTabBar* new_QTabBar(QWidget* parent = nullptr); -void delete_QTabBar(QTabBar* obj) { delete obj; } +void delete_QTabBar(QTabBar* obj) { delete obj; } QString accessibleTabName(QTabBar* theWrappedObject, int index) const; int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); int addTab(QTabBar* theWrappedObject, const QString& text); @@ -829,7 +504,6 @@ void delete_QTabBar(QTabBar* obj) { delete obj; } QString tabToolTip(QTabBar* theWrappedObject, int index) const; QString tabWhatsThis(QTabBar* theWrappedObject, int index) const; bool tabsClosable(QTabBar* theWrappedObject) const; - void timerEvent(QTabBar* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QTabBar* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_timerEvent(event));} bool usesScrollButtons(QTabBar* theWrappedObject) const; void py_q_wheelEvent(QTabBar* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_wheelEvent(event));} @@ -842,57 +516,61 @@ void delete_QTabBar(QTabBar* obj) { delete obj; } class PythonQtShell_QTabWidget : public QTabWidget { public: - PythonQtShell_QTabWidget(QWidget* parent = nullptr):QTabWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTabWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabInserted(int index); -virtual void tabRemoved(int index); -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTabWidget(QWidget* parent = nullptr):QTabWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTabWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabInserted(int index) override; +void tabRemoved(int index) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTabWidget : public QTabWidget @@ -926,7 +604,7 @@ class PythonQtWrapper_QTabWidget : public QObject public: public slots: QTabWidget* new_QTabWidget(QWidget* parent = nullptr); -void delete_QTabWidget(QTabWidget* obj) { delete obj; } +void delete_QTabWidget(QTabWidget* obj) { delete obj; } int addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label); int addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2); void py_q_changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -998,99 +676,101 @@ void delete_QTabWidget(QTabWidget* obj) { delete obj; } class PythonQtShell_QTableView : public QTableView { public: - PythonQtShell_QTableView(QWidget* parent = nullptr):QTableView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTableView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) 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 = 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 = nullptr) 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 setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTableView(QWidget* parent = nullptr):QTableView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTableView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableView : public QTableView @@ -1153,7 +833,7 @@ class PythonQtWrapper_QTableView : public QObject public: public slots: QTableView* new_QTableView(QWidget* parent = nullptr); -void delete_QTableView(QTableView* obj) { delete obj; } +void delete_QTableView(QTableView* obj) { delete obj; } void clearSpans(QTableView* theWrappedObject); int columnAt(QTableView* theWrappedObject, int x) const; int columnSpan(QTableView* theWrappedObject, int row, int column) const; @@ -1218,103 +898,105 @@ void delete_QTableView(QTableView* obj) { delete obj; } class PythonQtShell_QTableWidget : public QTableWidget { public: - PythonQtShell_QTableWidget(QWidget* parent = nullptr):QTableWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = nullptr):QTableWidget(rows, columns, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTableWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) 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 = 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 = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -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* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTableWidget(QWidget* parent = nullptr):QTableWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = nullptr):QTableWidget(rows, columns, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTableWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidget : public QTableWidget @@ -1343,7 +1025,7 @@ class PythonQtWrapper_QTableWidget : public QObject public slots: QTableWidget* new_QTableWidget(QWidget* parent = nullptr); QTableWidget* new_QTableWidget(int rows, int columns, QWidget* parent = nullptr); -void delete_QTableWidget(QTableWidget* obj) { delete obj; } +void delete_QTableWidget(QTableWidget* obj) { delete obj; } QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const; void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; @@ -1410,20 +1092,19 @@ void delete_QTableWidget(QTableWidget* obj) { delete obj; } 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) {}; + PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(nullptr) {}; + PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(nullptr) {}; + PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(nullptr) {}; - ~PythonQtShell_QTableWidgetItem(); + ~PythonQtShell_QTableWidgetItem() override; -virtual QTableWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual bool __lt__(const QTableWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(int role, const QVariant& value); -virtual void write(QDataStream& out) const; +QTableWidgetItem* clone() const override; +QVariant data(int role) const override; +void read(QDataStream& in) override; +void setData(int role, const QVariant& value) override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem @@ -1445,7 +1126,7 @@ 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; } +void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } QBrush background(QTableWidgetItem* theWrappedObject) const; Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const; QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const; @@ -1501,7 +1182,7 @@ 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; } +void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } int bottomRow(QTableWidgetSelectionRange* theWrappedObject) const; int columnCount(QTableWidgetSelectionRange* theWrappedObject) const; int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const; @@ -1518,13 +1199,13 @@ void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete class PythonQtShell_QTabletEvent : public QTabletEvent { public: - PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, 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, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {}; - PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons),_wrapper(NULL) {}; + PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, 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, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(nullptr) {}; + PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons),_wrapper(nullptr) {}; - ~PythonQtShell_QTabletEvent(); + ~PythonQtShell_QTabletEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTabletEvent : public QObject @@ -1538,7 +1219,7 @@ enum TabletDevice{ public slots: QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID); QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons); -void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } +void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } Qt::MouseButton button(QTabletEvent* theWrappedObject) const; Qt::MouseButtons buttons(QTabletEvent* theWrappedObject) const; QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const; @@ -1567,12 +1248,30 @@ void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } +class PythonQtShell_QTapAndHoldGesture : public QTapAndHoldGesture +{ +public: + PythonQtShell_QTapAndHoldGesture(QObject* parent = nullptr):QTapAndHoldGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTapAndHoldGesture() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QTapAndHoldGesture : public QObject { Q_OBJECT public: public slots: QTapAndHoldGesture* new_QTapAndHoldGesture(QObject* parent = nullptr); -void delete_QTapAndHoldGesture(QTapAndHoldGesture* obj) { delete obj; } +void delete_QTapAndHoldGesture(QTapAndHoldGesture* obj) { delete obj; } QPointF position(QTapAndHoldGesture* theWrappedObject) const; void setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos); void static_QTapAndHoldGesture_setTimeout(int msecs); @@ -1583,12 +1282,30 @@ void delete_QTapAndHoldGesture(QTapAndHoldGesture* obj) { delete obj; } +class PythonQtShell_QTapGesture : public QTapGesture +{ +public: + PythonQtShell_QTapGesture(QObject* parent = nullptr):QTapGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTapGesture() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QTapGesture : public QObject { Q_OBJECT public: public slots: QTapGesture* new_QTapGesture(QObject* parent = nullptr); -void delete_QTapGesture(QTapGesture* obj) { delete obj; } +void delete_QTapGesture(QTapGesture* obj) { delete obj; } QPointF position(QTapGesture* theWrappedObject) const; void setPosition(QTapGesture* theWrappedObject, const QPointF& pos); }; @@ -1603,7 +1320,7 @@ class PythonQtWrapper_QTextBlock : public QObject public slots: QTextBlock* new_QTextBlock(); QTextBlock* new_QTextBlock(const QTextBlock& o); -void delete_QTextBlock(QTextBlock* obj) { delete obj; } +void delete_QTextBlock(QTextBlock* obj) { delete obj; } QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; int blockFormatIndex(QTextBlock* theWrappedObject) const; @@ -1649,13 +1366,13 @@ void delete_QTextBlock(QTextBlock* obj) { delete obj; } class PythonQtShell_QTextBlockFormat : public QTextBlockFormat { public: - PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextBlockFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockFormat : public QObject @@ -1671,7 +1388,7 @@ 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 delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; int headingLevel(QTextBlockFormat* theWrappedObject) const; @@ -1709,17 +1426,22 @@ void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } class PythonQtShell_QTextBlockGroup : public QTextBlockGroup { public: - PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {}; + PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextBlockGroup(); + ~PythonQtShell_QTextBlockGroup() override; -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); +void blockFormatChanged(const QTextBlock& block) override; +void blockInserted(const QTextBlock& block) override; +void blockRemoved(const QTextBlock& block) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup @@ -1754,12 +1476,12 @@ QTextBlockGroup* new_QTextBlockGroup(QTextDocument* doc); class PythonQtShell_QTextBlockUserData : public QTextBlockUserData { public: - PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {}; + PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(nullptr) {}; - ~PythonQtShell_QTextBlockUserData(); + ~PythonQtShell_QTextBlockUserData() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockUserData : public QObject @@ -1767,7 +1489,7 @@ class PythonQtWrapper_QTextBlockUserData : public QObject public: public slots: QTextBlockUserData* new_QTextBlockUserData(); -void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } +void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } }; @@ -1777,71 +1499,73 @@ void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } class PythonQtShell_QTextBrowser : public QTextBrowser { public: - PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextBrowser(); - -virtual void actionEvent(QActionEvent* event); -virtual void backward(); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void home(); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reload(); -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setSource(const QUrl& name); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextBrowser() override; + +void actionEvent(QActionEvent* event) override; +void backward() override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* ev) override; +void forward() override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void home() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reload() override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setSource(const QUrl& name) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser @@ -1876,7 +1600,7 @@ class PythonQtWrapper_QTextBrowser : public QObject public: public slots: QTextBrowser* new_QTextBrowser(QWidget* parent = nullptr); -void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } +void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } void py_q_backward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_backward());} int backwardHistoryCount(QTextBrowser* theWrappedObject) const; void clearHistory(QTextBrowser* theWrappedObject); @@ -1913,21 +1637,221 @@ void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } +class PythonQtShell_QTextCharFormat : public QTextCharFormat +{ +public: + PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextCharFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextCharFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontPropertiesInheritanceBehavior UnderlineStyle VerticalAlignment ) +enum FontPropertiesInheritanceBehavior{ + FontPropertiesSpecifiedOnly = QTextCharFormat::FontPropertiesSpecifiedOnly, FontPropertiesAll = QTextCharFormat::FontPropertiesAll}; +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}; +enum VerticalAlignment{ + AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom, AlignBaseline = QTextCharFormat::AlignBaseline}; +public slots: +QTextCharFormat* new_QTextCharFormat(); +QTextCharFormat* new_QTextCharFormat(const QTextFormat& fmt); +QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { +PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); +*((QTextCharFormat*)a) = other; +return a; } +void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } + QString anchorHref(QTextCharFormat* theWrappedObject) const; + QStringList anchorNames(QTextCharFormat* theWrappedObject) const; + QFont font(QTextCharFormat* theWrappedObject) const; + QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; + QVariant fontFamilies(QTextCharFormat* theWrappedObject) const; + QString fontFamily(QTextCharFormat* theWrappedObject) const; + bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; + QFont::HintingPreference fontHintingPreference(QTextCharFormat* theWrappedObject) const; + bool fontItalic(QTextCharFormat* theWrappedObject) const; + bool fontKerning(QTextCharFormat* theWrappedObject) const; + qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; + QFont::SpacingType fontLetterSpacingType(QTextCharFormat* theWrappedObject) const; + bool fontOverline(QTextCharFormat* theWrappedObject) const; + qreal fontPointSize(QTextCharFormat* theWrappedObject) const; + int fontStretch(QTextCharFormat* theWrappedObject) const; + bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; + QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const; + QVariant fontStyleName(QTextCharFormat* theWrappedObject) const; + QFont::StyleStrategy fontStyleStrategy(QTextCharFormat* theWrappedObject) const; + bool fontUnderline(QTextCharFormat* theWrappedObject) const; + int fontWeight(QTextCharFormat* theWrappedObject) const; + qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const; + bool isAnchor(QTextCharFormat* theWrappedObject) const; + bool isValid(QTextCharFormat* theWrappedObject) const; + void setAnchor(QTextCharFormat* theWrappedObject, bool anchor); + void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value); + void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names); + void setFont(QTextCharFormat* theWrappedObject, const QFont& font); + void setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior); + void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization); + void setFontFamilies(QTextCharFormat* theWrappedObject, const QStringList& families); + void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family); + void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch); + void setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference); + void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); + void setFontKerning(QTextCharFormat* theWrappedObject, bool enable); + void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); + void setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType); + void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); + void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); + void setFontStretch(QTextCharFormat* theWrappedObject, int factor); + void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); + void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); + void setFontStyleName(QTextCharFormat* theWrappedObject, const QString& styleName); + void setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy); + void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline); + void setFontWeight(QTextCharFormat* theWrappedObject, int weight); + void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing); + void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan); + void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan); + void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen); + void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip); + void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color); + void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style); + void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment); + int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const; + int tableCellRowSpan(QTextCharFormat* theWrappedObject) const; + QPen textOutline(QTextCharFormat* theWrappedObject) const; + QString toolTip(QTextCharFormat* theWrappedObject) const; + QColor underlineColor(QTextCharFormat* theWrappedObject) const; + QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const; + QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const; + bool __nonzero__(QTextCharFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +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, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow}; +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; } + int anchor(QTextCursor* theWrappedObject) const; + bool atBlockEnd(QTextCursor* theWrappedObject) const; + bool atBlockStart(QTextCursor* theWrappedObject) const; + bool atEnd(QTextCursor* theWrappedObject) const; + bool atStart(QTextCursor* theWrappedObject) const; + void beginEditBlock(QTextCursor* theWrappedObject); + QTextBlock block(QTextCursor* theWrappedObject) const; + QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const; + QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const; + int blockNumber(QTextCursor* theWrappedObject) const; + QTextCharFormat charFormat(QTextCursor* theWrappedObject) const; + void clearSelection(QTextCursor* theWrappedObject); + int columnNumber(QTextCursor* theWrappedObject) const; + QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style); + QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format); + QTextFrame* currentFrame(QTextCursor* theWrappedObject) const; + QTextList* currentList(QTextCursor* theWrappedObject) const; + QTextTable* currentTable(QTextCursor* theWrappedObject) const; + void deleteChar(QTextCursor* theWrappedObject); + void deletePreviousChar(QTextCursor* theWrappedObject); + QTextDocument* document(QTextCursor* theWrappedObject) const; + void endEditBlock(QTextCursor* theWrappedObject); + bool hasComplexSelection(QTextCursor* theWrappedObject) const; + bool hasSelection(QTextCursor* theWrappedObject) const; + void insertBlock(QTextCursor* theWrappedObject); + void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format); + void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat); + void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment); + QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format); + void insertHtml(QTextCursor* theWrappedObject, const QString& html); + void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString()); + void insertImage(QTextCursor* theWrappedObject, const QString& name); + void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format); + void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment); + QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style); + QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format); + QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols); + QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format); + void insertText(QTextCursor* theWrappedObject, const QString& text); + void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format); + bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const; + bool isNull(QTextCursor* theWrappedObject) const; + void joinPreviousEditBlock(QTextCursor* theWrappedObject); + bool keepPositionOnInsert(QTextCursor* theWrappedObject) const; + void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); + void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier); + void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); + bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1); + bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + int position(QTextCursor* theWrappedObject) const; + int positionInBlock(QTextCursor* theWrappedObject) const; + void removeSelectedText(QTextCursor* theWrappedObject); + void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); + QString selectedText(QTextCursor* theWrappedObject) const; + QTextDocumentFragment selection(QTextCursor* theWrappedObject) const; + int selectionEnd(QTextCursor* theWrappedObject) const; + int selectionStart(QTextCursor* theWrappedObject) const; + void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); + void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format); + void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); + void setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b); + void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + void setVerticalMovementX(QTextCursor* theWrappedObject, int x); + void setVisualNavigation(QTextCursor* theWrappedObject, bool b); + void swap(QTextCursor* theWrappedObject, QTextCursor& other); + int verticalMovementX(QTextCursor* theWrappedObject) const; + bool visualNavigation(QTextCursor* theWrappedObject) const; + bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); } +}; + + + + + class PythonQtShell_QTextDocument : public QTextDocument { public: - PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(NULL) {}; - PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(NULL) {}; + PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTextDocument(); + ~PythonQtShell_QTextDocument() override; -virtual void clear(); -virtual QTextObject* createObject(const QTextFormat& f); -virtual QVariant loadResource(int type, const QUrl& name); +void childEvent(QChildEvent* event) override; +void clear() override; +QTextObject* createObject(const QTextFormat& f) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextDocument : public QTextDocument @@ -1954,7 +1878,7 @@ Q_DECLARE_FLAGS(FindFlags, FindFlag) public slots: QTextDocument* new_QTextDocument(QObject* parent = nullptr); QTextDocument* new_QTextDocument(const QString& text, QObject* parent = nullptr); -void delete_QTextDocument(QTextDocument* obj) { delete obj; } +void delete_QTextDocument(QTextDocument* obj) { delete obj; } void addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource); void adjustSize(QTextDocument* theWrappedObject); QVector allFormats(QTextDocument* theWrappedObject) const; @@ -2051,7 +1975,7 @@ 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; } +void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); @@ -2069,7 +1993,10 @@ class PythonQtWrapper_QTextDocumentWriter : public QObject { Q_OBJECT public: public slots: -void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } +QTextDocumentWriter* new_QTextDocumentWriter(); +QTextDocumentWriter* new_QTextDocumentWriter(QIODevice* device, const QByteArray& format); +QTextDocumentWriter* new_QTextDocumentWriter(const QString& fileName, const QByteArray& format = QByteArray()); +void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } QTextCodec* codec(QTextDocumentWriter* theWrappedObject) const; QIODevice* device(QTextDocumentWriter* theWrappedObject) const; QString fileName(QTextDocumentWriter* theWrappedObject) const; @@ -2084,3 +2011,478 @@ void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } }; + + + +class PythonQtShell_QTextEdit : public QTextEdit +{ +public: + PythonQtShell_QTextEdit(QWidget* parent = nullptr):QTextEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextEdit(const QString& text, QWidget* parent = nullptr):QTextEdit(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextEdit() override; + +void actionEvent(QActionEvent* event) override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextEdit : public QTextEdit +{ public: +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } +inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void promoted_zoomInF(float range) { this->zoomInF(range); } +inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } +inline void py_q_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } +inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } +inline QMimeData* py_q_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } +inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QTextEdit::doSetTextCursor(cursor); } +inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } +inline bool py_q_event(QEvent* e) { return QTextEdit::event(e); } +inline void py_q_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } +inline void py_q_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } +inline void py_q_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } +inline void py_q_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } +inline void py_q_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } +inline void py_q_wheelEvent(QWheelEvent* e) { QTextEdit::wheelEvent(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 = nullptr); +QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = nullptr); +void delete_QTextEdit(QTextEdit* obj) { delete obj; } + bool acceptRichText(QTextEdit* theWrappedObject) const; + Qt::Alignment alignment(QTextEdit* theWrappedObject) const; + QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const; + QTextEdit::AutoFormatting autoFormatting(QTextEdit* theWrappedObject) const; + bool canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const; + bool py_q_canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} + bool canPaste(QTextEdit* theWrappedObject) const; + void py_q_changeEvent(QTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_changeEvent(e));} + void py_q_contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} + QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; + QMimeData* py_q_createMimeDataFromSelection(QTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} + QMenu* createStandardContextMenu(QTextEdit* theWrappedObject); + QMenu* createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position); + QTextCharFormat currentCharFormat(QTextEdit* theWrappedObject) const; + QFont currentFont(QTextEdit* theWrappedObject) const; + QTextCursor cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const; + QRect cursorRect(QTextEdit* theWrappedObject) const; + QRect cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const; + int cursorWidth(QTextEdit* theWrappedObject) const; + void doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); + void py_q_doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} + QTextDocument* document(QTextEdit* theWrappedObject) const; + QString documentTitle(QTextEdit* theWrappedObject) const; + void py_q_dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} + void py_q_dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dropEvent(e));} + void ensureCursorVisible(QTextEdit* theWrappedObject); + bool py_q_event(QTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_event(e));} + QList extraSelections(QTextEdit* theWrappedObject) const; + bool find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + void py_q_focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} + bool py_q_focusNextPrevChild(QTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} + QString fontFamily(QTextEdit* theWrappedObject) const; + bool fontItalic(QTextEdit* theWrappedObject) const; + qreal fontPointSize(QTextEdit* theWrappedObject) const; + bool fontUnderline(QTextEdit* theWrappedObject) const; + int fontWeight(QTextEdit* theWrappedObject) const; + void py_q_inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} + QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; + void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); + void py_q_insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} + bool isReadOnly(QTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; + void py_q_keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} + int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; + QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; + QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); + QVariant py_q_loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} + void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void py_q_mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} + void py_q_mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QTextEdit* theWrappedObject) const; + void py_q_paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_paintEvent(e));} + QString placeholderText(QTextEdit* theWrappedObject) const; + void print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; + void py_q_resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} + void py_q_scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setAcceptRichText(QTextEdit* theWrappedObject, bool accept); + void setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features); + void setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format); + void setCursorWidth(QTextEdit* theWrappedObject, int width); + void setDocument(QTextEdit* theWrappedObject, QTextDocument* document); + void setDocumentTitle(QTextEdit* theWrappedObject, const QString& title); + void setExtraSelections(QTextEdit* theWrappedObject, const QList& selections); + void setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w); + void setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode); + void setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite); + void setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText); + void setReadOnly(QTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); + void setTabStopDistance(QTextEdit* theWrappedObject, qreal distance); + void setTabStopWidth(QTextEdit* theWrappedObject, int width); + void setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); + void setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); + void setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable); + void setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy); + void py_q_showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} + bool tabChangesFocus(QTextEdit* theWrappedObject) const; + qreal tabStopDistance(QTextEdit* theWrappedObject) const; + int tabStopWidth(QTextEdit* theWrappedObject) const; + QColor textBackgroundColor(QTextEdit* theWrappedObject) const; + QColor textColor(QTextEdit* theWrappedObject) const; + QTextCursor textCursor(QTextEdit* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QTextEdit* theWrappedObject) const; + void py_q_timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_timerEvent(e));} + QString toHtml(QTextEdit* theWrappedObject) const; + QString toPlainText(QTextEdit* theWrappedObject) const; + void py_q_wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} + QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; + void zoomInF(QTextEdit* theWrappedObject, float range); +}; + + + + + +class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection +{ +public: + PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextEdit__ExtraSelection(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject +{ Q_OBJECT +public: +public slots: +QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(); +QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(const QTextEdit::ExtraSelection& other) { +PythonQtShell_QTextEdit__ExtraSelection* a = new PythonQtShell_QTextEdit__ExtraSelection(); +*((QTextEdit::ExtraSelection*)a) = other; +return a; } +void delete_QTextEdit__ExtraSelection(QTextEdit::ExtraSelection* obj) { delete obj; } +void py_set_cursor(QTextEdit::ExtraSelection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } +QTextCursor py_get_cursor(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->cursor; } +void py_set_format(QTextEdit::ExtraSelection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } +QTextCharFormat py_get_format(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->format; } +}; + + + + + +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; } + QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; + int charFormatIndex(QTextFragment* theWrappedObject) const; + bool contains(QTextFragment* theWrappedObject, int position) const; + QList glyphRuns(QTextFragment* theWrappedObject, int from = -1, int length = -1) const; + bool isValid(QTextFragment* theWrappedObject) const; + int length(QTextFragment* theWrappedObject) const; + bool __ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const; + bool __lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const; + bool __eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const; + int position(QTextFragment* theWrappedObject) const; + QString text(QTextFragment* theWrappedObject) const; + bool __nonzero__(QTextFragment* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextFrame : public QTextFrame +{ +public: + PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextFrame() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextFrame : public QObject +{ Q_OBJECT +public: +public slots: +QTextFrame* new_QTextFrame(QTextDocument* doc); +void delete_QTextFrame(QTextFrame* obj) { delete obj; } + QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; + QList childFrames(QTextFrame* theWrappedObject) const; + QTextFrame::iterator end(QTextFrame* theWrappedObject) const; + QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const; + int firstPosition(QTextFrame* theWrappedObject) const; + QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const; + QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const; + int lastPosition(QTextFrame* theWrappedObject) const; + QTextFrame* parentFrame(QTextFrame* theWrappedObject) const; + void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format); +}; + + + + + +class PythonQtShell_QTextFrameFormat : public QTextFrameFormat +{ +public: + PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextFrameFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextFrameFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BorderStyle Position ) +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}; +enum Position{ + InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; +public slots: +QTextFrameFormat* new_QTextFrameFormat(); +QTextFrameFormat* new_QTextFrameFormat(const QTextFormat& fmt); +QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { +PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); +*((QTextFrameFormat*)a) = other; +return a; } +void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } + qreal border(QTextFrameFormat* theWrappedObject) const; + QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; + QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; + qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; + QTextLength height(QTextFrameFormat* theWrappedObject) const; + bool isValid(QTextFrameFormat* theWrappedObject) const; + qreal leftMargin(QTextFrameFormat* theWrappedObject) const; + qreal margin(QTextFrameFormat* theWrappedObject) const; + qreal padding(QTextFrameFormat* theWrappedObject) const; + QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; + QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; + qreal rightMargin(QTextFrameFormat* theWrappedObject) const; + void setBorder(QTextFrameFormat* theWrappedObject, qreal border); + void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); + void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); + void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); + void setHeight(QTextFrameFormat* theWrappedObject, qreal height); + void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); + void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); + void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); + void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); + void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); + void setWidth(QTextFrameFormat* theWrappedObject, qreal width); + qreal topMargin(QTextFrameFormat* theWrappedObject) const; + QTextLength width(QTextFrameFormat* theWrappedObject) const; + bool __nonzero__(QTextFrameFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextImageFormat : public QTextImageFormat +{ +public: + PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextImageFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextImageFormat : public QObject +{ Q_OBJECT +public: +public slots: +QTextImageFormat* new_QTextImageFormat(); +QTextImageFormat* new_QTextImageFormat(const QTextFormat& format); +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 height(QTextImageFormat* theWrappedObject) const; + bool isValid(QTextImageFormat* theWrappedObject) const; + QString name(QTextImageFormat* theWrappedObject) const; + int quality(QTextImageFormat* theWrappedObject) const; + void setHeight(QTextImageFormat* theWrappedObject, qreal height); + void setName(QTextImageFormat* theWrappedObject, const QString& name); + void setQuality(QTextImageFormat* theWrappedObject, int quality = 100); + void setWidth(QTextImageFormat* theWrappedObject, qreal width); + qreal width(QTextImageFormat* theWrappedObject) const; + bool __nonzero__(QTextImageFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +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 ascent(QTextInlineObject* theWrappedObject) const; + qreal descent(QTextInlineObject* theWrappedObject) const; + QTextFormat format(QTextInlineObject* theWrappedObject) const; + int formatIndex(QTextInlineObject* theWrappedObject) const; + qreal height(QTextInlineObject* theWrappedObject) const; + bool isValid(QTextInlineObject* theWrappedObject) const; + QRectF rect(QTextInlineObject* theWrappedObject) const; + void setAscent(QTextInlineObject* theWrappedObject, qreal a); + void setDescent(QTextInlineObject* theWrappedObject, qreal d); + void setWidth(QTextInlineObject* theWrappedObject, qreal w); + Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const; + int textPosition(QTextInlineObject* theWrappedObject) const; + qreal width(QTextInlineObject* theWrappedObject) const; + bool __nonzero__(QTextInlineObject* obj) { return obj->isValid(); } +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp similarity index 73% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index defb7d66..3ee4a06f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -1,11 +1,9 @@ -#include "com_trolltech_qt_gui10.h" +#include "com_trolltech_qt_gui11.h" #include #include #include #include -#include #include -#include #include #include #include @@ -13,593 +11,500 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include -#include #include +#include #include +#include +#include #include #include #include +#include #include +#include +#include #include +#include +#include #include #include +#include #include -#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include #include +#include +#include +#include #include #include +#include #include -#include #include #include -#include #include #include #include -#include -#include -#include +#include #include -#include #include -#include +#include +#include +#include +#include #include #include -PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { +PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) +QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() +{ +return new PythonQtShell_QTextItem(); } + +qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->ascent()); } - QTextEdit::actionEvent(event0); + +qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->descent()); } -bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const + +QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canInsertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->font()); } - return QTextEdit::canInsertFromMimeData(source0); + +QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->renderFlags()); } -void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) + +QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->text()); } - QTextEdit::changeEvent(e0); + +qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->width()); } -void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) + + + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout() +{ +return new QTextLayout(); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text) +{ +return new QTextLayout(text); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice) +{ +return new QTextLayout(text, font, paintdevice); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QTextBlock& b) +{ +return new QTextLayout(b); } + +QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->additionalFormats()); } - QTextEdit::closeEvent(event0); + +void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->beginLayout()); } -void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) + +QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->boundingRect()); } - QTextEdit::contextMenuEvent(e0); + +bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->cacheEnabled()); } -QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const + +void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createMimeDataFromSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->clearAdditionalFormats()); } - return QTextEdit::createMimeDataFromSelection(); + +void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->clearFormats()); } -int PythonQtShell_QTextEdit::devType() const + +void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->clearLayout()); } - return QTextEdit::devType(); + +QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) +{ + return ( theWrappedObject->createLine()); } -void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) + +Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doSetTextCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->cursorMoveStyle()); } - QTextEdit::doSetTextCursor(cursor0); + +void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const +{ + ( theWrappedObject->draw(p, pos, selections, clip)); } -void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) + +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawCursor(p, pos, cursorPosition)); } - QTextEdit::dragEnterEvent(e0); + +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const +{ + ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); } -void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) + +void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->endLayout()); } - QTextEdit::dragLeaveEvent(e0); + +QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->font()); } -void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) + +QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::dragMoveEvent(e0); + return ( theWrappedObject->formats()); } -void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) + +QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::dropEvent(e0); + return ( theWrappedObject->glyphRuns(from, length)); } -void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) + +bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::enterEvent(event0); + return ( theWrappedObject->isValidCursorPosition(pos)); } -bool PythonQtShell_QTextEdit::event(QEvent* e0) + +int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->leftCursorPosition(oldPos)); } - return QTextEdit::event(e0); + +QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const +{ + return ( theWrappedObject->lineAt(i)); } -bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) + +int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lineCount()); } - return QTextEdit::eventFilter(arg__1, arg__2); + +QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const +{ + return ( theWrappedObject->lineForTextPosition(pos)); } -void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) + +qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->maximumWidth()); } - QTextEdit::focusInEvent(e0); + +qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); } -bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) + +int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->nextCursorPosition(oldPos, mode)); } - return QTextEdit::focusNextPrevChild(next0); + +QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->position()); } -void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) + +int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->preeditAreaPosition()); } - QTextEdit::focusOutEvent(e0); + +QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->preeditAreaText()); } -bool PythonQtShell_QTextEdit::hasHeightForWidth() const + +int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->previousCursorPosition(oldPos, mode)); } - return QTextEdit::hasHeightForWidth(); + +int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +{ + return ( theWrappedObject->rightCursorPosition(oldPos)); } -int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const + +void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAdditionalFormats(overrides)); } - return QTextEdit::heightForWidth(arg__1); + +void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCacheEnabled(enable)); } -void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) { -if (_wrapper) { + ( theWrappedObject->setCursorMoveStyle(style)); +} + +void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) +{ + ( theWrappedObject->setFont(f)); +} + +void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) +{ + ( theWrappedObject->setFormats(overrides)); +} + +void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->setPosition(p)); +} + +void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) +{ + ( theWrappedObject->setPreeditArea(position, text)); +} + +void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) +{ + ( theWrappedObject->setRawFont(rawFont)); +} + +void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) +{ + ( theWrappedObject->setText(string)); +} + +void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) +{ + ( theWrappedObject->setTextOption(option)); +} + +QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const +{ + return &( theWrappedObject->textOption()); +} + + + +PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextLayout::FormatRange* PythonQtWrapper_QTextLayout__FormatRange::new_QTextLayout__FormatRange() +{ +return new PythonQtShell_QTextLayout__FormatRange(); } + + + +QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() +{ +return new QTextLine(); } + +qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); +} + +qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const +{ + return ( theWrappedObject->cursorToX(cursorPos, edge)); +} + +qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->descent()); +} + +void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const +{ + ( theWrappedObject->draw(p, point, selection)); +} + +QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const +{ + return ( theWrappedObject->glyphRuns(from, length)); +} + +qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->horizontalAdvance()); +} + +bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->leading()); +} + +bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->leadingIncluded()); +} + +int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->naturalTextRect()); +} + +qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->naturalTextWidth()); +} + +QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) +{ + ( theWrappedObject->setLeadingIncluded(included)); +} + +void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) +{ + ( theWrappedObject->setLineWidth(width)); +} + +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) +{ + ( theWrappedObject->setNumColumns(columns)); +} + +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) +{ + ( theWrappedObject->setNumColumns(columns, alignmentWidth)); +} + +void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPosition(pos)); +} + +int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->textLength()); +} + +int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->textStart()); +} + +qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const +{ + return ( theWrappedObject->xToCursor(x, arg__2)); +} + +qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +PythonQtShell_QTextList::~PythonQtShell_QTextList() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) +{ +if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -607,21 +512,21 @@ if (_wrapper) { } } } - QTextEdit::hideEvent(event0); + QTextList::blockFormatChanged(block0); } -void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -629,21 +534,21 @@ if (_wrapper) { } } } - QTextEdit::initPainter(painter0); + QTextList::blockInserted(block0); } -void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -651,54 +556,43 @@ if (_wrapper) { } } } - QTextEdit::inputMethodEvent(arg__1); + QTextList::blockRemoved(block0); } -QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const +void PythonQtShell_QTextList::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&property0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::inputMethodQuery(property0); + QTextList::childEvent(event0); } -void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) +void PythonQtShell_QTextList::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertFromMimeData"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -706,98 +600,65 @@ if (_wrapper) { } } } - QTextEdit::insertFromMimeData(source0); + QTextList::customEvent(event0); } -void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) +bool PythonQtShell_QTextList::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextEdit::keyPressEvent(e0); + return QTextList::event(event0); } -void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) +bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::keyReleaseEvent(e0); -} -void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::leaveEvent(event0); -} -QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadResource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -805,131 +666,170 @@ if (_wrapper) { } } } - return QTextEdit::loadResource(type0, name1); + return QTextList::eventFilter(watched0, event1); } -int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::metric(arg__1); + QTextList::timerEvent(event0); } -QSize PythonQtShell_QTextEdit::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) +{ +return new PythonQtShell_QTextList(doc); } + +const QMetaObject* PythonQtShell_QTextList::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextList::staticMetaObject); + } else { + return &QTextList::staticMetaObject; } } - return QTextEdit::minimumSizeHint(); +int PythonQtShell_QTextList::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextList::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->add(block)); } - QTextEdit::mouseDoubleClickEvent(e0); + +int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const +{ + return ( theWrappedObject->count()); } -void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) + +QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->format()); +} + +QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const +{ + return ( theWrappedObject->item(i)); +} + +int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const +{ + return ( theWrappedObject->itemNumber(arg__1)); +} + +QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const +{ + return ( theWrappedObject->itemText(arg__1)); +} + +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)); +} + +void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + + + +PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() +{ +return new PythonQtShell_QTextListFormat(); } + +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextListFormat(fmt); } + +int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->numberPrefix()); } - QTextEdit::mouseMoveEvent(e0); + +QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->numberSuffix()); +} + +void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) +{ + ( theWrappedObject->setIndent(indent)); +} + +void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) +{ + ( theWrappedObject->setNumberPrefix(numberPrefix)); +} + +void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) +{ + ( theWrappedObject->setNumberSuffix(numberSuffix)); +} + +void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) +{ + ( theWrappedObject->setStyle(style)); +} + +QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + + + +PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -937,21 +837,21 @@ if (_wrapper) { } } } - QTextEdit::mousePressEvent(e0); + QTextObject::childEvent(event0); } -void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QTextObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -959,54 +859,65 @@ if (_wrapper) { } } } - QTextEdit::mouseReleaseEvent(e0); + QTextObject::customEvent(event0); } -void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QTextObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextEdit::moveEvent(event0); + return QTextObject::event(event0); } -bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1014,54 +925,219 @@ if (_wrapper) { } } } - return QTextEdit::nativeEvent(eventType0, message1, result2); + return QTextObject::eventFilter(watched0, event1); } -QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const +void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::paintEngine(); + QTextObject::timerEvent(event0); +} +QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) +{ +return new PythonQtShell_QTextObject(doc); } + +const QMetaObject* PythonQtShell_QTextObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextObject::staticMetaObject); + } else { + return &QTextObject::staticMetaObject; + } +} +int PythonQtShell_QTextObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +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()); +} + +int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->objectIndex()); +} + +void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) +{ + ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); +} + + + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() +{ +return new QTextOption(); } + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) +{ +return new QTextOption(alignment); } + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) +{ +return new QTextOption(o); } + +Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) +{ + ( theWrappedObject->setTabArray(tabStops)); +} + +void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) +{ + ( theWrappedObject->setTabStop(tabStop)); +} + +void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) +{ + ( theWrappedObject->setTabStopDistance(tabStopDistance)); +} + +void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) +{ + ( theWrappedObject->setTabs(tabStops)); +} + +void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) +{ + ( theWrappedObject->setTextDirection(aDirection)); +} + +void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) +{ + ( theWrappedObject->setUseDesignMetrics(b)); +} + +void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) +{ + ( theWrappedObject->setWrapMode(wrap)); +} + +QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabArray()); +} + +qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabStop()); +} + +qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabStopDistance()); +} + +QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabs()); +} + +Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->useDesignMetrics()); +} + +QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->wrapMode()); +} + + + +PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab() +{ +return new PythonQtShell_QTextOption__Tab(); } + +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) +{ +return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } + +bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +{ + return ( (*theWrappedObject)== other); +} + + + +PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) +void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1069,98 +1145,109 @@ if (_wrapper) { } } } - QTextEdit::paintEvent(e0); + QTextTable::childEvent(event0); } -QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const +void PythonQtShell_QTextTable::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::redirected(offset0); + QTextTable::customEvent(event0); } -void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) +bool PythonQtShell_QTextTable::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextEdit::resizeEvent(e0); + return QTextTable::event(event0); } -void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) +bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextEdit::scrollContentsBy(dx0, dy1); + return QTextTable::eventFilter(watched0, event1); } -void PythonQtShell_QTextEdit::setVisible(bool visible0) +void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1168,1407 +1255,1636 @@ if (_wrapper) { } } } - QTextEdit::setVisible(visible0); + QTextTable::timerEvent(event0); +} +QTextTable* PythonQtWrapper_QTextTable::new_QTextTable(QTextDocument* doc) +{ +return new PythonQtShell_QTextTable(doc); } + +const QMetaObject* PythonQtShell_QTextTable::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextTable::staticMetaObject); + } else { + return &QTextTable::staticMetaObject; + } +} +int PythonQtShell_QTextTable::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextTable::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) +void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::setupViewport(viewport0); + ( theWrappedObject->appendColumns(count)); } -QPainter* PythonQtShell_QTextEdit::sharedPainter() const + +void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::sharedPainter(); + ( theWrappedObject->appendRows(count)); } -void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::showEvent(arg__1); + return ( theWrappedObject->cellAt(c)); } -QSize PythonQtShell_QTextEdit::sizeHint() const + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::sizeHint(); + return ( theWrappedObject->cellAt(position)); } -void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::tabletEvent(event0); + return ( theWrappedObject->cellAt(row, col)); } -void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) + +int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::timerEvent(e0); + return ( theWrappedObject->columns()); } -bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) + +QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::viewportEvent(arg__1); + return ( theWrappedObject->format()); } -QSize PythonQtShell_QTextEdit::viewportSizeHint() const + +void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::viewportSizeHint(); + ( theWrappedObject->insertColumns(pos, num)); } -void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) + +void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::wheelEvent(e0); + ( theWrappedObject->insertRows(pos, num)); } -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); } -const QMetaObject* PythonQtShell_QTextEdit::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextEdit::staticMetaObject); - } else { - return &QTextEdit::staticMetaObject; - } -} -int PythonQtShell_QTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextEdit::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->acceptRichText()); + ( theWrappedObject->mergeCells(cursor)); } -Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { - return ( theWrappedObject->alignment()); + ( theWrappedObject->mergeCells(row, col, numRows, numCols)); } -QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->anchorAt(pos)); + ( theWrappedObject->removeColumns(pos, num)); } -QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->autoFormatting()); + ( theWrappedObject->removeRows(pos, num)); } -bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const +void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) { - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); + ( theWrappedObject->resize(rows, cols)); } -bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( theWrappedObject->canPaste()); + return ( theWrappedObject->rowEnd(c)); } -QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); + return ( theWrappedObject->rowStart(c)); } -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) +int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const { - return ( theWrappedObject->createStandardContextMenu()); + return ( theWrappedObject->rows()); } -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) +void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) { - return ( theWrappedObject->createStandardContextMenu(position)); + ( theWrappedObject->setFormat(format)); } -QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { - return ( theWrappedObject->currentCharFormat()); + ( theWrappedObject->splitCell(row, col, numRows, numCols)); } -QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const + + +QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() +{ +return new QTextTableCell(); } + +QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) +{ +return new QTextTableCell(o); } + +QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->currentFont()); + return ( theWrappedObject->begin()); } -QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const +int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->cursorForPosition(pos)); + return ( theWrappedObject->column()); } -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->cursorRect()); + return ( theWrappedObject->columnSpan()); } -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const +QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->cursorRect(cursor)); + return ( theWrappedObject->end()); } -int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->cursorWidth()); + return ( theWrappedObject->firstCursorPosition()); } -void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); + return ( theWrappedObject->firstPosition()); } -QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->documentTitle()); -} - -void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) -{ - ( theWrappedObject->ensureCursorVisible()); -} - -QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->extraSelections()); -} - -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->format()); } -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) +bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->lastCursorPosition()); } -QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->fontFamily()); + return ( theWrappedObject->lastPosition()); } -bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const { - return ( theWrappedObject->fontItalic()); + return ( (*theWrappedObject)!= other); } -qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const { - return ( theWrappedObject->fontPointSize()); + return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->fontUnderline()); + return ( theWrappedObject->row()); } -int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->fontWeight()); + return ( theWrappedObject->rowSpan()); } -QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) { - return ( theWrappedObject->inputMethodQuery(query, argument)); + ( theWrappedObject->setFormat(format)); } -void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) +int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); + return ( theWrappedObject->tableCellFormatIndex()); } -bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} -bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isUndoRedoEnabled()); -} -int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->lineWrapColumnOrWidth()); +PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() +{ +return new PythonQtShell_QTextTableCellFormat(); } -QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->lineWrapMode()); -} +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextTableCellFormat(fmt); } -QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) +qreal PythonQtWrapper_QTextTableCellFormat::bottomBorder(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->loadResource(type, name)); + return ( theWrappedObject->bottomBorder()); } -void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) +QBrush PythonQtWrapper_QTextTableCellFormat::bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->mergeCurrentCharFormat(modifier)); + return ( theWrappedObject->bottomBorderBrush()); } -void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->moveCursor(operation, mode)); + return ( theWrappedObject->bottomBorderStyle()); } -bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->overwriteMode()); + return ( theWrappedObject->bottomPadding()); } -QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->placeholderText()); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +qreal PythonQtWrapper_QTextTableCellFormat::leftBorder(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->print(printer)); + return ( theWrappedObject->leftBorder()); } -void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) +QBrush PythonQtWrapper_QTextTableCellFormat::leftBorderBrush(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setAcceptRichText(accept)); + return ( theWrappedObject->leftBorderBrush()); } -void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::leftBorderStyle(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setAutoFormatting(features)); + return ( theWrappedObject->leftBorderStyle()); } -void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) +qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setCurrentCharFormat(format)); + return ( theWrappedObject->leftPadding()); } -void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) +qreal PythonQtWrapper_QTextTableCellFormat::rightBorder(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setCursorWidth(width)); + return ( theWrappedObject->rightBorder()); } -void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) +QBrush PythonQtWrapper_QTextTableCellFormat::rightBorderBrush(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setDocument(document)); + return ( theWrappedObject->rightBorderBrush()); } -void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::rightBorderStyle(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setDocumentTitle(title)); + return ( theWrappedObject->rightBorderStyle()); } -void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) +qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setExtraSelections(selections)); + return ( theWrappedObject->rightPadding()); } -void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) +void PythonQtWrapper_QTextTableCellFormat::setBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - ( theWrappedObject->setLineWrapColumnOrWidth(w)); + ( theWrappedObject->setBorder(width)); } -void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) +void PythonQtWrapper_QTextTableCellFormat::setBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setLineWrapMode(mode)); + ( theWrappedObject->setBorderBrush(brush)); } -void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) +void PythonQtWrapper_QTextTableCellFormat::setBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - ( theWrappedObject->setOverwriteMode(overwrite)); + ( theWrappedObject->setBorderStyle(style)); } -void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) +void PythonQtWrapper_QTextTableCellFormat::setBottomBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - ( theWrappedObject->setPlaceholderText(placeholderText)); + ( theWrappedObject->setBottomBorder(width)); } -void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) +void PythonQtWrapper_QTextTableCellFormat::setBottomBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setReadOnly(ro)); + ( theWrappedObject->setBottomBorderBrush(brush)); } -void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) +void PythonQtWrapper_QTextTableCellFormat::setBottomBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - ( theWrappedObject->setTabChangesFocus(b)); + ( theWrappedObject->setBottomBorderStyle(style)); } -void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) +void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->setTabStopDistance(distance)); + ( theWrappedObject->setBottomPadding(padding)); } -void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) +void PythonQtWrapper_QTextTableCellFormat::setLeftBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - ( theWrappedObject->setTabStopWidth(width)); + ( theWrappedObject->setLeftBorder(width)); } -void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +void PythonQtWrapper_QTextTableCellFormat::setLeftBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setTextCursor(cursor)); + ( theWrappedObject->setLeftBorderBrush(brush)); } -void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +void PythonQtWrapper_QTextTableCellFormat::setLeftBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - ( theWrappedObject->setTextInteractionFlags(flags)); + ( theWrappedObject->setLeftBorderStyle(style)); } -void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) +void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->setUndoRedoEnabled(enable)); + ( theWrappedObject->setLeftPadding(padding)); } -void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) +void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->setWordWrapMode(policy)); + ( theWrappedObject->setPadding(padding)); } -bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setRightBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - return ( theWrappedObject->tabChangesFocus()); + ( theWrappedObject->setRightBorder(width)); } -qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setRightBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->tabStopDistance()); + ( theWrappedObject->setRightBorderBrush(brush)); } -int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setRightBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - return ( theWrappedObject->tabStopWidth()); + ( theWrappedObject->setRightBorderStyle(style)); } -QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->textBackgroundColor()); + ( theWrappedObject->setRightPadding(padding)); } -QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setTopBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - return ( theWrappedObject->textColor()); + ( theWrappedObject->setTopBorder(width)); } -QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setTopBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->textCursor()); + ( theWrappedObject->setTopBorderBrush(brush)); } -Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setTopBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - return ( theWrappedObject->textInteractionFlags()); + ( theWrappedObject->setTopBorderStyle(style)); } -void PythonQtWrapper_QTextEdit::timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e) +void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_timerEvent(e)); + ( theWrappedObject->setTopPadding(padding)); } -QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextTableCellFormat::topBorder(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->toHtml()); + return ( theWrappedObject->topBorder()); } -QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const +QBrush PythonQtWrapper_QTextTableCellFormat::topBorderBrush(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->toPlainText()); + return ( theWrappedObject->topBorderBrush()); } -QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::topBorderStyle(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->wordWrapMode()); + return ( theWrappedObject->topBorderStyle()); } -void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) +qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); + return ( theWrappedObject->topPadding()); } -PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { +PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QTextEdit::ExtraSelection* PythonQtWrapper_QTextEdit__ExtraSelection::new_QTextEdit__ExtraSelection() -{ -return new PythonQtShell_QTextEdit__ExtraSelection(); } - - - -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() { -return new QTextFragment(); } +return new PythonQtShell_QTextTableFormat(); } -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat(const QTextFormat& fmt) { -return new QTextFragment(o); } - -QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->charFormat()); -} - -int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->charFormatIndex()); -} +return new PythonQtShell_QTextTableFormat(fmt); } -bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const +Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->contains(position)); + return ( theWrappedObject->alignment()); } -QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const +bool PythonQtWrapper_QTextTableFormat::borderCollapse(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->glyphRuns(from, length)); + return ( theWrappedObject->borderCollapse()); } -bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const +qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->cellPadding()); } -int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const +qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->length()); + return ( theWrappedObject->cellSpacing()); } -bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const +void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) { - return ( (*theWrappedObject)!= o); + ( theWrappedObject->clearColumnWidthConstraints()); } -bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const +QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const { - return ( (*theWrappedObject)< o); + return ( theWrappedObject->columnWidthConstraints()); } -bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const +int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const { - return ( (*theWrappedObject)== o); + return ( theWrappedObject->columns()); } -int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const +int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->headerRowCount()); } -QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const +bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->text()); -} - - - -PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->isValid()); } -QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() -{ -return new PythonQtShell_QTextFrameFormat(); } -QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextFrameFormat(fmt); } - -qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->border()); + ( theWrappedObject->setAlignment(alignment)); } -QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableFormat::setBorderCollapse(QTextTableFormat* theWrappedObject, bool borderCollapse) { - return ( theWrappedObject->borderBrush()); + ( theWrappedObject->setBorderCollapse(borderCollapse)); } -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->borderStyle()); + ( theWrappedObject->setCellPadding(padding)); } -qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) { - return ( theWrappedObject->bottomMargin()); + ( theWrappedObject->setCellSpacing(spacing)); } -QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) { - return ( theWrappedObject->height()); + ( theWrappedObject->setColumnWidthConstraints(constraints)); } -bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setColumns(columns)); } -qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) { - return ( theWrappedObject->leftMargin()); + ( theWrappedObject->setHeaderRowCount(count)); } -qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->margin()); -} -qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->padding()); -} -QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->pageBreakPolicy()); +PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) +{ +return new PythonQtShell_QTileRules(horizontalRule, verticalRule); } -QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule rule) +{ +return new PythonQtShell_QTileRules(rule); } -qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightMargin()); -} -void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border) -{ - ( theWrappedObject->setBorder(border)); -} -void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBorderBrush(brush)); +PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) { - ( theWrappedObject->setBorderStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setBottomMargin(margin)); + QTimeEdit::actionEvent(event0); } - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) +void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { - ( theWrappedObject->setHeight(height)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); + QTimeEdit::changeEvent(event0); } - -void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) +void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) { - ( theWrappedObject->setLeftMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setPadding(padding)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) -{ - ( theWrappedObject->setPageBreakPolicy(flags)); + QTimeEdit::childEvent(event0); } - -void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) +void PythonQtShell_QTimeEdit::clear() { - ( theWrappedObject->setPosition(f)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setRightMargin(margin)); + QTimeEdit::clear(); } - -void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) +void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setTopMargin(margin)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) -{ - ( theWrappedObject->setWidth(length)); + QTimeEdit::closeEvent(event0); } - -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { - ( theWrappedObject->setWidth(width)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->topMargin()); + QTimeEdit::contextMenuEvent(event0); } - -QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) { - return ( theWrappedObject->width()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTimeEdit::customEvent(event0); } -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() -{ -return new PythonQtShell_QTextImageFormat(); } - -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat(const QTextFormat& format) -{ -return new PythonQtShell_QTextImageFormat(format); } - -qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const +QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const { - return ( theWrappedObject->height()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dateTimeFromText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QDateTime returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + return QTimeEdit::dateTimeFromText(text0); } - -QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const +int PythonQtShell_QTimeEdit::devType() const { - return ( theWrappedObject->name()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextImageFormat::quality(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->quality()); + return QTimeEdit::devType(); } - -void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) +void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setHeight(height)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); + QTimeEdit::dragEnterEvent(event0); } - -void PythonQtWrapper_QTextImageFormat::setQuality(QTextImageFormat* theWrappedObject, int quality) +void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setQuality(quality)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setWidth(width)); + QTimeEdit::dragLeaveEvent(event0); } - -qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->width()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() -{ -return new QTextInlineObject(); } - -qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); + QTimeEdit::dragMoveEvent(event0); } - -qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->descent()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); + QTimeEdit::dropEvent(event0); } - -int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) { - return ( theWrappedObject->formatIndex()); -} - -qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->height()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + QTimeEdit::enterEvent(event0); } - -QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const +bool PythonQtShell_QTimeEdit::event(QEvent* event0) { - return ( theWrappedObject->rect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) -{ - ( theWrappedObject->setAscent(a)); + return QTimeEdit::event(event0); } - -void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) +bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setDescent(d)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); + return QTimeEdit::eventFilter(watched0, event1); } - -Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTimeEdit::fixup(QString& input0) const { - return ( theWrappedObject->textDirection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->textPosition()); + QTimeEdit::fixup(input0); } - -qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->width()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTimeEdit::focusInEvent(event0); } -QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() -{ -return new PythonQtShell_QTextItem(); } - -qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const +bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { - return ( theWrappedObject->ascent()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->descent()); + return QTimeEdit::focusNextPrevChild(next0); } - -QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const +void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->font()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->renderFlags()); + QTimeEdit::focusOutEvent(event0); } - -QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const +bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { - return ( theWrappedObject->text()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->width()); + return QTimeEdit::hasHeightForWidth(); } - - - -QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const +int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { - return ( theWrappedObject->additionalFormats()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->beginLayout()); + return QTimeEdit::heightForWidth(arg__1); } - -QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->cacheEnabled()); -} - -void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) +void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { - ( theWrappedObject->clearAdditionalFormats()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearFormats()); + QTimeEdit::hideEvent(event0); } - -void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) +void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { - ( theWrappedObject->clearLayout()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) -{ - return ( theWrappedObject->createLine()); + QTimeEdit::initPainter(painter0); } - -Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const +void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->cursorMoveStyle()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const -{ - ( theWrappedObject->draw(p, pos, selections, clip)); + QTimeEdit::inputMethodEvent(arg__1); } - -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const +QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - ( theWrappedObject->drawCursor(p, pos, cursorPosition)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const -{ - ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); + return QTimeEdit::inputMethodQuery(arg__1); } - -void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) +void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->endLayout()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->font()); + QTimeEdit::keyPressEvent(event0); } - -QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const +void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->formats()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); + QTimeEdit::keyReleaseEvent(event0); } - -bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const +void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) { - return ( theWrappedObject->isValidCursorPosition(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const -{ - return ( theWrappedObject->leftCursorPosition(oldPos)); + QTimeEdit::leaveEvent(event0); } - -QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const +int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->lineAt(i)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->lineCount()); + return QTimeEdit::metric(arg__1); } - -QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const +QSize PythonQtShell_QTimeEdit::minimumSizeHint() const { - return ( theWrappedObject->lineForTextPosition(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); + return QTimeEdit::minimumSizeHint(); } - -qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const +void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->minimumWidth()); -} - -int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const -{ - return ( theWrappedObject->nextCursorPosition(oldPos, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->position()); + QTimeEdit::mouseDoubleClickEvent(event0); } - -int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const +void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->preeditAreaPosition()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->preeditAreaText()); + QTimeEdit::mouseMoveEvent(event0); } - -int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const +void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->previousCursorPosition(oldPos, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const -{ - return ( theWrappedObject->rightCursorPosition(oldPos)); + QTimeEdit::mousePressEvent(event0); } - -void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) +void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { - ( theWrappedObject->setAdditionalFormats(overrides)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCacheEnabled(enable)); + QTimeEdit::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) +void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->setCursorMoveStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) -{ - ( theWrappedObject->setFlags(flags)); + QTimeEdit::moveEvent(event0); } - -void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) +bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setFont(f)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) -{ - ( theWrappedObject->setFormats(overrides)); + return QTimeEdit::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) +QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { - ( theWrappedObject->setPosition(p)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) -{ - ( theWrappedObject->setPreeditArea(position, text)); + return QTimeEdit::paintEngine(); } - -void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) +void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { - ( theWrappedObject->setRawFont(rawFont)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) -{ - ( theWrappedObject->setText(string)); + QTimeEdit::paintEvent(event0); } - -void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) +QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { - ( theWrappedObject->setTextOption(option)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->text()); + return QTimeEdit::redirected(offset0); } - -const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const +void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { - return &( theWrappedObject->textOption()); -} - - - -PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextLayout::FormatRange* PythonQtWrapper_QTextLayout__FormatRange::new_QTextLayout__FormatRange() -{ -return new PythonQtShell_QTextLayout__FormatRange(); } - - - -QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() -{ -return new QTextLine(); } - -qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const -{ - return ( theWrappedObject->cursorToX(cursorPos, edge)); -} - -qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const -{ - ( theWrappedObject->draw(p, point, selection)); -} - -QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); -} - -qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->horizontalAdvance()); -} - -bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->leading()); -} - -bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->leadingIncluded()); -} - -int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->lineNumber()); -} - -QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextRect()); -} - -qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextWidth()); -} - -QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) -{ - ( theWrappedObject->setLeadingIncluded(included)); -} - -void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) -{ - ( theWrappedObject->setLineWidth(width)); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) -{ - ( theWrappedObject->setNumColumns(columns)); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) -{ - ( theWrappedObject->setNumColumns(columns, alignmentWidth)); -} - -void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPosition(pos)); -} - -int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textLength()); -} - -int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textStart()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->width()); + QTimeEdit::resizeEvent(event0); } - -qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const +void PythonQtShell_QTimeEdit::setVisible(bool visible0) { - return ( theWrappedObject->x()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const -{ - return ( theWrappedObject->xToCursor(x, arg__2)); + QTimeEdit::setVisible(visible0); } - -qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const +QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { - return ( theWrappedObject->y()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextList::~PythonQtShell_QTextList() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTimeEdit::sharedPainter(); } -void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) +void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockFormatChanged"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2576,43 +2892,54 @@ if (_wrapper) { } } } - QTextList::blockFormatChanged(block0); + QTimeEdit::showEvent(event0); } -void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) +QSize PythonQtShell_QTimeEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockInserted"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextList::blockInserted(block0); + return QTimeEdit::sizeHint(); } -void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) +void PythonQtShell_QTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockRemoved"); + static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2620,806 +2947,2829 @@ if (_wrapper) { } } } - QTextList::blockRemoved(block0); -} -QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) -{ -return new PythonQtShell_QTextList(doc); } - -const QMetaObject* PythonQtShell_QTextList::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextList::staticMetaObject); - } else { - return &QTextList::staticMetaObject; - } -} -int PythonQtShell_QTextList::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextList::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + QTimeEdit::stepBy(steps0); } -void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) +QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { - ( theWrappedObject->add(block)); -} - -int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const -{ - return ( theWrappedObject->item(i)); -} - -int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const -{ - return ( theWrappedObject->itemNumber(arg__1)); -} - -QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const -{ - return ( theWrappedObject->itemText(arg__1)); -} - -void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) -{ - ( theWrappedObject->remove(arg__1)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) -{ - ( theWrappedObject->removeItem(i)); + return QTimeEdit::stepEnabled(); } - -void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) +void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setFormat(format)); -} - - - -PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() -{ -return new PythonQtShell_QTextListFormat(); } - -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextListFormat(fmt); } - -int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->indent()); + QTimeEdit::tabletEvent(event0); } - -bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const +QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { - return ( theWrappedObject->isValid()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textFromDateTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&dt0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->numberPrefix()); + return QTimeEdit::textFromDateTime(dt0); } - -QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->numberSuffix()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) -{ - ( theWrappedObject->setIndent(indent)); + QTimeEdit::timerEvent(event0); } - -void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) +QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const { - ( theWrappedObject->setNumberPrefix(numberPrefix)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) -{ - ( theWrappedObject->setNumberSuffix(numberSuffix)); + return QTimeEdit::validate(input0, pos1); } - -void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) +void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { - ( theWrappedObject->setStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->style()); + QTimeEdit::wheelEvent(event0); } +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(QWidget* parent) +{ +return new PythonQtShell_QTimeEdit(parent); } - - -PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(const QTime& time, QWidget* parent) { -return new PythonQtShell_QTextObject(doc); } +return new PythonQtShell_QTimeEdit(time, parent); } -const QMetaObject* PythonQtShell_QTextObject::metaObject() const { +const QMetaObject* PythonQtShell_QTimeEdit::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextObject::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeEdit::staticMetaObject); } else { - return &QTextObject::staticMetaObject; + return &QTimeEdit::staticMetaObject; } } -int PythonQtShell_QTextObject::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextObject::qt_metacall(call, id, args); +int PythonQtShell_QTimeEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTimeEdit::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -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()); -} -int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->objectIndex()); +PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) +void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { - ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); -} - - - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() -{ -return new QTextOption(); } - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) -{ -return new QTextOption(alignment); } - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) -{ -return new QTextOption(o); } - -Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->flags()); + QToolBar::actionEvent(event0); } - -void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) +void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { - ( theWrappedObject->setAlignment(alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) -{ - ( theWrappedObject->setFlags(flags)); + QToolBar::changeEvent(event0); } - -void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) +void PythonQtShell_QToolBar::childEvent(QChildEvent* event0) { - ( theWrappedObject->setTabArray(tabStops)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) -{ - ( theWrappedObject->setTabStop(tabStop)); + QToolBar::childEvent(event0); } - -void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) +void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setTabStopDistance(tabStopDistance)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) -{ - ( theWrappedObject->setTabs(tabStops)); + QToolBar::closeEvent(event0); } - -void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) +void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) { - ( theWrappedObject->setTextDirection(aDirection)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) -{ - ( theWrappedObject->setUseDesignMetrics(b)); + QToolBar::contextMenuEvent(event0); } - -void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) +void PythonQtShell_QToolBar::customEvent(QEvent* event0) { - ( theWrappedObject->setWrapMode(wrap)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabArray()); + QToolBar::customEvent(event0); } - -qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const +int PythonQtShell_QToolBar::devType() const { - return ( theWrappedObject->tabStop()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabStopDistance()); + return QToolBar::devType(); } - -QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const +void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->tabs()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); + QToolBar::dragEnterEvent(event0); } - -bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const +void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->useDesignMetrics()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const + QToolBar::dragLeaveEvent(event0); +} +void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->wrapMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QToolBar::dragMoveEvent(event0); } -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab() +void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::dropEvent(event0); +} +void PythonQtShell_QToolBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::enterEvent(event0); +} +bool PythonQtShell_QToolBar::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::event(event0); +} +bool PythonQtShell_QToolBar::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::eventFilter(watched0, event1); +} +void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::focusInEvent(event0); +} +bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::focusNextPrevChild(next0); +} +void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::focusOutEvent(event0); +} +bool PythonQtShell_QToolBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::hasHeightForWidth(); +} +int PythonQtShell_QToolBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::heightForWidth(arg__1); +} +void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::hideEvent(event0); +} +void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::initPainter(painter0); +} +void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::keyPressEvent(event0); +} +void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::keyReleaseEvent(event0); +} +void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::leaveEvent(event0); +} +int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::metric(arg__1); +} +QSize PythonQtShell_QToolBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::minimumSizeHint(); +} +void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::mouseMoveEvent(event0); +} +void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::mousePressEvent(event0); +} +void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::mouseReleaseEvent(event0); +} +void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::moveEvent(event0); +} +bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QToolBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::paintEngine(); +} +void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::redirected(offset0); +} +void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::resizeEvent(event0); +} +void PythonQtShell_QToolBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::setVisible(visible0); +} +QPainter* PythonQtShell_QToolBar::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::sharedPainter(); +} +void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::showEvent(event0); +} +QSize PythonQtShell_QToolBar::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBar::sizeHint(); +} +void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::tabletEvent(event0); +} +void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::timerEvent(event0); +} +void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBar::wheelEvent(event0); +} +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(QWidget* parent) { -return new PythonQtShell_QTextOption__Tab(); } +return new PythonQtShell_QToolBar(parent); } + +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QToolBar(title, parent); } + +const QMetaObject* PythonQtShell_QToolBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBar::staticMetaObject); + } else { + return &QToolBar::staticMetaObject; + } +} +int PythonQtShell_QToolBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->actionAt(p)); +} + +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->actionAt(x, y)); +} + +QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const +{ + return ( theWrappedObject->actionGeometry(action)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addAction(icon, text)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member) +{ + return ( theWrappedObject->addAction(icon, text, receiver, member)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +{ + return ( theWrappedObject->addAction(text, receiver, member)); +} + +QAction* PythonQtWrapper_QToolBar::addSeparator(QToolBar* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); +} + +QAction* PythonQtWrapper_QToolBar::addWidget(QToolBar* theWrappedObject, QWidget* widget) +{ + return ( theWrappedObject->addWidget(widget)); +} + +Qt::ToolBarAreas PythonQtWrapper_QToolBar::allowedAreas(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->allowedAreas()); +} -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) +void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QToolBar::initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const +{ + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); +} + +QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) +{ + return ( theWrappedObject->insertWidget(before, widget)); +} + +bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const +{ + return ( theWrappedObject->isAreaAllowed(area)); +} + +bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->isFloatable()); +} + +bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->isFloating()); +} + +bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QToolBar::setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas) +{ + ( theWrappedObject->setAllowedAreas(areas)); +} + +void PythonQtWrapper_QToolBar::setFloatable(QToolBar* theWrappedObject, bool floatable) +{ + ( theWrappedObject->setFloatable(floatable)); +} + +void PythonQtWrapper_QToolBar::setMovable(QToolBar* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QToolBar::setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +QAction* PythonQtWrapper_QToolBar::toggleViewAction(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->toggleViewAction()); +} + +Qt::ToolButtonStyle PythonQtWrapper_QToolBar::toolButtonStyle(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); +} + +QWidget* PythonQtWrapper_QToolBar::widgetForAction(QToolBar* theWrappedObject, QAction* action) const +{ + return ( theWrappedObject->widgetForAction(action)); +} + + + +QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) { -return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } +return new QToolBarChangeEvent(t); } -bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->toggle()); +} + + + +PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::actionEvent(event0); +} +void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::changeEvent(arg__1); +} +void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::childEvent(event0); +} +void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::closeEvent(event0); +} +void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::contextMenuEvent(event0); +} +void PythonQtShell_QToolBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::customEvent(event0); +} +int PythonQtShell_QToolBox::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::devType(); +} +void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const + QToolBox::dragEnterEvent(event0); +} +void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( (*theWrappedObject)== other); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) + QToolBox::dragLeaveEvent(event0); +} +void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->appendColumns(count)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) + QToolBox::dragMoveEvent(event0); +} +void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) { - ( theWrappedObject->appendRows(count)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const + QToolBox::dropEvent(event0); +} +void PythonQtShell_QToolBox::enterEvent(QEvent* event0) { - return ( theWrappedObject->cellAt(c)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const + QToolBox::enterEvent(event0); +} +bool PythonQtShell_QToolBox::event(QEvent* e0) { - return ( theWrappedObject->cellAt(position)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const + return QToolBox::event(e0); +} +bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->cellAt(row, col)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const + return QToolBox::eventFilter(watched0, event1); +} +void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->columns()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const + QToolBox::focusInEvent(event0); +} +bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { - return ( theWrappedObject->format()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) + return QToolBox::focusNextPrevChild(next0); +} +void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->insertColumns(pos, num)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) + QToolBox::focusOutEvent(event0); +} +bool PythonQtShell_QToolBox::hasHeightForWidth() const { - ( theWrappedObject->insertRows(pos, num)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolBox::hasHeightForWidth(); } - -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) +int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { - ( theWrappedObject->mergeCells(cursor)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) -{ - ( theWrappedObject->mergeCells(row, col, numRows, numCols)); + return QToolBox::heightForWidth(arg__1); } - -void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) +void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) { - ( theWrappedObject->removeColumns(pos, num)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->removeRows(pos, num)); + QToolBox::hideEvent(event0); } - -void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) +void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { - ( theWrappedObject->resize(rows, cols)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const -{ - return ( theWrappedObject->rowEnd(c)); + QToolBox::initPainter(painter0); } - -QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const +void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->rowStart(c)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const -{ - return ( theWrappedObject->rows()); + QToolBox::inputMethodEvent(arg__1); } - -void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) +QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - ( theWrappedObject->setFormat(format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) -{ - ( theWrappedObject->splitCell(row, col, numRows, numCols)); + return QToolBox::inputMethodQuery(arg__1); } - - - -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() -{ -return new QTextTableCell(); } - -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) -{ -return new QTextTableCell(o); } - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const +void PythonQtShell_QToolBox::itemInserted(int index0) { - return ( theWrappedObject->begin()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->column()); + QToolBox::itemInserted(index0); } - -int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const +void PythonQtShell_QToolBox::itemRemoved(int index0) { - return ( theWrappedObject->columnSpan()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->end()); + QToolBox::itemRemoved(index0); } - -QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const +void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->firstCursorPosition()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->firstPosition()); + QToolBox::keyPressEvent(event0); } - -QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const +void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->format()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const + QToolBox::keyReleaseEvent(event0); +} +void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) { - return ( theWrappedObject->isValid()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->lastCursorPosition()); + QToolBox::leaveEvent(event0); } - -int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const +int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->lastPosition()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const -{ - return ( (*theWrappedObject)!= other); + return QToolBox::metric(arg__1); } - -bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +QSize PythonQtShell_QToolBox::minimumSizeHint() const { - return ( (*theWrappedObject)== other); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->row()); + return QToolBox::minimumSizeHint(); } - -int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const +void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->rowSpan()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setFormat(format)); + QToolBox::mouseDoubleClickEvent(event0); } - -int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const +void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->tableCellFormatIndex()); -} - - - -PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() -{ -return new PythonQtShell_QTextTableCellFormat(); } - -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextTableCellFormat(fmt); } - -qreal PythonQtWrapper_QTextTableCellFormat::bottomBorder(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomBorder()); + QToolBox::mouseMoveEvent(event0); } - -QBrush PythonQtWrapper_QTextTableCellFormat::bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->bottomBorderBrush()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomBorderStyle()); + QToolBox::mousePressEvent(event0); } - -qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->bottomPadding()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + QToolBox::mouseReleaseEvent(event0); } - -qreal PythonQtWrapper_QTextTableCellFormat::leftBorder(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->leftBorder()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QBrush PythonQtWrapper_QTextTableCellFormat::leftBorderBrush(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftBorderBrush()); + QToolBox::moveEvent(event0); } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::leftBorderStyle(QTextTableCellFormat* theWrappedObject) const +bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->leftBorderStyle()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftPadding()); + return QToolBox::nativeEvent(eventType0, message1, result2); } - -qreal PythonQtWrapper_QTextTableCellFormat::rightBorder(QTextTableCellFormat* theWrappedObject) const +QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { - return ( theWrappedObject->rightBorder()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QBrush PythonQtWrapper_QTextTableCellFormat::rightBorderBrush(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightBorderBrush()); + return QToolBox::paintEngine(); } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::rightBorderStyle(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { - return ( theWrappedObject->rightBorderStyle()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightPadding()); + QToolBox::paintEvent(arg__1); } - -void PythonQtWrapper_QTextTableCellFormat::setBorder(QTextTableCellFormat* theWrappedObject, qreal width) +QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { - ( theWrappedObject->setBorder(width)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBorderBrush(brush)); + return QToolBox::redirected(offset0); } - -void PythonQtWrapper_QTextTableCellFormat::setBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) { - ( theWrappedObject->setBorderStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setBottomBorder(QTextTableCellFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setBottomBorder(width)); + QToolBox::resizeEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setBottomBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +void PythonQtShell_QToolBox::setVisible(bool visible0) { - ( theWrappedObject->setBottomBorderBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setBottomBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setBottomBorderStyle(style)); + QToolBox::setVisible(visible0); } - -void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +QPainter* PythonQtShell_QToolBox::sharedPainter() const { - ( theWrappedObject->setBottomPadding(padding)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setLeftBorder(QTextTableCellFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setLeftBorder(width)); + return QToolBox::sharedPainter(); } - -void PythonQtWrapper_QTextTableCellFormat::setLeftBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { - ( theWrappedObject->setLeftBorderBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setLeftBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setLeftBorderStyle(style)); + QToolBox::showEvent(e0); } - -void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +QSize PythonQtShell_QToolBox::sizeHint() const { - ( theWrappedObject->setLeftPadding(padding)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setPadding(padding)); + return QToolBox::sizeHint(); } - -void PythonQtWrapper_QTextTableCellFormat::setRightBorder(QTextTableCellFormat* theWrappedObject, qreal width) +void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setRightBorder(width)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setRightBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setRightBorderBrush(brush)); + QToolBox::tabletEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setRightBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setRightBorderStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setRightPadding(padding)); + QToolBox::timerEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setTopBorder(QTextTableCellFormat* theWrappedObject, qreal width) +void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) { - ( theWrappedObject->setTopBorder(width)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setTopBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setTopBorderBrush(brush)); + QToolBox::wheelEvent(event0); } +QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QToolBox(parent, f); } -void PythonQtWrapper_QTextTableCellFormat::setTopBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setTopBorderStyle(style)); +const QMetaObject* PythonQtShell_QToolBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBox::staticMetaObject); + } else { + return &QToolBox::staticMetaObject; + } } - -void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setTopPadding(padding)); +int PythonQtShell_QToolBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -qreal PythonQtWrapper_QTextTableCellFormat::topBorder(QTextTableCellFormat* theWrappedObject) const +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) { - return ( theWrappedObject->topBorder()); + return ( theWrappedObject->addItem(widget, icon, text)); } -QBrush PythonQtWrapper_QTextTableCellFormat::topBorderBrush(QTextTableCellFormat* theWrappedObject) const +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) { - return ( theWrappedObject->topBorderBrush()); + return ( theWrappedObject->addItem(widget, text)); } -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::topBorderStyle(QTextTableCellFormat* theWrappedObject) const +int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const { - return ( theWrappedObject->topBorderStyle()); + return ( theWrappedObject->count()); } -qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const +int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const { - return ( theWrappedObject->topPadding()); -} - - - -PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->currentIndex()); } -QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() -{ -return new PythonQtShell_QTextTableFormat(); } - -QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextTableFormat(fmt); } -Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const +QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const { - return ( theWrappedObject->alignment()); + return ( theWrappedObject->currentWidget()); } -bool PythonQtWrapper_QTextTableFormat::borderCollapse(QTextTableFormat* theWrappedObject) const +int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const { - return ( theWrappedObject->borderCollapse()); + return ( theWrappedObject->indexOf(widget)); } -qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) { - return ( theWrappedObject->cellPadding()); + return ( theWrappedObject->insertItem(index, widget, icon, text)); } -qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) { - return ( theWrappedObject->cellSpacing()); + return ( theWrappedObject->insertItem(index, widget, text)); } -void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) +bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const { - ( theWrappedObject->clearColumnWidthConstraints()); + return ( theWrappedObject->isItemEnabled(index)); } -QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const +QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const { - return ( theWrappedObject->columnWidthConstraints()); + return ( theWrappedObject->itemIcon(index)); } -int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const +void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) { - return ( theWrappedObject->columns()); + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); } -int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const +void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) { - return ( theWrappedObject->headerRowCount()); + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); } -bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const +QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->itemText(index)); } -void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) +QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const { - ( theWrappedObject->setAlignment(alignment)); + return ( theWrappedObject->itemToolTip(index)); } -void PythonQtWrapper_QTextTableFormat::setBorderCollapse(QTextTableFormat* theWrappedObject, bool borderCollapse) +void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) { - ( theWrappedObject->setBorderCollapse(borderCollapse)); + ( theWrappedObject->removeItem(index)); } -void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) +void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) { - ( theWrappedObject->setCellPadding(padding)); + ( theWrappedObject->setItemEnabled(index, enabled)); } -void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) +void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) { - ( theWrappedObject->setCellSpacing(spacing)); + ( theWrappedObject->setItemIcon(index, icon)); } -void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) +void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) { - ( theWrappedObject->setColumnWidthConstraints(constraints)); + ( theWrappedObject->setItemText(index, text)); } -void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) +void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) { - ( theWrappedObject->setColumns(columns)); + ( theWrappedObject->setItemToolTip(index, toolTip)); } -void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) +QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const { - ( theWrappedObject->setHeaderRowCount(count)); -} - - - -PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->widget(index)); } -QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) -{ -return new PythonQtShell_QTileRules(horizontalRule, verticalRule); } - -QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule rule) -{ -return new PythonQtShell_QTileRules(rule); } -PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { +PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3429,9 +5779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3439,9 +5789,9 @@ if (_wrapper) { } } } - QTimeEdit::actionEvent(event0); + QToolButton::actionEvent(arg__1); } -void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) +void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3451,9 +5801,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3461,21 +5811,21 @@ if (_wrapper) { } } } - QTimeEdit::changeEvent(event0); + QToolButton::changeEvent(arg__1); } -void PythonQtShell_QTimeEdit::clear() +void PythonQtShell_QToolButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3483,9 +5833,31 @@ if (_wrapper) { } } } - QTimeEdit::clear(); + QToolButton::checkStateSet(); } -void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::childEvent(event0); +} +void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3495,9 +5867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3505,9 +5877,9 @@ if (_wrapper) { } } } - QTimeEdit::closeEvent(event0); + QToolButton::closeEvent(event0); } -void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3517,9 +5889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3527,42 +5899,31 @@ if (_wrapper) { } } } - QTimeEdit::contextMenuEvent(event0); + QToolButton::contextMenuEvent(event0); } -QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const +void PythonQtShell_QToolButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dateTimeFromText"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue{}; - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::dateTimeFromText(text0); + QToolButton::customEvent(event0); } -int PythonQtShell_QTimeEdit::devType() const +int PythonQtShell_QToolButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3573,19 +5934,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3593,9 +5954,9 @@ if (_wrapper) { } } } - return QTimeEdit::devType(); + return QToolButton::devType(); } -void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3605,9 +5966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3615,9 +5976,9 @@ if (_wrapper) { } } } - QTimeEdit::dragEnterEvent(event0); + QToolButton::dragEnterEvent(event0); } -void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3627,9 +5988,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3637,9 +5998,9 @@ if (_wrapper) { } } } - QTimeEdit::dragLeaveEvent(event0); + QToolButton::dragLeaveEvent(event0); } -void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3649,9 +6010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3659,9 +6020,9 @@ if (_wrapper) { } } } - QTimeEdit::dragMoveEvent(event0); + QToolButton::dragMoveEvent(event0); } -void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) +void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3671,9 +6032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3681,9 +6042,9 @@ if (_wrapper) { } } } - QTimeEdit::dropEvent(event0); + QToolButton::dropEvent(event0); } -void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) +void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3693,9 +6054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3703,9 +6064,9 @@ if (_wrapper) { } } } - QTimeEdit::enterEvent(event0); + QToolButton::enterEvent(arg__1); } -bool PythonQtShell_QTimeEdit::event(QEvent* event0) +bool PythonQtShell_QToolButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3716,19 +6077,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3736,31 +6097,42 @@ if (_wrapper) { } } } - return QTimeEdit::event(event0); + return QToolButton::event(e0); } -void PythonQtShell_QTimeEdit::fixup(QString& input0) const +bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::fixup(input0); + return QToolButton::eventFilter(watched0, event1); } -void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3770,9 +6142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3780,9 +6152,9 @@ if (_wrapper) { } } } - QTimeEdit::focusInEvent(event0); + QToolButton::focusInEvent(e0); } -bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) +bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3793,19 +6165,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3813,9 +6185,9 @@ if (_wrapper) { } } } - return QTimeEdit::focusNextPrevChild(next0); + return QToolButton::focusNextPrevChild(next0); } -void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3825,9 +6197,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3835,9 +6207,9 @@ if (_wrapper) { } } } - QTimeEdit::focusOutEvent(event0); + QToolButton::focusOutEvent(e0); } -bool PythonQtShell_QTimeEdit::hasHeightForWidth() const +bool PythonQtShell_QToolButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3848,19 +6220,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3868,9 +6240,9 @@ if (_wrapper) { } } } - return QTimeEdit::hasHeightForWidth(); + return QToolButton::hasHeightForWidth(); } -int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const +int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3881,19 +6253,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3901,9 +6273,9 @@ if (_wrapper) { } } } - return QTimeEdit::heightForWidth(arg__1); + return QToolButton::heightForWidth(arg__1); } -void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3913,9 +6285,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3923,9 +6295,42 @@ if (_wrapper) { } } } - QTimeEdit::hideEvent(event0); + QToolButton::hideEvent(event0); } -void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const +bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QToolButton::hitButton(pos0); +} +void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3935,9 +6340,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3945,9 +6350,9 @@ if (_wrapper) { } } } - QTimeEdit::initPainter(painter0); + QToolButton::initPainter(painter0); } -void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3957,9 +6362,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3967,9 +6372,9 @@ if (_wrapper) { } } } - QTimeEdit::inputMethodEvent(arg__1); + QToolButton::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3980,19 +6385,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4000,9 +6405,9 @@ if (_wrapper) { } } } - return QTimeEdit::inputMethodQuery(arg__1); + return QToolButton::inputMethodQuery(arg__1); } -void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4012,9 +6417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4022,9 +6427,9 @@ if (_wrapper) { } } } - QTimeEdit::keyPressEvent(event0); + QToolButton::keyPressEvent(e0); } -void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4034,9 +6439,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4044,9 +6449,9 @@ if (_wrapper) { } } } - QTimeEdit::keyReleaseEvent(event0); + QToolButton::keyReleaseEvent(e0); } -void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4056,9 +6461,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4066,9 +6471,9 @@ if (_wrapper) { } } } - QTimeEdit::leaveEvent(event0); + QToolButton::leaveEvent(arg__1); } -int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4079,19 +6484,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4099,9 +6504,9 @@ if (_wrapper) { } } } - return QTimeEdit::metric(arg__1); + return QToolButton::metric(arg__1); } -QSize PythonQtShell_QTimeEdit::minimumSizeHint() const +QSize PythonQtShell_QToolButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4112,19 +6517,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4132,9 +6537,9 @@ if (_wrapper) { } } } - return QTimeEdit::minimumSizeHint(); + return QToolButton::minimumSizeHint(); } -void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4144,9 +6549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4154,9 +6559,9 @@ if (_wrapper) { } } } - QTimeEdit::mouseDoubleClickEvent(event0); + QToolButton::mouseDoubleClickEvent(event0); } -void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4166,9 +6571,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4176,9 +6581,9 @@ if (_wrapper) { } } } - QTimeEdit::mouseMoveEvent(event0); + QToolButton::mouseMoveEvent(e0); } -void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4188,9 +6593,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4198,9 +6603,9 @@ if (_wrapper) { } } } - QTimeEdit::mousePressEvent(event0); + QToolButton::mousePressEvent(arg__1); } -void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4210,9 +6615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4220,9 +6625,9 @@ if (_wrapper) { } } } - QTimeEdit::mouseReleaseEvent(event0); + QToolButton::mouseReleaseEvent(arg__1); } -void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4232,9 +6637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4242,9 +6647,9 @@ if (_wrapper) { } } } - QTimeEdit::moveEvent(event0); + QToolButton::moveEvent(event0); } -bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4255,19 +6660,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4275,9 +6680,31 @@ if (_wrapper) { } } } - return QTimeEdit::nativeEvent(eventType0, message1, result2); + return QToolButton::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const +void PythonQtShell_QToolButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4288,19 +6715,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4308,9 +6735,9 @@ if (_wrapper) { } } } - return QTimeEdit::paintEngine(); + return QToolButton::paintEngine(); } -void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) +void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4320,9 +6747,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4330,9 +6757,9 @@ if (_wrapper) { } } } - QTimeEdit::paintEvent(event0); + QToolButton::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4343,19 +6770,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4363,9 +6790,9 @@ if (_wrapper) { } } } - return QTimeEdit::redirected(offset0); + return QToolButton::redirected(offset0); } -void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4375,9 +6802,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4385,9 +6812,9 @@ if (_wrapper) { } } } - QTimeEdit::resizeEvent(event0); + QToolButton::resizeEvent(event0); } -void PythonQtShell_QTimeEdit::setVisible(bool visible0) +void PythonQtShell_QToolButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4397,9 +6824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4407,9 +6834,9 @@ if (_wrapper) { } } } - QTimeEdit::setVisible(visible0); + QToolButton::setVisible(visible0); } -QPainter* PythonQtShell_QTimeEdit::sharedPainter() const +QPainter* PythonQtShell_QToolButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4419,130 +6846,20 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTimeEdit::sharedPainter(); -} -void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTimeEdit::showEvent(event0); -} -QSize PythonQtShell_QTimeEdit::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTimeEdit::sizeHint(); -} -void PythonQtShell_QTimeEdit::stepBy(int steps0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTimeEdit::stepBy(steps0); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepEnabled"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4550,21 +6867,21 @@ if (_wrapper) { } } } - return QTimeEdit::stepEnabled(); + return QToolButton::sharedPainter(); } -void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4572,32 +6889,32 @@ if (_wrapper) { } } } - QTimeEdit::tabletEvent(event0); + QToolButton::showEvent(event0); } -QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const +QSize PythonQtShell_QToolButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("textFromDateTime"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&dt0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4605,21 +6922,21 @@ if (_wrapper) { } } } - return QTimeEdit::textFromDateTime(dt0); + return QToolButton::sizeHint(); } -void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) +void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4627,42 +6944,31 @@ if (_wrapper) { } } } - QTimeEdit::timerEvent(event0); + QToolButton::tabletEvent(event0); } -QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const +void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&input0, (void*)&pos1}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::validate(input0, pos1); + QToolButton::timerEvent(arg__1); } -void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4672,9 +6978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4682,774 +6988,541 @@ if (_wrapper) { } } } - QTimeEdit::wheelEvent(event0); + QToolButton::wheelEvent(event0); } -QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(QWidget* parent) -{ -return new PythonQtShell_QTimeEdit(parent); } - -QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(const QTime& time, QWidget* parent) +QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) { -return new PythonQtShell_QTimeEdit(time, parent); } +return new PythonQtShell_QToolButton(parent); } -const QMetaObject* PythonQtShell_QTimeEdit::metaObject() const { +const QMetaObject* PythonQtShell_QToolButton::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeEdit::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolButton::staticMetaObject); } else { - return &QTimeEdit::staticMetaObject; + return &QToolButton::staticMetaObject; } } -int PythonQtShell_QTimeEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTimeEdit::qt_metacall(call, id, args); +int PythonQtShell_QToolButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolButton::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } +Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->arrowType()); +} + +bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->autoRaise()); +} + +QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); +} + +void PythonQtWrapper_QToolButton::initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const +{ + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_initStyleOption(option)); +} + +QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QSize PythonQtWrapper_QToolButton::minimumSizeHint(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QToolButton::ToolButtonPopupMode PythonQtWrapper_QToolButton::popupMode(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->popupMode()); +} + +void PythonQtWrapper_QToolButton::setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type) +{ + ( theWrappedObject->setArrowType(type)); +} + +void PythonQtWrapper_QToolButton::setAutoRaise(QToolButton* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAutoRaise(enable)); +} + +void PythonQtWrapper_QToolButton::setMenu(QToolButton* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); +} + +void PythonQtWrapper_QToolButton::setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode) +{ + ( theWrappedObject->setPopupMode(mode)); +} + +QSize PythonQtWrapper_QToolButton::sizeHint(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); +} + + + +QFont PythonQtWrapper_QToolTip::static_QToolTip_font() +{ + return (QToolTip::font()); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_hideText() +{ + (QToolTip::hideText()); +} + +bool PythonQtWrapper_QToolTip::static_QToolTip_isVisible() +{ + return (QToolTip::isVisible()); +} + +QPalette PythonQtWrapper_QToolTip::static_QToolTip_palette() +{ + return (QToolTip::palette()); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_setFont(const QFont& arg__1) +{ + (QToolTip::setFont(arg__1)); +} + +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) +{ + (QToolTip::showText(pos, text, w)); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect) +{ + (QToolTip::showText(pos, text, w, rect)); +} + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime) +{ + (QToolTip::showText(pos, text, w, rect, msecShowTime)); +} + +QString PythonQtWrapper_QToolTip::static_QToolTip_text() +{ + return (QToolTip::text()); +} + + + +QTouchDevice* PythonQtWrapper_QTouchDevice::new_QTouchDevice() +{ +return new QTouchDevice(); } + +QTouchDevice::Capabilities PythonQtWrapper_QTouchDevice::capabilities(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); +} + +QList PythonQtWrapper_QTouchDevice::static_QTouchDevice_devices() +{ + return (QTouchDevice::devices()); +} + +int PythonQtWrapper_QTouchDevice::maximumTouchPoints(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->maximumTouchPoints()); +} + +QString PythonQtWrapper_QTouchDevice::name(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QTouchDevice::setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps) +{ + ( theWrappedObject->setCapabilities(caps)); +} + +void PythonQtWrapper_QTouchDevice::setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max) +{ + ( theWrappedObject->setMaximumTouchPoints(max)); +} + +void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) +{ + ( theWrappedObject->setType(devType)); +} + +QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} -PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { + +PythonQtShell_QTouchEvent::~PythonQtShell_QTouchEvent() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) +QTouchEvent* PythonQtWrapper_QTouchEvent::new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device, Qt::KeyboardModifiers modifiers, Qt::TouchPointStates touchPointStates, const QList& touchPoints) +{ +return new PythonQtShell_QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints); } + +QTouchDevice* PythonQtWrapper_QTouchEvent::device(QTouchEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->device()); } - QToolBar::actionEvent(event0); + +void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) +{ + ( theWrappedObject->setDevice(adevice)); } -void PythonQtShell_QToolBar::changeEvent(QEvent* event0) + +void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTarget(atarget)); } - QToolBar::changeEvent(event0); + +void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) +{ + ( theWrappedObject->setTouchPointStates(aTouchPointStates)); } -void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTouchPoints(atouchPoints)); } - QToolBar::closeEvent(event0); + +void PythonQtWrapper_QTouchEvent::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) +{ + ( theWrappedObject->setWindow(awindow)); } -void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) + +QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->target()); } - QToolBar::contextMenuEvent(event0); + +Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->touchPointStates()); } -int PythonQtShell_QToolBar::devType() const + +const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->touchPoints()); } - return QToolBar::devType(); + +QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->window()); } -void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) + + + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& other) +{ +return new QTouchEvent::TouchPoint(other); } + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(int id) +{ +return new QTouchEvent::TouchPoint(id); } + +QSizeF PythonQtWrapper_QTouchEvent__TouchPoint::ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->ellipseDiameters()); } - QToolBar::dragEnterEvent(event0); + +QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->flags()); } -void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) + +int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->id()); } - QToolBar::dragLeaveEvent(event0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastNormalizedPos()); } -void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lastPos()); } - QToolBar::dragMoveEvent(event0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); } -void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lastScreenPos()); } - QToolBar::dropEvent(event0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->normalizedPos()); } -void PythonQtShell_QToolBar::enterEvent(QEvent* event0) + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)= other); } - QToolBar::enterEvent(event0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pos()); } -bool PythonQtShell_QToolBar::event(QEvent* event0) + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pressure()); } - return QToolBar::event(event0); + +QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rawScreenPositions()); } -void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::rotation(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->scenePos()); } - QToolBar::focusInEvent(event0); + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); } -bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->screenPos()); } - return QToolBar::focusNextPrevChild(next0); + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenRect()); } -void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setEllipseDiameters(dia)); } - QToolBar::focusOutEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) +{ + ( theWrappedObject->setFlags(flags)); } -bool PythonQtShell_QToolBar::hasHeightForWidth() const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setId(id)); } - return QToolBar::hasHeightForWidth(); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) +{ + ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); } -int PythonQtShell_QToolBar::heightForWidth(int arg__1) const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLastPos(lastPos)); } - return QToolBar::heightForWidth(arg__1); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) +{ + ( theWrappedObject->setLastScenePos(lastScenePos)); } -void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLastScreenPos(lastScreenPos)); } - QToolBar::hideEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) +{ + ( theWrappedObject->setNormalizedPos(normalizedPos)); } -void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPos(pos)); } - QToolBar::initPainter(painter0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) +{ + ( theWrappedObject->setPressure(pressure)); } -void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRawScreenPositions(positions)); } - QToolBar::inputMethodEvent(arg__1); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); } -QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRotation(angle)); } - return QToolBar::inputMethodQuery(arg__1); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) +{ + ( theWrappedObject->setScenePos(scenePos)); } -void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSceneRect(sceneRect)); } - QToolBar::keyPressEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) +{ + ( theWrappedObject->setScreenPos(screenPos)); } -void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setScreenRect(screenRect)); } - QToolBar::keyReleaseEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) +{ + ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); } -void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setStartPos(startPos)); } - QToolBar::leaveEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) +{ + ( theWrappedObject->setStartScenePos(startScenePos)); } -int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setStartScreenPos(startScreenPos)); } - return QToolBar::metric(arg__1); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) +{ + ( theWrappedObject->setState(state)); } -QSize PythonQtShell_QToolBar::minimumSizeHint() const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniqueId(uid)); } - return QToolBar::minimumSizeHint(); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) +{ + ( theWrappedObject->setVelocity(v)); } -void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->startNormalizedPos()); } - QToolBar::mouseDoubleClickEvent(event0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startPos()); } -void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->startScenePos()); } - QToolBar::mouseMoveEvent(event0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScreenPos()); } -void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) + +Qt::TouchPointState PythonQtWrapper_QTouchEvent__TouchPoint::state(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->state()); } - QToolBar::mousePressEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other) +{ + ( theWrappedObject->swap(other)); } -void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) + +QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->velocity()); } - QToolBar::mouseReleaseEvent(event0); + +QString PythonQtWrapper_QTouchEvent__TouchPoint::py_toString(QTouchEvent::TouchPoint* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) + + + +PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5457,87 +7530,43 @@ if (_wrapper) { } } } - QToolBar::moveEvent(event0); -} -bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QToolBar::nativeEvent(eventType0, message1, result2); + QTreeView::actionEvent(event0); } -QPaintEngine* PythonQtShell_QToolBar::paintEngine() const +void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBar::paintEngine(); + QTreeView::changeEvent(arg__1); } -void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) +void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5545,54 +7574,43 @@ if (_wrapper) { } } } - QToolBar::paintEvent(event0); + QTreeView::childEvent(event0); } -QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const +void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBar::redirected(offset0); + QTreeView::closeEditor(editor0, hint1); } -void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5600,21 +7618,21 @@ if (_wrapper) { } } } - QToolBar::resizeEvent(event0); + QTreeView::closeEvent(event0); } -void PythonQtShell_QToolBar::setVisible(bool visible0) +void PythonQtShell_QTreeView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5622,54 +7640,43 @@ if (_wrapper) { } } } - QToolBar::setVisible(visible0); + QTreeView::commitData(editor0); } -QPainter* PythonQtShell_QToolBar::sharedPainter() const +void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBar::sharedPainter(); + QTreeView::contextMenuEvent(arg__1); } -void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) +void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5677,54 +7684,43 @@ if (_wrapper) { } } } - QToolBar::showEvent(event0); + QTreeView::currentChanged(current0, previous1); } -QSize PythonQtShell_QToolBar::sizeHint() const +void PythonQtShell_QTreeView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBar::sizeHint(); + QTreeView::customEvent(event0); } -void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5732,216 +7728,54 @@ if (_wrapper) { } } } - QToolBar::tabletEvent(event0); + QTreeView::dataChanged(topLeft0, bottomRight1, roles2); } -void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) +int PythonQtShell_QTreeView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::wheelEvent(event0); -} -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); } - -const QMetaObject* PythonQtShell_QToolBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBar::staticMetaObject); - } else { - return &QToolBar::staticMetaObject; - } -} -int PythonQtShell_QToolBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QToolBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->actionAt(p)); -} - -QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->actionAt(x, y)); -} - -QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const -{ - return ( theWrappedObject->actionGeometry(action)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addAction(icon, text)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member) -{ - return ( theWrappedObject->addAction(icon, text, receiver, member)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addAction(text)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) -{ - return ( theWrappedObject->addAction(text, receiver, member)); -} - -QAction* PythonQtWrapper_QToolBar::addSeparator(QToolBar* theWrappedObject) -{ - return ( theWrappedObject->addSeparator()); -} - -QAction* PythonQtWrapper_QToolBar::addWidget(QToolBar* theWrappedObject, QWidget* widget) -{ - return ( theWrappedObject->addWidget(widget)); -} - -Qt::ToolBarAreas PythonQtWrapper_QToolBar::allowedAreas(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->allowedAreas()); -} - -void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -void PythonQtWrapper_QToolBar::initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_initStyleOption(option)); -} - -QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) -{ - return ( theWrappedObject->insertSeparator(before)); -} - -QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) -{ - return ( theWrappedObject->insertWidget(before, widget)); -} - -bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const -{ - return ( theWrappedObject->isAreaAllowed(area)); -} - -bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloatable()); -} - -bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloating()); -} - -bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); -} - -Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QToolBar::setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas) -{ - ( theWrappedObject->setAllowedAreas(areas)); -} - -void PythonQtWrapper_QToolBar::setFloatable(QToolBar* theWrappedObject, bool floatable) -{ - ( theWrappedObject->setFloatable(floatable)); -} - -void PythonQtWrapper_QToolBar::setMovable(QToolBar* theWrappedObject, bool movable) -{ - ( theWrappedObject->setMovable(movable)); -} - -void PythonQtWrapper_QToolBar::setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); -} - -QAction* PythonQtWrapper_QToolBar::toggleViewAction(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->toggleViewAction()); -} - -Qt::ToolButtonStyle PythonQtWrapper_QToolBar::toolButtonStyle(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->toolButtonStyle()); -} - -QWidget* PythonQtWrapper_QToolBar::widgetForAction(QToolBar* theWrappedObject, QAction* action) const -{ - return ( theWrappedObject->widgetForAction(action)); -} - - - -QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) -{ -return new QToolBarChangeEvent(t); } - -bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->toggle()); -} - - - -PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTreeView::devType(); } -void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) +void PythonQtShell_QTreeView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5949,21 +7783,21 @@ if (_wrapper) { } } } - QToolBox::actionEvent(event0); + QTreeView::doItemsLayout(); } -void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) +void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5971,21 +7805,21 @@ if (_wrapper) { } } } - QToolBox::changeEvent(arg__1); + QTreeView::dragEnterEvent(event0); } -void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) +void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5993,21 +7827,21 @@ if (_wrapper) { } } } - QToolBox::closeEvent(event0); + QTreeView::dragLeaveEvent(event0); } -void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6015,54 +7849,43 @@ if (_wrapper) { } } } - QToolBox::contextMenuEvent(event0); + QTreeView::dragMoveEvent(event0); } -int PythonQtShell_QToolBox::devType() const +void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBox::devType(); + QTreeView::drawBranches(painter0, rect1, index2); } -void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6070,21 +7893,21 @@ if (_wrapper) { } } } - QToolBox::dragEnterEvent(event0); + QTreeView::drawRow(painter0, options1, index2); } -void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6092,43 +7915,54 @@ if (_wrapper) { } } } - QToolBox::dragLeaveEvent(event0); + QTreeView::dropEvent(event0); } -void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) +bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::dragMoveEvent(event0); + return QTreeView::edit(index0, trigger1, event2); } -void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) +void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6136,9 +7970,9 @@ if (_wrapper) { } } } - QToolBox::dropEvent(event0); + QTreeView::editorDestroyed(editor0); } -void PythonQtShell_QToolBox::enterEvent(QEvent* event0) +void PythonQtShell_QTreeView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6148,9 +7982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6158,9 +7992,9 @@ if (_wrapper) { } } } - QToolBox::enterEvent(event0); + QTreeView::enterEvent(event0); } -bool PythonQtShell_QToolBox::event(QEvent* e0) +bool PythonQtShell_QTreeView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6171,19 +8005,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6191,9 +8025,42 @@ if (_wrapper) { } } } - return QToolBox::event(e0); + return QTreeView::event(event0); } -void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) +bool PythonQtShell_QTreeView::eventFilter(QObject* object0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::eventFilter(object0, event1); +} +void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6203,9 +8070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6213,9 +8080,9 @@ if (_wrapper) { } } } - QToolBox::focusInEvent(event0); + QTreeView::focusInEvent(event0); } -bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) +bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6226,19 +8093,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6246,9 +8113,9 @@ if (_wrapper) { } } } - return QToolBox::focusNextPrevChild(next0); + return QTreeView::focusNextPrevChild(next0); } -void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6258,9 +8125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6268,9 +8135,9 @@ if (_wrapper) { } } } - QToolBox::focusOutEvent(event0); + QTreeView::focusOutEvent(event0); } -bool PythonQtShell_QToolBox::hasHeightForWidth() const +bool PythonQtShell_QTreeView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6281,19 +8148,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6301,9 +8168,9 @@ if (_wrapper) { } } } - return QToolBox::hasHeightForWidth(); + return QTreeView::hasHeightForWidth(); } -int PythonQtShell_QToolBox::heightForWidth(int arg__1) const +int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6314,19 +8181,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6334,9 +8201,9 @@ if (_wrapper) { } } } - return QToolBox::heightForWidth(arg__1); + return QTreeView::heightForWidth(arg__1); } -void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6344,21 +8211,131 @@ if (_wrapper) { static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::hideEvent(event0); +} +int PythonQtShell_QTreeView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::horizontalOffset(); +} +void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::hideEvent(event0); + return QTreeView::indexAt(p0); } -void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const +void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6368,9 +8345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6378,9 +8355,9 @@ if (_wrapper) { } } } - QToolBox::initPainter(painter0); + QTreeView::initPainter(painter0); } -void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6390,9 +8367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6400,9 +8377,9 @@ if (_wrapper) { } } } - QToolBox::inputMethodEvent(arg__1); + QTreeView::inputMethodEvent(event0); } -QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6413,19 +8390,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6433,43 +8410,54 @@ if (_wrapper) { } } } - return QToolBox::inputMethodQuery(arg__1); + return QTreeView::inputMethodQuery(query0); } -void PythonQtShell_QToolBox::itemInserted(int index0) +bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemInserted"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::itemInserted(index0); + return QTreeView::isIndexHidden(index0); } -void PythonQtShell_QToolBox::itemRemoved(int index0) +void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemRemoved"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6477,21 +8465,21 @@ if (_wrapper) { } } } - QToolBox::itemRemoved(index0); + QTreeView::keyPressEvent(event0); } -void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6499,21 +8487,21 @@ if (_wrapper) { } } } - QToolBox::keyPressEvent(event0); + QTreeView::keyReleaseEvent(event0); } -void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6521,9 +8509,9 @@ if (_wrapper) { } } } - QToolBox::keyReleaseEvent(event0); + QTreeView::keyboardSearch(search0); } -void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) +void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6533,9 +8521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6543,9 +8531,9 @@ if (_wrapper) { } } } - QToolBox::leaveEvent(event0); + QTreeView::leaveEvent(event0); } -int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6556,19 +8544,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6576,32 +8564,32 @@ if (_wrapper) { } } } - return QToolBox::metric(arg__1); + return QTreeView::metric(arg__1); } -QSize PythonQtShell_QToolBox::minimumSizeHint() const +QSize PythonQtShell_QTreeView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6609,9 +8597,9 @@ if (_wrapper) { } } } - return QToolBox::minimumSizeHint(); + return QTreeView::minimumSizeHint(); } -void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6621,9 +8609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6631,9 +8619,9 @@ if (_wrapper) { } } } - QToolBox::mouseDoubleClickEvent(event0); + QTreeView::mouseDoubleClickEvent(event0); } -void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6643,9 +8631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6653,9 +8641,9 @@ if (_wrapper) { } } } - QToolBox::mouseMoveEvent(event0); + QTreeView::mouseMoveEvent(event0); } -void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6665,9 +8653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6675,9 +8663,9 @@ if (_wrapper) { } } } - QToolBox::mousePressEvent(event0); + QTreeView::mousePressEvent(event0); } -void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6687,9 +8675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6697,9 +8685,42 @@ if (_wrapper) { } } } - QToolBox::mouseReleaseEvent(event0); + QTreeView::mouseReleaseEvent(event0); } -void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) +QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6709,9 +8730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6719,9 +8740,9 @@ if (_wrapper) { } } } - QToolBox::moveEvent(event0); + QTreeView::moveEvent(event0); } -bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6732,19 +8753,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6752,9 +8773,9 @@ if (_wrapper) { } } } - return QToolBox::nativeEvent(eventType0, message1, result2); + return QTreeView::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QToolBox::paintEngine() const +QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6765,19 +8786,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6785,9 +8806,9 @@ if (_wrapper) { } } } - return QToolBox::paintEngine(); + return QTreeView::paintEngine(); } -void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6797,9 +8818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6807,54 +8828,164 @@ if (_wrapper) { } } } - QToolBox::paintEvent(arg__1); + QTreeView::paintEvent(event0); } -QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::redirected(offset0); +} +void PythonQtShell_QTreeView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::reset(); +} +void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::resizeEvent(event0); +} +void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBox::redirected(offset0); + QTreeView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6862,21 +8993,21 @@ if (_wrapper) { } } } - QToolBox::resizeEvent(event0); + QTreeView::scrollTo(index0, hint1); } -void PythonQtShell_QToolBox::setVisible(bool visible0) +void PythonQtShell_QTreeView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6884,32 +9015,32 @@ if (_wrapper) { } } } - QToolBox::setVisible(visible0); + QTreeView::selectAll(); } -QPainter* PythonQtShell_QToolBox::sharedPainter() const +QList PythonQtShell_QTreeView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6917,21 +9048,21 @@ if (_wrapper) { } } } - return QToolBox::sharedPainter(); + return QTreeView::selectedIndexes(); } -void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) +void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6939,32 +9070,32 @@ if (_wrapper) { } } } - QToolBox::showEvent(e0); + QTreeView::selectionChanged(selected0, deselected1); } -QSize PythonQtShell_QToolBox::sizeHint() const +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6972,43 +9103,21 @@ if (_wrapper) { } } } - return QToolBox::sizeHint(); -} -void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QToolBox::tabletEvent(event0); + return QTreeView::selectionCommand(index0, event1); } -void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7016,144 +9125,21 @@ if (_wrapper) { } } } - QToolBox::wheelEvent(event0); -} -QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QToolBox(parent, f); } - -const QMetaObject* PythonQtShell_QToolBox::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBox::staticMetaObject); - } else { - return &QToolBox::staticMetaObject; - } -} -int PythonQtShell_QToolBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QToolBox::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addItem(widget, icon, text)); -} - -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) -{ - return ( theWrappedObject->addItem(widget, text)); -} - -int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const -{ - return ( theWrappedObject->currentWidget()); -} - -int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const -{ - return ( theWrappedObject->indexOf(widget)); -} - -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->insertItem(index, widget, icon, text)); -} - -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) -{ - return ( theWrappedObject->insertItem(index, widget, text)); -} - -bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->isItemEnabled(index)); -} - -QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemIcon(index)); -} - -void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); -} - -void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); -} - -QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemText(index)); -} - -QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemToolTip(index)); -} - -void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) -{ - ( theWrappedObject->removeItem(index)); -} - -void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) -{ - ( theWrappedObject->setItemEnabled(index, enabled)); -} - -void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setItemIcon(index, icon)); -} - -void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setItemText(index, text)); -} - -void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) -{ - ( theWrappedObject->setItemToolTip(index, toolTip)); -} - -QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->widget(index)); -} - - - -PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTreeView::setModel(model0); } -void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) +void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7161,21 +9147,21 @@ if (_wrapper) { } } } - QToolButton::actionEvent(arg__1); + QTreeView::setRootIndex(index0); } -void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) +void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7183,21 +9169,21 @@ if (_wrapper) { } } } - QToolButton::changeEvent(arg__1); + QTreeView::setSelection(rect0, command1); } -void PythonQtShell_QToolButton::checkStateSet() +void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("checkStateSet"); + static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7205,21 +9191,21 @@ if (_wrapper) { } } } - QToolButton::checkStateSet(); + QTreeView::setSelectionModel(selectionModel0); } -void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QTreeView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7227,21 +9213,21 @@ if (_wrapper) { } } } - QToolButton::closeEvent(event0); + QTreeView::setVisible(visible0); } -void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7249,32 +9235,32 @@ if (_wrapper) { } } } - QToolButton::contextMenuEvent(event0); + QTreeView::setupViewport(viewport0); } -int PythonQtShell_QToolButton::devType() const +QPainter* PythonQtShell_QTreeView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7282,21 +9268,21 @@ if (_wrapper) { } } } - return QToolButton::devType(); + return QTreeView::sharedPainter(); } -void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7304,87 +9290,120 @@ if (_wrapper) { } } } - QToolButton::dragEnterEvent(event0); + QTreeView::showEvent(event0); } -void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) +QSize PythonQtShell_QTreeView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::dragLeaveEvent(event0); + return QTreeView::sizeHint(); } -void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) +int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::dragMoveEvent(event0); + return QTreeView::sizeHintForColumn(column0); } -void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) +int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::dropEvent(event0); + return QTreeView::sizeHintForRow(row0); } -void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) +void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7392,54 +9411,43 @@ if (_wrapper) { } } } - QToolButton::enterEvent(arg__1); + QTreeView::startDrag(supportedActions0); } -bool PythonQtShell_QToolButton::event(QEvent* e0) +void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::event(e0); + QTreeView::tabletEvent(event0); } -void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7447,54 +9455,43 @@ if (_wrapper) { } } } - QToolButton::focusInEvent(e0); + QTreeView::timerEvent(event0); } -bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) +void PythonQtShell_QTreeView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::focusNextPrevChild(next0); + QTreeView::updateEditorData(); } -void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QTreeView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7502,65 +9499,54 @@ if (_wrapper) { } } } - QToolButton::focusOutEvent(e0); + QTreeView::updateEditorGeometries(); } -bool PythonQtShell_QToolButton::hasHeightForWidth() const +void PythonQtShell_QTreeView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::hasHeightForWidth(); + QTreeView::updateGeometries(); } -int PythonQtShell_QToolButton::heightForWidth(int arg__1) const +int PythonQtShell_QTreeView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7568,21 +9554,21 @@ if (_wrapper) { } } } - return QToolButton::heightForWidth(arg__1); + return QTreeView::verticalOffset(); } -void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) +void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7590,32 +9576,54 @@ if (_wrapper) { } } } - QToolButton::hideEvent(event0); + QTreeView::verticalScrollbarAction(action0); } -bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const +void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitButton"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7623,76 +9631,98 @@ if (_wrapper) { } } } - return QToolButton::hitButton(pos0); + return QTreeView::viewOptions(); } -void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const +bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::initPainter(painter0); + return QTreeView::viewportEvent(event0); } -void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) +QSize PythonQtShell_QTreeView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::inputMethodEvent(arg__1); + return QTreeView::viewportSizeHint(); } -QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7700,43 +9730,54 @@ if (_wrapper) { } } } - return QToolButton::inputMethodQuery(arg__1); + return QTreeView::visualRect(index0); } -void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) +QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::keyPressEvent(e0); + return QTreeView::visualRegionForSelection(selection0); } -void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7744,153 +9785,274 @@ if (_wrapper) { } } } - QToolButton::keyReleaseEvent(e0); + QTreeView::wheelEvent(arg__1); +} +QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) +{ +return new PythonQtShell_QTreeView(parent); } + +const QMetaObject* PythonQtShell_QTreeView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeView::staticMetaObject); + } else { + return &QTreeView::staticMetaObject; + } +} +int PythonQtShell_QTreeView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTreeView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QTreeView::allColumnsShowFocus(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->allColumnsShowFocus()); +} + +int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->autoExpandDelay()); +} + +int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const +{ + return ( theWrappedObject->columnAt(x)); +} + +int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnViewportPosition(column)); +} + +int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnWidth(column)); +} + +void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); +} + +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::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); +} + +bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->expandsOnDoubleClick()); +} + +QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->header()); +} + +int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->indentation()); +} + +QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexAbove(index)); +} + +QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexBelow(index)); +} + +int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); +} + +bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); +} + +bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->isColumnHidden(column)); +} + +bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isExpanded(index)); +} + +bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->isFirstColumnSpanned(row, parent)); +} + +bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isHeaderHidden()); +} + +bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->isRowHidden(row, parent)); +} + +bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->itemsExpandable()); +} + +void PythonQtWrapper_QTreeView::resetIndentation(QTreeView* theWrappedObject) +{ + ( theWrappedObject->resetIndentation()); +} + +bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->rootIsDecorated()); +} + +int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); +} + +void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAllColumnsShowFocus(enable)); +} + +void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAnimated(enable)); +} + +void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) +{ + ( theWrappedObject->setAutoExpandDelay(delay)); +} + +void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) +{ + ( theWrappedObject->setColumnHidden(column, hide)); +} + +void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) +{ + ( theWrappedObject->setColumnWidth(column, width)); +} + +void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) +{ + ( theWrappedObject->setExpanded(index, expand)); +} + +void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setExpandsOnDoubleClick(enable)); +} + +void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) +{ + ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); +} + +void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setHeader(header)); +} + +void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHeaderHidden(hide)); +} + +void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) +{ + ( theWrappedObject->setIndentation(i)); } -void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) + +void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setItemsExpandable(enable)); } - QToolButton::leaveEvent(arg__1); + +void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) +{ + ( theWrappedObject->setRootIsDecorated(show)); } -int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRowHidden(row, parent, hide)); } - return QToolButton::metric(arg__1); + +void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); } -QSize PythonQtShell_QToolButton::minimumSizeHint() const + +void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTreePosition(logicalIndex)); } - return QToolButton::minimumSizeHint(); + +void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) +{ + ( theWrappedObject->setUniformRowHeights(uniform)); } -void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) + +void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWordWrap(on)); } - QToolButton::mouseDoubleClickEvent(event0); + +int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->treePosition()); } -void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) + +bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->uniformRowHeights()); } - QToolButton::mouseMoveEvent(e0); + +bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); } -void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) + + + +PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7898,21 +10060,21 @@ if (_wrapper) { } } } - QToolButton::mousePressEvent(arg__1); + QTreeWidget::actionEvent(event0); } -void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7920,21 +10082,21 @@ if (_wrapper) { } } } - QToolButton::mouseReleaseEvent(arg__1); + QTreeWidget::changeEvent(arg__1); } -void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7942,54 +10104,43 @@ if (_wrapper) { } } } - QToolButton::moveEvent(event0); + QTreeWidget::childEvent(event0); } -bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::nativeEvent(eventType0, message1, result2); + QTreeWidget::closeEditor(editor0, hint1); } -void PythonQtShell_QToolButton::nextCheckState() +void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextCheckState"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7997,54 +10148,43 @@ if (_wrapper) { } } } - QToolButton::nextCheckState(); + QTreeWidget::closeEvent(event0); } -QPaintEngine* PythonQtShell_QToolButton::paintEngine() const +void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::paintEngine(); + QTreeWidget::commitData(editor0); } -void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8052,54 +10192,43 @@ if (_wrapper) { } } } - QToolButton::paintEvent(arg__1); + QTreeWidget::contextMenuEvent(arg__1); } -QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const +void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::redirected(offset0); + QTreeWidget::currentChanged(current0, previous1); } -void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8107,21 +10236,21 @@ if (_wrapper) { } } } - QToolButton::resizeEvent(event0); + QTreeWidget::customEvent(event0); } -void PythonQtShell_QToolButton::setVisible(bool visible0) +void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8129,32 +10258,32 @@ if (_wrapper) { } } } - QToolButton::setVisible(visible0); + QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); } -QPainter* PythonQtShell_QToolButton::sharedPainter() const +int PythonQtShell_QTreeWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8162,21 +10291,21 @@ if (_wrapper) { } } } - return QToolButton::sharedPainter(); + return QTreeWidget::devType(); } -void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) +void PythonQtShell_QTreeWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8184,54 +10313,43 @@ if (_wrapper) { } } } - QToolButton::showEvent(event0); + QTreeWidget::doItemsLayout(); } -QSize PythonQtShell_QToolButton::sizeHint() const +void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::sizeHint(); + QTreeWidget::dragEnterEvent(event0); } -void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8239,21 +10357,21 @@ if (_wrapper) { } } } - QToolButton::tabletEvent(event0); + QTreeWidget::dragLeaveEvent(event0); } -void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8261,21 +10379,21 @@ if (_wrapper) { } } } - QToolButton::timerEvent(arg__1); + QTreeWidget::dragMoveEvent(event0); } -void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("drawBranches"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8283,219 +10401,43 @@ if (_wrapper) { } } } - QToolButton::wheelEvent(event0); -} -QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) -{ -return new PythonQtShell_QToolButton(parent); } - -const QMetaObject* PythonQtShell_QToolButton::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolButton::staticMetaObject); - } else { - return &QToolButton::staticMetaObject; - } -} -int PythonQtShell_QToolButton::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QToolButton::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->arrowType()); -} - -bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->autoRaise()); -} - -QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->defaultAction()); -} - -void PythonQtWrapper_QToolButton::initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const -{ - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_initStyleOption(option)); -} - -QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->menu()); -} - -QSize PythonQtWrapper_QToolButton::minimumSizeHint(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QToolButton::ToolButtonPopupMode PythonQtWrapper_QToolButton::popupMode(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->popupMode()); -} - -void PythonQtWrapper_QToolButton::setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type) -{ - ( theWrappedObject->setArrowType(type)); -} - -void PythonQtWrapper_QToolButton::setAutoRaise(QToolButton* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAutoRaise(enable)); -} - -void PythonQtWrapper_QToolButton::setMenu(QToolButton* theWrappedObject, QMenu* menu) -{ - ( theWrappedObject->setMenu(menu)); -} - -void PythonQtWrapper_QToolButton::setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode) -{ - ( theWrappedObject->setPopupMode(mode)); -} - -QSize PythonQtWrapper_QToolButton::sizeHint(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const -{ - return ( theWrappedObject->toolButtonStyle()); -} - - - -QFont PythonQtWrapper_QToolTip::static_QToolTip_font() -{ - return (QToolTip::font()); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_hideText() -{ - (QToolTip::hideText()); -} - -bool PythonQtWrapper_QToolTip::static_QToolTip_isVisible() -{ - return (QToolTip::isVisible()); -} - -QPalette PythonQtWrapper_QToolTip::static_QToolTip_palette() -{ - return (QToolTip::palette()); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_setFont(const QFont& arg__1) -{ - (QToolTip::setFont(arg__1)); -} - -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) -{ - (QToolTip::showText(pos, text, w)); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect) -{ - (QToolTip::showText(pos, text, w, rect)); -} - -void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime) -{ - (QToolTip::showText(pos, text, w, rect, msecShowTime)); -} - -QString PythonQtWrapper_QToolTip::static_QToolTip_text() -{ - return (QToolTip::text()); -} - - - -QTouchDevice* PythonQtWrapper_QTouchDevice::new_QTouchDevice() -{ -return new QTouchDevice(); } - -QTouchDevice::Capabilities PythonQtWrapper_QTouchDevice::capabilities(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->capabilities()); -} - -QList PythonQtWrapper_QTouchDevice::static_QTouchDevice_devices() -{ - return (QTouchDevice::devices()); -} - -int PythonQtWrapper_QTouchDevice::maximumTouchPoints(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->maximumTouchPoints()); -} - -QString PythonQtWrapper_QTouchDevice::name(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QTouchDevice::setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps) -{ - ( theWrappedObject->setCapabilities(caps)); -} - -void PythonQtWrapper_QTouchDevice::setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max) -{ - ( theWrappedObject->setMaximumTouchPoints(max)); -} - -void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); -} - -void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) -{ - ( theWrappedObject->setType(devType)); + QTreeWidget::drawBranches(painter0, rect1, index2); } - -QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const +void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const { - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTreeWidget::drawRow(painter0, options1, index2); } -void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) +void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8503,65 +10445,87 @@ if (_wrapper) { } } } - QTreeView::actionEvent(event0); + QTreeWidget::dropEvent(event0); } -void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) +bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::changeEvent(arg__1); + return QTreeWidget::dropMimeData(parent0, index1, data2, action3); } -void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::closeEditor(editor0, hint1); + return QTreeWidget::edit(index0, trigger1, event2); } -void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8569,21 +10533,21 @@ if (_wrapper) { } } } - QTreeView::closeEvent(event0); + QTreeWidget::editorDestroyed(editor0); } -void PythonQtShell_QTreeView::commitData(QWidget* editor0) +void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8591,65 +10555,87 @@ if (_wrapper) { } } } - QTreeView::commitData(editor0); + QTreeWidget::enterEvent(event0); } -void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) +bool PythonQtShell_QTreeWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::contextMenuEvent(arg__1); + return QTreeWidget::event(e0); } -void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::currentChanged(current0, previous1); + return QTreeWidget::eventFilter(object0, event1); } -void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8657,32 +10643,32 @@ if (_wrapper) { } } } - QTreeView::dataChanged(topLeft0, bottomRight1, roles2); + QTreeWidget::focusInEvent(event0); } -int PythonQtShell_QTreeView::devType() const +bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8690,21 +10676,21 @@ if (_wrapper) { } } } - return QTreeView::devType(); + return QTreeWidget::focusNextPrevChild(next0); } -void PythonQtShell_QTreeView::doItemsLayout() +void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8712,65 +10698,87 @@ if (_wrapper) { } } } - QTreeView::doItemsLayout(); + QTreeWidget::focusOutEvent(event0); } -void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) +bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::dragEnterEvent(event0); + return QTreeWidget::hasHeightForWidth(); } -void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) +int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::dragLeaveEvent(event0); + return QTreeWidget::heightForWidth(arg__1); } -void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8778,43 +10786,54 @@ if (_wrapper) { } } } - QTreeView::dragMoveEvent(event0); + QTreeWidget::hideEvent(event0); } -void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +int PythonQtShell_QTreeWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawBranches"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&index2}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::drawBranches(painter0, rect1, index2); + return QTreeWidget::horizontalOffset(); } -void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const +void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawRow"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8822,21 +10841,21 @@ if (_wrapper) { } } } - QTreeView::drawRow(painter0, options1, index2); + QTreeWidget::horizontalScrollbarAction(action0); } -void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) +void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8844,32 +10863,32 @@ if (_wrapper) { } } } - QTreeView::dropEvent(event0); + QTreeWidget::horizontalScrollbarValueChanged(value0); } -bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&trigger1, (void*)&event2}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8877,21 +10896,21 @@ if (_wrapper) { } } } - return QTreeView::edit(index0, trigger1, event2); + return QTreeWidget::indexAt(p0); } -void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) +void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8899,21 +10918,21 @@ if (_wrapper) { } } } - QTreeView::editorDestroyed(editor0); + QTreeWidget::initPainter(painter0); } -void PythonQtShell_QTreeView::enterEvent(QEvent* event0) +void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8921,32 +10940,32 @@ if (_wrapper) { } } } - QTreeView::enterEvent(event0); + QTreeWidget::inputMethodEvent(event0); } -bool PythonQtShell_QTreeView::event(QEvent* event0) +QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8954,32 +10973,32 @@ if (_wrapper) { } } } - return QTreeView::event(event0); + return QTreeWidget::inputMethodQuery(query0); } -bool PythonQtShell_QTreeView::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8987,21 +11006,21 @@ if (_wrapper) { } } } - return QTreeView::eventFilter(object0, event1); + return QTreeWidget::isIndexHidden(index0); } -void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9009,54 +11028,43 @@ if (_wrapper) { } } } - QTreeView::focusInEvent(event0); + QTreeWidget::keyPressEvent(event0); } -bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) +void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::focusNextPrevChild(next0); + QTreeWidget::keyReleaseEvent(event0); } -void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9064,65 +11072,54 @@ if (_wrapper) { } } } - QTreeView::focusOutEvent(event0); + QTreeWidget::keyboardSearch(search0); } -bool PythonQtShell_QTreeView::hasHeightForWidth() const +void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::hasHeightForWidth(); + QTreeWidget::leaveEvent(event0); } -int PythonQtShell_QTreeView::heightForWidth(int arg__1) const +int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9130,54 +11127,65 @@ if (_wrapper) { } } } - return QTreeView::heightForWidth(arg__1); + return QTreeWidget::metric(arg__1); } -void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) +QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::hideEvent(event0); + return QTreeWidget::mimeData(items0); } -int PythonQtShell_QTreeView::horizontalOffset() const +QStringList PythonQtShell_QTreeWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9185,43 +11193,54 @@ if (_wrapper) { } } } - return QTreeView::horizontalOffset(); + return QTreeWidget::mimeTypes(); } -void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) +QSize PythonQtShell_QTreeWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::horizontalScrollbarAction(action0); + return QTreeWidget::minimumSizeHint(); } -void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9229,54 +11248,21 @@ if (_wrapper) { } } } - QTreeView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTreeView::indexAt(p0); + QTreeWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const +void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9284,21 +11270,21 @@ if (_wrapper) { } } } - QTreeView::initPainter(painter0); + QTreeWidget::mouseMoveEvent(event0); } -void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9306,65 +11292,54 @@ if (_wrapper) { } } } - QTreeView::inputMethodEvent(event0); + QTreeWidget::mousePressEvent(event0); } -QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::inputMethodQuery(query0); + QTreeWidget::mouseReleaseEvent(event0); } -bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const +QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9372,21 +11347,21 @@ if (_wrapper) { } } } - return QTreeView::isIndexHidden(index0); + return QTreeWidget::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9394,65 +11369,87 @@ if (_wrapper) { } } } - QTreeView::keyPressEvent(event0); + QTreeWidget::moveEvent(event0); } -void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::keyReleaseEvent(event0); + return QTreeWidget::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) +QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::keyboardSearch(search0); + return QTreeWidget::paintEngine(); } -void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) +void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9460,32 +11457,32 @@ if (_wrapper) { } } } - QTreeView::leaveEvent(event0); + QTreeWidget::paintEvent(event0); } -int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9493,54 +11490,43 @@ if (_wrapper) { } } } - return QTreeView::metric(arg__1); + return QTreeWidget::redirected(offset0); } -QSize PythonQtShell_QTreeView::minimumSizeHint() const +void PythonQtShell_QTreeWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::minimumSizeHint(); + QTreeWidget::reset(); } -void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9548,21 +11534,21 @@ if (_wrapper) { } } } - QTreeView::mouseDoubleClickEvent(event0); + QTreeWidget::resizeEvent(event0); } -void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9570,21 +11556,21 @@ if (_wrapper) { } } } - QTreeView::mouseMoveEvent(event0); + QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9592,21 +11578,21 @@ if (_wrapper) { } } } - QTreeView::mousePressEvent(event0); + QTreeWidget::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9614,54 +11600,43 @@ if (_wrapper) { } } } - QTreeView::mouseReleaseEvent(event0); + QTreeWidget::scrollContentsBy(dx0, dy1); } -QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::moveCursor(cursorAction0, modifiers1); + QTreeWidget::scrollTo(index0, hint1); } -void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTreeWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9669,32 +11644,32 @@ if (_wrapper) { } } } - QTreeView::moveEvent(event0); + QTreeWidget::selectAll(); } -bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QList PythonQtShell_QTreeWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9702,32 +11677,54 @@ if (_wrapper) { } } } - return QTreeView::nativeEvent(eventType0, message1, result2); + return QTreeWidget::selectedIndexes(); } -QPaintEngine* PythonQtShell_QTreeView::paintEngine() const +void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9735,21 +11732,21 @@ if (_wrapper) { } } } - return QTreeView::paintEngine(); + return QTreeWidget::selectionCommand(index0, event1); } -void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) +void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9757,54 +11754,43 @@ if (_wrapper) { } } } - QTreeView::paintEvent(event0); + QTreeWidget::setRootIndex(index0); } -QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const +void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::redirected(offset0); + QTreeWidget::setSelection(rect0, command1); } -void PythonQtShell_QTreeView::reset() +void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9812,21 +11798,21 @@ if (_wrapper) { } } } - QTreeView::reset(); + QTreeWidget::setSelectionModel(selectionModel0); } -void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTreeWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9834,21 +11820,21 @@ if (_wrapper) { } } } - QTreeView::resizeEvent(event0); + QTreeWidget::setVisible(visible0); } -void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9856,43 +11842,54 @@ if (_wrapper) { } } } - QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); + QTreeWidget::setupViewport(viewport0); } -void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::rowsInserted(parent0, start1, end2); + return QTreeWidget::sharedPainter(); } -void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9900,76 +11897,98 @@ if (_wrapper) { } } } - QTreeView::scrollContentsBy(dx0, dy1); + QTreeWidget::showEvent(event0); } -void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +QSize PythonQtShell_QTreeWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::scrollTo(index0, hint1); + return QTreeWidget::sizeHint(); } -void PythonQtShell_QTreeView::selectAll() +int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::selectAll(); + return QTreeWidget::sizeHintForColumn(column0); } -QList PythonQtShell_QTreeView::selectedIndexes() const +int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9977,21 +11996,21 @@ if (_wrapper) { } } } - return QTreeView::selectedIndexes(); + return QTreeWidget::sizeHintForRow(row0); } -void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9999,32 +12018,32 @@ if (_wrapper) { } } } - QTreeView::selectionChanged(selected0, deselected1); + QTreeWidget::startDrag(supportedActions0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&event1}; + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10032,21 +12051,21 @@ if (_wrapper) { } } } - return QTreeView::selectionCommand(index0, event1); + return QTreeWidget::supportedDropActions(); } -void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10054,21 +12073,21 @@ if (_wrapper) { } } } - QTreeView::setModel(model0); + QTreeWidget::tabletEvent(event0); } -void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10076,21 +12095,21 @@ if (_wrapper) { } } } - QTreeView::setRootIndex(index0); + QTreeWidget::timerEvent(event0); } -void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QTreeWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10098,21 +12117,21 @@ if (_wrapper) { } } } - QTreeView::setSelection(rect0, command1); + QTreeWidget::updateEditorData(); } -void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QTreeWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10120,21 +12139,21 @@ if (_wrapper) { } } } - QTreeView::setSelectionModel(selectionModel0); + QTreeWidget::updateEditorGeometries(); } -void PythonQtShell_QTreeView::setVisible(bool visible0) +void PythonQtShell_QTreeWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10142,76 +12161,76 @@ if (_wrapper) { } } } - QTreeView::setVisible(visible0); + QTreeWidget::updateGeometries(); } -void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) +int PythonQtShell_QTreeWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::setupViewport(viewport0); + return QTreeWidget::verticalOffset(); } -QPainter* PythonQtShell_QTreeView::sharedPainter() const +void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::sharedPainter(); + QTreeWidget::verticalScrollbarAction(action0); } -void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) +void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10219,32 +12238,32 @@ if (_wrapper) { } } } - QTreeView::showEvent(event0); + QTreeWidget::verticalScrollbarValueChanged(value0); } -QSize PythonQtShell_QTreeView::sizeHint() const +QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10252,32 +12271,32 @@ if (_wrapper) { } } } - return QTreeView::sizeHint(); + return QTreeWidget::viewOptions(); } -int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const +bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10285,32 +12304,32 @@ if (_wrapper) { } } } - return QTreeView::sizeHintForColumn(column0); + return QTreeWidget::viewportEvent(event0); } -int PythonQtShell_QTreeView::sizeHintForRow(int row0) const +QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10318,65 +12337,87 @@ if (_wrapper) { } } } - return QTreeView::sizeHintForRow(row0); + return QTreeWidget::viewportSizeHint(); } -void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) +QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::startDrag(supportedActions0); + return QTreeWidget::visualRect(index0); } -void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) +QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::tabletEvent(event0); + return QTreeWidget::visualRegionForSelection(selection0); } -void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10384,208 +12425,280 @@ if (_wrapper) { } } } - QTreeView::timerEvent(event0); + QTreeWidget::wheelEvent(arg__1); } -void PythonQtShell_QTreeView::updateEditorData() +QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) +{ +return new PythonQtShell_QTreeWidget(parent); } + +const QMetaObject* PythonQtShell_QTreeWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeWidget::staticMetaObject); + } else { + return &QTreeWidget::staticMetaObject; + } +} +int PythonQtShell_QTreeWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTreeWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->addTopLevelItems(items)); +} + +void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->closePersistentEditor(item, column)); +} + +int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentColumn()); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +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)); +} + +void PythonQtWrapper_QTreeWidget::editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->editItem(item, column)); +} + +QList PythonQtWrapper_QTreeWidget::findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const +{ + return ( theWrappedObject->findItems(text, flags, column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::headerItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->headerItem()); +} + +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); +} + +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); +} + +int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const +{ + return ( theWrappedObject->indexOfTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertTopLevelItem(index, item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertTopLevelItems(index, items)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->invisibleRootItem()); +} + +bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->isFirstItemColumnSpanned(item)); +} + +bool PythonQtWrapper_QTreeWidget::isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item, column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->itemAbove(item)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->itemBelow(item)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +} + +QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( theWrappedObject->itemWidget(item, column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::mimeData(QTreeWidget* theWrappedObject, const QList items) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeData(items)); +} + +QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); +} + +void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->openPersistentEditor(item, column)); +} + +void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->removeItemWidget(item, column)); +} + +QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->setCurrentItem(item, column)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCurrentItem(item, column, command)); } - QTreeView::updateEditorData(); + +void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) +{ + ( theWrappedObject->setFirstItemColumnSpanned(item, span)); } -void PythonQtShell_QTreeView::updateEditorGeometries() + +void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setHeaderItem(item)); } - QTreeView::updateEditorGeometries(); + +void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) +{ + ( theWrappedObject->setHeaderLabel(label)); } -void PythonQtShell_QTreeView::updateGeometries() + +void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setHeaderLabels(labels)); } - QTreeView::updateGeometries(); + +void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) +{ + ( theWrappedObject->setItemWidget(item, column, widget)); } -int PythonQtShell_QTreeView::verticalOffset() const + +int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sortColumn()); } - return QTreeView::verticalOffset(); + +void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); } -void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) + +Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); } - QTreeView::verticalScrollbarAction(action0); + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) +{ + return ( theWrappedObject->takeTopLevelItem(index)); } -void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->topLevelItem(index)); } - QTreeView::verticalScrollbarValueChanged(value0); + +int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->topLevelItemCount()); } -QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const + +QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->visualItemRect(item)); } - return QTreeView::viewOptions(); + + + +PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) +QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QTreeWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QTreeWidgetItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QTreeWidgetItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10593,32 +12706,32 @@ if (_wrapper) { } } } - return QTreeView::viewportEvent(event0); + return QTreeWidgetItem::clone(); } -QSize PythonQtShell_QTreeView::viewportSizeHint() const +QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&column0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10626,87 +12739,65 @@ if (_wrapper) { } } } - return QTreeView::viewportSizeHint(); + return QTreeWidgetItem::data(column0, role1); } -QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::visualRect(index0); + QTreeWidgetItem::read(in0); } -QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&column0, (void*)&role1, (void*)&value2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::visualRegionForSelection(selection0); + QTreeWidgetItem::setData(column0, role1, value2); } -void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10714,318 +12805,420 @@ if (_wrapper) { } } } - QTreeView::wheelEvent(arg__1); + QTreeWidgetItem::write(out0); } -QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, QTreeWidgetItem* after, int type) { -return new PythonQtShell_QTreeView(parent); } +return new PythonQtShell_QTreeWidgetItem(treeview, after, type); } -const QMetaObject* PythonQtShell_QTreeView::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeView::staticMetaObject); - } else { - return &QTreeView::staticMetaObject; - } +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(treeview, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, int type) +{ +return new PythonQtShell_QTreeWidgetItem(treeview, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis 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::addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child) +{ + ( theWrappedObject->addChild(child)); } -int PythonQtShell_QTreeView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTreeView::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children) +{ + ( theWrappedObject->addChildren(children)); } -bool PythonQtWrapper_QTreeView::allColumnsShowFocus(QTreeView* theWrappedObject) const + +QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->allColumnsShowFocus()); + return ( theWrappedObject->background(column)); } -int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const +Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->autoExpandDelay()); + return ( theWrappedObject->checkState(column)); } -int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const { - return ( theWrappedObject->columnAt(x)); + return ( theWrappedObject->child(index)); } -int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const +int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->columnViewportPosition(column)); + return ( theWrappedObject->childCount()); } -int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const +QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->columnWidth(column)); + return ( theWrappedObject->childIndicatorPolicy()); } -void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); + return ( theWrappedObject->clone()); } -void PythonQtWrapper_QTreeView::drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const +int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawRow(painter, options, index)); + return ( theWrappedObject->columnCount()); } -void PythonQtWrapper_QTreeView::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const +QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const { - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); + return ( theWrappedObject->data(column, role)); } -bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) { - return ( theWrappedObject->expandsOnDoubleClick()); + ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); } -QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const +Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->header()); + return ( theWrappedObject->flags()); } -int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const +QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->indentation()); + return ( theWrappedObject->font(column)); } -QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const +QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->indexAbove(index)); + return ( theWrappedObject->foreground(column)); } -QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const +QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->indexBelow(index)); + return ( theWrappedObject->icon(column)); } -int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const +int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const { - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); + return ( theWrappedObject->indexOfChild(child)); } -bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) { - return ( theWrappedObject->isAnimated()); + ( theWrappedObject->insertChild(index, child)); } -bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const +void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) { - return ( theWrappedObject->isColumnHidden(column)); + ( theWrappedObject->insertChildren(index, children)); } -bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const +bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->isExpanded(index)); + return ( theWrappedObject->isDisabled()); } -bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->isFirstColumnSpanned(row, parent)); + return ( theWrappedObject->isExpanded()); } -bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const +bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->isHeaderHidden()); + return ( theWrappedObject->isFirstColumnSpanned()); } -bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->isRowHidden(row, parent)); + return ( theWrappedObject->isHidden()); } -bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const +bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->isSortingEnabled()); + return ( theWrappedObject->isSelected()); } -bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) { - return ( theWrappedObject->itemsExpandable()); + out << (*theWrappedObject); } -void PythonQtWrapper_QTreeView::resetIndentation(QTreeView* theWrappedObject) +void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) { - ( theWrappedObject->resetIndentation()); + in >> (*theWrappedObject); } -bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->rootIsDecorated()); + return ( theWrappedObject->parent()); } -int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) { - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); + ( theWrappedObject->read(in)); } -void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) +void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) { - ( theWrappedObject->setAllColumnsShowFocus(enable)); + ( theWrappedObject->removeChild(child)); } -void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) +void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) { - ( theWrappedObject->setAnimated(enable)); + ( theWrappedObject->setBackground(column, brush)); } -void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) +void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) { - ( theWrappedObject->setAutoExpandDelay(delay)); + ( theWrappedObject->setCheckState(column, state)); } -void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) +void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) { - ( theWrappedObject->setColumnHidden(column, hide)); + ( theWrappedObject->setChildIndicatorPolicy(policy)); } -void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) +void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) { - ( theWrappedObject->setColumnWidth(column, width)); + ( theWrappedObject->setData(column, role, value)); } -void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) +void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) { - ( theWrappedObject->setExpanded(index, expand)); + ( theWrappedObject->setDisabled(disabled)); } -void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) +void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) { - ( theWrappedObject->setExpandsOnDoubleClick(enable)); + ( theWrappedObject->setExpanded(expand)); } -void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) +void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) { - ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); + ( theWrappedObject->setFirstColumnSpanned(span)); } -void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) +void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) { - ( theWrappedObject->setHeader(header)); + ( theWrappedObject->setFlags(flags)); } -void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) +void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) { - ( theWrappedObject->setHeaderHidden(hide)); + ( theWrappedObject->setFont(column, font)); +} + +void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +{ + ( theWrappedObject->setForeground(column, brush)); +} + +void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHidden(hide)); +} + +void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +{ + ( theWrappedObject->setIcon(column, icon)); +} + +void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +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)); +} + +void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) +{ + ( theWrappedObject->setText(column, text)); +} + +void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) +{ + ( theWrappedObject->setTextAlignment(column, alignment)); +} + +void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(column, toolTip)); +} + +void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(column, whatsThis)); +} + +QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->sizeHint(column)); } -void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) +void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) { - ( theWrappedObject->setIndentation(i)); + ( theWrappedObject->sortChildren(column, order)); } -void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) +QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const { - ( theWrappedObject->setItemsExpandable(enable)); + return ( theWrappedObject->statusTip(column)); } -void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) { - ( theWrappedObject->setRootIsDecorated(show)); + return ( theWrappedObject->takeChild(index)); } -void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) +PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) { - ( theWrappedObject->setRowHidden(row, parent, hide)); + return ( theWrappedObject->takeChildren()); } -void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) +QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const { - ( theWrappedObject->setSortingEnabled(enable)); + return ( theWrappedObject->text(column)); } -void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) +int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const { - ( theWrappedObject->setTreePosition(logicalIndex)); + return ( theWrappedObject->textAlignment(column)); } -void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) +QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const { - ( theWrappedObject->setUniformRowHeights(uniform)); + return ( theWrappedObject->toolTip(column)); } -void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) +QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const { - ( theWrappedObject->setWordWrap(on)); + return ( theWrappedObject->treeWidget()); } -int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const +int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->treePosition()); + return ( theWrappedObject->type()); } -bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const +QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->uniformRowHeights()); + return ( theWrappedObject->whatsThis(column)); } -bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const { - return ( theWrappedObject->wordWrap()); + ( theWrappedObject->write(out)); } -PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { +PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) +int PythonQtShell_QUndoCommand::id() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::actionEvent(event0); + return QUndoCommand::id(); } -void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) +bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&other0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::changeEvent(arg__1); + return QUndoCommand::mergeWith(other0); } -void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QUndoCommand::redo() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("redo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11033,21 +13226,21 @@ if (_wrapper) { } } } - QTreeWidget::closeEditor(editor0, hint1); + QUndoCommand::redo(); } -void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QUndoCommand::undo() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11055,230 +13248,90 @@ if (_wrapper) { } } } - QTreeWidget::closeEvent(event0); + QUndoCommand::undo(); } -void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) +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); } + +QString PythonQtWrapper_QUndoCommand::actionText(QUndoCommand* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::commitData(editor0); + return ( theWrappedObject->actionText()); } -void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) + +const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::contextMenuEvent(arg__1); + return ( theWrappedObject->child(index)); } -void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) + +int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::currentChanged(current0, previous1); + return ( theWrappedObject->childCount()); } -void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) + +int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); + return ( theWrappedObject->id()); } -int PythonQtShell_QTreeWidget::devType() const + +bool PythonQtWrapper_QUndoCommand::isObsolete(QUndoCommand* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTreeWidget::devType(); + return ( theWrappedObject->isObsolete()); } -void PythonQtShell_QTreeWidget::doItemsLayout() + +bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::doItemsLayout(); + return ( theWrappedObject->mergeWith(other)); } -void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->redo()); } - QTreeWidget::dragEnterEvent(event0); -} -void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) + +void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setObsolete(obsolete)); +} + +void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); } - QTreeWidget::dragLeaveEvent(event0); + +QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->text()); } -void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->undo()); } - QTreeWidget::dragMoveEvent(event0); + + + +PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawBranches"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&index2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11286,21 +13339,21 @@ if (_wrapper) { } } } - QTreeWidget::drawBranches(painter0, rect1, index2); + QUndoGroup::childEvent(event0); } -void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const +void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawRow"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11308,54 +13361,65 @@ if (_wrapper) { } } } - QTreeWidget::drawRow(painter0, options1, index2); + QUndoGroup::customEvent(event0); } -void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) +bool PythonQtShell_QUndoGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::dropEvent(event0); + return QUndoGroup::event(event0); } -bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) +bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11363,54 +13427,121 @@ if (_wrapper) { } } } - return QTreeWidget::dropMimeData(parent0, index1, data2, action3); + return QUndoGroup::eventFilter(watched0, event1); } -bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&trigger1, (void*)&event2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::edit(index0, trigger1, event2); + QUndoGroup::timerEvent(event0); } -void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) +QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) +{ +return new PythonQtShell_QUndoGroup(parent); } + +const QMetaObject* PythonQtShell_QUndoGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoGroup::staticMetaObject); + } else { + return &QUndoGroup::staticMetaObject; + } +} +int PythonQtShell_QUndoGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->activeStack()); +} + +void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +{ + ( theWrappedObject->addStack(stack)); +} + +bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->canRedo()); +} + +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)); +} + +QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createUndoAction(parent, prefix)); +} + +bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->isClean()); +} + +QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->redoText()); +} + +void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +{ + ( theWrappedObject->removeStack(stack)); +} + +QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->stacks()); +} + +QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->undoText()); +} + + + +PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11418,21 +13549,21 @@ if (_wrapper) { } } } - QTreeWidget::editorDestroyed(editor0); + QUndoStack::childEvent(event0); } -void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) +void PythonQtShell_QUndoStack::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11440,9 +13571,9 @@ if (_wrapper) { } } } - QTreeWidget::enterEvent(event0); + QUndoStack::customEvent(event0); } -bool PythonQtShell_QTreeWidget::event(QEvent* e0) +bool PythonQtShell_QUndoStack::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11453,19 +13584,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11473,9 +13604,9 @@ if (_wrapper) { } } } - return QTreeWidget::event(e0); + return QUndoStack::event(event0); } -bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11486,19 +13617,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11506,21 +13637,21 @@ if (_wrapper) { } } } - return QTreeWidget::eventFilter(object0, event1); + return QUndoStack::eventFilter(watched0, event1); } -void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11528,142 +13659,183 @@ if (_wrapper) { } } } - QTreeWidget::focusInEvent(event0); + QUndoStack::timerEvent(event0); } -bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } +QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent) +{ +return new PythonQtShell_QUndoStack(parent); } + +const QMetaObject* PythonQtShell_QUndoStack::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoStack::staticMetaObject); + } else { + return &QUndoStack::staticMetaObject; } } - return QTreeWidget::focusNextPrevChild(next0); +int PythonQtShell_QUndoStack::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoStack::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->beginMacro(text)); +} + +bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->canRedo()); +} + +bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->canUndo()); +} + +int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->cleanIndex()); +} + +void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const +{ + return ( theWrappedObject->command(index)); +} + +int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createRedoAction(parent, prefix)); +} + +QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createUndoAction(parent, prefix)); +} + +void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) +{ + ( theWrappedObject->endMacro()); +} + +int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->isClean()); +} + +void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) +{ + ( theWrappedObject->push(cmd)); +} + +QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->redoText()); +} + +void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) +{ + ( theWrappedObject->setUndoLimit(limit)); +} + +QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const +{ + return ( theWrappedObject->text(idx)); +} + +int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->undoLimit()); +} + +QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->undoText()); } - QTreeWidget::focusOutEvent(event0); + + + +PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QTreeWidget::hasHeightForWidth() const +void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::hasHeightForWidth(); + QUndoView::actionEvent(event0); } -int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const +void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::heightForWidth(arg__1); + QUndoView::changeEvent(arg__1); } -void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QUndoView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11671,54 +13843,43 @@ if (_wrapper) { } } } - QTreeWidget::hideEvent(event0); + QUndoView::childEvent(event0); } -int PythonQtShell_QTreeWidget::horizontalOffset() const +void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::horizontalOffset(); + QUndoView::closeEditor(editor0, hint1); } -void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) +void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11726,21 +13887,21 @@ if (_wrapper) { } } } - QTreeWidget::horizontalScrollbarAction(action0); + QUndoView::closeEvent(event0); } -void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QUndoView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11748,54 +13909,43 @@ if (_wrapper) { } } } - QTreeWidget::horizontalScrollbarValueChanged(value0); + QUndoView::commitData(editor0); } -QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const +void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::indexAt(p0); + QUndoView::contextMenuEvent(arg__1); } -void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11803,21 +13953,21 @@ if (_wrapper) { } } } - QTreeWidget::initPainter(painter0); + QUndoView::currentChanged(current0, previous1); } -void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QUndoView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11825,65 +13975,54 @@ if (_wrapper) { } } } - QTreeWidget::inputMethodEvent(event0); + QUndoView::customEvent(event0); } -QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::inputMethodQuery(query0); + QUndoView::dataChanged(topLeft0, bottomRight1, roles2); } -bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const +int PythonQtShell_QUndoView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11891,21 +14030,21 @@ if (_wrapper) { } } } - return QTreeWidget::isIndexHidden(index0); + return QUndoView::devType(); } -void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QUndoView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11913,21 +14052,21 @@ if (_wrapper) { } } } - QTreeWidget::keyPressEvent(event0); + QUndoView::doItemsLayout(); } -void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11935,21 +14074,21 @@ if (_wrapper) { } } } - QTreeWidget::keyReleaseEvent(event0); + QUndoView::dragEnterEvent(event0); } -void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) +void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11957,21 +14096,21 @@ if (_wrapper) { } } } - QTreeWidget::keyboardSearch(search0); + QUndoView::dragLeaveEvent(e0); } -void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11979,131 +14118,54 @@ if (_wrapper) { } } } - QTreeWidget::leaveEvent(event0); -} -int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTreeWidget::metric(arg__1); + QUndoView::dragMoveEvent(e0); } -QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const +void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&items0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QTreeWidget::mimeData(items0); -} -QStringList PythonQtShell_QTreeWidget::mimeTypes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::mimeTypes(); + QUndoView::dropEvent(e0); } -QSize PythonQtShell_QTreeWidget::minimumSizeHint() const +bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12111,21 +14173,21 @@ if (_wrapper) { } } } - return QTreeWidget::minimumSizeHint(); + return QUndoView::edit(index0, trigger1, event2); } -void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12133,21 +14195,21 @@ if (_wrapper) { } } } - QTreeWidget::mouseDoubleClickEvent(event0); + QUndoView::editorDestroyed(editor0); } -void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QUndoView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12155,43 +14217,87 @@ if (_wrapper) { } } } - QTreeWidget::mouseMoveEvent(event0); + QUndoView::enterEvent(event0); } -void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) +bool PythonQtShell_QUndoView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::mousePressEvent(event0); + return QUndoView::event(e0); } -void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) +bool PythonQtShell_QUndoView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::eventFilter(object0, event1); +} +void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12199,32 +14305,32 @@ if (_wrapper) { } } } - QTreeWidget::mouseReleaseEvent(event0); + QUndoView::focusInEvent(event0); } -QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&cursorAction0, (void*)&modifiers1}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12232,21 +14338,21 @@ if (_wrapper) { } } } - return QTreeWidget::moveCursor(cursorAction0, modifiers1); + return QUndoView::focusNextPrevChild(next0); } -void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12254,32 +14360,32 @@ if (_wrapper) { } } } - QTreeWidget::moveEvent(event0); + QUndoView::focusOutEvent(event0); } -bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QUndoView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12287,32 +14393,32 @@ if (_wrapper) { } } } - return QTreeWidget::nativeEvent(eventType0, message1, result2); + return QUndoView::hasHeightForWidth(); } -QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const +int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12320,21 +14426,21 @@ if (_wrapper) { } } } - return QTreeWidget::paintEngine(); + return QUndoView::heightForWidth(arg__1); } -void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) +void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12342,32 +14448,32 @@ if (_wrapper) { } } } - QTreeWidget::paintEvent(event0); + QUndoView::hideEvent(event0); } -QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const +int PythonQtShell_QUndoView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12375,43 +14481,21 @@ if (_wrapper) { } } } - return QTreeWidget::redirected(offset0); -} -void PythonQtShell_QTreeWidget::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::reset(); + return QUndoView::horizontalOffset(); } -void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12419,21 +14503,21 @@ if (_wrapper) { } } } - QTreeWidget::resizeEvent(event0); + QUndoView::horizontalScrollbarAction(action0); } -void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12441,43 +14525,54 @@ if (_wrapper) { } } } - QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QUndoView::horizontalScrollbarValueChanged(value0); } -void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::rowsInserted(parent0, start1, end2); + return QUndoView::indexAt(p0); } -void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12485,21 +14580,21 @@ if (_wrapper) { } } } - QTreeWidget::scrollContentsBy(dx0, dy1); + QUndoView::initPainter(painter0); } -void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12507,54 +14602,65 @@ if (_wrapper) { } } } - QTreeWidget::scrollTo(index0, hint1); + QUndoView::inputMethodEvent(event0); } -void PythonQtShell_QTreeWidget::selectAll() +QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::selectAll(); + return QUndoView::inputMethodQuery(query0); } -QList PythonQtShell_QTreeWidget::selectedIndexes() const +bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12562,21 +14668,21 @@ if (_wrapper) { } } } - return QTreeWidget::selectedIndexes(); + return QUndoView::isIndexHidden(index0); } -void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12584,54 +14690,43 @@ if (_wrapper) { } } } - QTreeWidget::selectionChanged(selected0, deselected1); + QUndoView::keyPressEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&event1}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::selectionCommand(index0, event1); + QUndoView::keyReleaseEvent(event0); } -void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12639,21 +14734,21 @@ if (_wrapper) { } } } - QTreeWidget::setRootIndex(index0); + QUndoView::keyboardSearch(search0); } -void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12661,65 +14756,87 @@ if (_wrapper) { } } } - QTreeWidget::setSelection(rect0, command1); + QUndoView::leaveEvent(event0); } -void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::setSelectionModel(selectionModel0); + return QUndoView::metric(arg__1); } -void PythonQtShell_QTreeWidget::setVisible(bool visible0) +QSize PythonQtShell_QUndoView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::setVisible(visible0); + return QUndoView::minimumSizeHint(); } -void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) +void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12727,54 +14844,43 @@ if (_wrapper) { } } } - QTreeWidget::setupViewport(viewport0); + QUndoView::mouseDoubleClickEvent(event0); } -QPainter* PythonQtShell_QTreeWidget::sharedPainter() const +void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sharedPainter(); + QUndoView::mouseMoveEvent(e0); } -void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12782,65 +14888,54 @@ if (_wrapper) { } } } - QTreeWidget::showEvent(event0); + QUndoView::mousePressEvent(event0); } -QSize PythonQtShell_QTreeWidget::sizeHint() const +void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHint(); + QUndoView::mouseReleaseEvent(e0); } -int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const +QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12848,87 +14943,87 @@ if (_wrapper) { } } } - return QTreeWidget::sizeHintForColumn(column0); + return QUndoView::moveCursor(cursorAction0, modifiers1); } -int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const +void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHintForRow(row0); + QUndoView::moveEvent(event0); } -void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) +bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::startDrag(supportedActions0); + return QUndoView::nativeEvent(eventType0, message1, result2); } -Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const +QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12936,21 +15031,21 @@ if (_wrapper) { } } } - return QTreeWidget::supportedDropActions(); + return QUndoView::paintEngine(); } -void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12958,43 +15053,54 @@ if (_wrapper) { } } } - QTreeWidget::tabletEvent(event0); + QUndoView::paintEvent(e0); } -void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) +QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::timerEvent(event0); + return QUndoView::redirected(offset0); } -void PythonQtShell_QTreeWidget::updateEditorData() +void PythonQtShell_QUndoView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13002,21 +15108,21 @@ if (_wrapper) { } } } - QTreeWidget::updateEditorData(); + QUndoView::reset(); } -void PythonQtShell_QTreeWidget::updateEditorGeometries() +void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13024,21 +15130,21 @@ if (_wrapper) { } } } - QTreeWidget::updateEditorGeometries(); + QUndoView::resizeEvent(e0); } -void PythonQtShell_QTreeWidget::updateGeometries() +void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13046,54 +15152,43 @@ if (_wrapper) { } } } - QTreeWidget::updateGeometries(); + QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); } -int PythonQtShell_QTreeWidget::verticalOffset() const +void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::verticalOffset(); + QUndoView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) +void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13101,21 +15196,21 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarAction(action0); + QUndoView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13123,65 +15218,54 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarValueChanged(value0); + QUndoView::scrollTo(index0, hint1); } -QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const +void PythonQtShell_QUndoView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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); } + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::viewOptions(); + QUndoView::selectAll(); } -bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) +QList PythonQtShell_QUndoView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13189,65 +15273,54 @@ if (_wrapper) { } } } - return QTreeWidget::viewportEvent(event0); + return QUndoView::selectedIndexes(); } -QSize PythonQtShell_QTreeWidget::viewportSizeHint() const +void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::viewportSizeHint(); + QUndoView::selectionChanged(selected0, deselected1); } -QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const +QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13255,335 +15328,252 @@ if (_wrapper) { } } } - return QTreeWidget::visualRect(index0); + return QUndoView::selectionCommand(index0, event1); } -QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::visualRegionForSelection(selection0); + QUndoView::setModel(model0); } -void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { PyErr_Clear(); - } - } -} - QTreeWidget::wheelEvent(arg__1); -} -QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) -{ -return new PythonQtShell_QTreeWidget(parent); } - -const QMetaObject* PythonQtShell_QTreeWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeWidget::staticMetaObject); - } else { - return &QTreeWidget::staticMetaObject; - } -} -int PythonQtShell_QTreeWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTreeWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addTopLevelItem(item)); -} - -void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items) -{ - ( theWrappedObject->addTopLevelItems(items)); -} - -void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->closePersistentEditor(item, column)); -} - -int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentColumn()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentItem()); -} - -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)); -} - -void PythonQtWrapper_QTreeWidget::editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->editItem(item, column)); -} - -QList PythonQtWrapper_QTreeWidget::findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const -{ - return ( theWrappedObject->findItems(text, flags, column)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::headerItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->headerItem()); -} - -QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); -} - -QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); -} - -int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const -{ - return ( theWrappedObject->indexOfTopLevelItem(item)); -} - -void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->insertTopLevelItem(index, item)); -} - -void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items) -{ - ( theWrappedObject->insertTopLevelItems(index, items)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->invisibleRootItem()); -} - -bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->isFirstItemColumnSpanned(item)); -} - -bool PythonQtWrapper_QTreeWidget::isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const -{ - return ( theWrappedObject->isPersistentEditorOpen(item, column)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->itemAbove(item)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->itemAt(p)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->itemBelow(item)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); -} - -QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const -{ - return ( theWrappedObject->itemWidget(item, column)); -} - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::mimeData(QTreeWidget* theWrappedObject, const QList items) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeData(items)); -} - -QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); -} - -void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->openPersistentEditor(item, column)); -} - -void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->removeItemWidget(item, column)); -} - -QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectedItems()); -} - -void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); -} - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) -{ - ( theWrappedObject->setCurrentItem(item)); -} - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->setCurrentItem(item, column)); + } + } } - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentItem(item, column, command)); + QUndoView::setRootIndex(index0); } - -void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) +void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { - ( theWrappedObject->setFirstItemColumnSpanned(item, span)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->setHeaderItem(item)); + QUndoView::setSelection(rect0, command1); } - -void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) +void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) { - ( theWrappedObject->setHeaderLabel(label)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setHeaderLabels(labels)); + QUndoView::setSelectionModel(selectionModel0); } - -void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) +void PythonQtShell_QUndoView::setVisible(bool visible0) { - ( theWrappedObject->setItemWidget(item, column, widget)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->sortColumn()); + QUndoView::setVisible(visible0); } - -void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) +void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { - ( theWrappedObject->sortItems(column, order)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); + QUndoView::setupViewport(viewport0); } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) +QPainter* PythonQtShell_QUndoView::sharedPainter() const { - return ( theWrappedObject->takeTopLevelItem(index)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->topLevelItem(index)); + return QUndoView::sharedPainter(); } - -int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const +void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) { - return ( theWrappedObject->topLevelItemCount()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const + QUndoView::showEvent(event0); +} +QSize PythonQtShell_QUndoView::sizeHint() const { - return ( theWrappedObject->visualItemRect(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QUndoView::sizeHint(); } -QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const +int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QTreeWidgetItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTreeWidgetItem* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { - returnValue = *((QTreeWidgetItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13591,87 +15581,142 @@ if (_wrapper) { } } } - return QTreeWidgetItem::clone(); + return QUndoView::sizeHintForColumn(column0); } -QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const +int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&column0, (void*)&role1}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sizeHintForRow(row0); +} +void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::startDrag(supportedActions0); +} +void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::tabletEvent(event0); +} +void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidgetItem::data(column0, role1); + QUndoView::timerEvent(e0); } -bool PythonQtShell_QTreeWidgetItem::__lt__(const QTreeWidgetItem& other0) const +void PythonQtShell_QUndoView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); + static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QTreeWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidgetItem::operator<(other0); + QUndoView::updateEditorData(); } -void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) +void PythonQtShell_QUndoView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13679,21 +15724,21 @@ if (_wrapper) { } } } - QTreeWidgetItem::read(in0); + QUndoView::updateEditorGeometries(); } -void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) +void PythonQtShell_QUndoView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&column0, (void*)&role1, (void*)&value2}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13701,355 +15746,325 @@ if (_wrapper) { } } } - QTreeWidgetItem::setData(column0, role1, value2); + QUndoView::updateGeometries(); } -void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const +int PythonQtShell_QUndoView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidgetItem::write(out0); -} -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(treeview, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(treeview, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, int type) -{ -return new PythonQtShell_QTreeWidgetItem(treeview, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis 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::addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child) -{ - ( theWrappedObject->addChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children) -{ - ( theWrappedObject->addChildren(children)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->background(column)); -} - -Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->checkState(column)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); -} - -int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childCount()); -} - -QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childIndicatorPolicy()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->clone()); -} - -int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const -{ - return ( theWrappedObject->data(column, role)); -} - -void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); -} - -Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->font(column)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->foreground(column)); -} - -QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->icon(column)); -} - -int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const -{ - return ( theWrappedObject->indexOfChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) -{ - ( theWrappedObject->insertChild(index, child)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) -{ - ( theWrappedObject->insertChildren(index, children)); -} - -bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isDisabled()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isExpanded()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isFirstColumnSpanned()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) -{ - ( theWrappedObject->read(in)); -} - -void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) -{ - ( theWrappedObject->removeChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) -{ - ( theWrappedObject->setBackground(column, brush)); -} - -void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(column, state)); -} - -void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) -{ - ( theWrappedObject->setChildIndicatorPolicy(policy)); -} - -void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) -{ - ( theWrappedObject->setData(column, role, value)); -} - -void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) -{ - ( theWrappedObject->setDisabled(disabled)); -} - -void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) -{ - ( theWrappedObject->setExpanded(expand)); -} - -void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) -{ - ( theWrappedObject->setFirstColumnSpanned(span)); + return QUndoView::verticalOffset(); } - -void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { - ( theWrappedObject->setFlags(flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) -{ - ( theWrappedObject->setFont(column, font)); + QUndoView::verticalScrollbarAction(action0); } - -void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { - ( theWrappedObject->setForeground(column, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) -{ - ( theWrappedObject->setHidden(hide)); + QUndoView::verticalScrollbarValueChanged(value0); } - -void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { - ( theWrappedObject->setIcon(column, icon)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) -{ - ( theWrappedObject->setSelected(select)); + return QUndoView::viewOptions(); } - -void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) +bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { - ( theWrappedObject->setSizeHint(column, size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(column, statusTip)); + return QUndoView::viewportEvent(event0); } - -void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) +QSize PythonQtShell_QUndoView::viewportSizeHint() const { - ( theWrappedObject->setText(column, text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) -{ - ( theWrappedObject->setTextAlignment(column, alignment)); + return QUndoView::viewportSizeHint(); } - -void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) +QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { - ( theWrappedObject->setToolTip(column, toolTip)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) -{ - ( theWrappedObject->setWhatsThis(column, whatsThis)); + return QUndoView::visualRect(index0); } - -QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const +QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const { - return ( theWrappedObject->sizeHint(column)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortChildren(column, order)); + return QUndoView::visualRegionForSelection(selection0); } - -QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) { - return ( theWrappedObject->statusTip(column)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) -{ - return ( theWrappedObject->takeChild(index)); + QUndoView::wheelEvent(e0); } +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoGroup* group, QWidget* parent) +{ +return new PythonQtShell_QUndoView(group, parent); } -PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) -{ - return ( theWrappedObject->takeChildren()); -} +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoStack* stack, QWidget* parent) +{ +return new PythonQtShell_QUndoView(stack, parent); } -QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->text(column)); -} +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QWidget* parent) +{ +return new PythonQtShell_QUndoView(parent); } -int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const +const QMetaObject* PythonQtShell_QUndoView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoView::staticMetaObject); + } else { + return &QUndoView::staticMetaObject; + } +} +int PythonQtShell_QUndoView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const { - return ( theWrappedObject->textAlignment(column)); + return ( theWrappedObject->cleanIcon()); } -QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const +QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const { - return ( theWrappedObject->toolTip(column)); + return ( theWrappedObject->emptyLabel()); } -QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const +QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const { - return ( theWrappedObject->treeWidget()); + return ( theWrappedObject->group()); } -int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) { - return ( theWrappedObject->type()); + ( theWrappedObject->setCleanIcon(icon)); } -QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) { - return ( theWrappedObject->whatsThis(column)); + ( theWrappedObject->setEmptyLabel(label)); } -void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const +QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const { - ( theWrappedObject->write(out)); + return ( theWrappedObject->stack()); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.h similarity index 60% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.h index a726cac4..12985067 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.h @@ -1,9 +1,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -11,39 +9,63 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include #include #include #include +#include #include +#include +#include #include #include #include +#include #include +#include +#include #include +#include +#include #include #include +#include #include -#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include #include +#include +#include +#include #include #include +#include #include -#include #include #include #include #include #include #include +#include #include #include #include @@ -51,455 +73,25 @@ #include #include #include -#include +#include +#include +#include +#include +#include #include #include -class PythonQtShell_QTextEdit : public QTextEdit -{ -public: - PythonQtShell_QTextEdit(QWidget* parent = nullptr):QTextEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTextEdit(const QString& text, QWidget* parent = nullptr):QTextEdit(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextEdit : public QTextEdit -{ public: -inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } -inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } -inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } -inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } -inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } -inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } -inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } -inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } -inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } -inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } -inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } -inline void promoted_zoomInF(float range) { this->zoomInF(range); } -inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } -inline void py_q_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } -inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } -inline QMimeData* py_q_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } -inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QTextEdit::doSetTextCursor(cursor); } -inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } -inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } -inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } -inline void py_q_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } -inline bool py_q_event(QEvent* e) { return QTextEdit::event(e); } -inline void py_q_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } -inline bool py_q_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } -inline void py_q_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } -inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } -inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } -inline void py_q_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } -inline void py_q_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } -inline void py_q_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } -inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } -inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } -inline void py_q_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } -inline void py_q_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } -inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } -inline void py_q_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } -inline void py_q_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } -inline void py_q_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } -inline void py_q_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } -inline void py_q_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } -inline void py_q_wheelEvent(QWheelEvent* e) { QTextEdit::wheelEvent(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 = nullptr); -QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = nullptr); -void delete_QTextEdit(QTextEdit* obj) { delete obj; } - bool acceptRichText(QTextEdit* theWrappedObject) const; - Qt::Alignment alignment(QTextEdit* theWrappedObject) const; - QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const; - QTextEdit::AutoFormatting autoFormatting(QTextEdit* theWrappedObject) const; - bool canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const; - bool py_q_canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} - bool canPaste(QTextEdit* theWrappedObject) const; - void py_q_changeEvent(QTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_changeEvent(e));} - void py_q_contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} - QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; - QMimeData* py_q_createMimeDataFromSelection(QTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} - QMenu* createStandardContextMenu(QTextEdit* theWrappedObject); - QMenu* createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position); - QTextCharFormat currentCharFormat(QTextEdit* theWrappedObject) const; - QFont currentFont(QTextEdit* theWrappedObject) const; - QTextCursor cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const; - QRect cursorRect(QTextEdit* theWrappedObject) const; - QRect cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const; - int cursorWidth(QTextEdit* theWrappedObject) const; - void doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); - void py_q_doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} - QTextDocument* document(QTextEdit* theWrappedObject) const; - QString documentTitle(QTextEdit* theWrappedObject) const; - void py_q_dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} - void py_q_dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} - void py_q_dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} - void py_q_dropEvent(QTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dropEvent(e));} - void ensureCursorVisible(QTextEdit* theWrappedObject); - bool py_q_event(QTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_event(e));} - QList extraSelections(QTextEdit* theWrappedObject) const; - bool find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - bool find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - void py_q_focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} - bool py_q_focusNextPrevChild(QTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} - QString fontFamily(QTextEdit* theWrappedObject) const; - bool fontItalic(QTextEdit* theWrappedObject) const; - qreal fontPointSize(QTextEdit* theWrappedObject) const; - bool fontUnderline(QTextEdit* theWrappedObject) const; - int fontWeight(QTextEdit* theWrappedObject) const; - void py_q_inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} - QVariant py_q_inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} - QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; - void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); - void py_q_insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} - bool isReadOnly(QTextEdit* theWrappedObject) const; - bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; - void py_q_keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} - void py_q_keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} - int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; - QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; - QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); - QVariant py_q_loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} - void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); - void py_q_mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} - void py_q_mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} - void py_q_mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} - void py_q_mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} - void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - bool overwriteMode(QTextEdit* theWrappedObject) const; - void py_q_paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_paintEvent(e));} - QString placeholderText(QTextEdit* theWrappedObject) const; - void print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; - void py_q_resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} - void py_q_scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void setAcceptRichText(QTextEdit* theWrappedObject, bool accept); - void setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features); - void setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format); - void setCursorWidth(QTextEdit* theWrappedObject, int width); - void setDocument(QTextEdit* theWrappedObject, QTextDocument* document); - void setDocumentTitle(QTextEdit* theWrappedObject, const QString& title); - void setExtraSelections(QTextEdit* theWrappedObject, const QList& selections); - void setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w); - void setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode); - void setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite); - void setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText); - void setReadOnly(QTextEdit* theWrappedObject, bool ro); - void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); - void setTabStopDistance(QTextEdit* theWrappedObject, qreal distance); - void setTabStopWidth(QTextEdit* theWrappedObject, int width); - void setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); - void setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); - void setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable); - void setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy); - void py_q_showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} - bool tabChangesFocus(QTextEdit* theWrappedObject) const; - qreal tabStopDistance(QTextEdit* theWrappedObject) const; - int tabStopWidth(QTextEdit* theWrappedObject) const; - QColor textBackgroundColor(QTextEdit* theWrappedObject) const; - QColor textColor(QTextEdit* theWrappedObject) const; - QTextCursor textCursor(QTextEdit* theWrappedObject) const; - Qt::TextInteractionFlags textInteractionFlags(QTextEdit* theWrappedObject) const; - void timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e); - void py_q_timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_timerEvent(e));} - QString toHtml(QTextEdit* theWrappedObject) const; - QString toPlainText(QTextEdit* theWrappedObject) const; - void py_q_wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} - QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; - void zoomInF(QTextEdit* theWrappedObject, float range); -}; - - - - - -class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection -{ -public: - PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(NULL) {}; - - ~PythonQtShell_QTextEdit__ExtraSelection(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject -{ Q_OBJECT -public: -public slots: -QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(); -QTextEdit::ExtraSelection* new_QTextEdit__ExtraSelection(const QTextEdit::ExtraSelection& other) { -PythonQtShell_QTextEdit__ExtraSelection* a = new PythonQtShell_QTextEdit__ExtraSelection(); -*((QTextEdit::ExtraSelection*)a) = other; -return a; } -void delete_QTextEdit__ExtraSelection(QTextEdit::ExtraSelection* obj) { delete obj; } -void py_set_cursor(QTextEdit::ExtraSelection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } -QTextCursor py_get_cursor(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->cursor; } -void py_set_format(QTextEdit::ExtraSelection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } -QTextCharFormat py_get_format(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->format; } -}; - - - - - -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; } - QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; - int charFormatIndex(QTextFragment* theWrappedObject) const; - bool contains(QTextFragment* theWrappedObject, int position) const; - QList glyphRuns(QTextFragment* theWrappedObject, int from = -1, int length = -1) const; - bool isValid(QTextFragment* theWrappedObject) const; - int length(QTextFragment* theWrappedObject) const; - bool __ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const; - bool __lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const; - bool __eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const; - int position(QTextFragment* theWrappedObject) const; - QString text(QTextFragment* theWrappedObject) const; - bool __nonzero__(QTextFragment* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QTextFrameFormat : public QTextFrameFormat -{ -public: - PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {}; - - ~PythonQtShell_QTextFrameFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextFrameFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BorderStyle Position ) -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}; -enum Position{ - InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; -public slots: -QTextFrameFormat* new_QTextFrameFormat(); -QTextFrameFormat* new_QTextFrameFormat(const QTextFormat& fmt); -QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { -PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); -*((QTextFrameFormat*)a) = other; -return a; } -void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } - qreal border(QTextFrameFormat* theWrappedObject) const; - QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; - QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; - qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; - QTextLength height(QTextFrameFormat* theWrappedObject) const; - bool isValid(QTextFrameFormat* theWrappedObject) const; - qreal leftMargin(QTextFrameFormat* theWrappedObject) const; - qreal margin(QTextFrameFormat* theWrappedObject) const; - qreal padding(QTextFrameFormat* theWrappedObject) const; - QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; - QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; - qreal rightMargin(QTextFrameFormat* theWrappedObject) const; - void setBorder(QTextFrameFormat* theWrappedObject, qreal border); - void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); - void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); - void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); - void setHeight(QTextFrameFormat* theWrappedObject, qreal height); - void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); - void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); - void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); - void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); - void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); - void setWidth(QTextFrameFormat* theWrappedObject, qreal width); - qreal topMargin(QTextFrameFormat* theWrappedObject) const; - QTextLength width(QTextFrameFormat* theWrappedObject) const; - bool __nonzero__(QTextFrameFormat* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QTextImageFormat : public QTextImageFormat -{ -public: - PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; - - ~PythonQtShell_QTextImageFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextImageFormat : public QObject -{ Q_OBJECT -public: -public slots: -QTextImageFormat* new_QTextImageFormat(); -QTextImageFormat* new_QTextImageFormat(const QTextFormat& format); -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 height(QTextImageFormat* theWrappedObject) const; - bool isValid(QTextImageFormat* theWrappedObject) const; - QString name(QTextImageFormat* theWrappedObject) const; - int quality(QTextImageFormat* theWrappedObject) const; - void setHeight(QTextImageFormat* theWrappedObject, qreal height); - void setName(QTextImageFormat* theWrappedObject, const QString& name); - void setQuality(QTextImageFormat* theWrappedObject, int quality = 100); - void setWidth(QTextImageFormat* theWrappedObject, qreal width); - qreal width(QTextImageFormat* theWrappedObject) const; - bool __nonzero__(QTextImageFormat* obj) { return obj->isValid(); } -}; - - - - - -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 ascent(QTextInlineObject* theWrappedObject) const; - qreal descent(QTextInlineObject* theWrappedObject) const; - QTextFormat format(QTextInlineObject* theWrappedObject) const; - int formatIndex(QTextInlineObject* theWrappedObject) const; - qreal height(QTextInlineObject* theWrappedObject) const; - bool isValid(QTextInlineObject* theWrappedObject) const; - QRectF rect(QTextInlineObject* theWrappedObject) const; - void setAscent(QTextInlineObject* theWrappedObject, qreal a); - void setDescent(QTextInlineObject* theWrappedObject, qreal d); - void setWidth(QTextInlineObject* theWrappedObject, qreal w); - Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const; - int textPosition(QTextInlineObject* theWrappedObject) const; - qreal width(QTextInlineObject* theWrappedObject) const; - bool __nonzero__(QTextInlineObject* obj) { return obj->isValid(); } -}; - - - - - class PythonQtShell_QTextItem : public QTextItem { public: - PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; + PythonQtShell_QTextItem():QTextItem(),_wrapper(nullptr) {}; ~PythonQtShell_QTextItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextItem : public QObject @@ -512,7 +104,7 @@ enum RenderFlag{ Q_DECLARE_FLAGS(RenderFlags, RenderFlag) public slots: QTextItem* new_QTextItem(); -void delete_QTextItem(QTextItem* obj) { delete obj; } +void delete_QTextItem(QTextItem* obj) { delete obj; } qreal ascent(QTextItem* theWrappedObject) const; qreal descent(QTextItem* theWrappedObject) const; QFont font(QTextItem* theWrappedObject) const; @@ -532,7 +124,11 @@ Q_ENUMS(CursorMode ) enum CursorMode{ SkipCharacters = QTextLayout::SkipCharacters, SkipWords = QTextLayout::SkipWords}; public slots: -void delete_QTextLayout(QTextLayout* obj) { delete obj; } +QTextLayout* new_QTextLayout(); +QTextLayout* new_QTextLayout(const QString& text); +QTextLayout* new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice = nullptr); +QTextLayout* new_QTextLayout(const QTextBlock& b); +void delete_QTextLayout(QTextLayout* obj) { delete obj; } QList additionalFormats(QTextLayout* theWrappedObject) const; void beginLayout(QTextLayout* theWrappedObject); QRectF boundingRect(QTextLayout* theWrappedObject) const; @@ -584,12 +180,12 @@ void delete_QTextLayout(QTextLayout* obj) { delete obj; } class PythonQtShell_QTextLayout__FormatRange : public QTextLayout::FormatRange { public: - PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(NULL) {}; + PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(nullptr) {}; ~PythonQtShell_QTextLayout__FormatRange(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextLayout__FormatRange : public QObject @@ -601,7 +197,7 @@ QTextLayout::FormatRange* new_QTextLayout__FormatRange(const QTextLayout::Format PythonQtShell_QTextLayout__FormatRange* a = new PythonQtShell_QTextLayout__FormatRange(); *((QTextLayout::FormatRange*)a) = other; return a; } -void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } +void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } void py_set_format(QTextLayout::FormatRange* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } QTextCharFormat py_get_format(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->format; } void py_set_length(QTextLayout::FormatRange* theWrappedObject, int length){ theWrappedObject->length = length; } @@ -628,7 +224,7 @@ QTextLine* new_QTextLine(const QTextLine& other) { QTextLine* a = new QTextLine(); *((QTextLine*)a) = other; return a; } -void delete_QTextLine(QTextLine* obj) { delete obj; } +void delete_QTextLine(QTextLine* obj) { delete obj; } qreal ascent(QTextLine* theWrappedObject) const; qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; qreal descent(QTextLine* theWrappedObject) const; @@ -665,17 +261,22 @@ void delete_QTextLine(QTextLine* obj) { delete obj; } class PythonQtShell_QTextList : public QTextList { public: - PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QTextList(); - -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextList() override; + +void blockFormatChanged(const QTextBlock& block) override; +void blockInserted(const QTextBlock& block) override; +void blockRemoved(const QTextBlock& block) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextList : public QObject @@ -683,7 +284,7 @@ class PythonQtWrapper_QTextList : public QObject public: public slots: QTextList* new_QTextList(QTextDocument* doc); -void delete_QTextList(QTextList* obj) { delete obj; } +void delete_QTextList(QTextList* obj) { delete obj; } void add(QTextList* theWrappedObject, const QTextBlock& block); int count(QTextList* theWrappedObject) const; QTextListFormat format(QTextList* theWrappedObject) const; @@ -703,13 +304,13 @@ void delete_QTextList(QTextList* obj) { delete obj; } class PythonQtShell_QTextListFormat : public QTextListFormat { public: - PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextListFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextListFormat : public QObject @@ -725,7 +326,7 @@ 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 delete_QTextListFormat(QTextListFormat* obj) { delete obj; } int indent(QTextListFormat* theWrappedObject) const; bool isValid(QTextListFormat* theWrappedObject) const; QString numberPrefix(QTextListFormat* theWrappedObject) const; @@ -745,14 +346,19 @@ void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } class PythonQtShell_QTextObject : public QTextObject { public: - PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; + PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextObject(); + ~PythonQtShell_QTextObject() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextObject : public QTextObject @@ -792,7 +398,7 @@ public slots: QTextOption* new_QTextOption(); QTextOption* new_QTextOption(Qt::Alignment alignment); QTextOption* new_QTextOption(const QTextOption& o); -void delete_QTextOption(QTextOption* obj) { delete obj; } +void delete_QTextOption(QTextOption* obj) { delete obj; } Qt::Alignment alignment(QTextOption* theWrappedObject) const; QTextOption::Flags flags(QTextOption* theWrappedObject) const; void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment); @@ -820,13 +426,13 @@ void delete_QTextOption(QTextOption* obj) { delete obj; } class PythonQtShell_QTextOption__Tab : public QTextOption::Tab { public: - PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(NULL) {}; - PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(NULL) {}; + PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(nullptr) {}; + PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(nullptr) {}; ~PythonQtShell_QTextOption__Tab(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextOption__Tab : public QObject @@ -839,7 +445,7 @@ QTextOption::Tab* new_QTextOption__Tab(const QTextOption::Tab& other) { PythonQtShell_QTextOption__Tab* a = new PythonQtShell_QTextOption__Tab(); *((QTextOption::Tab*)a) = other; return a; } -void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } +void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; } @@ -854,11 +460,30 @@ QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return th +class PythonQtShell_QTextTable : public QTextTable +{ +public: + PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextTable() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QTextTable : public QObject { Q_OBJECT public: public slots: -void delete_QTextTable(QTextTable* obj) { delete obj; } +QTextTable* new_QTextTable(QTextDocument* doc); +void delete_QTextTable(QTextTable* obj) { delete obj; } void appendColumns(QTextTable* theWrappedObject, int count); void appendRows(QTextTable* theWrappedObject, int count); QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const; @@ -890,7 +515,7 @@ class PythonQtWrapper_QTextTableCell : public QObject public slots: QTextTableCell* new_QTextTableCell(); QTextTableCell* new_QTextTableCell(const QTextTableCell& o); -void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } +void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; int column(QTextTableCell* theWrappedObject) const; int columnSpan(QTextTableCell* theWrappedObject) const; @@ -917,13 +542,13 @@ void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat { public: - PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextTableCellFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableCellFormat : public QObject @@ -936,7 +561,7 @@ QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); *((QTextTableCellFormat*)a) = other; return a; } -void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } +void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } qreal bottomBorder(QTextTableCellFormat* theWrappedObject) const; QBrush bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const; @@ -974,7 +599,7 @@ void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } QBrush topBorderBrush(QTextTableCellFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle topBorderStyle(QTextTableCellFormat* theWrappedObject) const; qreal topPadding(QTextTableCellFormat* theWrappedObject) const; - bool __nonzero__(QTextTableCellFormat* obj) { return obj->isValid(); } + bool __nonzero__(QTextTableCellFormat* obj) { return !obj->isEmpty(); } }; @@ -984,13 +609,13 @@ void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } class PythonQtShell_QTextTableFormat : public QTextTableFormat { public: - PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextTableFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableFormat : public QObject @@ -1003,7 +628,7 @@ QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); *((QTextTableFormat*)a) = other; return a; } -void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } +void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; bool borderCollapse(QTextTableFormat* theWrappedObject) const; qreal cellPadding(QTextTableFormat* theWrappedObject) const; @@ -1030,13 +655,13 @@ void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } class PythonQtShell_QTileRules : public QTileRules { public: - PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {}; - PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {}; + PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(nullptr) {}; + PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(nullptr) {}; ~PythonQtShell_QTileRules(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTileRules : public QObject @@ -1045,7 +670,7 @@ class PythonQtWrapper_QTileRules : public QObject public slots: QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule); QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile); -void delete_QTileRules(QTileRules* obj) { delete obj; } +void delete_QTileRules(QTileRules* obj) { delete obj; } void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } @@ -1059,64 +684,67 @@ Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedOb class PythonQtShell_QTimeEdit : public QTimeEdit { public: - PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTimeEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -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); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimeEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimeEdit : public QObject @@ -1125,7 +753,7 @@ class PythonQtWrapper_QTimeEdit : public QObject public slots: QTimeEdit* new_QTimeEdit(QWidget* parent = nullptr); QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = nullptr); -void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } +void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } }; @@ -1135,56 +763,60 @@ void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } class PythonQtShell_QToolBar : public QToolBar { public: - PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(NULL) {}; - PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QToolBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(nullptr) {}; + PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBar : public QToolBar @@ -1206,7 +838,7 @@ class PythonQtWrapper_QToolBar : public QObject public slots: QToolBar* new_QToolBar(QWidget* parent = nullptr); QToolBar* new_QToolBar(const QString& title, QWidget* parent = nullptr); -void delete_QToolBar(QToolBar* obj) { delete obj; } +void delete_QToolBar(QToolBar* obj) { delete obj; } QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; void py_q_actionEvent(QToolBar* theWrappedObject, QActionEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_actionEvent(event));} @@ -1265,7 +897,7 @@ class PythonQtWrapper_QToolBarChangeEvent : public QObject public: public slots: QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); -void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } +void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } bool toggle(QToolBarChangeEvent* theWrappedObject) const; }; @@ -1276,57 +908,61 @@ void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } class PythonQtShell_QToolBox : public QToolBox { public: - PythonQtShell_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QToolBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void itemInserted(int index) override; +void itemRemoved(int index) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBox : public QToolBox @@ -1348,7 +984,7 @@ class PythonQtWrapper_QToolBox : public QObject public: public slots: QToolBox* new_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QToolBox(QToolBox* obj) { delete obj; } +void delete_QToolBox(QToolBox* obj) { delete obj; } int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text); void py_q_changeEvent(QToolBox* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -1383,59 +1019,62 @@ void delete_QToolBox(QToolBox* obj) { delete obj; } class PythonQtShell_QToolButton : public QToolButton { public: - PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QToolButton(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolButton() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* arg__1) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolButton : public QToolButton @@ -1472,7 +1111,7 @@ class PythonQtWrapper_QToolButton : public QObject public: public slots: QToolButton* new_QToolButton(QWidget* parent = nullptr); -void delete_QToolButton(QToolButton* obj) { delete obj; } +void delete_QToolButton(QToolButton* obj) { delete obj; } void py_q_actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_actionEvent(arg__1));} Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; bool autoRaise(QToolButton* theWrappedObject) const; @@ -1509,7 +1148,7 @@ class PythonQtWrapper_QToolTip : public QObject { Q_OBJECT public: public slots: -void delete_QToolTip(QToolTip* obj) { delete obj; } +void delete_QToolTip(QToolTip* obj) { delete obj; } QFont static_QToolTip_font(); void static_QToolTip_hideText(); bool static_QToolTip_isVisible(); @@ -1538,7 +1177,7 @@ enum DeviceType{ Q_DECLARE_FLAGS(Capabilities, CapabilityFlag) public slots: QTouchDevice* new_QTouchDevice(); -void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } +void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } QTouchDevice::Capabilities capabilities(QTouchDevice* theWrappedObject) const; QList static_QTouchDevice_devices(); int maximumTouchPoints(QTouchDevice* theWrappedObject) const; @@ -1555,104 +1194,207 @@ void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } +class PythonQtShell_QTouchEvent : public QTouchEvent +{ +public: + PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()):QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints),_wrapper(nullptr) {}; + + ~PythonQtShell_QTouchEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTouchEvent : public QObject +{ Q_OBJECT +public: +public slots: +QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()); +void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } + QTouchDevice* device(QTouchEvent* theWrappedObject) const; + void setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice); + void setTarget(QTouchEvent* theWrappedObject, QObject* atarget); + void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); + void setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints); + void setWindow(QTouchEvent* theWrappedObject, QWindow* awindow); + QObject* target(QTouchEvent* theWrappedObject) const; + Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; + const QList* touchPoints(QTouchEvent* theWrappedObject) const; + QWindow* window(QTouchEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTouchEvent__TouchPoint : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InfoFlag ) +Q_FLAGS(InfoFlags ) +enum InfoFlag{ + Pen = QTouchEvent::TouchPoint::Pen, Token = QTouchEvent::TouchPoint::Token}; +Q_DECLARE_FLAGS(InfoFlags, InfoFlag) +public slots: +QTouchEvent::TouchPoint* new_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& other); +QTouchEvent::TouchPoint* new_QTouchEvent__TouchPoint(int id = -1); +void delete_QTouchEvent__TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; } + QSizeF ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const; + QTouchEvent::TouchPoint::InfoFlags flags(QTouchEvent::TouchPoint* theWrappedObject) const; + int id(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QTouchEvent::TouchPoint* operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other); + QPointF pos(QTouchEvent::TouchPoint* theWrappedObject) const; + qreal pressure(QTouchEvent::TouchPoint* theWrappedObject) const; + QVector rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const; + QRectF rect(QTouchEvent::TouchPoint* theWrappedObject) const; + qreal rotation(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF scenePos(QTouchEvent::TouchPoint* theWrappedObject) const; + QRectF sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF screenPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QRectF screenRect(QTouchEvent::TouchPoint* theWrappedObject) const; + void setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia); + void setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags); + void setId(QTouchEvent::TouchPoint* theWrappedObject, int id); + void setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos); + void setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos); + void setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos); + void setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos); + void setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos); + void setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos); + void setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure); + void setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions); + void setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect); + void setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle); + void setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos); + void setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect); + void setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos); + void setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect); + void setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos); + void setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos); + void setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos); + void setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos); + void setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state); + void setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid); + void setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v); + QPointF startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF startPos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; + QPointF startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; + Qt::TouchPointState state(QTouchEvent::TouchPoint* theWrappedObject) const; + void swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other); + QVector2D velocity(QTouchEvent::TouchPoint* theWrappedObject) const; + QString py_toString(QTouchEvent::TouchPoint*); +}; + + + + + class PythonQtShell_QTreeView : public QTreeView { public: - PythonQtShell_QTreeView(QWidget* parent = nullptr):QTreeView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTreeView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) 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 = 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 = nullptr) 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 setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTreeView(QWidget* parent = nullptr):QTreeView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeView : public QTreeView @@ -1739,7 +1481,7 @@ class PythonQtWrapper_QTreeView : public QObject public: public slots: QTreeView* new_QTreeView(QWidget* parent = nullptr); -void delete_QTreeView(QTreeView* obj) { delete obj; } +void delete_QTreeView(QTreeView* obj) { delete obj; } bool allColumnsShowFocus(QTreeView* theWrappedObject) const; int autoExpandDelay(QTreeView* theWrappedObject) const; int columnAt(QTreeView* theWrappedObject, int x) const; @@ -1834,104 +1576,106 @@ void delete_QTreeView(QTreeView* obj) { delete obj; } class PythonQtShell_QTreeWidget : public QTreeWidget { public: - PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTreeWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) 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 = 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 = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -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* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget @@ -1959,7 +1703,7 @@ class PythonQtWrapper_QTreeWidget : public QObject public: public slots: QTreeWidget* new_QTreeWidget(QWidget* parent = nullptr); -void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } +void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } void addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); void addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items); void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); @@ -2021,25 +1765,24 @@ void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem { public: - PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(treeview, after, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, const QStringList& strings, int type = Type):QTreeWidgetItem(treeview, strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, int type = Type):QTreeWidgetItem(treeview, 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) {}; - - ~PythonQtShell_QTreeWidgetItem(); - -virtual QTreeWidgetItem* clone() const; -virtual QVariant data(int column, int role) const; -virtual bool __lt__(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; + PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(treeview, after, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, const QStringList& strings, int type = Type):QTreeWidgetItem(treeview, strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, int type = Type):QTreeWidgetItem(treeview, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeWidgetItem() override; + +QTreeWidgetItem* clone() const override; +QVariant data(int column, int role) const override; +void read(QDataStream& in) override; +void setData(int column, int role, const QVariant& value) override; +void write(QDataStream& out) const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem @@ -2069,7 +1812,7 @@ QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis 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; } +void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } void addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child); void addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children); QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; @@ -2137,3 +1880,267 @@ void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } }; + + + +class PythonQtShell_QUndoCommand : public QUndoCommand +{ +public: + PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoCommand() override; + +int id() const override; +bool mergeWith(const QUndoCommand* other) override; +void redo() override; +void undo() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand +{ public: +inline int py_q_id() const { return QUndoCommand::id(); } +inline bool py_q_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } +inline void py_q_redo() { QUndoCommand::redo(); } +inline void py_q_undo() { QUndoCommand::undo(); } +}; + +class PythonQtWrapper_QUndoCommand : public QObject +{ Q_OBJECT +public: +public slots: +QUndoCommand* new_QUndoCommand(QUndoCommand* parent = nullptr); +QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr); +void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } + QString actionText(QUndoCommand* theWrappedObject) const; + const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; + int childCount(QUndoCommand* theWrappedObject) const; + int id(QUndoCommand* theWrappedObject) const; + int py_q_id(QUndoCommand* theWrappedObject) const{ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_id());} + bool isObsolete(QUndoCommand* theWrappedObject) const; + bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); + bool py_q_mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other){ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_mergeWith(other));} + void redo(QUndoCommand* theWrappedObject); + void py_q_redo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_redo());} + void setObsolete(QUndoCommand* theWrappedObject, bool obsolete); + void setText(QUndoCommand* theWrappedObject, const QString& text); + QString text(QUndoCommand* theWrappedObject) const; + void undo(QUndoCommand* theWrappedObject); + void py_q_undo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_undo());} +}; + + + + + +class PythonQtShell_QUndoGroup : public QUndoGroup +{ +public: + PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoGroup : public QObject +{ Q_OBJECT +public: +public slots: +QUndoGroup* new_QUndoGroup(QObject* parent = nullptr); +void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } + QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; + void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); + bool canRedo(QUndoGroup* theWrappedObject) const; + bool canUndo(QUndoGroup* theWrappedObject) const; + QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + bool isClean(QUndoGroup* theWrappedObject) const; + QString redoText(QUndoGroup* theWrappedObject) const; + void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); + QList stacks(QUndoGroup* theWrappedObject) const; + QString undoText(QUndoGroup* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QUndoStack : public QUndoStack +{ +public: + PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoStack() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoStack : public QObject +{ Q_OBJECT +public: +public slots: +QUndoStack* new_QUndoStack(QObject* parent = nullptr); +void delete_QUndoStack(QUndoStack* obj) { delete obj; } + void beginMacro(QUndoStack* theWrappedObject, const QString& text); + bool canRedo(QUndoStack* theWrappedObject) const; + bool canUndo(QUndoStack* theWrappedObject) const; + int cleanIndex(QUndoStack* theWrappedObject) const; + void clear(QUndoStack* theWrappedObject); + const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const; + int count(QUndoStack* theWrappedObject) const; + QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + void endMacro(QUndoStack* theWrappedObject); + int index(QUndoStack* theWrappedObject) const; + bool isActive(QUndoStack* theWrappedObject) const; + bool isClean(QUndoStack* theWrappedObject) const; + void push(QUndoStack* theWrappedObject, QUndoCommand* cmd); + QString redoText(QUndoStack* theWrappedObject) const; + void setUndoLimit(QUndoStack* theWrappedObject, int limit); + QString text(QUndoStack* theWrappedObject, int idx) const; + int undoLimit(QUndoStack* theWrappedObject) const; + QString undoText(QUndoStack* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QUndoView : public QUndoView +{ +public: + PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = nullptr):QUndoView(group, parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = nullptr):QUndoView(stack, parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoView(QWidget* parent = nullptr):QUndoView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* e) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoView : public QObject +{ Q_OBJECT +public: +public slots: +QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = nullptr); +QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = nullptr); +QUndoView* new_QUndoView(QWidget* parent = nullptr); +void delete_QUndoView(QUndoView* obj) { delete obj; } + QIcon cleanIcon(QUndoView* theWrappedObject) const; + QString emptyLabel(QUndoView* theWrappedObject) const; + QUndoGroup* group(QUndoView* theWrappedObject) const; + void setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon); + void setEmptyLabel(QUndoView* theWrappedObject, const QString& label); + QUndoStack* stack(QUndoView* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp similarity index 73% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index 4ffaf696..465424eb 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -1,4 +1,4 @@ -#include "com_trolltech_qt_gui11.h" +#include "com_trolltech_qt_gui12.h" #include #include #include @@ -6,2010 +6,70 @@ #include #include #include -#include -#include #include #include #include #include -#include +#include #include +#include #include #include +#include #include +#include #include #include #include -#include +#include +#include +#include #include +#include +#include #include #include #include +#include +#include #include #include #include +#include +#include +#include #include -#include +#include +#include +#include +#include #include -#include #include -#include -#include -#include -#include +#include #include #include #include #include -#include #include #include -PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QUndoCommand::id() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("id"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoCommand::id(); -} -bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mergeWith"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoCommand::mergeWith(other0); -} -void PythonQtShell_QUndoCommand::redo() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoCommand::redo(); -} -void PythonQtShell_QUndoCommand::undo() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("undo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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); } - -QString PythonQtWrapper_QUndoCommand::actionText(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->actionText()); -} - -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 ( theWrappedObject->id()); -} - -bool PythonQtWrapper_QUndoCommand::isObsolete(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->isObsolete()); -} - -bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) -{ - return ( theWrappedObject->mergeWith(other)); -} - -void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) -{ - ( theWrappedObject->redo()); -} - -void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) -{ - ( theWrappedObject->setObsolete(obsolete)); -} - -void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) -{ - ( theWrappedObject->undo()); -} - - - -PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) -{ -return new PythonQtShell_QUndoGroup(parent); } - -const QMetaObject* PythonQtShell_QUndoGroup::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoGroup::staticMetaObject); - } else { - return &QUndoGroup::staticMetaObject; - } -} -int PythonQtShell_QUndoGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QUndoGroup::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->activeStack()); -} - -void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) -{ - ( theWrappedObject->addStack(stack)); -} - -bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->canRedo()); -} - -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)); -} - -QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createUndoAction(parent, prefix)); -} - -bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->isClean()); -} - -QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->redoText()); -} - -void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) -{ - ( theWrappedObject->removeStack(stack)); -} - -QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->stacks()); -} - -QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->undoText()); -} - - - -PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent) -{ -return new PythonQtShell_QUndoStack(parent); } - -const QMetaObject* PythonQtShell_QUndoStack::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoStack::staticMetaObject); - } else { - return &QUndoStack::staticMetaObject; - } -} -int PythonQtShell_QUndoStack::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QUndoStack::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text) -{ - ( theWrappedObject->beginMacro(text)); -} - -bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->canRedo()); -} - -bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->canUndo()); -} - -int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->cleanIndex()); -} - -void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const -{ - return ( theWrappedObject->command(index)); -} - -int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createRedoAction(parent, prefix)); -} - -QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createUndoAction(parent, prefix)); -} - -void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) -{ - ( theWrappedObject->endMacro()); -} - -int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->index()); -} - -bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->isClean()); -} - -void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) -{ - ( theWrappedObject->push(cmd)); -} - -QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->redoText()); -} - -void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) -{ - ( theWrappedObject->setUndoLimit(limit)); -} - -QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const -{ - return ( theWrappedObject->text(idx)); -} - -int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->undoLimit()); -} - -QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const -{ - return ( theWrappedObject->undoText()); -} - - - -PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::actionEvent(event0); -} -void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::changeEvent(arg__1); -} -void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::closeEditor(editor0, hint1); -} -void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::closeEvent(event0); -} -void PythonQtShell_QUndoView::commitData(QWidget* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::commitData(editor0); -} -void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QUndoView::contextMenuEvent(arg__1); -} -void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::currentChanged(current0, previous1); -} -void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QUndoView::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::devType(); -} -void PythonQtShell_QUndoView::doItemsLayout() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::doItemsLayout(); -} -void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dragEnterEvent(event0); -} -void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dragLeaveEvent(e0); -} -void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dragMoveEvent(e0); -} -void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dropEvent(e0); -} -bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::edit(index0, trigger1, event2); -} -void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::editorDestroyed(editor0); -} -void PythonQtShell_QUndoView::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::enterEvent(event0); -} -bool PythonQtShell_QUndoView::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::event(e0); -} -bool PythonQtShell_QUndoView::eventFilter(QObject* object0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::eventFilter(object0, event1); -} -void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::focusInEvent(event0); -} -bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::focusNextPrevChild(next0); -} -void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::focusOutEvent(event0); -} -bool PythonQtShell_QUndoView::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::hasHeightForWidth(); -} -int PythonQtShell_QUndoView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::heightForWidth(arg__1); -} -void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::hideEvent(event0); -} -int PythonQtShell_QUndoView::horizontalOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::horizontalOffset(); -} -void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::indexAt(p0); -} -void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::initPainter(painter0); -} -void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::inputMethodQuery(query0); -} -bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::isIndexHidden(index0); -} -void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::keyPressEvent(event0); -} -void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::keyReleaseEvent(event0); -} -void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::keyboardSearch(search0); -} -void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::leaveEvent(event0); -} -int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::metric(arg__1); -} -QSize PythonQtShell_QUndoView::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::minimumSizeHint(); -} -void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mouseMoveEvent(e0); -} -void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mousePressEvent(event0); -} -void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mouseReleaseEvent(e0); -} -QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::moveCursor(cursorAction0, modifiers1); -} -void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::moveEvent(event0); -} -bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QUndoView::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::paintEngine(); -} -void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::redirected(offset0); -} -void PythonQtShell_QUndoView::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::reset(); -} -void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::resizeEvent(e0); -} -void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::scrollTo(index0, hint1); -} -void PythonQtShell_QUndoView::selectAll() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::selectAll(); -} -QList PythonQtShell_QUndoView::selectedIndexes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::selectedIndexes(); -} -void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::selectionCommand(index0, event1); -} -void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setModel(model0); -} -void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setRootIndex(index0); -} -void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setSelection(rect0, command1); +PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2017,21 +77,21 @@ if (_wrapper) { } } } - QUndoView::setSelectionModel(selectionModel0); + QVBoxLayout::addItem(arg__1); } -void PythonQtShell_QUndoView::setVisible(bool visible0) +void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2039,54 +99,65 @@ if (_wrapper) { } } } - QUndoView::setVisible(visible0); + QVBoxLayout::childEvent(e0); } -void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) +QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::setupViewport(viewport0); + return QVBoxLayout::controlTypes(); } -QPainter* PythonQtShell_QUndoView::sharedPainter() const +int PythonQtShell_QVBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2094,21 +165,21 @@ if (_wrapper) { } } } - return QUndoView::sharedPainter(); + return QVBoxLayout::count(); } -void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) +void PythonQtShell_QVBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2116,32 +187,32 @@ if (_wrapper) { } } } - QUndoView::showEvent(event0); + QVBoxLayout::customEvent(event0); } -QSize PythonQtShell_QUndoView::sizeHint() const +bool PythonQtShell_QVBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2149,32 +220,32 @@ if (_wrapper) { } } } - return QUndoView::sizeHint(); + return QVBoxLayout::event(event0); } -int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const +bool PythonQtShell_QVBoxLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2182,32 +253,32 @@ if (_wrapper) { } } } - return QUndoView::sizeHintForColumn(column0); + return QVBoxLayout::eventFilter(watched0, event1); } -int PythonQtShell_QUndoView::sizeHintForRow(int row0) const +Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2215,164 +286,65 @@ if (_wrapper) { } } } - return QUndoView::sizeHintForRow(row0); -} -void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::startDrag(supportedActions0); -} -void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::tabletEvent(event0); -} -void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::timerEvent(e0); -} -void PythonQtShell_QUndoView::updateEditorData() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::updateEditorData(); -} -void PythonQtShell_QUndoView::updateEditorGeometries() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::updateEditorGeometries(); + return QVBoxLayout::expandingDirections(); } -void PythonQtShell_QUndoView::updateGeometries() +QRect PythonQtShell_QVBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::updateGeometries(); + return QVBoxLayout::geometry(); } -int PythonQtShell_QUndoView::verticalOffset() const +bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2380,76 +352,32 @@ if (_wrapper) { } } } - return QUndoView::verticalOffset(); -} -void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::verticalScrollbarAction(action0); + return QVBoxLayout::hasHeightForWidth(); } -void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) +int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2457,32 +385,32 @@ if (_wrapper) { } } } - return QUndoView::viewOptions(); + return QVBoxLayout::heightForWidth(arg__1); } -bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) +int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2490,65 +418,54 @@ if (_wrapper) { } } } - return QUndoView::viewportEvent(event0); + return QVBoxLayout::indexOf(arg__1); } -QSize PythonQtShell_QUndoView::viewportSizeHint() const +void PythonQtShell_QVBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::viewportSizeHint(); + QVBoxLayout::invalidate(); } -QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const +bool PythonQtShell_QVBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2556,32 +473,32 @@ if (_wrapper) { } } } - return QUndoView::visualRect(index0); + return QVBoxLayout::isEmpty(); } -QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const +QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2589,137 +506,98 @@ if (_wrapper) { } } } - return QUndoView::visualRegionForSelection(selection0); + return QVBoxLayout::itemAt(arg__1); } -void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) +QLayout* PythonQtShell_QVBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::wheelEvent(e0); -} -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); } - -const QMetaObject* PythonQtShell_QUndoView::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoView::staticMetaObject); - } else { - return &QUndoView::staticMetaObject; - } -} -int PythonQtShell_QUndoView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QUndoView::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->cleanIcon()); -} - -QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->emptyLabel()); -} - -QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setCleanIcon(icon)); -} - -void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) -{ - ( theWrappedObject->setEmptyLabel(label)); -} - -QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->stack()); -} - - - -PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QVBoxLayout::layout(); } -void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) +QSize PythonQtShell_QVBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QVBoxLayout::addItem(arg__1); + return QVBoxLayout::maximumSize(); } -int PythonQtShell_QVBoxLayout::count() const +int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2727,32 +605,32 @@ if (_wrapper) { } } } - return QVBoxLayout::count(); + return QVBoxLayout::minimumHeightForWidth(arg__1); } -Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const +QSize PythonQtShell_QVBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2760,65 +638,54 @@ if (_wrapper) { } } } - return QVBoxLayout::expandingDirections(); + return QVBoxLayout::minimumSize(); } -bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const +void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QVBoxLayout::hasHeightForWidth(); + QVBoxLayout::setGeometry(arg__1); } -int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const +QSize PythonQtShell_QVBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2826,54 +693,65 @@ if (_wrapper) { } } } - return QVBoxLayout::heightForWidth(arg__1); + return QVBoxLayout::sizeHint(); } -void PythonQtShell_QVBoxLayout::invalidate() +QSpacerItem* PythonQtShell_QVBoxLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QVBoxLayout::invalidate(); + return QVBoxLayout::spacerItem(); } -QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const +QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2881,65 +759,54 @@ if (_wrapper) { } } } - return QVBoxLayout::itemAt(arg__1); + return QVBoxLayout::takeAt(arg__1); } -QSize PythonQtShell_QVBoxLayout::maximumSize() const +void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QVBoxLayout::maximumSize(); + QVBoxLayout::timerEvent(event0); } -int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const +QWidget* PythonQtShell_QVBoxLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2947,54 +814,70 @@ if (_wrapper) { } } } - return QVBoxLayout::minimumHeightForWidth(arg__1); + return QVBoxLayout::widget(); } -QSize PythonQtShell_QVBoxLayout::minimumSize() const +QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() +{ +return new PythonQtShell_QVBoxLayout(); } + +QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) +{ +return new PythonQtShell_QVBoxLayout(parent); } + +const QMetaObject* PythonQtShell_QVBoxLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVBoxLayout::staticMetaObject); + } else { + return &QVBoxLayout::staticMetaObject; + } +} +int PythonQtShell_QVBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVBoxLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QValidator::~PythonQtShell_QValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QValidator::childEvent(QChildEvent* event0) { if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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); } + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QVBoxLayout::minimumSize(); + QValidator::childEvent(event0); } -void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3002,32 +885,32 @@ if (_wrapper) { } } } - QVBoxLayout::setGeometry(arg__1); + QValidator::customEvent(event0); } -QSize PythonQtShell_QVBoxLayout::sizeHint() const +bool PythonQtShell_QValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3035,32 +918,32 @@ if (_wrapper) { } } } - return QVBoxLayout::sizeHint(); + return QValidator::event(event0); } -QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) +bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3068,34 +951,7 @@ if (_wrapper) { } } } - return QVBoxLayout::takeAt(arg__1); -} -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() -{ -return new PythonQtShell_QVBoxLayout(); } - -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) -{ -return new PythonQtShell_QVBoxLayout(parent); } - -const QMetaObject* PythonQtShell_QVBoxLayout::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVBoxLayout::staticMetaObject); - } else { - return &QVBoxLayout::staticMetaObject; - } -} -int PythonQtShell_QVBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QVBoxLayout::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -PythonQtShell_QValidator::~PythonQtShell_QValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QValidator::eventFilter(watched0, event1); } void PythonQtShell_QValidator::fixup(QString& arg__1) const { @@ -3107,9 +963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3119,6 +975,28 @@ if (_wrapper) { } QValidator::fixup(arg__1); } +void PythonQtShell_QValidator::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QValidator::timerEvent(event0); +} QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const { if (_wrapper) { @@ -3130,19 +1008,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3255,6 +1133,11 @@ QVector2D PythonQtWrapper_QVector2D::normalized(QVector2D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector2D::__ne__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, const QVector2D& v2) { return ( (*theWrappedObject)* v2); @@ -3477,6 +1360,11 @@ QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector3D::__ne__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix) { return ( (*theWrappedObject)* matrix); @@ -3693,6 +1581,11 @@ QVector4D PythonQtWrapper_QVector4D::normalized(QVector4D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector4D::__ne__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix) { return ( (*theWrappedObject)* matrix); @@ -4038,9 +1931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4060,9 +1953,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4072,6 +1965,28 @@ if (_wrapper) { } QWidget::changeEvent(arg__1); } +void PythonQtShell_QWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidget::childEvent(event0); +} void PythonQtShell_QWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -4082,9 +1997,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4104,9 +2019,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4116,6 +2031,28 @@ if (_wrapper) { } QWidget::contextMenuEvent(event0); } +void PythonQtShell_QWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidget::customEvent(event0); +} int PythonQtShell_QWidget::devType() const { if (_wrapper) { @@ -4127,19 +2064,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4159,9 +2096,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4181,9 +2118,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4203,9 +2140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4225,9 +2162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4247,9 +2184,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4270,19 +2207,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4292,6 +2229,39 @@ if (_wrapper) { } return QWidget::event(event0); } +bool PythonQtShell_QWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidget::eventFilter(watched0, event1); +} void PythonQtShell_QWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -4302,9 +2272,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4325,19 +2295,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4357,9 +2327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4380,19 +2350,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4413,19 +2383,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4445,9 +2415,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4467,9 +2437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4489,9 +2459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4512,19 +2482,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4544,9 +2514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4566,9 +2536,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4588,9 +2558,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4611,19 +2581,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4644,19 +2614,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4676,9 +2646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4698,9 +2668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4720,9 +2690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4742,9 +2712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4764,9 +2734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4787,19 +2757,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4820,19 +2790,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4852,9 +2822,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4875,19 +2845,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4907,9 +2877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4929,9 +2899,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4952,19 +2922,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4984,9 +2954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5007,19 +2977,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5039,9 +3009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5051,6 +3021,28 @@ if (_wrapper) { } QWidget::tabletEvent(event0); } +void PythonQtShell_QWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidget::timerEvent(event0); +} void PythonQtShell_QWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -5061,9 +3053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5235,11 +3227,6 @@ void PythonQtWrapper_QWidget::destroy(QWidget* theWrappedObject, bool destroyWi ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_destroy(destroyWindow, destroySubWindows)); } -int PythonQtWrapper_QWidget::devType(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->devType()); -} - void PythonQtWrapper_QWidget::dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); @@ -5275,11 +3262,6 @@ void PythonQtWrapper_QWidget::enterEvent(QWidget* theWrappedObject, QEvent* eve ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_enterEvent(event)); } -bool PythonQtWrapper_QWidget::event(QWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_event(event)); -} - void PythonQtWrapper_QWidget::focusInEvent(QWidget* theWrappedObject, QFocusEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusInEvent(event)); @@ -5430,11 +3412,6 @@ void PythonQtWrapper_QWidget::hideEvent(QWidget* theWrappedObject, QHideEvent* ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hideEvent(event)); } -void PythonQtWrapper_QWidget::initPainter(QWidget* theWrappedObject, QPainter* painter) const -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_initPainter(painter)); -} - void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); @@ -5550,6 +3527,11 @@ QWidget* PythonQtWrapper_QWidget::static_QWidget_keyboardGrabber() return (QWidget::keyboardGrabber()); } +QLayout* PythonQtWrapper_QWidget::layout(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->layout()); +} + Qt::LayoutDirection PythonQtWrapper_QWidget::layoutDirection(QWidget* theWrappedObject) const { return ( theWrappedObject->layoutDirection()); @@ -5615,11 +3597,6 @@ int PythonQtWrapper_QWidget::maximumWidth(QWidget* theWrappedObject) const return ( theWrappedObject->maximumWidth()); } -int PythonQtWrapper_QWidget::metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_metric(arg__1)); -} - int PythonQtWrapper_QWidget::minimumHeight(QWidget* theWrappedObject) const { return ( theWrappedObject->minimumHeight()); @@ -5710,11 +3687,6 @@ void PythonQtWrapper_QWidget::overrideWindowState(QWidget* theWrappedObject, Qt: ( theWrappedObject->overrideWindowState(state)); } -QPaintEngine* PythonQtWrapper_QWidget::paintEngine(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->paintEngine()); -} - void PythonQtWrapper_QWidget::paintEvent(QWidget* theWrappedObject, QPaintEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEvent(event)); @@ -5745,11 +3717,6 @@ QRect PythonQtWrapper_QWidget::rect(QWidget* theWrappedObject) const return ( theWrappedObject->rect()); } -QPaintDevice* PythonQtWrapper_QWidget::redirected(QWidget* theWrappedObject, QPoint* offset) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_redirected(offset)); -} - void PythonQtWrapper_QWidget::releaseKeyboard(QWidget* theWrappedObject) { ( theWrappedObject->releaseKeyboard()); @@ -5820,6 +3787,11 @@ QByteArray PythonQtWrapper_QWidget::saveGeometry(QWidget* theWrappedObject) con return ( theWrappedObject->saveGeometry()); } +QScreen* PythonQtWrapper_QWidget::screen(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy) { ( theWrappedObject->scroll(dx, dy)); @@ -5955,6 +3927,11 @@ void PythonQtWrapper_QWidget::setInputMethodHints(QWidget* theWrappedObject, Qt: ( theWrappedObject->setInputMethodHints(hints)); } +void PythonQtWrapper_QWidget::setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) +{ + ( theWrappedObject->setLayout(arg__1)); +} + void PythonQtWrapper_QWidget::setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction) { ( theWrappedObject->setLayoutDirection(direction)); @@ -6150,11 +4127,6 @@ void PythonQtWrapper_QWidget::setWindowState(QWidget* theWrappedObject, Qt::Wind ( theWrappedObject->setWindowState(state)); } -QPainter* PythonQtWrapper_QWidget::sharedPainter(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_sharedPainter()); -} - void PythonQtWrapper_QWidget::showEvent(QWidget* theWrappedObject, QShowEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_showEvent(event)); @@ -6378,6 +4350,28 @@ PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QWidgetAction::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidgetAction::childEvent(event0); +} QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { if (_wrapper) { @@ -6389,19 +4383,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QWidget* returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6411,6 +4405,28 @@ if (_wrapper) { } return QWidgetAction::createWidget(parent0); } +void PythonQtShell_QWidgetAction::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWidgetAction::customEvent(event0); +} void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { if (_wrapper) { @@ -6421,9 +4437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6444,19 +4460,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6477,27 +4493,49 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetAction::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QWidgetAction::eventFilter(arg__1, arg__2); + QWidgetAction::timerEvent(event0); } QWidgetAction* PythonQtWrapper_QWidgetAction::new_QWidgetAction(QObject* parent) { @@ -6536,11 +4574,6 @@ void PythonQtWrapper_QWidgetAction::deleteWidget(QWidgetAction* theWrappedObject ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_deleteWidget(widget)); } -bool PythonQtWrapper_QWidgetAction::eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - void PythonQtWrapper_QWidgetAction::releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget) { ( theWrappedObject->releaseWidget(widget)); @@ -6573,19 +4606,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSizePolicy::ControlTypes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6606,19 +4639,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6639,19 +4672,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRect returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6672,19 +4705,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6705,19 +4738,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6737,9 +4770,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6760,19 +4793,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6782,6 +4815,39 @@ if (_wrapper) { } return QWidgetItem::isEmpty(); } +QLayout* PythonQtShell_QWidgetItem::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWidgetItem::layout(); +} QSize PythonQtShell_QWidgetItem::maximumSize() const { if (_wrapper) { @@ -6793,19 +4859,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6826,19 +4892,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6859,19 +4925,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6891,9 +4957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6914,19 +4980,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6947,19 +5013,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSpacerItem* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6980,19 +5046,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QWidget* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7012,6 +5078,50 @@ PythonQtShell_QWindow::~PythonQtShell_QWindow() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QWindow::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::childEvent(event0); +} +void PythonQtShell_QWindow::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::customEvent(event0); +} bool PythonQtShell_QWindow::event(QEvent* arg__1) { if (_wrapper) { @@ -7023,19 +5133,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7045,6 +5155,39 @@ if (_wrapper) { } return QWindow::event(arg__1); } +bool PythonQtShell_QWindow::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWindow::eventFilter(watched0, event1); +} void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { @@ -7055,9 +5198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7077,9 +5220,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7100,19 +5243,19 @@ if (_wrapper) { static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7132,9 +5275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7155,19 +5298,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSurfaceFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7187,9 +5330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7209,9 +5352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7231,9 +5374,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7253,9 +5396,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7275,9 +5418,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7297,9 +5440,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7319,9 +5462,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7341,9 +5484,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7364,19 +5507,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7396,9 +5539,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7418,9 +5561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7441,19 +5584,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7474,19 +5617,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSurface::SurfaceType returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7506,9 +5649,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7518,6 +5661,28 @@ if (_wrapper) { } QWindow::tabletEvent(arg__1); } +void PythonQtShell_QWindow::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWindow::timerEvent(event0); +} void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { @@ -7528,9 +5693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7550,9 +5715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7562,6 +5727,10 @@ if (_wrapper) { } QWindow::wheelEvent(arg__1); } +QWindow* PythonQtWrapper_QWindow::new_QWindow(QScreen* screen) +{ +return new PythonQtShell_QWindow(screen); } + QWindow* PythonQtWrapper_QWindow::new_QWindow(QWindow* parent) { return new PythonQtShell_QWindow(parent); } @@ -7609,11 +5778,6 @@ qreal PythonQtWrapper_QWindow::devicePixelRatio(QWindow* theWrappedObject) cons return ( theWrappedObject->devicePixelRatio()); } -bool PythonQtWrapper_QWindow::event(QWindow* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_event(arg__1)); -} - void PythonQtWrapper_QWindow::exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1) { ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_exposeEvent(arg__1)); @@ -7644,11 +5808,6 @@ void PythonQtWrapper_QWindow::focusOutEvent(QWindow* theWrappedObject, QFocusEve ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusOutEvent(arg__1)); } -QSurfaceFormat PythonQtWrapper_QWindow::format(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - QRect PythonQtWrapper_QWindow::frameGeometry(QWindow* theWrappedObject) const { return ( theWrappedObject->frameGeometry()); @@ -7854,6 +6013,11 @@ void PythonQtWrapper_QWindow::resizeEvent(QWindow* theWrappedObject, QResizeEven ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_resizeEvent(arg__1)); } +QScreen* PythonQtWrapper_QWindow::screen(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + void PythonQtWrapper_QWindow::setBaseSize(QWindow* theWrappedObject, const QSize& size) { ( theWrappedObject->setBaseSize(size)); @@ -7944,6 +6108,11 @@ void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, int posx, ( theWrappedObject->setPosition(posx, posy)); } +void PythonQtWrapper_QWindow::setScreen(QWindow* theWrappedObject, QScreen* screen) +{ + ( theWrappedObject->setScreen(screen)); +} + void PythonQtWrapper_QWindow::setSizeIncrement(QWindow* theWrappedObject, const QSize& size) { ( theWrappedObject->setSizeIncrement(size)); @@ -7979,21 +6148,11 @@ void PythonQtWrapper_QWindow::showEvent(QWindow* theWrappedObject, QShowEvent* ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_showEvent(arg__1)); } -QSize PythonQtWrapper_QWindow::size(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - QSize PythonQtWrapper_QWindow::sizeIncrement(QWindow* theWrappedObject) const { return ( theWrappedObject->sizeIncrement()); } -QSurface::SurfaceType PythonQtWrapper_QWindow::surfaceType(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->surfaceType()); -} - void PythonQtWrapper_QWindow::tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1) { ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_tabletEvent(arg__1)); @@ -8103,9 +6262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8125,9 +6284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8147,9 +6306,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8159,6 +6318,28 @@ if (_wrapper) { } QWizard::changeEvent(arg__1); } +void PythonQtShell_QWizard::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::childEvent(event0); +} void PythonQtShell_QWizard::cleanupPage(int id0) { if (_wrapper) { @@ -8169,9 +6350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8191,9 +6372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8213,9 +6394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8225,6 +6406,28 @@ if (_wrapper) { } QWizard::contextMenuEvent(arg__1); } +void PythonQtShell_QWizard::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::customEvent(event0); +} int PythonQtShell_QWizard::devType() const { if (_wrapper) { @@ -8236,19 +6439,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8268,9 +6471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8290,9 +6493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8312,9 +6515,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8334,9 +6537,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8356,9 +6559,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8378,9 +6581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8401,19 +6604,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8434,19 +6637,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8467,19 +6670,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8499,9 +6702,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8522,19 +6725,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8554,9 +6757,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8577,19 +6780,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8610,19 +6813,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8642,9 +6845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8664,9 +6867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8686,9 +6889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8708,9 +6911,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8731,19 +6934,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8763,9 +6966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8785,9 +6988,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8807,9 +7010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8830,19 +7033,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8863,19 +7066,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8895,9 +7098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8917,9 +7120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8939,9 +7142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8961,9 +7164,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8983,9 +7186,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9006,19 +7209,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9039,19 +7242,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9071,9 +7274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9094,19 +7297,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9126,9 +7329,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9149,19 +7352,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9181,9 +7384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9203,9 +7406,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9225,9 +7428,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9248,19 +7451,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9280,9 +7483,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9303,19 +7506,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9335,9 +7538,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9347,6 +7550,28 @@ if (_wrapper) { } QWizard::tabletEvent(event0); } +void PythonQtShell_QWizard::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::timerEvent(event0); +} bool PythonQtShell_QWizard::validateCurrentPage() { if (_wrapper) { @@ -9358,19 +7583,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9390,9 +7615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9620,9 +7845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9642,9 +7867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9654,6 +7879,28 @@ if (_wrapper) { } QWizardPage::changeEvent(arg__1); } +void PythonQtShell_QWizardPage::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::childEvent(event0); +} void PythonQtShell_QWizardPage::cleanupPage() { if (_wrapper) { @@ -9664,9 +7911,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9686,9 +7933,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9708,9 +7955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9720,6 +7967,28 @@ if (_wrapper) { } QWizardPage::contextMenuEvent(event0); } +void PythonQtShell_QWizardPage::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::customEvent(event0); +} int PythonQtShell_QWizardPage::devType() const { if (_wrapper) { @@ -9731,19 +8000,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9763,9 +8032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9785,9 +8054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9807,9 +8076,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9829,9 +8098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9851,9 +8120,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9874,19 +8143,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9896,6 +8165,39 @@ if (_wrapper) { } return QWizardPage::event(event0); } +bool PythonQtShell_QWizardPage::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWizardPage::eventFilter(watched0, event1); +} void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -9906,9 +8208,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9929,19 +8231,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9961,9 +8263,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9984,19 +8286,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10017,19 +8319,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10049,9 +8351,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10071,9 +8373,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10093,9 +8395,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10115,9 +8417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10138,19 +8440,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10171,19 +8473,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10203,9 +8505,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10225,9 +8527,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10247,9 +8549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10270,19 +8572,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10303,19 +8605,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10335,9 +8637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10357,9 +8659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10379,9 +8681,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10401,9 +8703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10423,9 +8725,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10446,19 +8748,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10479,19 +8781,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10512,19 +8814,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10544,9 +8846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10567,19 +8869,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10599,9 +8901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10621,9 +8923,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10644,19 +8946,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10676,9 +8978,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10699,19 +9001,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10731,9 +9033,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10743,6 +9045,28 @@ if (_wrapper) { } QWizardPage::tabletEvent(event0); } +void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::timerEvent(event0); +} bool PythonQtShell_QWizardPage::validatePage() { if (_wrapper) { @@ -10754,19 +9078,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10786,9 +9110,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.h similarity index 76% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.h index c4b1d703..dc46d3b9 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.h @@ -4,36 +4,47 @@ #include #include #include -#include -#include #include #include #include #include #include +#include #include +#include #include #include +#include #include +#include #include #include #include -#include +#include +#include +#include #include +#include +#include #include #include #include +#include +#include #include #include #include +#include +#include +#include #include -#include +#include +#include +#include +#include #include -#include #include -#include -#include -#include +#include #include #include #include @@ -46,283 +57,43 @@ -class PythonQtShell_QUndoCommand : public QUndoCommand -{ -public: - PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(NULL) {}; - PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUndoCommand(); - -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 int py_q_id() const { return QUndoCommand::id(); } -inline bool py_q_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } -inline void py_q_redo() { QUndoCommand::redo(); } -inline void py_q_undo() { QUndoCommand::undo(); } -}; - -class PythonQtWrapper_QUndoCommand : public QObject -{ Q_OBJECT -public: -public slots: -QUndoCommand* new_QUndoCommand(QUndoCommand* parent = nullptr); -QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr); -void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } - QString actionText(QUndoCommand* theWrappedObject) const; - const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; - int childCount(QUndoCommand* theWrappedObject) const; - int id(QUndoCommand* theWrappedObject) const; - int py_q_id(QUndoCommand* theWrappedObject) const{ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_id());} - bool isObsolete(QUndoCommand* theWrappedObject) const; - bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); - bool py_q_mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other){ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_mergeWith(other));} - void redo(QUndoCommand* theWrappedObject); - void py_q_redo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_redo());} - void setObsolete(QUndoCommand* theWrappedObject, bool obsolete); - void setText(QUndoCommand* theWrappedObject, const QString& text); - QString text(QUndoCommand* theWrappedObject) const; - void undo(QUndoCommand* theWrappedObject); - void py_q_undo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_undo());} -}; - - - - - -class PythonQtShell_QUndoGroup : public QUndoGroup -{ -public: - PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUndoGroup(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoGroup : public QObject -{ Q_OBJECT -public: -public slots: -QUndoGroup* new_QUndoGroup(QObject* parent = nullptr); -void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } - QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; - void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); - bool canRedo(QUndoGroup* theWrappedObject) const; - bool canUndo(QUndoGroup* theWrappedObject) const; - QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - bool isClean(QUndoGroup* theWrappedObject) const; - QString redoText(QUndoGroup* theWrappedObject) const; - void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); - QList stacks(QUndoGroup* theWrappedObject) const; - QString undoText(QUndoGroup* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QUndoStack : public QUndoStack -{ -public: - PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUndoStack(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoStack : public QObject -{ Q_OBJECT -public: -public slots: -QUndoStack* new_QUndoStack(QObject* parent = nullptr); -void delete_QUndoStack(QUndoStack* obj) { delete obj; } - void beginMacro(QUndoStack* theWrappedObject, const QString& text); - bool canRedo(QUndoStack* theWrappedObject) const; - bool canUndo(QUndoStack* theWrappedObject) const; - int cleanIndex(QUndoStack* theWrappedObject) const; - void clear(QUndoStack* theWrappedObject); - const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const; - int count(QUndoStack* theWrappedObject) const; - QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - void endMacro(QUndoStack* theWrappedObject); - int index(QUndoStack* theWrappedObject) const; - bool isActive(QUndoStack* theWrappedObject) const; - bool isClean(QUndoStack* theWrappedObject) const; - void push(QUndoStack* theWrappedObject, QUndoCommand* cmd); - QString redoText(QUndoStack* theWrappedObject) const; - void setUndoLimit(QUndoStack* theWrappedObject, int limit); - QString text(QUndoStack* theWrappedObject, int idx) const; - int undoLimit(QUndoStack* theWrappedObject) const; - QString undoText(QUndoStack* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QUndoView : public QUndoView -{ -public: - PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = nullptr):QUndoView(group, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = nullptr):QUndoView(stack, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QWidget* parent = nullptr):QUndoView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUndoView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -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 = nullptr) 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 setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoView : public QObject -{ Q_OBJECT -public: -public slots: -QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = nullptr); -QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = nullptr); -QUndoView* new_QUndoView(QWidget* parent = nullptr); -void delete_QUndoView(QUndoView* obj) { delete obj; } - QIcon cleanIcon(QUndoView* theWrappedObject) const; - QString emptyLabel(QUndoView* theWrappedObject) const; - QUndoGroup* group(QUndoView* theWrappedObject) const; - void setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon); - void setEmptyLabel(QUndoView* theWrappedObject, const QString& label); - QUndoStack* stack(QUndoView* theWrappedObject) const; -}; - - - - - class PythonQtShell_QVBoxLayout : public QVBoxLayout { public: - PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int arg__1) const; -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 QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(nullptr) {}; + PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QVBoxLayout : public QObject @@ -331,7 +102,8 @@ class PythonQtWrapper_QVBoxLayout : public QObject public slots: QVBoxLayout* new_QVBoxLayout(); QVBoxLayout* new_QVBoxLayout(QWidget* parent); -void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } +void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } + bool __nonzero__(QVBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -341,16 +113,21 @@ void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } class PythonQtShell_QValidator : public QValidator { public: - PythonQtShell_QValidator(QObject* parent = nullptr):QValidator(parent),_wrapper(NULL) {}; + PythonQtShell_QValidator(QObject* parent = nullptr):QValidator(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QValidator(); + ~PythonQtShell_QValidator() override; -virtual void fixup(QString& arg__1) const; -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QValidator : public QValidator @@ -364,7 +141,7 @@ class PythonQtWrapper_QValidator : public QObject public: public slots: QValidator* new_QValidator(QObject* parent = nullptr); -void delete_QValidator(QValidator* obj) { delete obj; } +void delete_QValidator(QValidator* obj) { delete obj; } void fixup(QValidator* theWrappedObject, QString& arg__1) const; void py_q_fixup(QValidator* theWrappedObject, QString& arg__1) const{ (((PythonQtPublicPromoter_QValidator*)theWrappedObject)->py_q_fixup(arg__1));} QLocale locale(QValidator* theWrappedObject) const; @@ -391,7 +168,7 @@ QVector2D* new_QVector2D(const QVector2D& other) { QVector2D* a = new QVector2D(); *((QVector2D*)a) = other; return a; } -void delete_QVector2D(QVector2D* obj) { delete obj; } +void delete_QVector2D(QVector2D* obj) { delete obj; } float distanceToLine(QVector2D* theWrappedObject, const QVector2D& point, const QVector2D& direction) const; float distanceToPoint(QVector2D* theWrappedObject, const QVector2D& point) const; float static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2); @@ -400,6 +177,7 @@ void delete_QVector2D(QVector2D* obj) { delete obj; } float lengthSquared(QVector2D* theWrappedObject) const; void normalize(QVector2D* theWrappedObject); QVector2D normalized(QVector2D* theWrappedObject) const; + bool __ne__(QVector2D* theWrappedObject, const QVector2D& v2); const QVector2D __mul__(QVector2D* theWrappedObject, const QVector2D& v2); const QVector2D __mul__(QVector2D* theWrappedObject, float factor); QVector2D* __imul__(QVector2D* theWrappedObject, const QVector2D& vector); @@ -447,7 +225,7 @@ QVector3D* new_QVector3D(const QVector3D& other) { QVector3D* a = new QVector3D(); *((QVector3D*)a) = other; return a; } -void delete_QVector3D(QVector3D* obj) { delete obj; } +void delete_QVector3D(QVector3D* obj) { delete obj; } QVector3D static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2); float distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const; float distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const; @@ -461,6 +239,7 @@ void delete_QVector3D(QVector3D* obj) { delete obj; } QVector3D static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3); void normalize(QVector3D* theWrappedObject); QVector3D normalized(QVector3D* theWrappedObject) const; + bool __ne__(QVector3D* theWrappedObject, const QVector3D& v2); QVector3D __mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix); const QVector3D __mul__(QVector3D* theWrappedObject, const QVector3D& v2); const QVector3D __mul__(QVector3D* theWrappedObject, float factor); @@ -514,13 +293,14 @@ QVector4D* new_QVector4D(const QVector4D& other) { QVector4D* a = new QVector4D(); *((QVector4D*)a) = other; return a; } -void delete_QVector4D(QVector4D* obj) { delete obj; } +void delete_QVector4D(QVector4D* obj) { delete obj; } float static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2); bool isNull(QVector4D* theWrappedObject) const; float length(QVector4D* theWrappedObject) const; float lengthSquared(QVector4D* theWrappedObject) const; void normalize(QVector4D* theWrappedObject); QVector4D normalized(QVector4D* theWrappedObject) const; + bool __ne__(QVector4D* theWrappedObject, const QVector4D& v2); QVector4D __mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix); const QVector4D __mul__(QVector4D* theWrappedObject, const QVector4D& v2); const QVector4D __mul__(QVector4D* theWrappedObject, float factor); @@ -564,7 +344,7 @@ class PythonQtWrapper_QWhatsThis : public QObject { Q_OBJECT public: public slots: -void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } +void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } QAction* static_QWhatsThis_createAction(QObject* parent = nullptr); void static_QWhatsThis_enterWhatsThisMode(); void static_QWhatsThis_hideText(); @@ -582,7 +362,7 @@ class PythonQtWrapper_QWhatsThisClickedEvent : public QObject public: public slots: QWhatsThisClickedEvent* new_QWhatsThisClickedEvent(const QString& href); -void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } +void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } QString href(QWhatsThisClickedEvent* theWrappedObject) const; }; @@ -593,18 +373,18 @@ void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } class PythonQtShell_QWheelEvent : public QWheelEvent { public: - PythonQtShell_QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source = Qt::MouseEventNotSynthesized):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, buttons, modifiers, phase, inverted, source),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& 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 QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; + PythonQtShell_QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source = Qt::MouseEventNotSynthesized):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, buttons, modifiers, phase, inverted, source),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient),_wrapper(nullptr) {}; + PythonQtShell_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(nullptr) {}; - ~PythonQtShell_QWheelEvent(); + ~PythonQtShell_QWheelEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QWheelEvent : public QObject @@ -618,7 +398,7 @@ QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPo QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted); QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); QWheelEvent* new_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); -void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } +void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } QPoint angleDelta(QWheelEvent* theWrappedObject) const; Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const; int delta(QWheelEvent* theWrappedObject) const; @@ -646,55 +426,59 @@ void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } class PythonQtShell_QWidget : public QWidget { public: - PythonQtShell_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QWidget(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QWidget(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidget : public QWidget @@ -789,7 +573,7 @@ enum RenderFlag{ Q_DECLARE_FLAGS(RenderFlags, RenderFlag) public slots: QWidget* new_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QWidget(QWidget* obj) { delete obj; } +void delete_QWidget(QWidget* obj) { delete obj; } bool acceptDrops(QWidget* theWrappedObject) const; QString accessibleDescription(QWidget* theWrappedObject) const; QString accessibleName(QWidget* theWrappedObject) const; @@ -823,7 +607,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } QWidget* static_QWidget_createWindowContainer(QWindow* window, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); QCursor cursor(QWidget* theWrappedObject) const; void destroy(QWidget* theWrappedObject, bool destroyWindow = true, bool destroySubWindows = true); - int devType(QWidget* theWrappedObject) const; int py_q_devType(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_devType());} void dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event); void py_q_dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} @@ -837,7 +620,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } void ensurePolished(QWidget* theWrappedObject) const; void enterEvent(QWidget* theWrappedObject, QEvent* event); void py_q_enterEvent(QWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_enterEvent(event));} - bool event(QWidget* theWrappedObject, QEvent* event); bool py_q_event(QWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_event(event));} void focusInEvent(QWidget* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_focusInEvent(event));} @@ -875,7 +657,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } int py_q_heightForWidth(QWidget* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_heightForWidth(arg__1));} void hideEvent(QWidget* theWrappedObject, QHideEvent* event); void py_q_hideEvent(QWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_hideEvent(event));} - void initPainter(QWidget* theWrappedObject, QPainter* painter) const; void py_q_initPainter(QWidget* theWrappedObject, QPainter* painter) const{ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_initPainter(painter));} void inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1); void py_q_inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} @@ -904,6 +685,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } void keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* event); void py_q_keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} QWidget* static_QWidget_keyboardGrabber(); + QLayout* layout(QWidget* theWrappedObject) const; Qt::LayoutDirection layoutDirection(QWidget* theWrappedObject) const; void leaveEvent(QWidget* theWrappedObject, QEvent* event); void py_q_leaveEvent(QWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_leaveEvent(event));} @@ -918,7 +700,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } int maximumHeight(QWidget* theWrappedObject) const; QSize maximumSize(QWidget* theWrappedObject) const; int maximumWidth(QWidget* theWrappedObject) const; - int metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; int py_q_metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_metric(arg__1));} int minimumHeight(QWidget* theWrappedObject) const; QSize minimumSize(QWidget* theWrappedObject) const; @@ -945,7 +726,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } QRect normalGeometry(QWidget* theWrappedObject) const; void overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); void overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state); - QPaintEngine* paintEngine(QWidget* theWrappedObject) const; QPaintEngine* py_q_paintEngine(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_paintEngine());} void paintEvent(QWidget* theWrappedObject, QPaintEvent* event); void py_q_paintEvent(QWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_paintEvent(event));} @@ -954,7 +734,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } QPoint pos(QWidget* theWrappedObject) const; QWidget* previousInFocusChain(QWidget* theWrappedObject) const; QRect rect(QWidget* theWrappedObject) const; - QPaintDevice* redirected(QWidget* theWrappedObject, QPoint* offset) const; QPaintDevice* py_q_redirected(QWidget* theWrappedObject, QPoint* offset) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_redirected(offset));} void releaseKeyboard(QWidget* theWrappedObject); void releaseMouse(QWidget* theWrappedObject); @@ -971,6 +750,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } void py_q_resizeEvent(QWidget* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_resizeEvent(event));} bool restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry); QByteArray saveGeometry(QWidget* theWrappedObject) const; + QScreen* screen(QWidget* theWrappedObject) const; void scroll(QWidget* theWrappedObject, int dx, int dy); void scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3); void setAcceptDrops(QWidget* theWrappedObject, bool on); @@ -998,6 +778,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } void setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h); void setGraphicsEffect(QWidget* theWrappedObject, QGraphicsEffect* effect); void setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints); + void setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1); void setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction); void setLocale(QWidget* theWrappedObject, const QLocale& locale); void setMask(QWidget* theWrappedObject, const QBitmap& arg__1); @@ -1038,7 +819,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } void setWindowOpacity(QWidget* theWrappedObject, qreal level); void setWindowRole(QWidget* theWrappedObject, const QString& arg__1); void setWindowState(QWidget* theWrappedObject, Qt::WindowStates state); - QPainter* sharedPainter(QWidget* theWrappedObject) const; QPainter* py_q_sharedPainter(QWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_sharedPainter());} void showEvent(QWidget* theWrappedObject, QShowEvent* event); void py_q_showEvent(QWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_showEvent(event));} @@ -1096,18 +876,21 @@ void delete_QWidget(QWidget* obj) { delete obj; } class PythonQtShell_QWidgetAction : public QWidgetAction { public: - PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(NULL) {}; + PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QWidgetAction(); + ~PythonQtShell_QWidgetAction() override; -virtual QWidget* createWidget(QWidget* parent); -virtual void deleteWidget(QWidget* widget); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +void childEvent(QChildEvent* event) override; +QWidget* createWidget(QWidget* parent) override; +void customEvent(QEvent* event) override; +void deleteWidget(QWidget* widget) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetAction : public QWidgetAction @@ -1128,7 +911,7 @@ class PythonQtWrapper_QWidgetAction : public QObject public: public slots: QWidgetAction* new_QWidgetAction(QObject* parent); -void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } +void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } QWidget* createWidget(QWidgetAction* theWrappedObject, QWidget* parent); QWidget* py_q_createWidget(QWidgetAction* theWrappedObject, QWidget* parent){ return (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_createWidget(parent));} QList createdWidgets(QWidgetAction* theWrappedObject) const; @@ -1136,7 +919,6 @@ void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } void deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget); void py_q_deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_deleteWidget(widget));} bool py_q_event(QWidgetAction* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_event(arg__1));} - bool eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2); bool py_q_eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} void releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget); QWidget* requestWidget(QWidgetAction* theWrappedObject, QWidget* parent); @@ -1150,26 +932,27 @@ void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } class PythonQtShell_QWidgetItem : public QWidgetItem { public: - PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(NULL) {}; - - ~PythonQtShell_QWidgetItem(); - -virtual QSizePolicy::ControlTypes controlTypes() const; -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 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; + PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(nullptr) {}; + + ~PythonQtShell_QWidgetItem() override; + +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetItem : public QWidgetItem @@ -1192,7 +975,7 @@ class PythonQtWrapper_QWidgetItem : public QObject public: public slots: QWidgetItem* new_QWidgetItem(QWidget* w); -void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } +void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } QSizePolicy::ControlTypes py_q_controlTypes(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_controlTypes());} Qt::Orientations py_q_expandingDirections(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_expandingDirections());} QRect py_q_geometry(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_geometry());} @@ -1214,36 +997,41 @@ void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } class PythonQtShell_QWindow : public QWindow { public: - PythonQtShell_QWindow(QWindow* parent):QWindow(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QWindow(); - -virtual bool event(QEvent* arg__1); -virtual void exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWindow(QScreen* screen = nullptr):QWindow(screen),_wrapper(nullptr) {}; + PythonQtShell_QWindow(QWindow* parent):QWindow(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void resizeEvent(QResizeEvent* arg__1) override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWindow : public QWindow @@ -1294,15 +1082,15 @@ class PythonQtWrapper_QWindow : public QObject { Q_OBJECT public: public slots: +QWindow* new_QWindow(QScreen* screen = nullptr); QWindow* new_QWindow(QWindow* parent); -void delete_QWindow(QWindow* obj) { delete obj; } +void delete_QWindow(QWindow* obj) { delete obj; } QSize baseSize(QWindow* theWrappedObject) const; Qt::ScreenOrientation contentOrientation(QWindow* theWrappedObject) const; void create(QWindow* theWrappedObject); QCursor cursor(QWindow* theWrappedObject) const; void destroy(QWindow* theWrappedObject); qreal devicePixelRatio(QWindow* theWrappedObject) const; - bool event(QWindow* theWrappedObject, QEvent* arg__1); bool py_q_event(QWindow* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_event(arg__1));} void exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1); void py_q_exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} @@ -1314,7 +1102,6 @@ void delete_QWindow(QWindow* obj) { delete obj; } QObject* py_q_focusObject(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_focusObject());} void focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1); void py_q_focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_focusOutEvent(arg__1));} - QSurfaceFormat format(QWindow* theWrappedObject) const; QSurfaceFormat py_q_format(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_format());} QRect frameGeometry(QWindow* theWrappedObject) const; QMargins frameMargins(QWindow* theWrappedObject) const; @@ -1367,6 +1154,7 @@ void delete_QWindow(QWindow* obj) { delete obj; } void resize(QWindow* theWrappedObject, int w, int h); void resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1); void py_q_resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QScreen* screen(QWindow* theWrappedObject) const; void setBaseSize(QWindow* theWrappedObject, const QSize& size); void setCursor(QWindow* theWrappedObject, const QCursor& arg__1); void setFilePath(QWindow* theWrappedObject, const QString& filePath); @@ -1385,6 +1173,7 @@ void delete_QWindow(QWindow* obj) { delete obj; } void setParent(QWindow* theWrappedObject, QWindow* parent); void setPosition(QWindow* theWrappedObject, const QPoint& pt); void setPosition(QWindow* theWrappedObject, int posx, int posy); + void setScreen(QWindow* theWrappedObject, QScreen* screen); void setSizeIncrement(QWindow* theWrappedObject, const QSize& size); void setSurfaceType(QWindow* theWrappedObject, QSurface::SurfaceType surfaceType); void setTransientParent(QWindow* theWrappedObject, QWindow* parent); @@ -1393,10 +1182,8 @@ void delete_QWindow(QWindow* obj) { delete obj; } void setWindowStates(QWindow* theWrappedObject, Qt::WindowStates states); void showEvent(QWindow* theWrappedObject, QShowEvent* arg__1); void py_q_showEvent(QWindow* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_showEvent(arg__1));} - QSize size(QWindow* theWrappedObject) const; QSize py_q_size(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_size());} QSize sizeIncrement(QWindow* theWrappedObject) const; - QSurface::SurfaceType surfaceType(QWindow* theWrappedObject) const; QSurface::SurfaceType py_q_surfaceType(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_surfaceType());} void tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1); void py_q_tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1){ (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_tabletEvent(arg__1));} @@ -1427,7 +1214,7 @@ class PythonQtWrapper_QWindowStateChangeEvent : public QObject public: public slots: QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride = false); -void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } +void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } bool isOverride(QWindowStateChangeEvent* theWrappedObject) const; Qt::WindowStates oldState(QWindowStateChangeEvent* theWrappedObject) const; }; @@ -1439,65 +1226,68 @@ void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; class PythonQtShell_QWizard : public QWizard { public: - PythonQtShell_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QWizard(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QWizard(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void cleanupPage(int id); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool validateCurrentPage(); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QWizard(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QWizard() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void cleanupPage(int id) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializePage(int id) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +int nextId() const override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool validateCurrentPage() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizard : public QWizard @@ -1534,7 +1324,7 @@ enum WizardPixmap{ Q_DECLARE_FLAGS(WizardOptions, WizardOption) public slots: QWizard* new_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QWizard(QWizard* obj) { delete obj; } +void delete_QWizard(QWizard* obj) { delete obj; } int addPage(QWizard* theWrappedObject, PythonQtPassOwnershipToCPP page); QAbstractButton* button(QWizard* theWrappedObject, QWizard::WizardButton which) const; QString buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const; @@ -1591,60 +1381,64 @@ void delete_QWizard(QWizard* obj) { delete obj; } class PythonQtShell_QWizardPage : public QWizardPage { public: - PythonQtShell_QWizardPage(QWidget* parent = nullptr):QWizardPage(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QWizardPage(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void cleanupPage(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool validatePage(); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWizardPage(QWidget* parent = nullptr):QWizardPage(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWizardPage() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void cleanupPage() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializePage() override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +bool isComplete() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +int nextId() const override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool validatePage() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizardPage : public QWizardPage @@ -1665,7 +1459,7 @@ class PythonQtWrapper_QWizardPage : public QObject public: public slots: QWizardPage* new_QWizardPage(QWidget* parent = nullptr); -void delete_QWizardPage(QWizardPage* obj) { delete obj; } +void delete_QWizardPage(QWizardPage* obj) { delete obj; } QString buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const; void cleanupPage(QWizardPage* theWrappedObject); void py_q_cleanupPage(QWizardPage* theWrappedObject){ (((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->py_q_cleanupPage());} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp similarity index 75% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 97fbffde..f27595ba 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -3,48 +3,214 @@ #include #include #include +#include #include #include #include #include #include +#include +#include #include +#include #include -#include +#include #include -#include +#include #include #include +#include #include #include -#include #include -#include -#include #include -#include #include #include #include #include #include +#include +#include +#include #include #include +#include +#include #include -#include +#include +#include +#include #include #include #include #include -#include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include +#include #include #include +#include #include -#include +#include +#include #include #include +QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() +{ +return new QFontDatabase(); } + +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) +{ + return (QFontDatabase::addApplicationFont(fileName)); +} + +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) +{ + return (QFontDatabase::addApplicationFontFromData(fontData)); +} + +QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) +{ + return (QFontDatabase::applicationFontFamilies(id)); +} + +bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->bold(family, style)); +} + +QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const +{ + return ( theWrappedObject->families(writingSystem)); +} + +QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const +{ + return ( theWrappedObject->font(family, style, pointSize)); +} + +bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->hasFamily(family)); +} + +bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isBitmapScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isFixedPitch(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->isPrivateFamily(family)); +} + +bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isSmoothlyScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->italic(family, style)); +} + +QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +{ + return ( theWrappedObject->pointSizes(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() +{ + return (QFontDatabase::removeAllApplicationFonts()); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) +{ + return (QFontDatabase::removeApplicationFont(id)); +} + +QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +{ + return ( theWrappedObject->smoothSizes(family, style)); +} + +QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() +{ + return (QFontDatabase::standardSizes()); +} + +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) +{ + return ( theWrappedObject->styleString(font)); +} + +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) +{ + return ( theWrappedObject->styleString(fontInfo)); +} + +QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->styles(family)); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() +{ + return (QFontDatabase::supportsThreadedFontRendering()); +} + +QFont PythonQtWrapper_QFontDatabase::static_QFontDatabase_systemFont(QFontDatabase::SystemFont type) +{ + return (QFontDatabase::systemFont(type)); +} + +int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->weight(family, style)); +} + +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) +{ + return (QFontDatabase::writingSystemName(writingSystem)); +} + +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) +{ + return (QFontDatabase::writingSystemSample(writingSystem)); +} + +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const +{ + return ( theWrappedObject->writingSystems()); +} + +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->writingSystems(family)); +} + + + PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -59,9 +225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -81,9 +247,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -103,9 +269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -115,6 +281,28 @@ if (_wrapper) { } QFontDialog::changeEvent(event0); } +void PythonQtShell_QFontDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::childEvent(event0); +} void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { @@ -125,9 +313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -147,9 +335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -159,6 +347,28 @@ if (_wrapper) { } QFontDialog::contextMenuEvent(arg__1); } +void PythonQtShell_QFontDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::customEvent(event0); +} int PythonQtShell_QFontDialog::devType() const { if (_wrapper) { @@ -170,19 +380,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -202,9 +412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -224,9 +434,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -246,9 +456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -268,9 +478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -290,9 +500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -312,9 +522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -335,19 +545,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -368,19 +578,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -401,19 +611,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -433,9 +643,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -456,19 +666,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -488,9 +698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -511,19 +721,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -544,19 +754,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -576,9 +786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -598,9 +808,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -620,9 +830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -643,19 +853,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -675,9 +885,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -697,9 +907,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -719,9 +929,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -742,19 +952,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -775,19 +985,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -807,9 +1017,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -829,9 +1039,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -851,9 +1061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -873,9 +1083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -895,9 +1105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -918,19 +1128,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -951,19 +1161,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -983,9 +1193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1006,19 +1216,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1038,9 +1248,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1060,9 +1270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1082,9 +1292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1105,19 +1315,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1137,9 +1347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1160,19 +1370,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1192,9 +1402,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1204,6 +1414,28 @@ if (_wrapper) { } QFontDialog::tabletEvent(event0); } +void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QFontDialog::timerEvent(event0); +} void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -1214,9 +1446,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1394,598 +1626,372 @@ int PythonQtWrapper_QFontInfo::weight(QFontInfo* theWrappedObject) const -PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& arg__1) +{ +return new QFontMetrics(arg__1); } + +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFont& font, QPaintDevice* pd) +{ +return new QFontMetrics(font, pd); } + +QFontMetrics* PythonQtWrapper_QFontMetrics::new_QFontMetrics(const QFontMetrics& arg__1) +{ +return new QFontMetrics(arg__1); } + +int PythonQtWrapper_QFontMetrics::ascent(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); } -void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) + +int PythonQtWrapper_QFontMetrics::averageCharWidth(QFontMetrics* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->averageCharWidth()); } - QFormLayout::addItem(item0); + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->boundingRect(arg__1)); } -int PythonQtShell_QFormLayout::count() const + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops, int* tabarray) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->boundingRect(r, flags, text, tabstops, tabarray)); } - return QFormLayout::count(); + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->boundingRect(text)); } -Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const + +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops, int* tabarray) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->boundingRect(x, y, w, h, flags, text, tabstops, tabarray)); } - return QFormLayout::expandingDirections(); + +int PythonQtWrapper_QFontMetrics::capHeight(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->capHeight()); } -bool PythonQtShell_QFormLayout::hasHeightForWidth() const + +int PythonQtWrapper_QFontMetrics::charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->charWidth(str, pos)); } - return QFormLayout::hasHeightForWidth(); + +int PythonQtWrapper_QFontMetrics::descent(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->descent()); } -int PythonQtShell_QFormLayout::heightForWidth(int width0) const + +QString PythonQtWrapper_QFontMetrics::elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&width0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->elidedText(text, mode, width, flags)); } - return QFormLayout::heightForWidth(width0); -} -void PythonQtShell_QFormLayout::invalidate() + +qreal PythonQtWrapper_QFontMetrics::fontDpi(QFontMetrics* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFormLayout::invalidate(); + return ( theWrappedObject->fontDpi()); } -QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const + +int PythonQtWrapper_QFontMetrics::height(QFontMetrics* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFormLayout::itemAt(index0); + return ( theWrappedObject->height()); } -QSize PythonQtShell_QFormLayout::minimumSize() const + +int PythonQtWrapper_QFontMetrics::horizontalAdvance(QFontMetrics* theWrappedObject, QChar arg__1) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFormLayout::minimumSize(); + return ( theWrappedObject->horizontalAdvance(arg__1)); } -void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) + +int PythonQtWrapper_QFontMetrics::horizontalAdvance(QFontMetrics* theWrappedObject, const QString& arg__1, int len) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFormLayout::setGeometry(rect0); + return ( theWrappedObject->horizontalAdvance(arg__1, len)); } -QSize PythonQtShell_QFormLayout::sizeHint() const + +bool PythonQtWrapper_QFontMetrics::inFont(QFontMetrics* theWrappedObject, QChar arg__1) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFormLayout::sizeHint(); + return ( theWrappedObject->inFont(arg__1)); } -QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) + +bool PythonQtWrapper_QFontMetrics::inFontUcs4(QFontMetrics* theWrappedObject, uint ucs4) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFormLayout::takeAt(index0); + return ( theWrappedObject->inFontUcs4(ucs4)); } -QFormLayout* PythonQtWrapper_QFormLayout::new_QFormLayout(QWidget* parent) -{ -return new PythonQtShell_QFormLayout(parent); } -const QMetaObject* PythonQtShell_QFormLayout::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFormLayout::staticMetaObject); - } else { - return &QFormLayout::staticMetaObject; - } -} -int PythonQtShell_QFormLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFormLayout::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QFormLayout::addItem(QFormLayout* theWrappedObject, QLayoutItem* item) +int PythonQtWrapper_QFontMetrics::leading(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->addItem(item)); + return ( theWrappedObject->leading()); } -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) +int PythonQtWrapper_QFontMetrics::leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const { - ( theWrappedObject->addRow(label, field)); + return ( theWrappedObject->leftBearing(arg__1)); } -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget) +int PythonQtWrapper_QFontMetrics::lineSpacing(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->addRow(widget)); + return ( theWrappedObject->lineSpacing()); } -void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) +int PythonQtWrapper_QFontMetrics::lineWidth(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->addRow(labelText, field)); + return ( theWrappedObject->lineWidth()); } -int PythonQtWrapper_QFormLayout::count(QFormLayout* theWrappedObject) const +int PythonQtWrapper_QFontMetrics::maxWidth(QFontMetrics* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->maxWidth()); } -Qt::Orientations PythonQtWrapper_QFormLayout::expandingDirections(QFormLayout* theWrappedObject) const +int PythonQtWrapper_QFontMetrics::minLeftBearing(QFontMetrics* theWrappedObject) const { - return ( theWrappedObject->expandingDirections()); + return ( theWrappedObject->minLeftBearing()); } -QFormLayout::FieldGrowthPolicy PythonQtWrapper_QFormLayout::fieldGrowthPolicy(QFormLayout* theWrappedObject) const +int PythonQtWrapper_QFontMetrics::minRightBearing(QFontMetrics* theWrappedObject) const { - return ( theWrappedObject->fieldGrowthPolicy()); + return ( theWrappedObject->minRightBearing()); } -Qt::Alignment PythonQtWrapper_QFormLayout::formAlignment(QFormLayout* theWrappedObject) const +int PythonQtWrapper_QFontMetrics::overlinePos(QFontMetrics* theWrappedObject) const { - return ( theWrappedObject->formAlignment()); + return ( theWrappedObject->overlinePos()); } -void PythonQtWrapper_QFormLayout::getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +int PythonQtWrapper_QFontMetrics::rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const { - ( theWrappedObject->getItemPosition(index, rowPtr, rolePtr)); + return ( theWrappedObject->rightBearing(arg__1)); } -void PythonQtWrapper_QFormLayout::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const +QSize PythonQtWrapper_QFontMetrics::size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops, int* tabarray) const { - ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); + return ( theWrappedObject->size(flags, str, tabstops, tabarray)); } -bool PythonQtWrapper_QFormLayout::hasHeightForWidth(QFormLayout* theWrappedObject) const +int PythonQtWrapper_QFontMetrics::strikeOutPos(QFontMetrics* theWrappedObject) const { - return ( theWrappedObject->hasHeightForWidth()); + return ( theWrappedObject->strikeOutPos()); } -int PythonQtWrapper_QFormLayout::heightForWidth(QFormLayout* theWrappedObject, int width) const +void PythonQtWrapper_QFontMetrics::swap(QFontMetrics* theWrappedObject, QFontMetrics& other) { - return ( theWrappedObject->heightForWidth(width)); + ( theWrappedObject->swap(other)); } -int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const +QRect PythonQtWrapper_QFontMetrics::tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const { - return ( theWrappedObject->horizontalSpacing()); + return ( theWrappedObject->tightBoundingRect(text)); } -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) +int PythonQtWrapper_QFontMetrics::underlinePos(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->insertRow(row, label, field)); + return ( theWrappedObject->underlinePos()); } -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget) +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, QChar arg__1) const { - ( theWrappedObject->insertRow(row, widget)); + return ( theWrappedObject->width(arg__1)); } -void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, const QString& arg__1, int len) const { - ( theWrappedObject->insertRow(row, labelText, field)); + return ( theWrappedObject->width(arg__1, len)); } -void PythonQtWrapper_QFormLayout::invalidate(QFormLayout* theWrappedObject) +int PythonQtWrapper_QFontMetrics::width(QFontMetrics* theWrappedObject, const QString& arg__1, int len, int flags) const { - ( theWrappedObject->invalidate()); + return ( theWrappedObject->width(arg__1, len, flags)); } -QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int index) const +int PythonQtWrapper_QFontMetrics::xHeight(QFontMetrics* theWrappedObject) const { - return ( theWrappedObject->itemAt(index)); + return ( theWrappedObject->xHeight()); } -QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const + + +QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& font) +{ +return new QFontMetricsF(font); } + +QFontMetricsF* PythonQtWrapper_QFontMetricsF::new_QFontMetricsF(const QFont& font, QPaintDevice* pd) +{ +return new QFontMetricsF(font, pd); } + +qreal PythonQtWrapper_QFontMetricsF::ascent(QFontMetricsF* theWrappedObject) const { - return ( theWrappedObject->itemAt(row, role)); + return ( theWrappedObject->ascent()); } -Qt::Alignment PythonQtWrapper_QFormLayout::labelAlignment(QFormLayout* theWrappedObject) const +qreal PythonQtWrapper_QFontMetricsF::averageCharWidth(QFontMetricsF* theWrappedObject) const { - return ( theWrappedObject->labelAlignment()); + return ( theWrappedObject->averageCharWidth()); } -QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QWidget* field) const +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const { - return ( theWrappedObject->labelForField(field)); + return ( theWrappedObject->boundingRect(arg__1)); } -QSize PythonQtWrapper_QFormLayout::minimumSize(QFormLayout* theWrappedObject) const +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops, int* tabarray) const { - return ( theWrappedObject->minimumSize()); + return ( theWrappedObject->boundingRect(r, flags, string, tabstops, tabarray)); } -void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, QWidget* widget) +QRectF PythonQtWrapper_QFontMetricsF::boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const { - ( theWrappedObject->removeRow(widget)); + return ( theWrappedObject->boundingRect(string)); } -void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, int row) +qreal PythonQtWrapper_QFontMetricsF::capHeight(QFontMetricsF* theWrappedObject) const { - ( theWrappedObject->removeRow(row)); + return ( theWrappedObject->capHeight()); } -int PythonQtWrapper_QFormLayout::rowCount(QFormLayout* theWrappedObject) const +qreal PythonQtWrapper_QFontMetricsF::descent(QFontMetricsF* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->descent()); } -QFormLayout::RowWrapPolicy PythonQtWrapper_QFormLayout::rowWrapPolicy(QFormLayout* theWrappedObject) const +QString PythonQtWrapper_QFontMetricsF::elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags) const { - return ( theWrappedObject->rowWrapPolicy()); + return ( theWrappedObject->elidedText(text, mode, width, flags)); } -void PythonQtWrapper_QFormLayout::setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy) +qreal PythonQtWrapper_QFontMetricsF::fontDpi(QFontMetricsF* theWrappedObject) const { - ( theWrappedObject->setFieldGrowthPolicy(policy)); + return ( theWrappedObject->fontDpi()); } -void PythonQtWrapper_QFormLayout::setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) +qreal PythonQtWrapper_QFontMetricsF::height(QFontMetricsF* theWrappedObject) const { - ( theWrappedObject->setFormAlignment(alignment)); + return ( theWrappedObject->height()); } -void PythonQtWrapper_QFormLayout::setGeometry(QFormLayout* theWrappedObject, const QRect& rect) +qreal PythonQtWrapper_QFontMetricsF::horizontalAdvance(QFontMetricsF* theWrappedObject, QChar arg__1) const { - ( theWrappedObject->setGeometry(rect)); + return ( theWrappedObject->horizontalAdvance(arg__1)); } -void PythonQtWrapper_QFormLayout::setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing) +qreal PythonQtWrapper_QFontMetricsF::horizontalAdvance(QFontMetricsF* theWrappedObject, const QString& string, int length) const { - ( theWrappedObject->setHorizontalSpacing(spacing)); + return ( theWrappedObject->horizontalAdvance(string, length)); } -void PythonQtWrapper_QFormLayout::setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP item) +bool PythonQtWrapper_QFontMetricsF::inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const { - ( theWrappedObject->setItem(row, role, item)); + return ( theWrappedObject->inFont(arg__1)); } -void PythonQtWrapper_QFormLayout::setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) +bool PythonQtWrapper_QFontMetricsF::inFontUcs4(QFontMetricsF* theWrappedObject, uint ucs4) const { - ( theWrappedObject->setLabelAlignment(alignment)); + return ( theWrappedObject->inFontUcs4(ucs4)); } -void PythonQtWrapper_QFormLayout::setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy) +qreal PythonQtWrapper_QFontMetricsF::leading(QFontMetricsF* theWrappedObject) const { - ( theWrappedObject->setRowWrapPolicy(policy)); + return ( theWrappedObject->leading()); } -void PythonQtWrapper_QFormLayout::setSpacing(QFormLayout* theWrappedObject, int arg__1) +qreal PythonQtWrapper_QFontMetricsF::leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const { - ( theWrappedObject->setSpacing(arg__1)); + return ( theWrappedObject->leftBearing(arg__1)); } -void PythonQtWrapper_QFormLayout::setVerticalSpacing(QFormLayout* theWrappedObject, int spacing) +qreal PythonQtWrapper_QFontMetricsF::lineSpacing(QFontMetricsF* theWrappedObject) const { - ( theWrappedObject->setVerticalSpacing(spacing)); + return ( theWrappedObject->lineSpacing()); } -void PythonQtWrapper_QFormLayout::setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP widget) +qreal PythonQtWrapper_QFontMetricsF::lineWidth(QFontMetricsF* theWrappedObject) const { - ( theWrappedObject->setWidget(row, role, widget)); + return ( theWrappedObject->lineWidth()); } -QSize PythonQtWrapper_QFormLayout::sizeHint(QFormLayout* theWrappedObject) const +qreal PythonQtWrapper_QFontMetricsF::maxWidth(QFontMetricsF* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->maxWidth()); } -int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const +qreal PythonQtWrapper_QFontMetricsF::minLeftBearing(QFontMetricsF* theWrappedObject) const { - return ( theWrappedObject->spacing()); + return ( theWrappedObject->minLeftBearing()); } -QLayoutItem* PythonQtWrapper_QFormLayout::takeAt(QFormLayout* theWrappedObject, int index) +qreal PythonQtWrapper_QFontMetricsF::minRightBearing(QFontMetricsF* theWrappedObject) const { - return ( theWrappedObject->takeAt(index)); + return ( theWrappedObject->minRightBearing()); } -int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const +qreal PythonQtWrapper_QFontMetricsF::overlinePos(QFontMetricsF* theWrappedObject) const { - return ( theWrappedObject->verticalSpacing()); + return ( theWrappedObject->overlinePos()); } +qreal PythonQtWrapper_QFontMetricsF::rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->rightBearing(arg__1)); +} +QSizeF PythonQtWrapper_QFontMetricsF::size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops, int* tabarray) const +{ + return ( theWrappedObject->size(flags, str, tabstops, tabarray)); +} -PythonQtShell_QFrame::~PythonQtShell_QFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +qreal PythonQtWrapper_QFontMetricsF::strikeOutPos(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->strikeOutPos()); } -void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) + +void PythonQtWrapper_QFontMetricsF::swap(QFontMetricsF* theWrappedObject, QFontMetricsF& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swap(other)); } - QFrame::actionEvent(event0); + +QRectF PythonQtWrapper_QFontMetricsF::tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->tightBoundingRect(text)); } -void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) + +qreal PythonQtWrapper_QFontMetricsF::underlinePos(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->underlinePos()); +} + +qreal PythonQtWrapper_QFontMetricsF::width(QFontMetricsF* theWrappedObject, QChar arg__1) const +{ + return ( theWrappedObject->width(arg__1)); +} + +qreal PythonQtWrapper_QFontMetricsF::width(QFontMetricsF* theWrappedObject, const QString& string) const +{ + return ( theWrappedObject->width(string)); +} + +qreal PythonQtWrapper_QFontMetricsF::xHeight(QFontMetricsF* theWrappedObject) const +{ + return ( theWrappedObject->xHeight()); +} + + + +PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1993,21 +1999,21 @@ if (_wrapper) { } } } - QFrame::changeEvent(arg__1); + QFormLayout::addItem(item0); } -void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) +void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2015,54 +2021,65 @@ if (_wrapper) { } } } - QFrame::closeEvent(event0); + QFormLayout::childEvent(e0); } -void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* event0) +QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::contextMenuEvent(event0); + return QFormLayout::controlTypes(); } -int PythonQtShell_QFrame::devType() const +int PythonQtShell_QFormLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2070,21 +2087,21 @@ if (_wrapper) { } } } - return QFrame::devType(); + return QFormLayout::count(); } -void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QFormLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2092,120 +2109,164 @@ if (_wrapper) { } } } - QFrame::dragEnterEvent(event0); + QFormLayout::customEvent(event0); } -void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QFormLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::dragLeaveEvent(event0); + return QFormLayout::event(event0); } -void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) +bool PythonQtShell_QFormLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::dragMoveEvent(event0); + return QFormLayout::eventFilter(watched0, event1); } -void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) +Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::dropEvent(event0); + return QFormLayout::expandingDirections(); } -void PythonQtShell_QFrame::enterEvent(QEvent* event0) +QRect PythonQtShell_QFormLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::enterEvent(event0); + return QFormLayout::geometry(); } -bool PythonQtShell_QFrame::event(QEvent* e0) +bool PythonQtShell_QFormLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2213,54 +2274,65 @@ if (_wrapper) { } } } - return QFrame::event(e0); + return QFormLayout::hasHeightForWidth(); } -void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) +int PythonQtShell_QFormLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::focusInEvent(event0); + return QFormLayout::heightForWidth(width0); } -bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) +int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2268,21 +2340,21 @@ if (_wrapper) { } } } - return QFrame::focusNextPrevChild(next0); + return QFormLayout::indexOf(arg__1); } -void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QFormLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2290,32 +2362,32 @@ if (_wrapper) { } } } - QFrame::focusOutEvent(event0); + QFormLayout::invalidate(); } -bool PythonQtShell_QFrame::hasHeightForWidth() const +bool PythonQtShell_QFormLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2323,32 +2395,32 @@ if (_wrapper) { } } } - return QFrame::hasHeightForWidth(); + return QFormLayout::isEmpty(); } -int PythonQtShell_QFrame::heightForWidth(int arg__1) const +QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2356,98 +2428,65 @@ if (_wrapper) { } } } - return QFrame::heightForWidth(arg__1); + return QFormLayout::itemAt(index0); } -void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) +QLayout* PythonQtShell_QFormLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::hideEvent(event0); + return QFormLayout::layout(); } -void PythonQtShell_QFrame::initPainter(QPainter* painter0) const +QSize PythonQtShell_QFormLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::initPainter(painter0); -} -void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QFrame::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2455,98 +2494,32 @@ if (_wrapper) { } } } - return QFrame::inputMethodQuery(arg__1); -} -void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::keyPressEvent(event0); -} -void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::keyReleaseEvent(event0); -} -void PythonQtShell_QFrame::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::leaveEvent(event0); + return QFormLayout::maximumSize(); } -int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QFormLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2554,32 +2527,32 @@ if (_wrapper) { } } } - return QFrame::metric(arg__1); + return QFormLayout::minimumHeightForWidth(arg__1); } -QSize PythonQtShell_QFrame::minimumSizeHint() const +QSize PythonQtShell_QFormLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2587,87 +2560,21 @@ if (_wrapper) { } } } - return QFrame::minimumSizeHint(); -} -void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::mouseMoveEvent(event0); -} -void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::mousePressEvent(event0); + return QFormLayout::minimumSize(); } -void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2675,54 +2582,65 @@ if (_wrapper) { } } } - QFrame::mouseReleaseEvent(event0); + QFormLayout::setGeometry(rect0); } -void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) +QSize PythonQtShell_QFormLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::moveEvent(event0); + return QFormLayout::sizeHint(); } -bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSpacerItem* PythonQtShell_QFormLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2730,32 +2648,32 @@ if (_wrapper) { } } } - return QFrame::nativeEvent(eventType0, message1, result2); + return QFormLayout::spacerItem(); } -QPaintEngine* PythonQtShell_QFrame::paintEngine() const +QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2763,21 +2681,21 @@ if (_wrapper) { } } } - return QFrame::paintEngine(); + return QFormLayout::takeAt(index0); } -void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2785,32 +2703,32 @@ if (_wrapper) { } } } - QFrame::paintEvent(arg__1); + QFormLayout::timerEvent(event0); } -QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const +QWidget* PythonQtShell_QFormLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2818,507 +2736,283 @@ if (_wrapper) { } } } - return QFrame::redirected(offset0); + return QFormLayout::widget(); } -void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::resizeEvent(event0); -} -void PythonQtShell_QFrame::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::setVisible(visible0); -} -QPainter* PythonQtShell_QFrame::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QFrame::sharedPainter(); -} -void PythonQtShell_QFrame::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::showEvent(event0); -} -QSize PythonQtShell_QFrame::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QFrame::sizeHint(); -} -void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::tabletEvent(event0); -} -void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFrame::wheelEvent(event0); -} -QFrame* PythonQtWrapper_QFrame::new_QFrame(QWidget* parent, Qt::WindowFlags f) +QFormLayout* PythonQtWrapper_QFormLayout::new_QFormLayout(QWidget* parent) { -return new PythonQtShell_QFrame(parent, f); } +return new PythonQtShell_QFormLayout(parent); } -const QMetaObject* PythonQtShell_QFrame::metaObject() const { +const QMetaObject* PythonQtShell_QFormLayout::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFrame::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFormLayout::staticMetaObject); } else { - return &QFrame::staticMetaObject; + return &QFormLayout::staticMetaObject; } } -int PythonQtShell_QFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFrame::qt_metacall(call, id, args); +int PythonQtShell_QFormLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFormLayout::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QFrame::drawFrame(QFrame* theWrappedObject, QPainter* arg__1) +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout) { - ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_drawFrame(arg__1)); + ( theWrappedObject->addRow(layout)); } -QRect PythonQtWrapper_QFrame::frameRect(QFrame* theWrappedObject) const +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->frameRect()); + ( theWrappedObject->addRow(label, field)); } -QFrame::Shadow PythonQtWrapper_QFrame::frameShadow(QFrame* theWrappedObject) const +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->frameShadow()); + ( theWrappedObject->addRow(label, field)); } -QFrame::Shape PythonQtWrapper_QFrame::frameShape(QFrame* theWrappedObject) const +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget) { - return ( theWrappedObject->frameShape()); + ( theWrappedObject->addRow(widget)); } -int PythonQtWrapper_QFrame::frameStyle(QFrame* theWrappedObject) const +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->frameStyle()); + ( theWrappedObject->addRow(labelText, field)); } -int PythonQtWrapper_QFrame::frameWidth(QFrame* theWrappedObject) const +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->frameWidth()); + ( theWrappedObject->addRow(labelText, field)); } -void PythonQtWrapper_QFrame::initStyleOption(QFrame* theWrappedObject, QStyleOptionFrame* option) const +QFormLayout::FieldGrowthPolicy PythonQtWrapper_QFormLayout::fieldGrowthPolicy(QFormLayout* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_initStyleOption(option)); + return ( theWrappedObject->fieldGrowthPolicy()); } -int PythonQtWrapper_QFrame::lineWidth(QFrame* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QFormLayout::formAlignment(QFormLayout* theWrappedObject) const { - return ( theWrappedObject->lineWidth()); + return ( theWrappedObject->formAlignment()); } -int PythonQtWrapper_QFrame::midLineWidth(QFrame* theWrappedObject) const +void PythonQtWrapper_QFormLayout::getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const { - return ( theWrappedObject->midLineWidth()); + ( theWrappedObject->getItemPosition(index, rowPtr, rolePtr)); } -void PythonQtWrapper_QFrame::setFrameRect(QFrame* theWrappedObject, const QRect& arg__1) +void PythonQtWrapper_QFormLayout::getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const { - ( theWrappedObject->setFrameRect(arg__1)); + ( theWrappedObject->getLayoutPosition(layout, rowPtr, rolePtr)); } -void PythonQtWrapper_QFrame::setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1) +void PythonQtWrapper_QFormLayout::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const { - ( theWrappedObject->setFrameShadow(arg__1)); + ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); } -void PythonQtWrapper_QFrame::setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1) +int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const { - ( theWrappedObject->setFrameShape(arg__1)); + return ( theWrappedObject->horizontalSpacing()); } -void PythonQtWrapper_QFrame::setFrameStyle(QFrame* theWrappedObject, int arg__1) +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP layout) { - ( theWrappedObject->setFrameStyle(arg__1)); + ( theWrappedObject->insertRow(row, layout)); } -void PythonQtWrapper_QFrame::setLineWidth(QFrame* theWrappedObject, int arg__1) +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { - ( theWrappedObject->setLineWidth(arg__1)); + ( theWrappedObject->insertRow(row, label, field)); } -void PythonQtWrapper_QFrame::setMidLineWidth(QFrame* theWrappedObject, int arg__1) +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { - ( theWrappedObject->setMidLineWidth(arg__1)); + ( theWrappedObject->insertRow(row, label, field)); } -QSize PythonQtWrapper_QFrame::sizeHint(QFrame* theWrappedObject) const +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget) { - return ( theWrappedObject->sizeHint()); + ( theWrappedObject->insertRow(row, widget)); } +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->insertRow(row, labelText, field)); +} +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) +{ + ( theWrappedObject->insertRow(row, labelText, field)); +} -QGesture* PythonQtWrapper_QGesture::new_QGesture(QObject* parent) -{ -return new QGesture(parent); } - -QGesture::GestureCancelPolicy PythonQtWrapper_QGesture::gestureCancelPolicy(QGesture* theWrappedObject) const +QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const { - return ( theWrappedObject->gestureCancelPolicy()); + return ( theWrappedObject->itemAt(row, role)); } -Qt::GestureType PythonQtWrapper_QGesture::gestureType(QGesture* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QFormLayout::labelAlignment(QFormLayout* theWrappedObject) const { - return ( theWrappedObject->gestureType()); + return ( theWrappedObject->labelAlignment()); } -bool PythonQtWrapper_QGesture::hasHotSpot(QGesture* theWrappedObject) const +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QLayout* field) const { - return ( theWrappedObject->hasHotSpot()); + return ( theWrappedObject->labelForField(field)); } -QPointF PythonQtWrapper_QGesture::hotSpot(QGesture* theWrappedObject) const +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QWidget* field) const { - return ( theWrappedObject->hotSpot()); + return ( theWrappedObject->labelForField(field)); } -void PythonQtWrapper_QGesture::setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy) +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, QLayout* layout) { - ( theWrappedObject->setGestureCancelPolicy(policy)); + ( theWrappedObject->removeRow(layout)); } -void PythonQtWrapper_QGesture::setHotSpot(QGesture* theWrappedObject, const QPointF& value) +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, QWidget* widget) { - ( theWrappedObject->setHotSpot(value)); + ( theWrappedObject->removeRow(widget)); } -Qt::GestureState PythonQtWrapper_QGesture::state(QGesture* theWrappedObject) const +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, int row) { - return ( theWrappedObject->state()); + ( theWrappedObject->removeRow(row)); } -void PythonQtWrapper_QGesture::unsetHotSpot(QGesture* theWrappedObject) +int PythonQtWrapper_QFormLayout::rowCount(QFormLayout* theWrappedObject) const { - ( theWrappedObject->unsetHotSpot()); + return ( theWrappedObject->rowCount()); } -QString PythonQtWrapper_QGesture::py_toString(QGesture* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -QGestureEvent* PythonQtWrapper_QGestureEvent::new_QGestureEvent(const QList& gestures) -{ -return new QGestureEvent(gestures); } - -void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, QGesture* arg__1) -{ - ( theWrappedObject->accept(arg__1)); -} - -void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) -{ - ( theWrappedObject->accept(arg__1)); -} - -QList PythonQtWrapper_QGestureEvent::activeGestures(QGestureEvent* theWrappedObject) const +QFormLayout::RowWrapPolicy PythonQtWrapper_QFormLayout::rowWrapPolicy(QFormLayout* theWrappedObject) const { - return ( theWrappedObject->activeGestures()); + return ( theWrappedObject->rowWrapPolicy()); } -QList PythonQtWrapper_QGestureEvent::canceledGestures(QGestureEvent* theWrappedObject) const +void PythonQtWrapper_QFormLayout::setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy) { - return ( theWrappedObject->canceledGestures()); + ( theWrappedObject->setFieldGrowthPolicy(policy)); } -QGesture* PythonQtWrapper_QGestureEvent::gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const +void PythonQtWrapper_QFormLayout::setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->gesture(type)); + ( theWrappedObject->setFormAlignment(alignment)); } -QList PythonQtWrapper_QGestureEvent::gestures(QGestureEvent* theWrappedObject) const +void PythonQtWrapper_QFormLayout::setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing) { - return ( theWrappedObject->gestures()); + ( theWrappedObject->setHorizontalSpacing(spacing)); } -void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, QGesture* arg__1) +void PythonQtWrapper_QFormLayout::setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP item) { - ( theWrappedObject->ignore(arg__1)); + ( theWrappedObject->setItem(row, role, item)); } -void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) +void PythonQtWrapper_QFormLayout::setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) { - ( theWrappedObject->ignore(arg__1)); + ( theWrappedObject->setLabelAlignment(alignment)); } -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const +void PythonQtWrapper_QFormLayout::setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP layout) { - return ( theWrappedObject->isAccepted(arg__1)); + ( theWrappedObject->setLayout(row, role, layout)); } -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const +void PythonQtWrapper_QFormLayout::setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy) { - return ( theWrappedObject->isAccepted(arg__1)); + ( theWrappedObject->setRowWrapPolicy(policy)); } -QPointF PythonQtWrapper_QGestureEvent::mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const +void PythonQtWrapper_QFormLayout::setSpacing(QFormLayout* theWrappedObject, int arg__1) { - return ( theWrappedObject->mapToGraphicsScene(gesturePoint)); + ( theWrappedObject->setSpacing(arg__1)); } -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2) +void PythonQtWrapper_QFormLayout::setVerticalSpacing(QFormLayout* theWrappedObject, int spacing) { - ( theWrappedObject->setAccepted(arg__1, arg__2)); + ( theWrappedObject->setVerticalSpacing(spacing)); } -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2) +void PythonQtWrapper_QFormLayout::setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP widget) { - ( theWrappedObject->setAccepted(arg__1, arg__2)); + ( theWrappedObject->setWidget(row, role, widget)); } -void PythonQtWrapper_QGestureEvent::setWidget(QGestureEvent* theWrappedObject, QWidget* widget) +int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const { - ( theWrappedObject->setWidget(widget)); + return ( theWrappedObject->spacing()); } -QWidget* PythonQtWrapper_QGestureEvent::widget(QGestureEvent* theWrappedObject) const +int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const { - return ( theWrappedObject->widget()); -} - -QString PythonQtWrapper_QGestureEvent::py_toString(QGestureEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; + return ( theWrappedObject->verticalSpacing()); } -PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { +PythonQtShell_QFrame::~PythonQtShell_QFrame() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) +void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("create"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGesture*" , "QObject*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGesture* returnValue{}; - void* args[2] = {NULL, (void*)&target0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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 = *((QGesture**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGestureRecognizer::create(target0); + QFrame::actionEvent(event0); } -QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) +void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("recognize"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGestureRecognizer::Result" , "QGesture*" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QGestureRecognizer::Result returnValue{}; - void* args[4] = {NULL, (void*)&state0, (void*)&watched1, (void*)&event2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("recognize", methodInfo, result); - } else { - returnValue = *((QGestureRecognizer::Result*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGestureRecognizer::Result(); + QFrame::changeEvent(arg__1); } -void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) +void PythonQtShell_QFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGesture*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3326,150 +3020,241 @@ if (_wrapper) { } } } - QGestureRecognizer::reset(state0); + QFrame::childEvent(event0); } -QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() -{ -return new PythonQtShell_QGestureRecognizer(); } - -QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) +void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) { - return ( theWrappedObject->create(target)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGestureRecognizer::Result PythonQtWrapper_QGestureRecognizer::recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event) -{ - return ( theWrappedObject->recognize(state, watched, event)); + QFrame::closeEvent(event0); } - -Qt::GestureType PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer) +void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* event0) { - return (QGestureRecognizer::registerRecognizer(recognizer)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGestureRecognizer::reset(QGestureRecognizer* theWrappedObject, QGesture* state) -{ - ( theWrappedObject->reset(state)); + QFrame::contextMenuEvent(event0); } - -void PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type) +void PythonQtShell_QFrame::customEvent(QEvent* event0) { - (QGestureRecognizer::unregisterRecognizer(type)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -QGradient* PythonQtWrapper_QGradient::new_QGradient() -{ -return new QGradient(); } - -QGradient::CoordinateMode PythonQtWrapper_QGradient::coordinateMode(QGradient* theWrappedObject) const -{ - return ( theWrappedObject->coordinateMode()); + QFrame::customEvent(event0); } - -bool PythonQtWrapper_QGradient::__ne__(QGradient* theWrappedObject, const QGradient& other) const +int PythonQtShell_QFrame::devType() const { - return ( (*theWrappedObject)!= other); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGradient::__eq__(QGradient* theWrappedObject, const QGradient& gradient) const -{ - return ( (*theWrappedObject)== gradient); + return QFrame::devType(); } - -void PythonQtWrapper_QGradient::setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color) +void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setColorAt(pos, color)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGradient::setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode) -{ - ( theWrappedObject->setCoordinateMode(mode)); -} - -void PythonQtWrapper_QGradient::setSpread(QGradient* theWrappedObject, QGradient::Spread spread) -{ - ( theWrappedObject->setSpread(spread)); -} - -void PythonQtWrapper_QGradient::setStops(QGradient* theWrappedObject, const QVector >& stops) -{ - ( theWrappedObject->setStops(stops)); -} - -QGradient::Spread PythonQtWrapper_QGradient::spread(QGradient* theWrappedObject) const -{ - return ( theWrappedObject->spread()); + QFrame::dragEnterEvent(event0); } - -QVector > PythonQtWrapper_QGradient::stops(QGradient* theWrappedObject) const +void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->stops()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGradient::Type PythonQtWrapper_QGradient::type(QGradient* theWrappedObject) const -{ - return ( theWrappedObject->type()); + QFrame::dragLeaveEvent(event0); } - - - -void PythonQtWrapper_QGraphicsAnchor::setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy) +void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->setSizePolicy(policy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsAnchor::setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setSpacing(spacing)); + QFrame::dragMoveEvent(event0); } - -QSizePolicy::Policy PythonQtWrapper_QGraphicsAnchor::sizePolicy(QGraphicsAnchor* theWrappedObject) const +void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->sizePolicy()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsAnchor::spacing(QGraphicsAnchor* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); + QFrame::dropEvent(event0); } - -void PythonQtWrapper_QGraphicsAnchor::unsetSpacing(QGraphicsAnchor* theWrappedObject) +void PythonQtShell_QFrame::enterEvent(QEvent* event0) { - ( theWrappedObject->unsetSpacing()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFrame::enterEvent(event0); } -int PythonQtShell_QGraphicsAnchorLayout::count() const +bool PythonQtShell_QFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3477,43 +3262,54 @@ if (_wrapper) { } } } - return QGraphicsAnchorLayout::count(); + return QFrame::event(e0); } -void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +bool PythonQtShell_QFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsAnchorLayout::getContentsMargins(left0, top1, right2, bottom3); + return QFrame::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsAnchorLayout::invalidate() +void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3521,32 +3317,32 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::invalidate(); + QFrame::focusInEvent(event0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const +bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3554,21 +3350,21 @@ if (_wrapper) { } } } - return QGraphicsAnchorLayout::itemAt(index0); + return QFrame::focusNextPrevChild(next0); } -void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) +void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3576,54 +3372,65 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::removeAt(index0); + QFrame::focusOutEvent(event0); } -void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) +bool PythonQtShell_QFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsAnchorLayout::setGeometry(rect0); + return QFrame::hasHeightForWidth(); } -QSizeF PythonQtShell_QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +int PythonQtShell_QFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3631,21 +3438,21 @@ if (_wrapper) { } } } - return QGraphicsAnchorLayout::sizeHint(which0, constraint1); + return QFrame::heightForWidth(arg__1); } -void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() +void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3653,21 +3460,21 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::updateGeometry(); + QFrame::hideEvent(event0); } -void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) +void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3675,97 +3482,54 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::widgetEvent(e0); -} -QGraphicsAnchorLayout* PythonQtWrapper_QGraphicsAnchorLayout::new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsAnchorLayout(parent); } - -QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) -{ - return ( theWrappedObject->addAnchor(firstItem, firstEdge, secondItem, secondEdge)); + QFrame::initPainter(painter0); } - -void PythonQtWrapper_QGraphicsAnchorLayout::addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations) +void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { - ( theWrappedObject->addAnchors(firstItem, secondItem, orientations)); -} - -void PythonQtWrapper_QGraphicsAnchorLayout::addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner) -{ - ( theWrappedObject->addCornerAnchors(firstItem, firstCorner, secondItem, secondCorner)); -} - -QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::anchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) -{ - return ( theWrappedObject->anchor(firstItem, firstEdge, secondItem, secondEdge)); -} - -qreal PythonQtWrapper_QGraphicsAnchorLayout::horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -void PythonQtWrapper_QGraphicsAnchorLayout::setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -void PythonQtWrapper_QGraphicsAnchorLayout::setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setHorizontalSpacing(spacing)); -} - -void PythonQtWrapper_QGraphicsAnchorLayout::setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setSpacing(spacing)); -} - -void PythonQtWrapper_QGraphicsAnchorLayout::setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setVerticalSpacing(spacing)); -} - -QSizeF PythonQtWrapper_QGraphicsAnchorLayout::sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} - -qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFrame::inputMethodEvent(arg__1); } -QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const +QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&rect0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3773,21 +3537,21 @@ if (_wrapper) { } } } - return QGraphicsBlurEffect::boundingRectFor(rect0); + return QFrame::inputMethodQuery(arg__1); } -void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) +void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3795,21 +3559,21 @@ if (_wrapper) { } } } - QGraphicsBlurEffect::draw(painter0); + QFrame::keyPressEvent(event0); } -void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3817,65 +3581,54 @@ if (_wrapper) { } } } - QGraphicsBlurEffect::sourceChanged(flags0); -} -QGraphicsBlurEffect* PythonQtWrapper_QGraphicsBlurEffect::new_QGraphicsBlurEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsBlurEffect(parent); } - -const QMetaObject* PythonQtShell_QGraphicsBlurEffect::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsBlurEffect::staticMetaObject); - } else { - return &QGraphicsBlurEffect::staticMetaObject; - } -} -int PythonQtShell_QGraphicsBlurEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsBlurEffect::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QGraphicsBlurEffect::BlurHints PythonQtWrapper_QGraphicsBlurEffect::blurHints(QGraphicsBlurEffect* theWrappedObject) const -{ - return ( theWrappedObject->blurHints()); + QFrame::keyReleaseEvent(event0); } - -qreal PythonQtWrapper_QGraphicsBlurEffect::blurRadius(QGraphicsBlurEffect* theWrappedObject) const +void PythonQtShell_QFrame::leaveEvent(QEvent* event0) { - return ( theWrappedObject->blurRadius()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFrame::leaveEvent(event0); } -QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const +int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&sourceRect0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3883,43 +3636,54 @@ if (_wrapper) { } } } - return QGraphicsColorizeEffect::boundingRectFor(sourceRect0); + return QFrame::metric(arg__1); } -void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) +QSize PythonQtShell_QFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsColorizeEffect::draw(painter0); + return QFrame::minimumSizeHint(); } -void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3927,87 +3691,43 @@ if (_wrapper) { } } } - QGraphicsColorizeEffect::sourceChanged(flags0); -} -QGraphicsColorizeEffect* PythonQtWrapper_QGraphicsColorizeEffect::new_QGraphicsColorizeEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsColorizeEffect(parent); } - -const QMetaObject* PythonQtShell_QGraphicsColorizeEffect::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsColorizeEffect::staticMetaObject); - } else { - return &QGraphicsColorizeEffect::staticMetaObject; - } -} -int PythonQtShell_QGraphicsColorizeEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsColorizeEffect::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QColor PythonQtWrapper_QGraphicsColorizeEffect::color(QGraphicsColorizeEffect* theWrappedObject) const -{ - return ( theWrappedObject->color()); -} - -qreal PythonQtWrapper_QGraphicsColorizeEffect::strength(QGraphicsColorizeEffect* theWrappedObject) const -{ - return ( theWrappedObject->strength()); -} - - - -PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFrame::mouseDoubleClickEvent(event0); } -QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const +void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsDropShadowEffect::boundingRectFor(rect0); + QFrame::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) +void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4015,21 +3735,21 @@ if (_wrapper) { } } } - QGraphicsDropShadowEffect::draw(painter0); + QFrame::mousePressEvent(event0); } -void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4037,80 +3757,54 @@ if (_wrapper) { } } } - QGraphicsDropShadowEffect::sourceChanged(flags0); + QFrame::mouseReleaseEvent(event0); } -QGraphicsDropShadowEffect* PythonQtWrapper_QGraphicsDropShadowEffect::new_QGraphicsDropShadowEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsDropShadowEffect(parent); } - -const QMetaObject* PythonQtShell_QGraphicsDropShadowEffect::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsDropShadowEffect::staticMetaObject); - } else { - return &QGraphicsDropShadowEffect::staticMetaObject; - } -} -int PythonQtShell_QGraphicsDropShadowEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsDropShadowEffect::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -qreal PythonQtWrapper_QGraphicsDropShadowEffect::blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->blurRadius()); -} - -QColor PythonQtWrapper_QGraphicsDropShadowEffect::color(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->color()); -} - -QPointF PythonQtWrapper_QGraphicsDropShadowEffect::offset(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->offset()); -} - -qreal PythonQtWrapper_QGraphicsDropShadowEffect::xOffset(QGraphicsDropShadowEffect* theWrappedObject) const -{ - return ( theWrappedObject->xOffset()); -} - -qreal PythonQtWrapper_QGraphicsDropShadowEffect::yOffset(QGraphicsDropShadowEffect* theWrappedObject) const +void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->yOffset()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFrame::moveEvent(event0); } -QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const +bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&sourceRect0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4118,43 +3812,54 @@ if (_wrapper) { } } } - return QGraphicsEffect::boundingRectFor(sourceRect0); + return QFrame::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) +QPaintEngine* PythonQtShell_QFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - + return QFrame::paintEngine(); } -void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4162,105 +3867,32 @@ if (_wrapper) { } } } - QGraphicsEffect::sourceChanged(flags0); -} -QGraphicsEffect* PythonQtWrapper_QGraphicsEffect::new_QGraphicsEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsEffect(parent); } - -const QMetaObject* PythonQtShell_QGraphicsEffect::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsEffect::staticMetaObject); - } else { - return &QGraphicsEffect::staticMetaObject; - } -} -int PythonQtShell_QGraphicsEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsEffect::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QRectF PythonQtWrapper_QGraphicsEffect::boundingRect(QGraphicsEffect* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -QRectF PythonQtWrapper_QGraphicsEffect::boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const -{ - return ( theWrappedObject->boundingRectFor(sourceRect)); -} - -void PythonQtWrapper_QGraphicsEffect::draw(QGraphicsEffect* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_draw(painter)); -} - -void PythonQtWrapper_QGraphicsEffect::drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_drawSource(painter)); -} - -bool PythonQtWrapper_QGraphicsEffect::isEnabled(QGraphicsEffect* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -QRectF PythonQtWrapper_QGraphicsEffect::sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceBoundingRect(system)); -} - -void PythonQtWrapper_QGraphicsEffect::sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceChanged(flags)); -} - -bool PythonQtWrapper_QGraphicsEffect::sourceIsPixmap(QGraphicsEffect* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceIsPixmap()); -} - -QPixmap PythonQtWrapper_QGraphicsEffect::sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system, QPoint* offset, QGraphicsEffect::PixmapPadMode mode) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourcePixmap(system, offset, mode)); -} - -void PythonQtWrapper_QGraphicsEffect::updateBoundingRect(QGraphicsEffect* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_updateBoundingRect()); -} - - - -PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFrame::paintEvent(arg__1); } -QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const +QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4268,98 +3900,76 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::boundingRect(); + return QFrame::redirected(offset0); } -bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const +void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::contains(point0); + QFrame::resizeEvent(event0); } -QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant0) const +void PythonQtShell_QFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::extension(variant0); + QFrame::setVisible(visible0); } -bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const +QPainter* PythonQtShell_QFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4367,76 +3977,76 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::isObscuredBy(item0); + return QFrame::sharedPainter(); } -QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const +void PythonQtShell_QFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::opaqueArea(); + QFrame::showEvent(event0); } -void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +QSize PythonQtShell_QFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsEllipseItem::paint(painter0, option1, widget2); + return QFrame::sizeHint(); } -void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4444,246 +4054,190 @@ if (_wrapper) { } } } - QGraphicsEllipseItem::setExtension(extension0, variant1); + QFrame::tabletEvent(event0); } -QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const +void PythonQtShell_QFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::shape(); + QFrame::timerEvent(event0); } -bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::supportsExtension(extension0); + QFrame::wheelEvent(event0); } -int PythonQtShell_QGraphicsEllipseItem::type() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } +QFrame* PythonQtWrapper_QFrame::new_QFrame(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QFrame(parent, f); } + +const QMetaObject* PythonQtShell_QFrame::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFrame::staticMetaObject); + } else { + return &QFrame::staticMetaObject; } } - return QGraphicsEllipseItem::type(); +int PythonQtShell_QFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QFrame::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QFrame::drawFrame(QFrame* theWrappedObject, QPainter* arg__1) +{ + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_drawFrame(arg__1)); } -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(rect, parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent); } -QRectF PythonQtWrapper_QGraphicsEllipseItem::boundingRect(QGraphicsEllipseItem* theWrappedObject) const +QRect PythonQtWrapper_QFrame::frameRect(QFrame* theWrappedObject) const { - return ( theWrappedObject->boundingRect()); + return ( theWrappedObject->frameRect()); } -bool PythonQtWrapper_QGraphicsEllipseItem::contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const +QFrame::Shadow PythonQtWrapper_QFrame::frameShadow(QFrame* theWrappedObject) const { - return ( theWrappedObject->contains(point)); + return ( theWrappedObject->frameShadow()); } -QVariant PythonQtWrapper_QGraphicsEllipseItem::extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const +QFrame::Shape PythonQtWrapper_QFrame::frameShape(QFrame* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_extension(variant)); + return ( theWrappedObject->frameShape()); } -void PythonQtWrapper_QGraphicsEllipseItem::paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +int PythonQtWrapper_QFrame::frameStyle(QFrame* theWrappedObject) const { - ( theWrappedObject->paint(painter, option, widget)); + return ( theWrappedObject->frameStyle()); } -QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const +int PythonQtWrapper_QFrame::frameWidth(QFrame* theWrappedObject) const { - return ( theWrappedObject->rect()); + return ( theWrappedObject->frameWidth()); } -void PythonQtWrapper_QGraphicsEllipseItem::setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant) +void PythonQtWrapper_QFrame::initStyleOption(QFrame* theWrappedObject, QStyleOptionFrame* option) const { - ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_setExtension(extension, variant)); + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect) +int PythonQtWrapper_QFrame::lineWidth(QFrame* theWrappedObject) const { - ( theWrappedObject->setRect(rect)); + return ( theWrappedObject->lineWidth()); } -void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +int PythonQtWrapper_QFrame::midLineWidth(QFrame* theWrappedObject) const { - ( theWrappedObject->setRect(x, y, w, h)); + return ( theWrappedObject->midLineWidth()); } -void PythonQtWrapper_QGraphicsEllipseItem::setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle) +void PythonQtWrapper_QFrame::setFrameRect(QFrame* theWrappedObject, const QRect& arg__1) { - ( theWrappedObject->setSpanAngle(angle)); + ( theWrappedObject->setFrameRect(arg__1)); } -void PythonQtWrapper_QGraphicsEllipseItem::setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle) +void PythonQtWrapper_QFrame::setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1) { - ( theWrappedObject->setStartAngle(angle)); + ( theWrappedObject->setFrameShadow(arg__1)); } -QPainterPath PythonQtWrapper_QGraphicsEllipseItem::shape(QGraphicsEllipseItem* theWrappedObject) const +void PythonQtWrapper_QFrame::setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1) { - return ( theWrappedObject->shape()); + ( theWrappedObject->setFrameShape(arg__1)); } -int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const +void PythonQtWrapper_QFrame::setFrameStyle(QFrame* theWrappedObject, int arg__1) { - return ( theWrappedObject->spanAngle()); + ( theWrappedObject->setFrameStyle(arg__1)); } -int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const +void PythonQtWrapper_QFrame::setLineWidth(QFrame* theWrappedObject, int arg__1) { - return ( theWrappedObject->startAngle()); + ( theWrappedObject->setLineWidth(arg__1)); } -bool PythonQtWrapper_QGraphicsEllipseItem::supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const +void PythonQtWrapper_QFrame::setMidLineWidth(QFrame* theWrappedObject, int arg__1) { - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_supportsExtension(extension)); + ( theWrappedObject->setMidLineWidth(arg__1)); } -int PythonQtWrapper_QGraphicsEllipseItem::type(QGraphicsEllipseItem* theWrappedObject) const +QSize PythonQtWrapper_QFrame::sizeHint(QFrame* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->sizeHint()); } -PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { +PythonQtShell_QGesture::~PythonQtShell_QGesture() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QGraphicsGridLayout::count() const +void PythonQtShell_QGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsGridLayout::count(); + QGesture::childEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4691,54 +4245,65 @@ if (_wrapper) { } } } - QGraphicsGridLayout::getContentsMargins(left0, top1, right2, bottom3); + QGesture::customEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::invalidate() +bool PythonQtShell_QGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsGridLayout::invalidate(); + return QGesture::event(event0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const +bool PythonQtShell_QGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4746,21 +4311,21 @@ if (_wrapper) { } } } - return QGraphicsGridLayout::itemAt(index0); + return QGesture::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) +void PythonQtShell_QGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4768,54 +4333,190 @@ if (_wrapper) { } } } - QGraphicsGridLayout::removeAt(index0); + QGesture::timerEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) +QGesture* PythonQtWrapper_QGesture::new_QGesture(QObject* parent) +{ +return new PythonQtShell_QGesture(parent); } + +const QMetaObject* PythonQtShell_QGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGesture::staticMetaObject); + } else { + return &QGesture::staticMetaObject; + } +} +int PythonQtShell_QGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QGesture::GestureCancelPolicy PythonQtWrapper_QGesture::gestureCancelPolicy(QGesture* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->gestureCancelPolicy()); } - QGraphicsGridLayout::setGeometry(rect0); + +Qt::GestureType PythonQtWrapper_QGesture::gestureType(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->gestureType()); } -QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const + +bool PythonQtWrapper_QGesture::hasHotSpot(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->hasHotSpot()); +} + +QPointF PythonQtWrapper_QGesture::hotSpot(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->hotSpot()); +} + +void PythonQtWrapper_QGesture::setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy) +{ + ( theWrappedObject->setGestureCancelPolicy(policy)); +} + +void PythonQtWrapper_QGesture::setHotSpot(QGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setHotSpot(value)); +} + +Qt::GestureState PythonQtWrapper_QGesture::state(QGesture* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QGesture::unsetHotSpot(QGesture* theWrappedObject) +{ + ( theWrappedObject->unsetHotSpot()); +} + +QString PythonQtWrapper_QGesture::py_toString(QGesture* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QGestureEvent* PythonQtWrapper_QGestureEvent::new_QGestureEvent(const QList& gestures) +{ +return new QGestureEvent(gestures); } + +void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, QGesture* arg__1) +{ + ( theWrappedObject->accept(arg__1)); +} + +void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) +{ + ( theWrappedObject->accept(arg__1)); +} + +QList PythonQtWrapper_QGestureEvent::activeGestures(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->activeGestures()); +} + +QList PythonQtWrapper_QGestureEvent::canceledGestures(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->canceledGestures()); +} + +QGesture* PythonQtWrapper_QGestureEvent::gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const +{ + return ( theWrappedObject->gesture(type)); +} + +QList PythonQtWrapper_QGestureEvent::gestures(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->gestures()); +} + +void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, QGesture* arg__1) +{ + ( theWrappedObject->ignore(arg__1)); +} + +void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) +{ + ( theWrappedObject->ignore(arg__1)); +} + +bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const +{ + return ( theWrappedObject->isAccepted(arg__1)); +} + +bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const +{ + return ( theWrappedObject->isAccepted(arg__1)); +} + +QPointF PythonQtWrapper_QGestureEvent::mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const +{ + return ( theWrappedObject->mapToGraphicsScene(gesturePoint)); +} + +void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2) +{ + ( theWrappedObject->setAccepted(arg__1, arg__2)); +} + +void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2) +{ + ( theWrappedObject->setAccepted(arg__1, arg__2)); +} + +void PythonQtWrapper_QGestureEvent::setWidget(QGestureEvent* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QWidget* PythonQtWrapper_QGestureEvent::widget(QGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +QString PythonQtWrapper_QGestureEvent::py_toString(QGestureEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"QGesture*" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGesture* returnValue{}; + void* args[2] = {nullptr, (void*)&target0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((QGesture**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4823,43 +4524,54 @@ if (_wrapper) { } } } - return QGraphicsGridLayout::sizeHint(which0, constraint1); + return QGestureRecognizer::create(target0); } -void PythonQtShell_QGraphicsGridLayout::updateGeometry() +QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("recognize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"QGestureRecognizer::Result" , "QGesture*" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QGestureRecognizer::Result returnValue{}; + void* args[4] = {nullptr, (void*)&state0, (void*)&watched1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("recognize", methodInfo, result); + } else { + returnValue = *((QGestureRecognizer::Result*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsGridLayout::updateGeometry(); + return QGestureRecognizer::Result(); } -void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) +void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGesture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4867,269 +4579,294 @@ if (_wrapper) { } } } - QGraphicsGridLayout::widgetEvent(e0); + QGestureRecognizer::reset(state0); } -QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) +QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() { -return new PythonQtShell_QGraphicsGridLayout(parent); } +return new PythonQtShell_QGestureRecognizer(); } -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment) +QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) { - ( theWrappedObject->addItem(item, row, column, alignment)); + return ( theWrappedObject->create(target)); } -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment) +QGestureRecognizer::Result PythonQtWrapper_QGestureRecognizer::recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event) { - ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, alignment)); + return ( theWrappedObject->recognize(state, watched, event)); } -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const +Qt::GestureType PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer) { - return ( theWrappedObject->alignment(item)); + return (QGestureRecognizer::registerRecognizer(recognizer)); } -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const +void PythonQtWrapper_QGestureRecognizer::reset(QGestureRecognizer* theWrappedObject, QGesture* state) { - return ( theWrappedObject->columnAlignment(column)); + ( theWrappedObject->reset(state)); } -int PythonQtWrapper_QGraphicsGridLayout::columnCount(QGraphicsGridLayout* theWrappedObject) const +void PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type) { - return ( theWrappedObject->columnCount()); + (QGestureRecognizer::unregisterRecognizer(type)); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const + + +QGlyphRun* PythonQtWrapper_QGlyphRun::new_QGlyphRun() +{ +return new QGlyphRun(); } + +QGlyphRun* PythonQtWrapper_QGlyphRun::new_QGlyphRun(const QGlyphRun& other) +{ +return new QGlyphRun(other); } + +QRectF PythonQtWrapper_QGlyphRun::boundingRect(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->columnMaximumWidth(column)); + return ( theWrappedObject->boundingRect()); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const +void PythonQtWrapper_QGlyphRun::clear(QGlyphRun* theWrappedObject) { - return ( theWrappedObject->columnMinimumWidth(column)); + ( theWrappedObject->clear()); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const +QGlyphRun::GlyphRunFlags PythonQtWrapper_QGlyphRun::flags(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->columnPreferredWidth(column)); + return ( theWrappedObject->flags()); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const +QVector PythonQtWrapper_QGlyphRun::glyphIndexes(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->columnSpacing(column)); + return ( theWrappedObject->glyphIndexes()); } -int PythonQtWrapper_QGraphicsGridLayout::columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const +bool PythonQtWrapper_QGlyphRun::isEmpty(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->columnStretchFactor(column)); + return ( theWrappedObject->isEmpty()); } -qreal PythonQtWrapper_QGraphicsGridLayout::horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::isRightToLeft(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->horizontalSpacing()); + return ( theWrappedObject->isRightToLeft()); } -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const +bool PythonQtWrapper_QGlyphRun::__ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const { - return ( theWrappedObject->itemAt(row, column)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QGraphicsGridLayout::removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) +QGlyphRun* PythonQtWrapper_QGlyphRun::operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other) { - ( theWrappedObject->removeItem(item)); + return &( (*theWrappedObject)= other); } -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const +bool PythonQtWrapper_QGlyphRun::__eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const { - return ( theWrappedObject->rowAlignment(row)); + return ( (*theWrappedObject)== other); } -int PythonQtWrapper_QGraphicsGridLayout::rowCount(QGraphicsGridLayout* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::overline(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->overline()); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +QVector PythonQtWrapper_QGlyphRun::positions(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->rowMaximumHeight(row)); + return ( theWrappedObject->positions()); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +QRawFont PythonQtWrapper_QGlyphRun::rawFont(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->rowMinimumHeight(row)); + return ( theWrappedObject->rawFont()); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const +void PythonQtWrapper_QGlyphRun::setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect) { - return ( theWrappedObject->rowPreferredHeight(row)); + ( theWrappedObject->setBoundingRect(boundingRect)); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const +void PythonQtWrapper_QGlyphRun::setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled) { - return ( theWrappedObject->rowSpacing(row)); + ( theWrappedObject->setFlag(flag, enabled)); } -int PythonQtWrapper_QGraphicsGridLayout::rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const +void PythonQtWrapper_QGlyphRun::setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags) { - return ( theWrappedObject->rowStretchFactor(row)); + ( theWrappedObject->setFlags(flags)); } -void PythonQtWrapper_QGraphicsGridLayout::setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +void PythonQtWrapper_QGlyphRun::setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes) { - ( theWrappedObject->setAlignment(item, alignment)); + ( theWrappedObject->setGlyphIndexes(glyphIndexes)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment) +void PythonQtWrapper_QGlyphRun::setOverline(QGlyphRun* theWrappedObject, bool overline) { - ( theWrappedObject->setColumnAlignment(column, alignment)); + ( theWrappedObject->setOverline(overline)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +void PythonQtWrapper_QGlyphRun::setPositions(QGlyphRun* theWrappedObject, const QVector& positions) { - ( theWrappedObject->setColumnFixedWidth(column, width)); + ( theWrappedObject->setPositions(positions)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +void PythonQtWrapper_QGlyphRun::setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size) { - ( theWrappedObject->setColumnMaximumWidth(column, width)); + ( theWrappedObject->setRawData(glyphIndexArray, glyphPositionArray, size)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +void PythonQtWrapper_QGlyphRun::setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont) { - ( theWrappedObject->setColumnMinimumWidth(column, width)); + ( theWrappedObject->setRawFont(rawFont)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +void PythonQtWrapper_QGlyphRun::setRightToLeft(QGlyphRun* theWrappedObject, bool on) { - ( theWrappedObject->setColumnPreferredWidth(column, width)); + ( theWrappedObject->setRightToLeft(on)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing) +void PythonQtWrapper_QGlyphRun::setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut) { - ( theWrappedObject->setColumnSpacing(column, spacing)); + ( theWrappedObject->setStrikeOut(strikeOut)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch) +void PythonQtWrapper_QGlyphRun::setUnderline(QGlyphRun* theWrappedObject, bool underline) { - ( theWrappedObject->setColumnStretchFactor(column, stretch)); + ( theWrappedObject->setUnderline(underline)); } -void PythonQtWrapper_QGraphicsGridLayout::setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect) +bool PythonQtWrapper_QGlyphRun::strikeOut(QGlyphRun* theWrappedObject) const { - ( theWrappedObject->setGeometry(rect)); + return ( theWrappedObject->strikeOut()); } -void PythonQtWrapper_QGraphicsGridLayout::setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +void PythonQtWrapper_QGlyphRun::swap(QGlyphRun* theWrappedObject, QGlyphRun& other) { - ( theWrappedObject->setHorizontalSpacing(spacing)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment) +bool PythonQtWrapper_QGlyphRun::underline(QGlyphRun* theWrappedObject) const { - ( theWrappedObject->setRowAlignment(row, alignment)); + return ( theWrappedObject->underline()); } -void PythonQtWrapper_QGraphicsGridLayout::setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) + + +QGradient* PythonQtWrapper_QGradient::new_QGradient() +{ +return new QGradient(); } + +QGradient* PythonQtWrapper_QGradient::new_QGradient(QGradient::Preset arg__1) +{ +return new QGradient(arg__1); } + +QGradient::CoordinateMode PythonQtWrapper_QGradient::coordinateMode(QGradient* theWrappedObject) const { - ( theWrappedObject->setRowFixedHeight(row, height)); + return ( theWrappedObject->coordinateMode()); } -void PythonQtWrapper_QGraphicsGridLayout::setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +bool PythonQtWrapper_QGradient::__ne__(QGradient* theWrappedObject, const QGradient& other) const { - ( theWrappedObject->setRowMaximumHeight(row, height)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QGraphicsGridLayout::setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +bool PythonQtWrapper_QGradient::__eq__(QGradient* theWrappedObject, const QGradient& gradient) const { - ( theWrappedObject->setRowMinimumHeight(row, height)); + return ( (*theWrappedObject)== gradient); } -void PythonQtWrapper_QGraphicsGridLayout::setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +void PythonQtWrapper_QGradient::setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color) { - ( theWrappedObject->setRowPreferredHeight(row, height)); + ( theWrappedObject->setColorAt(pos, color)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing) +void PythonQtWrapper_QGradient::setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode) { - ( theWrappedObject->setRowSpacing(row, spacing)); + ( theWrappedObject->setCoordinateMode(mode)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch) +void PythonQtWrapper_QGradient::setSpread(QGradient* theWrappedObject, QGradient::Spread spread) { - ( theWrappedObject->setRowStretchFactor(row, stretch)); + ( theWrappedObject->setSpread(spread)); } -void PythonQtWrapper_QGraphicsGridLayout::setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +void PythonQtWrapper_QGradient::setStops(QGradient* theWrappedObject, const QVector >& stops) { - ( theWrappedObject->setSpacing(spacing)); + ( theWrappedObject->setStops(stops)); } -void PythonQtWrapper_QGraphicsGridLayout::setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +QGradient::Spread PythonQtWrapper_QGradient::spread(QGradient* theWrappedObject) const { - ( theWrappedObject->setVerticalSpacing(spacing)); + return ( theWrappedObject->spread()); } -QSizeF PythonQtWrapper_QGraphicsGridLayout::sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +QVector > PythonQtWrapper_QGradient::stops(QGradient* theWrappedObject) const { - return ( theWrappedObject->sizeHint(which, constraint)); + return ( theWrappedObject->stops()); } -qreal PythonQtWrapper_QGraphicsGridLayout::verticalSpacing(QGraphicsGridLayout* theWrappedObject) const +QGradient::Type PythonQtWrapper_QGradient::type(QGradient* theWrappedObject) const { - return ( theWrappedObject->verticalSpacing()); + return ( theWrappedObject->type()); } -PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QGraphicsAnchor::setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy) +{ + ( theWrappedObject->setSizePolicy(policy)); } -void PythonQtShell_QGraphicsItem::advance(int phase0) + +void PythonQtWrapper_QGraphicsAnchor::setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSpacing(spacing)); } - QGraphicsItem::advance(phase0); + +QSizePolicy::Policy PythonQtWrapper_QGraphicsAnchor::sizePolicy(QGraphicsAnchor* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); } -QRectF PythonQtShell_QGraphicsItem::boundingRect() const + +qreal PythonQtWrapper_QGraphicsAnchor::spacing(QGraphicsAnchor* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +void PythonQtWrapper_QGraphicsAnchor::unsetSpacing(QGraphicsAnchor* theWrappedObject) +{ + ( theWrappedObject->unsetSpacing()); +} + + + +PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QGraphicsAnchorLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5137,98 +4874,76 @@ if (_wrapper) { } } } - return QRectF(); + return QGraphicsAnchorLayout::count(); } -bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&other0, (void*)&mode1}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::collidesWithItem(other0, mode1); + QGraphicsAnchorLayout::getContentsMargins(left0, top1, right2, bottom3); } -bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsAnchorLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&path0, (void*)&mode1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::collidesWithPath(path0, mode1); + QGraphicsAnchorLayout::invalidate(); } -bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const +QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5236,21 +4951,21 @@ if (_wrapper) { } } } - return QGraphicsItem::contains(point0); + return QGraphicsAnchorLayout::itemAt(index0); } -void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5258,21 +4973,21 @@ if (_wrapper) { } } } - QGraphicsItem::contextMenuEvent(event0); + QGraphicsAnchorLayout::removeAt(index0); } -void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5280,43 +4995,54 @@ if (_wrapper) { } } } - QGraphicsItem::dragEnterEvent(event0); + QGraphicsAnchorLayout::setGeometry(rect0); } -void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +QSizeF PythonQtShell_QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::dragLeaveEvent(event0); + return QGraphicsAnchorLayout::sizeHint(which0, constraint1); } -void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5324,21 +5050,21 @@ if (_wrapper) { } } } - QGraphicsItem::dragMoveEvent(event0); + QGraphicsAnchorLayout::updateGeometry(); } -void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5346,32 +5072,87 @@ if (_wrapper) { } } } - QGraphicsItem::dropEvent(event0); + QGraphicsAnchorLayout::widgetEvent(e0); } -QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const +QGraphicsAnchorLayout* PythonQtWrapper_QGraphicsAnchorLayout::new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsAnchorLayout(parent); } + +QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) +{ + return ( theWrappedObject->addAnchor(firstItem, firstEdge, secondItem, secondEdge)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations) +{ + ( theWrappedObject->addAnchors(firstItem, secondItem, orientations)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner) +{ + ( theWrappedObject->addCornerAnchors(firstItem, firstCorner, secondItem, secondCorner)); +} + +QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::anchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) +{ + return ( theWrappedObject->anchor(firstItem, firstEdge, secondItem, secondEdge)); +} + +qreal PythonQtWrapper_QGraphicsAnchorLayout::horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsAnchorLayout::setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5379,21 +5160,21 @@ if (_wrapper) { } } } - return QGraphicsItem::extension(variant0); + return QGraphicsBlurEffect::boundingRectFor(rect0); } -void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5401,21 +5182,21 @@ if (_wrapper) { } } } - QGraphicsItem::focusInEvent(event0); + QGraphicsBlurEffect::childEvent(event0); } -void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5423,21 +5204,21 @@ if (_wrapper) { } } } - QGraphicsItem::focusOutEvent(event0); + QGraphicsBlurEffect::customEvent(event0); } -void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5445,65 +5226,87 @@ if (_wrapper) { } } } - QGraphicsItem::hoverEnterEvent(event0); + QGraphicsBlurEffect::draw(painter0); } -void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::hoverLeaveEvent(event0); + return QGraphicsBlurEffect::event(event0); } -void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::hoverMoveEvent(event0); + return QGraphicsBlurEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5511,65 +5314,87 @@ if (_wrapper) { } } } - QGraphicsItem::inputMethodEvent(event0); + QGraphicsBlurEffect::sourceChanged(flags0); } -QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::inputMethodQuery(query0); + QGraphicsBlurEffect::timerEvent(event0); } -bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const +QGraphicsBlurEffect* PythonQtWrapper_QGraphicsBlurEffect::new_QGraphicsBlurEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsBlurEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsBlurEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsBlurEffect::staticMetaObject); + } else { + return &QGraphicsBlurEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsBlurEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsBlurEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QGraphicsBlurEffect::BlurHints PythonQtWrapper_QGraphicsBlurEffect::blurHints(QGraphicsBlurEffect* theWrappedObject) const +{ + return ( theWrappedObject->blurHints()); +} + +qreal PythonQtWrapper_QGraphicsBlurEffect::blurRadius(QGraphicsBlurEffect* theWrappedObject) const +{ + return ( theWrappedObject->blurRadius()); +} + + + +PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&sourceRect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5577,57 +5402,43 @@ if (_wrapper) { } } } - return QGraphicsItem::isObscuredBy(item0); + return QGraphicsColorizeEffect::boundingRectFor(sourceRect0); } -QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&change0, (void*)&value1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::itemChange(change0, value1); + QGraphicsColorizeEffect::childEvent(event0); } -void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5635,21 +5446,21 @@ if (_wrapper) { } } } - QGraphicsItem::keyPressEvent(event0); + QGraphicsColorizeEffect::customEvent(event0); } -void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5657,65 +5468,87 @@ if (_wrapper) { } } } - QGraphicsItem::keyReleaseEvent(event0); + QGraphicsColorizeEffect::draw(painter0); } -void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::mouseDoubleClickEvent(event0); + return QGraphicsColorizeEffect::event(event0); } -void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::mouseMoveEvent(event0); + return QGraphicsColorizeEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5723,21 +5556,21 @@ if (_wrapper) { } } } - QGraphicsItem::mousePressEvent(event0); + QGraphicsColorizeEffect::sourceChanged(flags0); } -void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5745,32 +5578,65 @@ if (_wrapper) { } } } - QGraphicsItem::mouseReleaseEvent(event0); + QGraphicsColorizeEffect::timerEvent(event0); } -QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const +QGraphicsColorizeEffect* PythonQtWrapper_QGraphicsColorizeEffect::new_QGraphicsColorizeEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsColorizeEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsColorizeEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsColorizeEffect::staticMetaObject); + } else { + return &QGraphicsColorizeEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsColorizeEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsColorizeEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QColor PythonQtWrapper_QGraphicsColorizeEffect::color(QGraphicsColorizeEffect* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +qreal PythonQtWrapper_QGraphicsColorizeEffect::strength(QGraphicsColorizeEffect* theWrappedObject) const +{ + return ( theWrappedObject->strength()); +} + + + +PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5778,21 +5644,21 @@ if (_wrapper) { } } } - return QGraphicsItem::opaqueArea(); + return QGraphicsDropShadowEffect::boundingRectFor(rect0); } -void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5800,32 +5666,76 @@ if (_wrapper) { } } } - + QGraphicsDropShadowEffect::childEvent(event0); } -bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsDropShadowEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsDropShadowEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5833,32 +5743,32 @@ if (_wrapper) { } } } - return QGraphicsItem::sceneEvent(event0); + return QGraphicsDropShadowEffect::event(event0); } -bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5866,21 +5776,21 @@ if (_wrapper) { } } } - return QGraphicsItem::sceneEventFilter(watched0, event1); + return QGraphicsDropShadowEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5888,65 +5798,102 @@ if (_wrapper) { } } } - QGraphicsItem::setExtension(extension0, variant1); + QGraphicsDropShadowEffect::sourceChanged(flags0); } -QPainterPath PythonQtShell_QGraphicsItem::shape() const +void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::shape(); + QGraphicsDropShadowEffect::timerEvent(event0); } -bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const +QGraphicsDropShadowEffect* PythonQtWrapper_QGraphicsDropShadowEffect::new_QGraphicsDropShadowEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsDropShadowEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsDropShadowEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsDropShadowEffect::staticMetaObject); + } else { + return &QGraphicsDropShadowEffect::staticMetaObject; + } +} +int PythonQtShell_QGraphicsDropShadowEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsDropShadowEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QGraphicsDropShadowEffect::blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->blurRadius()); +} + +QColor PythonQtWrapper_QGraphicsDropShadowEffect::color(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +QPointF PythonQtWrapper_QGraphicsDropShadowEffect::offset(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +qreal PythonQtWrapper_QGraphicsDropShadowEffect::xOffset(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->xOffset()); +} + +qreal PythonQtWrapper_QGraphicsDropShadowEffect::yOffset(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->yOffset()); +} + + + +PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&sourceRect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5954,54 +5901,43 @@ if (_wrapper) { } } } - return QGraphicsItem::supportsExtension(extension0); + return QGraphicsEffect::boundingRectFor(sourceRect0); } -int PythonQtShell_QGraphicsItem::type() const +void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::type(); + QGraphicsEffect::childEvent(event0); } -void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6009,1063 +5945,2005 @@ if (_wrapper) { } } } - QGraphicsItem::wheelEvent(event0); + QGraphicsEffect::customEvent(event0); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsItem(parent); } - -bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { - return ( theWrappedObject->acceptDrops()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::acceptHoverEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->acceptHoverEvents()); + } - -bool PythonQtWrapper_QGraphicsItem::acceptTouchEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->acceptTouchEvents()); -} - -Qt::MouseButtons PythonQtWrapper_QGraphicsItem::acceptedMouseButtons(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->acceptedMouseButtons()); -} - -void PythonQtWrapper_QGraphicsItem::addToIndex(QGraphicsItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_addToIndex()); -} - -void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) +bool PythonQtShell_QGraphicsEffect::event(QEvent* event0) { - ( theWrappedObject->advance(phase)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::boundingRect(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); + return QGraphicsEffect::event(event0); } - -QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const +bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->boundingRegion(itemToDeviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRegionGranularity()); + return QGraphicsEffect::eventFilter(watched0, event1); } - -QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { - return ( theWrappedObject->cacheMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sourceChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&flags0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->childItems()); + QGraphicsEffect::sourceChanged(flags0); } - -QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->childrenBoundingRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->clearFocus()); + QGraphicsEffect::timerEvent(event0); } +QGraphicsEffect* PythonQtWrapper_QGraphicsEffect::new_QGraphicsEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsEffect(parent); } -QPainterPath PythonQtWrapper_QGraphicsItem::clipPath(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->clipPath()); +const QMetaObject* PythonQtShell_QGraphicsEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsEffect::staticMetaObject); + } else { + return &QGraphicsEffect::staticMetaObject; + } } - -bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->collidesWithItem(other, mode)); +int PythonQtShell_QGraphicsEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +QRectF PythonQtWrapper_QGraphicsEffect::boundingRect(QGraphicsEffect* theWrappedObject) const { - return ( theWrappedObject->collidesWithPath(path, mode)); + return ( theWrappedObject->boundingRect()); } -QList PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const +QRectF PythonQtWrapper_QGraphicsEffect::boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const { - return ( theWrappedObject->collidingItems(mode)); + return ( theWrappedObject->boundingRectFor(sourceRect)); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const +void PythonQtWrapper_QGraphicsEffect::draw(QGraphicsEffect* theWrappedObject, QPainter* painter) { - return ( theWrappedObject->commonAncestorItem(other)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_draw(painter)); } -bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const +void PythonQtWrapper_QGraphicsEffect::drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter) { - return ( theWrappedObject->contains(point)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_drawSource(painter)); } -void PythonQtWrapper_QGraphicsItem::contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +bool PythonQtWrapper_QGraphicsEffect::isEnabled(QGraphicsEffect* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contextMenuEvent(event)); + return ( theWrappedObject->isEnabled()); } -QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsEffect::sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system) const { - return ( theWrappedObject->cursor()); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceBoundingRect(system)); } -QVariant PythonQtWrapper_QGraphicsItem::data(QGraphicsItem* theWrappedObject, int key) const +void PythonQtWrapper_QGraphicsEffect::sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags) { - return ( theWrappedObject->data(key)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceChanged(flags)); } -QTransform PythonQtWrapper_QGraphicsItem::deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const +bool PythonQtWrapper_QGraphicsEffect::sourceIsPixmap(QGraphicsEffect* theWrappedObject) const { - return ( theWrappedObject->deviceTransform(viewportTransform)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceIsPixmap()); } -void PythonQtWrapper_QGraphicsItem::dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +QPixmap PythonQtWrapper_QGraphicsEffect::sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system, QPoint* offset, QGraphicsEffect::PixmapPadMode mode) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragEnterEvent(event)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourcePixmap(system, offset, mode)); } -void PythonQtWrapper_QGraphicsItem::dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGraphicsEffect::updateBoundingRect(QGraphicsEffect* theWrappedObject) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_updateBoundingRect()); } -void PythonQtWrapper_QGraphicsItem::dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragMoveEvent(event)); -} -void PythonQtWrapper_QGraphicsItem::dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dropEvent(event)); -} -qreal PythonQtWrapper_QGraphicsItem::effectiveOpacity(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->effectiveOpacity()); +PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +void PythonQtShell_QGraphicsEllipseItem::advance(int phase0) { - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -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)); + QGraphicsEllipseItem::advance(phase0); } - -QVariant PythonQtWrapper_QGraphicsItem::extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const +QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_extension(variant)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::filtersChildEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->filtersChildEvents()); + return QGraphicsEllipseItem::boundingRect(); } - -QGraphicsItem::GraphicsItemFlags PythonQtWrapper_QGraphicsItem::flags(QGraphicsItem* theWrappedObject) const +bool PythonQtShell_QGraphicsEllipseItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QGraphicsItem::focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusInEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusItem(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->focusItem()); + return QGraphicsEllipseItem::collidesWithItem(other0, mode1); } - -void PythonQtWrapper_QGraphicsItem::focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) +bool PythonQtShell_QGraphicsEllipseItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusOutEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusProxy(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->focusProxy()); + return QGraphicsEllipseItem::collidesWithPath(path0, mode1); } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusScopeItem(QGraphicsItem* theWrappedObject) const +bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const { - return ( theWrappedObject->focusScopeItem()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::grabKeyboard(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->grabKeyboard()); + return QGraphicsEllipseItem::contains(point0); } - -void PythonQtWrapper_QGraphicsItem::grabMouse(QGraphicsItem* theWrappedObject) +void PythonQtShell_QGraphicsEllipseItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - ( theWrappedObject->grabMouse()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsEffect* PythonQtWrapper_QGraphicsItem::graphicsEffect(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->graphicsEffect()); + QGraphicsEllipseItem::contextMenuEvent(event0); } - -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItem::group(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->group()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::handlesChildEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->handlesChildEvents()); + QGraphicsEllipseItem::dragEnterEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->hasCursor()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); + QGraphicsEllipseItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject) +void PythonQtShell_QGraphicsEllipseItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->hide()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); + QGraphicsEllipseItem::dragMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtShell_QGraphicsEllipseItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); + QGraphicsEllipseItem::dropEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event) +QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant0) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::InputMethodHints PythonQtWrapper_QGraphicsItem::inputMethodHints(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->inputMethodHints()); + return QGraphicsEllipseItem::extension(variant0); } - -QVariant PythonQtWrapper_QGraphicsItem::inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const +void PythonQtShell_QGraphicsEllipseItem::focusInEvent(QFocusEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodQuery(query)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) -{ - ( theWrappedObject->installSceneEventFilter(filterItem)); + QGraphicsEllipseItem::focusInEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isActive(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->isActive()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const -{ - return ( theWrappedObject->isAncestorOf(child)); + QGraphicsEllipseItem::focusOutEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel) const +void PythonQtShell_QGraphicsEllipseItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->isBlockedByModalPanel(blockingPanel)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isClipped(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isClipped()); + QGraphicsEllipseItem::hoverEnterEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->isEnabled()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->isObscured(rect)); + QGraphicsEllipseItem::hoverLeaveEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QGraphicsEllipseItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->isObscured(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( theWrappedObject->isObscuredBy(item)); + QGraphicsEllipseItem::hoverMoveEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isPanel(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->isPanel()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); + QGraphicsEllipseItem::inputMethodEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) const +QVariant PythonQtShell_QGraphicsEllipseItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - return ( theWrappedObject->isUnderMouse()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); + return QGraphicsEllipseItem::inputMethodQuery(query0); } - -bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const +bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const { - return ( theWrappedObject->isVisibleTo(parent)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isWidget()); + return QGraphicsEllipseItem::isObscuredBy(item0); } - -bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const +QVariant PythonQtShell_QGraphicsEllipseItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - return ( theWrappedObject->isWindow()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QVariant PythonQtWrapper_QGraphicsItem::itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_itemChange(change, value)); + return QGraphicsEllipseItem::itemChange(change0, value1); } - -QTransform PythonQtWrapper_QGraphicsItem::itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok) const +void PythonQtShell_QGraphicsEllipseItem::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->itemTransform(other, ok)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyPressEvent(event)); + QGraphicsEllipseItem::keyPressEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +void PythonQtShell_QGraphicsEllipseItem::keyReleaseEvent(QKeyEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromItem(item, path)); + QGraphicsEllipseItem::keyReleaseEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const -{ - return ( theWrappedObject->mapFromItem(item, point)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromItem(item, polygon)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromItem(item, rect)); -} - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromItem(item, x, y)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QGraphicsEllipseItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->mapFromItem(item, x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromParent(path)); + QGraphicsEllipseItem::mouseDoubleClickEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const +void PythonQtShell_QGraphicsEllipseItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->mapFromParent(point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromParent(polygon)); + QGraphicsEllipseItem::mouseMoveEvent(event0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +void PythonQtShell_QGraphicsEllipseItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->mapFromParent(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromParent(x, y)); + QGraphicsEllipseItem::mousePressEvent(event0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QGraphicsEllipseItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->mapFromParent(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromScene(path)); + QGraphicsEllipseItem::mouseReleaseEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const +QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { - return ( theWrappedObject->mapFromScene(point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromScene(polygon)); + return QGraphicsEllipseItem::opaqueArea(); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - return ( theWrappedObject->mapFromScene(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromScene(x, y)); + QGraphicsEllipseItem::paint(painter0, option1, widget2); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +bool PythonQtShell_QGraphicsEllipseItem::sceneEvent(QEvent* event0) { - return ( theWrappedObject->mapFromScene(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectFromItem(item, rect)); + return QGraphicsEllipseItem::sceneEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +bool PythonQtShell_QGraphicsEllipseItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - return ( theWrappedObject->mapRectFromItem(item, x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectFromParent(rect)); + return QGraphicsEllipseItem::sceneEventFilter(watched0, event1); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - return ( theWrappedObject->mapRectFromParent(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectFromScene(rect)); + QGraphicsEllipseItem::setExtension(extension0, variant1); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const { - return ( theWrappedObject->mapRectFromScene(x, y, w, h)); -} - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectToItem(item, rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapRectToItem(item, x, y, w, h)); + return QGraphicsEllipseItem::shape(); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension0) const { - return ( theWrappedObject->mapRectToParent(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapRectToParent(x, y, w, h)); + return QGraphicsEllipseItem::supportsExtension(extension0); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +int PythonQtShell_QGraphicsEllipseItem::type() const { - return ( theWrappedObject->mapRectToScene(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapRectToScene(x, y, w, h)); + return QGraphicsEllipseItem::type(); } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const +void PythonQtShell_QGraphicsEllipseItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - return ( theWrappedObject->mapToItem(item, path)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const -{ - return ( theWrappedObject->mapToItem(item, point)); + QGraphicsEllipseItem::wheelEvent(event0); } +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(parent); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapToItem(item, polygon)); -} +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(rect, parent); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapToItem(item, rect)); -} +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent); } -QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const +QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const { - return ( theWrappedObject->mapToItem(item, x, y)); + return ( theWrappedObject->rect()); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect) { - return ( theWrappedObject->mapToItem(item, x, y, w, h)); + ( theWrappedObject->setRect(rect)); } -QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { - return ( theWrappedObject->mapToParent(path)); + ( theWrappedObject->setRect(x, y, w, h)); } -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const +void PythonQtWrapper_QGraphicsEllipseItem::setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle) { - return ( theWrappedObject->mapToParent(point)); + ( theWrappedObject->setSpanAngle(angle)); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +void PythonQtWrapper_QGraphicsEllipseItem::setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle) { - return ( theWrappedObject->mapToParent(polygon)); + ( theWrappedObject->setStartAngle(angle)); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const { - return ( theWrappedObject->mapToParent(rect)); + return ( theWrappedObject->spanAngle()); } -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const { - return ( theWrappedObject->mapToParent(x, y)); + return ( theWrappedObject->startAngle()); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapToParent(x, y, w, h)); -} -QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToScene(path)); -} -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapToScene(point)); +PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +int PythonQtShell_QGraphicsGridLayout::count() const { - return ( theWrappedObject->mapToScene(polygon)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("count"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapToScene(rect)); + return QGraphicsGridLayout::count(); } - -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { - return ( theWrappedObject->mapToScene(x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getContentsMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapToScene(x, y, w, h)); + QGraphicsGridLayout::getContentsMargins(left0, top1, right2, bottom3); } - -void PythonQtWrapper_QGraphicsItem::mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtShell_QGraphicsGridLayout::invalidate() { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("invalidate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); + QGraphicsGridLayout::invalidate(); } - -void PythonQtWrapper_QGraphicsItem::mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mousePressEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) + return QGraphicsGridLayout::itemAt(index0); +} +void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) + QGraphicsGridLayout::removeAt(index0); +} +void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) { - ( theWrappedObject->moveBy(dx, dy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&rect0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsItem::opacity(QGraphicsItem* theWrappedObject) const + QGraphicsGridLayout::setGeometry(rect0); +} +QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { - return ( theWrappedObject->opacity()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const + return QGraphicsGridLayout::sizeHint(which0, constraint1); +} +void PythonQtShell_QGraphicsGridLayout::updateGeometry() { - return ( theWrappedObject->opaqueArea()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) + QGraphicsGridLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { - ( theWrappedObject->paint(painter, option, widget)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widgetEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsGridLayout::widgetEvent(e0); } +QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsGridLayout(parent); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::panel(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment) { - return ( theWrappedObject->panel()); + ( theWrappedObject->addItem(item, row, column, alignment)); } -QGraphicsItem::PanelModality PythonQtWrapper_QGraphicsItem::panelModality(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment) { - return ( theWrappedObject->panelModality()); + ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, alignment)); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const { - return ( theWrappedObject->parentItem()); + return ( theWrappedObject->alignment(item)); } -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const { - return ( theWrappedObject->parentWidget()); + return ( theWrappedObject->columnAlignment(column)); } -QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const +int PythonQtWrapper_QGraphicsGridLayout::columnCount(QGraphicsGridLayout* theWrappedObject) const { - return ( theWrappedObject->pos()); + return ( theWrappedObject->columnCount()); } -void PythonQtWrapper_QGraphicsItem::prepareGeometryChange(QGraphicsItem* theWrappedObject) +qreal PythonQtWrapper_QGraphicsGridLayout::columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_prepareGeometryChange()); + return ( theWrappedObject->columnMaximumWidth(column)); } -void PythonQtWrapper_QGraphicsItem::removeFromIndex(QGraphicsItem* theWrappedObject) +qreal PythonQtWrapper_QGraphicsGridLayout::columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_removeFromIndex()); + return ( theWrappedObject->columnMinimumWidth(column)); } -void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +qreal PythonQtWrapper_QGraphicsGridLayout::columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const { - ( theWrappedObject->removeSceneEventFilter(filterItem)); + return ( theWrappedObject->columnPreferredWidth(column)); } -void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) +qreal PythonQtWrapper_QGraphicsGridLayout::columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const { - ( theWrappedObject->resetTransform()); + return ( theWrappedObject->columnSpacing(column)); } -qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const +int PythonQtWrapper_QGraphicsGridLayout::columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const { - return ( theWrappedObject->rotation()); + return ( theWrappedObject->columnStretchFactor(column)); } -qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsGridLayout::horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const { - return ( theWrappedObject->scale()); + return ( theWrappedObject->horizontalSpacing()); } -QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const { - return ( theWrappedObject->scene()); + return ( theWrappedObject->itemAt(row, column)); } -QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsGridLayout::removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) { - return ( theWrappedObject->sceneBoundingRect()); + ( theWrappedObject->removeItem(item)); } -bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); + return ( theWrappedObject->rowAlignment(row)); } -bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) +int PythonQtWrapper_QGraphicsGridLayout::rowCount(QGraphicsGridLayout* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); + return ( theWrappedObject->rowCount()); } -QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsGridLayout::rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const { - return ( theWrappedObject->scenePos()); + return ( theWrappedObject->rowMaximumHeight(row)); } -QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsGridLayout::rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const { - return ( theWrappedObject->sceneTransform()); + return ( theWrappedObject->rowMinimumHeight(row)); } -void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) +qreal PythonQtWrapper_QGraphicsGridLayout::rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->scroll(dx, dy, rect)); + return ( theWrappedObject->rowPreferredHeight(row)); } -void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) +qreal PythonQtWrapper_QGraphicsGridLayout::rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->setAcceptDrops(on)); + return ( theWrappedObject->rowSpacing(row)); } -void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) +int PythonQtWrapper_QGraphicsGridLayout::rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->setAcceptHoverEvents(enabled)); + return ( theWrappedObject->rowStretchFactor(row)); } -void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtWrapper_QGraphicsGridLayout::setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) { - ( theWrappedObject->setAcceptTouchEvents(enabled)); + ( theWrappedObject->setAlignment(item, alignment)); } -void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) +void PythonQtWrapper_QGraphicsGridLayout::setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment) { - ( theWrappedObject->setAcceptedMouseButtons(buttons)); + ( theWrappedObject->setColumnAlignment(column, alignment)); } -void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) +void PythonQtWrapper_QGraphicsGridLayout::setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - ( theWrappedObject->setActive(active)); + ( theWrappedObject->setColumnFixedWidth(column, width)); } -void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) +void PythonQtWrapper_QGraphicsGridLayout::setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - ( theWrappedObject->setBoundingRegionGranularity(granularity)); + ( theWrappedObject->setColumnMaximumWidth(column, width)); } -void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) +void PythonQtWrapper_QGraphicsGridLayout::setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - ( theWrappedObject->setCacheMode(mode, cacheSize)); + ( theWrappedObject->setColumnMinimumWidth(column, width)); } -void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) +void PythonQtWrapper_QGraphicsGridLayout::setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - ( theWrappedObject->setCursor(cursor)); + ( theWrappedObject->setColumnPreferredWidth(column, width)); } -void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value) -{ - ( theWrappedObject->setData(key, value)); -} - -void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtWrapper_QGraphicsGridLayout::setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing) { - ( theWrappedObject->setEnabled(enabled)); + ( theWrappedObject->setColumnSpacing(column, spacing)); } -void PythonQtWrapper_QGraphicsItem::setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant) +void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_setExtension(extension, variant)); + ( theWrappedObject->setColumnStretchFactor(column, stretch)); } -void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtWrapper_QGraphicsGridLayout::setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) { - ( theWrappedObject->setFiltersChildEvents(enabled)); + ( theWrappedObject->setHorizontalSpacing(spacing)); } -void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) +void PythonQtWrapper_QGraphicsGridLayout::setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment) { - ( theWrappedObject->setFlag(flag, enabled)); + ( theWrappedObject->setRowAlignment(row, alignment)); } -void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) +void PythonQtWrapper_QGraphicsGridLayout::setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) { - ( theWrappedObject->setFlags(flags)); + ( theWrappedObject->setRowFixedHeight(row, height)); } -void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) +void PythonQtWrapper_QGraphicsGridLayout::setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) { - ( theWrappedObject->setFocus(focusReason)); + ( theWrappedObject->setRowMaximumHeight(row, height)); } -void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) +void PythonQtWrapper_QGraphicsGridLayout::setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) { - ( theWrappedObject->setFocusProxy(item)); + ( theWrappedObject->setRowMinimumHeight(row, height)); } -void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) +void PythonQtWrapper_QGraphicsGridLayout::setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) { - ( theWrappedObject->setGraphicsEffect(effect)); + ( theWrappedObject->setRowPreferredHeight(row, height)); } -void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) +void PythonQtWrapper_QGraphicsGridLayout::setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing) { - ( theWrappedObject->setGroup(group)); + ( theWrappedObject->setRowSpacing(row, spacing)); } -void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtWrapper_QGraphicsGridLayout::setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch) { - ( theWrappedObject->setHandlesChildEvents(enabled)); + ( theWrappedObject->setRowStretchFactor(row, stretch)); } -void PythonQtWrapper_QGraphicsItem::setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints) +void PythonQtWrapper_QGraphicsGridLayout::setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) { - ( theWrappedObject->setInputMethodHints(hints)); + ( theWrappedObject->setSpacing(spacing)); } -void PythonQtWrapper_QGraphicsItem::setOpacity(QGraphicsItem* theWrappedObject, qreal opacity) +void PythonQtWrapper_QGraphicsGridLayout::setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) { - ( theWrappedObject->setOpacity(opacity)); + ( theWrappedObject->setVerticalSpacing(spacing)); } -void PythonQtWrapper_QGraphicsItem::setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality) +qreal PythonQtWrapper_QGraphicsGridLayout::verticalSpacing(QGraphicsGridLayout* theWrappedObject) const { - ( theWrappedObject->setPanelModality(panelModality)); + return ( theWrappedObject->verticalSpacing()); } -void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, PythonQtNewOwnerOfThis parent) -{ - ( theWrappedObject->setParentItem(parent)); -} -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setPos(x, y)); +PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QGraphicsItem::setRotation(QGraphicsItem* theWrappedObject, qreal angle) +void PythonQtShell_QGraphicsItem::advance(int phase0) { - ( theWrappedObject->setRotation(angle)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setScale(QGraphicsItem* theWrappedObject, qreal scale) -{ - ( theWrappedObject->setScale(scale)); + QGraphicsItem::advance(phase0); } - -void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) +QRectF PythonQtShell_QGraphicsItem::boundingRect() const { - ( theWrappedObject->setSelected(selected)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(toolTip)); + return QRectF(); } - -void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) +bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - ( theWrappedObject->setTransform(matrix, combine)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) -{ - ( theWrappedObject->setTransformOriginPoint(origin)); + return QGraphicsItem::collidesWithItem(other0, mode1); } - -void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) +bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - ( theWrappedObject->setTransformOriginPoint(ax, ay)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) -{ - ( theWrappedObject->setTransformations(transformations)); + return QGraphicsItem::collidesWithPath(path0, mode1); } - -void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) +bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { - ( theWrappedObject->setVisible(visible)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) -{ - ( theWrappedObject->setX(x)); + return QGraphicsItem::contains(point0); } - -void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) +void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - ( theWrappedObject->setY(y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) -{ - ( theWrappedObject->setZValue(z)); + QGraphicsItem::contextMenuEvent(event0); } - -QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->shape()); -} - -void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->show()); -} - -void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) -{ - ( theWrappedObject->stackBefore(sibling)); -} - -bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->topLevelItem()); -} - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->topLevelWidget()); -} - -QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->transform()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->transformOriginPoint()); + QGraphicsItem::dragEnterEvent(event0); } - -QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->transformations()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); + QGraphicsItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) +void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->ungrabKeyboard()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->ungrabMouse()); + QGraphicsItem::dragMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) +void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->unsetCursor()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->update(rect)); + QGraphicsItem::dropEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) +QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const { - ( theWrappedObject->update(x, y, width, height)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::updateMicroFocus(QGraphicsItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_updateMicroFocus()); + return QGraphicsItem::extension(variant0); } - -void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) +void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_wheelEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::window(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->window()); + QGraphicsItem::focusInEvent(event0); } - -qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->x()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->y()); + QGraphicsItem::focusOutEvent(event0); } - -qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->zValue()); -} - -QString PythonQtWrapper_QGraphicsItem::py_toString(QGraphicsItem* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) +void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("afterAnimationStep"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7073,21 +7951,21 @@ if (_wrapper) { } } } - QGraphicsItemAnimation::afterAnimationStep(step0); + QGraphicsItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) +void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beforeAnimationStep"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7095,179 +7973,21 @@ if (_wrapper) { } } } - QGraphicsItemAnimation::beforeAnimationStep(step0); + QGraphicsItem::hoverMoveEvent(event0); } -QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) -{ -return new PythonQtShell_QGraphicsItemAnimation(parent); } - -const QMetaObject* PythonQtShell_QGraphicsItemAnimation::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsItemAnimation::staticMetaObject); - } else { - return &QGraphicsItemAnimation::staticMetaObject; - } -} -int PythonQtShell_QGraphicsItemAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsItemAnimation::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsItemAnimation::afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) -{ - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_afterAnimationStep(step)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) -{ - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->horizontalScaleAt(step)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->horizontalShearAt(step)); -} - -QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->item()); -} - -QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->matrixAt(step)); -} - -QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->posAt(step)); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->posList()); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->rotationAt(step)); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->rotationList()); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::scaleList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->scaleList()); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->setItem(item)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos) -{ - ( theWrappedObject->setPosAt(step, pos)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle) -{ - ( theWrappedObject->setRotationAt(step, angle)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy) -{ - ( theWrappedObject->setScaleAt(step, sx, sy)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv) -{ - ( theWrappedObject->setShearAt(step, sh, sv)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine) -{ - ( theWrappedObject->setTimeLine(timeLine)); -} - -void PythonQtWrapper_QGraphicsItemAnimation::setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy) -{ - ( theWrappedObject->setTranslationAt(step, dx, dy)); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::shearList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->shearList()); -} - -QTimeLine* PythonQtWrapper_QGraphicsItemAnimation::timeLine(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->timeLine()); -} - -QTransform PythonQtWrapper_QGraphicsItemAnimation::transformAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->transformAt(step)); -} - -QList > PythonQtWrapper_QGraphicsItemAnimation::translationList(QGraphicsItemAnimation* theWrappedObject) const -{ - return ( theWrappedObject->translationList()); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->verticalScaleAt(step)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->verticalShearAt(step)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->xTranslationAt(step)); -} - -qreal PythonQtWrapper_QGraphicsItemAnimation::yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const -{ - return ( theWrappedObject->yTranslationAt(step)); -} - - - -PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsItemGroup::advance(int phase0) +void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7275,32 +7995,32 @@ if (_wrapper) { } } } - QGraphicsItemGroup::advance(phase0); + QGraphicsItem::inputMethodEvent(event0); } -QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const +QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7308,32 +8028,32 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::boundingRect(); + return QGraphicsItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7341,87 +8061,79 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::collidesWithItem(other0, mode1); + return QGraphicsItem::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::collidesWithPath(path0, mode1); + return QGraphicsItem::itemChange(change0, value1); } -bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::contains(point0); + QGraphicsItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7429,21 +8141,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::contextMenuEvent(event0); + QGraphicsItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7451,21 +8163,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragEnterEvent(event0); + QGraphicsItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7473,21 +8185,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragLeaveEvent(event0); + QGraphicsItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7495,21 +8207,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragMoveEvent(event0); + QGraphicsItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7517,32 +8229,32 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dropEvent(event0); + QGraphicsItem::mouseReleaseEvent(event0); } -QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const +QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7550,65 +8262,21 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::extension(variant0); -} -void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsItemGroup::focusInEvent(event0); -} -void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsItemGroup::focusOutEvent(event0); + return QGraphicsItem::opaqueArea(); } -void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7616,65 +8284,87 @@ if (_wrapper) { } } } - QGraphicsItemGroup::hoverEnterEvent(event0); + } -void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::hoverLeaveEvent(event0); + return QGraphicsItem::sceneEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::hoverMoveEvent(event0); + return QGraphicsItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7682,32 +8372,32 @@ if (_wrapper) { } } } - QGraphicsItemGroup::inputMethodEvent(event0); + QGraphicsItem::setExtension(extension0, variant1); } -QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const +QPainterPath PythonQtShell_QGraphicsItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7715,32 +8405,32 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::inputMethodQuery(query0); + return QGraphicsItem::shape(); } -bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7748,57 +8438,54 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::isObscuredBy(item0); + return QGraphicsItem::supportsExtension(extension0); } -QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +int PythonQtShell_QGraphicsItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&change0, (void*)&value1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::itemChange(change0, value1); + return QGraphicsItem::type(); } -void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7806,711 +8493,1073 @@ if (_wrapper) { } } } - QGraphicsItemGroup::keyPressEvent(event0); + QGraphicsItem::wheelEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) +QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsItem(parent); } + +bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsItemGroup::keyReleaseEvent(event0); + return ( theWrappedObject->acceptDrops()); } -void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) + +bool PythonQtWrapper_QGraphicsItem::acceptHoverEvents(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsItemGroup::mouseDoubleClickEvent(event0); + return ( theWrappedObject->acceptHoverEvents()); } -void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) + +bool PythonQtWrapper_QGraphicsItem::acceptTouchEvents(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->acceptTouchEvents()); } - QGraphicsItemGroup::mouseMoveEvent(event0); + +Qt::MouseButtons PythonQtWrapper_QGraphicsItem::acceptedMouseButtons(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptedMouseButtons()); } -void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsItem::addToIndex(QGraphicsItem* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsItemGroup::mousePressEvent(event0); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_addToIndex()); } -void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsItemGroup::mouseReleaseEvent(event0); + ( theWrappedObject->advance(phase)); } -QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const + +QRectF PythonQtWrapper_QGraphicsItem::boundingRect(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->boundingRect()); } - return QGraphicsItemGroup::opaqueArea(); + +QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const +{ + return ( theWrappedObject->boundingRegion(itemToDeviceTransform)); } -void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) + +qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->boundingRegionGranularity()); } - QGraphicsItemGroup::paint(painter0, option1, widget2); + +QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->cacheMode()); } -bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) + +QList PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->childItems()); } - return QGraphicsItemGroup::sceneEvent(event0); + +QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->childrenBoundingRect()); } -bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) + +void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->clearFocus()); } - return QGraphicsItemGroup::sceneEventFilter(watched0, event1); + +QPainterPath PythonQtWrapper_QGraphicsItem::clipPath(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->clipPath()); } -void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) + +bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->collidesWithItem(other, mode)); } - QGraphicsItemGroup::setExtension(extension0, variant1); + +bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->collidesWithPath(path, mode)); } -QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const + +QList PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->collidingItems(mode)); } - return QGraphicsItemGroup::shape(); + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const +{ + return ( theWrappedObject->commonAncestorItem(other)); } -bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const + +bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->contains(point)); } - return QGraphicsItemGroup::supportsExtension(extension0); + +void PythonQtWrapper_QGraphicsItem::contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contextMenuEvent(event)); } -int PythonQtShell_QGraphicsItemGroup::type() const + +QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->cursor()); +} + +QVariant PythonQtWrapper_QGraphicsItem::data(QGraphicsItem* theWrappedObject, int key) const +{ + return ( theWrappedObject->data(key)); +} + +QTransform PythonQtWrapper_QGraphicsItem::deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const +{ + return ( theWrappedObject->deviceTransform(viewportTransform)); +} + +void PythonQtWrapper_QGraphicsItem::dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragEnterEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dropEvent(event)); +} + +qreal PythonQtWrapper_QGraphicsItem::effectiveOpacity(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->effectiveOpacity()); +} + +void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); +} + +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)); +} + +QVariant PythonQtWrapper_QGraphicsItem::extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_extension(variant)); +} + +bool PythonQtWrapper_QGraphicsItem::filtersChildEvents(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->filtersChildEvents()); +} + +QGraphicsItem::GraphicsItemFlags PythonQtWrapper_QGraphicsItem::flags(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +void PythonQtWrapper_QGraphicsItem::focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusInEvent(event)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->focusItem()); +} + +void PythonQtWrapper_QGraphicsItem::focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusOutEvent(event)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusProxy(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->focusProxy()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusScopeItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->focusScopeItem()); +} + +void PythonQtWrapper_QGraphicsItem::grabKeyboard(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->grabKeyboard()); +} + +void PythonQtWrapper_QGraphicsItem::grabMouse(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->grabMouse()); +} + +QGraphicsEffect* PythonQtWrapper_QGraphicsItem::graphicsEffect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->graphicsEffect()); +} + +QGraphicsItemGroup* PythonQtWrapper_QGraphicsItem::group(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +bool PythonQtWrapper_QGraphicsItem::handlesChildEvents(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->handlesChildEvents()); +} + +bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->hasCursor()); +} + +bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->hide()); +} + +void PythonQtWrapper_QGraphicsItem::hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodEvent(event)); +} + +Qt::InputMethodHints PythonQtWrapper_QGraphicsItem::inputMethodHints(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->inputMethodHints()); +} + +QVariant PythonQtWrapper_QGraphicsItem::inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodQuery(query)); +} + +void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +{ + ( theWrappedObject->installSceneEventFilter(filterItem)); +} + +bool PythonQtWrapper_QGraphicsItem::isActive(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const +{ + return ( theWrappedObject->isAncestorOf(child)); +} + +bool PythonQtWrapper_QGraphicsItem::isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel) const +{ + return ( theWrappedObject->isBlockedByModalPanel(blockingPanel)); +} + +bool PythonQtWrapper_QGraphicsItem::isClipped(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isClipped()); +} + +bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->isObscured(rect)); +} + +bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->isObscured(x, y, w, h)); +} + +bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const +{ + return ( theWrappedObject->isObscuredBy(item)); +} + +bool PythonQtWrapper_QGraphicsItem::isPanel(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isPanel()); +} + +bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isUnderMouse()); +} + +bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const +{ + return ( theWrappedObject->isVisibleTo(parent)); +} + +bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isWidget()); +} + +bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isWindow()); +} + +QVariant PythonQtWrapper_QGraphicsItem::itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_itemChange(change, value)); +} + +QTransform PythonQtWrapper_QGraphicsItem::itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok) const +{ + return ( theWrappedObject->itemTransform(other, ok)); +} + +void PythonQtWrapper_QGraphicsItem::keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromItem(item, path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapFromItem(item, point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromItem(item, polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromItem(item, rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromItem(item, x, y)); +} + +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)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromParent(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromParent(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromParent(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromParent(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromParent(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromParent(x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromScene(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromScene(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromScene(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromScene(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromScene(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromScene(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromItem(item, rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectFromItem(item, x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromParent(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectFromParent(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromScene(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectFromScene(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToItem(item, rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectToItem(item, x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToParent(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectToParent(x, y, w, h)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToScene(rect)); +} + +QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapRectToScene(x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToItem(item, path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapToItem(item, point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapToItem(item, polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapToItem(item, rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const +{ + return ( theWrappedObject->mapToItem(item, x, y)); +} + +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)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToParent(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToParent(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapToParent(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapToParent(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapToParent(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapToParent(x, y, w, h)); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToScene(path)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToScene(point)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapToScene(polygon)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapToScene(rect)); +} + +QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapToScene(x, y)); +} + +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapToScene(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsItem::mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QGraphicsItem::moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->moveBy(dx, dy)); +} + +qreal PythonQtWrapper_QGraphicsItem::opacity(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->opaqueArea()); +} + +void PythonQtWrapper_QGraphicsItem::paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paint(painter, option, widget)); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::panel(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->panel()); +} + +QGraphicsItem::PanelModality PythonQtWrapper_QGraphicsItem::panelModality(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->panelModality()); +} + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->parentItem()); +} + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::parentObject(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->parentObject()); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +void PythonQtWrapper_QGraphicsItem::prepareGeometryChange(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_prepareGeometryChange()); +} + +void PythonQtWrapper_QGraphicsItem::removeFromIndex(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_removeFromIndex()); +} + +void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +{ + ( theWrappedObject->removeSceneEventFilter(filterItem)); +} + +void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} + +qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scale()); +} + +QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scene()); +} + +QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->sceneBoundingRect()); +} + +bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); +} + +bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); +} + +QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->sceneTransform()); +} + +void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) +{ + ( theWrappedObject->scroll(dx, dy, rect)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) +{ + ( theWrappedObject->setAcceptDrops(on)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptHoverEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptTouchEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setAcceptedMouseButtons(buttons)); +} + +void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) +{ + ( theWrappedObject->setActive(active)); +} + +void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) +{ + ( theWrappedObject->setBoundingRegionGranularity(granularity)); +} + +void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) +{ + ( theWrappedObject->setCacheMode(mode, cacheSize)); +} + +void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) +{ + ( theWrappedObject->setCursor(cursor)); +} + +void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value) +{ + ( theWrappedObject->setData(key, value)); +} + +void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setEnabled(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_setExtension(extension, variant)); +} + +void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setFiltersChildEvents(enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) +{ + ( theWrappedObject->setFlag(flag, enabled)); +} + +void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) +{ + ( theWrappedObject->setFocus(focusReason)); +} + +void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->setFocusProxy(item)); +} + +void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) +{ + ( theWrappedObject->setGraphicsEffect(effect)); } - return QGraphicsItemGroup::type(); + +void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->setGroup(group)); } -void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setHandlesChildEvents(enabled)); } - QGraphicsItemGroup::wheelEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints) +{ + ( theWrappedObject->setInputMethodHints(hints)); } -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsItemGroup(parent); } -void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +void PythonQtWrapper_QGraphicsItem::setOpacity(QGraphicsItem* theWrappedObject, qreal opacity) { - ( theWrappedObject->addToGroup(item)); + ( theWrappedObject->setOpacity(opacity)); } -void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +void PythonQtWrapper_QGraphicsItem::setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality) { - ( theWrappedObject->removeFromGroup(item)); + ( theWrappedObject->setPanelModality(panelModality)); } +void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, PythonQtNewOwnerOfThis parent) +{ + ( theWrappedObject->setParentItem(parent)); +} +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} -PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setPos(x, y)); } -int PythonQtShell_QGraphicsLayout::count() const + +void PythonQtWrapper_QGraphicsItem::setRotation(QGraphicsItem* theWrappedObject, qreal angle) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRotation(angle)); } - return int(); + +void PythonQtWrapper_QGraphicsItem::setScale(QGraphicsItem* theWrappedObject, qreal scale) +{ + ( theWrappedObject->setScale(scale)); } -void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const + +void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSelected(selected)); } - QGraphicsLayout::getContentsMargins(left0, top1, right2, bottom3); + +void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); } -void PythonQtShell_QGraphicsLayout::invalidate() + +void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTransform(matrix, combine)); } - QGraphicsLayout::invalidate(); + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) +{ + ( theWrappedObject->setTransformOriginPoint(origin)); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&i0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTransformOriginPoint(ax, ay)); } - return 0; + +void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) +{ + ( theWrappedObject->setTransformations(transformations)); } -void PythonQtShell_QGraphicsLayout::removeAt(int index0) + +void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setVisible(visible)); } - + +void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); } -void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) + +void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setY(y)); } - QGraphicsLayout::setGeometry(rect0); + +void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) +{ + ( theWrappedObject->setZValue(z)); } -QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const + +QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&which0, (void*)&constraint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->shape()); +} + +void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->show()); +} + +void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) +{ + ( theWrappedObject->stackBefore(sibling)); } - return QSizeF(); + +bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); } -void PythonQtShell_QGraphicsLayout::updateGeometry() + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::toGraphicsObject(QGraphicsItem* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toGraphicsObject()); } - QGraphicsLayout::updateGeometry(); + +QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); } -void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->topLevelItem()); } - QGraphicsLayout::widgetEvent(e0); + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->topLevelWidget()); } -QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLayout(parent); } -void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) +QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const { - ( theWrappedObject->activate()); + return ( theWrappedObject->transform()); } -void PythonQtWrapper_QGraphicsLayout::addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem) +QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_addChildLayoutItem(layoutItem)); + return ( theWrappedObject->transformOriginPoint()); } -int PythonQtWrapper_QGraphicsLayout::count(QGraphicsLayout* theWrappedObject) const +QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->transformations()); } -bool PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_instantInvalidatePropagation() +int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const { - return (QGraphicsLayout::instantInvalidatePropagation()); + return ( theWrappedObject->type()); } -void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) +void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) { - ( theWrappedObject->invalidate()); + ( theWrappedObject->ungrabKeyboard()); } -bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const +void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) { - return ( theWrappedObject->isActivated()); + ( theWrappedObject->ungrabMouse()); } -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayout::itemAt(QGraphicsLayout* theWrappedObject, int i) const +void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) { - return ( theWrappedObject->itemAt(i)); + ( theWrappedObject->unsetCursor()); } -void PythonQtWrapper_QGraphicsLayout::removeAt(QGraphicsLayout* theWrappedObject, int index) +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) { - ( theWrappedObject->removeAt(index)); + ( theWrappedObject->update(rect)); } -void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) { - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); + ( theWrappedObject->update(x, y, width, height)); } -void PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable) +void PythonQtWrapper_QGraphicsItem::updateMicroFocus(QGraphicsItem* theWrappedObject) { - (QGraphicsLayout::setInstantInvalidatePropagation(enable)); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_updateMicroFocus()); } -void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) +void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) { - ( theWrappedObject->widgetEvent(e)); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_wheelEvent(event)); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::window(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->window()); } +qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} +qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} -PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { +qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->zValue()); +} + +QString PythonQtWrapper_QGraphicsItem::py_toString(QGraphicsItem* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&step0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8518,21 +9567,21 @@ if (_wrapper) { } } } - QGraphicsLayoutItem::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsItemAnimation::afterAnimationStep(step0); } -void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&step0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8540,54 +9589,43 @@ if (_wrapper) { } } } - QGraphicsLayoutItem::setGeometry(rect0); + QGraphicsItemAnimation::beforeAnimationStep(step0); } -QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeF(); + QGraphicsItemAnimation::childEvent(event0); } -void PythonQtShell_QGraphicsLayoutItem::updateGeometry() +void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8595,209 +9633,255 @@ if (_wrapper) { } } } - QGraphicsLayoutItem::updateGeometry(); -} -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent, bool isLayout) -{ -return new PythonQtShell_QGraphicsLayoutItem(parent, isLayout); } - -QRectF PythonQtWrapper_QGraphicsLayoutItem::contentsRect(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->contentsRect()); -} - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( theWrappedObject->effectiveSizeHint(which, constraint)); -} - -QRectF PythonQtWrapper_QGraphicsLayoutItem::geometry(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); + QGraphicsItemAnimation::customEvent(event0); } - -void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* event0) { - ( theWrappedObject->getContentsMargins(left, top, right, bottom)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsLayoutItem::graphicsItem(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->graphicsItem()); + return QGraphicsItemAnimation::event(event0); } - -bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const +bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->isLayout()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->maximumHeight()); + return QGraphicsItemAnimation::eventFilter(watched0, event1); } - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->maximumSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); + QGraphicsItemAnimation::timerEvent(event0); } +QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) +{ +return new PythonQtShell_QGraphicsItemAnimation(parent); } -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumHeight()); +const QMetaObject* PythonQtShell_QGraphicsItemAnimation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsItemAnimation::staticMetaObject); + } else { + return &QGraphicsItemAnimation::staticMetaObject; + } } - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); +int PythonQtShell_QGraphicsItemAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsItemAnimation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsItemAnimation::afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) { - return ( theWrappedObject->minimumWidth()); + ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_afterAnimationStep(step)); } -bool PythonQtWrapper_QGraphicsLayoutItem::ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) { - return ( theWrappedObject->ownedByLayout()); + ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); } -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) { - return ( theWrappedObject->parentLayoutItem()); + ( theWrappedObject->clear()); } -qreal PythonQtWrapper_QGraphicsLayoutItem::preferredHeight(QGraphicsLayoutItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( theWrappedObject->preferredHeight()); + return ( theWrappedObject->horizontalScaleAt(step)); } -QSizeF PythonQtWrapper_QGraphicsLayoutItem::preferredSize(QGraphicsLayoutItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( theWrappedObject->preferredSize()); + return ( theWrappedObject->horizontalShearAt(step)); } -qreal PythonQtWrapper_QGraphicsLayoutItem::preferredWidth(QGraphicsLayoutItem* theWrappedObject) const +QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const { - return ( theWrappedObject->preferredWidth()); + return ( theWrappedObject->item()); } -void PythonQtWrapper_QGraphicsLayoutItem::setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect) +QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->setGeometry(rect)); + return ( theWrappedObject->matrixAt(step)); } -void PythonQtWrapper_QGraphicsLayoutItem::setGraphicsItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsItem* item) +QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setGraphicsItem(item)); + return ( theWrappedObject->posAt(step)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->setMaximumHeight(height)); + return ( theWrappedObject->posList()); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->setMaximumSize(size)); + return ( theWrappedObject->rotationAt(step)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->setMaximumSize(w, h)); + return ( theWrappedObject->rotationList()); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +QList > PythonQtWrapper_QGraphicsItemAnimation::scaleList(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->setMaximumWidth(width)); + return ( theWrappedObject->scaleList()); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +void PythonQtWrapper_QGraphicsItemAnimation::setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item) { - ( theWrappedObject->setMinimumHeight(height)); + ( theWrappedObject->setItem(item)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +void PythonQtWrapper_QGraphicsItemAnimation::setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos) { - ( theWrappedObject->setMinimumSize(size)); + ( theWrappedObject->setPosAt(step, pos)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +void PythonQtWrapper_QGraphicsItemAnimation::setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle) { - ( theWrappedObject->setMinimumSize(w, h)); + ( theWrappedObject->setRotationAt(step, angle)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +void PythonQtWrapper_QGraphicsItemAnimation::setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy) { - ( theWrappedObject->setMinimumWidth(width)); + ( theWrappedObject->setScaleAt(step, sx, sy)); } -void PythonQtWrapper_QGraphicsLayoutItem::setOwnedByLayout(QGraphicsLayoutItem* theWrappedObject, bool ownedByLayout) +void PythonQtWrapper_QGraphicsItemAnimation::setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv) { - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setOwnedByLayout(ownedByLayout)); + ( theWrappedObject->setShearAt(step, sh, sv)); } -void PythonQtWrapper_QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent) +void PythonQtWrapper_QGraphicsItemAnimation::setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine) { - ( theWrappedObject->setParentLayoutItem(parent)); + ( theWrappedObject->setTimeLine(timeLine)); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +void PythonQtWrapper_QGraphicsItemAnimation::setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy) { - ( theWrappedObject->setPreferredHeight(height)); + ( theWrappedObject->setTranslationAt(step, dx, dy)); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +QList > PythonQtWrapper_QGraphicsItemAnimation::shearList(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->setPreferredSize(size)); + return ( theWrappedObject->shearList()); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +QTimeLine* PythonQtWrapper_QGraphicsItemAnimation::timeLine(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->setPreferredSize(w, h)); + return ( theWrappedObject->timeLine()); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +QTransform PythonQtWrapper_QGraphicsItemAnimation::transformAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->setPreferredWidth(width)); + return ( theWrappedObject->transformAt(step)); } -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) +QList > PythonQtWrapper_QGraphicsItemAnimation::translationList(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType)); + return ( theWrappedObject->translationList()); } -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy) +qreal PythonQtWrapper_QGraphicsItemAnimation::verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->setSizePolicy(policy)); + return ( theWrappedObject->verticalScaleAt(step)); } -QSizeF PythonQtWrapper_QGraphicsLayoutItem::sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +qreal PythonQtWrapper_QGraphicsItemAnimation::verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_sizeHint(which, constraint)); + return ( theWrappedObject->verticalShearAt(step)); } -QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsItemAnimation::xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( theWrappedObject->sizePolicy()); + return ( theWrappedObject->xTranslationAt(step)); } -void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) +qreal PythonQtWrapper_QGraphicsItemAnimation::yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->updateGeometry()); + return ( theWrappedObject->yTranslationAt(step)); } -PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { +PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsLineItem::advance(int phase0) +void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8807,9 +9891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8817,9 +9901,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::advance(phase0); + QGraphicsItemGroup::advance(phase0); } -QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const +QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8830,19 +9914,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRectF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8850,9 +9934,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::boundingRect(); + return QGraphicsItemGroup::boundingRect(); } -bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8863,19 +9947,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8883,9 +9967,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::collidesWithItem(other0, mode1); + return QGraphicsItemGroup::collidesWithItem(other0, mode1); } -bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8896,19 +9980,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8916,9 +10000,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::collidesWithPath(path0, mode1); + return QGraphicsItemGroup::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8929,19 +10013,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8949,9 +10033,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::contains(point0); + return QGraphicsItemGroup::contains(point0); } -void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8961,9 +10045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8971,9 +10055,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::contextMenuEvent(event0); + QGraphicsItemGroup::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8983,9 +10067,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8993,9 +10077,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::dragEnterEvent(event0); + QGraphicsItemGroup::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9005,9 +10089,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9015,9 +10099,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::dragLeaveEvent(event0); + QGraphicsItemGroup::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9027,9 +10111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9037,9 +10121,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::dragMoveEvent(event0); + QGraphicsItemGroup::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9049,9 +10133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9059,9 +10143,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::dropEvent(event0); + QGraphicsItemGroup::dropEvent(event0); } -QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const +QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9072,19 +10156,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9092,9 +10176,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::extension(variant0); + return QGraphicsItemGroup::extension(variant0); } -void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9104,9 +10188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9114,9 +10198,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::focusInEvent(event0); + QGraphicsItemGroup::focusInEvent(event0); } -void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9126,9 +10210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9136,9 +10220,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::focusOutEvent(event0); + QGraphicsItemGroup::focusOutEvent(event0); } -void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9148,9 +10232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9158,9 +10242,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::hoverEnterEvent(event0); + QGraphicsItemGroup::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9170,9 +10254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9180,9 +10264,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::hoverLeaveEvent(event0); + QGraphicsItemGroup::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9192,9 +10276,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9202,9 +10286,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::hoverMoveEvent(event0); + QGraphicsItemGroup::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9214,9 +10298,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9224,9 +10308,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::inputMethodEvent(event0); + QGraphicsItemGroup::inputMethodEvent(event0); } -QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const +QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9237,19 +10321,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9257,9 +10341,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::inputMethodQuery(query0); + return QGraphicsItemGroup::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9270,19 +10354,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9290,9 +10374,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::isObscuredBy(item0); + return QGraphicsItemGroup::isObscuredBy(item0); } -QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9303,19 +10387,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -9326,9 +10410,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::itemChange(change0, value1); + return QGraphicsItemGroup::itemChange(change0, value1); } -void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9338,9 +10422,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9348,9 +10432,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::keyPressEvent(event0); + QGraphicsItemGroup::keyPressEvent(event0); } -void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9360,9 +10444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9370,9 +10454,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::keyReleaseEvent(event0); + QGraphicsItemGroup::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9382,9 +10466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9392,9 +10476,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseDoubleClickEvent(event0); + QGraphicsItemGroup::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9404,9 +10488,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9414,9 +10498,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseMoveEvent(event0); + QGraphicsItemGroup::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9426,9 +10510,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9436,9 +10520,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mousePressEvent(event0); + QGraphicsItemGroup::mousePressEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9448,9 +10532,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9458,9 +10542,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseReleaseEvent(event0); + QGraphicsItemGroup::mouseReleaseEvent(event0); } -QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const +QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9471,19 +10555,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9491,9 +10575,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::opaqueArea(); + return QGraphicsItemGroup::opaqueArea(); } -void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9503,9 +10587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9513,9 +10597,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::paint(painter0, option1, widget2); + QGraphicsItemGroup::paint(painter0, option1, widget2); } -bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) +bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9526,19 +10610,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9546,9 +10630,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::sceneEvent(event0); + return QGraphicsItemGroup::sceneEvent(event0); } -bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9559,19 +10643,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9579,9 +10663,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::sceneEventFilter(watched0, event1); + return QGraphicsItemGroup::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9591,9 +10675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9601,9 +10685,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::setExtension(extension0, variant1); + QGraphicsItemGroup::setExtension(extension0, variant1); } -QPainterPath PythonQtShell_QGraphicsLineItem::shape() const +QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9614,19 +10698,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9634,9 +10718,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::shape(); + return QGraphicsItemGroup::shape(); } -bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9647,19 +10731,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9667,9 +10751,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::supportsExtension(extension0); + return QGraphicsItemGroup::supportsExtension(extension0); } -int PythonQtShell_QGraphicsLineItem::type() const +int PythonQtShell_QGraphicsItemGroup::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9680,19 +10764,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9700,9 +10784,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::type(); + return QGraphicsItemGroup::type(); } -void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9712,9 +10796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9722,52 +10806,29 @@ if (_wrapper) { } } } - QGraphicsLineItem::wheelEvent(event0); + QGraphicsItemGroup::wheelEvent(event0); } -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(parent); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(line, parent); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) +QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent) { -return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } - -QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const -{ - return ( theWrappedObject->line()); -} - -QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const -{ - return ( theWrappedObject->pen()); -} - -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) -{ - ( theWrappedObject->setLine(line)); -} +return new PythonQtShell_QGraphicsItemGroup(parent); } -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) { - ( theWrappedObject->setLine(x1, y1, x2, y2)); + ( theWrappedObject->addToGroup(item)); } -void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) +void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) { - ( theWrappedObject->setPen(pen)); + ( theWrappedObject->removeFromGroup(item)); } -PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { +PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QGraphicsLinearLayout::count() const +int PythonQtShell_QGraphicsLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9778,19 +10839,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9798,9 +10859,9 @@ if (_wrapper) { } } } - return QGraphicsLinearLayout::count(); + return int(); } -void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9810,9 +10871,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9820,9 +10881,9 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsLayout::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsLinearLayout::invalidate() +void PythonQtShell_QGraphicsLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9832,9 +10893,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9842,9 +10903,9 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::invalidate(); + QGraphicsLayout::invalidate(); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const +QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9855,19 +10916,19 @@ if (_wrapper) { static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QGraphicsLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9875,21 +10936,207 @@ if (_wrapper) { } } } - return QGraphicsLinearLayout::itemAt(index0); + return nullptr; } -void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) +void PythonQtShell_QGraphicsLayout::removeAt(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&rect0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLayout::setGeometry(rect0); +} +QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeF(); +} +void PythonQtShell_QGraphicsLayout::updateGeometry() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLayout::updateGeometry(); +} +void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widgetEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLayout::widgetEvent(e0); +} +QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsLayout(parent); } + +void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) +{ + ( theWrappedObject->activate()); +} + +void PythonQtWrapper_QGraphicsLayout::addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_addChildLayoutItem(layoutItem)); +} + +int PythonQtWrapper_QGraphicsLayout::count(QGraphicsLayout* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_instantInvalidatePropagation() +{ + return (QGraphicsLayout::instantInvalidatePropagation()); +} + +void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + +bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const +{ + return ( theWrappedObject->isActivated()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayout::itemAt(QGraphicsLayout* theWrappedObject, int i) const +{ + return ( theWrappedObject->itemAt(i)); +} + +void PythonQtWrapper_QGraphicsLayout::removeAt(QGraphicsLayout* theWrappedObject, int index) +{ + ( theWrappedObject->removeAt(index)); +} + +void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable) +{ + (QGraphicsLayout::setInstantInvalidatePropagation(enable)); +} + +void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) +{ + ( theWrappedObject->widgetEvent(e)); +} + + + +PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9897,9 +11144,9 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::removeAt(index0); + QGraphicsLayoutItem::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9909,9 +11156,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9919,9 +11166,9 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::setGeometry(rect0); + QGraphicsLayoutItem::setGeometry(rect0); } -QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9932,19 +11179,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QSizeF returnValue{}; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9952,9 +11199,9 @@ if (_wrapper) { } } } - return QGraphicsLinearLayout::sizeHint(which0, constraint1); + return QSizeF(); } -void PythonQtShell_QGraphicsLinearLayout::updateGeometry() +void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9964,9 +11211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9974,158 +11221,353 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::updateGeometry(); + QGraphicsLayoutItem::updateGeometry(); } -void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent, bool isLayout) +{ +return new PythonQtShell_QGraphicsLayoutItem(parent, isLayout); } + +QRectF PythonQtWrapper_QGraphicsLayoutItem::contentsRect(QGraphicsLayoutItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->contentsRect()); } - QGraphicsLinearLayout::widgetEvent(e0); + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( theWrappedObject->effectiveSizeHint(which, constraint)); } -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); } +QRectF PythonQtWrapper_QGraphicsLayoutItem::geometry(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} -void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) +void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const { - ( theWrappedObject->addItem(item)); + ( theWrappedObject->getContentsMargins(left, top, right, bottom)); } -void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) +QGraphicsItem* PythonQtWrapper_QGraphicsLayoutItem::graphicsItem(QGraphicsLayoutItem* theWrappedObject) const { - ( theWrappedObject->addStretch(stretch)); + return ( theWrappedObject->graphicsItem()); } -Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const { - return ( theWrappedObject->alignment(item)); + return ( theWrappedObject->isLayout()); } -void PythonQtWrapper_QGraphicsLinearLayout::dump(QGraphicsLinearLayout* theWrappedObject, int indent) const +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const { - ( theWrappedObject->dump(indent)); + return ( theWrappedObject->maximumHeight()); } -void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const { - ( theWrappedObject->insertItem(index, item)); + return ( theWrappedObject->maximumSize()); } -void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const { - ( theWrappedObject->insertStretch(index, stretch)); + return ( theWrappedObject->maximumWidth()); } -qreal PythonQtWrapper_QGraphicsLinearLayout::itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const +qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const { - return ( theWrappedObject->itemSpacing(index)); + return ( theWrappedObject->minimumHeight()); } -Qt::Orientation PythonQtWrapper_QGraphicsLinearLayout::orientation(QGraphicsLinearLayout* theWrappedObject) const +QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const { - return ( theWrappedObject->orientation()); + return ( theWrappedObject->minimumSize()); } -void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item) +qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const { - ( theWrappedObject->removeItem(item)); + return ( theWrappedObject->minimumWidth()); } -void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +bool PythonQtWrapper_QGraphicsLayoutItem::ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const { - ( theWrappedObject->setAlignment(item, alignment)); + return ( theWrappedObject->ownedByLayout()); +} + +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->parentLayoutItem()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::preferredHeight(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->preferredHeight()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::preferredSize(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->preferredSize()); +} + +qreal PythonQtWrapper_QGraphicsLayoutItem::preferredWidth(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->preferredWidth()); } -void PythonQtWrapper_QGraphicsLinearLayout::setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QGraphicsLayoutItem::setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect) { ( theWrappedObject->setGeometry(rect)); } -void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) +void PythonQtWrapper_QGraphicsLayoutItem::setGraphicsItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsItem* item) { - ( theWrappedObject->setItemSpacing(index, spacing)); + ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setGraphicsItem(item)); } -void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) { - ( theWrappedObject->setOrientation(orientation)); + ( theWrappedObject->setMaximumHeight(height)); } -void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) { - ( theWrappedObject->setSpacing(spacing)); + ( theWrappedObject->setMaximumSize(size)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->setMaximumSize(w, h)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +{ + ( theWrappedObject->setMaximumWidth(width)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +{ + ( theWrappedObject->setMinimumHeight(height)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setMinimumSize(size)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->setMinimumSize(w, h)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +{ + ( theWrappedObject->setMinimumWidth(width)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setOwnedByLayout(QGraphicsLayoutItem* theWrappedObject, bool ownedByLayout) +{ + ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setOwnedByLayout(ownedByLayout)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent) +{ + ( theWrappedObject->setParentLayoutItem(parent)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +{ + ( theWrappedObject->setPreferredHeight(height)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setPreferredSize(size)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->setPreferredSize(w, h)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +{ + ( theWrappedObject->setPreferredWidth(width)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) +{ + ( theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType)); +} + +void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy) +{ + ( theWrappedObject->setSizePolicy(policy)); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_sizeHint(which, constraint)); +} + +QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + +void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) +{ + ( theWrappedObject->updateGeometry()); +} + + + +PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsLineItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) -{ - ( theWrappedObject->setStretchFactor(item, stretch)); + return QGraphicsLineItem::boundingRect(); } - -QSizeF PythonQtWrapper_QGraphicsLinearLayout::sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->sizeHint(which, constraint)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); + return QGraphicsLineItem::collidesWithItem(other0, mode1); } - -int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->stretchFactor(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsLineItem::collidesWithPath(path0, mode1); } -QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const +bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&sourceRect0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10133,21 +11575,21 @@ if (_wrapper) { } } } - return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); + return QGraphicsLineItem::contains(point0); } -void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) +void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10155,21 +11597,21 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::draw(painter0); + QGraphicsLineItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10177,108 +11619,75 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::sourceChanged(flags0); -} -QGraphicsOpacityEffect* PythonQtWrapper_QGraphicsOpacityEffect::new_QGraphicsOpacityEffect(QObject* parent) -{ -return new PythonQtShell_QGraphicsOpacityEffect(parent); } - -const QMetaObject* PythonQtShell_QGraphicsOpacityEffect::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsOpacityEffect::staticMetaObject); - } else { - return &QGraphicsOpacityEffect::staticMetaObject; - } -} -int PythonQtShell_QGraphicsOpacityEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsOpacityEffect::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); + QGraphicsLineItem::dragEnterEvent(event0); } - -QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const +void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->opacityMask()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsLineItem::dragLeaveEvent(event0); } -QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const +void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::boundingRect(); + QGraphicsLineItem::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::contains(point0); + QGraphicsLineItem::dropEvent(event0); } -QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const +QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10289,19 +11698,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10309,87 +11718,109 @@ if (_wrapper) { } } } - return QGraphicsPathItem::extension(variant0); + return QGraphicsLineItem::extension(variant0); } -bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsLineItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::isObscuredBy(item0); + QGraphicsLineItem::hoverEnterEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const +void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::opaqueArea(); + QGraphicsLineItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10397,21 +11828,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::paint(painter0, option1, widget2); + QGraphicsLineItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10419,32 +11850,32 @@ if (_wrapper) { } } } - QGraphicsPathItem::setExtension(extension0, variant1); + QGraphicsLineItem::inputMethodEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPathItem::shape() const +QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10452,32 +11883,32 @@ if (_wrapper) { } } } - return QGraphicsPathItem::shape(); + return QGraphicsLineItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10485,118 +11916,57 @@ if (_wrapper) { } } } - return QGraphicsPathItem::supportsExtension(extension0); + return QGraphicsLineItem::isObscuredBy(item0); } -int PythonQtShell_QGraphicsPathItem::type() const +QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::type(); -} -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPathItem(parent); } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPathItem(path, parent); } - -QRectF PythonQtWrapper_QGraphicsPathItem::boundingRect(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPathItem::contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsPathItem::extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_extension(variant)); -} - -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()); -} - -void PythonQtWrapper_QGraphicsPathItem::setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->setPath(path)); -} - -QPainterPath PythonQtWrapper_QGraphicsPathItem::shape(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsPathItem::supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsPathItem::type(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsLineItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) +void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10604,153 +11974,87 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::advance(phase0); -} -QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPixmapItem::boundingRect(); + QGraphicsLineItem::keyPressEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&other0, (void*)&mode1}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::collidesWithItem(other0, mode1); + QGraphicsLineItem::keyReleaseEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&path0, (void*)&mode1}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::collidesWithPath(path0, mode1); + QGraphicsLineItem::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::contains(point0); + QGraphicsLineItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10758,21 +12062,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::contextMenuEvent(event0); + QGraphicsLineItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10780,43 +12084,54 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dragEnterEvent(event0); + QGraphicsLineItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::dragLeaveEvent(event0); + return QGraphicsLineItem::opaqueArea(); } -void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10824,54 +12139,65 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dragMoveEvent(event0); + QGraphicsLineItem::paint(painter0, option1, widget2); } -void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::dropEvent(event0); + return QGraphicsLineItem::sceneEvent(event0); } -QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const +bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10879,21 +12205,21 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::extension(variant0); + return QGraphicsLineItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10901,87 +12227,120 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::focusInEvent(event0); + QGraphicsLineItem::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) +QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::focusOutEvent(event0); + return QGraphicsLineItem::shape(); } -void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::hoverEnterEvent(event0); + return QGraphicsLineItem::supportsExtension(extension0); } -void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +int PythonQtShell_QGraphicsLineItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::hoverLeaveEvent(event0); + return QGraphicsLineItem::type(); } -void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10989,145 +12348,174 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::hoverMoveEvent(event0); + QGraphicsLineItem::wheelEvent(event0); +} +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(parent); } + +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(line, parent); } + +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } + +QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const +{ + return ( theWrappedObject->pen()); +} + +void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) +{ + ( theWrappedObject->setLine(line)); +} + +void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +{ + ( theWrappedObject->setLine(x1, y1, x2, y2)); +} + +void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setPen(pen)); +} + + + +PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) +int PythonQtShell_QGraphicsLinearLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::inputMethodEvent(event0); + return QGraphicsLinearLayout::count(); } -QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::inputMethodQuery(query0); + QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); } -bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsLinearLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::isObscuredBy(item0); + QGraphicsLinearLayout::invalidate(); } -QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&change0, (void*)&value1}; + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::itemChange(change0, value1); + return QGraphicsLinearLayout::itemAt(index0); } -void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11135,21 +12523,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::keyPressEvent(event0); + QGraphicsLinearLayout::removeAt(index0); } -void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11157,43 +12545,54 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::keyReleaseEvent(event0); + QGraphicsLinearLayout::setGeometry(rect0); } -void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::mouseDoubleClickEvent(event0); + return QGraphicsLinearLayout::sizeHint(which0, constraint1); } -void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11201,21 +12600,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::mouseMoveEvent(event0); + QGraphicsLinearLayout::updateGeometry(); } -void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11223,21 +12622,115 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::mousePressEvent(event0); + QGraphicsLinearLayout::widgetEvent(e0); +} +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::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addItem(item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) +{ + ( theWrappedObject->addStretch(stretch)); +} + +Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +{ + return ( theWrappedObject->alignment(item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::dump(QGraphicsLinearLayout* theWrappedObject, int indent) const +{ + ( theWrappedObject->dump(indent)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertItem(index, item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) +{ + ( theWrappedObject->insertStretch(index, stretch)); +} + +qreal PythonQtWrapper_QGraphicsLinearLayout::itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemSpacing(index)); +} + +Qt::Orientation PythonQtWrapper_QGraphicsLinearLayout::orientation(QGraphicsLinearLayout* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item) +{ + ( theWrappedObject->removeItem(item)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(item, alignment)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) +{ + ( theWrappedObject->setItemSpacing(index, spacing)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) +{ + ( theWrappedObject->setStretchFactor(item, stretch)); +} + +qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +{ + return ( theWrappedObject->stretchFactor(item)); +} + + + +PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsObject::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11245,32 +12738,32 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::mouseReleaseEvent(event0); + QGraphicsObject::advance(phase0); } -QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const +QRectF PythonQtShell_QGraphicsObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; + static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11278,21 +12771,21 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::opaqueArea(); + return QRectF(); } -void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11300,32 +12793,32 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::paint(painter0, option1, widget2); + QGraphicsObject::childEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) +bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11333,32 +12826,32 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::sceneEvent(event0); + return QGraphicsObject::collidesWithItem(other0, mode1); } -bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11366,142 +12859,120 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::sceneEventFilter(watched0, event1); + return QGraphicsObject::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::setExtension(extension0, variant1); + return QGraphicsObject::contains(point0); } -QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const +void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::shape(); + QGraphicsObject::contextMenuEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::supportsExtension(extension0); + QGraphicsObject::customEvent(event0); } -int PythonQtShell_QGraphicsPixmapItem::type() const +void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::type(); + QGraphicsObject::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11509,91 +12980,76 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::wheelEvent(event0); -} -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPixmapItem(parent); } - -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPixmapItem(pixmap, parent); } - -QPointF PythonQtWrapper_QGraphicsPixmapItem::offset(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->offset()); -} - -QPixmap PythonQtWrapper_QGraphicsPixmapItem::pixmap(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -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)); -} - -void PythonQtWrapper_QGraphicsPixmapItem::setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(pixmap)); -} - -void PythonQtWrapper_QGraphicsPixmapItem::setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode) -{ - ( theWrappedObject->setShapeMode(mode)); + QGraphicsObject::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsPixmapItem::setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode) +void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setTransformationMode(mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsPixmapItem::ShapeMode PythonQtWrapper_QGraphicsPixmapItem::shapeMode(QGraphicsPixmapItem* theWrappedObject) const -{ - return ( theWrappedObject->shapeMode()); + QGraphicsObject::dragMoveEvent(event0); } - -Qt::TransformationMode PythonQtWrapper_QGraphicsPixmapItem::transformationMode(QGraphicsPixmapItem* theWrappedObject) const +void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->transformationMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsObject::dropEvent(event0); } -QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const +bool PythonQtShell_QGraphicsObject::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11601,32 +13057,32 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::boundingRect(); + return QGraphicsObject::event(ev0); } -bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11634,9 +13090,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::contains(point0); + return QGraphicsObject::eventFilter(watched0, event1); } -QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant0) const +QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11647,19 +13103,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11667,87 +13123,65 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::extension(variant0); + return QGraphicsObject::extension(variant0); } -bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::isObscuredBy(item0); + QGraphicsObject::focusInEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const +void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::opaqueArea(); + QGraphicsObject::focusOutEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11755,21 +13189,21 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::paint(painter0, option1, widget2); + QGraphicsObject::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11777,32 +13211,76 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::setExtension(extension0, variant1); + QGraphicsObject::hoverLeaveEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const +void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsObject::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsObject::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11810,32 +13288,32 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::shape(); + return QGraphicsObject::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11843,161 +13321,79 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::supportsExtension(extension0); + return QGraphicsObject::isObscuredBy(item0); } -int PythonQtShell_QGraphicsPolygonItem::type() const +QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::type(); -} -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(parent); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } - -QRectF PythonQtWrapper_QGraphicsPolygonItem::boundingRect(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsPolygonItem::extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_extension(variant)); -} - -Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->fillRule()); -} - -void PythonQtWrapper_QGraphicsPolygonItem::paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->polygon()); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) -{ - ( theWrappedObject->setFillRule(rule)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) -{ - ( theWrappedObject->setPolygon(polygon)); -} - -QPainterPath PythonQtWrapper_QGraphicsPolygonItem::shape(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsPolygonItem::type(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsObject::itemChange(change0, value1); } -QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const +void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::boundingRect(); + QGraphicsObject::keyPressEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) +void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12005,21 +13401,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::changeEvent(event0); + QGraphicsObject::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12027,21 +13423,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::closeEvent(event0); + QGraphicsObject::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12049,21 +13445,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::contextMenuEvent(event0); + QGraphicsObject::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12071,21 +13467,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dragEnterEvent(event0); + QGraphicsObject::mousePressEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12093,43 +13489,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dragLeaveEvent(event0); + QGraphicsObject::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +QPainterPath PythonQtShell_QGraphicsObject::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::dragMoveEvent(event0); + return QGraphicsObject::opaqueArea(); } -void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12137,32 +13544,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dropEvent(event0); + } -bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) +bool PythonQtShell_QGraphicsObject::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12170,32 +13577,32 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::event(event0); + return QGraphicsObject::sceneEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QGraphicsObject::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12203,21 +13610,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::eventFilter(object0, event1); + return QGraphicsObject::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsObject::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12225,32 +13632,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::focusInEvent(event0); + QGraphicsObject::setExtension(extension0, variant1); } -bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) +QPainterPath PythonQtShell_QGraphicsObject::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12258,43 +13665,54 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::focusNextPrevChild(next0); + return QGraphicsObject::shape(); } -void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) +bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::focusOutEvent(event0); + return QGraphicsObject::supportsExtension(extension0); } -void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12302,43 +13720,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsObject::timerEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) +int PythonQtShell_QGraphicsObject::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabKeyboardEvent"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::grabKeyboardEvent(event0); + return QGraphicsObject::type(); } -void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabMouseEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12346,87 +13775,94 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::grabMouseEvent(event0); + QGraphicsObject::wheelEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QGraphicsObject* PythonQtWrapper_QGraphicsObject::new_QGraphicsObject(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsObject(parent); } + +const QMetaObject* PythonQtShell_QGraphicsObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsObject::staticMetaObject); + } else { + return &QGraphicsObject::staticMetaObject; } } - QGraphicsProxyWidget::hideEvent(event0); +int PythonQtShell_QGraphicsObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtWrapper_QGraphicsObject::grabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->grabGesture(type, flags)); +} + +void PythonQtWrapper_QGraphicsObject::ungrabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type) +{ + ( theWrappedObject->ungrabGesture(type)); +} + +QString PythonQtWrapper_QGraphicsObject::py_toString(QGraphicsObject* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } - QGraphicsProxyWidget::hoverEnterEvent(event0); + + + +PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&sourceRect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::hoverLeaveEvent(event0); + return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); } -void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12434,21 +13870,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::hoverMoveEvent(event0); + QGraphicsOpacityEffect::childEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const +void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initStyleOption"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12456,21 +13892,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::initStyleOption(option0); + QGraphicsOpacityEffect::customEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12478,32 +13914,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::inputMethodEvent(event0); + QGraphicsOpacityEffect::draw(painter0); } -QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12511,57 +13947,54 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::inputMethodQuery(query0); + return QGraphicsOpacityEffect::event(event0); } -QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::itemChange(change0, value1); + return QGraphicsOpacityEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12569,21 +14002,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::keyPressEvent(event0); + QGraphicsOpacityEffect::sourceChanged(flags0); } -void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12591,65 +14024,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::keyReleaseEvent(event0); + QGraphicsOpacityEffect::timerEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QGraphicsOpacityEffect* PythonQtWrapper_QGraphicsOpacityEffect::new_QGraphicsOpacityEffect(QObject* parent) +{ +return new PythonQtShell_QGraphicsOpacityEffect(parent); } + +const QMetaObject* PythonQtShell_QGraphicsOpacityEffect::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsOpacityEffect::staticMetaObject); + } else { + return &QGraphicsOpacityEffect::staticMetaObject; } } - QGraphicsProxyWidget::mouseDoubleClickEvent(event0); +int PythonQtShell_QGraphicsOpacityEffect::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsOpacityEffect::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->opacity()); +} + +QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const +{ + return ( theWrappedObject->opacityMask()); } - QGraphicsProxyWidget::mouseMoveEvent(event0); + + + +PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPathItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12657,109 +14079,153 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mousePressEvent(event0); + QGraphicsPathItem::advance(phase0); } -void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::mouseReleaseEvent(event0); + return QGraphicsPathItem::boundingRect(); } -void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) +bool PythonQtShell_QGraphicsPathItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::moveEvent(event0); + return QGraphicsPathItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsPathItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::paint(painter0, option1, widget2); + return QGraphicsPathItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintWindowFrame"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); + return QGraphicsPathItem::contains(point0); } -void PythonQtShell_QGraphicsProxyWidget::polishEvent() +void PythonQtShell_QGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polishEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12767,54 +14233,43 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::polishEvent(); + QGraphicsPathItem::contextMenuEvent(event0); } -QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) +void PythonQtShell_QGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("propertyChange"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&propertyName0, (void*)&value1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::propertyChange(propertyName0, value1); + QGraphicsPathItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) +void PythonQtShell_QGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12822,54 +14277,43 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::resizeEvent(event0); + QGraphicsPathItem::dragLeaveEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::sceneEvent(event0); + QGraphicsPathItem::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12877,32 +14321,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::setGeometry(rect0); + QGraphicsPathItem::dropEvent(event0); } -QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const +QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12910,21 +14354,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::shape(); + return QGraphicsPathItem::extension(variant0); } -void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QGraphicsPathItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12932,87 +14376,65 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::showEvent(event0); + QGraphicsPathItem::focusInEvent(event0); } -QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QGraphicsPathItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::sizeHint(which0, constraint1); + QGraphicsPathItem::focusOutEvent(event0); } -int PythonQtShell_QGraphicsProxyWidget::type() const +void PythonQtShell_QGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::type(); + QGraphicsPathItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13020,21 +14442,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabKeyboardEvent(event0); + QGraphicsPathItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabMouseEvent"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13042,21 +14464,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabMouseEvent(event0); + QGraphicsPathItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::updateGeometry() +void PythonQtShell_QGraphicsPathItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13064,54 +14486,65 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::updateGeometry(); + QGraphicsPathItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) +QVariant PythonQtShell_QGraphicsPathItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::wheelEvent(event0); + return QGraphicsPathItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) +bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13119,297 +14552,177 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::windowFrameEvent(e0); + return QGraphicsPathItem::isObscuredBy(item0); } -Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const +QVariant PythonQtShell_QGraphicsPathItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameSectionAt"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&pos0}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::windowFrameSectionAt(pos0); -} -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent, Qt::WindowFlags wFlags) -{ -return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } - -const QMetaObject* PythonQtShell_QGraphicsProxyWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsProxyWidget::staticMetaObject); - } else { - return &QGraphicsProxyWidget::staticMetaObject; - } -} -int PythonQtShell_QGraphicsProxyWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsProxyWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsProxyWidget::contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) -{ - return ( theWrappedObject->createProxyForChildWidget(child)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsProxyWidget::inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setWidget(widget)); + return QGraphicsPathItem::itemChange(change0, value1); } - -QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const +void PythonQtShell_QGraphicsPathItem::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->subWidgetRect(widget)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsProxyWidget::wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_wheelEvent(event)); + QGraphicsPathItem::keyPressEvent(event0); } - -QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const +void PythonQtShell_QGraphicsPathItem::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->widget()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsPathItem::keyReleaseEvent(event0); } -QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const +void PythonQtShell_QGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::boundingRect(); + QGraphicsPathItem::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::contains(point0); + QGraphicsPathItem::mouseMoveEvent(event0); } -QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) const +void PythonQtShell_QGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::extension(variant0); + QGraphicsPathItem::mousePressEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::isObscuredBy(item0); + QGraphicsPathItem::mouseReleaseEvent(event0); } -QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const +QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13420,19 +14733,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13440,9 +14753,9 @@ if (_wrapper) { } } } - return QGraphicsRectItem::opaqueArea(); + return QGraphicsPathItem::opaqueArea(); } -void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13452,9 +14765,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13462,9 +14775,75 @@ if (_wrapper) { } } } - QGraphicsRectItem::paint(painter0, option1, widget2); + QGraphicsPathItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsPathItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsPathItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13474,9 +14853,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13484,9 +14863,9 @@ if (_wrapper) { } } } - QGraphicsRectItem::setExtension(extension0, variant1); + QGraphicsPathItem::setExtension(extension0, variant1); } -QPainterPath PythonQtShell_QGraphicsRectItem::shape() const +QPainterPath PythonQtShell_QGraphicsPathItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13497,19 +14876,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13517,9 +14896,9 @@ if (_wrapper) { } } } - return QGraphicsRectItem::shape(); + return QGraphicsPathItem::shape(); } -bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13530,19 +14909,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13550,9 +14929,9 @@ if (_wrapper) { } } } - return QGraphicsRectItem::supportsExtension(extension0); + return QGraphicsPathItem::supportsExtension(extension0); } -int PythonQtShell_QGraphicsRectItem::type() const +int PythonQtShell_QGraphicsPathItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13563,19 +14942,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13583,94 +14962,21 @@ if (_wrapper) { } } } - return QGraphicsRectItem::type(); -} -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(rect, parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent); } - -QRectF PythonQtWrapper_QGraphicsRectItem::boundingRect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsRectItem::contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsRectItem::extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsRectItem::paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QRectF PythonQtWrapper_QGraphicsRectItem::rect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QGraphicsRectItem::setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setRect(rect)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -QPainterPath PythonQtWrapper_QGraphicsRectItem::shape(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsRectItem::supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsRectItem::type(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsPathItem::type(); } -void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const +void PythonQtShell_QGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13678,58 +14984,24 @@ if (_wrapper) { } } } - QGraphicsRotation::applyTo(matrix0); + QGraphicsPathItem::wheelEvent(event0); } -QGraphicsRotation* PythonQtWrapper_QGraphicsRotation::new_QGraphicsRotation(QObject* parent) +QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent) { -return new PythonQtShell_QGraphicsRotation(parent); } - -const QMetaObject* PythonQtShell_QGraphicsRotation::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsRotation::staticMetaObject); - } else { - return &QGraphicsRotation::staticMetaObject; - } -} -int PythonQtShell_QGraphicsRotation::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsRotation::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -qreal PythonQtWrapper_QGraphicsRotation::angle(QGraphicsRotation* theWrappedObject) const -{ - return ( theWrappedObject->angle()); -} - -QVector3D PythonQtWrapper_QGraphicsRotation::axis(QGraphicsRotation* theWrappedObject) const -{ - return ( theWrappedObject->axis()); -} - -QVector3D PythonQtWrapper_QGraphicsRotation::origin(QGraphicsRotation* theWrappedObject) const -{ - return ( theWrappedObject->origin()); -} - -void PythonQtWrapper_QGraphicsRotation::setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setAngle(arg__1)); -} +return new PythonQtShell_QGraphicsPathItem(parent); } -void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis) -{ - ( theWrappedObject->setAxis(axis)); -} +QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPathItem(path, parent); } -void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis) +QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const { - ( theWrappedObject->setAxis(axis)); + return ( theWrappedObject->path()); } -void PythonQtWrapper_QGraphicsRotation::setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point) +void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) { - ( theWrappedObject->setOrigin(point)); + ( theWrappedObject->setPath(path)); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.h similarity index 63% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.h index 5c479301..06478578 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.h @@ -1,19 +1,27 @@ #include #include #include +#include #include #include #include #include #include +#include +#include #include +#include #include +#include +#include #include #include +#include #include #include #include #include +#include #include #include #include @@ -27,83 +35,154 @@ #include #include #include +#include +#include +#include #include #include +#include +#include #include -#include +#include +#include +#include #include #include #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_QFontDatabase : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SystemFont WritingSystem ) +enum SystemFont{ + GeneralFont = QFontDatabase::GeneralFont, FixedFont = QFontDatabase::FixedFont, TitleFont = QFontDatabase::TitleFont, SmallestReadableFont = QFontDatabase::SmallestReadableFont}; +enum WritingSystem{ + Any = QFontDatabase::Any, Latin = QFontDatabase::Latin, Greek = QFontDatabase::Greek, Cyrillic = QFontDatabase::Cyrillic, Armenian = QFontDatabase::Armenian, Hebrew = QFontDatabase::Hebrew, Arabic = QFontDatabase::Arabic, Syriac = QFontDatabase::Syriac, Thaana = QFontDatabase::Thaana, Devanagari = QFontDatabase::Devanagari, Bengali = QFontDatabase::Bengali, Gurmukhi = QFontDatabase::Gurmukhi, Gujarati = QFontDatabase::Gujarati, Oriya = QFontDatabase::Oriya, Tamil = QFontDatabase::Tamil, Telugu = QFontDatabase::Telugu, Kannada = QFontDatabase::Kannada, Malayalam = QFontDatabase::Malayalam, Sinhala = QFontDatabase::Sinhala, Thai = QFontDatabase::Thai, Lao = QFontDatabase::Lao, Tibetan = QFontDatabase::Tibetan, Myanmar = QFontDatabase::Myanmar, Georgian = QFontDatabase::Georgian, Khmer = QFontDatabase::Khmer, SimplifiedChinese = QFontDatabase::SimplifiedChinese, TraditionalChinese = QFontDatabase::TraditionalChinese, Japanese = QFontDatabase::Japanese, Korean = QFontDatabase::Korean, Vietnamese = QFontDatabase::Vietnamese, Symbol = QFontDatabase::Symbol, Other = QFontDatabase::Other, Ogham = QFontDatabase::Ogham, Runic = QFontDatabase::Runic, Nko = QFontDatabase::Nko, WritingSystemsCount = QFontDatabase::WritingSystemsCount}; +public slots: +QFontDatabase* new_QFontDatabase(); +QFontDatabase* new_QFontDatabase(const QFontDatabase& other) { +QFontDatabase* a = new QFontDatabase(); +*((QFontDatabase*)a) = other; +return a; } +void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } + int static_QFontDatabase_addApplicationFont(const QString& fileName); + int static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData); + QStringList static_QFontDatabase_applicationFontFamilies(int id); + bool bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QStringList families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const; + QFont font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const; + bool hasFamily(QFontDatabase* theWrappedObject, const QString& family) const; + bool isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const; + bool isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QList pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()); + bool static_QFontDatabase_removeAllApplicationFonts(); + bool static_QFontDatabase_removeApplicationFont(int id); + QList smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style); + QList static_QFontDatabase_standardSizes(); + QString styleString(QFontDatabase* theWrappedObject, const QFont& font); + QString styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo); + QStringList styles(QFontDatabase* theWrappedObject, const QString& family) const; + bool static_QFontDatabase_supportsThreadedFontRendering(); + QFont static_QFontDatabase_systemFont(QFontDatabase::SystemFont type); + int weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QString static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem); + QString static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem); + QList writingSystems(QFontDatabase* theWrappedObject) const; + QList writingSystems(QFontDatabase* theWrappedObject, const QString& family) const; +}; + + + + + class PythonQtShell_QFontDialog : public QFontDialog { public: - PythonQtShell_QFontDialog(QWidget* parent = nullptr):QFontDialog(parent),_wrapper(NULL) {}; - PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = nullptr):QFontDialog(initial, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFontDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFontDialog(QWidget* parent = nullptr):QFontDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = nullptr):QFontDialog(initial, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFontDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFontDialog : public QFontDialog @@ -128,7 +207,7 @@ Q_DECLARE_FLAGS(FontDialogOptions, FontDialogOption) public slots: QFontDialog* new_QFontDialog(QWidget* parent = nullptr); QFontDialog* new_QFontDialog(const QFont& initial, QWidget* parent = nullptr); -void delete_QFontDialog(QFontDialog* obj) { delete obj; } +void delete_QFontDialog(QFontDialog* obj) { delete obj; } void py_q_changeEvent(QFontDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_changeEvent(event));} QFont currentFont(QFontDialog* theWrappedObject) const; void py_q_done(QFontDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_done(result));} @@ -155,7 +234,7 @@ class PythonQtWrapper_QFontInfo : public QObject public slots: QFontInfo* new_QFontInfo(const QFont& arg__1); QFontInfo* new_QFontInfo(const QFontInfo& arg__1); -void delete_QFontInfo(QFontInfo* obj) { delete obj; } +void delete_QFontInfo(QFontInfo* obj) { delete obj; } bool bold(QFontInfo* theWrappedObject) const; bool exactMatch(QFontInfo* theWrappedObject) const; QString family(QFontInfo* theWrappedObject) const; @@ -173,34 +252,146 @@ void delete_QFontInfo(QFontInfo* obj) { delete obj; } void swap(QFontInfo* theWrappedObject, QFontInfo& other); bool underline(QFontInfo* theWrappedObject) const; int weight(QFontInfo* theWrappedObject) const; + + QFontInfo* new_QFontInfo() { return new QFontInfo(QFont()); } + }; -class PythonQtShell_QFormLayout : public QFormLayout -{ +class PythonQtWrapper_QFontMetrics : public QObject +{ Q_OBJECT public: - PythonQtShell_QFormLayout(QWidget* parent = nullptr):QFormLayout(parent),_wrapper(NULL) {}; +public slots: +QFontMetrics* new_QFontMetrics(const QFont& arg__1); +QFontMetrics* new_QFontMetrics(const QFont& font, QPaintDevice* pd); +QFontMetrics* new_QFontMetrics(const QFontMetrics& arg__1); +void delete_QFontMetrics(QFontMetrics* obj) { delete obj; } + int ascent(QFontMetrics* theWrappedObject) const; + int averageCharWidth(QFontMetrics* theWrappedObject) const; + QRect boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const; + QRect boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops = 0, int* tabarray = nullptr) const; + QRect boundingRect(QFontMetrics* theWrappedObject, const QString& text) const; + QRect boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops = 0, int* tabarray = nullptr) const; + int capHeight(QFontMetrics* theWrappedObject) const; + int charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const; + int descent(QFontMetrics* theWrappedObject) const; + QString elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags = 0) const; + qreal fontDpi(QFontMetrics* theWrappedObject) const; + int height(QFontMetrics* theWrappedObject) const; + int horizontalAdvance(QFontMetrics* theWrappedObject, QChar arg__1) const; + int horizontalAdvance(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const; + bool inFont(QFontMetrics* theWrappedObject, QChar arg__1) const; + bool inFontUcs4(QFontMetrics* theWrappedObject, uint ucs4) const; + int leading(QFontMetrics* theWrappedObject) const; + int leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; + int lineSpacing(QFontMetrics* theWrappedObject) const; + int lineWidth(QFontMetrics* theWrappedObject) const; + int maxWidth(QFontMetrics* theWrappedObject) const; + int minLeftBearing(QFontMetrics* theWrappedObject) const; + int minRightBearing(QFontMetrics* theWrappedObject) const; + int overlinePos(QFontMetrics* theWrappedObject) const; + int rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const; + QSize size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = nullptr) const; + int strikeOutPos(QFontMetrics* theWrappedObject) const; + void swap(QFontMetrics* theWrappedObject, QFontMetrics& other); + QRect tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const; + int underlinePos(QFontMetrics* theWrappedObject) const; + int width(QFontMetrics* theWrappedObject, QChar arg__1) const; + int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const; + int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len, int flags) const; + int xHeight(QFontMetrics* theWrappedObject) const; + + QFontMetrics* new_QFontMetrics() { return new QFontMetrics(QFont()); } + +}; + + + + + +class PythonQtWrapper_QFontMetricsF : public QObject +{ Q_OBJECT +public: +public slots: +QFontMetricsF* new_QFontMetricsF(const QFont& font); +QFontMetricsF* new_QFontMetricsF(const QFont& font, QPaintDevice* pd); +void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; } + qreal ascent(QFontMetricsF* theWrappedObject) const; + qreal averageCharWidth(QFontMetricsF* theWrappedObject) const; + QRectF boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const; + QRectF boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops = 0, int* tabarray = nullptr) const; + QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const; + qreal capHeight(QFontMetricsF* theWrappedObject) const; + qreal descent(QFontMetricsF* theWrappedObject) const; + QString elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags = 0) const; + qreal fontDpi(QFontMetricsF* theWrappedObject) const; + qreal height(QFontMetricsF* theWrappedObject) const; + qreal horizontalAdvance(QFontMetricsF* theWrappedObject, QChar arg__1) const; + qreal horizontalAdvance(QFontMetricsF* theWrappedObject, const QString& string, int length = -1) const; + bool inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const; + bool inFontUcs4(QFontMetricsF* theWrappedObject, uint ucs4) const; + qreal leading(QFontMetricsF* theWrappedObject) const; + qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; + qreal lineSpacing(QFontMetricsF* theWrappedObject) const; + qreal lineWidth(QFontMetricsF* theWrappedObject) const; + qreal maxWidth(QFontMetricsF* theWrappedObject) const; + qreal minLeftBearing(QFontMetricsF* theWrappedObject) const; + qreal minRightBearing(QFontMetricsF* theWrappedObject) const; + qreal overlinePos(QFontMetricsF* theWrappedObject) const; + qreal rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; + QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = nullptr) const; + qreal strikeOutPos(QFontMetricsF* theWrappedObject) const; + void swap(QFontMetricsF* theWrappedObject, QFontMetricsF& other); + QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const; + qreal underlinePos(QFontMetricsF* theWrappedObject) const; + qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const; + qreal width(QFontMetricsF* theWrappedObject, const QString& string) const; + qreal xHeight(QFontMetricsF* theWrappedObject) const; +}; - ~PythonQtShell_QFormLayout(); -virtual void addItem(QLayoutItem* item); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int index) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int index); - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + + +class PythonQtShell_QFormLayout : public QFormLayout +{ +public: + PythonQtShell_QFormLayout(QWidget* parent = nullptr):QFormLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFormLayout() override; + +void addItem(QLayoutItem* item) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int index) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& rect) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int index) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFormLayout : public QFormLayout @@ -223,58 +414,58 @@ class PythonQtWrapper_QFormLayout : public QObject public: public slots: QFormLayout* new_QFormLayout(QWidget* parent = nullptr); -void delete_QFormLayout(QFormLayout* obj) { delete obj; } - void addItem(QFormLayout* theWrappedObject, QLayoutItem* item); +void delete_QFormLayout(QFormLayout* obj) { delete obj; } void py_q_addItem(QFormLayout* theWrappedObject, QLayoutItem* item){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_addItem(item));} + void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout); + void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); void addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field); void addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field); - int count(QFormLayout* theWrappedObject) const; int py_q_count(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_count());} - Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_expandingDirections());} QFormLayout::FieldGrowthPolicy fieldGrowthPolicy(QFormLayout* theWrappedObject) const; Qt::Alignment formAlignment(QFormLayout* theWrappedObject) const; void getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; + void getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; void getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const; - bool hasHeightForWidth(QFormLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QFormLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QFormLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_heightForWidth(width));} int horizontalSpacing(QFormLayout* theWrappedObject) const; + void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP layout); + void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field); void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget); + void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field); void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field); - void invalidate(QFormLayout* theWrappedObject); void py_q_invalidate(QFormLayout* theWrappedObject){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const; QLayoutItem* py_q_itemAt(QFormLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_itemAt(index));} QLayoutItem* itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const; Qt::Alignment labelAlignment(QFormLayout* theWrappedObject) const; + QWidget* labelForField(QFormLayout* theWrappedObject, QLayout* field) const; QWidget* labelForField(QFormLayout* theWrappedObject, QWidget* field) const; - QSize minimumSize(QFormLayout* theWrappedObject) const; QSize py_q_minimumSize(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_minimumSize());} + void removeRow(QFormLayout* theWrappedObject, QLayout* layout); void removeRow(QFormLayout* theWrappedObject, QWidget* widget); void removeRow(QFormLayout* theWrappedObject, int row); int rowCount(QFormLayout* theWrappedObject) const; QFormLayout::RowWrapPolicy rowWrapPolicy(QFormLayout* theWrappedObject) const; void setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy); void setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); - void setGeometry(QFormLayout* theWrappedObject, const QRect& rect); void py_q_setGeometry(QFormLayout* theWrappedObject, const QRect& rect){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing); void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP item); void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment); + void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP layout); void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy); void setSpacing(QFormLayout* theWrappedObject, int arg__1); void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing); void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP widget); - QSize sizeHint(QFormLayout* theWrappedObject) const; QSize py_q_sizeHint(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QFormLayout* theWrappedObject) const; - QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index); QLayoutItem* py_q_takeAt(QFormLayout* theWrappedObject, int index){ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_takeAt(index));} int verticalSpacing(QFormLayout* theWrappedObject) const; + bool __nonzero__(QFormLayout* obj) { return !obj->isEmpty(); } }; @@ -284,55 +475,59 @@ void delete_QFormLayout(QFormLayout* obj) { delete obj; } class PythonQtShell_QFrame : public QFrame { public: - PythonQtShell_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QFrame(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QFrame(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QFrame(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QFrame() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFrame : public QFrame @@ -356,7 +551,7 @@ enum StyleMask{ Shadow_Mask = QFrame::Shadow_Mask, Shape_Mask = QFrame::Shape_Mask}; public slots: QFrame* new_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QFrame(QFrame* obj) { delete obj; } +void delete_QFrame(QFrame* obj) { delete obj; } void py_q_changeEvent(QFrame* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_changeEvent(arg__1));} void drawFrame(QFrame* theWrappedObject, QPainter* arg__1); bool py_q_event(QFrame* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_event(e));} @@ -383,6 +578,24 @@ void delete_QFrame(QFrame* obj) { delete obj; } +class PythonQtShell_QGesture : public QGesture +{ +public: + PythonQtShell_QGesture(QObject* parent = nullptr):QGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGesture() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QGesture : public QObject { Q_OBJECT public: @@ -391,7 +604,7 @@ enum GestureCancelPolicy{ CancelNone = QGesture::CancelNone, CancelAllInContext = QGesture::CancelAllInContext}; public slots: QGesture* new_QGesture(QObject* parent = nullptr); -void delete_QGesture(QGesture* obj) { delete obj; } +void delete_QGesture(QGesture* obj) { delete obj; } QGesture::GestureCancelPolicy gestureCancelPolicy(QGesture* theWrappedObject) const; Qt::GestureType gestureType(QGesture* theWrappedObject) const; bool hasHotSpot(QGesture* theWrappedObject) const; @@ -412,7 +625,7 @@ class PythonQtWrapper_QGestureEvent : public QObject public: public slots: QGestureEvent* new_QGestureEvent(const QList& gestures); -void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } +void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } void accept(QGestureEvent* theWrappedObject, QGesture* arg__1); void accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1); QList activeGestures(QGestureEvent* theWrappedObject) const; @@ -438,15 +651,15 @@ void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } class PythonQtShell_QGestureRecognizer : public QGestureRecognizer { public: - PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(NULL) {}; + PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(nullptr) {}; - ~PythonQtShell_QGestureRecognizer(); + ~PythonQtShell_QGestureRecognizer() override; -virtual QGesture* create(QObject* target); -virtual QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event); -virtual void reset(QGesture* state); +QGesture* create(QObject* target) override; +QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event) override; +void reset(QGesture* state) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGestureRecognizer : public QGestureRecognizer @@ -466,7 +679,7 @@ enum ResultFlag{ Q_DECLARE_FLAGS(Result, ResultFlag) public slots: QGestureRecognizer* new_QGestureRecognizer(); -void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } +void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } QGesture* create(QGestureRecognizer* theWrappedObject, QObject* target); QGesture* py_q_create(QGestureRecognizer* theWrappedObject, QObject* target){ return (((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->py_q_create(target));} QGestureRecognizer::Result recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event); @@ -481,23 +694,71 @@ void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } +class PythonQtWrapper_QGlyphRun : public QObject +{ Q_OBJECT +public: +Q_ENUMS(GlyphRunFlag ) +Q_FLAGS(GlyphRunFlags ) +enum GlyphRunFlag{ + Overline = QGlyphRun::Overline, Underline = QGlyphRun::Underline, StrikeOut = QGlyphRun::StrikeOut, RightToLeft = QGlyphRun::RightToLeft, SplitLigature = QGlyphRun::SplitLigature}; +Q_DECLARE_FLAGS(GlyphRunFlags, GlyphRunFlag) +public slots: +QGlyphRun* new_QGlyphRun(); +QGlyphRun* new_QGlyphRun(const QGlyphRun& other); +void delete_QGlyphRun(QGlyphRun* obj) { delete obj; } + QRectF boundingRect(QGlyphRun* theWrappedObject) const; + void clear(QGlyphRun* theWrappedObject); + QGlyphRun::GlyphRunFlags flags(QGlyphRun* theWrappedObject) const; + QVector glyphIndexes(QGlyphRun* theWrappedObject) const; + bool isEmpty(QGlyphRun* theWrappedObject) const; + bool isRightToLeft(QGlyphRun* theWrappedObject) const; + bool __ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const; + QGlyphRun* operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other); + bool __eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const; + bool overline(QGlyphRun* theWrappedObject) const; + QVector positions(QGlyphRun* theWrappedObject) const; + QRawFont rawFont(QGlyphRun* theWrappedObject) const; + void setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect); + void setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled = true); + void setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags); + void setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes); + void setOverline(QGlyphRun* theWrappedObject, bool overline); + void setPositions(QGlyphRun* theWrappedObject, const QVector& positions); + void setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size); + void setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont); + void setRightToLeft(QGlyphRun* theWrappedObject, bool on); + void setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut); + void setUnderline(QGlyphRun* theWrappedObject, bool underline); + bool strikeOut(QGlyphRun* theWrappedObject) const; + void swap(QGlyphRun* theWrappedObject, QGlyphRun& other); + bool underline(QGlyphRun* theWrappedObject) const; + bool __nonzero__(QGlyphRun* obj) { return !obj->isEmpty(); } +}; + + + + + class PythonQtWrapper_QGradient : public QObject { Q_OBJECT public: -Q_ENUMS(CoordinateMode Spread Type ) +Q_ENUMS(CoordinateMode Preset Spread Type ) enum CoordinateMode{ LogicalMode = QGradient::LogicalMode, StretchToDeviceMode = QGradient::StretchToDeviceMode, ObjectBoundingMode = QGradient::ObjectBoundingMode, ObjectMode = QGradient::ObjectMode}; +enum Preset{ + WarmFlame = QGradient::WarmFlame, NightFade = QGradient::NightFade, SpringWarmth = QGradient::SpringWarmth, JuicyPeach = QGradient::JuicyPeach, YoungPassion = QGradient::YoungPassion, LadyLips = QGradient::LadyLips, SunnyMorning = QGradient::SunnyMorning, RainyAshville = QGradient::RainyAshville, FrozenDreams = QGradient::FrozenDreams, WinterNeva = QGradient::WinterNeva, DustyGrass = QGradient::DustyGrass, TemptingAzure = QGradient::TemptingAzure, HeavyRain = QGradient::HeavyRain, AmyCrisp = QGradient::AmyCrisp, MeanFruit = QGradient::MeanFruit, DeepBlue = QGradient::DeepBlue, RipeMalinka = QGradient::RipeMalinka, CloudyKnoxville = QGradient::CloudyKnoxville, MalibuBeach = QGradient::MalibuBeach, NewLife = QGradient::NewLife, TrueSunset = QGradient::TrueSunset, MorpheusDen = QGradient::MorpheusDen, RareWind = QGradient::RareWind, NearMoon = QGradient::NearMoon, WildApple = QGradient::WildApple, SaintPetersburg = QGradient::SaintPetersburg, PlumPlate = QGradient::PlumPlate, EverlastingSky = QGradient::EverlastingSky, HappyFisher = QGradient::HappyFisher, Blessing = QGradient::Blessing, SharpeyeEagle = QGradient::SharpeyeEagle, LadogaBottom = QGradient::LadogaBottom, LemonGate = QGradient::LemonGate, ItmeoBranding = QGradient::ItmeoBranding, ZeusMiracle = QGradient::ZeusMiracle, OldHat = QGradient::OldHat, StarWine = QGradient::StarWine, HappyAcid = QGradient::HappyAcid, AwesomePine = QGradient::AwesomePine, NewYork = QGradient::NewYork, ShyRainbow = QGradient::ShyRainbow, MixedHopes = QGradient::MixedHopes, FlyHigh = QGradient::FlyHigh, StrongBliss = QGradient::StrongBliss, FreshMilk = QGradient::FreshMilk, SnowAgain = QGradient::SnowAgain, FebruaryInk = QGradient::FebruaryInk, KindSteel = QGradient::KindSteel, SoftGrass = QGradient::SoftGrass, GrownEarly = QGradient::GrownEarly, SharpBlues = QGradient::SharpBlues, ShadyWater = QGradient::ShadyWater, DirtyBeauty = QGradient::DirtyBeauty, GreatWhale = QGradient::GreatWhale, TeenNotebook = QGradient::TeenNotebook, PoliteRumors = QGradient::PoliteRumors, SweetPeriod = QGradient::SweetPeriod, WideMatrix = QGradient::WideMatrix, SoftCherish = QGradient::SoftCherish, RedSalvation = QGradient::RedSalvation, BurningSpring = QGradient::BurningSpring, NightParty = QGradient::NightParty, SkyGlider = QGradient::SkyGlider, HeavenPeach = QGradient::HeavenPeach, PurpleDivision = QGradient::PurpleDivision, AquaSplash = QGradient::AquaSplash, SpikyNaga = QGradient::SpikyNaga, LoveKiss = QGradient::LoveKiss, CleanMirror = QGradient::CleanMirror, PremiumDark = QGradient::PremiumDark, ColdEvening = QGradient::ColdEvening, CochitiLake = QGradient::CochitiLake, SummerGames = QGradient::SummerGames, PassionateBed = QGradient::PassionateBed, MountainRock = QGradient::MountainRock, DesertHump = QGradient::DesertHump, JungleDay = QGradient::JungleDay, PhoenixStart = QGradient::PhoenixStart, OctoberSilence = QGradient::OctoberSilence, FarawayRiver = QGradient::FarawayRiver, AlchemistLab = QGradient::AlchemistLab, OverSun = QGradient::OverSun, PremiumWhite = QGradient::PremiumWhite, MarsParty = QGradient::MarsParty, EternalConstance = QGradient::EternalConstance, JapanBlush = QGradient::JapanBlush, SmilingRain = QGradient::SmilingRain, CloudyApple = QGradient::CloudyApple, BigMango = QGradient::BigMango, HealthyWater = QGradient::HealthyWater, AmourAmour = QGradient::AmourAmour, RiskyConcrete = QGradient::RiskyConcrete, StrongStick = QGradient::StrongStick, ViciousStance = QGradient::ViciousStance, PaloAlto = QGradient::PaloAlto, HappyMemories = QGradient::HappyMemories, MidnightBloom = QGradient::MidnightBloom, Crystalline = QGradient::Crystalline, PartyBliss = QGradient::PartyBliss, ConfidentCloud = QGradient::ConfidentCloud, LeCocktail = QGradient::LeCocktail, RiverCity = QGradient::RiverCity, FrozenBerry = QGradient::FrozenBerry, ChildCare = QGradient::ChildCare, FlyingLemon = QGradient::FlyingLemon, NewRetrowave = QGradient::NewRetrowave, HiddenJaguar = QGradient::HiddenJaguar, AboveTheSky = QGradient::AboveTheSky, Nega = QGradient::Nega, DenseWater = QGradient::DenseWater, Seashore = QGradient::Seashore, MarbleWall = QGradient::MarbleWall, CheerfulCaramel = QGradient::CheerfulCaramel, NightSky = QGradient::NightSky, MagicLake = QGradient::MagicLake, YoungGrass = QGradient::YoungGrass, ColorfulPeach = QGradient::ColorfulPeach, GentleCare = QGradient::GentleCare, PlumBath = QGradient::PlumBath, HappyUnicorn = QGradient::HappyUnicorn, AfricanField = QGradient::AfricanField, SolidStone = QGradient::SolidStone, OrangeJuice = QGradient::OrangeJuice, GlassWater = QGradient::GlassWater, NorthMiracle = QGradient::NorthMiracle, FruitBlend = QGradient::FruitBlend, MillenniumPine = QGradient::MillenniumPine, HighFlight = QGradient::HighFlight, MoleHall = QGradient::MoleHall, SpaceShift = QGradient::SpaceShift, ForestInei = QGradient::ForestInei, RoyalGarden = QGradient::RoyalGarden, RichMetal = QGradient::RichMetal, JuicyCake = QGradient::JuicyCake, SmartIndigo = QGradient::SmartIndigo, SandStrike = QGradient::SandStrike, NorseBeauty = QGradient::NorseBeauty, AquaGuidance = QGradient::AquaGuidance, SunVeggie = QGradient::SunVeggie, SeaLord = QGradient::SeaLord, BlackSea = QGradient::BlackSea, GrassShampoo = QGradient::GrassShampoo, LandingAircraft = QGradient::LandingAircraft, WitchDance = QGradient::WitchDance, SleeplessNight = QGradient::SleeplessNight, AngelCare = QGradient::AngelCare, CrystalRiver = QGradient::CrystalRiver, SoftLipstick = QGradient::SoftLipstick, SaltMountain = QGradient::SaltMountain, PerfectWhite = QGradient::PerfectWhite, FreshOasis = QGradient::FreshOasis, StrictNovember = QGradient::StrictNovember, MorningSalad = QGradient::MorningSalad, DeepRelief = QGradient::DeepRelief, SeaStrike = QGradient::SeaStrike, NightCall = QGradient::NightCall, SupremeSky = QGradient::SupremeSky, LightBlue = QGradient::LightBlue, MindCrawl = QGradient::MindCrawl, LilyMeadow = QGradient::LilyMeadow, SugarLollipop = QGradient::SugarLollipop, SweetDessert = QGradient::SweetDessert, MagicRay = QGradient::MagicRay, TeenParty = QGradient::TeenParty, FrozenHeat = QGradient::FrozenHeat, GagarinView = QGradient::GagarinView, FabledSunset = QGradient::FabledSunset, PerfectBlue = QGradient::PerfectBlue, NumPresets = QGradient::NumPresets}; 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(QGradient::Preset arg__1); QGradient* new_QGradient(const QGradient& other) { QGradient* a = new QGradient(); *((QGradient*)a) = other; return a; } -void delete_QGradient(QGradient* obj) { delete obj; } +void delete_QGradient(QGradient* obj) { delete obj; } QGradient::CoordinateMode coordinateMode(QGradient* theWrappedObject) const; bool __ne__(QGradient* theWrappedObject, const QGradient& other) const; bool __eq__(QGradient* theWrappedObject, const QGradient& gradient) const; @@ -518,7 +779,7 @@ class PythonQtWrapper_QGraphicsAnchor : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } +void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } void setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy); void setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing); QSizePolicy::Policy sizePolicy(QGraphicsAnchor* theWrappedObject) const; @@ -533,21 +794,21 @@ void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } class PythonQtShell_QGraphicsAnchorLayout : public QGraphicsAnchorLayout { public: - PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsAnchorLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsAnchorLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsAnchorLayout(); + ~PythonQtShell_QGraphicsAnchorLayout() override; -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 setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsAnchorLayout : public QGraphicsAnchorLayout @@ -566,7 +827,7 @@ class PythonQtWrapper_QGraphicsAnchorLayout : public QObject public: public slots: QGraphicsAnchorLayout* new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } +void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } QGraphicsAnchor* addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge); void addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations = Qt::Horizontal | Qt::Vertical); void addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner); @@ -576,12 +837,10 @@ void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } void py_q_invalidate(QGraphicsAnchorLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_invalidate());} QGraphicsLayoutItem* py_q_itemAt(QGraphicsAnchorLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_itemAt(index));} void py_q_removeAt(QGraphicsAnchorLayout* theWrappedObject, int index){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_removeAt(index));} - void setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); void setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); void setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); - QSizeF sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const; }; @@ -593,17 +852,22 @@ void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } class PythonQtShell_QGraphicsBlurEffect : public QGraphicsBlurEffect { public: - PythonQtShell_QGraphicsBlurEffect(QObject* parent = nullptr):QGraphicsBlurEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsBlurEffect(QObject* parent = nullptr):QGraphicsBlurEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsBlurEffect(); + ~PythonQtShell_QGraphicsBlurEffect() override; -virtual QRectF boundingRectFor(const QRectF& rect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& rect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsBlurEffect : public QGraphicsBlurEffect @@ -623,7 +887,7 @@ enum BlurHint{ Q_DECLARE_FLAGS(BlurHints, BlurHint) public slots: QGraphicsBlurEffect* new_QGraphicsBlurEffect(QObject* parent = nullptr); -void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } +void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } QGraphicsBlurEffect::BlurHints blurHints(QGraphicsBlurEffect* theWrappedObject) const; qreal blurRadius(QGraphicsBlurEffect* theWrappedObject) const; QRectF py_q_boundingRectFor(QGraphicsBlurEffect* theWrappedObject, const QRectF& rect) const{ return (((PythonQtPublicPromoter_QGraphicsBlurEffect*)theWrappedObject)->py_q_boundingRectFor(rect));} @@ -637,17 +901,22 @@ void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } class PythonQtShell_QGraphicsColorizeEffect : public QGraphicsColorizeEffect { public: - PythonQtShell_QGraphicsColorizeEffect(QObject* parent = nullptr):QGraphicsColorizeEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsColorizeEffect(QObject* parent = nullptr):QGraphicsColorizeEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsColorizeEffect(); + ~PythonQtShell_QGraphicsColorizeEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsColorizeEffect : public QGraphicsColorizeEffect @@ -661,7 +930,7 @@ class PythonQtWrapper_QGraphicsColorizeEffect : public QObject public: public slots: QGraphicsColorizeEffect* new_QGraphicsColorizeEffect(QObject* parent = nullptr); -void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; } +void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; } QColor color(QGraphicsColorizeEffect* theWrappedObject) const; void py_q_draw(QGraphicsColorizeEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsColorizeEffect*)theWrappedObject)->py_q_draw(painter));} qreal strength(QGraphicsColorizeEffect* theWrappedObject) const; @@ -674,17 +943,22 @@ void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; class PythonQtShell_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect { public: - PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = nullptr):QGraphicsDropShadowEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = nullptr):QGraphicsDropShadowEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsDropShadowEffect(); + ~PythonQtShell_QGraphicsDropShadowEffect() override; -virtual QRectF boundingRectFor(const QRectF& rect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& rect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect @@ -699,7 +973,7 @@ class PythonQtWrapper_QGraphicsDropShadowEffect : public QObject public: public slots: QGraphicsDropShadowEffect* new_QGraphicsDropShadowEffect(QObject* parent = nullptr); -void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; } +void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; } qreal blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const; QRectF py_q_boundingRectFor(QGraphicsDropShadowEffect* theWrappedObject, const QRectF& rect) const{ return (((PythonQtPublicPromoter_QGraphicsDropShadowEffect*)theWrappedObject)->py_q_boundingRectFor(rect));} QColor color(QGraphicsDropShadowEffect* theWrappedObject) const; @@ -716,17 +990,22 @@ void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete o class PythonQtShell_QGraphicsEffect : public QGraphicsEffect { public: - PythonQtShell_QGraphicsEffect(QObject* parent = nullptr):QGraphicsEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsEffect(QObject* parent = nullptr):QGraphicsEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsEffect(); + ~PythonQtShell_QGraphicsEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEffect : public QGraphicsEffect @@ -755,7 +1034,7 @@ enum PixmapPadMode{ Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) public slots: QGraphicsEffect* new_QGraphicsEffect(QObject* parent = nullptr); -void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } +void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } QRectF boundingRect(QGraphicsEffect* theWrappedObject) const; QRectF boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const; QRectF py_q_boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const{ return (((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->py_q_boundingRectFor(sourceRect));} @@ -778,24 +1057,49 @@ void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem { public: - PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsEllipseItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(rect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(x, y, w, h, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsEllipseItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem @@ -825,31 +1129,23 @@ public slots: QGraphicsEllipseItem* new_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr); QGraphicsEllipseItem* new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr); QGraphicsEllipseItem* new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr); -void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsEllipseItem* theWrappedObject) const; +void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_extension(variant));} bool py_q_isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QRectF rect(QGraphicsEllipseItem* theWrappedObject) const; - void setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect); void setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); void setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle); void setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle); - QPainterPath shape(QGraphicsEllipseItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_shape());} int spanAngle(QGraphicsEllipseItem* theWrappedObject) const; int startAngle(QGraphicsEllipseItem* theWrappedObject) const; - bool supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsEllipseItem* theWrappedObject) const; int py_q_type(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_type());} }; @@ -860,21 +1156,21 @@ void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout { public: - PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsGridLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsGridLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsGridLayout(); + ~PythonQtShell_QGraphicsGridLayout() override; -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 setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout @@ -892,7 +1188,7 @@ class PythonQtWrapper_QGraphicsGridLayout : public QObject public: public slots: QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } +void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment = Qt::Alignment()); void addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = Qt::Alignment()); Qt::Alignment alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const; @@ -925,7 +1221,6 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); void setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing); void setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch); - void setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment); @@ -937,7 +1232,6 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); - QSizeF sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal verticalSpacing(QGraphicsGridLayout* theWrappedObject) const; }; @@ -949,47 +1243,47 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } class PythonQtShell_QGraphicsItem : public QGraphicsItem { public: - PythonQtShell_QGraphicsItem(QGraphicsItem* parent = nullptr):QGraphicsItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItem(); - -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 = nullptr); -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; + PythonQtShell_QGraphicsItem(QGraphicsItem* parent = nullptr):QGraphicsItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItem : public QGraphicsItem @@ -1082,7 +1376,7 @@ enum enum_1{ Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag) public slots: QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = nullptr); -void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } +void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } bool acceptDrops(QGraphicsItem* theWrappedObject) const; bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const; bool acceptTouchEvents(QGraphicsItem* theWrappedObject) const; @@ -1242,6 +1536,7 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } QGraphicsItem* panel(QGraphicsItem* theWrappedObject) const; QGraphicsItem::PanelModality panelModality(QGraphicsItem* theWrappedObject) const; QGraphicsItem* parentItem(QGraphicsItem* theWrappedObject) const; + QGraphicsObject* parentObject(QGraphicsItem* theWrappedObject) const; QGraphicsWidget* parentWidget(QGraphicsItem* theWrappedObject) const; QPointF pos(QGraphicsItem* theWrappedObject) const; void prepareGeometryChange(QGraphicsItem* theWrappedObject); @@ -1303,6 +1598,7 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } void stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling); bool supportsExtension(QGraphicsItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->py_q_supportsExtension(extension));} + QGraphicsObject* toGraphicsObject(QGraphicsItem* theWrappedObject); QString toolTip(QGraphicsItem* theWrappedObject) const; QGraphicsItem* topLevelItem(QGraphicsItem* theWrappedObject) const; QGraphicsWidget* topLevelWidget(QGraphicsItem* theWrappedObject) const; @@ -1333,16 +1629,21 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } class PythonQtShell_QGraphicsItemAnimation : public QGraphicsItemAnimation { public: - PythonQtShell_QGraphicsItemAnimation(QObject* parent = nullptr):QGraphicsItemAnimation(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsItemAnimation(QObject* parent = nullptr):QGraphicsItemAnimation(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsItemAnimation(); + ~PythonQtShell_QGraphicsItemAnimation() override; -virtual void afterAnimationStep(qreal step); -virtual void beforeAnimationStep(qreal step); +void afterAnimationStep(qreal step) override; +void beforeAnimationStep(qreal step) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation @@ -1358,7 +1659,7 @@ class PythonQtWrapper_QGraphicsItemAnimation : public QObject public: public slots: QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = nullptr); -void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } +void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } void afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); void py_q_afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step){ (((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->py_q_afterAnimationStep(step));} void beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); @@ -1397,47 +1698,47 @@ void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } class PythonQtShell_QGraphicsItemGroup : public QGraphicsItemGroup { public: - PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = nullptr):QGraphicsItemGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItemGroup(); - -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 = nullptr); -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; + PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = nullptr):QGraphicsItemGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsItemGroup() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemGroup : public QGraphicsItemGroup @@ -1457,7 +1758,7 @@ enum enum_1{ Type = QGraphicsItemGroup::Type}; public slots: QGraphicsItemGroup* new_QGraphicsItemGroup(QGraphicsItem* parent = nullptr); -void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } +void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } void addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); QRectF py_q_boundingRect(QGraphicsItemGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_boundingRect());} bool py_q_isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_isObscuredBy(item));} @@ -1474,21 +1775,21 @@ void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } class PythonQtShell_QGraphicsLayout : public QGraphicsLayout { public: - PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLayout(); + ~PythonQtShell_QGraphicsLayout() override; -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 = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int i) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout @@ -1508,7 +1809,7 @@ class PythonQtWrapper_QGraphicsLayout : public QObject public: public slots: QGraphicsLayout* new_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } +void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } void activate(QGraphicsLayout* theWrappedObject); void addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem); int count(QGraphicsLayout* theWrappedObject) const; @@ -1536,16 +1837,16 @@ void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } class PythonQtShell_QGraphicsLayoutItem : public QGraphicsLayoutItem { public: - PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLayoutItem(); + ~PythonQtShell_QGraphicsLayoutItem() override; -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(); +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem @@ -1564,7 +1865,7 @@ class PythonQtWrapper_QGraphicsLayoutItem : public QObject public: public slots: QGraphicsLayoutItem* new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false); -void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } +void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } QRectF contentsRect(QGraphicsLayoutItem* theWrappedObject) const; QSizeF effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QRectF geometry(QGraphicsLayoutItem* theWrappedObject) const; @@ -1616,49 +1917,49 @@ void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } class PythonQtShell_QGraphicsLineItem : public QGraphicsLineItem { public: - PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = nullptr):QGraphicsLineItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr):QGraphicsLineItem(line, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr):QGraphicsLineItem(x1, y1, x2, y2, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsLineItem(); - -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 = nullptr); -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; + PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = nullptr):QGraphicsLineItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr):QGraphicsLineItem(line, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr):QGraphicsLineItem(x1, y1, x2, y2, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsLineItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLineItem : public QGraphicsLineItem @@ -1688,7 +1989,7 @@ public slots: QGraphicsLineItem* new_QGraphicsLineItem(QGraphicsItem* parent = nullptr); QGraphicsLineItem* new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr); QGraphicsLineItem* new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr); -void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } +void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsLineItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_boundingRect());} bool py_q_contains(QGraphicsLineItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_contains(point));} QVariant py_q_extension(QGraphicsLineItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_extension(variant));} @@ -1713,22 +2014,22 @@ void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } class PythonQtShell_QGraphicsLinearLayout : public QGraphicsLinearLayout { public: - PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(orientation, parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(orientation, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLinearLayout(); + ~PythonQtShell_QGraphicsLinearLayout() override; -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 setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLinearLayout : public QGraphicsLinearLayout @@ -1747,7 +2048,7 @@ class PythonQtWrapper_QGraphicsLinearLayout : public QObject public slots: QGraphicsLinearLayout* new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr); QGraphicsLinearLayout* new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } +void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } void addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item); void addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch = 1); Qt::Alignment alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; @@ -1762,13 +2063,11 @@ void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } void py_q_removeAt(QGraphicsLinearLayout* theWrappedObject, int index){ (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_removeAt(index));} void removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item); void setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment); - void setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing); void setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation); void setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing); void setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch); - QSizeF sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal spacing(QGraphicsLinearLayout* theWrappedObject) const; int stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; @@ -1778,20 +2077,101 @@ void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } +class PythonQtShell_QGraphicsObject : public QGraphicsObject +{ +public: + PythonQtShell_QGraphicsObject(QGraphicsItem* parent = nullptr):QGraphicsObject(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsObject() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsObject : public QGraphicsObject +{ public: +inline bool promoted_event(QEvent* ev) { return this->event(ev); } +inline void promoted_updateMicroFocus() { this->updateMicroFocus(); } +inline bool py_q_event(QEvent* ev) { return QGraphicsObject::event(ev); } +}; + +class PythonQtWrapper_QGraphicsObject : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsObject* new_QGraphicsObject(QGraphicsItem* parent = nullptr); +void delete_QGraphicsObject(QGraphicsObject* obj) { delete obj; } + bool py_q_event(QGraphicsObject* theWrappedObject, QEvent* ev){ return (((PythonQtPublicPromoter_QGraphicsObject*)theWrappedObject)->py_q_event(ev));} + void grabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags()); + void ungrabGesture(QGraphicsObject* theWrappedObject, Qt::GestureType type); + QString py_toString(QGraphicsObject*); +}; + + + + + class PythonQtShell_QGraphicsOpacityEffect : public QGraphicsOpacityEffect { public: - PythonQtShell_QGraphicsOpacityEffect(QObject* parent = nullptr):QGraphicsOpacityEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsOpacityEffect(QObject* parent = nullptr):QGraphicsOpacityEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsOpacityEffect(); + ~PythonQtShell_QGraphicsOpacityEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsOpacityEffect : public QGraphicsOpacityEffect @@ -1805,7 +2185,7 @@ class PythonQtWrapper_QGraphicsOpacityEffect : public QObject public: public slots: QGraphicsOpacityEffect* new_QGraphicsOpacityEffect(QObject* parent = nullptr); -void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } +void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } void py_q_draw(QGraphicsOpacityEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsOpacityEffect*)theWrappedObject)->py_q_draw(painter));} qreal opacity(QGraphicsOpacityEffect* theWrappedObject) const; QBrush opacityMask(QGraphicsOpacityEffect* theWrappedObject) const; @@ -1818,23 +2198,48 @@ void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem { public: - PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = nullptr):QGraphicsPathItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPathItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = nullptr):QGraphicsPathItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsPathItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem @@ -1863,516 +2268,19 @@ enum enum_1{ public slots: QGraphicsPathItem* new_QGraphicsPathItem(QGraphicsItem* parent = nullptr); QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr); -void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsPathItem* theWrappedObject) const; +void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_extension(variant));} bool py_q_isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QPainterPath path(QGraphicsPathItem* theWrappedObject) const; - void setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); - QPainterPath shape(QGraphicsPathItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsPathItem* theWrappedObject) const; int py_q_type(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_type());} }; - - - -class PythonQtShell_QGraphicsPixmapItem : public QGraphicsPixmapItem -{ -public: - PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(pixmap, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPixmapItem(); - -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); -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_QGraphicsPixmapItem : public QGraphicsPixmapItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } -inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } -inline QRectF py_q_boundingRect() const { return QGraphicsPixmapItem::boundingRect(); } -inline bool py_q_contains(const QPointF& point) const { return QGraphicsPixmapItem::contains(point); } -inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPixmapItem::extension(variant); } -inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPixmapItem::isObscuredBy(item); } -inline QPainterPath py_q_opaqueArea() const { return QGraphicsPixmapItem::opaqueArea(); } -inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsPixmapItem::paint(painter, option, widget); } -inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPixmapItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline QPainterPath py_q_shape() const { return QGraphicsPixmapItem::shape(); } -inline bool py_q_supportsExtension(int extension) const { return QGraphicsPixmapItem::supportsExtension((QGraphicsItem::Extension)extension); } -inline int py_q_type() const { return QGraphicsPixmapItem::type(); } -}; - -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 = nullptr); -QGraphicsPixmapItem* new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr); -void delete_QGraphicsPixmapItem(QGraphicsPixmapItem* obj) { delete obj; } - QRectF py_q_boundingRect(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_boundingRect());} - bool py_q_contains(QGraphicsPixmapItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_contains(point));} - QVariant py_q_extension(QGraphicsPixmapItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_extension(variant));} - bool py_q_isObscuredBy(QGraphicsPixmapItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_isObscuredBy(item));} - QPointF offset(QGraphicsPixmapItem* theWrappedObject) const; - QPainterPath py_q_opaqueArea(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_opaqueArea());} - void py_q_paint(QGraphicsPixmapItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - QPixmap pixmap(QGraphicsPixmapItem* theWrappedObject) const; - void py_q_setExtension(QGraphicsPixmapItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_setExtension(extension, variant));} - void setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset); - void setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y); - void setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap); - void setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode); - void setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode); - QPainterPath py_q_shape(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_shape());} - QGraphicsPixmapItem::ShapeMode shapeMode(QGraphicsPixmapItem* theWrappedObject) const; - bool py_q_supportsExtension(QGraphicsPixmapItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_supportsExtension(extension));} - Qt::TransformationMode transformationMode(QGraphicsPixmapItem* theWrappedObject) const; - int py_q_type(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_type());} -}; - - - - - -class PythonQtShell_QGraphicsPolygonItem : public QGraphicsPolygonItem -{ -public: - PythonQtShell_QGraphicsPolygonItem(QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(polygon, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPolygonItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPolygonItem : public QGraphicsPolygonItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } -inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } -inline QRectF py_q_boundingRect() const { return QGraphicsPolygonItem::boundingRect(); } -inline bool py_q_contains(const QPointF& point) const { return QGraphicsPolygonItem::contains(point); } -inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPolygonItem::extension(variant); } -inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPolygonItem::isObscuredBy(item); } -inline QPainterPath py_q_opaqueArea() const { return QGraphicsPolygonItem::opaqueArea(); } -inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsPolygonItem::paint(painter, option, widget); } -inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPolygonItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline QPainterPath py_q_shape() const { return QGraphicsPolygonItem::shape(); } -inline bool py_q_supportsExtension(int extension) const { return QGraphicsPolygonItem::supportsExtension((QGraphicsItem::Extension)extension); } -inline int py_q_type() const { return QGraphicsPolygonItem::type(); } -}; - -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 = nullptr); -QGraphicsPolygonItem* new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr); -void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsPolygonItem* theWrappedObject) const; - QRectF py_q_boundingRect(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const; - bool py_q_contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const; - QVariant py_q_extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_extension(variant));} - Qt::FillRule fillRule(QGraphicsPolygonItem* theWrappedObject) const; - bool py_q_isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_isObscuredBy(item));} - QPainterPath py_q_opaqueArea(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); - void py_q_paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - QPolygonF polygon(QGraphicsPolygonItem* theWrappedObject) const; - void setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant); - void py_q_setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_setExtension(extension, variant));} - void setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule); - void setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon); - QPainterPath shape(QGraphicsPolygonItem* theWrappedObject) const; - QPainterPath py_q_shape(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const; - bool py_q_supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsPolygonItem* theWrappedObject) const; - int py_q_type(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_type());} -}; - - - - - -class PythonQtShell_QGraphicsProxyWidget : public QGraphicsProxyWidget -{ -public: - PythonQtShell_QGraphicsProxyWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsProxyWidget(parent, wFlags),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsProxyWidget(); - -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -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 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 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 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 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -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 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; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsProxyWidget : public QGraphicsProxyWidget -{ public: -inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { this->contextMenuEvent(event); } -inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { this->dragEnterEvent(event); } -inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { this->dragLeaveEvent(event); } -inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { this->dragMoveEvent(event); } -inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { this->dropEvent(event); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } -inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } -inline void promoted_grabMouseEvent(QEvent* event) { this->grabMouseEvent(event); } -inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } -inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { this->hoverEnterEvent(event); } -inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { this->hoverLeaveEvent(event); } -inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { this->hoverMoveEvent(event); } -inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } -inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return this->inputMethodQuery(query); } -inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return this->itemChange(change, value); } -inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } -inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } -inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { this->mouseDoubleClickEvent(event); } -inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { this->mouseMoveEvent(event); } -inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { this->mousePressEvent(event); } -inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { this->mouseReleaseEvent(event); } -inline QGraphicsProxyWidget* promoted_newProxyWidget(const QWidget* arg__1) { return this->newProxyWidget(arg__1); } -inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { this->resizeEvent(event); } -inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } -inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } -inline void promoted_ungrabMouseEvent(QEvent* event) { this->ungrabMouseEvent(event); } -inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { this->wheelEvent(event); } -inline void py_q_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsProxyWidget::contextMenuEvent(event); } -inline void py_q_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragEnterEvent(event); } -inline void py_q_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragLeaveEvent(event); } -inline void py_q_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragMoveEvent(event); } -inline void py_q_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dropEvent(event); } -inline bool py_q_event(QEvent* event) { return QGraphicsProxyWidget::event(event); } -inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QGraphicsProxyWidget::eventFilter(object, event); } -inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusInEvent(event); } -inline bool py_q_focusNextPrevChild(bool next) { return QGraphicsProxyWidget::focusNextPrevChild(next); } -inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusOutEvent(event); } -inline void py_q_grabMouseEvent(QEvent* event) { QGraphicsProxyWidget::grabMouseEvent(event); } -inline void py_q_hideEvent(QHideEvent* event) { QGraphicsProxyWidget::hideEvent(event); } -inline void py_q_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverEnterEvent(event); } -inline void py_q_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverLeaveEvent(event); } -inline void py_q_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverMoveEvent(event); } -inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QGraphicsProxyWidget::inputMethodEvent(event); } -inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsProxyWidget::inputMethodQuery(query); } -inline QVariant py_q_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsProxyWidget::itemChange(change, value); } -inline void py_q_keyPressEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyPressEvent(event); } -inline void py_q_keyReleaseEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyReleaseEvent(event); } -inline void py_q_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseDoubleClickEvent(event); } -inline void py_q_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseMoveEvent(event); } -inline void py_q_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mousePressEvent(event); } -inline void py_q_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseReleaseEvent(event); } -inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsProxyWidget::paint(painter, option, widget); } -inline void py_q_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsProxyWidget::resizeEvent(event); } -inline void py_q_setGeometry(const QRectF& rect) { QGraphicsProxyWidget::setGeometry(rect); } -inline void py_q_showEvent(QShowEvent* event) { QGraphicsProxyWidget::showEvent(event); } -inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsProxyWidget::sizeHint(which, constraint); } -inline int py_q_type() const { return QGraphicsProxyWidget::type(); } -inline void py_q_ungrabMouseEvent(QEvent* event) { QGraphicsProxyWidget::ungrabMouseEvent(event); } -inline void py_q_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsProxyWidget::wheelEvent(event); } -}; - -class PythonQtWrapper_QGraphicsProxyWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsProxyWidget::Type}; -public slots: -QGraphicsProxyWidget* new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); -void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } - void contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event); - void py_q_contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_contextMenuEvent(event));} - QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); - void dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dropEvent(event));} - bool py_q_event(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_event(event));} - bool eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event); - bool py_q_eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_eventFilter(object, event));} - void py_q_focusInEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusInEvent(event));} - bool py_q_focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_focusOutEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusOutEvent(event));} - void py_q_grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_grabMouseEvent(event));} - void py_q_hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hideEvent(event));} - void hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - void py_q_hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverEnterEvent(event));} - void py_q_hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void py_q_hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event); - void py_q_inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const; - QVariant py_q_inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodQuery(query));} - QVariant py_q_itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_itemChange(change, value));} - void keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); - void py_q_keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); - void py_q_keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseReleaseEvent(event));} - void py_q_paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} - void py_q_resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_resizeEvent(event));} - void py_q_setGeometry(QGraphicsProxyWidget* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_setGeometry(rect));} - void setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget); - void py_q_showEvent(QGraphicsProxyWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_showEvent(event));} - QSizeF py_q_sizeHint(QGraphicsProxyWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_sizeHint(which, constraint));} - QRectF subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const; - int py_q_type(QGraphicsProxyWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_type());} - void py_q_ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} - void wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event); - void py_q_wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_wheelEvent(event));} - QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem -{ -public: - PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = nullptr):QGraphicsRectItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsRectItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsRectItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsRectItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsRectItem : public QGraphicsRectItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } -inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } -inline QRectF py_q_boundingRect() const { return QGraphicsRectItem::boundingRect(); } -inline bool py_q_contains(const QPointF& point) const { return QGraphicsRectItem::contains(point); } -inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsRectItem::extension(variant); } -inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsRectItem::isObscuredBy(item); } -inline QPainterPath py_q_opaqueArea() const { return QGraphicsRectItem::opaqueArea(); } -inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsRectItem::paint(painter, option, widget); } -inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsRectItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline QPainterPath py_q_shape() const { return QGraphicsRectItem::shape(); } -inline bool py_q_supportsExtension(int extension) const { return QGraphicsRectItem::supportsExtension((QGraphicsItem::Extension)extension); } -inline int py_q_type() const { return QGraphicsRectItem::type(); } -}; - -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 = nullptr); -QGraphicsRectItem* new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr); -QGraphicsRectItem* new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr); -void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsRectItem* theWrappedObject) const; - QRectF py_q_boundingRect(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const; - bool py_q_contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const; - QVariant py_q_extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_extension(variant));} - bool py_q_isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_isObscuredBy(item));} - QPainterPath py_q_opaqueArea(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); - void py_q_paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - QRectF rect(QGraphicsRectItem* theWrappedObject) const; - void setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant); - void py_q_setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_setExtension(extension, variant));} - void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect); - void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - QPainterPath shape(QGraphicsRectItem* theWrappedObject) const; - QPainterPath py_q_shape(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const; - bool py_q_supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsRectItem* theWrappedObject) const; - int py_q_type(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_type());} -}; - - - - - -class PythonQtShell_QGraphicsRotation : public QGraphicsRotation -{ -public: - PythonQtShell_QGraphicsRotation(QObject* parent = nullptr):QGraphicsRotation(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsRotation(); - -virtual void applyTo(QMatrix4x4* matrix) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsRotation : public QGraphicsRotation -{ public: -inline void py_q_applyTo(QMatrix4x4* matrix) const { QGraphicsRotation::applyTo(matrix); } -}; - -class PythonQtWrapper_QGraphicsRotation : public QObject -{ Q_OBJECT -public: -public slots: -QGraphicsRotation* new_QGraphicsRotation(QObject* parent = nullptr); -void delete_QGraphicsRotation(QGraphicsRotation* obj) { delete obj; } - qreal angle(QGraphicsRotation* theWrappedObject) const; - void py_q_applyTo(QGraphicsRotation* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsRotation*)theWrappedObject)->py_q_applyTo(matrix));} - QVector3D axis(QGraphicsRotation* theWrappedObject) const; - QVector3D origin(QGraphicsRotation* theWrappedObject) const; - void setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1); - void setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis); - void setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis); - void setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point); -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp similarity index 54% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index 08a36ce8..022b2a71 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -2,12 +2,7 @@ #include #include #include -#include -#include #include -#include -#include -#include #include #include #include @@ -16,70 +11,89 @@ #include #include #include -#include +#include +#include +#include +#include #include #include -#include +#include #include +#include #include +#include #include #include #include +#include #include #include #include +#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include -#include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include #include #include +#include +#include +#include #include #include #include +#include #include +#include +#include #include +#include #include #include #include -PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { +PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const +void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -87,172 +101,153 @@ if (_wrapper) { } } } - QGraphicsScale::applyTo(matrix0); -} -QGraphicsScale* PythonQtWrapper_QGraphicsScale::new_QGraphicsScale(QObject* parent) -{ -return new PythonQtShell_QGraphicsScale(parent); } - -const QMetaObject* PythonQtShell_QGraphicsScale::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScale::staticMetaObject); - } else { - return &QGraphicsScale::staticMetaObject; - } -} -int PythonQtShell_QGraphicsScale::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsScale::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QVector3D PythonQtWrapper_QGraphicsScale::origin(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->origin()); -} - -void PythonQtWrapper_QGraphicsScale::setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point) -{ - ( theWrappedObject->setOrigin(point)); -} - -void PythonQtWrapper_QGraphicsScale::setXScale(QGraphicsScale* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setXScale(arg__1)); -} - -void PythonQtWrapper_QGraphicsScale::setYScale(QGraphicsScale* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setYScale(arg__1)); -} - -void PythonQtWrapper_QGraphicsScale::setZScale(QGraphicsScale* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setZScale(arg__1)); -} - -qreal PythonQtWrapper_QGraphicsScale::xScale(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->xScale()); -} - -qreal PythonQtWrapper_QGraphicsScale::yScale(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->yScale()); -} - -qreal PythonQtWrapper_QGraphicsScale::zScale(QGraphicsScale* theWrappedObject) const -{ - return ( theWrappedObject->zScale()); -} - - - -PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsPixmapItem::advance(phase0); } -void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::contextMenuEvent(event0); + return QGraphicsPixmapItem::boundingRect(); } -void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::dragEnterEvent(event0); + return QGraphicsPixmapItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::dragLeaveEvent(event0); + return QGraphicsPixmapItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::dragMoveEvent(event0); + return QGraphicsPixmapItem::contains(point0); } -void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) +void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawBackground"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -260,21 +255,21 @@ if (_wrapper) { } } } - QGraphicsScene::drawBackground(painter0, rect1); + QGraphicsPixmapItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) +void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawForeground"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -282,21 +277,21 @@ if (_wrapper) { } } } - QGraphicsScene::drawForeground(painter0, rect1); + QGraphicsPixmapItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) +void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItems"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3, (void*)&widget4}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -304,21 +299,21 @@ if (_wrapper) { } } } - QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); + QGraphicsPixmapItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -326,65 +321,54 @@ if (_wrapper) { } } } - QGraphicsScene::dropEvent(event0); + QGraphicsPixmapItem::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsScene::event(QEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsScene::event(event0); + QGraphicsPixmapItem::dropEvent(event0); } -bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) +QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -392,9 +376,9 @@ if (_wrapper) { } } } - return QGraphicsScene::eventFilter(watched0, event1); + return QGraphicsPixmapItem::extension(variant0); } -void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -404,9 +388,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -414,9 +398,9 @@ if (_wrapper) { } } } - QGraphicsScene::focusInEvent(event0); + QGraphicsPixmapItem::focusInEvent(event0); } -void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -426,9 +410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -436,21 +420,21 @@ if (_wrapper) { } } } - QGraphicsScene::focusOutEvent(event0); + QGraphicsPixmapItem::focusOutEvent(event0); } -void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -458,21 +442,21 @@ if (_wrapper) { } } } - QGraphicsScene::helpEvent(event0); + QGraphicsPixmapItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -480,54 +464,43 @@ if (_wrapper) { } } } - QGraphicsScene::inputMethodEvent(event0); + QGraphicsPixmapItem::hoverLeaveEvent(event0); } -QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsScene::inputMethodQuery(query0); + QGraphicsPixmapItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -535,65 +508,123 @@ if (_wrapper) { } } } - QGraphicsScene::keyPressEvent(event0); + QGraphicsPixmapItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) +QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::keyReleaseEvent(event0); + return QGraphicsPixmapItem::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::mouseDoubleClickEvent(event0); + return QGraphicsPixmapItem::isObscuredBy(item0); } -void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPixmapItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -601,21 +632,21 @@ if (_wrapper) { } } } - QGraphicsScene::mouseMoveEvent(event0); + QGraphicsPixmapItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -623,21 +654,21 @@ if (_wrapper) { } } } - QGraphicsScene::mousePressEvent(event0); + QGraphicsPixmapItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -645,21 +676,21 @@ if (_wrapper) { } } } - QGraphicsScene::mouseReleaseEvent(event0); + QGraphicsPixmapItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -667,1058 +698,2119 @@ if (_wrapper) { } } } - QGraphicsScene::wheelEvent(event0); + QGraphicsPixmapItem::mouseMoveEvent(event0); } -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); } - -const QMetaObject* PythonQtShell_QGraphicsScene::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScene::staticMetaObject); - } else { - return &QGraphicsScene::staticMetaObject; +void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QGraphicsScene::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsScene::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + QGraphicsPixmapItem::mousePressEvent(event0); } -QGraphicsItem* PythonQtWrapper_QGraphicsScene::activePanel(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->activePanel()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->activeWindow()); + QGraphicsPixmapItem::mouseReleaseEvent(event0); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { - return ( theWrappedObject->addEllipse(rect, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -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)); + return QGraphicsPixmapItem::opaqueArea(); } - -void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP item) +void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( theWrappedObject->addItem(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) -{ - return ( theWrappedObject->addLine(line, pen)); + QGraphicsPixmapItem::paint(painter0, option1, widget2); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen) +bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { - return ( theWrappedObject->addLine(x1, y1, x2, y2, pen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addPath(path, pen, brush)); + return QGraphicsPixmapItem::sceneEvent(event0); } - -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) +bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - return ( theWrappedObject->addPixmap(pixmap)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addPolygon(polygon, pen, brush)); + return QGraphicsPixmapItem::sceneEventFilter(watched0, event1); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - return ( theWrappedObject->addRect(rect, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) + QGraphicsPixmapItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { - return ( theWrappedObject->addRect(x, y, w, h, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) -{ - return ( theWrappedObject->addSimpleText(text, font)); + return QGraphicsPixmapItem::shape(); } - -QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const { - return ( theWrappedObject->addText(text, font)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags) -{ - return ( theWrappedObject->addWidget(widget, wFlags)); + return QGraphicsPixmapItem::supportsExtension(extension0); } - -QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const +int PythonQtShell_QGraphicsPixmapItem::type() const { - return ( theWrappedObject->backgroundBrush()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->bspTreeDepth()); + return QGraphicsPixmapItem::type(); } - -void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) +void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - ( theWrappedObject->clearFocus()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const -{ - return ( theWrappedObject->collidingItems(item, mode)); + QGraphicsPixmapItem::wheelEvent(event0); } +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPixmapItem(parent); } -void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); -} +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPixmapItem(pixmap, parent); } -QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) +QPointF PythonQtWrapper_QGraphicsPixmapItem::offset(QGraphicsPixmapItem* theWrappedObject) const { - return ( theWrappedObject->createItemGroup(items)); + return ( theWrappedObject->offset()); } -void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) +QPixmap PythonQtWrapper_QGraphicsPixmapItem::pixmap(QGraphicsPixmapItem* theWrappedObject) const { - ( theWrappedObject->destroyItemGroup(group)); + return ( theWrappedObject->pixmap()); } -void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); + ( theWrappedObject->setOffset(offset)); } -void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); + ( theWrappedObject->setOffset(x, y)); } -void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGraphicsPixmapItem::setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); + ( theWrappedObject->setPixmap(pixmap)); } -void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtWrapper_QGraphicsPixmapItem::setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); + ( theWrappedObject->setShapeMode(mode)); } -void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtWrapper_QGraphicsPixmapItem::setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); + ( theWrappedObject->setTransformationMode(mode)); } -void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) +QGraphicsPixmapItem::ShapeMode PythonQtWrapper_QGraphicsPixmapItem::shapeMode(QGraphicsPixmapItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); + return ( theWrappedObject->shapeMode()); } -void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +Qt::TransformationMode PythonQtWrapper_QGraphicsPixmapItem::transformationMode(QGraphicsPixmapItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); + return ( theWrappedObject->transformationMode()); } -bool PythonQtWrapper_QGraphicsScene::event(QGraphicsScene* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_event(event)); -} -bool PythonQtWrapper_QGraphicsScene::eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_eventFilter(watched, event)); -} -void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); +PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsPolygonItem::advance(int phase0) { - return ( theWrappedObject->focusItem()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::focusOnTouch(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->focusOnTouch()); + QGraphicsPolygonItem::advance(phase0); } - -void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) +QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->font()); + return QGraphicsPolygonItem::boundingRect(); } - -QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsPolygonItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->foregroundBrush()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); + return QGraphicsPolygonItem::collidesWithItem(other0, mode1); } - -qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsPolygonItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->height()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); + return QGraphicsPolygonItem::collidesWithPath(path0, mode1); } - -void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) +bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( theWrappedObject->inputMethodQuery(query)); + return QGraphicsPolygonItem::contains(point0); } - -void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) +void PythonQtShell_QGraphicsPolygonItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - ( theWrappedObject->invalidate(x, y, w, h, layers)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); + QGraphicsPolygonItem::contextMenuEvent(event0); } - -bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsPolygonItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->isSortCacheEnabled()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->itemAt(pos, deviceTransform)); + QGraphicsPolygonItem::dragEnterEvent(event0); } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const +void PythonQtShell_QGraphicsPolygonItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->itemAt(x, y, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->itemIndexMethod()); + QGraphicsPolygonItem::dragLeaveEvent(event0); } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const +void PythonQtShell_QGraphicsPolygonItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->items(order)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->items(path, mode, order, deviceTransform)); + QGraphicsPolygonItem::dragMoveEvent(event0); } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +void PythonQtShell_QGraphicsPolygonItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->items(pos, mode, order, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->items(polygon, mode, order, deviceTransform)); + QGraphicsPolygonItem::dropEvent(event0); } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant0) const { - return ( theWrappedObject->items(rect, mode, order, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->items(x, y, w, h, mode, order, deviceTransform)); + return QGraphicsPolygonItem::extension(variant0); } - -QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsPolygonItem::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->itemsBoundingRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); + QGraphicsPolygonItem::focusInEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +void PythonQtShell_QGraphicsPolygonItem::focusOutEvent(QFocusEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QGraphicsScene::minimumRenderSize(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->minimumRenderSize()); + QGraphicsPolygonItem::focusOutEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtShell_QGraphicsPolygonItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->mouseGrabberItem()); + QGraphicsPolygonItem::hoverEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtShell_QGraphicsPolygonItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); + QGraphicsPolygonItem::hoverLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtShell_QGraphicsPolygonItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->palette()); + QGraphicsPolygonItem::hoverMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item) +void PythonQtShell_QGraphicsPolygonItem::inputMethodEvent(QInputMethodEvent* event0) { - ( theWrappedObject->removeItem(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) -{ - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); + QGraphicsPolygonItem::inputMethodEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const +QVariant PythonQtShell_QGraphicsPolygonItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - return ( theWrappedObject->sceneRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->selectedItems()); + return QGraphicsPolygonItem::inputMethodQuery(query0); } - -QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const { - return ( theWrappedObject->selectionArea()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) -{ - return ( theWrappedObject->sendEvent(item, event)); + return QGraphicsPolygonItem::isObscuredBy(item0); } - -void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) +QVariant PythonQtShell_QGraphicsPolygonItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - ( theWrappedObject->setActivePanel(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) -{ - ( theWrappedObject->setActiveWindow(widget)); + return QGraphicsPolygonItem::itemChange(change0, value1); } - -void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +void PythonQtShell_QGraphicsPolygonItem::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->setBackgroundBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) -{ - ( theWrappedObject->setBspTreeDepth(depth)); + QGraphicsPolygonItem::keyPressEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) +void PythonQtShell_QGraphicsPolygonItem::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->setFocus(focusReason)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) -{ - ( theWrappedObject->setFocusItem(item, focusReason)); + QGraphicsPolygonItem::keyReleaseEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::setFocusOnTouch(QGraphicsScene* theWrappedObject, bool enabled) +void PythonQtShell_QGraphicsPolygonItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setFocusOnTouch(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); + QGraphicsPolygonItem::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +void PythonQtShell_QGraphicsPolygonItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setForegroundBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) -{ - ( theWrappedObject->setItemIndexMethod(method)); + QGraphicsPolygonItem::mouseMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize) +void PythonQtShell_QGraphicsPolygonItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setMinimumRenderSize(minSize)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) -{ - ( theWrappedObject->setPalette(palette)); + QGraphicsPolygonItem::mousePressEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) +void PythonQtShell_QGraphicsPolygonItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setSceneRect(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) + QGraphicsPolygonItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { - ( theWrappedObject->setSceneRect(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) + return QGraphicsPolygonItem::opaqueArea(); +} +void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( theWrappedObject->setSelectionArea(path, mode, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) + QGraphicsPolygonItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsPolygonItem::sceneEvent(QEvent* event0) { - ( theWrappedObject->setSelectionArea(path, selectionOperation, mode, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) + return QGraphicsPolygonItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsPolygonItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - ( theWrappedObject->setSelectionArea(path, deviceTransform)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) + return QGraphicsPolygonItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - ( theWrappedObject->setSortCacheEnabled(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) + QGraphicsPolygonItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const { - ( theWrappedObject->setStickyFocus(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) + return QGraphicsPolygonItem::shape(); +} +bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Extension extension0) const { - ( theWrappedObject->setStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const + return QGraphicsPolygonItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsPolygonItem::type() const { - return ( theWrappedObject->stickyFocus()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const + return QGraphicsPolygonItem::type(); +} +void PythonQtShell_QGraphicsPolygonItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - return ( theWrappedObject->style()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPolygonItem::wheelEvent(event0); } +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPolygonItem(parent); } -void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } + +Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const { - ( theWrappedObject->update(x, y, w, h)); + return ( theWrappedObject->fillRule()); } -QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const +QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const { - return ( theWrappedObject->views()); + return ( theWrappedObject->polygon()); } -void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) +void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); + ( theWrappedObject->setFillRule(rule)); } -qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const +void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) { - return ( theWrappedObject->width()); + ( theWrappedObject->setPolygon(polygon)); } -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); +PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::advance(int phase0) { - return ( theWrappedObject->pos()); -} - -QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->reason()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsProxyWidget::advance(phase0); } - -QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const { - return ( theWrappedObject->screenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); + return QGraphicsProxyWidget::boundingRect(); } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { - ( theWrappedObject->setPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) -{ - ( theWrappedObject->setReason(reason)); + QGraphicsProxyWidget::changeEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* event0) { - ( theWrappedObject->setScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); + QGraphicsProxyWidget::childEvent(event0); } - - - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) +void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->acceptProposedAction()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); + QGraphicsProxyWidget::closeEvent(event0); } - -Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsProxyWidget::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->dropAction()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->mimeData()); + return QGraphicsProxyWidget::collidesWithItem(other0, mode1); } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsProxyWidget::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->modifiers()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::pos(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); + return QGraphicsProxyWidget::collidesWithPath(path0, mode1); } - -Qt::DropActions PythonQtWrapper_QGraphicsSceneDragDropEvent::possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsProxyWidget::contains(const QPointF& point0) const { - return ( theWrappedObject->possibleActions()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->proposedAction()); + return QGraphicsProxyWidget::contains(point0); } - -QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - return ( theWrappedObject->scenePos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); + QGraphicsProxyWidget::contextMenuEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) +void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* event0) { - ( theWrappedObject->setButtons(buttons)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) -{ - ( theWrappedObject->setDropAction(action)); + QGraphicsProxyWidget::customEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setModifiers(modifiers)); -} - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions) -{ - ( theWrappedObject->setPossibleActions(actions)); -} - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) -{ - ( theWrappedObject->setProposedAction(action)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); + QGraphicsProxyWidget::dragEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos) +void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setScreenPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QWidget* PythonQtWrapper_QGraphicsSceneDragDropEvent::source(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); + QGraphicsProxyWidget::dragLeaveEvent(event0); } - - - -QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->widget()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QGraphicsSceneEvent::py_toString(QGraphicsSceneEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; + QGraphicsProxyWidget::dragMoveEvent(event0); } - - - -QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->scenePos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QGraphicsSceneHelpEvent::screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); + QGraphicsProxyWidget::dropEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneHelpEvent::setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos) +bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { - ( theWrappedObject->setScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHelpEvent::setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); + return QGraphicsProxyWidget::event(event0); } - - - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) { - return ( theWrappedObject->lastPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScenePos()); + return QGraphicsProxyWidget::eventFilter(object0, event1); } - -QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +QVariant PythonQtShell_QGraphicsProxyWidget::extension(const QVariant& variant0) const { - return ( theWrappedObject->lastScreenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneHoverEvent::modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); + return QGraphicsProxyWidget::extension(variant0); } - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::pos(QGraphicsSceneHoverEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->pos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsProxyWidget::focusInEvent(event0); } - -QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { - return ( theWrappedObject->screenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastPos(pos)); + return QGraphicsProxyWidget::focusNextPrevChild(next0); } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->setLastScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setLastScreenPos(pos)); + QGraphicsProxyWidget::focusOutEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { - ( theWrappedObject->setModifiers(modifiers)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getContentsMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); + QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { - ( theWrappedObject->setScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("grabKeyboardEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); + QGraphicsProxyWidget::grabKeyboardEvent(event0); } - - - -Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { - return ( theWrappedObject->button()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("grabMouseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const -{ - return ( theWrappedObject->buttonDownPos(button)); + QGraphicsProxyWidget::grabMouseEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->buttonDownScenePos(button)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const -{ - return ( theWrappedObject->buttonDownScreenPos(button)); + QGraphicsProxyWidget::hideEvent(event0); } - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->buttons()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::MouseEventFlags PythonQtWrapper_QGraphicsSceneMouseEvent::flags(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->flags()); + QGraphicsProxyWidget::hoverEnterEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->lastPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScenePos()); + QGraphicsProxyWidget::hoverLeaveEvent(event0); } - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->lastScreenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); + QGraphicsProxyWidget::hoverMoveEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const { - return ( theWrappedObject->pos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initStyleOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&option0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsProxyWidget::initStyleOption(option0); } - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->screenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) -{ - ( theWrappedObject->setButton(button)); + QGraphicsProxyWidget::inputMethodEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) +QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { - ( theWrappedObject->setButtonDownPos(button, pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) -{ - ( theWrappedObject->setButtonDownScenePos(button, pos)); + return QGraphicsProxyWidget::inputMethodQuery(query0); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos) -{ - ( theWrappedObject->setButtonDownScreenPos(button, pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setButtons(buttons)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setFlags(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventFlags arg__1) -{ - ( theWrappedObject->setFlags(arg__1)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setLastScreenPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setSource(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventSource source) -{ - ( theWrappedObject->setSource(source)); -} - -Qt::MouseEventSource PythonQtWrapper_QGraphicsSceneMouseEvent::source(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - - - -QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::newPos(QGraphicsSceneMoveEvent* theWrappedObject) const -{ - return ( theWrappedObject->newPos()); -} - -QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldPos()); -} - -void PythonQtWrapper_QGraphicsSceneMoveEvent::setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setNewPos(pos)); -} - -void PythonQtWrapper_QGraphicsSceneMoveEvent::setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setOldPos(pos)); -} - - - -QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::newSize(QGraphicsSceneResizeEvent* theWrappedObject) const -{ - return ( theWrappedObject->newSize()); -} - -QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldSize()); -} - -void PythonQtWrapper_QGraphicsSceneResizeEvent::setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setNewSize(size)); -} - -void PythonQtWrapper_QGraphicsSceneResizeEvent::setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setOldSize(size)); -} - - - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneWheelEvent::buttons(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -int PythonQtWrapper_QGraphicsSceneWheelEvent::delta(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->delta()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneWheelEvent::modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -Qt::Orientation PythonQtWrapper_QGraphicsSceneWheelEvent::orientation(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::pos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); -} - -QPoint PythonQtWrapper_QGraphicsSceneWheelEvent::screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->screenPos()); -} - -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::setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); -} - -void PythonQtWrapper_QGraphicsSceneWheelEvent::setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(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::setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); -} - - - -PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const +bool PythonQtShell_QGraphicsProxyWidget::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1726,153 +2818,123 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::boundingRect(); + return QGraphicsProxyWidget::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) const +QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::contains(point0); + return QGraphicsProxyWidget::itemChange(change0, value1); } -QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& variant0) const +void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::extension(variant0); + QGraphicsProxyWidget::keyPressEvent(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::isObscuredBy(item0); + QGraphicsProxyWidget::keyReleaseEvent(event0); } -QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const +void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::opaqueArea(); + QGraphicsProxyWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1880,21 +2942,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::paint(painter0, option1, widget2); + QGraphicsProxyWidget::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1902,98 +2964,76 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::setExtension(extension0, variant1); + QGraphicsProxyWidget::mousePressEvent(event0); } -QPainterPath PythonQtShell_QGraphicsSimpleTextItem::shape() const +void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::shape(); + QGraphicsProxyWidget::mouseReleaseEvent(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::supportsExtension(extension0); + QGraphicsProxyWidget::moveEvent(event0); } -int PythonQtShell_QGraphicsSimpleTextItem::type() const +QPainterPath PythonQtShell_QGraphicsProxyWidget::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2001,139 +3041,98 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::type(); -} -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsSimpleTextItem(parent); } - -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsSimpleTextItem(text, parent); } - -QRectF PythonQtWrapper_QGraphicsSimpleTextItem::boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsSimpleTextItem::extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_extension(variant)); -} - -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)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QPainterPath PythonQtWrapper_QGraphicsSimpleTextItem::shape(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); + return QGraphicsProxyWidget::opaqueArea(); } - -bool PythonQtWrapper_QGraphicsSimpleTextItem::supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const +void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); + QGraphicsProxyWidget::paint(painter0, option1, widget2); } - -int PythonQtWrapper_QGraphicsSimpleTextItem::type(QGraphicsSimpleTextItem* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - return ( theWrappedObject->type()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintWindowFrame"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); } -QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const +void PythonQtShell_QGraphicsProxyWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsTextItem::boundingRect(); + QGraphicsProxyWidget::polishEvent(); } -bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const +QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("propertyChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&propertyName0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2141,21 +3140,21 @@ if (_wrapper) { } } } - return QGraphicsTextItem::contains(point0); + return QGraphicsProxyWidget::propertyChange(propertyName0, value1); } -void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2163,65 +3162,87 @@ if (_wrapper) { } } } - QGraphicsTextItem::contextMenuEvent(event0); + QGraphicsProxyWidget::resizeEvent(event0); } -void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::dragEnterEvent(event0); + return QGraphicsProxyWidget::sceneEvent(event0); } -void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::dragLeaveEvent(event0); + return QGraphicsProxyWidget::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2229,21 +3250,21 @@ if (_wrapper) { } } } - QGraphicsTextItem::dragMoveEvent(event0); + QGraphicsProxyWidget::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2251,32 +3272,32 @@ if (_wrapper) { } } } - QGraphicsTextItem::dropEvent(event0); + QGraphicsProxyWidget::setGeometry(rect0); } -QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant0) const +QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2284,21 +3305,21 @@ if (_wrapper) { } } } - return QGraphicsTextItem::extension(variant0); + return QGraphicsProxyWidget::shape(); } -void PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2306,65 +3327,87 @@ if (_wrapper) { } } } - QGraphicsTextItem::focusInEvent(event0); + QGraphicsProxyWidget::showEvent(event0); } -void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event0) +QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::focusOutEvent(event0); + return QGraphicsProxyWidget::sizeHint(which0, constraint1); } -void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::hoverEnterEvent(event0); + return QGraphicsProxyWidget::supportsExtension(extension0); } -void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2372,43 +3415,54 @@ if (_wrapper) { } } } - QGraphicsTextItem::hoverLeaveEvent(event0); + QGraphicsProxyWidget::timerEvent(event0); } -void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +int PythonQtShell_QGraphicsProxyWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::hoverMoveEvent(event0); + return QGraphicsProxyWidget::type(); } -void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2416,87 +3470,65 @@ if (_wrapper) { } } } - QGraphicsTextItem::inputMethodEvent(event0); + QGraphicsProxyWidget::ungrabKeyboardEvent(event0); } -QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsTextItem::inputMethodQuery(query0); + QGraphicsProxyWidget::ungrabMouseEvent(event0); } -bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsTextItem::isObscuredBy(item0); + QGraphicsProxyWidget::updateGeometry(); } -void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2504,87 +3536,130 @@ if (_wrapper) { } } } - QGraphicsTextItem::keyPressEvent(event0); + QGraphicsProxyWidget::wheelEvent(event0); } -void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("windowFrameEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::keyReleaseEvent(event0); + return QGraphicsProxyWidget::windowFrameEvent(e0); } -void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + Qt::WindowFrameSection returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::mouseDoubleClickEvent(event0); + return QGraphicsProxyWidget::windowFrameSectionAt(pos0); } -void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent, Qt::WindowFlags wFlags) +{ +return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } + +const QMetaObject* PythonQtShell_QGraphicsProxyWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsProxyWidget::staticMetaObject); + } else { + return &QGraphicsProxyWidget::staticMetaObject; } } - QGraphicsTextItem::mouseMoveEvent(event0); +int PythonQtShell_QGraphicsProxyWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsProxyWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) +{ + return ( theWrappedObject->createProxyForChildWidget(child)); +} + +void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const +{ + return ( theWrappedObject->subWidgetRect(widget)); +} + +QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsRectItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2592,54 +3667,65 @@ if (_wrapper) { } } } - QGraphicsTextItem::mousePressEvent(event0); + QGraphicsRectItem::advance(phase0); } -void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::mouseReleaseEvent(event0); + return QGraphicsRectItem::boundingRect(); } -QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const +bool PythonQtShell_QGraphicsRectItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2647,54 +3733,65 @@ if (_wrapper) { } } } - return QGraphicsTextItem::opaqueArea(); + return QGraphicsRectItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsRectItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsTextItem::paint(painter0, option1, widget2); + return QGraphicsRectItem::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) +bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2702,21 +3799,21 @@ if (_wrapper) { } } } - return QGraphicsTextItem::sceneEvent(event0); + return QGraphicsRectItem::contains(point0); } -void PythonQtShell_QGraphicsTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsRectItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2724,98 +3821,120 @@ if (_wrapper) { } } } - QGraphicsTextItem::setExtension(extension0, variant1); + QGraphicsRectItem::contextMenuEvent(event0); } -QPainterPath PythonQtShell_QGraphicsTextItem::shape() const +void PythonQtShell_QGraphicsRectItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsTextItem::shape(); + QGraphicsRectItem::dragEnterEvent(event0); } -bool PythonQtShell_QGraphicsTextItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsRectItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsTextItem::supportsExtension(extension0); + QGraphicsRectItem::dragLeaveEvent(event0); } -int PythonQtShell_QGraphicsTextItem::type() const +void PythonQtShell_QGraphicsRectItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsRectItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsRectItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsRectItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2823,370 +3942,255 @@ if (_wrapper) { } } } - return QGraphicsTextItem::type(); -} -QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsTextItem(parent); } - -QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsTextItem(text, parent); } - -const QMetaObject* PythonQtShell_QGraphicsTextItem::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsTextItem::staticMetaObject); - } else { - return &QGraphicsTextItem::staticMetaObject; - } -} -int PythonQtShell_QGraphicsTextItem::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsTextItem::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsTextItem::adjustSize(QGraphicsTextItem* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -QRectF PythonQtWrapper_QGraphicsTextItem::boundingRect(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsTextItem::contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); + return QGraphicsRectItem::extension(variant0); } - -void PythonQtWrapper_QGraphicsTextItem::contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +void PythonQtShell_QGraphicsRectItem::focusInEvent(QFocusEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_contextMenuEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextColor()); + QGraphicsRectItem::focusInEvent(event0); } - -QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->document()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsTextItem::dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragEnterEvent(event)); + QGraphicsRectItem::focusOutEvent(event0); } - -void PythonQtWrapper_QGraphicsTextItem::dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsRectItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsTextItem::dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragMoveEvent(event)); + QGraphicsRectItem::hoverEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsTextItem::dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsRectItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dropEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVariant PythonQtWrapper_QGraphicsTextItem::extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_extension(variant)); + QGraphicsRectItem::hoverLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsTextItem::focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) +void PythonQtShell_QGraphicsRectItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusInEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsTextItem::focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusOutEvent(event)); + QGraphicsRectItem::hoverMoveEvent(event0); } - -QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->font()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsTextItem::hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); + QGraphicsRectItem::inputMethodEvent(event0); } - -void PythonQtWrapper_QGraphicsTextItem::hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +QVariant PythonQtShell_QGraphicsRectItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsTextItem::hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); + return QGraphicsRectItem::inputMethodQuery(query0); } - -void PythonQtWrapper_QGraphicsTextItem::inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -bool PythonQtWrapper_QGraphicsTextItem::isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( theWrappedObject->isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::opaqueArea(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->opaqueArea()); -} - -bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->openExternalLinks()); -} - -void PythonQtWrapper_QGraphicsTextItem::paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -bool PythonQtWrapper_QGraphicsTextItem::sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_sceneEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) -{ - ( theWrappedObject->setDefaultTextColor(c)); -} - -void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); -} - -void PythonQtWrapper_QGraphicsTextItem::setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QGraphicsTextItem::setHtml(QGraphicsTextItem* theWrappedObject, const QString& html) -{ - ( theWrappedObject->setHtml(html)); -} - -void PythonQtWrapper_QGraphicsTextItem::setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenExternalLinks(open)); -} - -void PythonQtWrapper_QGraphicsTextItem::setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setPlainText(text)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b) -{ - ( theWrappedObject->setTabChangesFocus(b)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->setTextCursor(cursor)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width) -{ - ( theWrappedObject->setTextWidth(width)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::shape(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsTextItem::supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->tabChangesFocus()); -} - -QTextCursor PythonQtWrapper_QGraphicsTextItem::textCursor(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textCursor()); -} - -Qt::TextInteractionFlags PythonQtWrapper_QGraphicsTextItem::textInteractionFlags(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - -qreal PythonQtWrapper_QGraphicsTextItem::textWidth(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->textWidth()); -} - -QString PythonQtWrapper_QGraphicsTextItem::toHtml(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->toHtml()); -} - -QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -int PythonQtWrapper_QGraphicsTextItem::type(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const +bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - -} -QGraphicsTransform* PythonQtWrapper_QGraphicsTransform::new_QGraphicsTransform(QObject* parent) -{ -return new PythonQtShell_QGraphicsTransform(parent); } - -const QMetaObject* PythonQtShell_QGraphicsTransform::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsTransform::staticMetaObject); - } else { - return &QGraphicsTransform::staticMetaObject; - } -} -int PythonQtShell_QGraphicsTransform::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsTransform::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsTransform::applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const -{ - ( theWrappedObject->applyTo(matrix)); -} - - - -PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsRectItem::isObscuredBy(item0); } -void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) +QVariant PythonQtShell_QGraphicsRectItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::actionEvent(event0); + return QGraphicsRectItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) +void PythonQtShell_QGraphicsRectItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3194,21 +4198,21 @@ if (_wrapper) { } } } - QGraphicsView::changeEvent(arg__1); + QGraphicsRectItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QGraphicsRectItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3216,21 +4220,21 @@ if (_wrapper) { } } } - QGraphicsView::closeEvent(event0); + QGraphicsRectItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QGraphicsRectItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3238,54 +4242,43 @@ if (_wrapper) { } } } - QGraphicsView::contextMenuEvent(event0); + QGraphicsRectItem::mouseDoubleClickEvent(event0); } -int PythonQtShell_QGraphicsView::devType() const +void PythonQtShell_QGraphicsRectItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::devType(); + QGraphicsRectItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QGraphicsRectItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3293,21 +4286,21 @@ if (_wrapper) { } } } - QGraphicsView::dragEnterEvent(event0); + QGraphicsRectItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QGraphicsRectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3315,43 +4308,54 @@ if (_wrapper) { } } } - QGraphicsView::dragLeaveEvent(event0); + QGraphicsRectItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) +QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::dragMoveEvent(event0); + return QGraphicsRectItem::opaqueArea(); } -void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) +void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawBackground"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3359,65 +4363,87 @@ if (_wrapper) { } } } - QGraphicsView::drawBackground(painter0, rect1); + QGraphicsRectItem::paint(painter0, option1, widget2); } -void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) +bool PythonQtShell_QGraphicsRectItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawForeground"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::drawForeground(painter0, rect1); + return QGraphicsRectItem::sceneEvent(event0); } -void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) +bool PythonQtShell_QGraphicsRectItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItems"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::drawItems(painter0, numItems1, items2, options3); + return QGraphicsRectItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) +void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3425,54 +4451,65 @@ if (_wrapper) { } } } - QGraphicsView::dropEvent(event0); + QGraphicsRectItem::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) +QPainterPath PythonQtShell_QGraphicsRectItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::enterEvent(event0); + return QGraphicsRectItem::shape(); } -bool PythonQtShell_QGraphicsView::event(QEvent* event0) +bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3480,32 +4517,32 @@ if (_wrapper) { } } } - return QGraphicsView::event(event0); + return QGraphicsRectItem::supportsExtension(extension0); } -bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) +int PythonQtShell_QGraphicsRectItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3513,21 +4550,21 @@ if (_wrapper) { } } } - return QGraphicsView::eventFilter(arg__1, arg__2); + return QGraphicsRectItem::type(); } -void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsRectItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3535,54 +4572,76 @@ if (_wrapper) { } } } - QGraphicsView::focusInEvent(event0); + QGraphicsRectItem::wheelEvent(event0); } -bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsRectItem(parent); } + +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsRectItem(rect, parent); } + +QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent); } + +QRectF PythonQtWrapper_QGraphicsRectItem::rect(QGraphicsRectItem* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + + + +PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::focusNextPrevChild(next0); + QGraphicsRotation::applyTo(matrix0); } -void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3590,32 +4649,54 @@ if (_wrapper) { } } } - QGraphicsView::focusOutEvent(event0); + QGraphicsRotation::childEvent(event0); } -bool PythonQtShell_QGraphicsView::hasHeightForWidth() const +void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsRotation::customEvent(event0); +} +bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3623,32 +4704,32 @@ if (_wrapper) { } } } - return QGraphicsView::hasHeightForWidth(); + return QGraphicsRotation::event(event0); } -int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const +bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3656,21 +4737,21 @@ if (_wrapper) { } } } - return QGraphicsView::heightForWidth(arg__1); + return QGraphicsRotation::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) +void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3678,21 +4759,79 @@ if (_wrapper) { } } } - QGraphicsView::hideEvent(event0); + QGraphicsRotation::timerEvent(event0); } -void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const +QGraphicsRotation* PythonQtWrapper_QGraphicsRotation::new_QGraphicsRotation(QObject* parent) +{ +return new PythonQtShell_QGraphicsRotation(parent); } + +const QMetaObject* PythonQtShell_QGraphicsRotation::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsRotation::staticMetaObject); + } else { + return &QGraphicsRotation::staticMetaObject; + } +} +int PythonQtShell_QGraphicsRotation::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsRotation::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QGraphicsRotation::angle(QGraphicsRotation* theWrappedObject) const +{ + return ( theWrappedObject->angle()); +} + +QVector3D PythonQtWrapper_QGraphicsRotation::axis(QGraphicsRotation* theWrappedObject) const +{ + return ( theWrappedObject->axis()); +} + +QVector3D PythonQtWrapper_QGraphicsRotation::origin(QGraphicsRotation* theWrappedObject) const +{ + return ( theWrappedObject->origin()); +} + +void PythonQtWrapper_QGraphicsRotation::setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setAngle(arg__1)); +} + +void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis) +{ + ( theWrappedObject->setAxis(axis)); +} + +void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis) +{ + ( theWrappedObject->setAxis(axis)); +} + +void PythonQtWrapper_QGraphicsRotation::setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point) +{ + ( theWrappedObject->setOrigin(point)); +} + + + +PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3700,21 +4839,21 @@ if (_wrapper) { } } } - QGraphicsView::initPainter(painter0); + QGraphicsScale::applyTo(matrix0); } -void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3722,98 +4861,109 @@ if (_wrapper) { } } } - QGraphicsView::inputMethodEvent(event0); + QGraphicsScale::childEvent(event0); } -QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::inputMethodQuery(query0); + QGraphicsScale::customEvent(event0); } -void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) +bool PythonQtShell_QGraphicsScale::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::keyPressEvent(event0); + return QGraphicsScale::event(event0); } -void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::keyReleaseEvent(event0); + return QGraphicsScale::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) +void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3821,87 +4971,128 @@ if (_wrapper) { } } } - QGraphicsView::leaveEvent(event0); + QGraphicsScale::timerEvent(event0); } -int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QGraphicsScale* PythonQtWrapper_QGraphicsScale::new_QGraphicsScale(QObject* parent) +{ +return new PythonQtShell_QGraphicsScale(parent); } + +const QMetaObject* PythonQtShell_QGraphicsScale::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScale::staticMetaObject); + } else { + return &QGraphicsScale::staticMetaObject; + } +} +int PythonQtShell_QGraphicsScale::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsScale::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QVector3D PythonQtWrapper_QGraphicsScale::origin(QGraphicsScale* theWrappedObject) const +{ + return ( theWrappedObject->origin()); +} + +void PythonQtWrapper_QGraphicsScale::setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point) +{ + ( theWrappedObject->setOrigin(point)); +} + +void PythonQtWrapper_QGraphicsScale::setXScale(QGraphicsScale* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setXScale(arg__1)); +} + +void PythonQtWrapper_QGraphicsScale::setYScale(QGraphicsScale* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setYScale(arg__1)); +} + +void PythonQtWrapper_QGraphicsScale::setZScale(QGraphicsScale* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setZScale(arg__1)); +} + +qreal PythonQtWrapper_QGraphicsScale::xScale(QGraphicsScale* theWrappedObject) const +{ + return ( theWrappedObject->xScale()); +} + +qreal PythonQtWrapper_QGraphicsScale::yScale(QGraphicsScale* theWrappedObject) const +{ + return ( theWrappedObject->yScale()); +} + +qreal PythonQtWrapper_QGraphicsScale::zScale(QGraphicsScale* theWrappedObject) const +{ + return ( theWrappedObject->zScale()); +} + + + +PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::metric(arg__1); + QGraphicsScene::childEvent(event0); } -QSize PythonQtShell_QGraphicsView::minimumSizeHint() const +void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::minimumSizeHint(); + QGraphicsScene::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3909,21 +5100,21 @@ if (_wrapper) { } } } - QGraphicsView::mouseDoubleClickEvent(event0); + QGraphicsScene::customEvent(event0); } -void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3931,21 +5122,21 @@ if (_wrapper) { } } } - QGraphicsView::mouseMoveEvent(event0); + QGraphicsScene::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3953,21 +5144,21 @@ if (_wrapper) { } } } - QGraphicsView::mousePressEvent(event0); + QGraphicsScene::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3975,21 +5166,21 @@ if (_wrapper) { } } } - QGraphicsView::mouseReleaseEvent(event0); + QGraphicsScene::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3997,87 +5188,65 @@ if (_wrapper) { } } } - QGraphicsView::moveEvent(event0); + QGraphicsScene::drawBackground(painter0, rect1); } -bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::nativeEvent(eventType0, message1, result2); + QGraphicsScene::drawForeground(painter0, rect1); } -QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const +void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + void* args[6] = {nullptr, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3, (void*)&widget4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::paintEngine(); + QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); } -void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) +void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4085,32 +5254,32 @@ if (_wrapper) { } } } - QGraphicsView::paintEvent(event0); + QGraphicsScene::dropEvent(event0); } -QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const +bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4118,21 +5287,54 @@ if (_wrapper) { } } } - return QGraphicsView::redirected(offset0); + return QGraphicsScene::event(event0); } -void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) +bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsScene::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4140,21 +5342,21 @@ if (_wrapper) { } } } - QGraphicsView::resizeEvent(event0); + QGraphicsScene::focusInEvent(event0); } -void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4162,21 +5364,21 @@ if (_wrapper) { } } } - QGraphicsView::scrollContentsBy(dx0, dy1); + QGraphicsScene::focusOutEvent(event0); } -void PythonQtShell_QGraphicsView::setVisible(bool visible0) +void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4184,21 +5386,21 @@ if (_wrapper) { } } } - QGraphicsView::setVisible(visible0); + QGraphicsScene::helpEvent(event0); } -void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) +void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4206,32 +5408,32 @@ if (_wrapper) { } } } - QGraphicsView::setupViewport(widget0); + QGraphicsScene::inputMethodEvent(event0); } -QPainter* PythonQtShell_QGraphicsView::sharedPainter() const +QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4239,21 +5441,21 @@ if (_wrapper) { } } } - return QGraphicsView::sharedPainter(); + return QGraphicsScene::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) +void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4261,54 +5463,43 @@ if (_wrapper) { } } } - QGraphicsView::showEvent(event0); + QGraphicsScene::keyPressEvent(event0); } -QSize PythonQtShell_QGraphicsView::sizeHint() const +void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::sizeHint(); + QGraphicsScene::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4316,75 +5507,97 @@ if (_wrapper) { } } } - QGraphicsView::tabletEvent(event0); + QGraphicsScene::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) +void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::viewportEvent(event0); + QGraphicsScene::mouseMoveEvent(event0); } -QSize PythonQtShell_QGraphicsView::viewportSizeHint() const +void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::viewportSizeHint(); + QGraphicsScene::mousePressEvent(event0); } -void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::mouseReleaseEvent(event0); +} +void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsScene::timerEvent(event0); +} +void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4392,11 +5605,11 @@ if (_wrapper) { static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4404,1699 +5617,1073 @@ if (_wrapper) { } } } - QGraphicsView::wheelEvent(event0); + QGraphicsScene::wheelEvent(event0); } -QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QGraphicsScene* scene, QWidget* parent) +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(QObject* parent) { -return new PythonQtShell_QGraphicsView(scene, parent); } +return new PythonQtShell_QGraphicsScene(parent); } -QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QWidget* parent) +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(const QRectF& sceneRect, QObject* parent) { -return new PythonQtShell_QGraphicsView(parent); } +return new PythonQtShell_QGraphicsScene(sceneRect, parent); } -const QMetaObject* PythonQtShell_QGraphicsView::metaObject() const { +QGraphicsScene* PythonQtWrapper_QGraphicsScene::new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent) +{ +return new PythonQtShell_QGraphicsScene(x, y, width, height, parent); } + +const QMetaObject* PythonQtShell_QGraphicsScene::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsView::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsScene::staticMetaObject); } else { - return &QGraphicsView::staticMetaObject; + return &QGraphicsScene::staticMetaObject; } } -int PythonQtShell_QGraphicsView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsView::qt_metacall(call, id, args); +int PythonQtShell_QGraphicsScene::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsScene::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const +QGraphicsItem* PythonQtWrapper_QGraphicsScene::activePanel(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->alignment()); + return ( theWrappedObject->activePanel()); } -QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const +QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->backgroundBrush()); + return ( theWrappedObject->activeWindow()); } -QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) { - return ( theWrappedObject->cacheMode()); + return ( theWrappedObject->addEllipse(rect, pen, brush)); } -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) { - ( theWrappedObject->centerOn(item)); + return ( theWrappedObject->addEllipse(x, y, w, h, pen, brush)); } -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) +void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP item) { - ( theWrappedObject->centerOn(pos)); + ( theWrappedObject->addItem(item)); } -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) { - ( theWrappedObject->centerOn(x, y)); + return ( theWrappedObject->addLine(line, pen)); } -QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen) { - return ( theWrappedObject->dragMode()); + return ( theWrappedObject->addLine(x1, y1, x2, y2, pen)); } -void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) { - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); + return ( theWrappedObject->addPath(path, pen, brush)); } -void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) { - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); + return ( theWrappedObject->addPixmap(pixmap)); } -void PythonQtWrapper_QGraphicsView::drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) { - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options)); + return ( theWrappedObject->addPolygon(polygon, pen, brush)); } -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) +QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) { - ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); + return ( theWrappedObject->addRect(rect, pen, brush)); } -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) { - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); + return ( theWrappedObject->addRect(x, y, w, h, pen, brush)); } -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) { - ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); + return ( theWrappedObject->addSimpleText(text, font)); } -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) +QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) { - ( theWrappedObject->fitInView(item, aspectRadioMode)); + return ( theWrappedObject->addText(text, font)); } -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags) { - ( theWrappedObject->fitInView(rect, aspectRadioMode)); + return ( theWrappedObject->addWidget(widget, wFlags)); } -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) +QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->fitInView(x, y, w, h, aspectRadioMode)); + return ( theWrappedObject->backgroundBrush()); } -QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const +int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->foregroundBrush()); + return ( theWrappedObject->bspTreeDepth()); } -bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) { - return ( theWrappedObject->isInteractive()); + ( theWrappedObject->clearFocus()); } -bool PythonQtWrapper_QGraphicsView::isTransformed(QGraphicsView* theWrappedObject) const +QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const { - return ( theWrappedObject->isTransformed()); + return ( theWrappedObject->collidingItems(item, mode)); } -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) { - return ( theWrappedObject->itemAt(pos)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); } -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const +QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) { - return ( theWrappedObject->itemAt(x, y)); + return ( theWrappedObject->createItemGroup(items)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) { - return ( theWrappedObject->items()); + ( theWrappedObject->destroyItemGroup(group)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) { - return ( theWrappedObject->items(path, mode)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) { - return ( theWrappedObject->items(pos)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) { - return ( theWrappedObject->items(polygon, mode)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) { - return ( theWrappedObject->items(rect, mode)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y) const +void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) { - return ( theWrappedObject->items(x, y)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) { - return ( theWrappedObject->items(x, y, w, h, mode)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); } -QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) { - return ( theWrappedObject->mapFromScene(path)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); } -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const +void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) { - return ( theWrappedObject->mapFromScene(point)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); } -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const +QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->mapFromScene(polygon)); + return ( theWrappedObject->focusItem()); } -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const +bool PythonQtWrapper_QGraphicsScene::focusOnTouch(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->mapFromScene(rect)); + return ( theWrappedObject->focusOnTouch()); } -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const +void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) { - return ( theWrappedObject->mapFromScene(x, y)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); } -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->mapFromScene(x, y, w, h)); + return ( theWrappedObject->font()); } -QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->mapToScene(path)); + return ( theWrappedObject->foregroundBrush()); } -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const +bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->mapToScene(point)); + return ( theWrappedObject->hasFocus()); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const +qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->mapToScene(polygon)); + return ( theWrappedObject->height()); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const +void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) { - return ( theWrappedObject->mapToScene(rect)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); } -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const +void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) { - return ( theWrappedObject->mapToScene(x, y)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const +QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const { - return ( theWrappedObject->mapToScene(x, y, w, h)); + return ( theWrappedObject->inputMethodQuery(query)); } -QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) { - return ( theWrappedObject->matrix()); + ( theWrappedObject->invalidate(x, y, w, h, layers)); } -QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const +bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->optimizationFlags()); + return ( theWrappedObject->isActive()); } -void PythonQtWrapper_QGraphicsView::render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target, const QRect& source, Qt::AspectRatioMode aspectRatioMode) +bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); + return ( theWrappedObject->isSortCacheEnabled()); } -QPainter::RenderHints PythonQtWrapper_QGraphicsView::renderHints(QGraphicsView* theWrappedObject) const +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const { - return ( theWrappedObject->renderHints()); + return ( theWrappedObject->itemAt(pos, deviceTransform)); } -void PythonQtWrapper_QGraphicsView::resetCachedContent(QGraphicsView* theWrappedObject) +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const { - ( theWrappedObject->resetCachedContent()); + return ( theWrappedObject->itemAt(x, y, deviceTransform)); } -void PythonQtWrapper_QGraphicsView::resetMatrix(QGraphicsView* theWrappedObject) +QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->resetMatrix()); + return ( theWrappedObject->itemIndexMethod()); } -void PythonQtWrapper_QGraphicsView::resetTransform(QGraphicsView* theWrappedObject) +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const { - ( theWrappedObject->resetTransform()); + return ( theWrappedObject->items(order)); } -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::resizeAnchor(QGraphicsView* theWrappedObject) const +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - return ( theWrappedObject->resizeAnchor()); + return ( theWrappedObject->items(path, mode, order, deviceTransform)); } -void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - ( theWrappedObject->rotate(angle)); + return ( theWrappedObject->items(pos, mode, order, deviceTransform)); } -QRect PythonQtWrapper_QGraphicsView::rubberBandRect(QGraphicsView* theWrappedObject) const +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - return ( theWrappedObject->rubberBandRect()); + return ( theWrappedObject->items(polygon, mode, order, deviceTransform)); } -Qt::ItemSelectionMode PythonQtWrapper_QGraphicsView::rubberBandSelectionMode(QGraphicsView* theWrappedObject) const +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - return ( theWrappedObject->rubberBandSelectionMode()); + return ( theWrappedObject->items(rect, mode, order, deviceTransform)); } -void PythonQtWrapper_QGraphicsView::scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy) +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - ( theWrappedObject->scale(sx, sy)); + return ( theWrappedObject->items(x, y, w, h, mode, order, deviceTransform)); } -QGraphicsScene* PythonQtWrapper_QGraphicsView::scene(QGraphicsView* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->scene()); + return ( theWrappedObject->itemsBoundingRect()); } -QRectF PythonQtWrapper_QGraphicsView::sceneRect(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) { - return ( theWrappedObject->sceneRect()); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); } -void PythonQtWrapper_QGraphicsView::setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment) +void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) { - ( theWrappedObject->setAlignment(alignment)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); } -void PythonQtWrapper_QGraphicsView::setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +qreal PythonQtWrapper_QGraphicsScene::minimumRenderSize(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->setBackgroundBrush(brush)); + return ( theWrappedObject->minimumRenderSize()); } -void PythonQtWrapper_QGraphicsView::setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode) +void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setCacheMode(mode)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); } -void PythonQtWrapper_QGraphicsView::setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode) +QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->setDragMode(mode)); + return ( theWrappedObject->mouseGrabberItem()); } -void PythonQtWrapper_QGraphicsView::setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setForegroundBrush(brush)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); } -void PythonQtWrapper_QGraphicsView::setInteractive(QGraphicsView* theWrappedObject, bool allowed) +void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setInteractive(allowed)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); } -void PythonQtWrapper_QGraphicsView::setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine) +void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setMatrix(matrix, combine)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); } -void PythonQtWrapper_QGraphicsView::setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled) +QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->setOptimizationFlag(flag, enabled)); + return ( theWrappedObject->palette()); } -void PythonQtWrapper_QGraphicsView::setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags) +void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item) { - ( theWrappedObject->setOptimizationFlags(flags)); + ( theWrappedObject->removeItem(item)); } -void PythonQtWrapper_QGraphicsView::setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled) +void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) { - ( theWrappedObject->setRenderHint(hint, enabled)); + ( theWrappedObject->render(painter, target, source, aspectRatioMode)); } -void PythonQtWrapper_QGraphicsView::setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints) +QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->setRenderHints(hints)); + return ( theWrappedObject->sceneRect()); } -void PythonQtWrapper_QGraphicsView::setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) +QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->setResizeAnchor(anchor)); + return ( theWrappedObject->selectedItems()); } -void PythonQtWrapper_QGraphicsView::setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode) +QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->setRubberBandSelectionMode(mode)); + return ( theWrappedObject->selectionArea()); } -void PythonQtWrapper_QGraphicsView::setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene) +bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) { - ( theWrappedObject->setScene(scene)); + return ( theWrappedObject->sendEvent(item, event)); } -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) { - ( theWrappedObject->setSceneRect(rect)); + ( theWrappedObject->setActivePanel(item)); } -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) { - ( theWrappedObject->setSceneRect(x, y, w, h)); + ( theWrappedObject->setActiveWindow(widget)); } -void PythonQtWrapper_QGraphicsView::setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine) +void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setTransform(matrix, combine)); + ( theWrappedObject->setBackgroundBrush(brush)); } -void PythonQtWrapper_QGraphicsView::setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) +void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) { - ( theWrappedObject->setTransformationAnchor(anchor)); + ( theWrappedObject->setBspTreeDepth(depth)); } -void PythonQtWrapper_QGraphicsView::setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode) +void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) { - ( theWrappedObject->setViewportUpdateMode(mode)); + ( theWrappedObject->setFocus(focusReason)); } -void PythonQtWrapper_QGraphicsView::shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv) +void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) { - ( theWrappedObject->shear(sh, sv)); + ( theWrappedObject->setFocusItem(item, focusReason)); } -QTransform PythonQtWrapper_QGraphicsView::transform(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setFocusOnTouch(QGraphicsScene* theWrappedObject, bool enabled) { - return ( theWrappedObject->transform()); + ( theWrappedObject->setFocusOnTouch(enabled)); } -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::transformationAnchor(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) { - return ( theWrappedObject->transformationAnchor()); + ( theWrappedObject->setFont(font)); } -void PythonQtWrapper_QGraphicsView::translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy) +void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->translate(dx, dy)); + ( theWrappedObject->setForegroundBrush(brush)); } -QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) { - return ( theWrappedObject->viewportTransform()); + ( theWrappedObject->setItemIndexMethod(method)); } -QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize) { - return ( theWrappedObject->viewportUpdateMode()); + ( theWrappedObject->setMinimumRenderSize(minSize)); } +void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) +{ + ( theWrappedObject->setPalette(palette)); +} +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setSceneRect(rect)); +} -PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setSceneRect(x, y, w, h)); } -QRectF PythonQtShell_QGraphicsWidget::boundingRect() const + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSelectionArea(path, mode, deviceTransform)); } - return QGraphicsWidget::boundingRect(); + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) +{ + ( theWrappedObject->setSelectionArea(path, selectionOperation, mode, deviceTransform)); } -void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) + +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSelectionArea(path, deviceTransform)); } - QGraphicsWidget::changeEvent(event0); + +void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setSortCacheEnabled(enabled)); } -void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setStickyFocus(enabled)); } - QGraphicsWidget::closeEvent(event0); + +void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setStyle(style)); } -bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) + +bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->stickyFocus()); } - return QGraphicsWidget::event(event0); + +QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->style()); } -void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) + +void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->update(x, y, w, h)); } - QGraphicsWidget::focusInEvent(event0); + +QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->views()); } -bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) + +void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); } - return QGraphicsWidget::focusNextPrevChild(next0); + +qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->width()); } -void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) + + + +QGraphicsSceneContextMenuEvent* PythonQtWrapper_QGraphicsSceneContextMenuEvent::new_QGraphicsSceneContextMenuEvent(QEvent::Type type) +{ +return new QGraphicsSceneContextMenuEvent(type); } + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->modifiers()); } - QGraphicsWidget::focusOutEvent(event0); + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); } -void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const + +QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->reason()); } - QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); } -void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) + +QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabKeyboardEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->screenPos()); } - QGraphicsWidget::grabKeyboardEvent(event0); + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); } -void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabMouseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPos(pos)); } - QGraphicsWidget::grabMouseEvent(event0); + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) +{ + ( theWrappedObject->setReason(reason)); } -void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setScenePos(pos)); } - QGraphicsWidget::hideEvent(event0); + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); } -void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) + + + +QGraphicsSceneDragDropEvent* PythonQtWrapper_QGraphicsSceneDragDropEvent::new_QGraphicsSceneDragDropEvent(QEvent::Type type) +{ +return new QGraphicsSceneDragDropEvent(type); } + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->acceptProposedAction()); } - QGraphicsWidget::hoverLeaveEvent(event0); + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); } -void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) + +Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->dropAction()); } - QGraphicsWidget::hoverMoveEvent(event0); + +const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); } -void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initStyleOption"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->modifiers()); } - QGraphicsWidget::initStyleOption(option0); + +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::pos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); } -QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) + +Qt::DropActions PythonQtWrapper_QGraphicsSceneDragDropEvent::possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->possibleActions()); } - return QGraphicsWidget::itemChange(change0, value1); + +Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->proposedAction()); } -void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) + +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->scenePos()); } - QGraphicsWidget::moveEvent(event0); + +QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); } -void PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setButtons(buttons)); } - QGraphicsWidget::paint(painter0, option1, widget2); + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +{ + ( theWrappedObject->setDropAction(action)); } -void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintWindowFrame"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsWidget::paintWindowFrame(painter0, option1, widget2); + ( theWrappedObject->setModifiers(modifiers)); } -void PythonQtShell_QGraphicsWidget::polishEvent() + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polishEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPos(pos)); } - QGraphicsWidget::polishEvent(); + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions) +{ + ( theWrappedObject->setPossibleActions(actions)); } -QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("propertyChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&propertyName0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setProposedAction(action)); } - return QGraphicsWidget::propertyChange(propertyName0, value1); + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); } -void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setScreenPos(pos)); } - QGraphicsWidget::resizeEvent(event0); + +QWidget* PythonQtWrapper_QGraphicsSceneDragDropEvent::source(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); } -bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) + + + +QGraphicsSceneEvent* PythonQtWrapper_QGraphicsSceneEvent::new_QGraphicsSceneEvent(QEvent::Type type) +{ +return new QGraphicsSceneEvent(type); } + +QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->widget()); } - return QGraphicsWidget::sceneEvent(event0); + +QString PythonQtWrapper_QGraphicsSceneEvent::py_toString(QGraphicsSceneEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) + + + +QGraphicsSceneHelpEvent* PythonQtWrapper_QGraphicsSceneHelpEvent::new_QGraphicsSceneHelpEvent(QEvent::Type type) +{ +return new QGraphicsSceneHelpEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsWidget::setGeometry(rect0); + return ( theWrappedObject->scenePos()); } -QPainterPath PythonQtShell_QGraphicsWidget::shape() const + +QPoint PythonQtWrapper_QGraphicsSceneHelpEvent::screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->screenPos()); } - return QGraphicsWidget::shape(); + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); } -void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setScreenPos(pos)); } - QGraphicsWidget::showEvent(event0); + + + +QGraphicsSceneHoverEvent* PythonQtWrapper_QGraphicsSceneHoverEvent::new_QGraphicsSceneHoverEvent(QEvent::Type type) +{ +return new QGraphicsSceneHoverEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); } -QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&which0, (void*)&constraint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lastScenePos()); } - return QGraphicsWidget::sizeHint(which0, constraint1); + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); } -int PythonQtShell_QGraphicsWidget::type() const + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneHoverEvent::modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsWidget::type(); + return ( theWrappedObject->modifiers()); } -void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::pos(QGraphicsSceneHoverEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsWidget::ungrabKeyboardEvent(event0); + return ( theWrappedObject->pos()); } -void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabMouseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsWidget::ungrabMouseEvent(event0); + return ( theWrappedObject->scenePos()); } -void PythonQtShell_QGraphicsWidget::updateGeometry() + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsWidget::updateGeometry(); + return ( theWrappedObject->screenPos()); } -bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsWidget::windowFrameEvent(e0); + ( theWrappedObject->setLastPos(pos)); } -Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameSectionAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsWidget::windowFrameSectionAt(pos0); + ( theWrappedObject->setLastScenePos(pos)); } -QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::new_QGraphicsWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) -{ -return new PythonQtShell_QGraphicsWidget(parent, wFlags); } -const QMetaObject* PythonQtShell_QGraphicsWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsWidget::staticMetaObject); - } else { - return &QGraphicsWidget::staticMetaObject; - } -} -int PythonQtShell_QGraphicsWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QList PythonQtWrapper_QGraphicsWidget::actions(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) { - return ( theWrappedObject->actions()); + ( theWrappedObject->setLastScreenPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::addAction(QGraphicsWidget* theWrappedObject, QAction* action) +void PythonQtWrapper_QGraphicsSceneHoverEvent::setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) { - ( theWrappedObject->addAction(action)); + ( theWrappedObject->setModifiers(modifiers)); } -void PythonQtWrapper_QGraphicsWidget::addActions(QGraphicsWidget* theWrappedObject, QList actions) +void PythonQtWrapper_QGraphicsSceneHoverEvent::setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->addActions(actions)); + ( theWrappedObject->setPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::adjustSize(QGraphicsWidget* theWrappedObject) +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->adjustSize()); + ( theWrappedObject->setScenePos(pos)); } -bool PythonQtWrapper_QGraphicsWidget::autoFillBackground(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) { - return ( theWrappedObject->autoFillBackground()); + ( theWrappedObject->setScreenPos(pos)); } -QRectF PythonQtWrapper_QGraphicsWidget::boundingRect(QGraphicsWidget* theWrappedObject) const + + +QGraphicsSceneMouseEvent* PythonQtWrapper_QGraphicsSceneMouseEvent::new_QGraphicsSceneMouseEvent(QEvent::Type type) +{ +return new QGraphicsSceneMouseEvent(type); } + +Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const { - return ( theWrappedObject->boundingRect()); + return ( theWrappedObject->button()); } -void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); + return ( theWrappedObject->buttonDownPos(button)); } -void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event) +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); + return ( theWrappedObject->buttonDownScenePos(button)); } -bool PythonQtWrapper_QGraphicsWidget::event(QGraphicsWidget* theWrappedObject, QEvent* event) +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_event(event)); + return ( theWrappedObject->buttonDownScreenPos(button)); } -void PythonQtWrapper_QGraphicsWidget::focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusInEvent(event)); + return ( theWrappedObject->buttons()); } -bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) +Qt::MouseEventFlags PythonQtWrapper_QGraphicsSceneMouseEvent::flags(QGraphicsSceneMouseEvent* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); + return ( theWrappedObject->flags()); } -void PythonQtWrapper_QGraphicsWidget::focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusOutEvent(event)); + return ( theWrappedObject->lastPos()); } -Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const { - return ( theWrappedObject->focusPolicy()); + return ( theWrappedObject->lastScenePos()); } -QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::focusWidget(QGraphicsWidget* theWrappedObject) const +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const { - return ( theWrappedObject->focusWidget()); + return ( theWrappedObject->lastScreenPos()); } -QFont PythonQtWrapper_QGraphicsWidget::font(QGraphicsWidget* theWrappedObject) const +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const { - return ( theWrappedObject->font()); + return ( theWrappedObject->modifiers()); } -void PythonQtWrapper_QGraphicsWidget::getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) const { - ( theWrappedObject->getContentsMargins(left, top, right, bottom)); + return ( theWrappedObject->pos()); } -void PythonQtWrapper_QGraphicsWidget::getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const { - ( theWrappedObject->getWindowFrameMargins(left, top, right, bottom)); + return ( theWrappedObject->scenePos()); } -void PythonQtWrapper_QGraphicsWidget::grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabKeyboardEvent(event)); + return ( theWrappedObject->screenPos()); } -void PythonQtWrapper_QGraphicsWidget::grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); + ( theWrappedObject->setButton(button)); } -int PythonQtWrapper_QGraphicsWidget::grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) { - return ( theWrappedObject->grabShortcut(sequence, context)); + ( theWrappedObject->setButtonDownPos(button, pos)); } -void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); + ( theWrappedObject->setButtonDownScenePos(button, pos)); } -void PythonQtWrapper_QGraphicsWidget::hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); + ( theWrappedObject->setButtonDownScreenPos(button, pos)); } -void PythonQtWrapper_QGraphicsWidget::hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverMoveEvent(event)); + ( theWrappedObject->setButtons(buttons)); } -void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const +void PythonQtWrapper_QGraphicsSceneMouseEvent::setFlags(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventFlags arg__1) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); + ( theWrappedObject->setFlags(arg__1)); } -void PythonQtWrapper_QGraphicsWidget::insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->insertAction(before, action)); + ( theWrappedObject->setLastPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions) -{ - ( theWrappedObject->insertActions(before, actions)); -} - -bool PythonQtWrapper_QGraphicsWidget::isActiveWindow(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->isActiveWindow()); -} - -QVariant PythonQtWrapper_QGraphicsWidget::itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_itemChange(change, value)); -} - -QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} - -Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paintWindowFrame(painter, option, widget)); -} - -QPalette PythonQtWrapper_QGraphicsWidget::palette(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->palette()); -} - -void PythonQtWrapper_QGraphicsWidget::polishEvent(QGraphicsWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_polishEvent()); -} - -QVariant PythonQtWrapper_QGraphicsWidget::propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_propertyChange(propertyName, value)); -} - -QRectF PythonQtWrapper_QGraphicsWidget::rect(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QGraphicsWidget::releaseShortcut(QGraphicsWidget* theWrappedObject, int id) -{ - ( theWrappedObject->releaseShortcut(id)); -} - -void PythonQtWrapper_QGraphicsWidget::removeAction(QGraphicsWidget* theWrappedObject, QAction* action) -{ - ( theWrappedObject->removeAction(action)); -} - -void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->resize(size)); -} - -void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h) -{ - ( theWrappedObject->resize(w, h)); -} - -void PythonQtWrapper_QGraphicsWidget::resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_resizeEvent(event)); -} - -bool PythonQtWrapper_QGraphicsWidget::sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sceneEvent(event)); + ( theWrappedObject->setLastScenePos(pos)); } -void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) { - ( theWrappedObject->setAttribute(attribute, on)); + ( theWrappedObject->setLastScreenPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) { - ( theWrappedObject->setAutoFillBackground(enabled)); + ( theWrappedObject->setModifiers(modifiers)); } -void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->setContentsMargins(margins)); + ( theWrappedObject->setPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); + ( theWrappedObject->setScenePos(pos)); } -void PythonQtWrapper_QGraphicsWidget::setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) { - ( theWrappedObject->setFocusPolicy(policy)); + ( theWrappedObject->setScreenPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::setFont(QGraphicsWidget* theWrappedObject, const QFont& font) +void PythonQtWrapper_QGraphicsSceneMouseEvent::setSource(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventSource source) { - ( theWrappedObject->setFont(font)); + ( theWrappedObject->setSource(source)); } -void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect) +Qt::MouseEventSource PythonQtWrapper_QGraphicsSceneMouseEvent::source(QGraphicsSceneMouseEvent* theWrappedObject) const { - ( theWrappedObject->setGeometry(rect)); + return ( theWrappedObject->source()); } -void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setGeometry(x, y, w, h)); -} -void PythonQtWrapper_QGraphicsWidget::setLayout(QGraphicsWidget* theWrappedObject, PythonQtPassOwnershipToCPP layout) -{ - ( theWrappedObject->setLayout(layout)); -} -void PythonQtWrapper_QGraphicsWidget::setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} +QGraphicsSceneMoveEvent* PythonQtWrapper_QGraphicsSceneMoveEvent::new_QGraphicsSceneMoveEvent() +{ +return new QGraphicsSceneMoveEvent(); } -void PythonQtWrapper_QGraphicsWidget::setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette) +QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::newPos(QGraphicsSceneMoveEvent* theWrappedObject) const { - ( theWrappedObject->setPalette(palette)); + return ( theWrappedObject->newPos()); } -void PythonQtWrapper_QGraphicsWidget::setShortcutAutoRepeat(QGraphicsWidget* theWrappedObject, int id, bool enabled) +QPointF PythonQtWrapper_QGraphicsSceneMoveEvent::oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const { - ( theWrappedObject->setShortcutAutoRepeat(id, enabled)); + return ( theWrappedObject->oldPos()); } -void PythonQtWrapper_QGraphicsWidget::setShortcutEnabled(QGraphicsWidget* theWrappedObject, int id, bool enabled) +void PythonQtWrapper_QGraphicsSceneMoveEvent::setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->setShortcutEnabled(id, enabled)); + ( theWrappedObject->setNewPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::setStyle(QGraphicsWidget* theWrappedObject, QStyle* style) +void PythonQtWrapper_QGraphicsSceneMoveEvent::setOldPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->setStyle(style)); + ( theWrappedObject->setOldPos(pos)); } -void PythonQtWrapper_QGraphicsWidget::static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second) -{ - (QGraphicsWidget::setTabOrder(first, second)); -} -void PythonQtWrapper_QGraphicsWidget::setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags) -{ - ( theWrappedObject->setWindowFlags(wFlags)); -} -void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) -{ - ( theWrappedObject->setWindowFrameMargins(margins)); -} +QGraphicsSceneResizeEvent* PythonQtWrapper_QGraphicsSceneResizeEvent::new_QGraphicsSceneResizeEvent() +{ +return new QGraphicsSceneResizeEvent(); } -void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::newSize(QGraphicsSceneResizeEvent* theWrappedObject) const { - ( theWrappedObject->setWindowFrameMargins(left, top, right, bottom)); + return ( theWrappedObject->newSize()); } -void PythonQtWrapper_QGraphicsWidget::setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title) +QSizeF PythonQtWrapper_QGraphicsSceneResizeEvent::oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const { - ( theWrappedObject->setWindowTitle(title)); + return ( theWrappedObject->oldSize()); } -QPainterPath PythonQtWrapper_QGraphicsWidget::shape(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneResizeEvent::setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) { - return ( theWrappedObject->shape()); + ( theWrappedObject->setNewSize(size)); } -void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) +void PythonQtWrapper_QGraphicsSceneResizeEvent::setOldSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); + ( theWrappedObject->setOldSize(size)); } -QSizeF PythonQtWrapper_QGraphicsWidget::size(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} -QSizeF PythonQtWrapper_QGraphicsWidget::sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} -QStyle* PythonQtWrapper_QGraphicsWidget::style(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} +QGraphicsSceneWheelEvent* PythonQtWrapper_QGraphicsSceneWheelEvent::new_QGraphicsSceneWheelEvent(QEvent::Type type) +{ +return new QGraphicsSceneWheelEvent(type); } -bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneWheelEvent::buttons(QGraphicsSceneWheelEvent* theWrappedObject) const { - return ( theWrappedObject->testAttribute(attribute)); + return ( theWrappedObject->buttons()); } -int PythonQtWrapper_QGraphicsWidget::type(QGraphicsWidget* theWrappedObject) const +int PythonQtWrapper_QGraphicsSceneWheelEvent::delta(QGraphicsSceneWheelEvent* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->delta()); } -void PythonQtWrapper_QGraphicsWidget::ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneWheelEvent::modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabKeyboardEvent(event)); + return ( theWrappedObject->modifiers()); } -void PythonQtWrapper_QGraphicsWidget::ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +Qt::Orientation PythonQtWrapper_QGraphicsSceneWheelEvent::orientation(QGraphicsSceneWheelEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabMouseEvent(event)); + return ( theWrappedObject->orientation()); } -void PythonQtWrapper_QGraphicsWidget::unsetLayoutDirection(QGraphicsWidget* theWrappedObject) +QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::pos(QGraphicsSceneWheelEvent* theWrappedObject) const { - ( theWrappedObject->unsetLayoutDirection()); + return ( theWrappedObject->pos()); } -void PythonQtWrapper_QGraphicsWidget::unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject) +QPointF PythonQtWrapper_QGraphicsSceneWheelEvent::scenePos(QGraphicsSceneWheelEvent* theWrappedObject) const { - ( theWrappedObject->unsetWindowFrameMargins()); + return ( theWrappedObject->scenePos()); } -void PythonQtWrapper_QGraphicsWidget::updateGeometry(QGraphicsWidget* theWrappedObject) +QPoint PythonQtWrapper_QGraphicsSceneWheelEvent::screenPos(QGraphicsSceneWheelEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_updateGeometry()); + return ( theWrappedObject->screenPos()); } -Qt::WindowFlags PythonQtWrapper_QGraphicsWidget::windowFlags(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneWheelEvent::setButtons(QGraphicsSceneWheelEvent* theWrappedObject, Qt::MouseButtons buttons) { - return ( theWrappedObject->windowFlags()); + ( theWrappedObject->setButtons(buttons)); } -bool PythonQtWrapper_QGraphicsWidget::windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e) +void PythonQtWrapper_QGraphicsSceneWheelEvent::setDelta(QGraphicsSceneWheelEvent* theWrappedObject, int delta) { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameEvent(e)); + ( theWrappedObject->setDelta(delta)); } -QRectF PythonQtWrapper_QGraphicsWidget::windowFrameGeometry(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneWheelEvent::setModifiers(QGraphicsSceneWheelEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) { - return ( theWrappedObject->windowFrameGeometry()); + ( theWrappedObject->setModifiers(modifiers)); } -QRectF PythonQtWrapper_QGraphicsWidget::windowFrameRect(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneWheelEvent::setOrientation(QGraphicsSceneWheelEvent* theWrappedObject, Qt::Orientation orientation) { - return ( theWrappedObject->windowFrameRect()); + ( theWrappedObject->setOrientation(orientation)); } -Qt::WindowFrameSection PythonQtWrapper_QGraphicsWidget::windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const +void PythonQtWrapper_QGraphicsSceneWheelEvent::setPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameSectionAt(pos)); + ( theWrappedObject->setPos(pos)); } -QString PythonQtWrapper_QGraphicsWidget::windowTitle(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneWheelEvent::setScenePos(QGraphicsSceneWheelEvent* theWrappedObject, const QPointF& pos) { - return ( theWrappedObject->windowTitle()); + ( theWrappedObject->setScenePos(pos)); } -Qt::WindowType PythonQtWrapper_QGraphicsWidget::windowType(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsSceneWheelEvent::setScreenPos(QGraphicsSceneWheelEvent* theWrappedObject, const QPoint& pos) { - return ( theWrappedObject->windowType()); + ( theWrappedObject->setScreenPos(pos)); } -PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { +PythonQtShell_QGraphicsSimpleTextItem::~PythonQtShell_QGraphicsSimpleTextItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) +void PythonQtShell_QGraphicsSimpleTextItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6104,32 +6691,32 @@ if (_wrapper) { } } } - QGridLayout::addItem(arg__1); + QGraphicsSimpleTextItem::advance(phase0); } -int PythonQtShell_QGridLayout::count() const +QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6137,32 +6724,32 @@ if (_wrapper) { } } } - return QGridLayout::count(); + return QGraphicsSimpleTextItem::boundingRect(); } -Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const +bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6170,32 +6757,32 @@ if (_wrapper) { } } } - return QGridLayout::expandingDirections(); + return QGraphicsSimpleTextItem::collidesWithItem(other0, mode1); } -bool PythonQtShell_QGridLayout::hasHeightForWidth() const +bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6203,32 +6790,32 @@ if (_wrapper) { } } } - return QGridLayout::hasHeightForWidth(); + return QGraphicsSimpleTextItem::collidesWithPath(path0, mode1); } -int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const +bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6236,21 +6823,21 @@ if (_wrapper) { } } } - return QGridLayout::heightForWidth(arg__1); + return QGraphicsSimpleTextItem::contains(point0); } -void PythonQtShell_QGridLayout::invalidate() +void PythonQtShell_QGraphicsSimpleTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6258,131 +6845,120 @@ if (_wrapper) { } } } - QGridLayout::invalidate(); + QGraphicsSimpleTextItem::contextMenuEvent(event0); } -QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const +void PythonQtShell_QGraphicsSimpleTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::itemAt(index0); + QGraphicsSimpleTextItem::dragEnterEvent(event0); } -QSize PythonQtShell_QGridLayout::maximumSize() const +void PythonQtShell_QGraphicsSimpleTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::maximumSize(); + QGraphicsSimpleTextItem::dragLeaveEvent(event0); } -int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QGraphicsSimpleTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::minimumHeightForWidth(arg__1); + QGraphicsSimpleTextItem::dragMoveEvent(event0); } -QSize PythonQtShell_QGridLayout::minimumSize() const +void PythonQtShell_QGraphicsSimpleTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6390,21 +6966,21 @@ if (_wrapper) { } } } - return QGridLayout::minimumSize(); + return QGraphicsSimpleTextItem::extension(variant0); } -void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QGraphicsSimpleTextItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6412,32 +6988,142 @@ if (_wrapper) { } } } - QGridLayout::setGeometry(arg__1); + QGraphicsSimpleTextItem::focusInEvent(event0); } -QSize PythonQtShell_QGridLayout::sizeHint() const +void PythonQtShell_QGraphicsSimpleTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsSimpleTextItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSimpleTextItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsSimpleTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6445,32 +7131,32 @@ if (_wrapper) { } } } - return QGridLayout::sizeHint(); + return QGraphicsSimpleTextItem::inputMethodQuery(query0); } -QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) +bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6478,255 +7164,57 @@ if (_wrapper) { } } } - return QGridLayout::takeAt(index0); + return QGraphicsSimpleTextItem::isObscuredBy(item0); } -QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout() -{ -return new PythonQtShell_QGridLayout(); } - -QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout(QWidget* parent) -{ -return new PythonQtShell_QGridLayout(parent); } - -const QMetaObject* PythonQtShell_QGridLayout::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGridLayout::staticMetaObject); - } else { - return &QGridLayout::staticMetaObject; - } -} -int PythonQtShell_QGridLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGridLayout::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1) -{ - ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_addItem(arg__1)); -} - -void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6)); -} - -void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) -{ - ( theWrappedObject->addWidget(arg__1, row, column, arg__4)); -} - -void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) -{ - ( theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6)); -} - -QRect PythonQtWrapper_QGridLayout::cellRect(QGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->cellRect(row, column)); -} - -int PythonQtWrapper_QGridLayout::columnCount(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -int PythonQtWrapper_QGridLayout::columnMinimumWidth(QGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnMinimumWidth(column)); -} - -int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnStretch(column)); -} - -int PythonQtWrapper_QGridLayout::count(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -Qt::Orientations PythonQtWrapper_QGridLayout::expandingDirections(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -bool PythonQtWrapper_QGridLayout::hasHeightForWidth(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QGridLayout::heightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - -int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -void PythonQtWrapper_QGridLayout::invalidate(QGridLayout* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAt(QGridLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemAt(index)); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->itemAtPosition(row, column)); -} - -QSize PythonQtWrapper_QGridLayout::maximumSize(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QGridLayout::minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - -QSize PythonQtWrapper_QGridLayout::minimumSize(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -Qt::Corner PythonQtWrapper_QGridLayout::originCorner(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->originCorner()); -} - -int PythonQtWrapper_QGridLayout::rowCount(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -int PythonQtWrapper_QGridLayout::rowMinimumHeight(QGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowMinimumHeight(row)); -} - -int PythonQtWrapper_QGridLayout::rowStretch(QGridLayout* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowStretch(row)); -} - -void PythonQtWrapper_QGridLayout::setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize) -{ - ( theWrappedObject->setColumnMinimumWidth(column, minSize)); -} - -void PythonQtWrapper_QGridLayout::setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch) -{ - ( theWrappedObject->setColumnStretch(column, stretch)); -} - -void PythonQtWrapper_QGridLayout::setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient) -{ - ( theWrappedObject->setDefaultPositioning(n, orient)); -} - -void PythonQtWrapper_QGridLayout::setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setGeometry(arg__1)); -} - -void PythonQtWrapper_QGridLayout::setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setHorizontalSpacing(spacing)); -} - -void PythonQtWrapper_QGridLayout::setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1) -{ - ( theWrappedObject->setOriginCorner(arg__1)); -} - -void PythonQtWrapper_QGridLayout::setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize) -{ - ( theWrappedObject->setRowMinimumHeight(row, minSize)); -} - -void PythonQtWrapper_QGridLayout::setRowStretch(QGridLayout* theWrappedObject, int row, int stretch) -{ - ( theWrappedObject->setRowStretch(row, stretch)); -} - -void PythonQtWrapper_QGridLayout::setSpacing(QGridLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setSpacing(spacing)); -} - -void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setVerticalSpacing(spacing)); -} - -QSize PythonQtWrapper_QGridLayout::sizeHint(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::takeAt(QGridLayout* theWrappedObject, int index) -{ - return ( theWrappedObject->takeAt(index)); -} - -int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); -} - - - -PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) +QVariant PythonQtShell_QGraphicsSimpleTextItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::actionEvent(event0); + return QGraphicsSimpleTextItem::itemChange(change0, value1); } -void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6734,21 +7222,21 @@ if (_wrapper) { } } } - QGroupBox::changeEvent(event0); + QGraphicsSimpleTextItem::keyPressEvent(event0); } -void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6756,21 +7244,21 @@ if (_wrapper) { } } } - QGroupBox::childEvent(event0); + QGraphicsSimpleTextItem::keyReleaseEvent(event0); } -void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6778,21 +7266,21 @@ if (_wrapper) { } } } - QGroupBox::closeEvent(event0); + QGraphicsSimpleTextItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6800,54 +7288,43 @@ if (_wrapper) { } } } - QGroupBox::contextMenuEvent(event0); + QGraphicsSimpleTextItem::mouseMoveEvent(event0); } -int PythonQtShell_QGroupBox::devType() const +void PythonQtShell_QGraphicsSimpleTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::devType(); + QGraphicsSimpleTextItem::mousePressEvent(event0); } -void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6855,65 +7332,54 @@ if (_wrapper) { } } } - QGroupBox::dragEnterEvent(event0); + QGraphicsSimpleTextItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* event0) +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGroupBox::dragLeaveEvent(event0); -} -void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::dragMoveEvent(event0); + return QGraphicsSimpleTextItem::opaqueArea(); } -void PythonQtShell_QGroupBox::dropEvent(QDropEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6921,54 +7387,65 @@ if (_wrapper) { } } } - QGroupBox::dropEvent(event0); + QGraphicsSimpleTextItem::paint(painter0, option1, widget2); } -void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) +bool PythonQtShell_QGraphicsSimpleTextItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::enterEvent(event0); + return QGraphicsSimpleTextItem::sceneEvent(event0); } -bool PythonQtShell_QGroupBox::event(QEvent* event0) +bool PythonQtShell_QGraphicsSimpleTextItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6976,21 +7453,21 @@ if (_wrapper) { } } } - return QGroupBox::event(event0); + return QGraphicsSimpleTextItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6998,32 +7475,32 @@ if (_wrapper) { } } } - QGroupBox::focusInEvent(event0); + QGraphicsSimpleTextItem::setExtension(extension0, variant1); } -bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7031,54 +7508,32 @@ if (_wrapper) { } } } - return QGroupBox::focusNextPrevChild(next0); + return QGraphicsSimpleTextItem::shape(); } -void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) +bool PythonQtShell_QGraphicsSimpleTextItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGroupBox::focusOutEvent(event0); -} -bool PythonQtShell_QGroupBox::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7086,32 +7541,32 @@ if (_wrapper) { } } } - return QGroupBox::hasHeightForWidth(); + return QGraphicsSimpleTextItem::supportsExtension(extension0); } -int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const +int PythonQtShell_QGraphicsSimpleTextItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7119,21 +7574,21 @@ if (_wrapper) { } } } - return QGroupBox::heightForWidth(arg__1); + return QGraphicsSimpleTextItem::type(); } -void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7141,43 +7596,55 @@ if (_wrapper) { } } } - QGroupBox::hideEvent(event0); + QGraphicsSimpleTextItem::wheelEvent(event0); } -void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsSimpleTextItem(parent); } + +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsSimpleTextItem(text, parent); } + +QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->font()); } - QGroupBox::initPainter(painter0); + +void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); } -void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) + +void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + + + +PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsTextItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7185,32 +7652,32 @@ if (_wrapper) { } } } - QGroupBox::inputMethodEvent(arg__1); + QGraphicsTextItem::advance(phase0); } -QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7218,21 +7685,21 @@ if (_wrapper) { } } } - return QGroupBox::inputMethodQuery(arg__1); + return QGraphicsTextItem::boundingRect(); } -void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7240,76 +7707,98 @@ if (_wrapper) { } } } - QGroupBox::keyPressEvent(event0); + QGraphicsTextItem::childEvent(event0); } -void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QGraphicsTextItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::keyReleaseEvent(event0); + return QGraphicsTextItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) +bool PythonQtShell_QGraphicsTextItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::leaveEvent(event0); + return QGraphicsTextItem::collidesWithPath(path0, mode1); } -int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7317,54 +7806,43 @@ if (_wrapper) { } } } - return QGroupBox::metric(arg__1); + return QGraphicsTextItem::contains(point0); } -QSize PythonQtShell_QGroupBox::minimumSizeHint() const +void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::minimumSizeHint(); + QGraphicsTextItem::contextMenuEvent(event0); } -void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7372,21 +7850,21 @@ if (_wrapper) { } } } - QGroupBox::mouseDoubleClickEvent(event0); + QGraphicsTextItem::customEvent(event0); } -void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7394,21 +7872,21 @@ if (_wrapper) { } } } - QGroupBox::mouseMoveEvent(event0); + QGraphicsTextItem::dragEnterEvent(event0); } -void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7416,21 +7894,21 @@ if (_wrapper) { } } } - QGroupBox::mousePressEvent(event0); + QGraphicsTextItem::dragLeaveEvent(event0); } -void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7438,21 +7916,21 @@ if (_wrapper) { } } } - QGroupBox::mouseReleaseEvent(event0); + QGraphicsTextItem::dragMoveEvent(event0); } -void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* event0) +void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7460,32 +7938,32 @@ if (_wrapper) { } } } - QGroupBox::moveEvent(event0); + QGraphicsTextItem::dropEvent(event0); } -bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7493,32 +7971,32 @@ if (_wrapper) { } } } - return QGroupBox::nativeEvent(eventType0, message1, result2); + return QGraphicsTextItem::event(ev0); } -QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const +bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7526,21 +8004,54 @@ if (_wrapper) { } } } - return QGroupBox::paintEngine(); + return QGraphicsTextItem::eventFilter(watched0, event1); } -void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) +QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsTextItem::extension(variant0); +} +void PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7548,54 +8059,43 @@ if (_wrapper) { } } } - QGroupBox::paintEvent(event0); + QGraphicsTextItem::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const +void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::redirected(offset0); + QGraphicsTextItem::focusOutEvent(event0); } -void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7603,21 +8103,21 @@ if (_wrapper) { } } } - QGroupBox::resizeEvent(event0); + QGraphicsTextItem::hoverEnterEvent(event0); } -void PythonQtShell_QGroupBox::setVisible(bool visible0) +void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7625,54 +8125,43 @@ if (_wrapper) { } } } - QGroupBox::setVisible(visible0); + QGraphicsTextItem::hoverLeaveEvent(event0); } -QPainter* PythonQtShell_QGroupBox::sharedPainter() const +void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::sharedPainter(); + QGraphicsTextItem::hoverMoveEvent(event0); } -void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) +void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7680,32 +8169,32 @@ if (_wrapper) { } } } - QGroupBox::showEvent(event0); + QGraphicsTextItem::inputMethodEvent(event0); } -QSize PythonQtShell_QGroupBox::sizeHint() const +QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7713,374 +8202,640 @@ if (_wrapper) { } } } - return QGroupBox::sizeHint(); + return QGraphicsTextItem::inputMethodQuery(query0); } -void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) +bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::tabletEvent(event0); + return QGraphicsTextItem::isObscuredBy(item0); } -void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* event0) +QVariant PythonQtShell_QGraphicsTextItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::wheelEvent(event0); + return QGraphicsTextItem::itemChange(change0, value1); } -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); } - -const QMetaObject* PythonQtShell_QGroupBox::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGroupBox::staticMetaObject); - } else { - return &QGroupBox::staticMetaObject; +void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QGroupBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGroupBox::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + QGraphicsTextItem::keyPressEvent(event0); } -Qt::Alignment PythonQtWrapper_QGroupBox::alignment(QGroupBox* theWrappedObject) const +void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->alignment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGroupBox::childEvent(QGroupBox* theWrappedObject, QChildEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_childEvent(event)); + QGraphicsTextItem::keyReleaseEvent(event0); } - -void PythonQtWrapper_QGroupBox::initStyleOption(QGroupBox* theWrappedObject, QStyleOptionGroupBox* option) const +void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_initStyleOption(option)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGroupBox::isCheckable(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isCheckable()); + QGraphicsTextItem::mouseDoubleClickEvent(event0); } - -bool PythonQtWrapper_QGroupBox::isChecked(QGroupBox* theWrappedObject) const +void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->isChecked()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGroupBox::isFlat(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->isFlat()); + QGraphicsTextItem::mouseMoveEvent(event0); } - -QSize PythonQtWrapper_QGroupBox::minimumSizeHint(QGroupBox* theWrappedObject) const +void PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->minimumSizeHint()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGroupBox::setAlignment(QGroupBox* theWrappedObject, int alignment) -{ - ( theWrappedObject->setAlignment(alignment)); + QGraphicsTextItem::mousePressEvent(event0); } - -void PythonQtWrapper_QGroupBox::setCheckable(QGroupBox* theWrappedObject, bool checkable) +void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setCheckable(checkable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGroupBox::setFlat(QGroupBox* theWrappedObject, bool flat) -{ - ( theWrappedObject->setFlat(flat)); + QGraphicsTextItem::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QGroupBox::setTitle(QGroupBox* theWrappedObject, const QString& title) +QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const { - ( theWrappedObject->setTitle(title)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QGroupBox::title(QGroupBox* theWrappedObject) const -{ - return ( theWrappedObject->title()); + return QGraphicsTextItem::opaqueArea(); } - - - -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_allWindows() +void PythonQtShell_QGraphicsTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - return (QGuiApplication::allWindows()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationDisplayName() -{ - return (QGuiApplication::applicationDisplayName()); + QGraphicsTextItem::paint(painter0, option1, widget2); } - -Qt::ApplicationState PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationState() +bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) { - return (QGuiApplication::applicationState()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1) -{ - (QGuiApplication::changeOverrideCursor(arg__1)); + return QGraphicsTextItem::sceneEvent(event0); } - -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopFileName() +bool PythonQtShell_QGraphicsTextItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - return (QGuiApplication::desktopFileName()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopSettingsAware() -{ - return (QGuiApplication::desktopSettingsAware()); + return QGraphicsTextItem::sceneEventFilter(watched0, event1); } - -qreal PythonQtWrapper_QGuiApplication::devicePixelRatio(QGuiApplication* theWrappedObject) const +void PythonQtShell_QGraphicsTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - return ( theWrappedObject->devicePixelRatio()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QGuiApplication::static_QGuiApplication_exec() + QGraphicsTextItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsTextItem::shape() const { - return (QGuiApplication::exec()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QObject* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusObject() + return QGraphicsTextItem::shape(); +} +bool PythonQtShell_QGraphicsTextItem::supportsExtension(QGraphicsItem::Extension extension0) const { - return (QGuiApplication::focusObject()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusWindow() + return QGraphicsTextItem::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* event0) { - return (QGuiApplication::focusWindow()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QFont PythonQtWrapper_QGuiApplication::static_QGuiApplication_font() + QGraphicsTextItem::timerEvent(event0); +} +int PythonQtShell_QGraphicsTextItem::type() const { - return (QGuiApplication::font()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMethod() + return QGraphicsTextItem::type(); +} +void PythonQtShell_QGraphicsTextItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - return (QGuiApplication::inputMethod()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsTextItem::wheelEvent(event0); } +QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsTextItem(parent); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isFallbackSessionManagementEnabled() +QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsTextItem(text, parent); } + +const QMetaObject* PythonQtShell_QGraphicsTextItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsTextItem::staticMetaObject); + } else { + return &QGraphicsTextItem::staticMetaObject; + } +} +int PythonQtShell_QGraphicsTextItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsTextItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGraphicsTextItem::adjustSize(QGraphicsTextItem* theWrappedObject) { - return (QGuiApplication::isFallbackSessionManagementEnabled()); + ( theWrappedObject->adjustSize()); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() +QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const { - return (QGuiApplication::isLeftToRight()); + return ( theWrappedObject->defaultTextColor()); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() +QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const { - return (QGuiApplication::isRightToLeft()); + return ( theWrappedObject->document()); } -bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const +QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const { - return ( theWrappedObject->isSavingSession()); + return ( theWrappedObject->font()); } -bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const +bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const { - return ( theWrappedObject->isSessionRestored()); + return ( theWrappedObject->openExternalLinks()); } -Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_keyboardModifiers() +void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) { - return (QGuiApplication::keyboardModifiers()); + ( theWrappedObject->setDefaultTextColor(c)); } -Qt::LayoutDirection PythonQtWrapper_QGuiApplication::static_QGuiApplication_layoutDirection() +void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) { - return (QGuiApplication::layoutDirection()); + ( theWrappedObject->setDocument(document)); } -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_modalWindow() +void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) { - return (QGuiApplication::modalWindow()); + ( theWrappedObject->setFont(font)); } -Qt::MouseButtons PythonQtWrapper_QGuiApplication::static_QGuiApplication_mouseButtons() +void PythonQtWrapper_QGraphicsTextItem::setHtml(QGraphicsTextItem* theWrappedObject, const QString& html) { - return (QGuiApplication::mouseButtons()); + ( theWrappedObject->setHtml(html)); } -QCursor* PythonQtWrapper_QGuiApplication::static_QGuiApplication_overrideCursor() +void PythonQtWrapper_QGraphicsTextItem::setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open) { - return (QGuiApplication::overrideCursor()); + ( theWrappedObject->setOpenExternalLinks(open)); } -QPalette PythonQtWrapper_QGuiApplication::static_QGuiApplication_palette() +void PythonQtWrapper_QGraphicsTextItem::setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text) { - return (QGuiApplication::palette()); + ( theWrappedObject->setPlainText(text)); } -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_platformName() +void PythonQtWrapper_QGraphicsTextItem::setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b) { - return (QGuiApplication::platformName()); + ( theWrappedObject->setTabChangesFocus(b)); } -Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_queryKeyboardModifiers() +void PythonQtWrapper_QGraphicsTextItem::setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor) { - return (QGuiApplication::queryKeyboardModifiers()); + ( theWrappedObject->setTextCursor(cursor)); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_quitOnLastWindowClosed() +void PythonQtWrapper_QGraphicsTextItem::setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags) { - return (QGuiApplication::quitOnLastWindowClosed()); + ( theWrappedObject->setTextInteractionFlags(flags)); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_restoreOverrideCursor() +void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width) { - (QGuiApplication::restoreOverrideCursor()); + ( theWrappedObject->setTextWidth(width)); } -QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const +bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const { - return ( theWrappedObject->sessionId()); + return ( theWrappedObject->tabChangesFocus()); } -QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const +QTextCursor PythonQtWrapper_QGraphicsTextItem::textCursor(QGraphicsTextItem* theWrappedObject) const { - return ( theWrappedObject->sessionKey()); + return ( theWrappedObject->textCursor()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setApplicationDisplayName(const QString& name) +Qt::TextInteractionFlags PythonQtWrapper_QGraphicsTextItem::textInteractionFlags(QGraphicsTextItem* theWrappedObject) const { - (QGuiApplication::setApplicationDisplayName(name)); + return ( theWrappedObject->textInteractionFlags()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopFileName(const QString& name) +qreal PythonQtWrapper_QGraphicsTextItem::textWidth(QGraphicsTextItem* theWrappedObject) const { - (QGuiApplication::setDesktopFileName(name)); + return ( theWrappedObject->textWidth()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopSettingsAware(bool on) +QString PythonQtWrapper_QGraphicsTextItem::toHtml(QGraphicsTextItem* theWrappedObject) const { - (QGuiApplication::setDesktopSettingsAware(on)); + return ( theWrappedObject->toHtml()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFallbackSessionManagementEnabled(bool arg__1) +QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWrappedObject) const { - (QGuiApplication::setFallbackSessionManagementEnabled(arg__1)); + return ( theWrappedObject->toPlainText()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) -{ - (QGuiApplication::setFont(arg__1)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction) -{ - (QGuiApplication::setLayoutDirection(direction)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setOverrideCursor(const QCursor& arg__1) -{ - (QGuiApplication::setOverrideCursor(arg__1)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setPalette(const QPalette& pal) -{ - (QGuiApplication::setPalette(pal)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setQuitOnLastWindowClosed(bool quit) -{ - (QGuiApplication::setQuitOnLastWindowClosed(quit)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setWindowIcon(const QIcon& icon) -{ - (QGuiApplication::setWindowIcon(icon)); -} - -QStyleHints* PythonQtWrapper_QGuiApplication::static_QGuiApplication_styleHints() -{ - return (QGuiApplication::styleHints()); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_sync() -{ - (QGuiApplication::sync()); -} - -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelAt(const QPoint& pos) -{ - return (QGuiApplication::topLevelAt(pos)); -} - -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelWindows() -{ - return (QGuiApplication::topLevelWindows()); -} - -QIcon PythonQtWrapper_QGuiApplication::static_QGuiApplication_windowIcon() -{ - return (QGuiApplication::windowIcon()); -} - -PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { +PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) +void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8088,98 +8843,76 @@ if (_wrapper) { } } } - QHBoxLayout::addItem(arg__1); + } -int PythonQtShell_QHBoxLayout::count() const +void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::count(); + QGraphicsTransform::childEvent(event0); } -Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const +void PythonQtShell_QGraphicsTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::expandingDirections(); + QGraphicsTransform::customEvent(event0); } -bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const +bool PythonQtShell_QGraphicsTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8187,32 +8920,32 @@ if (_wrapper) { } } } - return QHBoxLayout::hasHeightForWidth(); + return QGraphicsTransform::event(event0); } -int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const +bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8220,21 +8953,21 @@ if (_wrapper) { } } } - return QHBoxLayout::heightForWidth(arg__1); + return QGraphicsTransform::eventFilter(watched0, event1); } -void PythonQtShell_QHBoxLayout::invalidate() +void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8242,153 +8975,137 @@ if (_wrapper) { } } } - QHBoxLayout::invalidate(); + QGraphicsTransform::timerEvent(event0); } -QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const +QGraphicsTransform* PythonQtWrapper_QGraphicsTransform::new_QGraphicsTransform(QObject* parent) +{ +return new PythonQtShell_QGraphicsTransform(parent); } + +const QMetaObject* PythonQtShell_QGraphicsTransform::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsTransform::staticMetaObject); + } else { + return &QGraphicsTransform::staticMetaObject; + } +} +int PythonQtShell_QGraphicsTransform::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsTransform::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGraphicsTransform::applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const +{ + ( theWrappedObject->applyTo(matrix)); +} + + + +PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::itemAt(arg__1); + QGraphicsView::actionEvent(event0); } -QSize PythonQtShell_QHBoxLayout::maximumSize() const +void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::maximumSize(); + QGraphicsView::changeEvent(arg__1); } -int PythonQtShell_QHBoxLayout::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QGraphicsView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::minimumHeightForWidth(arg__1); + QGraphicsView::childEvent(event0); } -QSize PythonQtShell_QHBoxLayout::minimumSize() const +void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::minimumSize(); + QGraphicsView::closeEvent(event0); } -void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8396,65 +9113,54 @@ if (_wrapper) { } } } - QHBoxLayout::setGeometry(arg__1); + QGraphicsView::contextMenuEvent(event0); } -QSize PythonQtShell_QHBoxLayout::sizeHint() const +void PythonQtShell_QGraphicsView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::sizeHint(); + QGraphicsView::customEvent(event0); } -QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) +int PythonQtShell_QGraphicsView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8462,48 +9168,21 @@ if (_wrapper) { } } } - return QHBoxLayout::takeAt(arg__1); -} -QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout() -{ -return new PythonQtShell_QHBoxLayout(); } - -QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout(QWidget* parent) -{ -return new PythonQtShell_QHBoxLayout(parent); } - -const QMetaObject* PythonQtShell_QHBoxLayout::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHBoxLayout::staticMetaObject); - } else { - return &QHBoxLayout::staticMetaObject; - } -} -int PythonQtShell_QHBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QHBoxLayout::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -PythonQtShell_QHeaderView::~PythonQtShell_QHeaderView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsView::devType(); } -void PythonQtShell_QHeaderView::actionEvent(QActionEvent* event0) +void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8511,21 +9190,21 @@ if (_wrapper) { } } } - QHeaderView::actionEvent(event0); + QGraphicsView::dragEnterEvent(event0); } -void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) +void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8533,21 +9212,21 @@ if (_wrapper) { } } } - QHeaderView::changeEvent(arg__1); + QGraphicsView::dragLeaveEvent(event0); } -void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8555,21 +9234,21 @@ if (_wrapper) { } } } - QHeaderView::closeEditor(editor0, hint1); + QGraphicsView::dragMoveEvent(event0); } -void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8577,21 +9256,21 @@ if (_wrapper) { } } } - QHeaderView::closeEvent(event0); + QGraphicsView::drawBackground(painter0, rect1); } -void PythonQtShell_QHeaderView::commitData(QWidget* editor0) +void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8599,21 +9278,21 @@ if (_wrapper) { } } } - QHeaderView::commitData(editor0); + QGraphicsView::drawForeground(painter0, rect1); } -void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("drawItems"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8621,21 +9300,21 @@ if (_wrapper) { } } } - QHeaderView::contextMenuEvent(arg__1); + QGraphicsView::drawItems(painter0, numItems1, items2, options3); } -void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) +void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&old1}; + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8643,21 +9322,21 @@ if (_wrapper) { } } } - QHeaderView::currentChanged(current0, old1); + QGraphicsView::dropEvent(event0); } -void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8665,32 +9344,32 @@ if (_wrapper) { } } } - QHeaderView::dataChanged(topLeft0, bottomRight1, roles2); + QGraphicsView::enterEvent(event0); } -int PythonQtShell_QHeaderView::devType() const +bool PythonQtShell_QGraphicsView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8698,43 +9377,54 @@ if (_wrapper) { } } } - return QHeaderView::devType(); + return QGraphicsView::event(event0); } -void PythonQtShell_QHeaderView::doItemsLayout() +bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::doItemsLayout(); + return QGraphicsView::eventFilter(arg__1, arg__2); } -void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8742,43 +9432,54 @@ if (_wrapper) { } } } - QHeaderView::dragEnterEvent(event0); + QGraphicsView::focusInEvent(event0); } -void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::dragLeaveEvent(event0); + return QGraphicsView::focusNextPrevChild(next0); } -void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8786,54 +9487,65 @@ if (_wrapper) { } } } - QHeaderView::dragMoveEvent(event0); + QGraphicsView::focusOutEvent(event0); } -void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) +bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::dropEvent(event0); + return QGraphicsView::hasHeightForWidth(); } -bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&trigger1, (void*)&event2}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8841,21 +9553,21 @@ if (_wrapper) { } } } - return QHeaderView::edit(index0, trigger1, event2); + return QGraphicsView::heightForWidth(arg__1); } -void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) +void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8863,21 +9575,21 @@ if (_wrapper) { } } } - QHeaderView::editorDestroyed(editor0); + QGraphicsView::hideEvent(event0); } -void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) +void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8885,65 +9597,54 @@ if (_wrapper) { } } } - QHeaderView::enterEvent(event0); + QGraphicsView::initPainter(painter0); } -bool PythonQtShell_QHeaderView::event(QEvent* e0) +void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::event(e0); + QGraphicsView::inputMethodEvent(event0); } -bool PythonQtShell_QHeaderView::eventFilter(QObject* object0, QEvent* event1) +QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8951,21 +9652,21 @@ if (_wrapper) { } } } - return QHeaderView::eventFilter(object0, event1); + return QGraphicsView::inputMethodQuery(query0); } -void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8973,54 +9674,43 @@ if (_wrapper) { } } } - QHeaderView::focusInEvent(event0); + QGraphicsView::keyPressEvent(event0); } -bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) +void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::focusNextPrevChild(next0); + QGraphicsView::keyReleaseEvent(event0); } -void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9028,32 +9718,32 @@ if (_wrapper) { } } } - QHeaderView::focusOutEvent(event0); + QGraphicsView::leaveEvent(event0); } -bool PythonQtShell_QHeaderView::hasHeightForWidth() const +int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9061,32 +9751,32 @@ if (_wrapper) { } } } - return QHeaderView::hasHeightForWidth(); + return QGraphicsView::metric(arg__1); } -int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const +QSize PythonQtShell_QGraphicsView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9094,21 +9784,21 @@ if (_wrapper) { } } } - return QHeaderView::heightForWidth(arg__1); + return QGraphicsView::minimumSizeHint(); } -void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) +void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9116,54 +9806,43 @@ if (_wrapper) { } } } - QHeaderView::hideEvent(event0); + QGraphicsView::mouseDoubleClickEvent(event0); } -int PythonQtShell_QHeaderView::horizontalOffset() const +void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::horizontalOffset(); + QGraphicsView::mouseMoveEvent(event0); } -void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) +void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9171,21 +9850,21 @@ if (_wrapper) { } } } - QHeaderView::horizontalScrollbarAction(action0); + QGraphicsView::mousePressEvent(event0); } -void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9193,142 +9872,142 @@ if (_wrapper) { } } } - QHeaderView::horizontalScrollbarValueChanged(value0); + QGraphicsView::mouseReleaseEvent(event0); } -QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const +void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::indexAt(p0); + QGraphicsView::moveEvent(event0); } -void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const +bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::initPainter(painter0); + return QGraphicsView::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) +QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::inputMethodEvent(event0); + return QGraphicsView::paintEngine(); } -QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::inputMethodQuery(query0); + QGraphicsView::paintEvent(event0); } -bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const +QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9336,21 +10015,21 @@ if (_wrapper) { } } } - return QHeaderView::isIndexHidden(index0); + return QGraphicsView::redirected(offset0); } -void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9358,21 +10037,21 @@ if (_wrapper) { } } } - QHeaderView::keyPressEvent(event0); + QGraphicsView::resizeEvent(event0); } -void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9380,21 +10059,21 @@ if (_wrapper) { } } } - QHeaderView::keyReleaseEvent(event0); + QGraphicsView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) +void PythonQtShell_QGraphicsView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9402,21 +10081,21 @@ if (_wrapper) { } } } - QHeaderView::keyboardSearch(search0); + QGraphicsView::setVisible(visible0); } -void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) +void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9424,65 +10103,32 @@ if (_wrapper) { } } } - QHeaderView::leaveEvent(event0); -} -int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QHeaderView::metric(arg__1); + QGraphicsView::setupViewport(widget0); } -QSize PythonQtShell_QHeaderView::minimumSizeHint() const +QPainter* PythonQtShell_QGraphicsView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9490,21 +10136,21 @@ if (_wrapper) { } } } - return QHeaderView::minimumSizeHint(); + return QGraphicsView::sharedPainter(); } -void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9512,43 +10158,54 @@ if (_wrapper) { } } } - QHeaderView::mouseDoubleClickEvent(e0); + QGraphicsView::showEvent(event0); } -void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) +QSize PythonQtShell_QGraphicsView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::mouseMoveEvent(e0); + return QGraphicsView::sizeHint(); } -void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9556,21 +10213,21 @@ if (_wrapper) { } } } - QHeaderView::mousePressEvent(e0); + QGraphicsView::tabletEvent(event0); } -void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9578,87 +10235,32 @@ if (_wrapper) { } } } - QHeaderView::mouseReleaseEvent(e0); -} -QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&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("moveCursor", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QHeaderView::moveCursor(arg__1, arg__2); + QGraphicsView::timerEvent(event0); } -void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QHeaderView::moveEvent(event0); -} -bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9666,32 +10268,32 @@ if (_wrapper) { } } } - return QHeaderView::nativeEvent(eventType0, message1, result2); + return QGraphicsView::viewportEvent(event0); } -QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const +QSize PythonQtShell_QGraphicsView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9699,21 +10301,21 @@ if (_wrapper) { } } } - return QHeaderView::paintEngine(); + return QGraphicsView::viewportSizeHint(); } -void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) +void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9721,615 +10323,476 @@ if (_wrapper) { } } } - QHeaderView::paintEvent(e0); + QGraphicsView::wheelEvent(event0); } -void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintSection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&logicalIndex2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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); } + +const QMetaObject* PythonQtShell_QGraphicsView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsView::staticMetaObject); + } else { + return &QGraphicsView::staticMetaObject; } } - QHeaderView::paintSection(painter0, rect1, logicalIndex2); +int PythonQtShell_QGraphicsView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const +Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->alignment()); } - return QHeaderView::redirected(offset0); + +QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); } -void PythonQtShell_QHeaderView::reset() + +QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->cacheMode()); } - QHeaderView::reset(); + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) +{ + ( theWrappedObject->centerOn(item)); } -void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->centerOn(pos)); } - QHeaderView::resizeEvent(event0); + +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->centerOn(x, y)); } -void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) + +QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->dragMode()); } - QHeaderView::rowsAboutToBeRemoved(parent0, start1, end2); + +void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); } -void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) + +void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); } - QHeaderView::rowsInserted(parent0, start1, end2); + +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 PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); } - QHeaderView::scrollContentsBy(dx0, dy1); + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); } -void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) + +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); } - QHeaderView::scrollTo(index0, hint1); + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) +{ + ( theWrappedObject->fitInView(item, aspectRadioMode)); } -QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const + +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sectionSizeFromContents"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&logicalIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->fitInView(rect, aspectRadioMode)); } - return QHeaderView::sectionSizeFromContents(logicalIndex0); + +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 PythonQtShell_QHeaderView::selectAll() + +QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->foregroundBrush()); } - QHeaderView::selectAll(); + +bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->isInteractive()); } -QList PythonQtShell_QHeaderView::selectedIndexes() const + +bool PythonQtWrapper_QGraphicsView::isTransformed(QGraphicsView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isTransformed()); } - return QHeaderView::selectedIndexes(); + +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->itemAt(pos)); } -void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) + +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->itemAt(x, y)); } - QHeaderView::selectionChanged(selected0, deselected1); + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->items()); } -QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QHeaderView::selectionCommand(index0, event1); + return ( theWrappedObject->items(path, mode)); } -void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->items(pos)); } - QHeaderView::setModel(model0); + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode) const +{ + return ( theWrappedObject->items(polygon, mode)); } -void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->items(rect, mode)); } - QHeaderView::setRootIndex(index0); + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->items(x, y)); } -void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) + +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&flags1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->items(x, y, w, h, mode)); } - QHeaderView::setSelection(rect0, flags1); + +QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapFromScene(path)); } -void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) + +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mapFromScene(point)); } - QHeaderView::setSelectionModel(selectionModel0); + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const +{ + return ( theWrappedObject->mapFromScene(polygon)); } -void PythonQtShell_QHeaderView::setVisible(bool v0) + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&v0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mapFromScene(rect)); } - QHeaderView::setVisible(v0); + +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->mapFromScene(x, y)); } -void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) + +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mapFromScene(x, y, w, h)); } - QHeaderView::setupViewport(viewport0); + +QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->mapToScene(path)); } -QPainter* PythonQtShell_QHeaderView::sharedPainter() const + +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mapToScene(point)); } - return QHeaderView::sharedPainter(); + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const +{ + return ( theWrappedObject->mapToScene(polygon)); } -void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mapToScene(rect)); } - QHeaderView::showEvent(event0); + +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->mapToScene(x, y)); } -QSize PythonQtShell_QHeaderView::sizeHint() const + +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mapToScene(x, y, w, h)); } - return QHeaderView::sizeHint(); + +QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); } -int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const + +QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->optimizationFlags()); +} + +void PythonQtWrapper_QGraphicsView::render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target, const QRect& source, Qt::AspectRatioMode aspectRatioMode) +{ + ( theWrappedObject->render(painter, target, source, aspectRatioMode)); +} + +QPainter::RenderHints PythonQtWrapper_QGraphicsView::renderHints(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +void PythonQtWrapper_QGraphicsView::resetCachedContent(QGraphicsView* theWrappedObject) +{ + ( theWrappedObject->resetCachedContent()); +} + +void PythonQtWrapper_QGraphicsView::resetMatrix(QGraphicsView* theWrappedObject) +{ + ( theWrappedObject->resetMatrix()); +} + +void PythonQtWrapper_QGraphicsView::resetTransform(QGraphicsView* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} + +QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::resizeAnchor(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->resizeAnchor()); +} + +void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) +{ + ( theWrappedObject->rotate(angle)); +} + +QRect PythonQtWrapper_QGraphicsView::rubberBandRect(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->rubberBandRect()); +} + +Qt::ItemSelectionMode PythonQtWrapper_QGraphicsView::rubberBandSelectionMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->rubberBandSelectionMode()); +} + +void PythonQtWrapper_QGraphicsView::scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy) +{ + ( theWrappedObject->scale(sx, sy)); +} + +QGraphicsScene* PythonQtWrapper_QGraphicsView::scene(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->scene()); +} + +QRectF PythonQtWrapper_QGraphicsView::sceneRect(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); +} + +void PythonQtWrapper_QGraphicsView::setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QGraphicsView::setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackgroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsView::setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode) +{ + ( theWrappedObject->setCacheMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode) +{ + ( theWrappedObject->setDragMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForegroundBrush(brush)); +} + +void PythonQtWrapper_QGraphicsView::setInteractive(QGraphicsView* theWrappedObject, bool allowed) +{ + ( theWrappedObject->setInteractive(allowed)); +} + +void PythonQtWrapper_QGraphicsView::setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine) +{ + ( theWrappedObject->setMatrix(matrix, combine)); +} + +void PythonQtWrapper_QGraphicsView::setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled) +{ + ( theWrappedObject->setOptimizationFlag(flag, enabled)); +} + +void PythonQtWrapper_QGraphicsView::setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags) +{ + ( theWrappedObject->setOptimizationFlags(flags)); +} + +void PythonQtWrapper_QGraphicsView::setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled) +{ + ( theWrappedObject->setRenderHint(hint, enabled)); +} + +void PythonQtWrapper_QGraphicsView::setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints) +{ + ( theWrappedObject->setRenderHints(hints)); +} + +void PythonQtWrapper_QGraphicsView::setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) +{ + ( theWrappedObject->setResizeAnchor(anchor)); +} + +void PythonQtWrapper_QGraphicsView::setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode) +{ + ( theWrappedObject->setRubberBandSelectionMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene) +{ + ( theWrappedObject->setScene(scene)); +} + +void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setSceneRect(rect)); +} + +void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setSceneRect(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsView::setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setTransform(matrix, combine)); +} + +void PythonQtWrapper_QGraphicsView::setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) +{ + ( theWrappedObject->setTransformationAnchor(anchor)); +} + +void PythonQtWrapper_QGraphicsView::setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode) +{ + ( theWrappedObject->setViewportUpdateMode(mode)); +} + +void PythonQtWrapper_QGraphicsView::shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv) +{ + ( theWrappedObject->shear(sh, sv)); +} + +QTransform PythonQtWrapper_QGraphicsView::transform(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->transform()); +} + +QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::transformationAnchor(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->transformationAnchor()); +} + +void PythonQtWrapper_QGraphicsView::translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->viewportTransform()); +} + +QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const +{ + return ( theWrappedObject->viewportUpdateMode()); +} + + + +PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsWidget::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::sizeHintForColumn(column0); + QGraphicsWidget::advance(phase0); } -int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const +QRectF PythonQtShell_QGraphicsWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10337,21 +10800,21 @@ if (_wrapper) { } } } - return QHeaderView::sizeHintForRow(row0); + return QGraphicsWidget::boundingRect(); } -void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10359,21 +10822,21 @@ if (_wrapper) { } } } - QHeaderView::startDrag(supportedActions0); + QGraphicsWidget::changeEvent(event0); } -void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QGraphicsWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10381,21 +10844,21 @@ if (_wrapper) { } } } - QHeaderView::tabletEvent(event0); + QGraphicsWidget::childEvent(event0); } -void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10403,43 +10866,120 @@ if (_wrapper) { } } } - QHeaderView::timerEvent(event0); + QGraphicsWidget::closeEvent(event0); } -void PythonQtShell_QHeaderView::updateEditorData() +bool PythonQtShell_QGraphicsWidget::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::updateEditorData(); + return QGraphicsWidget::collidesWithItem(other0, mode1); } -void PythonQtShell_QHeaderView::updateEditorGeometries() +bool PythonQtShell_QGraphicsWidget::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsWidget::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::contains(point0); +} +void PythonQtShell_QGraphicsWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10447,21 +10987,21 @@ if (_wrapper) { } } } - QHeaderView::updateEditorGeometries(); + QGraphicsWidget::contextMenuEvent(event0); } -void PythonQtShell_QHeaderView::updateGeometries() +void PythonQtShell_QGraphicsWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10469,54 +11009,43 @@ if (_wrapper) { } } } - QHeaderView::updateGeometries(); + QGraphicsWidget::customEvent(event0); } -int PythonQtShell_QHeaderView::verticalOffset() const +void PythonQtShell_QGraphicsWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::verticalOffset(); + QGraphicsWidget::dragEnterEvent(event0); } -void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) +void PythonQtShell_QGraphicsWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10524,21 +11053,21 @@ if (_wrapper) { } } } - QHeaderView::verticalScrollbarAction(action0); + QGraphicsWidget::dragLeaveEvent(event0); } -void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QGraphicsWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10546,65 +11075,54 @@ if (_wrapper) { } } } - QHeaderView::verticalScrollbarValueChanged(value0); + QGraphicsWidget::dragMoveEvent(event0); } -QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const +void PythonQtShell_QGraphicsWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::viewOptions(); + QGraphicsWidget::dropEvent(event0); } -bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) +bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10612,32 +11130,32 @@ if (_wrapper) { } } } - return QHeaderView::viewportEvent(e0); + return QGraphicsWidget::event(event0); } -QSize PythonQtShell_QHeaderView::viewportSizeHint() const +bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10645,32 +11163,32 @@ if (_wrapper) { } } } - return QHeaderView::viewportSizeHint(); + return QGraphicsWidget::eventFilter(watched0, event1); } -QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const +QVariant PythonQtShell_QGraphicsWidget::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10678,32 +11196,54 @@ if (_wrapper) { } } } - return QHeaderView::visualRect(index0); + return QGraphicsWidget::extension(variant0); } -QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::focusInEvent(event0); +} +bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10711,21 +11251,21 @@ if (_wrapper) { } } } - return QHeaderView::visualRegionForSelection(selection0); + return QGraphicsWidget::focusNextPrevChild(next0); } -void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10733,480 +11273,5989 @@ if (_wrapper) { } } } - QHeaderView::wheelEvent(arg__1); -} -QHeaderView* PythonQtWrapper_QHeaderView::new_QHeaderView(Qt::Orientation orientation, QWidget* parent) -{ -return new PythonQtShell_QHeaderView(orientation, parent); } - -const QMetaObject* PythonQtShell_QHeaderView::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHeaderView::staticMetaObject); - } else { - return &QHeaderView::staticMetaObject; - } -} -int PythonQtShell_QHeaderView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QHeaderView::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QHeaderView::cascadingSectionResizes(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->cascadingSectionResizes()); + QGraphicsWidget::focusOutEvent(event0); } - -int PythonQtWrapper_QHeaderView::count(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { - return ( theWrappedObject->count()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getContentsMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::Alignment PythonQtWrapper_QHeaderView::defaultAlignment(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->defaultAlignment()); + QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); } - -int PythonQtWrapper_QHeaderView::defaultSectionSize(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { - return ( theWrappedObject->defaultSectionSize()); -} - -int PythonQtWrapper_QHeaderView::hiddenSectionCount(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->hiddenSectionCount()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("grabKeyboardEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::hideSection(QHeaderView* theWrappedObject, int logicalIndex) -{ - ( theWrappedObject->hideSection(logicalIndex)); + QGraphicsWidget::grabKeyboardEvent(event0); } - -bool PythonQtWrapper_QHeaderView::highlightSections(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { - return ( theWrappedObject->highlightSections()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("grabMouseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::initStyleOption(QHeaderView* theWrappedObject, QStyleOptionHeader* option) const -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initStyleOption(option)); + QGraphicsWidget::grabMouseEvent(event0); } - -void PythonQtWrapper_QHeaderView::initialize(QHeaderView* theWrappedObject) +void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initialize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections()); + QGraphicsWidget::hideEvent(event0); } - -void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject, int start, int end) +void PythonQtShell_QGraphicsWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections(start, end)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QHeaderView::isFirstSectionMovable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->isFirstSectionMovable()); + QGraphicsWidget::hoverEnterEvent(event0); } - -bool PythonQtWrapper_QHeaderView::isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const +void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->isSectionHidden(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QHeaderView::isSortIndicatorShown(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->isSortIndicatorShown()); + QGraphicsWidget::hoverLeaveEvent(event0); } - -int PythonQtWrapper_QHeaderView::length(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->length()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const -{ - return ( theWrappedObject->logicalIndex(visualIndex)); + QGraphicsWidget::hoverMoveEvent(event0); } - -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const +void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const { - return ( theWrappedObject->logicalIndexAt(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initStyleOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&option0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int position) const -{ - return ( theWrappedObject->logicalIndexAt(position)); + QGraphicsWidget::initStyleOption(option0); } - -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const +void PythonQtShell_QGraphicsWidget::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->logicalIndexAt(x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::maximumSectionSize(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->maximumSectionSize()); + QGraphicsWidget::inputMethodEvent(event0); } - -int PythonQtWrapper_QHeaderView::minimumSectionSize(QHeaderView* theWrappedObject) const +QVariant PythonQtShell_QGraphicsWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { - return ( theWrappedObject->minimumSectionSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::moveSection(QHeaderView* theWrappedObject, int from, int to) -{ - ( theWrappedObject->moveSection(from, to)); + return QGraphicsWidget::inputMethodQuery(query0); } - -int PythonQtWrapper_QHeaderView::offset(QHeaderView* theWrappedObject) const +bool PythonQtShell_QGraphicsWidget::isObscuredBy(const QGraphicsItem* item0) const { - return ( theWrappedObject->offset()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::Orientation PythonQtWrapper_QHeaderView::orientation(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); + return QGraphicsWidget::isObscuredBy(item0); } - -void PythonQtWrapper_QHeaderView::paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const +QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintSection(painter, rect, logicalIndex)); -} - -void PythonQtWrapper_QHeaderView::resetDefaultSectionSize(QHeaderView* theWrappedObject) -{ - ( theWrappedObject->resetDefaultSectionSize()); -} - -int PythonQtWrapper_QHeaderView::resizeContentsPrecision(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->resizeContentsPrecision()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size) -{ - ( theWrappedObject->resizeSection(logicalIndex, size)); + return QGraphicsWidget::itemChange(change0, value1); } - -void PythonQtWrapper_QHeaderView::resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) +void PythonQtShell_QGraphicsWidget::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->resizeSections(mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QHeaderView::restoreState(QHeaderView* theWrappedObject, const QByteArray& state) -{ - return ( theWrappedObject->restoreState(state)); + QGraphicsWidget::keyPressEvent(event0); } - -QByteArray PythonQtWrapper_QHeaderView::saveState(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->saveState()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionPosition(logicalIndex)); + QGraphicsWidget::keyReleaseEvent(event0); } - -QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) const +void PythonQtShell_QGraphicsWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->sectionResizeMode(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionSize(logicalIndex)); + QGraphicsWidget::mouseDoubleClickEvent(event0); } - -QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const +void PythonQtShell_QGraphicsWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionSizeHint(logicalIndex)); + QGraphicsWidget::mouseMoveEvent(event0); } - -int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const +void PythonQtShell_QGraphicsWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->sectionViewportPosition(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QHeaderView::sectionsClickable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsClickable()); + QGraphicsWidget::mousePressEvent(event0); } - -bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->sectionsHidden()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QHeaderView::sectionsMovable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsMovable()); + QGraphicsWidget::mouseReleaseEvent(event0); } - -bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { - return ( theWrappedObject->sectionsMoved()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCascadingSectionResizes(enable)); + QGraphicsWidget::moveEvent(event0); } - -void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) +QPainterPath PythonQtShell_QGraphicsWidget::opaqueArea() const { - ( theWrappedObject->setDefaultAlignment(alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) -{ - ( theWrappedObject->setDefaultSectionSize(size)); + return QGraphicsWidget::opaqueArea(); } - -void PythonQtWrapper_QHeaderView::setFirstSectionMovable(QHeaderView* theWrappedObject, bool movable) +void PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( theWrappedObject->setFirstSectionMovable(movable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) -{ - ( theWrappedObject->setHighlightSections(highlight)); + QGraphicsWidget::paint(painter0, option1, widget2); } - -void PythonQtWrapper_QHeaderView::setMaximumSectionSize(QHeaderView* theWrappedObject, int size) +void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( theWrappedObject->setMaximumSectionSize(size)); -} - -void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) -{ - ( theWrappedObject->setMinimumSectionSize(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintWindowFrame"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setResizeContentsPrecision(QHeaderView* theWrappedObject, int precision) -{ - ( theWrappedObject->setResizeContentsPrecision(precision)); + QGraphicsWidget::paintWindowFrame(painter0, option1, widget2); } - -void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) +void PythonQtShell_QGraphicsWidget::polishEvent() { - ( theWrappedObject->setSectionHidden(logicalIndex, hide)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("polishEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) -{ - ( theWrappedObject->setSectionResizeMode(mode)); + QGraphicsWidget::polishEvent(); } - -void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) +QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { - ( theWrappedObject->setSectionResizeMode(logicalIndex, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("propertyChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&propertyName0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setSectionsClickable(QHeaderView* theWrappedObject, bool clickable) -{ - ( theWrappedObject->setSectionsClickable(clickable)); + return QGraphicsWidget::propertyChange(propertyName0, value1); } - -void PythonQtWrapper_QHeaderView::setSectionsMovable(QHeaderView* theWrappedObject, bool movable) +void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { - ( theWrappedObject->setSectionsMovable(movable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order) -{ - ( theWrappedObject->setSortIndicator(logicalIndex, order)); + QGraphicsWidget::resizeEvent(event0); } - -void PythonQtWrapper_QHeaderView::setSortIndicatorShown(QHeaderView* theWrappedObject, bool show) +bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) { - ( theWrappedObject->setSortIndicatorShown(show)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setStretchLastSection(QHeaderView* theWrappedObject, bool stretch) -{ - ( theWrappedObject->setStretchLastSection(stretch)); + return QGraphicsWidget::sceneEvent(event0); } - -void PythonQtWrapper_QHeaderView::showSection(QHeaderView* theWrappedObject, int logicalIndex) +bool PythonQtShell_QGraphicsWidget::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - ( theWrappedObject->showSection(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sortIndicatorOrder()); + return QGraphicsWidget::sceneEventFilter(watched0, event1); } - -int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - return ( theWrappedObject->sortIndicatorSection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->stretchLastSection()); + QGraphicsWidget::setExtension(extension0, variant1); } - -int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const +void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { - return ( theWrappedObject->stretchSectionCount()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&rect0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) -{ - ( theWrappedObject->swapSections(first, second)); + QGraphicsWidget::setGeometry(rect0); } - -int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const +QPainterPath PythonQtShell_QGraphicsWidget::shape() const { - return ( theWrappedObject->visualIndex(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const -{ - return ( theWrappedObject->visualIndexAt(position)); + return QGraphicsWidget::shape(); } - - - -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 +void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { - return &( theWrappedObject->globalPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::showEvent(event0); +} +QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::sizeHint(which0, constraint1); +} +bool PythonQtShell_QGraphicsWidget::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::timerEvent(event0); +} +int PythonQtShell_QGraphicsWidget::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::type(); +} +void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::ungrabKeyboardEvent(event0); +} +void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ungrabMouseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::ungrabMouseEvent(event0); +} +void PythonQtShell_QGraphicsWidget::updateGeometry() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::updateGeometry(); +} +void PythonQtShell_QGraphicsWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWidget::wheelEvent(event0); +} +bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowFrameEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::windowFrameEvent(e0); +} +Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowFrameSectionAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::WindowFrameSection returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWidget::windowFrameSectionAt(pos0); +} +QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::new_QGraphicsWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) +{ +return new PythonQtShell_QGraphicsWidget(parent, wFlags); } + +const QMetaObject* PythonQtShell_QGraphicsWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsWidget::staticMetaObject); + } else { + return &QGraphicsWidget::staticMetaObject; + } +} +int PythonQtShell_QGraphicsWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QGraphicsWidget::actions(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->actions()); +} + +void PythonQtWrapper_QGraphicsWidget::addAction(QGraphicsWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->addAction(action)); +} + +void PythonQtWrapper_QGraphicsWidget::addActions(QGraphicsWidget* theWrappedObject, QList actions) +{ + ( theWrappedObject->addActions(actions)); +} + +void PythonQtWrapper_QGraphicsWidget::adjustSize(QGraphicsWidget* theWrappedObject) +{ + ( theWrappedObject->adjustSize()); +} + +bool PythonQtWrapper_QGraphicsWidget::autoFillBackground(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->autoFillBackground()); +} + +void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); +} + +bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} + +Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusPolicy()); +} + +QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::focusWidget(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusWidget()); +} + +QFont PythonQtWrapper_QGraphicsWidget::font(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +void PythonQtWrapper_QGraphicsWidget::getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( theWrappedObject->getWindowFrameMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsWidget::grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabKeyboardEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); +} + +int PythonQtWrapper_QGraphicsWidget::grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context) +{ + return ( theWrappedObject->grabShortcut(sequence, context)); +} + +void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QGraphicsWidget::insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action) +{ + ( theWrappedObject->insertAction(before, action)); +} + +void PythonQtWrapper_QGraphicsWidget::insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions) +{ + ( theWrappedObject->insertActions(before, actions)); +} + +bool PythonQtWrapper_QGraphicsWidget::isActiveWindow(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->isActiveWindow()); +} + +QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->layout()); +} + +Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +{ + ( theWrappedObject->paintWindowFrame(painter, option, widget)); +} + +QPalette PythonQtWrapper_QGraphicsWidget::palette(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->palette()); +} + +void PythonQtWrapper_QGraphicsWidget::polishEvent(QGraphicsWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_polishEvent()); +} + +QVariant PythonQtWrapper_QGraphicsWidget::propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_propertyChange(propertyName, value)); +} + +QRectF PythonQtWrapper_QGraphicsWidget::rect(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QGraphicsWidget::releaseShortcut(QGraphicsWidget* theWrappedObject, int id) +{ + ( theWrappedObject->releaseShortcut(id)); +} + +void PythonQtWrapper_QGraphicsWidget::removeAction(QGraphicsWidget* theWrappedObject, QAction* action) +{ + ( theWrappedObject->removeAction(action)); +} + +void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QGraphicsWidget::resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_resizeEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) +{ + ( theWrappedObject->setAttribute(attribute, on)); +} + +void PythonQtWrapper_QGraphicsWidget::setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoFillBackground(enabled)); +} + +void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) +{ + ( theWrappedObject->setContentsMargins(margins)); +} + +void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsWidget::setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy) +{ + ( theWrappedObject->setFocusPolicy(policy)); +} + +void PythonQtWrapper_QGraphicsWidget::setFont(QGraphicsWidget* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setGeometry(x, y, w, h)); +} + +void PythonQtWrapper_QGraphicsWidget::setLayout(QGraphicsWidget* theWrappedObject, PythonQtPassOwnershipToCPP layout) +{ + ( theWrappedObject->setLayout(layout)); +} + +void PythonQtWrapper_QGraphicsWidget::setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QGraphicsWidget::setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette) +{ + ( theWrappedObject->setPalette(palette)); +} + +void PythonQtWrapper_QGraphicsWidget::setShortcutAutoRepeat(QGraphicsWidget* theWrappedObject, int id, bool enabled) +{ + ( theWrappedObject->setShortcutAutoRepeat(id, enabled)); +} + +void PythonQtWrapper_QGraphicsWidget::setShortcutEnabled(QGraphicsWidget* theWrappedObject, int id, bool enabled) +{ + ( theWrappedObject->setShortcutEnabled(id, enabled)); +} + +void PythonQtWrapper_QGraphicsWidget::setStyle(QGraphicsWidget* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setStyle(style)); +} + +void PythonQtWrapper_QGraphicsWidget::static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second) +{ + (QGraphicsWidget::setTabOrder(first, second)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags) +{ + ( theWrappedObject->setWindowFlags(wFlags)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) +{ + ( theWrappedObject->setWindowFrameMargins(margins)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setWindowFrameMargins(left, top, right, bottom)); +} + +void PythonQtWrapper_QGraphicsWidget::setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setWindowTitle(title)); +} + +void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); +} + +QSizeF PythonQtWrapper_QGraphicsWidget::size(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QStyle* PythonQtWrapper_QGraphicsWidget::style(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const +{ + return ( theWrappedObject->testAttribute(attribute)); +} + +void PythonQtWrapper_QGraphicsWidget::ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabKeyboardEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabMouseEvent(event)); +} + +void PythonQtWrapper_QGraphicsWidget::unsetLayoutDirection(QGraphicsWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLayoutDirection()); +} + +void PythonQtWrapper_QGraphicsWidget::unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject) +{ + ( theWrappedObject->unsetWindowFrameMargins()); +} + +Qt::WindowFlags PythonQtWrapper_QGraphicsWidget::windowFlags(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFlags()); +} + +bool PythonQtWrapper_QGraphicsWidget::windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameEvent(e)); +} + +QRectF PythonQtWrapper_QGraphicsWidget::windowFrameGeometry(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFrameGeometry()); +} + +QRectF PythonQtWrapper_QGraphicsWidget::windowFrameRect(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFrameRect()); +} + +Qt::WindowFrameSection PythonQtWrapper_QGraphicsWidget::windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameSectionAt(pos)); +} + +QString PythonQtWrapper_QGraphicsWidget::windowTitle(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowTitle()); +} + +Qt::WindowType PythonQtWrapper_QGraphicsWidget::windowType(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowType()); +} + + + +PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::addItem(arg__1); +} +void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::controlTypes(); +} +int PythonQtShell_QGridLayout::count() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("count"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::count(); +} +void PythonQtShell_QGridLayout::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::customEvent(event0); +} +bool PythonQtShell_QGridLayout::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::event(event0); +} +bool PythonQtShell_QGridLayout::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::expandingDirections(); +} +QRect PythonQtShell_QGridLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::geometry(); +} +bool PythonQtShell_QGridLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::hasHeightForWidth(); +} +int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::heightForWidth(arg__1); +} +int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::indexOf(arg__1); +} +void PythonQtShell_QGridLayout::invalidate() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("invalidate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::invalidate(); +} +bool PythonQtShell_QGridLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::itemAt(index0); +} +QLayout* PythonQtShell_QGridLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::layout(); +} +QSize PythonQtShell_QGridLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::maximumSize(); +} +int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QGridLayout::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::minimumSize(); +} +void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QGridLayout::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::sizeHint(); +} +QSpacerItem* PythonQtShell_QGridLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::spacerItem(); +} +QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::takeAt(index0); +} +void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGridLayout::timerEvent(event0); +} +QWidget* PythonQtShell_QGridLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGridLayout::widget(); +} +QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout() +{ +return new PythonQtShell_QGridLayout(); } + +QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout(QWidget* parent) +{ +return new PythonQtShell_QGridLayout(parent); } + +const QMetaObject* PythonQtShell_QGridLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGridLayout::staticMetaObject); + } else { + return &QGridLayout::staticMetaObject; + } +} +int PythonQtShell_QGridLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGridLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6)); +} + +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) +{ + ( theWrappedObject->addLayout(arg__1, row, column, arg__4)); +} + +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addLayout(arg__1, row, column, rowSpan, columnSpan, arg__6)); +} + +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) +{ + ( theWrappedObject->addWidget(arg__1, row, column, arg__4)); +} + +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) +{ + ( theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6)); +} + +QRect PythonQtWrapper_QGridLayout::cellRect(QGridLayout* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->cellRect(row, column)); +} + +int PythonQtWrapper_QGridLayout::columnCount(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QGridLayout::columnMinimumWidth(QGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnMinimumWidth(column)); +} + +int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnStretch(column)); +} + +int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->horizontalSpacing()); +} + +QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->itemAtPosition(row, column)); +} + +Qt::Corner PythonQtWrapper_QGridLayout::originCorner(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->originCorner()); +} + +int PythonQtWrapper_QGridLayout::rowCount(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); +} + +int PythonQtWrapper_QGridLayout::rowMinimumHeight(QGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowMinimumHeight(row)); +} + +int PythonQtWrapper_QGridLayout::rowStretch(QGridLayout* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowStretch(row)); +} + +void PythonQtWrapper_QGridLayout::setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize) +{ + ( theWrappedObject->setColumnMinimumWidth(column, minSize)); +} + +void PythonQtWrapper_QGridLayout::setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch) +{ + ( theWrappedObject->setColumnStretch(column, stretch)); +} + +void PythonQtWrapper_QGridLayout::setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient) +{ + ( theWrappedObject->setDefaultPositioning(n, orient)); +} + +void PythonQtWrapper_QGridLayout::setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setHorizontalSpacing(spacing)); +} + +void PythonQtWrapper_QGridLayout::setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1) +{ + ( theWrappedObject->setOriginCorner(arg__1)); +} + +void PythonQtWrapper_QGridLayout::setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize) +{ + ( theWrappedObject->setRowMinimumHeight(row, minSize)); +} + +void PythonQtWrapper_QGridLayout::setRowStretch(QGridLayout* theWrappedObject, int row, int stretch) +{ + ( theWrappedObject->setRowStretch(row, stretch)); +} + +void PythonQtWrapper_QGridLayout::setSpacing(QGridLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setSpacing(spacing)); +} + +void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObject, int spacing) +{ + ( theWrappedObject->setVerticalSpacing(spacing)); +} + +int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); +} + +int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const +{ + return ( theWrappedObject->verticalSpacing()); +} + + + +PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::actionEvent(event0); +} +void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::changeEvent(event0); +} +void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::childEvent(event0); +} +void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::closeEvent(event0); +} +void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::contextMenuEvent(event0); +} +void PythonQtShell_QGroupBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::customEvent(event0); +} +int PythonQtShell_QGroupBox::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::devType(); +} +void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::dragEnterEvent(event0); +} +void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::dragLeaveEvent(event0); +} +void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::dragMoveEvent(event0); +} +void PythonQtShell_QGroupBox::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::dropEvent(event0); +} +void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::enterEvent(event0); +} +bool PythonQtShell_QGroupBox::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::event(event0); +} +bool PythonQtShell_QGroupBox::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::eventFilter(watched0, event1); +} +void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::focusInEvent(event0); +} +bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::focusNextPrevChild(next0); +} +void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::focusOutEvent(event0); +} +bool PythonQtShell_QGroupBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::hasHeightForWidth(); +} +int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::heightForWidth(arg__1); +} +void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::hideEvent(event0); +} +void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::initPainter(painter0); +} +void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::keyPressEvent(event0); +} +void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::keyReleaseEvent(event0); +} +void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::leaveEvent(event0); +} +int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::metric(arg__1); +} +QSize PythonQtShell_QGroupBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::minimumSizeHint(); +} +void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::mouseMoveEvent(event0); +} +void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::mousePressEvent(event0); +} +void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::moveEvent(event0); +} +bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::paintEngine(); +} +void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::redirected(offset0); +} +void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::resizeEvent(event0); +} +void PythonQtShell_QGroupBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::setVisible(visible0); +} +QPainter* PythonQtShell_QGroupBox::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::sharedPainter(); +} +void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::showEvent(event0); +} +QSize PythonQtShell_QGroupBox::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGroupBox::sizeHint(); +} +void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::tabletEvent(event0); +} +void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::timerEvent(event0); +} +void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGroupBox::wheelEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QGroupBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGroupBox::staticMetaObject); + } else { + return &QGroupBox::staticMetaObject; + } +} +int PythonQtShell_QGroupBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGroupBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QGroupBox::alignment(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +void PythonQtWrapper_QGroupBox::initStyleOption(QGroupBox* theWrappedObject, QStyleOptionGroupBox* option) const +{ + ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QGroupBox::isCheckable(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->isCheckable()); +} + +bool PythonQtWrapper_QGroupBox::isChecked(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->isChecked()); +} + +bool PythonQtWrapper_QGroupBox::isFlat(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->isFlat()); +} + +QSize PythonQtWrapper_QGroupBox::minimumSizeHint(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QGroupBox::setAlignment(QGroupBox* theWrappedObject, int alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QGroupBox::setCheckable(QGroupBox* theWrappedObject, bool checkable) +{ + ( theWrappedObject->setCheckable(checkable)); +} + +void PythonQtWrapper_QGroupBox::setFlat(QGroupBox* theWrappedObject, bool flat) +{ + ( theWrappedObject->setFlat(flat)); +} + +void PythonQtWrapper_QGroupBox::setTitle(QGroupBox* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +QString PythonQtWrapper_QGroupBox::title(QGroupBox* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + + + +QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_allWindows() +{ + return (QGuiApplication::allWindows()); +} + +QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationDisplayName() +{ + return (QGuiApplication::applicationDisplayName()); +} + +Qt::ApplicationState PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationState() +{ + return (QGuiApplication::applicationState()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1) +{ + (QGuiApplication::changeOverrideCursor(arg__1)); +} + +QClipboard* PythonQtWrapper_QGuiApplication::static_QGuiApplication_clipboard() +{ + return (QGuiApplication::clipboard()); +} + +QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopFileName() +{ + return (QGuiApplication::desktopFileName()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopSettingsAware() +{ + return (QGuiApplication::desktopSettingsAware()); +} + +qreal PythonQtWrapper_QGuiApplication::devicePixelRatio(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +int PythonQtWrapper_QGuiApplication::static_QGuiApplication_exec() +{ + return (QGuiApplication::exec()); +} + +QObject* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusObject() +{ + return (QGuiApplication::focusObject()); +} + +QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusWindow() +{ + return (QGuiApplication::focusWindow()); +} + +QFont PythonQtWrapper_QGuiApplication::static_QGuiApplication_font() +{ + return (QGuiApplication::font()); +} + +QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMethod() +{ + return (QGuiApplication::inputMethod()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isFallbackSessionManagementEnabled() +{ + return (QGuiApplication::isFallbackSessionManagementEnabled()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() +{ + return (QGuiApplication::isLeftToRight()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() +{ + return (QGuiApplication::isRightToLeft()); +} + +bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->isSavingSession()); +} + +bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->isSessionRestored()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_keyboardModifiers() +{ + return (QGuiApplication::keyboardModifiers()); +} + +Qt::LayoutDirection PythonQtWrapper_QGuiApplication::static_QGuiApplication_layoutDirection() +{ + return (QGuiApplication::layoutDirection()); +} + +QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_modalWindow() +{ + return (QGuiApplication::modalWindow()); +} + +Qt::MouseButtons PythonQtWrapper_QGuiApplication::static_QGuiApplication_mouseButtons() +{ + return (QGuiApplication::mouseButtons()); +} + +QCursor* PythonQtWrapper_QGuiApplication::static_QGuiApplication_overrideCursor() +{ + return (QGuiApplication::overrideCursor()); +} + +QPalette PythonQtWrapper_QGuiApplication::static_QGuiApplication_palette() +{ + return (QGuiApplication::palette()); +} + +QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_platformName() +{ + return (QGuiApplication::platformName()); +} + +QScreen* PythonQtWrapper_QGuiApplication::static_QGuiApplication_primaryScreen() +{ + return (QGuiApplication::primaryScreen()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_queryKeyboardModifiers() +{ + return (QGuiApplication::queryKeyboardModifiers()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_quitOnLastWindowClosed() +{ + return (QGuiApplication::quitOnLastWindowClosed()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_restoreOverrideCursor() +{ + (QGuiApplication::restoreOverrideCursor()); +} + +QScreen* PythonQtWrapper_QGuiApplication::static_QGuiApplication_screenAt(const QPoint& point) +{ + return (QGuiApplication::screenAt(point)); +} + +QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_screens() +{ + return (QGuiApplication::screens()); +} + +QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionId()); +} + +QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionKey()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setApplicationDisplayName(const QString& name) +{ + (QGuiApplication::setApplicationDisplayName(name)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopFileName(const QString& name) +{ + (QGuiApplication::setDesktopFileName(name)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopSettingsAware(bool on) +{ + (QGuiApplication::setDesktopSettingsAware(on)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFallbackSessionManagementEnabled(bool arg__1) +{ + (QGuiApplication::setFallbackSessionManagementEnabled(arg__1)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) +{ + (QGuiApplication::setFont(arg__1)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction) +{ + (QGuiApplication::setLayoutDirection(direction)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setOverrideCursor(const QCursor& arg__1) +{ + (QGuiApplication::setOverrideCursor(arg__1)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setPalette(const QPalette& pal) +{ + (QGuiApplication::setPalette(pal)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setQuitOnLastWindowClosed(bool quit) +{ + (QGuiApplication::setQuitOnLastWindowClosed(quit)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setWindowIcon(const QIcon& icon) +{ + (QGuiApplication::setWindowIcon(icon)); +} + +QStyleHints* PythonQtWrapper_QGuiApplication::static_QGuiApplication_styleHints() +{ + return (QGuiApplication::styleHints()); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_sync() +{ + (QGuiApplication::sync()); +} + +QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelAt(const QPoint& pos) +{ + return (QGuiApplication::topLevelAt(pos)); +} + +QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelWindows() +{ + return (QGuiApplication::topLevelWindows()); +} + +QIcon PythonQtWrapper_QGuiApplication::static_QGuiApplication_windowIcon() +{ + return (QGuiApplication::windowIcon()); +} + + + +PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("addItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::addItem(arg__1); +} +void PythonQtShell_QHBoxLayout::childEvent(QChildEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::childEvent(e0); +} +QSizePolicy::ControlTypes PythonQtShell_QHBoxLayout::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::controlTypes(); +} +int PythonQtShell_QHBoxLayout::count() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("count"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::count(); +} +void PythonQtShell_QHBoxLayout::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::customEvent(event0); +} +bool PythonQtShell_QHBoxLayout::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::event(event0); +} +bool PythonQtShell_QHBoxLayout::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::eventFilter(watched0, event1); +} +Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expandingDirections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::expandingDirections(); +} +QRect PythonQtShell_QHBoxLayout::geometry() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::geometry(); +} +bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::hasHeightForWidth(); +} +int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::heightForWidth(arg__1); +} +int PythonQtShell_QHBoxLayout::indexOf(QWidget* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexOf"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::indexOf(arg__1); +} +void PythonQtShell_QHBoxLayout::invalidate() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("invalidate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::invalidate(); +} +bool PythonQtShell_QHBoxLayout::isEmpty() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isEmpty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::isEmpty(); +} +QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::itemAt(arg__1); +} +QLayout* PythonQtShell_QHBoxLayout::layout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("layout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::layout(); +} +QSize PythonQtShell_QHBoxLayout::maximumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::maximumSize(); +} +int PythonQtShell_QHBoxLayout::minimumHeightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::minimumHeightForWidth(arg__1); +} +QSize PythonQtShell_QHBoxLayout::minimumSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::minimumSize(); +} +void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::setGeometry(arg__1); +} +QSize PythonQtShell_QHBoxLayout::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::sizeHint(); +} +QSpacerItem* PythonQtShell_QHBoxLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::spacerItem(); +} +QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("takeAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::takeAt(arg__1); +} +void PythonQtShell_QHBoxLayout::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHBoxLayout::timerEvent(event0); +} +QWidget* PythonQtShell_QHBoxLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHBoxLayout::widget(); +} +QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout() +{ +return new PythonQtShell_QHBoxLayout(); } + +QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout(QWidget* parent) +{ +return new PythonQtShell_QHBoxLayout(parent); } + +const QMetaObject* PythonQtShell_QHBoxLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHBoxLayout::staticMetaObject); + } else { + return &QHBoxLayout::staticMetaObject; + } +} +int PythonQtShell_QHBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHBoxLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QHeaderView::~PythonQtShell_QHeaderView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHeaderView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::actionEvent(event0); +} +void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::changeEvent(arg__1); +} +void PythonQtShell_QHeaderView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::childEvent(event0); +} +void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::closeEditor(editor0, hint1); +} +void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::closeEvent(event0); +} +void PythonQtShell_QHeaderView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::commitData(editor0); +} +void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::contextMenuEvent(arg__1); +} +void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&old1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::currentChanged(current0, old1); +} +void PythonQtShell_QHeaderView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::customEvent(event0); +} +void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QHeaderView::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::devType(); +} +void PythonQtShell_QHeaderView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::doItemsLayout(); +} +void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::dragEnterEvent(event0); +} +void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::dragLeaveEvent(event0); +} +void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::dragMoveEvent(event0); +} +void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::dropEvent(event0); +} +bool PythonQtShell_QHeaderView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::edit(index0, trigger1, event2); +} +void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::editorDestroyed(editor0); +} +void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::enterEvent(event0); +} +bool PythonQtShell_QHeaderView::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::event(e0); +} +bool PythonQtShell_QHeaderView::eventFilter(QObject* object0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::eventFilter(object0, event1); +} +void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::focusInEvent(event0); +} +bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::focusNextPrevChild(next0); +} +void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::focusOutEvent(event0); +} +bool PythonQtShell_QHeaderView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::hasHeightForWidth(); +} +int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::heightForWidth(arg__1); +} +void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::hideEvent(event0); +} +int PythonQtShell_QHeaderView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::horizontalOffset(); +} +void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::indexAt(p0); +} +void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::initPainter(painter0); +} +void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::inputMethodQuery(query0); +} +bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::isIndexHidden(index0); +} +void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::keyPressEvent(event0); +} +void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::keyReleaseEvent(event0); +} +void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::keyboardSearch(search0); +} +void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::leaveEvent(event0); +} +int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::metric(arg__1); +} +QSize PythonQtShell_QHeaderView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::minimumSizeHint(); +} +void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::mouseDoubleClickEvent(e0); +} +void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const + QHeaderView::mouseMoveEvent(e0); +} +void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) { - return ( theWrappedObject->globalX()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const + QHeaderView::mousePressEvent(e0); +} +void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) { - return ( theWrappedObject->globalY()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const + QHeaderView::mouseReleaseEvent(e0); +} +QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) { - return &( theWrappedObject->pos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const + return QHeaderView::moveCursor(arg__1, arg__2); +} +void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->x()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const + QHeaderView::moveEvent(event0); +} +bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->y()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -QHideEvent* PythonQtWrapper_QHideEvent::new_QHideEvent() -{ -return new QHideEvent(); } - - - -PythonQtShell_QHoverEvent::~PythonQtShell_QHoverEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QHeaderView::nativeEvent(eventType0, message1, result2); } -QHoverEvent* PythonQtWrapper_QHoverEvent::new_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QHoverEvent(type, pos, oldPos, modifiers); } - -QPoint PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const +QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const { - return ( theWrappedObject->oldPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const + return QHeaderView::paintEngine(); +} +void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) { - return &( theWrappedObject->oldPosF()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::paintEvent(e0); +} +void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintSection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&logicalIndex2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::paintSection(painter0, rect1, logicalIndex2); +} +QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHeaderView::redirected(offset0); +} +void PythonQtShell_QHeaderView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); + QHeaderView::reset(); } - -const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const +void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) { - return &( theWrappedObject->posF()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() -{ -return new QIconDragEvent(); } - - - -PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QHeaderView::resizeEvent(event0); } -QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actualSize"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QSize returnValue{}; - void* args[4] = {NULL, (void*)&size0, (void*)&mode1, (void*)&state2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::actualSize(size0, mode1, state2); + QHeaderView::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) +void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addFile"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&fileName0, (void*)&size1, (void*)&mode2, (void*)&state3}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11214,21 +17263,21 @@ if (_wrapper) { } } } - QIconEngine::addFile(fileName0, size1, mode2, state3); + QHeaderView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) +void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addPixmap"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QPixmap&" , "QIcon::Mode" , "QIcon::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pixmap0, (void*)&mode1, (void*)&state2}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11236,65 +17285,54 @@ if (_wrapper) { } } } - QIconEngine::addPixmap(pixmap0, mode1, state2); + QHeaderView::scrollContentsBy(dx0, dy1); } -QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const +void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("availableSizes"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList" , "QIcon::Mode" , "QIcon::State"}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue{}; - void* args[3] = {NULL, (void*)&mode0, (void*)&state1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::availableSizes(mode0, state1); + QHeaderView::scrollTo(index0, hint1); } -QIconEngine* PythonQtShell_QIconEngine::clone() const +QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("sectionSizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIconEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QIconEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QSize" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&logicalIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sectionSizeFromContents", methodInfo, result); } else { - returnValue = *((QIconEngine**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11302,65 +17340,54 @@ if (_wrapper) { } } } - return 0; + return QHeaderView::sectionSizeFromContents(logicalIndex0); } -QString PythonQtShell_QIconEngine::iconName() const +void PythonQtShell_QHeaderView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("iconName"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::iconName(); + QHeaderView::selectAll(); } -QString PythonQtShell_QIconEngine::key() const +QList PythonQtShell_QHeaderView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("key"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString"}; + static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue{}; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11368,21 +17395,21 @@ if (_wrapper) { } } } - return QIconEngine::key(); + return QHeaderView::selectedIndexes(); } -void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) +void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&painter0, (void*)&rect1, (void*)&mode2, (void*)&state3}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11390,32 +17417,32 @@ if (_wrapper) { } } } - + QHeaderView::selectionChanged(selected0, deselected1); } -QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pixmap"); + static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&size0, (void*)&mode1, (void*)&state2}; + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pixmap", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QPixmap*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11423,54 +17450,43 @@ if (_wrapper) { } } } - return QIconEngine::pixmap(size0, mode1, state2); + return QHeaderView::selectionCommand(index0, event1); } -bool PythonQtShell_QIconEngine::read(QDataStream& in0) +void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&in0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::read(in0); + QHeaderView::setModel(model0); } -void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) +void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("virtual_hook"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&id0, (void*)&data1}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11478,149 +17494,175 @@ if (_wrapper) { } } } - QIconEngine::virtual_hook(id0, data1); + QHeaderView::setRootIndex(index0); } -bool PythonQtShell_QIconEngine::write(QDataStream& out0) const +void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&out0}; + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&flags1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::write(out0); -} -QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine() -{ -return new PythonQtShell_QIconEngine(); } - -QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine(const QIconEngine& other) -{ -return new PythonQtShell_QIconEngine(other); } - -QSize PythonQtWrapper_QIconEngine::actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) -{ - return ( theWrappedObject->actualSize(size, mode, state)); -} - -void PythonQtWrapper_QIconEngine::addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) -{ - ( theWrappedObject->addFile(fileName, size, mode, state)); -} - -void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) -{ - ( theWrappedObject->addPixmap(pixmap, mode, state)); -} - -QList PythonQtWrapper_QIconEngine::availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode, QIcon::State state) const -{ - return ( theWrappedObject->availableSizes(mode, state)); -} - -QIconEngine* PythonQtWrapper_QIconEngine::clone(QIconEngine* theWrappedObject) const -{ - return ( theWrappedObject->clone()); + QHeaderView::setSelection(rect0, flags1); } - -QString PythonQtWrapper_QIconEngine::iconName(QIconEngine* theWrappedObject) const +void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) { - return ( theWrappedObject->iconName()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QIconEngine::isNull(QIconEngine* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); + QHeaderView::setSelectionModel(selectionModel0); } - -QString PythonQtWrapper_QIconEngine::key(QIconEngine* theWrappedObject) const +void PythonQtShell_QHeaderView::setVisible(bool v0) { - return ( theWrappedObject->key()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&v0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QIconEngine::paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) -{ - ( theWrappedObject->paint(painter, rect, mode, state)); + QHeaderView::setVisible(v0); } - -QPixmap PythonQtWrapper_QIconEngine::pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { - return ( theWrappedObject->pixmap(size, mode, state)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QIconEngine::read(QIconEngine* theWrappedObject, QDataStream& in) -{ - return ( theWrappedObject->read(in)); + QHeaderView::setupViewport(viewport0); } - -QPixmap PythonQtWrapper_QIconEngine::scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale) +QPainter* PythonQtShell_QHeaderView::sharedPainter() const { - return ( theWrappedObject->scaledPixmap(size, mode, state, scale)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QIconEngine::virtual_hook(QIconEngine* theWrappedObject, int id, void* data) -{ - ( theWrappedObject->virtual_hook(id, data)); + return QHeaderView::sharedPainter(); } - -bool PythonQtWrapper_QIconEngine::write(QIconEngine* theWrappedObject, QDataStream& out) const +void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) { - return ( theWrappedObject->write(out)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QHeaderView::showEvent(event0); } -bool PythonQtShell_QImageIOHandler::canRead() const +QSize PythonQtShell_QHeaderView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canRead"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11628,32 +17670,32 @@ if (_wrapper) { } } } - return bool(); + return QHeaderView::sizeHint(); } -int PythonQtShell_QImageIOHandler::currentImageNumber() const +int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentImageNumber"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11661,32 +17703,32 @@ if (_wrapper) { } } } - return QImageIOHandler::currentImageNumber(); + return QHeaderView::sizeHintForColumn(column0); } -QRect PythonQtShell_QImageIOHandler::currentImageRect() const +int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentImageRect"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11694,230 +17736,164 @@ if (_wrapper) { } } } - return QImageIOHandler::currentImageRect(); + return QHeaderView::sizeHintForRow(row0); } -int PythonQtShell_QImageIOHandler::imageCount() const +void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("imageCount"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::imageCount(); + QHeaderView::startDrag(supportedActions0); } -bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) +void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("jumpToImage"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&imageNumber0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::jumpToImage(imageNumber0); + QHeaderView::tabletEvent(event0); } -bool PythonQtShell_QImageIOHandler::jumpToNextImage() +void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("jumpToNextImage"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::jumpToNextImage(); + QHeaderView::timerEvent(event0); } -int PythonQtShell_QImageIOHandler::loopCount() const +void PythonQtShell_QHeaderView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loopCount"); + static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::loopCount(); + QHeaderView::updateEditorData(); } -QByteArray PythonQtShell_QImageIOHandler::name() const +void PythonQtShell_QHeaderView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("name"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QByteArray"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::name(); + QHeaderView::updateEditorGeometries(); } -int PythonQtShell_QImageIOHandler::nextImageDelay() const +void PythonQtShell_QHeaderView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextImageDelay"); + static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::nextImageDelay(); + QHeaderView::updateGeometries(); } -QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const +int PythonQtShell_QHeaderView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("option"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11925,54 +17901,43 @@ if (_wrapper) { } } } - return QImageIOHandler::option(option0); + return QHeaderView::verticalOffset(); } -bool PythonQtShell_QImageIOHandler::read(QImage* image0) +void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QImage*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&image0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); + QHeaderView::verticalScrollbarAction(action0); } -void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) +void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setOption"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QImageIOHandler::ImageOption" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11980,32 +17945,32 @@ if (_wrapper) { } } } - QImageIOHandler::setOption(option0, value1); + QHeaderView::verticalScrollbarValueChanged(value0); } -bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const +QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsOption"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsOption", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12013,32 +17978,32 @@ if (_wrapper) { } } } - return QImageIOHandler::supportsOption(option0); + return QHeaderView::viewOptions(); } -bool PythonQtShell_QImageIOHandler::write(const QImage& image0) +bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QImage&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&image0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12046,127 +18011,65 @@ if (_wrapper) { } } } - return QImageIOHandler::write(image0); -} -QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() -{ -return new PythonQtShell_QImageIOHandler(); } - -bool PythonQtWrapper_QImageIOHandler::canRead(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->canRead()); -} - -int PythonQtWrapper_QImageIOHandler::currentImageNumber(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->currentImageNumber()); -} - -QRect PythonQtWrapper_QImageIOHandler::currentImageRect(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->currentImageRect()); -} - -QIODevice* PythonQtWrapper_QImageIOHandler::device(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -QByteArray PythonQtWrapper_QImageIOHandler::format(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -int PythonQtWrapper_QImageIOHandler::imageCount(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->imageCount()); -} - -bool PythonQtWrapper_QImageIOHandler::jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber) -{ - return ( theWrappedObject->jumpToImage(imageNumber)); -} - -bool PythonQtWrapper_QImageIOHandler::jumpToNextImage(QImageIOHandler* theWrappedObject) -{ - return ( theWrappedObject->jumpToNextImage()); -} - -int PythonQtWrapper_QImageIOHandler::loopCount(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->loopCount()); -} - -int PythonQtWrapper_QImageIOHandler::nextImageDelay(QImageIOHandler* theWrappedObject) const -{ - return ( theWrappedObject->nextImageDelay()); -} - -QVariant PythonQtWrapper_QImageIOHandler::option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const -{ - return ( theWrappedObject->option(option)); -} - -bool PythonQtWrapper_QImageIOHandler::read(QImageIOHandler* theWrappedObject, QImage* image) -{ - return ( theWrappedObject->read(image)); -} - -void PythonQtWrapper_QImageIOHandler::setDevice(QImageIOHandler* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -void PythonQtWrapper_QImageIOHandler::setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QImageIOHandler::setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value) -{ - ( theWrappedObject->setOption(option, value)); -} - -bool PythonQtWrapper_QImageIOHandler::supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const -{ - return ( theWrappedObject->supportsOption(option)); + return QHeaderView::viewportEvent(e0); } - -bool PythonQtWrapper_QImageIOHandler::write(QImageIOHandler* theWrappedObject, const QImage& image) +QSize PythonQtShell_QHeaderView::viewportSizeHint() const { - return ( theWrappedObject->write(image)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QHeaderView::viewportSizeHint(); } -QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const +QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("capabilities"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&device0, (void*)&format1}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("capabilities", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { - returnValue = *((QImageIOPlugin::Capabilities*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12174,32 +18077,32 @@ if (_wrapper) { } } } - return QImageIOPlugin::Capabilities(); + return QHeaderView::visualRect(index0); } -QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const +QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("create"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QImageIOHandler* returnValue{}; - void* args[3] = {NULL, (void*)&device0, (void*)&format1}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { - returnValue = *((QImageIOHandler**)args[0]); + returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12207,437 +18110,448 @@ if (_wrapper) { } } } - return 0; + return QHeaderView::visualRegionForSelection(selection0); +} +void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHeaderView::wheelEvent(arg__1); } -QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) +QHeaderView* PythonQtWrapper_QHeaderView::new_QHeaderView(Qt::Orientation orientation, QWidget* parent) { -return new PythonQtShell_QImageIOPlugin(parent); } +return new PythonQtShell_QHeaderView(orientation, parent); } -const QMetaObject* PythonQtShell_QImageIOPlugin::metaObject() const { +const QMetaObject* PythonQtShell_QHeaderView::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QImageIOPlugin::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHeaderView::staticMetaObject); } else { - return &QImageIOPlugin::staticMetaObject; + return &QHeaderView::staticMetaObject; } } -int PythonQtShell_QImageIOPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QImageIOPlugin::qt_metacall(call, id, args); +int PythonQtShell_QHeaderView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHeaderView::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QImageIOPlugin::Capabilities PythonQtWrapper_QImageIOPlugin::capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const +bool PythonQtWrapper_QHeaderView::cascadingSectionResizes(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->capabilities(device, format)); + return ( theWrappedObject->cascadingSectionResizes()); } -QImageIOHandler* PythonQtWrapper_QImageIOPlugin::create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const +int PythonQtWrapper_QHeaderView::count(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->create(device, format)); + return ( theWrappedObject->count()); } - - -bool PythonQtWrapper_QImageReader::autoDetectImageFormat(QImageReader* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QHeaderView::defaultAlignment(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->autoDetectImageFormat()); + return ( theWrappedObject->defaultAlignment()); } -bool PythonQtWrapper_QImageReader::autoTransform(QImageReader* theWrappedObject) const +int PythonQtWrapper_QHeaderView::defaultSectionSize(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->autoTransform()); + return ( theWrappedObject->defaultSectionSize()); } -QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const +int PythonQtWrapper_QHeaderView::hiddenSectionCount(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->backgroundColor()); + return ( theWrappedObject->hiddenSectionCount()); } -bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::hideSection(QHeaderView* theWrappedObject, int logicalIndex) { - return ( theWrappedObject->canRead()); + ( theWrappedObject->hideSection(logicalIndex)); } -QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QHeaderView::highlightSections(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->clipRect()); + return ( theWrappedObject->highlightSections()); } -int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::initStyleOption(QHeaderView* theWrappedObject, QStyleOptionHeader* option) const { - return ( theWrappedObject->currentImageNumber()); + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initStyleOption(option)); } -QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::initialize(QHeaderView* theWrappedObject) { - return ( theWrappedObject->currentImageRect()); + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initialize()); } -bool PythonQtWrapper_QImageReader::decideFormatFromContent(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject) { - return ( theWrappedObject->decideFormatFromContent()); + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections()); } -QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject, int start, int end) { - return ( theWrappedObject->device()); + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections(start, end)); } -QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QHeaderView::isFirstSectionMovable(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->error()); + return ( theWrappedObject->isFirstSectionMovable()); } -QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QHeaderView::isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->isSectionHidden(logicalIndex)); } -QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QHeaderView::isSortIndicatorShown(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->isSortIndicatorShown()); } -QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const +int PythonQtWrapper_QHeaderView::length(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->length()); } -float PythonQtWrapper_QImageReader::gamma(QImageReader* theWrappedObject) const +int PythonQtWrapper_QHeaderView::logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const { - return ( theWrappedObject->gamma()); + return ( theWrappedObject->logicalIndex(visualIndex)); } -int PythonQtWrapper_QImageReader::imageCount(QImageReader* theWrappedObject) const +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->imageCount()); + return ( theWrappedObject->logicalIndexAt(pos)); } -QImage::Format PythonQtWrapper_QImageReader::imageFormat(QImageReader* theWrappedObject) const +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int position) const { - return ( theWrappedObject->imageFormat()); + return ( theWrappedObject->logicalIndexAt(position)); } -QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(QIODevice* device) +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const { - return (QImageReader::imageFormat(device)); + return ( theWrappedObject->logicalIndexAt(x, y)); } -QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(const QString& fileName) +int PythonQtWrapper_QHeaderView::maximumSectionSize(QHeaderView* theWrappedObject) const { - return (QImageReader::imageFormat(fileName)); + return ( theWrappedObject->maximumSectionSize()); } -QList PythonQtWrapper_QImageReader::static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType) +int PythonQtWrapper_QHeaderView::minimumSectionSize(QHeaderView* theWrappedObject) const { - return (QImageReader::imageFormatsForMimeType(mimeType)); + return ( theWrappedObject->minimumSectionSize()); } -bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) +void PythonQtWrapper_QHeaderView::moveSection(QHeaderView* theWrappedObject, int from, int to) { - return ( theWrappedObject->jumpToImage(imageNumber)); + ( theWrappedObject->moveSection(from, to)); } -bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) +int PythonQtWrapper_QHeaderView::offset(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->jumpToNextImage()); + return ( theWrappedObject->offset()); } -int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const +Qt::Orientation PythonQtWrapper_QHeaderView::orientation(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->loopCount()); + return ( theWrappedObject->orientation()); } -int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const { - return ( theWrappedObject->nextImageDelay()); + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintSection(painter, rect, logicalIndex)); } -int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::resetDefaultSectionSize(QHeaderView* theWrappedObject) { - return ( theWrappedObject->quality()); + ( theWrappedObject->resetDefaultSectionSize()); } -QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) +int PythonQtWrapper_QHeaderView::resizeContentsPrecision(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->read()); + return ( theWrappedObject->resizeContentsPrecision()); } -QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size) { - return ( theWrappedObject->scaledClipRect()); + ( theWrappedObject->resizeSection(logicalIndex, size)); } -QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) { - return ( theWrappedObject->scaledSize()); + ( theWrappedObject->resizeSections(mode)); } -void PythonQtWrapper_QImageReader::setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled) +bool PythonQtWrapper_QHeaderView::restoreState(QHeaderView* theWrappedObject, const QByteArray& state) { - ( theWrappedObject->setAutoDetectImageFormat(enabled)); + return ( theWrappedObject->restoreState(state)); } -void PythonQtWrapper_QImageReader::setAutoTransform(QImageReader* theWrappedObject, bool enabled) +QByteArray PythonQtWrapper_QHeaderView::saveState(QHeaderView* theWrappedObject) const { - ( theWrappedObject->setAutoTransform(enabled)); + return ( theWrappedObject->saveState()); } -void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) +int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const { - ( theWrappedObject->setBackgroundColor(color)); + return ( theWrappedObject->sectionPosition(logicalIndex)); } -void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) +QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) const { - ( theWrappedObject->setClipRect(rect)); + return ( theWrappedObject->sectionResizeMode(logicalIndex)); } -void PythonQtWrapper_QImageReader::setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored) +int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const { - ( theWrappedObject->setDecideFormatFromContent(ignored)); + return ( theWrappedObject->sectionSize(logicalIndex)); } -void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) +QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const { - ( theWrappedObject->setDevice(device)); + return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); } -void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) +int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const { - ( theWrappedObject->setFileName(fileName)); + return ( theWrappedObject->sectionSizeHint(logicalIndex)); } -void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) +int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const { - ( theWrappedObject->setFormat(format)); + return ( theWrappedObject->sectionViewportPosition(logicalIndex)); } -void PythonQtWrapper_QImageReader::setGamma(QImageReader* theWrappedObject, float gamma) +bool PythonQtWrapper_QHeaderView::sectionsClickable(QHeaderView* theWrappedObject) const { - ( theWrappedObject->setGamma(gamma)); + return ( theWrappedObject->sectionsClickable()); } -void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) +bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const { - ( theWrappedObject->setQuality(quality)); + return ( theWrappedObject->sectionsHidden()); } -void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) +bool PythonQtWrapper_QHeaderView::sectionsMovable(QHeaderView* theWrappedObject) const { - ( theWrappedObject->setScaledClipRect(rect)); + return ( theWrappedObject->sectionsMovable()); } -void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) +bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const { - ( theWrappedObject->setScaledSize(size)); + return ( theWrappedObject->sectionsMoved()); } -QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) { - return ( theWrappedObject->size()); + ( theWrappedObject->setCascadingSectionResizes(enable)); } -QByteArray PythonQtWrapper_QImageReader::subType(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->subType()); + ( theWrappedObject->setDefaultAlignment(alignment)); } -QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() +void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) { - return (QImageReader::supportedImageFormats()); + ( theWrappedObject->setDefaultSectionSize(size)); } -QList PythonQtWrapper_QImageReader::static_QImageReader_supportedMimeTypes() +void PythonQtWrapper_QHeaderView::setFirstSectionMovable(QHeaderView* theWrappedObject, bool movable) { - return (QImageReader::supportedMimeTypes()); + ( theWrappedObject->setFirstSectionMovable(movable)); } -QList PythonQtWrapper_QImageReader::supportedSubTypes(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) { - return ( theWrappedObject->supportedSubTypes()); + ( theWrappedObject->setHighlightSections(highlight)); } -bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setMaximumSectionSize(QHeaderView* theWrappedObject, int size) { - return ( theWrappedObject->supportsAnimation()); + ( theWrappedObject->setMaximumSectionSize(size)); } -bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const +void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) { - return ( theWrappedObject->supportsOption(option)); + ( theWrappedObject->setMinimumSectionSize(size)); } -QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const +void PythonQtWrapper_QHeaderView::setResizeContentsPrecision(QHeaderView* theWrappedObject, int precision) { - return ( theWrappedObject->text(key)); + ( theWrappedObject->setResizeContentsPrecision(precision)); } -QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) { - return ( theWrappedObject->textKeys()); + ( theWrappedObject->setSectionHidden(logicalIndex, hide)); } -QString PythonQtWrapper_QImageReader::static_QImageReader_tr(const char* sourceText, const char* disambiguation, int n) +void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) { - return (QImageReader::tr(sourceText, disambiguation, n)); + ( theWrappedObject->setSectionResizeMode(mode)); } -QString PythonQtWrapper_QImageReader::static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation, int n) +void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) { - return (QImageReader::trUtf8(sourceText, disambiguation, n)); + ( theWrappedObject->setSectionResizeMode(logicalIndex, mode)); } - - -bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setSectionsClickable(QHeaderView* theWrappedObject, bool clickable) { - return ( theWrappedObject->canWrite()); + ( theWrappedObject->setSectionsClickable(clickable)); } -int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setSectionsMovable(QHeaderView* theWrappedObject, bool movable) { - return ( theWrappedObject->compression()); + ( theWrappedObject->setSectionsMovable(movable)); } -QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order) { - return ( theWrappedObject->device()); + ( theWrappedObject->setSortIndicator(logicalIndex, order)); } -QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setSortIndicatorShown(QHeaderView* theWrappedObject, bool show) { - return ( theWrappedObject->error()); + ( theWrappedObject->setSortIndicatorShown(show)); } -QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QHeaderView::setStretchLastSection(QHeaderView* theWrappedObject, bool stretch) { - return ( theWrappedObject->errorString()); + ( theWrappedObject->setStretchLastSection(stretch)); } -QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QHeaderView::showSection(QHeaderView* theWrappedObject, int logicalIndex) { - return ( theWrappedObject->fileName()); + ( theWrappedObject->showSection(logicalIndex)); } -QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const +Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->sortIndicatorOrder()); } -float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const +int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->gamma()); + return ( theWrappedObject->sortIndicatorSection()); } -QList PythonQtWrapper_QImageWriter::static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType) +bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const { - return (QImageWriter::imageFormatsForMimeType(mimeType)); + return ( theWrappedObject->stretchLastSection()); } -bool PythonQtWrapper_QImageWriter::optimizedWrite(QImageWriter* theWrappedObject) const +int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->optimizedWrite()); + return ( theWrappedObject->stretchSectionCount()); } -bool PythonQtWrapper_QImageWriter::progressiveScanWrite(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) { - return ( theWrappedObject->progressiveScanWrite()); + ( theWrappedObject->swapSections(first, second)); } -int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const +int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const { - return ( theWrappedObject->quality()); + return ( theWrappedObject->visualIndex(logicalIndex)); } -void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) +int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const { - ( theWrappedObject->setCompression(compression)); + return ( theWrappedObject->visualIndexAt(position)); } -void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} -void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} -void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} +QHelpEvent* PythonQtWrapper_QHelpEvent::new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos) +{ +return new QHelpEvent(type, pos, globalPos); } -void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) +const QPoint* PythonQtWrapper_QHelpEvent::globalPos(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setGamma(gamma)); + return &( theWrappedObject->globalPos()); } -void PythonQtWrapper_QImageWriter::setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize) +int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setOptimizedWrite(optimize)); + return ( theWrappedObject->globalX()); } -void PythonQtWrapper_QImageWriter::setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive) +int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setProgressiveScanWrite(progressive)); + return ( theWrappedObject->globalY()); } -void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) +const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setQuality(quality)); + return &( theWrappedObject->pos()); } -void PythonQtWrapper_QImageWriter::setSubType(QImageWriter* theWrappedObject, const QByteArray& type) +int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setSubType(type)); + return ( theWrappedObject->x()); } -void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) +int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setText(key, text)); + return ( theWrappedObject->y()); } -QByteArray PythonQtWrapper_QImageWriter::subType(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->subType()); -} -QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() -{ - return (QImageWriter::supportedImageFormats()); -} -QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedMimeTypes() -{ - return (QImageWriter::supportedMimeTypes()); -} +QHideEvent* PythonQtWrapper_QHideEvent::new_QHideEvent() +{ +return new QHideEvent(); } -QList PythonQtWrapper_QImageWriter::supportedSubTypes(QImageWriter* theWrappedObject) const -{ - return ( theWrappedObject->supportedSubTypes()); + + +PythonQtShell_QHoverEvent::~PythonQtShell_QHoverEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QHoverEvent* PythonQtWrapper_QHoverEvent::new_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QHoverEvent(type, pos, oldPos, modifiers); } -bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const +QPoint PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const { - return ( theWrappedObject->supportsOption(option)); + return ( theWrappedObject->oldPos()); } -QString PythonQtWrapper_QImageWriter::static_QImageWriter_tr(const char* sourceText, const char* disambiguation, int n) +const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const { - return (QImageWriter::tr(sourceText, disambiguation, n)); + return &( theWrappedObject->oldPosF()); } -QString PythonQtWrapper_QImageWriter::static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation, int n) +QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const { - return (QImageWriter::trUtf8(sourceText, disambiguation, n)); + return ( theWrappedObject->pos()); } -bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) +const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const { - return ( theWrappedObject->write(image)); + return &( theWrappedObject->posF()); } + +QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() +{ +return new QIconDragEvent(); } + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.h similarity index 63% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.h index 31ff79db..d8ed7a0d 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.h @@ -1,11 +1,6 @@ #include -#include -#include #include #include -#include -#include -#include #include #include #include @@ -15,14 +10,21 @@ #include #include #include +#include +#include +#include +#include #include #include -#include +#include #include +#include #include +#include #include #include #include +#include #include #include #include @@ -33,49 +35,595 @@ #include #include #include -#include -#include -#include -#include -#include +#include #include -#include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include +#include +#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_QGraphicsPixmapItem : public QGraphicsPixmapItem +{ +public: + PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(pixmap, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsPixmapItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsPixmapItem : public QGraphicsPixmapItem +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsPixmapItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsPixmapItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPixmapItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPixmapItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsPixmapItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsPixmapItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPixmapItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsPixmapItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsPixmapItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsPixmapItem::type(); } +}; + +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 = nullptr); +QGraphicsPixmapItem* new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr); +void delete_QGraphicsPixmapItem(QGraphicsPixmapItem* obj) { delete obj; } + QRectF py_q_boundingRect(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsPixmapItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_contains(point));} + QVariant py_q_extension(QGraphicsPixmapItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_extension(variant));} + bool py_q_isObscuredBy(QGraphicsPixmapItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_isObscuredBy(item));} + QPointF offset(QGraphicsPixmapItem* theWrappedObject) const; + QPainterPath py_q_opaqueArea(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_opaqueArea());} + void py_q_paint(QGraphicsPixmapItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + QPixmap pixmap(QGraphicsPixmapItem* theWrappedObject) const; + void py_q_setExtension(QGraphicsPixmapItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_setExtension(extension, variant));} + void setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset); + void setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y); + void setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap); + void setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode); + void setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode); + QPainterPath py_q_shape(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_shape());} + QGraphicsPixmapItem::ShapeMode shapeMode(QGraphicsPixmapItem* theWrappedObject) const; + bool py_q_supportsExtension(QGraphicsPixmapItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_supportsExtension(extension));} + Qt::TransformationMode transformationMode(QGraphicsPixmapItem* theWrappedObject) const; + int py_q_type(QGraphicsPixmapItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPixmapItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsPolygonItem : public QGraphicsPolygonItem +{ +public: + PythonQtShell_QGraphicsPolygonItem(QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(polygon, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsPolygonItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsPolygonItem : public QGraphicsPolygonItem +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsPolygonItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsPolygonItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPolygonItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPolygonItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsPolygonItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsPolygonItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPolygonItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsPolygonItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsPolygonItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsPolygonItem::type(); } +}; + +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 = nullptr); +QGraphicsPolygonItem* new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr); +void delete_QGraphicsPolygonItem(QGraphicsPolygonItem* obj) { delete obj; } + QRectF py_q_boundingRect(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_contains(point));} + QVariant py_q_extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_extension(variant));} + Qt::FillRule fillRule(QGraphicsPolygonItem* theWrappedObject) const; + bool py_q_isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_isObscuredBy(item));} + QPainterPath py_q_opaqueArea(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_opaqueArea());} + void py_q_paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + QPolygonF polygon(QGraphicsPolygonItem* theWrappedObject) const; + void py_q_setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_setExtension(extension, variant));} + void setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule); + void setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon); + QPainterPath py_q_shape(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsProxyWidget : public QGraphicsProxyWidget +{ +public: + PythonQtShell_QGraphicsProxyWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsProxyWidget(parent, wFlags),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsProxyWidget() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void grabKeyboardEvent(QEvent* event) override; +void grabMouseEvent(QEvent* event) override; +void hideEvent(QHideEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void initStyleOption(QStyleOption* option) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void moveEvent(QGraphicsSceneMoveEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void polishEvent() override; +QVariant propertyChange(const QString& propertyName, const QVariant& value) override; +void resizeEvent(QGraphicsSceneResizeEvent* event) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +void setGeometry(const QRectF& rect) override; +QPainterPath shape() const override; +void showEvent(QShowEvent* event) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void ungrabKeyboardEvent(QEvent* event) override; +void ungrabMouseEvent(QEvent* event) override; +void updateGeometry() override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; +bool windowFrameEvent(QEvent* e) override; +Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsProxyWidget : public QGraphicsProxyWidget +{ public: +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { this->contextMenuEvent(event); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { this->dragEnterEvent(event); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { this->dragLeaveEvent(event); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { this->dragMoveEvent(event); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { this->dropEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_grabMouseEvent(QEvent* event) { this->grabMouseEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } +inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { this->hoverEnterEvent(event); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { this->hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { this->hoverMoveEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* event) { this->inputMethodEvent(event); } +inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return this->inputMethodQuery(query); } +inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return this->itemChange(change, value); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { this->mouseReleaseEvent(event); } +inline QGraphicsProxyWidget* promoted_newProxyWidget(const QWidget* arg__1) { return this->newProxyWidget(arg__1); } +inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return this->sizeHint(which, constraint); } +inline void promoted_ungrabMouseEvent(QEvent* event) { this->ungrabMouseEvent(event); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { this->wheelEvent(event); } +inline void py_q_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsProxyWidget::contextMenuEvent(event); } +inline void py_q_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragEnterEvent(event); } +inline void py_q_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragLeaveEvent(event); } +inline void py_q_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dragMoveEvent(event); } +inline void py_q_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsProxyWidget::dropEvent(event); } +inline bool py_q_event(QEvent* event) { return QGraphicsProxyWidget::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QGraphicsProxyWidget::eventFilter(object, event); } +inline void py_q_focusInEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QGraphicsProxyWidget::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QGraphicsProxyWidget::focusOutEvent(event); } +inline void py_q_grabMouseEvent(QEvent* event) { QGraphicsProxyWidget::grabMouseEvent(event); } +inline void py_q_hideEvent(QHideEvent* event) { QGraphicsProxyWidget::hideEvent(event); } +inline void py_q_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverEnterEvent(event); } +inline void py_q_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverLeaveEvent(event); } +inline void py_q_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsProxyWidget::hoverMoveEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* event) { QGraphicsProxyWidget::inputMethodEvent(event); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsProxyWidget::inputMethodQuery(query); } +inline QVariant py_q_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsProxyWidget::itemChange(change, value); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QGraphicsProxyWidget::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsProxyWidget::mouseReleaseEvent(event); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { QGraphicsProxyWidget::paint(painter, option, widget); } +inline void py_q_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsProxyWidget::resizeEvent(event); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsProxyWidget::setGeometry(rect); } +inline void py_q_showEvent(QShowEvent* event) { QGraphicsProxyWidget::showEvent(event); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsProxyWidget::sizeHint(which, constraint); } +inline int py_q_type() const { return QGraphicsProxyWidget::type(); } +inline void py_q_ungrabMouseEvent(QEvent* event) { QGraphicsProxyWidget::ungrabMouseEvent(event); } +inline void py_q_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsProxyWidget::wheelEvent(event); } +}; + +class PythonQtWrapper_QGraphicsProxyWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsProxyWidget::Type}; +public slots: +QGraphicsProxyWidget* new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); +void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } + void py_q_contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_contextMenuEvent(event));} + QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); + void py_q_dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} + void py_q_dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragLeaveEvent(event));} + void py_q_dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragMoveEvent(event));} + void py_q_dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dropEvent(event));} + bool py_q_event(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_eventFilter(object, event));} + void py_q_focusInEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusInEvent(event));} + bool py_q_focusNextPrevChild(QGraphicsProxyWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QGraphicsProxyWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_focusOutEvent(event));} + void py_q_grabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_grabMouseEvent(event));} + void py_q_hideEvent(QGraphicsProxyWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hideEvent(event));} + void py_q_hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverEnterEvent(event));} + void py_q_hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} + void py_q_hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} + void py_q_inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodEvent(event));} + QVariant py_q_inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodQuery(query));} + QVariant py_q_itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_itemChange(change, value));} + void py_q_keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyPressEvent(event));} + void py_q_keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} + void py_q_mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void py_q_mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + void py_q_paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} + void py_q_resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_resizeEvent(event));} + void py_q_setGeometry(QGraphicsProxyWidget* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_setGeometry(rect));} + void setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void py_q_showEvent(QGraphicsProxyWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_showEvent(event));} + QSizeF py_q_sizeHint(QGraphicsProxyWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_sizeHint(which, constraint));} + QRectF subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const; + int py_q_type(QGraphicsProxyWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_type());} + void py_q_ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} + void py_q_wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_wheelEvent(event));} + QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem +{ +public: + PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = nullptr):QGraphicsRectItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsRectItem(rect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsRectItem(x, y, w, h, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsRectItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsRectItem : public QGraphicsRectItem +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsRectItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsRectItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsRectItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsRectItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsRectItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsRectItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsRectItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsRectItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsRectItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsRectItem::type(); } +}; + +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 = nullptr); +QGraphicsRectItem* new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr); +QGraphicsRectItem* new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr); +void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; } + QRectF py_q_boundingRect(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_contains(point));} + QVariant py_q_extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_extension(variant));} + bool py_q_isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_isObscuredBy(item));} + QPainterPath py_q_opaqueArea(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_opaqueArea());} + void py_q_paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + QRectF rect(QGraphicsRectItem* theWrappedObject) const; + void py_q_setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_setExtension(extension, variant));} + void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect); + void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + QPainterPath py_q_shape(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QGraphicsRotation : public QGraphicsRotation +{ +public: + PythonQtShell_QGraphicsRotation(QObject* parent = nullptr):QGraphicsRotation(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsRotation() override; + +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsRotation : public QGraphicsRotation +{ public: +inline void py_q_applyTo(QMatrix4x4* matrix) const { QGraphicsRotation::applyTo(matrix); } +}; + +class PythonQtWrapper_QGraphicsRotation : public QObject +{ Q_OBJECT +public: +public slots: +QGraphicsRotation* new_QGraphicsRotation(QObject* parent = nullptr); +void delete_QGraphicsRotation(QGraphicsRotation* obj) { delete obj; } + qreal angle(QGraphicsRotation* theWrappedObject) const; + void py_q_applyTo(QGraphicsRotation* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsRotation*)theWrappedObject)->py_q_applyTo(matrix));} + QVector3D axis(QGraphicsRotation* theWrappedObject) const; + QVector3D origin(QGraphicsRotation* theWrappedObject) const; + void setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1); + void setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis); + void setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis); + void setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point); +}; + + + + + class PythonQtShell_QGraphicsScale : public QGraphicsScale { public: - PythonQtShell_QGraphicsScale(QObject* parent = nullptr):QGraphicsScale(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsScale(QObject* parent = nullptr):QGraphicsScale(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsScale(); + ~PythonQtShell_QGraphicsScale() override; -virtual void applyTo(QMatrix4x4* matrix) const; +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScale : public QGraphicsScale @@ -88,7 +636,7 @@ class PythonQtWrapper_QGraphicsScale : public QObject public: public slots: QGraphicsScale* new_QGraphicsScale(QObject* parent = nullptr); -void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } +void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } void py_q_applyTo(QGraphicsScale* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsScale*)theWrappedObject)->py_q_applyTo(matrix));} QVector3D origin(QGraphicsScale* theWrappedObject) const; void setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point); @@ -107,38 +655,41 @@ void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } class PythonQtShell_QGraphicsScene : public QGraphicsScene { public: - PythonQtShell_QGraphicsScene(QObject* parent = nullptr):QGraphicsScene(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr):QGraphicsScene(sceneRect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr):QGraphicsScene(x, y, width, height, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsScene(); - -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -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 = nullptr); -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 wheelEvent(QGraphicsSceneWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsScene(QObject* parent = nullptr):QGraphicsScene(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr):QGraphicsScene(sceneRect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr):QGraphicsScene(x, y, width, height, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsScene() override; + +void childEvent(QChildEvent* event) override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void drawBackground(QPainter* painter, const QRectF& rect) override; +void drawForeground(QPainter* painter, const QRectF& rect) override; +void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void helpEvent(QGraphicsSceneHelpEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScene : public QGraphicsScene @@ -201,7 +752,7 @@ public slots: QGraphicsScene* new_QGraphicsScene(QObject* parent = nullptr); QGraphicsScene* new_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr); QGraphicsScene* new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr); -void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } +void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } QGraphicsItem* activePanel(QGraphicsScene* theWrappedObject) const; QGraphicsWidget* activeWindow(QGraphicsScene* theWrappedObject) const; QGraphicsEllipseItem* addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen = QPen(), const QBrush& brush = QBrush()); @@ -239,9 +790,7 @@ void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } void py_q_drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_drawItems(painter, numItems, items, options, widget));} void dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_dropEvent(event));} - bool event(QGraphicsScene* theWrappedObject, QEvent* event); bool py_q_event(QGraphicsScene* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_event(event));} - bool eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event); bool py_q_eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_eventFilter(watched, event));} void focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_focusInEvent(event));} @@ -333,7 +882,8 @@ Q_ENUMS(Reason ) enum Reason{ Mouse = QGraphicsSceneContextMenuEvent::Mouse, Keyboard = QGraphicsSceneContextMenuEvent::Keyboard, Other = QGraphicsSceneContextMenuEvent::Other}; public slots: -void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } +QGraphicsSceneContextMenuEvent* new_QGraphicsSceneContextMenuEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } Qt::KeyboardModifiers modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const; QPointF pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const; QGraphicsSceneContextMenuEvent::Reason reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const; @@ -354,7 +904,8 @@ class PythonQtWrapper_QGraphicsSceneDragDropEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneDragDropEvent(QGraphicsSceneDragDropEvent* obj) { delete obj; } +QGraphicsSceneDragDropEvent* new_QGraphicsSceneDragDropEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneDragDropEvent(QGraphicsSceneDragDropEvent* obj) { delete obj; } void acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject); Qt::MouseButtons buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const; Qt::DropAction dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const; @@ -384,7 +935,8 @@ class PythonQtWrapper_QGraphicsSceneEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } +QGraphicsSceneEvent* new_QGraphicsSceneEvent(QEvent::Type type); +void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } QWidget* widget(QGraphicsSceneEvent* theWrappedObject) const; QString py_toString(QGraphicsSceneEvent*); }; @@ -397,7 +949,8 @@ class PythonQtWrapper_QGraphicsSceneHelpEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneHelpEvent(QGraphicsSceneHelpEvent* obj) { delete obj; } +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); @@ -412,7 +965,8 @@ class PythonQtWrapper_QGraphicsSceneHoverEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } +QGraphicsSceneHoverEvent* new_QGraphicsSceneHoverEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } QPointF lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const; QPointF lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const; QPoint lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const; @@ -437,7 +991,8 @@ class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } +QGraphicsSceneMouseEvent* new_QGraphicsSceneMouseEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } Qt::MouseButton button(QGraphicsSceneMouseEvent* theWrappedObject) const; QPointF buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; QPointF buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const; @@ -476,7 +1031,8 @@ class PythonQtWrapper_QGraphicsSceneMoveEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } +QGraphicsSceneMoveEvent* new_QGraphicsSceneMoveEvent(); +void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } QPointF newPos(QGraphicsSceneMoveEvent* theWrappedObject) const; QPointF oldPos(QGraphicsSceneMoveEvent* theWrappedObject) const; void setNewPos(QGraphicsSceneMoveEvent* theWrappedObject, const QPointF& pos); @@ -491,7 +1047,8 @@ class PythonQtWrapper_QGraphicsSceneResizeEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } +QGraphicsSceneResizeEvent* new_QGraphicsSceneResizeEvent(); +void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } QSizeF newSize(QGraphicsSceneResizeEvent* theWrappedObject) const; QSizeF oldSize(QGraphicsSceneResizeEvent* theWrappedObject) const; void setNewSize(QGraphicsSceneResizeEvent* theWrappedObject, const QSizeF& size); @@ -506,7 +1063,8 @@ class PythonQtWrapper_QGraphicsSceneWheelEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } +QGraphicsSceneWheelEvent* new_QGraphicsSceneWheelEvent(QEvent::Type type = QEvent::None); +void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } Qt::MouseButtons buttons(QGraphicsSceneWheelEvent* theWrappedObject) const; int delta(QGraphicsSceneWheelEvent* theWrappedObject) const; Qt::KeyboardModifiers modifiers(QGraphicsSceneWheelEvent* theWrappedObject) const; @@ -530,23 +1088,48 @@ void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj class PythonQtShell_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem { public: - PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsSimpleTextItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsSimpleTextItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem @@ -575,28 +1158,20 @@ enum enum_1{ public slots: QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr); QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr); -void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const; +void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_extension(variant));} QFont font(QGraphicsSimpleTextItem* theWrappedObject) const; bool py_q_isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); void py_q_paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - void setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font); void setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text); - QPainterPath shape(QGraphicsSimpleTextItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} QString text(QGraphicsSimpleTextItem* theWrappedObject) const; - int type(QGraphicsSimpleTextItem* theWrappedObject) const; int py_q_type(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_type());} }; @@ -607,44 +1182,55 @@ void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem { public: - PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = nullptr):QGraphicsTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsTextItem(); - -virtual QRectF boundingRect() 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 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 void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = nullptr):QGraphicsTextItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsTextItem(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsTextItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTextItem : public QGraphicsTextItem @@ -711,65 +1297,39 @@ enum enum_1{ public slots: QGraphicsTextItem* new_QGraphicsTextItem(QGraphicsItem* parent = nullptr); QGraphicsTextItem* new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr); -void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } +void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } void adjustSize(QGraphicsTextItem* theWrappedObject); - QRectF boundingRect(QGraphicsTextItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contains(point));} - void contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); void py_q_contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contextMenuEvent(event));} QColor defaultTextColor(QGraphicsTextItem* theWrappedObject) const; QTextDocument* document(QGraphicsTextItem* theWrappedObject) const; - void dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dropEvent(event));} - QVariant extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_extension(variant));} - void focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusInEvent(event));} - void focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusOutEvent(event));} QFont font(QGraphicsTextItem* theWrappedObject) const; - void hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} - void hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event); void py_q_inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const; QVariant py_q_inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodQuery(query));} - bool isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const; bool py_q_isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} - void keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} - QPainterPath opaqueArea(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_opaqueArea(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_opaqueArea());} bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; - void paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); void py_q_paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - bool sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_sceneEvent(event));} void setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c); void setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document); - void setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFont(QGraphicsTextItem* theWrappedObject, const QFont& font); void setHtml(QGraphicsTextItem* theWrappedObject, const QString& html); @@ -779,9 +1339,7 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } void setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor); void setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags); void setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width); - QPainterPath shape(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} bool tabChangesFocus(QGraphicsTextItem* theWrappedObject) const; QTextCursor textCursor(QGraphicsTextItem* theWrappedObject) const; @@ -789,7 +1347,6 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } qreal textWidth(QGraphicsTextItem* theWrappedObject) const; QString toHtml(QGraphicsTextItem* theWrappedObject) const; QString toPlainText(QGraphicsTextItem* theWrappedObject) const; - int type(QGraphicsTextItem* theWrappedObject) const; int py_q_type(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_type());} }; @@ -800,15 +1357,20 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } class PythonQtShell_QGraphicsTransform : public QGraphicsTransform { public: - PythonQtShell_QGraphicsTransform(QObject* parent = nullptr):QGraphicsTransform(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsTransform(QObject* parent = nullptr):QGraphicsTransform(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsTransform(); + ~PythonQtShell_QGraphicsTransform() override; -virtual void applyTo(QMatrix4x4* matrix) const; +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTransform : public QGraphicsTransform @@ -822,7 +1384,7 @@ class PythonQtWrapper_QGraphicsTransform : public QObject public: public slots: QGraphicsTransform* new_QGraphicsTransform(QObject* parent = nullptr); -void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } +void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } void applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const; void py_q_applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsTransform*)theWrappedObject)->py_q_applyTo(matrix));} }; @@ -834,64 +1396,67 @@ void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } class PythonQtShell_QGraphicsView : public QGraphicsView { public: - PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr):QGraphicsView(scene, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsView(QWidget* parent = nullptr):QGraphicsView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -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* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* widget); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr):QGraphicsView(scene, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsView(QWidget* parent = nullptr):QGraphicsView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBackground(QPainter* painter, const QRectF& rect) override; +void drawForeground(QPainter* painter, const QRectF& rect) override; +void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* widget) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsView : public QGraphicsView @@ -966,7 +1531,7 @@ Q_DECLARE_FLAGS(OptimizationFlags, OptimizationFlag) public slots: QGraphicsView* new_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr); QGraphicsView* new_QGraphicsView(QWidget* parent = nullptr); -void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } +void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } Qt::Alignment alignment(QGraphicsView* theWrappedObject) const; QBrush backgroundBrush(QGraphicsView* theWrappedObject) const; QGraphicsView::CacheMode cacheMode(QGraphicsView* theWrappedObject) const; @@ -1083,46 +1648,75 @@ void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } class PythonQtShell_QGraphicsWidget : public QGraphicsWidget { public: - PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsWidget(parent, wFlags),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsWidget(); - -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual bool event(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 = nullptr); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -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 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; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsWidget(parent, wFlags),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsWidget() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void grabKeyboardEvent(QEvent* event) override; +void grabMouseEvent(QEvent* event) override; +void hideEvent(QHideEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void initStyleOption(QStyleOption* option) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void moveEvent(QGraphicsSceneMoveEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void polishEvent() override; +QVariant propertyChange(const QString& propertyName, const QVariant& value) override; +void resizeEvent(QGraphicsSceneResizeEvent* event) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +void setGeometry(const QRectF& rect) override; +QPainterPath shape() const override; +void showEvent(QShowEvent* event) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void ungrabKeyboardEvent(QEvent* event) override; +void ungrabMouseEvent(QEvent* event) override; +void updateGeometry() override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; +bool windowFrameEvent(QEvent* e) override; +Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsWidget : public QGraphicsWidget @@ -1194,30 +1788,25 @@ enum enum_1{ Type = QGraphicsWidget::Type}; public slots: QGraphicsWidget* new_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); -void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } +void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } QList actions(QGraphicsWidget* theWrappedObject) const; void addAction(QGraphicsWidget* theWrappedObject, QAction* action); void addActions(QGraphicsWidget* theWrappedObject, QList actions); void adjustSize(QGraphicsWidget* theWrappedObject); bool autoFillBackground(QGraphicsWidget* theWrappedObject) const; - QRectF boundingRect(QGraphicsWidget* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_boundingRect());} void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_changeEvent(event));} void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event); void py_q_closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_closeEvent(event));} - bool event(QGraphicsWidget* theWrappedObject, QEvent* event); bool py_q_event(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_event(event));} - void focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusInEvent(event));} bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next); bool py_q_focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusOutEvent(event));} Qt::FocusPolicy focusPolicy(QGraphicsWidget* theWrappedObject) const; QGraphicsWidget* focusWidget(QGraphicsWidget* theWrappedObject) const; QFont font(QGraphicsWidget* theWrappedObject) const; - void getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; void py_q_getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const{ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_getContentsMargins(left, top, right, bottom));} void getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const; void grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); @@ -1227,22 +1816,18 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } int grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context = Qt::WindowShortcut); void hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event); void py_q_hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hideEvent(event));} - void hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} void initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const; void py_q_initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const{ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_initStyleOption(option));} void insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action); void insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions); bool isActiveWindow(QGraphicsWidget* theWrappedObject) const; - QVariant itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_itemChange(change, value));} QGraphicsLayout* layout(QGraphicsWidget* theWrappedObject) const; Qt::LayoutDirection layoutDirection(QGraphicsWidget* theWrappedObject) const; void moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event); void py_q_moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_moveEvent(event));} - void paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} void paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paintWindowFrame(painter, option, widget));} @@ -1258,7 +1843,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h); void resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); void py_q_resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_resizeEvent(event));} - bool sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_sceneEvent(event));} void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true); void setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled); @@ -1266,7 +1850,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); void setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy); void setFont(QGraphicsWidget* theWrappedObject, const QFont& font); - void setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_setGeometry(rect));} void setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h); void setLayout(QGraphicsWidget* theWrappedObject, PythonQtPassOwnershipToCPP layout); @@ -1280,16 +1863,13 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins); void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); void setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title); - QPainterPath shape(QGraphicsWidget* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_shape());} void showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event); void py_q_showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_showEvent(event));} QSizeF size(QGraphicsWidget* theWrappedObject) const; - QSizeF sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_sizeHint(which, constraint));} QStyle* style(QGraphicsWidget* theWrappedObject) const; bool testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const; - int type(QGraphicsWidget* theWrappedObject) const; int py_q_type(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_type());} void ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabKeyboardEvent(event));} @@ -1297,7 +1877,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void py_q_ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} void unsetLayoutDirection(QGraphicsWidget* theWrappedObject); void unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject); - void updateGeometry(QGraphicsWidget* theWrappedObject); void py_q_updateGeometry(QGraphicsWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_updateGeometry());} Qt::WindowFlags windowFlags(QGraphicsWidget* theWrappedObject) const; bool windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e); @@ -1317,28 +1896,40 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } class PythonQtShell_QGridLayout : public QGridLayout { public: - PythonQtShell_QGridLayout():QGridLayout(),_wrapper(NULL) {}; - PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGridLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int index) const; -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 QLayoutItem* takeAt(int index); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGridLayout():QGridLayout(),_wrapper(nullptr) {}; + PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGridLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int index) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int index) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGridLayout : public QGridLayout @@ -1365,35 +1956,27 @@ class PythonQtWrapper_QGridLayout : public QObject public slots: QGridLayout* new_QGridLayout(); QGridLayout* new_QGridLayout(QWidget* parent); -void delete_QGridLayout(QGridLayout* obj) { delete obj; } - void addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1); +void delete_QGridLayout(QGridLayout* obj) { delete obj; } void py_q_addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_addItem(arg__1));} void addItem(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment arg__6 = Qt::Alignment()); + void addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4 = Qt::Alignment()); + void addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = Qt::Alignment()); void addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4 = Qt::Alignment()); void addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6 = Qt::Alignment()); QRect cellRect(QGridLayout* theWrappedObject, int row, int column) const; int columnCount(QGridLayout* theWrappedObject) const; int columnMinimumWidth(QGridLayout* theWrappedObject, int column) const; int columnStretch(QGridLayout* theWrappedObject, int column) const; - int count(QGridLayout* theWrappedObject) const; int py_q_count(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_count());} - Qt::Orientations expandingDirections(QGridLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QGridLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} int horizontalSpacing(QGridLayout* theWrappedObject) const; - void invalidate(QGridLayout* theWrappedObject); void py_q_invalidate(QGridLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QGridLayout* theWrappedObject, int index) const; QLayoutItem* py_q_itemAt(QGridLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_itemAt(index));} QLayoutItem* itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const; - QSize maximumSize(QGridLayout* theWrappedObject) const; QSize py_q_maximumSize(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} - QSize minimumSize(QGridLayout* theWrappedObject) const; QSize py_q_minimumSize(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_minimumSize());} Qt::Corner originCorner(QGridLayout* theWrappedObject) const; int rowCount(QGridLayout* theWrappedObject) const; @@ -1402,7 +1985,6 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } void setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize); void setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch); void setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient); - void setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1); void py_q_setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_setGeometry(arg__1));} void setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing); void setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1); @@ -1410,12 +1992,11 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } void setRowStretch(QGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGridLayout* theWrappedObject, int spacing); void setVerticalSpacing(QGridLayout* theWrappedObject, int spacing); - QSize sizeHint(QGridLayout* theWrappedObject) const; QSize py_q_sizeHint(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QGridLayout* theWrappedObject) const; - QLayoutItem* takeAt(QGridLayout* theWrappedObject, int index); QLayoutItem* py_q_takeAt(QGridLayout* theWrappedObject, int index){ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_takeAt(index));} int verticalSpacing(QGridLayout* theWrappedObject) const; + bool __nonzero__(QGridLayout* obj) { return !obj->isEmpty(); } }; @@ -1425,57 +2006,60 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } class PythonQtShell_QGroupBox : public QGroupBox { public: - PythonQtShell_QGroupBox(QWidget* parent = nullptr):QGroupBox(parent),_wrapper(NULL) {}; - PythonQtShell_QGroupBox(const QString& title, QWidget* parent = nullptr):QGroupBox(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGroupBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGroupBox(QWidget* parent = nullptr):QGroupBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QGroupBox(const QString& title, QWidget* parent = nullptr):QGroupBox(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGroupBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGroupBox : public QGroupBox @@ -1508,10 +2092,9 @@ class PythonQtWrapper_QGroupBox : public QObject public slots: QGroupBox* new_QGroupBox(QWidget* parent = nullptr); QGroupBox* new_QGroupBox(const QString& title, QWidget* parent = nullptr); -void delete_QGroupBox(QGroupBox* obj) { delete obj; } +void delete_QGroupBox(QGroupBox* obj) { delete obj; } Qt::Alignment alignment(QGroupBox* theWrappedObject) const; void py_q_changeEvent(QGroupBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_changeEvent(event));} - void childEvent(QGroupBox* theWrappedObject, QChildEvent* event); void py_q_childEvent(QGroupBox* theWrappedObject, QChildEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_childEvent(event));} bool py_q_event(QGroupBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_event(event));} void py_q_focusInEvent(QGroupBox* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_focusInEvent(event));} @@ -1548,11 +2131,12 @@ class PythonQtWrapper_QGuiApplication : public QObject { Q_OBJECT public: public slots: -void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } +void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } QList static_QGuiApplication_allWindows(); QString static_QGuiApplication_applicationDisplayName(); Qt::ApplicationState static_QGuiApplication_applicationState(); void static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1); + QClipboard* static_QGuiApplication_clipboard(); QString static_QGuiApplication_desktopFileName(); bool static_QGuiApplication_desktopSettingsAware(); qreal devicePixelRatio(QGuiApplication* theWrappedObject) const; @@ -1575,9 +2159,12 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } QCursor* static_QGuiApplication_overrideCursor(); QPalette static_QGuiApplication_palette(); QString static_QGuiApplication_platformName(); + QScreen* static_QGuiApplication_primaryScreen(); Qt::KeyboardModifiers static_QGuiApplication_queryKeyboardModifiers(); bool static_QGuiApplication_quitOnLastWindowClosed(); void static_QGuiApplication_restoreOverrideCursor(); + QScreen* static_QGuiApplication_screenAt(const QPoint& point); + QList static_QGuiApplication_screens(); QString sessionId(QGuiApplication* theWrappedObject) const; QString sessionKey(QGuiApplication* theWrappedObject) const; void static_QGuiApplication_setApplicationDisplayName(const QString& name); @@ -1604,28 +2191,40 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } class PythonQtShell_QHBoxLayout : public QHBoxLayout { public: - PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int arg__1) const; -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 QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(nullptr) {}; + PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHBoxLayout : public QObject @@ -1634,7 +2233,8 @@ class PythonQtWrapper_QHBoxLayout : public QObject public slots: QHBoxLayout* new_QHBoxLayout(); QHBoxLayout* new_QHBoxLayout(QWidget* parent); -void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } +void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } + bool __nonzero__(QHBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -1644,101 +2244,103 @@ void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } class PythonQtShell_QHeaderView : public QHeaderView { public: - PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr):QHeaderView(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHeaderView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& old); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const; -virtual QPaintDevice* redirected(QPoint* offset) 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 = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool v); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr):QHeaderView(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHeaderView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& old) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) override; +QSize sectionSizeFromContents(int logicalIndex) const override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool v) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* e) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QHeaderView : public QHeaderView @@ -1809,7 +2411,7 @@ class PythonQtWrapper_QHeaderView : public QObject public: public slots: QHeaderView* new_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QHeaderView(QHeaderView* obj) { delete obj; } +void delete_QHeaderView(QHeaderView* obj) { delete obj; } bool cascadingSectionResizes(QHeaderView* theWrappedObject) const; int count(QHeaderView* theWrappedObject) const; void py_q_currentChanged(QHeaderView* theWrappedObject, const QModelIndex& current, const QModelIndex& old){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_currentChanged(current, old));} @@ -1914,7 +2516,7 @@ class PythonQtWrapper_QHelpEvent : public QObject public: public slots: QHelpEvent* new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos); -void delete_QHelpEvent(QHelpEvent* obj) { delete obj; } +void delete_QHelpEvent(QHelpEvent* obj) { delete obj; } const QPoint* globalPos(QHelpEvent* theWrappedObject) const; int globalX(QHelpEvent* theWrappedObject) const; int globalY(QHelpEvent* theWrappedObject) const; @@ -1932,7 +2534,7 @@ class PythonQtWrapper_QHideEvent : public QObject public: public slots: QHideEvent* new_QHideEvent(); -void delete_QHideEvent(QHideEvent* obj) { delete obj; } +void delete_QHideEvent(QHideEvent* obj) { delete obj; } }; @@ -1942,12 +2544,12 @@ void delete_QHideEvent(QHideEvent* obj) { delete obj; } class PythonQtShell_QHoverEvent : public QHoverEvent { public: - PythonQtShell_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QHoverEvent(type, pos, oldPos, modifiers),_wrapper(NULL) {}; + PythonQtShell_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QHoverEvent(type, pos, oldPos, modifiers),_wrapper(nullptr) {}; - ~PythonQtShell_QHoverEvent(); + ~PythonQtShell_QHoverEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHoverEvent : public QObject @@ -1955,7 +2557,7 @@ class PythonQtWrapper_QHoverEvent : public QObject public: public slots: QHoverEvent* new_QHoverEvent(QEvent::Type type, const QPointF& pos, const QPointF& oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier); -void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } +void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } QPoint oldPos(QHoverEvent* theWrappedObject) const; const QPointF* oldPosF(QHoverEvent* theWrappedObject) const; QPoint pos(QHoverEvent* theWrappedObject) const; @@ -1971,329 +2573,7 @@ class PythonQtWrapper_QIconDragEvent : public QObject public: public slots: QIconDragEvent* new_QIconDragEvent(); -void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QIconEngine : public QIconEngine -{ -public: - PythonQtShell_QIconEngine():QIconEngine(),_wrapper(NULL) {}; - PythonQtShell_QIconEngine(const QIconEngine& other):QIconEngine(other),_wrapper(NULL) {}; - - ~PythonQtShell_QIconEngine(); - -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 QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; -virtual QIconEngine* clone() const; -virtual QString iconName() const; -virtual QString key() const; -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); -virtual bool read(QDataStream& in); -virtual void virtual_hook(int id, void* data); -virtual bool write(QDataStream& out) const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QIconEngine : public QIconEngine -{ public: -inline QSize py_q_actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::actualSize(size, mode, state); } -inline void py_q_addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) { QIconEngine::addFile(fileName, size, mode, state); } -inline void py_q_addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) { QIconEngine::addPixmap(pixmap, mode, state); } -inline QList py_q_availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const { return QIconEngine::availableSizes(mode, state); } -inline QIconEngine* py_q_clone() const { return this->clone(); } -inline QString py_q_iconName() const { return QIconEngine::iconName(); } -inline QString py_q_key() const { return QIconEngine::key(); } -inline void py_q_paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) { this->paint(painter, rect, mode, state); } -inline QPixmap py_q_pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::pixmap(size, mode, state); } -inline bool py_q_read(QDataStream& in) { return QIconEngine::read(in); } -inline void py_q_virtual_hook(int id, void* data) { QIconEngine::virtual_hook(id, data); } -inline bool py_q_write(QDataStream& out) const { return QIconEngine::write(out); } -}; - -class PythonQtWrapper_QIconEngine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(IconEngineHook ) -enum IconEngineHook{ - AvailableSizesHook = QIconEngine::AvailableSizesHook, IconNameHook = QIconEngine::IconNameHook, IsNullHook = QIconEngine::IsNullHook, ScaledPixmapHook = QIconEngine::ScaledPixmapHook}; -public slots: -QIconEngine* new_QIconEngine(); -QIconEngine* new_QIconEngine(const QIconEngine& other); -void delete_QIconEngine(QIconEngine* obj) { delete obj; } - QSize actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); - QSize py_q_actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_actualSize(size, mode, state));} - void addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); - void py_q_addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_addFile(fileName, size, mode, state));} - void addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); - void py_q_addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_addPixmap(pixmap, mode, state));} - QList availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; - QList py_q_availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_availableSizes(mode, state));} - QIconEngine* clone(QIconEngine* theWrappedObject) const; - QIconEngine* py_q_clone(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_clone());} - QString iconName(QIconEngine* theWrappedObject) const; - QString py_q_iconName(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_iconName());} - bool isNull(QIconEngine* theWrappedObject) const; - QString key(QIconEngine* theWrappedObject) const; - QString py_q_key(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_key());} - void paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); - void py_q_paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_paint(painter, rect, mode, state));} - QPixmap pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); - QPixmap py_q_pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_pixmap(size, mode, state));} - bool read(QIconEngine* theWrappedObject, QDataStream& in); - bool py_q_read(QIconEngine* theWrappedObject, QDataStream& in){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_read(in));} - QPixmap scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale); - void virtual_hook(QIconEngine* theWrappedObject, int id, void* data); - void py_q_virtual_hook(QIconEngine* theWrappedObject, int id, void* data){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_virtual_hook(id, data));} - bool write(QIconEngine* theWrappedObject, QDataStream& out) const; - bool py_q_write(QIconEngine* theWrappedObject, QDataStream& out) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_write(out));} - bool __nonzero__(QIconEngine* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QImageIOHandler : public QImageIOHandler -{ -public: - PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(NULL) {}; - - ~PythonQtShell_QImageIOHandler(); - -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 py_q_canRead() const { return this->canRead(); } -inline int py_q_currentImageNumber() const { return QImageIOHandler::currentImageNumber(); } -inline QRect py_q_currentImageRect() const { return QImageIOHandler::currentImageRect(); } -inline int py_q_imageCount() const { return QImageIOHandler::imageCount(); } -inline bool py_q_jumpToImage(int imageNumber) { return QImageIOHandler::jumpToImage(imageNumber); } -inline bool py_q_jumpToNextImage() { return QImageIOHandler::jumpToNextImage(); } -inline int py_q_loopCount() const { return QImageIOHandler::loopCount(); } -inline int py_q_nextImageDelay() const { return QImageIOHandler::nextImageDelay(); } -inline QVariant py_q_option(QImageIOHandler::ImageOption option) const { return QImageIOHandler::option(option); } -inline bool py_q_read(QImage* image) { return this->read(image); } -inline void py_q_setOption(QImageIOHandler::ImageOption option, const QVariant& value) { QImageIOHandler::setOption(option, value); } -inline bool py_q_supportsOption(QImageIOHandler::ImageOption option) const { return QImageIOHandler::supportsOption(option); } -inline bool py_q_write(const QImage& image) { return QImageIOHandler::write(image); } -}; - -class PythonQtWrapper_QImageIOHandler : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ImageOption Transformation ) -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, ImageFormat = QImageIOHandler::ImageFormat, SupportedSubTypes = QImageIOHandler::SupportedSubTypes, OptimizedWrite = QImageIOHandler::OptimizedWrite, ProgressiveScanWrite = QImageIOHandler::ProgressiveScanWrite, ImageTransformation = QImageIOHandler::ImageTransformation, TransformedByDefault = QImageIOHandler::TransformedByDefault}; -enum Transformation{ - TransformationNone = QImageIOHandler::TransformationNone, TransformationMirror = QImageIOHandler::TransformationMirror, TransformationFlip = QImageIOHandler::TransformationFlip, TransformationRotate180 = QImageIOHandler::TransformationRotate180, TransformationRotate90 = QImageIOHandler::TransformationRotate90, TransformationMirrorAndRotate90 = QImageIOHandler::TransformationMirrorAndRotate90, TransformationFlipAndRotate90 = QImageIOHandler::TransformationFlipAndRotate90, TransformationRotate270 = QImageIOHandler::TransformationRotate270}; -public slots: -QImageIOHandler* new_QImageIOHandler(); -void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } - bool canRead(QImageIOHandler* theWrappedObject) const; - bool py_q_canRead(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_canRead());} - int currentImageNumber(QImageIOHandler* theWrappedObject) const; - int py_q_currentImageNumber(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_currentImageNumber());} - QRect currentImageRect(QImageIOHandler* theWrappedObject) const; - QRect py_q_currentImageRect(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_currentImageRect());} - QIODevice* device(QImageIOHandler* theWrappedObject) const; - QByteArray format(QImageIOHandler* theWrappedObject) const; - int imageCount(QImageIOHandler* theWrappedObject) const; - int py_q_imageCount(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_imageCount());} - bool jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber); - bool py_q_jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_jumpToImage(imageNumber));} - bool jumpToNextImage(QImageIOHandler* theWrappedObject); - bool py_q_jumpToNextImage(QImageIOHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_jumpToNextImage());} - int loopCount(QImageIOHandler* theWrappedObject) const; - int py_q_loopCount(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_loopCount());} - int nextImageDelay(QImageIOHandler* theWrappedObject) const; - int py_q_nextImageDelay(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_nextImageDelay());} - QVariant option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; - QVariant py_q_option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_option(option));} - bool read(QImageIOHandler* theWrappedObject, QImage* image); - bool py_q_read(QImageIOHandler* theWrappedObject, QImage* image){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_read(image));} - void setDevice(QImageIOHandler* theWrappedObject, QIODevice* device); - void setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format); - void setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value); - void py_q_setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value){ (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_setOption(option, value));} - bool supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; - bool py_q_supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_supportsOption(option));} - bool write(QImageIOHandler* theWrappedObject, const QImage& image); - bool py_q_write(QImageIOHandler* theWrappedObject, const QImage& image){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_write(image));} -}; - - - - - -class PythonQtShell_QImageIOPlugin : public QImageIOPlugin -{ -public: - PythonQtShell_QImageIOPlugin(QObject* parent = nullptr):QImageIOPlugin(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QImageIOPlugin(); - -virtual QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const; -virtual QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QImageIOPlugin : public QImageIOPlugin -{ public: -inline QImageIOPlugin::Capabilities py_q_capabilities(QIODevice* device, const QByteArray& format) const { return this->capabilities(device, format); } -inline QImageIOHandler* py_q_create(QIODevice* device, const QByteArray& format = QByteArray()) const { return this->create(device, format); } -}; - -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 = nullptr); -void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } - QImageIOPlugin::Capabilities capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const; - QImageIOPlugin::Capabilities py_q_capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const{ return (((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->py_q_capabilities(device, format));} - QImageIOHandler* create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const; - QImageIOHandler* py_q_create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const{ return (((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->py_q_create(device, format));} -}; - - - - - -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: -void delete_QImageReader(QImageReader* obj) { delete obj; } - bool autoDetectImageFormat(QImageReader* theWrappedObject) const; - bool autoTransform(QImageReader* theWrappedObject) const; - QColor backgroundColor(QImageReader* theWrappedObject) const; - bool canRead(QImageReader* theWrappedObject) const; - QRect clipRect(QImageReader* theWrappedObject) const; - int currentImageNumber(QImageReader* theWrappedObject) const; - QRect currentImageRect(QImageReader* theWrappedObject) const; - bool decideFormatFromContent(QImageReader* theWrappedObject) const; - QIODevice* device(QImageReader* theWrappedObject) const; - QImageReader::ImageReaderError error(QImageReader* theWrappedObject) const; - QString errorString(QImageReader* theWrappedObject) const; - QString fileName(QImageReader* theWrappedObject) const; - QByteArray format(QImageReader* theWrappedObject) const; - float gamma(QImageReader* theWrappedObject) const; - int imageCount(QImageReader* theWrappedObject) const; - QImage::Format imageFormat(QImageReader* theWrappedObject) const; - QByteArray static_QImageReader_imageFormat(QIODevice* device); - QByteArray static_QImageReader_imageFormat(const QString& fileName); - QList static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType); - bool jumpToImage(QImageReader* theWrappedObject, int imageNumber); - bool jumpToNextImage(QImageReader* theWrappedObject); - int loopCount(QImageReader* theWrappedObject) const; - int nextImageDelay(QImageReader* theWrappedObject) const; - int quality(QImageReader* theWrappedObject) const; - QImage read(QImageReader* theWrappedObject); - QRect scaledClipRect(QImageReader* theWrappedObject) const; - QSize scaledSize(QImageReader* theWrappedObject) const; - void setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled); - void setAutoTransform(QImageReader* theWrappedObject, bool enabled); - void setBackgroundColor(QImageReader* theWrappedObject, const QColor& color); - void setClipRect(QImageReader* theWrappedObject, const QRect& rect); - void setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored); - void setDevice(QImageReader* theWrappedObject, QIODevice* device); - void setFileName(QImageReader* theWrappedObject, const QString& fileName); - void setFormat(QImageReader* theWrappedObject, const QByteArray& format); - void setGamma(QImageReader* theWrappedObject, float gamma); - void setQuality(QImageReader* theWrappedObject, int quality); - void setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect); - void setScaledSize(QImageReader* theWrappedObject, const QSize& size); - QSize size(QImageReader* theWrappedObject) const; - QByteArray subType(QImageReader* theWrappedObject) const; - QList static_QImageReader_supportedImageFormats(); - QList static_QImageReader_supportedMimeTypes(); - QList supportedSubTypes(QImageReader* theWrappedObject) const; - bool supportsAnimation(QImageReader* theWrappedObject) const; - bool supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const; - QString text(QImageReader* theWrappedObject, const QString& key) const; - QStringList textKeys(QImageReader* theWrappedObject) const; - QString static_QImageReader_tr(const char* sourceText, const char* disambiguation = nullptr, int n = -1); - QString static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation = nullptr, int n = -1); -}; - - - - - -class PythonQtWrapper_QImageWriter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ImageWriterError ) -enum ImageWriterError{ - UnknownError = QImageWriter::UnknownError, DeviceError = QImageWriter::DeviceError, UnsupportedFormatError = QImageWriter::UnsupportedFormatError, InvalidImageError = QImageWriter::InvalidImageError}; -public slots: -void delete_QImageWriter(QImageWriter* obj) { delete obj; } - bool canWrite(QImageWriter* theWrappedObject) const; - int compression(QImageWriter* theWrappedObject) const; - QIODevice* device(QImageWriter* theWrappedObject) const; - QImageWriter::ImageWriterError error(QImageWriter* theWrappedObject) const; - QString errorString(QImageWriter* theWrappedObject) const; - QString fileName(QImageWriter* theWrappedObject) const; - QByteArray format(QImageWriter* theWrappedObject) const; - float gamma(QImageWriter* theWrappedObject) const; - QList static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType); - bool optimizedWrite(QImageWriter* theWrappedObject) const; - bool progressiveScanWrite(QImageWriter* theWrappedObject) const; - int quality(QImageWriter* theWrappedObject) const; - void setCompression(QImageWriter* theWrappedObject, int compression); - void setDevice(QImageWriter* theWrappedObject, QIODevice* device); - void setFileName(QImageWriter* theWrappedObject, const QString& fileName); - void setFormat(QImageWriter* theWrappedObject, const QByteArray& format); - void setGamma(QImageWriter* theWrappedObject, float gamma); - void setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize); - void setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive); - void setQuality(QImageWriter* theWrappedObject, int quality); - void setSubType(QImageWriter* theWrappedObject, const QByteArray& type); - void setText(QImageWriter* theWrappedObject, const QString& key, const QString& text); - QByteArray subType(QImageWriter* theWrappedObject) const; - QList static_QImageWriter_supportedImageFormats(); - QList static_QImageWriter_supportedMimeTypes(); - QList supportedSubTypes(QImageWriter* theWrappedObject) const; - bool supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const; - QString static_QImageWriter_tr(const char* sourceText, const char* disambiguation = nullptr, int n = -1); - QString static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation = nullptr, int n = -1); - bool write(QImageWriter* theWrappedObject, const QImage& image); +void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } }; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp similarity index 68% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 0c481318..6948b05f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -2,7 +2,11 @@ #include #include #include -#include +#include +#include +#include +#include +#include #include #include #include @@ -13,93 +17,112 @@ #include #include #include +#include +#include #include #include +#include #include -#include #include +#include #include +#include #include #include -#include -#include +#include +#include +#include +#include +#include #include #include -#include -#include -#include +#include +#include #include -#include -#include -#include +#include #include -#include +#include #include -#include -#include -#include #include -#include +#include #include #include +#include #include #include #include -#include -#include +#include +#include +#include +#include #include +#include +#include #include +#include +#include #include #include -#include +#include #include #include -#include +#include +#include #include -#include -#include +#include #include #include -PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { +PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QInputDialog::accept() +QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"QSize" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QSize returnValue{}; + void* args[4] = {nullptr, (void*)&size0, (void*)&mode1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("actualSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::accept(); + return QIconEngine::actualSize(size0, mode1, state2); } -void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QString&" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&fileName0, (void*)&size1, (void*)&mode2, (void*)&state3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -107,21 +130,21 @@ if (_wrapper) { } } } - QInputDialog::actionEvent(event0); + QIconEngine::addFile(fileName0, size1, mode2, state3); } -void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "const QPixmap&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&pixmap0, (void*)&mode1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -129,76 +152,98 @@ if (_wrapper) { } } } - QInputDialog::changeEvent(arg__1); + QIconEngine::addPixmap(pixmap0, mode1, state2); } -void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) +QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QList" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QList returnValue{}; + void* args[3] = {nullptr, (void*)&mode0, (void*)&state1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::closeEvent(arg__1); + return QIconEngine::availableSizes(mode0, state1); } -void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) +QIconEngine* PythonQtShell_QIconEngine::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QIconEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QIconEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QIconEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::contextMenuEvent(arg__1); + return nullptr; } -int PythonQtShell_QInputDialog::devType() const +QString PythonQtShell_QIconEngine::iconName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -206,43 +251,54 @@ if (_wrapper) { } } } - return QInputDialog::devType(); + return QIconEngine::iconName(); } -void PythonQtShell_QInputDialog::done(int result0) +QString PythonQtShell_QIconEngine::key() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::done(result0); + return QIconEngine::key(); } -void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&mode2, (void*)&state3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -250,65 +306,87 @@ if (_wrapper) { } } } - QInputDialog::dragEnterEvent(event0); + } -void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) +QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPixmap" , "const QSize&" , "QIcon::Mode" , "QIcon::State"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&size0, (void*)&mode1, (void*)&state2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::dragLeaveEvent(event0); + return QIconEngine::pixmap(size0, mode1, state2); } -void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* event0) +bool PythonQtShell_QIconEngine::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::dragMoveEvent(event0); + return QIconEngine::read(in0); } -void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("virtual_hook"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "int" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&id0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -316,54 +394,149 @@ if (_wrapper) { } } } - QInputDialog::dropEvent(event0); + QIconEngine::virtual_hook(id0, data1); } -void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) +bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::enterEvent(event0); + return QIconEngine::write(out0); } -bool PythonQtShell_QInputDialog::event(QEvent* event0) +QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine() +{ +return new PythonQtShell_QIconEngine(); } + +QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine(const QIconEngine& other) +{ +return new PythonQtShell_QIconEngine(other); } + +QSize PythonQtWrapper_QIconEngine::actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + return ( theWrappedObject->actualSize(size, mode, state)); +} + +void PythonQtWrapper_QIconEngine::addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addFile(fileName, size, mode, state)); +} + +void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addPixmap(pixmap, mode, state)); +} + +QList PythonQtWrapper_QIconEngine::availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->availableSizes(mode, state)); +} + +QIconEngine* PythonQtWrapper_QIconEngine::clone(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +QString PythonQtWrapper_QIconEngine::iconName(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->iconName()); +} + +bool PythonQtWrapper_QIconEngine::isNull(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QIconEngine::key(QIconEngine* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +void PythonQtWrapper_QIconEngine::paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->paint(painter, rect, mode, state)); +} + +QPixmap PythonQtWrapper_QIconEngine::pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + return ( theWrappedObject->pixmap(size, mode, state)); +} + +bool PythonQtWrapper_QIconEngine::read(QIconEngine* theWrappedObject, QDataStream& in) +{ + return ( theWrappedObject->read(in)); +} + +QPixmap PythonQtWrapper_QIconEngine::scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale) +{ + return ( theWrappedObject->scaledPixmap(size, mode, state, scale)); +} + +void PythonQtWrapper_QIconEngine::virtual_hook(QIconEngine* theWrappedObject, int id, void* data) +{ + ( theWrappedObject->virtual_hook(id, data)); +} + +bool PythonQtWrapper_QIconEngine::write(QIconEngine* theWrappedObject, QDataStream& out) const +{ + return ( theWrappedObject->write(out)); +} + + + +PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QImageIOHandler::canRead() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -371,32 +544,32 @@ if (_wrapper) { } } } - return QInputDialog::event(event0); + return bool(); } -bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +int PythonQtShell_QImageIOHandler::currentImageNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -404,32 +577,32 @@ if (_wrapper) { } } } - return QInputDialog::eventFilter(arg__1, arg__2); + return QImageIOHandler::currentImageNumber(); } -int PythonQtShell_QInputDialog::exec() +QRect PythonQtShell_QImageIOHandler::currentImageRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -437,54 +610,65 @@ if (_wrapper) { } } } - return QInputDialog::exec(); + return QImageIOHandler::currentImageRect(); } -void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) +int PythonQtShell_QImageIOHandler::imageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::focusInEvent(event0); + return QImageIOHandler::imageCount(); } -bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&imageNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToImage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -492,54 +676,65 @@ if (_wrapper) { } } } - return QInputDialog::focusNextPrevChild(next0); + return QImageIOHandler::jumpToImage(imageNumber0); } -void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) +bool PythonQtShell_QImageIOHandler::jumpToNextImage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } } } - QInputDialog::focusOutEvent(event0); + return QImageIOHandler::jumpToNextImage(); } -bool PythonQtShell_QInputDialog::hasHeightForWidth() const +int PythonQtShell_QImageIOHandler::loopCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -547,32 +742,32 @@ if (_wrapper) { } } } - return QInputDialog::hasHeightForWidth(); + return QImageIOHandler::loopCount(); } -int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const +int PythonQtShell_QImageIOHandler::nextImageDelay() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -580,65 +775,87 @@ if (_wrapper) { } } } - return QInputDialog::heightForWidth(arg__1); + return QImageIOHandler::nextImageDelay(); } -void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) +QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::hideEvent(event0); + return QImageIOHandler::option(option0); } -void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const +bool PythonQtShell_QImageIOHandler::read(QImage* image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"bool" , "QImage*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&image0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::initPainter(painter0); + return bool(); } -void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("setOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QImageIOHandler::ImageOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -646,32 +863,32 @@ if (_wrapper) { } } } - QInputDialog::inputMethodEvent(arg__1); + QImageIOHandler::setOption(option0, value1); } -QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsOption", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -679,131 +896,215 @@ if (_wrapper) { } } } - return QInputDialog::inputMethodQuery(arg__1); + return QImageIOHandler::supportsOption(option0); } -void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) +bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "const QImage&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&image0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::keyPressEvent(arg__1); + return QImageIOHandler::write(image0); } -void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) +QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() +{ +return new PythonQtShell_QImageIOHandler(); } + +bool PythonQtWrapper_QImageIOHandler::canRead(QImageIOHandler* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->canRead()); } - QInputDialog::keyReleaseEvent(event0); + +int PythonQtWrapper_QImageIOHandler::currentImageNumber(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->currentImageNumber()); } -void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) + +QRect PythonQtWrapper_QImageIOHandler::currentImageRect(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->currentImageRect()); +} + +QIODevice* PythonQtWrapper_QImageIOHandler::device(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QByteArray PythonQtWrapper_QImageIOHandler::format(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QImageIOHandler::imageCount(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->imageCount()); +} + +bool PythonQtWrapper_QImageIOHandler::jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber) +{ + return ( theWrappedObject->jumpToImage(imageNumber)); +} + +bool PythonQtWrapper_QImageIOHandler::jumpToNextImage(QImageIOHandler* theWrappedObject) +{ + return ( theWrappedObject->jumpToNextImage()); +} + +int PythonQtWrapper_QImageIOHandler::loopCount(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +int PythonQtWrapper_QImageIOHandler::nextImageDelay(QImageIOHandler* theWrappedObject) const +{ + return ( theWrappedObject->nextImageDelay()); +} + +QVariant PythonQtWrapper_QImageIOHandler::option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->option(option)); +} + +bool PythonQtWrapper_QImageIOHandler::read(QImageIOHandler* theWrappedObject, QImage* image) +{ + return ( theWrappedObject->read(image)); +} + +void PythonQtWrapper_QImageIOHandler::setDevice(QImageIOHandler* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QImageIOHandler::setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QImageIOHandler::setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value) +{ + ( theWrappedObject->setOption(option, value)); +} + +bool PythonQtWrapper_QImageIOHandler::supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); +} + +bool PythonQtWrapper_QImageIOHandler::write(QImageIOHandler* theWrappedObject, const QImage& image) +{ + return ( theWrappedObject->write(image)); +} + + + +PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("capabilities"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QImageIOPlugin::Capabilities" , "QIODevice*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QImageIOPlugin::Capabilities returnValue{}; + void* args[3] = {nullptr, (void*)&device0, (void*)&format1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("capabilities", methodInfo, result); + } else { + returnValue = *((QImageIOPlugin::Capabilities*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::leaveEvent(event0); + return QImageIOPlugin::Capabilities(); } -int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::metric(arg__1); + QImageIOPlugin::childEvent(event0); } -QSize PythonQtShell_QInputDialog::minimumSizeHint() const +QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QImageIOHandler* returnValue{}; + void* args[3] = {nullptr, (void*)&device0, (void*)&format1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QImageIOHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -811,21 +1112,21 @@ if (_wrapper) { } } } - return QInputDialog::minimumSizeHint(); + return nullptr; } -void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -833,65 +1134,87 @@ if (_wrapper) { } } } - QInputDialog::mouseDoubleClickEvent(event0); + QImageIOPlugin::customEvent(event0); } -void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QImageIOPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::mouseMoveEvent(event0); + return QImageIOPlugin::event(event0); } -void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) +bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::mousePressEvent(event0); + return QImageIOPlugin::eventFilter(watched0, event1); } -void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -899,4070 +1222,482 @@ if (_wrapper) { } } } - QInputDialog::mouseReleaseEvent(event0); + QImageIOPlugin::timerEvent(event0); } -void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) +{ +return new PythonQtShell_QImageIOPlugin(parent); } + +const QMetaObject* PythonQtShell_QImageIOPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QImageIOPlugin::staticMetaObject); + } else { + return &QImageIOPlugin::staticMetaObject; } } - QInputDialog::moveEvent(event0); +int PythonQtShell_QImageIOPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QImageIOPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QImageIOPlugin::Capabilities PythonQtWrapper_QImageIOPlugin::capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->capabilities(device, format)); } - return QInputDialog::nativeEvent(eventType0, message1, result2); + +QImageIOHandler* PythonQtWrapper_QImageIOPlugin::create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const +{ + return ( theWrappedObject->create(device, format)); } -QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const + + + +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); } + +bool PythonQtWrapper_QImageReader::autoDetectImageFormat(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->autoDetectImageFormat()); } - return QInputDialog::paintEngine(); + +bool PythonQtWrapper_QImageReader::autoTransform(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->autoTransform()); } -void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) + +QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->backgroundColor()); } - QInputDialog::paintEvent(event0); + +bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->canRead()); } -QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const + +QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->clipRect()); } - return QInputDialog::redirected(offset0); + +int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->currentImageNumber()); } -void PythonQtShell_QInputDialog::reject() + +QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->currentImageRect()); } - QInputDialog::reject(); + +bool PythonQtWrapper_QImageReader::decideFormatFromContent(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->decideFormatFromContent()); } -void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) + +QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->device()); } - QInputDialog::resizeEvent(arg__1); + +QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->error()); } -void PythonQtShell_QInputDialog::setVisible(bool visible0) + +QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->errorString()); } - QInputDialog::setVisible(visible0); + +QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); } -QPainter* PythonQtShell_QInputDialog::sharedPainter() const + +QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->format()); } - return QInputDialog::sharedPainter(); + +float PythonQtWrapper_QImageReader::gamma(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); } -void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) + +int PythonQtWrapper_QImageReader::imageCount(QImageReader* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->imageCount()); } - QInputDialog::showEvent(arg__1); + +QImage::Format PythonQtWrapper_QImageReader::imageFormat(QImageReader* theWrappedObject) const +{ + return ( theWrappedObject->imageFormat()); } -QSize PythonQtShell_QInputDialog::sizeHint() const + +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(QIODevice* device) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QInputDialog::sizeHint(); -} -void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QInputDialog::tabletEvent(event0); -} -void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QInputDialog::wheelEvent(event0); -} -QInputDialog* PythonQtWrapper_QInputDialog::new_QInputDialog(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QInputDialog(parent, flags); } - -const QMetaObject* PythonQtShell_QInputDialog::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QInputDialog::staticMetaObject); - } else { - return &QInputDialog::staticMetaObject; - } -} -int PythonQtShell_QInputDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QInputDialog::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QInputDialog::cancelButtonText(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->cancelButtonText()); -} - -QStringList PythonQtWrapper_QInputDialog::comboBoxItems(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->comboBoxItems()); -} - -int PythonQtWrapper_QInputDialog::doubleDecimals(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->doubleDecimals()); -} - -double PythonQtWrapper_QInputDialog::doubleMaximum(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->doubleMaximum()); -} - -double PythonQtWrapper_QInputDialog::doubleMinimum(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->doubleMinimum()); -} - -double PythonQtWrapper_QInputDialog::doubleStep(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->doubleStep()); -} - -double PythonQtWrapper_QInputDialog::doubleValue(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->doubleValue()); -} - -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 flags) -{ - return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags)); -} - -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 flags, double step) -{ - return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags, step)); -} - -int PythonQtWrapper_QInputDialog::static_QInputDialog_getInt(QWidget* parent, const QString& title, const QString& label, int value, int minValue, int maxValue, int step, bool* ok, Qt::WindowFlags flags) -{ - return (QInputDialog::getInt(parent, title, label, value, minValue, maxValue, step, ok, flags)); -} - -QString PythonQtWrapper_QInputDialog::static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& items, int current, bool editable, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) -{ - return (QInputDialog::getItem(parent, title, label, items, current, editable, ok, flags, inputMethodHints)); -} - -QString PythonQtWrapper_QInputDialog::static_QInputDialog_getMultiLineText(QWidget* parent, const QString& title, const QString& label, const QString& text, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) -{ - return (QInputDialog::getMultiLineText(parent, title, label, text, ok, flags, inputMethodHints)); -} - -QString PythonQtWrapper_QInputDialog::static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo, const QString& text, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) -{ - return (QInputDialog::getText(parent, title, label, echo, text, ok, flags, inputMethodHints)); -} - -QInputDialog::InputMode PythonQtWrapper_QInputDialog::inputMode(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->inputMode()); + return (QImageReader::imageFormat(device)); } -int PythonQtWrapper_QInputDialog::intMaximum(QInputDialog* theWrappedObject) const +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(const QString& fileName) { - return ( theWrappedObject->intMaximum()); + return (QImageReader::imageFormat(fileName)); } -int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const +QList PythonQtWrapper_QImageReader::static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType) { - return ( theWrappedObject->intMinimum()); + return (QImageReader::imageFormatsForMimeType(mimeType)); } -int PythonQtWrapper_QInputDialog::intStep(QInputDialog* theWrappedObject) const +bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) { - return ( theWrappedObject->intStep()); + return ( theWrappedObject->jumpToImage(imageNumber)); } -int PythonQtWrapper_QInputDialog::intValue(QInputDialog* theWrappedObject) const +bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) { - return ( theWrappedObject->intValue()); + return ( theWrappedObject->jumpToNextImage()); } -bool PythonQtWrapper_QInputDialog::isComboBoxEditable(QInputDialog* theWrappedObject) const +int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const { - return ( theWrappedObject->isComboBoxEditable()); + return ( theWrappedObject->loopCount()); } -QString PythonQtWrapper_QInputDialog::labelText(QInputDialog* theWrappedObject) const +int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const { - return ( theWrappedObject->labelText()); + return ( theWrappedObject->nextImageDelay()); } -QString PythonQtWrapper_QInputDialog::okButtonText(QInputDialog* theWrappedObject) const +int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const { - return ( theWrappedObject->okButtonText()); + return ( theWrappedObject->quality()); } -void PythonQtWrapper_QInputDialog::open(QInputDialog* theWrappedObject, QObject* receiver, const char* member) +QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) { - ( theWrappedObject->open(receiver, member)); + return ( theWrappedObject->read()); } -QInputDialog::InputDialogOptions PythonQtWrapper_QInputDialog::options(QInputDialog* theWrappedObject) const +QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const { - return ( theWrappedObject->options()); + return ( theWrappedObject->scaledClipRect()); } -void PythonQtWrapper_QInputDialog::setCancelButtonText(QInputDialog* theWrappedObject, const QString& text) +QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const { - ( theWrappedObject->setCancelButtonText(text)); + return ( theWrappedObject->scaledSize()); } -void PythonQtWrapper_QInputDialog::setComboBoxEditable(QInputDialog* theWrappedObject, bool editable) +void PythonQtWrapper_QImageReader::setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled) { - ( theWrappedObject->setComboBoxEditable(editable)); + ( theWrappedObject->setAutoDetectImageFormat(enabled)); } -void PythonQtWrapper_QInputDialog::setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items) +void PythonQtWrapper_QImageReader::setAutoTransform(QImageReader* theWrappedObject, bool enabled) { - ( theWrappedObject->setComboBoxItems(items)); + ( theWrappedObject->setAutoTransform(enabled)); } -void PythonQtWrapper_QInputDialog::setDoubleDecimals(QInputDialog* theWrappedObject, int decimals) +void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) { - ( theWrappedObject->setDoubleDecimals(decimals)); + ( theWrappedObject->setBackgroundColor(color)); } -void PythonQtWrapper_QInputDialog::setDoubleMaximum(QInputDialog* theWrappedObject, double max) +void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) { - ( theWrappedObject->setDoubleMaximum(max)); + ( theWrappedObject->setClipRect(rect)); } -void PythonQtWrapper_QInputDialog::setDoubleMinimum(QInputDialog* theWrappedObject, double min) +void PythonQtWrapper_QImageReader::setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored) { - ( theWrappedObject->setDoubleMinimum(min)); + ( theWrappedObject->setDecideFormatFromContent(ignored)); } -void PythonQtWrapper_QInputDialog::setDoubleRange(QInputDialog* theWrappedObject, double min, double max) +void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) { - ( theWrappedObject->setDoubleRange(min, max)); + ( theWrappedObject->setDevice(device)); } -void PythonQtWrapper_QInputDialog::setDoubleStep(QInputDialog* theWrappedObject, double step) +void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) { - ( theWrappedObject->setDoubleStep(step)); + ( theWrappedObject->setFileName(fileName)); } -void PythonQtWrapper_QInputDialog::setDoubleValue(QInputDialog* theWrappedObject, double value) +void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) { - ( theWrappedObject->setDoubleValue(value)); + ( theWrappedObject->setFormat(format)); } -void PythonQtWrapper_QInputDialog::setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode) +void PythonQtWrapper_QImageReader::setGamma(QImageReader* theWrappedObject, float gamma) { - ( theWrappedObject->setInputMode(mode)); + ( theWrappedObject->setGamma(gamma)); } -void PythonQtWrapper_QInputDialog::setIntMaximum(QInputDialog* theWrappedObject, int max) +void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) { - ( theWrappedObject->setIntMaximum(max)); + ( theWrappedObject->setQuality(quality)); } -void PythonQtWrapper_QInputDialog::setIntMinimum(QInputDialog* theWrappedObject, int min) +void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) { - ( theWrappedObject->setIntMinimum(min)); + ( theWrappedObject->setScaledClipRect(rect)); } -void PythonQtWrapper_QInputDialog::setIntRange(QInputDialog* theWrappedObject, int min, int max) +void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) { - ( theWrappedObject->setIntRange(min, max)); + ( theWrappedObject->setScaledSize(size)); } -void PythonQtWrapper_QInputDialog::setIntStep(QInputDialog* theWrappedObject, int step) +QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const { - ( theWrappedObject->setIntStep(step)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QInputDialog::setIntValue(QInputDialog* theWrappedObject, int value) +QByteArray PythonQtWrapper_QImageReader::subType(QImageReader* theWrappedObject) const { - ( theWrappedObject->setIntValue(value)); + return ( theWrappedObject->subType()); } -void PythonQtWrapper_QInputDialog::setLabelText(QInputDialog* theWrappedObject, const QString& text) +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() { - ( theWrappedObject->setLabelText(text)); + return (QImageReader::supportedImageFormats()); } -void PythonQtWrapper_QInputDialog::setOkButtonText(QInputDialog* theWrappedObject, const QString& text) +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedMimeTypes() { - ( theWrappedObject->setOkButtonText(text)); + return (QImageReader::supportedMimeTypes()); } -void PythonQtWrapper_QInputDialog::setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on) +QList PythonQtWrapper_QImageReader::supportedSubTypes(QImageReader* theWrappedObject) const { - ( theWrappedObject->setOption(option, on)); + return ( theWrappedObject->supportedSubTypes()); } -void PythonQtWrapper_QInputDialog::setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options) +bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const { - ( theWrappedObject->setOptions(options)); + return ( theWrappedObject->supportsAnimation()); } -void PythonQtWrapper_QInputDialog::setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode) +bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const { - ( theWrappedObject->setTextEchoMode(mode)); + return ( theWrappedObject->supportsOption(option)); } -void PythonQtWrapper_QInputDialog::setTextValue(QInputDialog* theWrappedObject, const QString& text) +QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const { - ( theWrappedObject->setTextValue(text)); + return ( theWrappedObject->text(key)); } -bool PythonQtWrapper_QInputDialog::testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const +QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const { - return ( theWrappedObject->testOption(option)); + return ( theWrappedObject->textKeys()); } -QLineEdit::EchoMode PythonQtWrapper_QInputDialog::textEchoMode(QInputDialog* theWrappedObject) const +QString PythonQtWrapper_QImageReader::static_QImageReader_tr(const char* sourceText, const char* disambiguation, int n) { - return ( theWrappedObject->textEchoMode()); + return (QImageReader::tr(sourceText, disambiguation, n)); } -QString PythonQtWrapper_QInputDialog::textValue(QInputDialog* theWrappedObject) const +QString PythonQtWrapper_QImageReader::static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation, int n) { - return ( theWrappedObject->textValue()); + return (QImageReader::trUtf8(sourceText, disambiguation, n)); } -PythonQtShell_QInputEvent::~PythonQtShell_QInputEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QInputEvent* PythonQtWrapper_QInputEvent::new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers) +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter() { -return new PythonQtShell_QInputEvent(type, modifiers); } - -Qt::KeyboardModifiers PythonQtWrapper_QInputEvent::modifiers(QInputEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) -{ - ( theWrappedObject->setModifiers(amodifiers)); -} - -void PythonQtWrapper_QInputEvent::setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp) -{ - ( theWrappedObject->setTimestamp(atimestamp)); -} - -ulong PythonQtWrapper_QInputEvent::timestamp(QInputEvent* theWrappedObject) const -{ - return ( theWrappedObject->timestamp()); -} - +return new QImageWriter(); } +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(QIODevice* device, const QByteArray& format) +{ +return new QImageWriter(device, format); } -QRectF PythonQtWrapper_QInputMethod::anchorRectangle(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->anchorRectangle()); -} - -QRectF PythonQtWrapper_QInputMethod::cursorRectangle(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->cursorRectangle()); -} +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(const QString& fileName, const QByteArray& format) +{ +return new QImageWriter(fileName, format); } -Qt::LayoutDirection PythonQtWrapper_QInputMethod::inputDirection(QInputMethod* theWrappedObject) const +bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->inputDirection()); + return ( theWrappedObject->canWrite()); } -QRectF PythonQtWrapper_QInputMethod::inputItemClipRectangle(QInputMethod* theWrappedObject) const +int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->inputItemClipRectangle()); + return ( theWrappedObject->compression()); } -QRectF PythonQtWrapper_QInputMethod::inputItemRectangle(QInputMethod* theWrappedObject) const +QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->inputItemRectangle()); + return ( theWrappedObject->device()); } -QTransform PythonQtWrapper_QInputMethod::inputItemTransform(QInputMethod* theWrappedObject) const +QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->inputItemTransform()); + return ( theWrappedObject->error()); } -bool PythonQtWrapper_QInputMethod::isAnimating(QInputMethod* theWrappedObject) const +QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->isAnimating()); -} - -bool PythonQtWrapper_QInputMethod::isVisible(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -QRectF PythonQtWrapper_QInputMethod::keyboardRectangle(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->keyboardRectangle()); -} - -QLocale PythonQtWrapper_QInputMethod::locale(QInputMethod* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - -QVariant PythonQtWrapper_QInputMethod::static_QInputMethod_queryFocusObject(Qt::InputMethodQuery query, QVariant argument) -{ - return (QInputMethod::queryFocusObject(query, argument)); -} - -void PythonQtWrapper_QInputMethod::setInputItemRectangle(QInputMethod* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setInputItemRectangle(rect)); -} - -void PythonQtWrapper_QInputMethod::setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform) -{ - ( theWrappedObject->setInputItemTransform(transform)); -} - -void PythonQtWrapper_QInputMethod::setVisible(QInputMethod* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); -} - - - -QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent() -{ -return new QInputMethodEvent(); } - -QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QInputMethodEvent& other) -{ -return new QInputMethodEvent(other); } - -QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QString& preeditText, const QList& attributes) -{ -return new QInputMethodEvent(preeditText, attributes); } - -const QList* PythonQtWrapper_QInputMethodEvent::attributes(QInputMethodEvent* theWrappedObject) const -{ - return &( theWrappedObject->attributes()); -} - -const QString* PythonQtWrapper_QInputMethodEvent::commitString(QInputMethodEvent* theWrappedObject) const -{ - return &( theWrappedObject->commitString()); -} - -const QString* PythonQtWrapper_QInputMethodEvent::preeditString(QInputMethodEvent* theWrappedObject) const -{ - return &( theWrappedObject->preeditString()); -} - -int PythonQtWrapper_QInputMethodEvent::replacementLength(QInputMethodEvent* theWrappedObject) const -{ - return ( theWrappedObject->replacementLength()); -} - -int PythonQtWrapper_QInputMethodEvent::replacementStart(QInputMethodEvent* theWrappedObject) const -{ - return ( theWrappedObject->replacementStart()); -} - -void PythonQtWrapper_QInputMethodEvent::setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom, int replaceLength) -{ - ( theWrappedObject->setCommitString(commitString, replaceFrom, replaceLength)); -} - - - -PythonQtShell_QInputMethodEvent__Attribute::~PythonQtShell_QInputMethodEvent__Attribute() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l) -{ -return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l); } - -QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val) -{ -return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l, val); } - - - -QInputMethodQueryEvent* PythonQtWrapper_QInputMethodQueryEvent::new_QInputMethodQueryEvent(Qt::InputMethodQueries queries) -{ -return new QInputMethodQueryEvent(queries); } - -Qt::InputMethodQueries PythonQtWrapper_QInputMethodQueryEvent::queries(QInputMethodQueryEvent* theWrappedObject) const -{ - return ( theWrappedObject->queries()); -} - -void PythonQtWrapper_QInputMethodQueryEvent::setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value) -{ - ( theWrappedObject->setValue(query, value)); -} - -QVariant PythonQtWrapper_QInputMethodQueryEvent::value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( theWrappedObject->value(query)); -} - - - -PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QIntValidator::fixup(QString& input0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QIntValidator::fixup(input0); -} -void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&bottom0, (void*)&top1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QIntValidator::setRange(bottom0, top1); -} -QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - 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); } - -const QMetaObject* PythonQtShell_QIntValidator::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIntValidator::staticMetaObject); - } else { - return &QIntValidator::staticMetaObject; - } -} -int PythonQtShell_QIntValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QIntValidator::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QIntValidator::bottom(QIntValidator* theWrappedObject) const -{ - return ( theWrappedObject->bottom()); -} - -void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setBottom(arg__1)); -} - -void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top) -{ - ( theWrappedObject->setRange(bottom, top)); -} - -void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setTop(arg__1)); -} - -int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const -{ - return ( theWrappedObject->top()); -} - - - -PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&parent0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QItemDelegate::createEditor(parent0, option1, index2); -} -void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("destroyEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::destroyEditor(editor0, index1); -} -void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawCheck"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&painter0, (void*)&option1, (void*)&rect2, (void*)&state3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::drawCheck(painter0, option1, rect2, state3); -} -void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawDecoration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&painter0, (void*)&option1, (void*)&rect2, (void*)&pixmap3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); -} -void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawDisplay"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&painter0, (void*)&option1, (void*)&rect2, (void*)&text3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::drawDisplay(painter0, option1, rect2, text3); -} -void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawFocus"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::drawFocus(painter0, option1, rect2); -} -bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QItemDelegate::editorEvent(event0, model1, option2, index3); -} -bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QItemDelegate::eventFilter(object0, event1); -} -bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QItemDelegate::helpEvent(event0, view1, option2, index3); -} -void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::paint(painter0, option1, index2); -} -QVector PythonQtShell_QItemDelegate::paintingRoles() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintingRoles"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVector"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QItemDelegate::paintingRoles(); -} -void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::setEditorData(editor0, index1); -} -void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModelData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::setModelData(editor0, model1, index2); -} -QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&option0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QItemDelegate::sizeHint(option0, index1); -} -void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemDelegate::updateEditorGeometry(editor0, option1, index2); -} -QItemDelegate* PythonQtWrapper_QItemDelegate::new_QItemDelegate(QObject* parent) -{ -return new PythonQtShell_QItemDelegate(parent); } - -const QMetaObject* PythonQtShell_QItemDelegate::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemDelegate::staticMetaObject); - } else { - return &QItemDelegate::staticMetaObject; - } -} -int PythonQtShell_QItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QItemDelegate::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QPixmap PythonQtWrapper_QItemDelegate::decoration(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_decoration(option, variant)); -} - -QRect PythonQtWrapper_QItemDelegate::doCheck(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_doCheck(option, bounding, variant)); -} - -void PythonQtWrapper_QItemDelegate::drawBackground(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawBackground(painter, option, 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)); -} - -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::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::drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const -{ - ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawFocus(painter, option, rect)); -} - -bool PythonQtWrapper_QItemDelegate::eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -bool PythonQtWrapper_QItemDelegate::hasClipping(QItemDelegate* theWrappedObject) const -{ - return ( theWrappedObject->hasClipping()); -} - -QItemEditorFactory* PythonQtWrapper_QItemDelegate::itemEditorFactory(QItemDelegate* theWrappedObject) const -{ - return ( theWrappedObject->itemEditorFactory()); -} - -QRect PythonQtWrapper_QItemDelegate::rect(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index, int role) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_rect(option, index, role)); -} - -QPixmap PythonQtWrapper_QItemDelegate::static_QItemDelegate_selectedPixmap(const QPixmap& pixmap, const QPalette& palette, bool enabled) -{ - return (PythonQtPublicPromoter_QItemDelegate::promoted_selectedPixmap(pixmap, palette, enabled)); -} - -void PythonQtWrapper_QItemDelegate::setClipping(QItemDelegate* theWrappedObject, bool clip) -{ - ( theWrappedObject->setClipping(clip)); -} - -void PythonQtWrapper_QItemDelegate::setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory) -{ - ( theWrappedObject->setItemEditorFactory(factory)); -} - -QStyleOptionViewItem PythonQtWrapper_QItemDelegate::setOptions(QItemDelegate* theWrappedObject, const QModelIndex& index, const QStyleOptionViewItem& option) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setOptions(index, option)); -} - -QRect PythonQtWrapper_QItemDelegate::textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_textRectangle(painter, rect, font, text)); -} - - - -PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createWidget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return 0; -} -QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valuePropertyName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QByteArray(); -} -QItemEditorCreatorBase* PythonQtWrapper_QItemEditorCreatorBase::new_QItemEditorCreatorBase() -{ -return new PythonQtShell_QItemEditorCreatorBase(); } - -QWidget* PythonQtWrapper_QItemEditorCreatorBase::createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const -{ - return ( theWrappedObject->createWidget(parent)); -} - -QByteArray PythonQtWrapper_QItemEditorCreatorBase::valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const -{ - return ( theWrappedObject->valuePropertyName()); -} - - - -PythonQtShell_QItemEditorFactory::~PythonQtShell_QItemEditorFactory() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QWidget* returnValue{}; - void* args[3] = {NULL, (void*)&userType0, (void*)&parent1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QItemEditorFactory::createEditor(userType0, parent1); -} -QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valuePropertyName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QByteArray" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QByteArray returnValue{}; - void* args[2] = {NULL, (void*)&userType0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QItemEditorFactory::valuePropertyName(userType0); -} -QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::new_QItemEditorFactory() -{ -return new PythonQtShell_QItemEditorFactory(); } - -QWidget* PythonQtWrapper_QItemEditorFactory::createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const -{ - return ( theWrappedObject->createEditor(userType, parent)); -} - -const QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_defaultFactory() -{ - return (QItemEditorFactory::defaultFactory()); -} - -void PythonQtWrapper_QItemEditorFactory::registerEditor(QItemEditorFactory* theWrappedObject, int userType, QItemEditorCreatorBase* creator) -{ - ( theWrappedObject->registerEditor(userType, creator)); -} - -void PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory) -{ - (QItemEditorFactory::setDefaultFactory(factory)); -} - -QByteArray PythonQtWrapper_QItemEditorFactory::valuePropertyName(QItemEditorFactory* theWrappedObject, int userType) const -{ - return ( theWrappedObject->valuePropertyName(userType)); -} - - - -QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -return new QItemSelection(topLeft, bottomRight); } - -bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->contains(index)); -} - -QList PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->indexes()); -} - -void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->merge(other, command)); -} - -void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ - ( theWrappedObject->select(topLeft, bottomRight)); -} - -void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) -{ - (QItemSelection::split(range, other, result)); -} - - - -PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QItemSelectionModel::clear() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemSelectionModel::clear(); -} -void PythonQtShell_QItemSelectionModel::clearCurrentIndex() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clearCurrentIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemSelectionModel::clearCurrentIndex(); -} -void PythonQtShell_QItemSelectionModel::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemSelectionModel::reset(); -} -void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("select"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selection0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemSelectionModel::select(selection0, command1); -} -void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("select"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemSelectionModel::select(index0, command1); -} -void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setCurrentIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QItemSelectionModel::setCurrentIndex(index0, command1); -} -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 QMetaObject* PythonQtShell_QItemSelectionModel::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemSelectionModel::staticMetaObject); - } else { - return &QItemSelectionModel::staticMetaObject; - } -} -int PythonQtShell_QItemSelectionModel::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QItemSelectionModel::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const -{ - return ( theWrappedObject->columnIntersectsSelection(column, parent)); -} - -QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -void PythonQtWrapper_QItemSelectionModel::emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection) -{ - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_emitSelectionChanged(newSelection, oldSelection)); -} - -bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->hasSelection()); -} - -bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const -{ - return ( theWrappedObject->isColumnSelected(column, parent)); -} - -bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isRowSelected(row, parent)); -} - -bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isSelected(index)); -} - -QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) -{ - return ( theWrappedObject->model()); -} - -const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->rowIntersectsSelection(row, parent)); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const -{ - return ( theWrappedObject->selectedColumns(row)); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->selectedIndexes()); -} - -QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const -{ - return ( theWrappedObject->selectedRows(column)); -} - -const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const -{ - return ( theWrappedObject->selection()); -} - -void PythonQtWrapper_QItemSelectionModel::setModel(QItemSelectionModel* theWrappedObject, QAbstractItemModel* model) -{ - ( theWrappedObject->setModel(model)); -} - - - -PythonQtShell_QKeyEvent::~PythonQtShell_QKeyEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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); } - -QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(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 new PythonQtShell_QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count); } - -int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->isAutoRepeat()); -} - -int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const -{ - return ( theWrappedObject->matches(key)); -} - -Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeModifiers()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeScanCode()); -} - -unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->nativeVirtualKey()); -} - -QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - - - -PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeyEventTransition::event(e0); -} -bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QKeyEventTransition::eventTest(event0); -} -void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeyEventTransition::onTransition(event0); -} -QKeyEventTransition* PythonQtWrapper_QKeyEventTransition::new_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState) -{ -return new PythonQtShell_QKeyEventTransition(object, type, key, sourceState); } - -QKeyEventTransition* PythonQtWrapper_QKeyEventTransition::new_QKeyEventTransition(QState* sourceState) -{ -return new PythonQtShell_QKeyEventTransition(sourceState); } - -const QMetaObject* PythonQtShell_QKeyEventTransition::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QKeyEventTransition::staticMetaObject); - } else { - return &QKeyEventTransition::staticMetaObject; - } -} -int PythonQtShell_QKeyEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QKeyEventTransition::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QKeyEventTransition::key(QKeyEventTransition* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QKeyEventTransition::modifierMask(QKeyEventTransition* theWrappedObject) const -{ - return ( theWrappedObject->modifierMask()); -} - -void PythonQtWrapper_QKeyEventTransition::setKey(QKeyEventTransition* theWrappedObject, int key) -{ - ( theWrappedObject->setKey(key)); -} - -void PythonQtWrapper_QKeyEventTransition::setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifierMask(modifiers)); -} - - - -PythonQtShell_QKeySequenceEdit::~PythonQtShell_QKeySequenceEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::actionEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::changeEvent(arg__1); -} -void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::closeEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::contextMenuEvent(event0); -} -int PythonQtShell_QKeySequenceEdit::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::devType(); -} -void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::dragEnterEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::dragLeaveEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::dragMoveEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::dropEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::enterEvent(event0); -} -bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::event(arg__1); -} -void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::focusInEvent(event0); -} -bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::focusNextPrevChild(next0); -} -void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::focusOutEvent(event0); -} -bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::hasHeightForWidth(); -} -int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::heightForWidth(arg__1); -} -void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::hideEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::initPainter(painter0); -} -void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::inputMethodQuery(arg__1); -} -void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::keyPressEvent(arg__1); -} -void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::keyReleaseEvent(arg__1); -} -void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::leaveEvent(event0); -} -int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::metric(arg__1); -} -QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::minimumSizeHint(); -} -void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::mouseMoveEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::mousePressEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::mouseReleaseEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::moveEvent(event0); -} -bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::paintEngine(); -} -void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::redirected(offset0); -} -void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::resizeEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::setVisible(visible0); -} -QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::sharedPainter(); -} -void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::showEvent(event0); -} -QSize PythonQtShell_QKeySequenceEdit::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QKeySequenceEdit::sizeHint(); -} -void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::tabletEvent(event0); -} -void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::timerEvent(arg__1); -} -void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QKeySequenceEdit::wheelEvent(event0); -} -QKeySequenceEdit* PythonQtWrapper_QKeySequenceEdit::new_QKeySequenceEdit(QWidget* parent) -{ -return new PythonQtShell_QKeySequenceEdit(parent); } - -QKeySequenceEdit* PythonQtWrapper_QKeySequenceEdit::new_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent) -{ -return new PythonQtShell_QKeySequenceEdit(keySequence, parent); } - -const QMetaObject* PythonQtShell_QKeySequenceEdit::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QKeySequenceEdit::staticMetaObject); - } else { - return &QKeySequenceEdit::staticMetaObject; - } -} -int PythonQtShell_QKeySequenceEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QKeySequenceEdit::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QKeySequence PythonQtWrapper_QKeySequenceEdit::keySequence(QKeySequenceEdit* theWrappedObject) const -{ - return ( theWrappedObject->keySequence()); -} - -void PythonQtWrapper_QKeySequenceEdit::timerEvent(QKeySequenceEdit* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - - - -PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::actionEvent(event0); -} -void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::changeEvent(arg__1); -} -void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::closeEvent(event0); -} -void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::contextMenuEvent(event0); -} -int PythonQtShell_QLCDNumber::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLCDNumber::devType(); -} -void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::dragEnterEvent(event0); -} -void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::dragLeaveEvent(event0); -} -void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::dragMoveEvent(event0); -} -void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::dropEvent(event0); -} -void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::enterEvent(event0); -} -bool PythonQtShell_QLCDNumber::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLCDNumber::event(e0); -} -void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::focusInEvent(event0); -} -bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLCDNumber::focusNextPrevChild(next0); -} -void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::focusOutEvent(event0); -} -bool PythonQtShell_QLCDNumber::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLCDNumber::hasHeightForWidth(); -} -int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLCDNumber::heightForWidth(arg__1); -} -void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::hideEvent(event0); -} -void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::initPainter(painter0); -} -void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLCDNumber::inputMethodQuery(arg__1); -} -void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::keyPressEvent(event0); -} -void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::keyReleaseEvent(event0); -} -void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLCDNumber::leaveEvent(event0); -} -int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLCDNumber::metric(arg__1); -} -QSize PythonQtShell_QLCDNumber::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->errorString()); } - return QLCDNumber::minimumSizeHint(); + +QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); } -void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) + +QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->format()); } - QLCDNumber::mouseDoubleClickEvent(event0); + +float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); } -void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QImageWriter::imageFormatsForMimeType(mimeType)); } - QLCDNumber::mouseMoveEvent(event0); + +bool PythonQtWrapper_QImageWriter::optimizedWrite(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->optimizedWrite()); } -void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QImageWriter::progressiveScanWrite(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->progressiveScanWrite()); } - QLCDNumber::mousePressEvent(event0); + +int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->quality()); } -void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) + +void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCompression(compression)); } - QLCDNumber::mouseReleaseEvent(event0); + +void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); } -void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFileName(fileName)); } - QLCDNumber::moveEvent(event0); + +void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); } -bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setGamma(gamma)); } - return QLCDNumber::nativeEvent(eventType0, message1, result2); + +void PythonQtWrapper_QImageWriter::setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize) +{ + ( theWrappedObject->setOptimizedWrite(optimize)); } -QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const + +void PythonQtWrapper_QImageWriter::setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setProgressiveScanWrite(progressive)); } - return QLCDNumber::paintEngine(); + +void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) +{ + ( theWrappedObject->setQuality(quality)); } -void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) + +void PythonQtWrapper_QImageWriter::setSubType(QImageWriter* theWrappedObject, const QByteArray& type) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSubType(type)); } - QLCDNumber::paintEvent(arg__1); + +void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) +{ + ( theWrappedObject->setText(key, text)); } -QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const + +QByteArray PythonQtWrapper_QImageWriter::subType(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->subType()); } - return QLCDNumber::redirected(offset0); + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() +{ + return (QImageWriter::supportedImageFormats()); } -void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedMimeTypes() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QImageWriter::supportedMimeTypes()); } - QLCDNumber::resizeEvent(event0); + +QList PythonQtWrapper_QImageWriter::supportedSubTypes(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->supportedSubTypes()); } -void PythonQtShell_QLCDNumber::setVisible(bool visible0) + +bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); +} + +QString PythonQtWrapper_QImageWriter::static_QImageWriter_tr(const char* sourceText, const char* disambiguation, int n) +{ + return (QImageWriter::tr(sourceText, disambiguation, n)); +} + +QString PythonQtWrapper_QImageWriter::static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation, int n) +{ + return (QImageWriter::trUtf8(sourceText, disambiguation, n)); +} + +bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) +{ + return ( theWrappedObject->write(image)); +} + + + +PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QInputDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4970,54 +1705,43 @@ if (_wrapper) { } } } - QLCDNumber::setVisible(visible0); + QInputDialog::accept(); } -QPainter* PythonQtShell_QLCDNumber::sharedPainter() const +void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::sharedPainter(); + QInputDialog::actionEvent(event0); } -void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) +void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5025,54 +1749,43 @@ if (_wrapper) { } } } - QLCDNumber::showEvent(event0); + QInputDialog::changeEvent(arg__1); } -QSize PythonQtShell_QLCDNumber::sizeHint() const +void PythonQtShell_QInputDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::sizeHint(); + QInputDialog::childEvent(event0); } -void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5080,21 +1793,21 @@ if (_wrapper) { } } } - QLCDNumber::tabletEvent(event0); + QInputDialog::closeEvent(arg__1); } -void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5102,103 +1815,21 @@ if (_wrapper) { } } } - QLCDNumber::wheelEvent(event0); -} -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); } - -const QMetaObject* PythonQtShell_QLCDNumber::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLCDNumber::staticMetaObject); - } else { - return &QLCDNumber::staticMetaObject; - } -} -int PythonQtShell_QLCDNumber::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QLCDNumber::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, double num) const -{ - return ( theWrappedObject->checkOverflow(num)); -} - -bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, int num) const -{ - return ( theWrappedObject->checkOverflow(num)); -} - -int PythonQtWrapper_QLCDNumber::digitCount(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->digitCount()); -} - -int PythonQtWrapper_QLCDNumber::intValue(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->intValue()); -} - -QLCDNumber::Mode PythonQtWrapper_QLCDNumber::mode(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->mode()); -} - -QLCDNumber::SegmentStyle PythonQtWrapper_QLCDNumber::segmentStyle(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->segmentStyle()); -} - -void PythonQtWrapper_QLCDNumber::setDigitCount(QLCDNumber* theWrappedObject, int nDigits) -{ - ( theWrappedObject->setDigitCount(nDigits)); -} - -void PythonQtWrapper_QLCDNumber::setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1) -{ - ( theWrappedObject->setMode(arg__1)); -} - -void PythonQtWrapper_QLCDNumber::setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1) -{ - ( theWrappedObject->setSegmentStyle(arg__1)); -} - -bool PythonQtWrapper_QLCDNumber::smallDecimalPoint(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->smallDecimalPoint()); -} - -double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - - - -PythonQtShell_QLabel::~PythonQtShell_QLabel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QInputDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) +void PythonQtShell_QInputDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5206,43 +1837,54 @@ if (_wrapper) { } } } - QLabel::actionEvent(event0); + QInputDialog::customEvent(event0); } -void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) +int PythonQtShell_QInputDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::changeEvent(arg__1); + return QInputDialog::devType(); } -void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) +void PythonQtShell_QInputDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5250,21 +1892,21 @@ if (_wrapper) { } } } - QLabel::closeEvent(event0); + QInputDialog::done(result0); } -void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) +void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5272,54 +1914,43 @@ if (_wrapper) { } } } - QLabel::contextMenuEvent(ev0); + QInputDialog::dragEnterEvent(event0); } -int PythonQtShell_QLabel::devType() const +void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::devType(); + QInputDialog::dragLeaveEvent(event0); } -void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5327,21 +1958,21 @@ if (_wrapper) { } } } - QLabel::dragEnterEvent(event0); + QInputDialog::dragMoveEvent(event0); } -void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5349,21 +1980,21 @@ if (_wrapper) { } } } - QLabel::dragLeaveEvent(event0); + QInputDialog::dropEvent(event0); } -void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5371,76 +2002,98 @@ if (_wrapper) { } } } - QLabel::dragMoveEvent(event0); + QInputDialog::enterEvent(event0); } -void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) +bool PythonQtShell_QInputDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::dropEvent(event0); + return QInputDialog::event(event0); } -void PythonQtShell_QLabel::enterEvent(QEvent* event0) +bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::enterEvent(event0); + return QInputDialog::eventFilter(arg__1, arg__2); } -bool PythonQtShell_QLabel::event(QEvent* e0) +int PythonQtShell_QInputDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5448,9 +2101,9 @@ if (_wrapper) { } } } - return QLabel::event(e0); + return QInputDialog::exec(); } -void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) +void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5460,9 +2113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5470,9 +2123,9 @@ if (_wrapper) { } } } - QLabel::focusInEvent(ev0); + QInputDialog::focusInEvent(event0); } -bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) +bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5483,19 +2136,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5503,9 +2156,9 @@ if (_wrapper) { } } } - return QLabel::focusNextPrevChild(next0); + return QInputDialog::focusNextPrevChild(next0); } -void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) +void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5515,9 +2168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5525,9 +2178,9 @@ if (_wrapper) { } } } - QLabel::focusOutEvent(ev0); + QInputDialog::focusOutEvent(event0); } -bool PythonQtShell_QLabel::hasHeightForWidth() const +bool PythonQtShell_QInputDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5538,19 +2191,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5558,9 +2211,9 @@ if (_wrapper) { } } } - return QLabel::hasHeightForWidth(); + return QInputDialog::hasHeightForWidth(); } -int PythonQtShell_QLabel::heightForWidth(int arg__1) const +int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5571,19 +2224,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5591,9 +2244,9 @@ if (_wrapper) { } } } - return QLabel::heightForWidth(arg__1); + return QInputDialog::heightForWidth(arg__1); } -void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) +void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5603,9 +2256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5613,9 +2266,9 @@ if (_wrapper) { } } } - QLabel::hideEvent(event0); + QInputDialog::hideEvent(event0); } -void PythonQtShell_QLabel::initPainter(QPainter* painter0) const +void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5625,9 +2278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5635,9 +2288,9 @@ if (_wrapper) { } } } - QLabel::initPainter(painter0); + QInputDialog::initPainter(painter0); } -void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5647,9 +2300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5657,9 +2310,9 @@ if (_wrapper) { } } } - QLabel::inputMethodEvent(arg__1); + QInputDialog::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5670,19 +2323,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5690,9 +2343,9 @@ if (_wrapper) { } } } - return QLabel::inputMethodQuery(arg__1); + return QInputDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5702,9 +2355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5712,9 +2365,9 @@ if (_wrapper) { } } } - QLabel::keyPressEvent(ev0); + QInputDialog::keyPressEvent(arg__1); } -void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5724,9 +2377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5734,9 +2387,9 @@ if (_wrapper) { } } } - QLabel::keyReleaseEvent(event0); + QInputDialog::keyReleaseEvent(event0); } -void PythonQtShell_QLabel::leaveEvent(QEvent* event0) +void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5746,9 +2399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5756,9 +2409,9 @@ if (_wrapper) { } } } - QLabel::leaveEvent(event0); + QInputDialog::leaveEvent(event0); } -int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5769,19 +2422,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5789,9 +2442,9 @@ if (_wrapper) { } } } - return QLabel::metric(arg__1); + return QInputDialog::metric(arg__1); } -QSize PythonQtShell_QLabel::minimumSizeHint() const +QSize PythonQtShell_QInputDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5802,19 +2455,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5822,9 +2475,9 @@ if (_wrapper) { } } } - return QLabel::minimumSizeHint(); + return QInputDialog::minimumSizeHint(); } -void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5834,9 +2487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5844,9 +2497,9 @@ if (_wrapper) { } } } - QLabel::mouseDoubleClickEvent(event0); + QInputDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) +void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5856,9 +2509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5866,9 +2519,9 @@ if (_wrapper) { } } } - QLabel::mouseMoveEvent(ev0); + QInputDialog::mouseMoveEvent(event0); } -void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) +void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5878,9 +2531,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5888,9 +2541,9 @@ if (_wrapper) { } } } - QLabel::mousePressEvent(ev0); + QInputDialog::mousePressEvent(event0); } -void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) +void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5900,9 +2553,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5910,9 +2563,9 @@ if (_wrapper) { } } } - QLabel::mouseReleaseEvent(ev0); + QInputDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) +void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5922,9 +2575,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5932,9 +2585,9 @@ if (_wrapper) { } } } - QLabel::moveEvent(event0); + QInputDialog::moveEvent(event0); } -bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5945,19 +2598,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5965,9 +2618,9 @@ if (_wrapper) { } } } - return QLabel::nativeEvent(eventType0, message1, result2); + return QInputDialog::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QLabel::paintEngine() const +QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5977,20 +2630,174 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::paintEngine(); +} +void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QInputDialog::redirected(offset0); +} +void PythonQtShell_QInputDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::reject(); +} +void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::resizeEvent(arg__1); +} +void PythonQtShell_QInputDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QInputDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QInputDialog::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5998,21 +2805,21 @@ if (_wrapper) { } } } - return QLabel::paintEngine(); + return QInputDialog::sharedPainter(); } -void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6020,32 +2827,32 @@ if (_wrapper) { } } } - QLabel::paintEvent(arg__1); + QInputDialog::showEvent(arg__1); } -QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const +QSize PythonQtShell_QInputDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6053,21 +2860,21 @@ if (_wrapper) { } } } - return QLabel::redirected(offset0); + return QInputDialog::sizeHint(); } -void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6075,21 +2882,21 @@ if (_wrapper) { } } } - QLabel::resizeEvent(event0); + QInputDialog::tabletEvent(event0); } -void PythonQtShell_QLabel::setVisible(bool visible0) +void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6097,480 +2904,504 @@ if (_wrapper) { } } } - QLabel::setVisible(visible0); + QInputDialog::timerEvent(event0); } -QPainter* PythonQtShell_QLabel::sharedPainter() const +void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::sharedPainter(); + QInputDialog::wheelEvent(event0); } -void PythonQtShell_QLabel::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QInputDialog* PythonQtWrapper_QInputDialog::new_QInputDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QInputDialog(parent, flags); } + +const QMetaObject* PythonQtShell_QInputDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QInputDialog::staticMetaObject); + } else { + return &QInputDialog::staticMetaObject; } } - QLabel::showEvent(event0); +int PythonQtShell_QInputDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QInputDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QInputDialog::cancelButtonText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->cancelButtonText()); +} + +QStringList PythonQtWrapper_QInputDialog::comboBoxItems(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->comboBoxItems()); +} + +int PythonQtWrapper_QInputDialog::doubleDecimals(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleDecimals()); +} + +double PythonQtWrapper_QInputDialog::doubleMaximum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleMaximum()); +} + +double PythonQtWrapper_QInputDialog::doubleMinimum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleMinimum()); +} + +double PythonQtWrapper_QInputDialog::doubleStep(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleStep()); +} + +double PythonQtWrapper_QInputDialog::doubleValue(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->doubleValue()); +} + +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 flags) +{ + return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags)); +} + +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 flags, double step) +{ + return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags, step)); +} + +int PythonQtWrapper_QInputDialog::static_QInputDialog_getInt(QWidget* parent, const QString& title, const QString& label, int value, int minValue, int maxValue, int step, bool* ok, Qt::WindowFlags flags) +{ + return (QInputDialog::getInt(parent, title, label, value, minValue, maxValue, step, ok, flags)); +} + +QString PythonQtWrapper_QInputDialog::static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& items, int current, bool editable, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) +{ + return (QInputDialog::getItem(parent, title, label, items, current, editable, ok, flags, inputMethodHints)); +} + +QString PythonQtWrapper_QInputDialog::static_QInputDialog_getMultiLineText(QWidget* parent, const QString& title, const QString& label, const QString& text, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) +{ + return (QInputDialog::getMultiLineText(parent, title, label, text, ok, flags, inputMethodHints)); +} + +QString PythonQtWrapper_QInputDialog::static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo, const QString& text, bool* ok, Qt::WindowFlags flags, Qt::InputMethodHints inputMethodHints) +{ + return (QInputDialog::getText(parent, title, label, echo, text, ok, flags, inputMethodHints)); +} + +QInputDialog::InputMode PythonQtWrapper_QInputDialog::inputMode(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->inputMode()); +} + +int PythonQtWrapper_QInputDialog::intMaximum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intMaximum()); +} + +int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intMinimum()); +} + +int PythonQtWrapper_QInputDialog::intStep(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intStep()); +} + +int PythonQtWrapper_QInputDialog::intValue(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intValue()); +} + +bool PythonQtWrapper_QInputDialog::isComboBoxEditable(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->isComboBoxEditable()); +} + +QString PythonQtWrapper_QInputDialog::labelText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->labelText()); +} + +QString PythonQtWrapper_QInputDialog::okButtonText(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->okButtonText()); +} + +void PythonQtWrapper_QInputDialog::open(QInputDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QInputDialog::InputDialogOptions PythonQtWrapper_QInputDialog::options(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +void PythonQtWrapper_QInputDialog::setCancelButtonText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setCancelButtonText(text)); +} + +void PythonQtWrapper_QInputDialog::setComboBoxEditable(QInputDialog* theWrappedObject, bool editable) +{ + ( theWrappedObject->setComboBoxEditable(editable)); +} + +void PythonQtWrapper_QInputDialog::setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items) +{ + ( theWrappedObject->setComboBoxItems(items)); +} + +void PythonQtWrapper_QInputDialog::setDoubleDecimals(QInputDialog* theWrappedObject, int decimals) +{ + ( theWrappedObject->setDoubleDecimals(decimals)); +} + +void PythonQtWrapper_QInputDialog::setDoubleMaximum(QInputDialog* theWrappedObject, double max) +{ + ( theWrappedObject->setDoubleMaximum(max)); +} + +void PythonQtWrapper_QInputDialog::setDoubleMinimum(QInputDialog* theWrappedObject, double min) +{ + ( theWrappedObject->setDoubleMinimum(min)); +} + +void PythonQtWrapper_QInputDialog::setDoubleRange(QInputDialog* theWrappedObject, double min, double max) +{ + ( theWrappedObject->setDoubleRange(min, max)); +} + +void PythonQtWrapper_QInputDialog::setDoubleStep(QInputDialog* theWrappedObject, double step) +{ + ( theWrappedObject->setDoubleStep(step)); +} + +void PythonQtWrapper_QInputDialog::setDoubleValue(QInputDialog* theWrappedObject, double value) +{ + ( theWrappedObject->setDoubleValue(value)); +} + +void PythonQtWrapper_QInputDialog::setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode) +{ + ( theWrappedObject->setInputMode(mode)); } -QSize PythonQtShell_QLabel::sizeHint() const + +void PythonQtWrapper_QInputDialog::setIntMaximum(QInputDialog* theWrappedObject, int max) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setIntMaximum(max)); } - return QLabel::sizeHint(); + +void PythonQtWrapper_QInputDialog::setIntMinimum(QInputDialog* theWrappedObject, int min) +{ + ( theWrappedObject->setIntMinimum(min)); } -void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) + +void PythonQtWrapper_QInputDialog::setIntRange(QInputDialog* theWrappedObject, int min, int max) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setIntRange(min, max)); } - QLabel::tabletEvent(event0); + +void PythonQtWrapper_QInputDialog::setIntStep(QInputDialog* theWrappedObject, int step) +{ + ( theWrappedObject->setIntStep(step)); } -void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) + +void PythonQtWrapper_QInputDialog::setIntValue(QInputDialog* theWrappedObject, int value) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setIntValue(value)); } - QLabel::wheelEvent(event0); + +void PythonQtWrapper_QInputDialog::setLabelText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setLabelText(text)); } -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_QInputDialog::setOkButtonText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setOkButtonText(text)); +} -const QMetaObject* PythonQtShell_QLabel::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLabel::staticMetaObject); - } else { - return &QLabel::staticMetaObject; - } +void PythonQtWrapper_QInputDialog::setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); } -int PythonQtShell_QLabel::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QLabel::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +void PythonQtWrapper_QInputDialog::setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); } -Qt::Alignment PythonQtWrapper_QLabel::alignment(QLabel* theWrappedObject) const + +void PythonQtWrapper_QInputDialog::setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode) { - return ( theWrappedObject->alignment()); + ( theWrappedObject->setTextEchoMode(mode)); } -QWidget* PythonQtWrapper_QLabel::buddy(QLabel* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setTextValue(QInputDialog* theWrappedObject, const QString& text) { - return ( theWrappedObject->buddy()); + ( theWrappedObject->setTextValue(text)); } -bool PythonQtWrapper_QLabel::hasScaledContents(QLabel* theWrappedObject) const +bool PythonQtWrapper_QInputDialog::testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const { - return ( theWrappedObject->hasScaledContents()); + return ( theWrappedObject->testOption(option)); } -bool PythonQtWrapper_QLabel::hasSelectedText(QLabel* theWrappedObject) const +QLineEdit::EchoMode PythonQtWrapper_QInputDialog::textEchoMode(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->hasSelectedText()); + return ( theWrappedObject->textEchoMode()); } -int PythonQtWrapper_QLabel::indent(QLabel* theWrappedObject) const +QString PythonQtWrapper_QInputDialog::textValue(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->indent()); + return ( theWrappedObject->textValue()); } -int PythonQtWrapper_QLabel::margin(QLabel* theWrappedObject) const + + +PythonQtShell_QInputEvent::~PythonQtShell_QInputEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +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->margin()); + return ( theWrappedObject->modifiers()); } -QSize PythonQtWrapper_QLabel::minimumSizeHint(QLabel* theWrappedObject) const +void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) { - return ( theWrappedObject->minimumSizeHint()); + ( theWrappedObject->setModifiers(amodifiers)); } -QMovie* PythonQtWrapper_QLabel::movie(QLabel* theWrappedObject) const +void PythonQtWrapper_QInputEvent::setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp) { - return ( theWrappedObject->movie()); + ( theWrappedObject->setTimestamp(atimestamp)); } -bool PythonQtWrapper_QLabel::openExternalLinks(QLabel* theWrappedObject) const +ulong PythonQtWrapper_QInputEvent::timestamp(QInputEvent* theWrappedObject) const { - return ( theWrappedObject->openExternalLinks()); + return ( theWrappedObject->timestamp()); } -const QPicture* PythonQtWrapper_QLabel::picture(QLabel* theWrappedObject) const + + +QRectF PythonQtWrapper_QInputMethod::anchorRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->picture()); + return ( theWrappedObject->anchorRectangle()); } -const QPixmap* PythonQtWrapper_QLabel::pixmap(QLabel* theWrappedObject) const +QRectF PythonQtWrapper_QInputMethod::cursorRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->pixmap()); + return ( theWrappedObject->cursorRectangle()); } -QString PythonQtWrapper_QLabel::selectedText(QLabel* theWrappedObject) const +Qt::LayoutDirection PythonQtWrapper_QInputMethod::inputDirection(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->selectedText()); + return ( theWrappedObject->inputDirection()); } -int PythonQtWrapper_QLabel::selectionStart(QLabel* theWrappedObject) const +QRectF PythonQtWrapper_QInputMethod::inputItemClipRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->selectionStart()); + return ( theWrappedObject->inputItemClipRectangle()); } -void PythonQtWrapper_QLabel::setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1) +QRectF PythonQtWrapper_QInputMethod::inputItemRectangle(QInputMethod* theWrappedObject) const { - ( theWrappedObject->setAlignment(arg__1)); + return ( theWrappedObject->inputItemRectangle()); } -void PythonQtWrapper_QLabel::setBuddy(QLabel* theWrappedObject, QWidget* arg__1) +QTransform PythonQtWrapper_QInputMethod::inputItemTransform(QInputMethod* theWrappedObject) const { - ( theWrappedObject->setBuddy(arg__1)); + return ( theWrappedObject->inputItemTransform()); } -void PythonQtWrapper_QLabel::setIndent(QLabel* theWrappedObject, int arg__1) +bool PythonQtWrapper_QInputMethod::isAnimating(QInputMethod* theWrappedObject) const { - ( theWrappedObject->setIndent(arg__1)); + return ( theWrappedObject->isAnimating()); } -void PythonQtWrapper_QLabel::setMargin(QLabel* theWrappedObject, int arg__1) +bool PythonQtWrapper_QInputMethod::isVisible(QInputMethod* theWrappedObject) const { - ( theWrappedObject->setMargin(arg__1)); + return ( theWrappedObject->isVisible()); } -void PythonQtWrapper_QLabel::setOpenExternalLinks(QLabel* theWrappedObject, bool open) +QRectF PythonQtWrapper_QInputMethod::keyboardRectangle(QInputMethod* theWrappedObject) const { - ( theWrappedObject->setOpenExternalLinks(open)); + return ( theWrappedObject->keyboardRectangle()); } -void PythonQtWrapper_QLabel::setScaledContents(QLabel* theWrappedObject, bool arg__1) +QLocale PythonQtWrapper_QInputMethod::locale(QInputMethod* theWrappedObject) const { - ( theWrappedObject->setScaledContents(arg__1)); + return ( theWrappedObject->locale()); } -void PythonQtWrapper_QLabel::setSelection(QLabel* theWrappedObject, int arg__1, int arg__2) +QVariant PythonQtWrapper_QInputMethod::static_QInputMethod_queryFocusObject(Qt::InputMethodQuery query, QVariant argument) { - ( theWrappedObject->setSelection(arg__1, arg__2)); + return (QInputMethod::queryFocusObject(query, argument)); } -void PythonQtWrapper_QLabel::setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1) +void PythonQtWrapper_QInputMethod::setInputItemRectangle(QInputMethod* theWrappedObject, const QRectF& rect) { - ( theWrappedObject->setTextFormat(arg__1)); + ( theWrappedObject->setInputItemRectangle(rect)); } -void PythonQtWrapper_QLabel::setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags) +void PythonQtWrapper_QInputMethod::setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform) { - ( theWrappedObject->setTextInteractionFlags(flags)); + ( theWrappedObject->setInputItemTransform(transform)); } -void PythonQtWrapper_QLabel::setWordWrap(QLabel* theWrappedObject, bool on) +void PythonQtWrapper_QInputMethod::setVisible(QInputMethod* theWrappedObject, bool visible) { - ( theWrappedObject->setWordWrap(on)); + ( theWrappedObject->setVisible(visible)); } -QString PythonQtWrapper_QLabel::text(QLabel* theWrappedObject) const + + +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent() +{ +return new QInputMethodEvent(); } + +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QInputMethodEvent& other) +{ +return new QInputMethodEvent(other); } + +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QString& preeditText, const QList& attributes) +{ +return new QInputMethodEvent(preeditText, attributes); } + +const QList* PythonQtWrapper_QInputMethodEvent::attributes(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->text()); + return &( theWrappedObject->attributes()); } -Qt::TextFormat PythonQtWrapper_QLabel::textFormat(QLabel* theWrappedObject) const +const QString* PythonQtWrapper_QInputMethodEvent::commitString(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->textFormat()); + return &( theWrappedObject->commitString()); } -Qt::TextInteractionFlags PythonQtWrapper_QLabel::textInteractionFlags(QLabel* theWrappedObject) const +const QString* PythonQtWrapper_QInputMethodEvent::preeditString(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->textInteractionFlags()); + return &( theWrappedObject->preeditString()); +} + +int PythonQtWrapper_QInputMethodEvent::replacementLength(QInputMethodEvent* theWrappedObject) const +{ + return ( theWrappedObject->replacementLength()); +} + +int PythonQtWrapper_QInputMethodEvent::replacementStart(QInputMethodEvent* theWrappedObject) const +{ + return ( theWrappedObject->replacementStart()); } -bool PythonQtWrapper_QLabel::wordWrap(QLabel* theWrappedObject) const +void PythonQtWrapper_QInputMethodEvent::setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom, int replaceLength) { - return ( theWrappedObject->wordWrap()); + ( theWrappedObject->setCommitString(commitString, replaceFrom, replaceLength)); } -PythonQtShell_QLayoutItem::~PythonQtShell_QLayoutItem() { +PythonQtShell_QInputMethodEvent__Attribute::~PythonQtShell_QInputMethodEvent__Attribute() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QLayoutItem::controlTypes(); -} -Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const +QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l) +{ +return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l); } + +QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val) +{ +return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l, val); } + + + +QInputMethodQueryEvent* PythonQtWrapper_QInputMethodQueryEvent::new_QInputMethodQueryEvent(Qt::InputMethodQueries queries) +{ +return new QInputMethodQueryEvent(queries); } + +Qt::InputMethodQueries PythonQtWrapper_QInputMethodQueryEvent::queries(QInputMethodQueryEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return Qt::Orientations(); + return ( theWrappedObject->queries()); } -QRect PythonQtShell_QLayoutItem::geometry() const + +void PythonQtWrapper_QInputMethodQueryEvent::setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QRect(); + ( theWrappedObject->setValue(query, value)); } -bool PythonQtShell_QLayoutItem::hasHeightForWidth() const + +QVariant PythonQtWrapper_QInputMethodQueryEvent::value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->value(query)); } - return QLayoutItem::hasHeightForWidth(); + + + +PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const +void PythonQtShell_QIntValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::heightForWidth(arg__1); + QIntValidator::childEvent(event0); } -void PythonQtShell_QLayoutItem::invalidate() +void PythonQtShell_QIntValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6578,98 +3409,32 @@ if (_wrapper) { } } } - QLayoutItem::invalidate(); + QIntValidator::customEvent(event0); } -bool PythonQtShell_QLayoutItem::isEmpty() const +bool PythonQtShell_QIntValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isEmpty"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return bool(); -} -QSize PythonQtShell_QLayoutItem::maximumSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSize(); -} -int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6677,32 +3442,32 @@ if (_wrapper) { } } } - return QLayoutItem::minimumHeightForWidth(arg__1); + return QIntValidator::event(event0); } -QSize PythonQtShell_QLayoutItem::minimumSize() const +bool PythonQtShell_QIntValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6710,21 +3475,21 @@ if (_wrapper) { } } } - return QSize(); + return QIntValidator::eventFilter(watched0, event1); } -void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) +void PythonQtShell_QIntValidator::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6732,98 +3497,76 @@ if (_wrapper) { } } } - + QIntValidator::fixup(input0); } -QSize PythonQtShell_QLayoutItem::sizeHint() const +void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&bottom0, (void*)&top1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSize(); + QIntValidator::setRange(bottom0, top1); } -QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() +void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("spacerItem"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::spacerItem(); + QIntValidator::timerEvent(event0); } -QWidget* PythonQtShell_QLayoutItem::widget() +QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widget"); + static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { - returnValue = *((QWidget**)args[0]); + returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6831,111 +3574,73 @@ if (_wrapper) { } } } - return QLayoutItem::widget(); + return QIntValidator::validate(arg__1, arg__2); } -QLayoutItem* PythonQtWrapper_QLayoutItem::new_QLayoutItem(Qt::Alignment alignment) +QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(QObject* parent) { -return new PythonQtShell_QLayoutItem(alignment); } - -Qt::Alignment PythonQtWrapper_QLayoutItem::alignment(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->controlTypes()); -} - -Qt::Orientations PythonQtWrapper_QLayoutItem::expandingDirections(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -QRect PythonQtWrapper_QLayoutItem::geometry(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); -} - -bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - -void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -bool PythonQtWrapper_QLayoutItem::isEmpty(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} +return new PythonQtShell_QIntValidator(parent); } -QSize PythonQtWrapper_QLayoutItem::maximumSize(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} +QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(int bottom, int top, QObject* parent) +{ +return new PythonQtShell_QIntValidator(bottom, top, parent); } -int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); +const QMetaObject* PythonQtShell_QIntValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QIntValidator::staticMetaObject); + } else { + return &QIntValidator::staticMetaObject; + } } - -QSize PythonQtWrapper_QLayoutItem::minimumSize(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); +int PythonQtShell_QIntValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QIntValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) +int PythonQtWrapper_QIntValidator::bottom(QIntValidator* theWrappedObject) const { - ( theWrappedObject->setAlignment(a)); + return ( theWrappedObject->bottom()); } -void PythonQtWrapper_QLayoutItem::setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1) +void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1) { - ( theWrappedObject->setGeometry(arg__1)); + ( theWrappedObject->setBottom(arg__1)); } -QSize PythonQtWrapper_QLayoutItem::sizeHint(QLayoutItem* theWrappedObject) const +void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top) { - return ( theWrappedObject->sizeHint()); + ( theWrappedObject->setRange(bottom, top)); } -QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) +void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1) { - return ( theWrappedObject->spacerItem()); + ( theWrappedObject->setTop(arg__1)); } -QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) +int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const { - return ( theWrappedObject->widget()); + return ( theWrappedObject->top()); } -PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { +PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6943,21 +3648,54 @@ if (_wrapper) { } } } - QLineEdit::actionEvent(event0); + QItemDelegate::childEvent(event0); } -void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) +QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("createEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QItemDelegate::createEditor(parent0, option1, index2); +} +void PythonQtShell_QItemDelegate::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6965,21 +3703,21 @@ if (_wrapper) { } } } - QLineEdit::changeEvent(arg__1); + QItemDelegate::customEvent(event0); } -void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("destroyEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6987,21 +3725,21 @@ if (_wrapper) { } } } - QLineEdit::closeEvent(event0); + QItemDelegate::destroyEditor(editor0, index1); } -void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("drawCheck"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "Qt::CheckState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&state3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7009,54 +3747,43 @@ if (_wrapper) { } } } - QLineEdit::contextMenuEvent(arg__1); + QItemDelegate::drawCheck(painter0, option1, rect2, state3); } -int PythonQtShell_QLineEdit::devType() const +void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("drawDecoration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&pixmap3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::devType(); + QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); } -void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) +void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&text3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7064,21 +3791,21 @@ if (_wrapper) { } } } - QLineEdit::dragEnterEvent(arg__1); + QItemDelegate::drawDisplay(painter0, option1, rect2, text3); } -void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&rect2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7086,98 +3813,131 @@ if (_wrapper) { } } } - QLineEdit::dragLeaveEvent(e0); + QItemDelegate::drawFocus(painter0, option1, rect2); } -void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) +bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::dragMoveEvent(e0); + return QItemDelegate::editorEvent(event0, model1, option2, index3); } -void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) +bool PythonQtShell_QItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::dropEvent(arg__1); + return QItemDelegate::event(event0); } -void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) +bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::enterEvent(event0); + return QItemDelegate::eventFilter(object0, event1); } -bool PythonQtShell_QLineEdit::event(QEvent* arg__1) +bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7185,21 +3945,21 @@ if (_wrapper) { } } } - return QLineEdit::event(arg__1); + return QItemDelegate::helpEvent(event0, view1, option2, index3); } -void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) +void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7207,32 +3967,32 @@ if (_wrapper) { } } } - QLineEdit::focusInEvent(arg__1); + QItemDelegate::paint(painter0, option1, index2); } -bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) +QVector PythonQtShell_QItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + static const char* argumentList[] ={"QVector"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QVector returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7240,21 +4000,21 @@ if (_wrapper) { } } } - return QLineEdit::focusNextPrevChild(next0); + return QItemDelegate::paintingRoles(); } -void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7262,65 +4022,54 @@ if (_wrapper) { } } } - QLineEdit::focusOutEvent(arg__1); + QItemDelegate::setEditorData(editor0, index1); } -bool PythonQtShell_QLineEdit::hasHeightForWidth() const +void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::hasHeightForWidth(); + QItemDelegate::setModelData(editor0, model1, index2); } -int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const +QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSize returnValue{}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7328,21 +4077,21 @@ if (_wrapper) { } } } - return QLineEdit::heightForWidth(arg__1); + return QItemDelegate::sizeHint(option0, index1); } -void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7350,21 +4099,21 @@ if (_wrapper) { } } } - QLineEdit::hideEvent(event0); + QItemDelegate::timerEvent(event0); } -void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7372,54 +4121,163 @@ if (_wrapper) { } } } - QLineEdit::initPainter(painter0); + QItemDelegate::updateEditorGeometry(editor0, option1, index2); } -void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) +QItemDelegate* PythonQtWrapper_QItemDelegate::new_QItemDelegate(QObject* parent) +{ +return new PythonQtShell_QItemDelegate(parent); } + +const QMetaObject* PythonQtShell_QItemDelegate::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemDelegate::staticMetaObject); + } else { + return &QItemDelegate::staticMetaObject; + } +} +int PythonQtShell_QItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QItemDelegate::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPixmap PythonQtWrapper_QItemDelegate::decoration(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_decoration(option, variant)); +} + +QRect PythonQtWrapper_QItemDelegate::doCheck(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_doCheck(option, bounding, variant)); +} + +void PythonQtWrapper_QItemDelegate::drawBackground(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawBackground(painter, option, 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)); +} + +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::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::drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const +{ + ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_drawFocus(painter, option, rect)); +} + +bool PythonQtWrapper_QItemDelegate::hasClipping(QItemDelegate* theWrappedObject) const +{ + return ( theWrappedObject->hasClipping()); +} + +QItemEditorFactory* PythonQtWrapper_QItemDelegate::itemEditorFactory(QItemDelegate* theWrappedObject) const +{ + return ( theWrappedObject->itemEditorFactory()); +} + +QRect PythonQtWrapper_QItemDelegate::rect(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index, int role) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_rect(option, index, role)); +} + +QPixmap PythonQtWrapper_QItemDelegate::static_QItemDelegate_selectedPixmap(const QPixmap& pixmap, const QPalette& palette, bool enabled) +{ + return (PythonQtPublicPromoter_QItemDelegate::promoted_selectedPixmap(pixmap, palette, enabled)); +} + +void PythonQtWrapper_QItemDelegate::setClipping(QItemDelegate* theWrappedObject, bool clip) +{ + ( theWrappedObject->setClipping(clip)); +} + +void PythonQtWrapper_QItemDelegate::setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory) +{ + ( theWrappedObject->setItemEditorFactory(factory)); +} + +QStyleOptionViewItem PythonQtWrapper_QItemDelegate::setOptions(QItemDelegate* theWrappedObject, const QModelIndex& index, const QStyleOptionViewItem& option) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setOptions(index, option)); +} + +QRect PythonQtWrapper_QItemDelegate::textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_textRectangle(painter, rect, font, text)); +} + + + +PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QWidget* returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::inputMethodEvent(arg__1); + return nullptr; } -QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QByteArray"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QByteArray returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7427,241 +4285,422 @@ if (_wrapper) { } } } - return QLineEdit::inputMethodQuery(arg__1); + return QByteArray(); } -void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) +QItemEditorCreatorBase* PythonQtWrapper_QItemEditorCreatorBase::new_QItemEditorCreatorBase() +{ +return new PythonQtShell_QItemEditorCreatorBase(); } + +QWidget* PythonQtWrapper_QItemEditorCreatorBase::createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const +{ + return ( theWrappedObject->createWidget(parent)); +} + +QByteArray PythonQtWrapper_QItemEditorCreatorBase::valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const +{ + return ( theWrappedObject->valuePropertyName()); +} + + + +PythonQtShell_QItemEditorFactory::~PythonQtShell_QItemEditorFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QWidget*" , "int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QWidget* returnValue{}; + void* args[3] = {nullptr, (void*)&userType0, (void*)&parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::keyPressEvent(arg__1); + return QItemEditorFactory::createEditor(userType0, parent1); } -void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) +QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QByteArray" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QByteArray returnValue{}; + void* args[2] = {nullptr, (void*)&userType0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::keyReleaseEvent(event0); + return QItemEditorFactory::valuePropertyName(userType0); +} +QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::new_QItemEditorFactory() +{ +return new PythonQtShell_QItemEditorFactory(); } + +QWidget* PythonQtWrapper_QItemEditorFactory::createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const +{ + return ( theWrappedObject->createEditor(userType, parent)); +} + +const QItemEditorFactory* PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_defaultFactory() +{ + return (QItemEditorFactory::defaultFactory()); +} + +void PythonQtWrapper_QItemEditorFactory::registerEditor(QItemEditorFactory* theWrappedObject, int userType, QItemEditorCreatorBase* creator) +{ + ( theWrappedObject->registerEditor(userType, creator)); +} + +void PythonQtWrapper_QItemEditorFactory::static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory) +{ + (QItemEditorFactory::setDefaultFactory(factory)); +} + +QByteArray PythonQtWrapper_QItemEditorFactory::valuePropertyName(QItemEditorFactory* theWrappedObject, int userType) const +{ + return ( theWrappedObject->valuePropertyName(userType)); +} + + + +QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection() +{ +return new QItemSelection(); } + +QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ +return new QItemSelection(topLeft, bottomRight); } + +void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->append(t)); +} + +void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QList& t) +{ + ( theWrappedObject->append(t)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::at(QItemSelection* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::back(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->back()); +} + +void PythonQtWrapper_QItemSelection::clear(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::constFirst(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::constLast(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->contains(index)); +} + +int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->count(t)); +} + +void PythonQtWrapper_QItemSelection::detachShared(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->detachShared()); +} + +bool PythonQtWrapper_QItemSelection::empty(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QItemSelection::endsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::first(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QList PythonQtWrapper_QItemSelection::static_QItemSelection_fromVector(const QVector& vector) +{ + return (QItemSelection::fromVector(vector)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::front(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->front()); +} + +int PythonQtWrapper_QItemSelection::indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +QList PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->indexes()); +} + +bool PythonQtWrapper_QItemSelection::isEmpty(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QItemSelection::isSharedWith(QItemSelection* theWrappedObject, const QList& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QItemSelectionRange* PythonQtWrapper_QItemSelection::last(QItemSelection* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QItemSelection::lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QItemSelection::length(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->merge(other, command)); +} + +QList PythonQtWrapper_QItemSelection::mid(QItemSelection* theWrappedObject, int pos, int length) const +{ + return ( theWrappedObject->mid(pos, length)); +} + +void PythonQtWrapper_QItemSelection::move(QItemSelection* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QItemSelection::__ne__(QItemSelection* theWrappedObject, const QList& l) const +{ + return ( (*theWrappedObject)!= l); +} + +bool PythonQtWrapper_QItemSelection::__eq__(QItemSelection* theWrappedObject, const QList& l) const +{ + return ( (*theWrappedObject)== l); +} + +void PythonQtWrapper_QItemSelection::pop_back(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QItemSelection::pop_front(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->prepend(t)); +} + +void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->push_front(t)); +} + +int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QItemSelection::reserve(QItemSelection* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) +{ + ( theWrappedObject->select(topLeft, bottomRight)); } -void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) + +void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSharable(sharable)); } - QLineEdit::leaveEvent(event0); + +int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) const +{ + return ( theWrappedObject->size()); } -int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + (QItemSelection::split(range, other, result)); } - return QLineEdit::metric(arg__1); + +bool PythonQtWrapper_QItemSelection::startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->startsWith(t)); } -QSize PythonQtShell_QLineEdit::minimumSizeHint() const + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, QList& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swap(other)); } - return QLineEdit::minimumSizeHint(); + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swap(i, j)); } -void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) + +void PythonQtWrapper_QItemSelection::swapItemsAt(QItemSelection* theWrappedObject, int i, int j) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swapItemsAt(i, j)); } - QLineEdit::mouseDoubleClickEvent(arg__1); + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); } -void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->takeFirst()); } - QLineEdit::mouseMoveEvent(arg__1); + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); } -void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) + +QVector PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toVector()); } - QLineEdit::mousePressEvent(arg__1); + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); } -void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->value(i, defaultValue)); } - QLineEdit::mouseReleaseEvent(arg__1); + + + +PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7669,87 +4708,65 @@ if (_wrapper) { } } } - QLineEdit::moveEvent(event0); + QItemSelectionModel::childEvent(event0); } -bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QItemSelectionModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::nativeEvent(eventType0, message1, result2); + QItemSelectionModel::clear(); } -QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const +void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::paintEngine(); + QItemSelectionModel::clearCurrentIndex(); } -void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QItemSelectionModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7757,32 +4774,32 @@ if (_wrapper) { } } } - QLineEdit::paintEvent(arg__1); + QItemSelectionModel::customEvent(event0); } -QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const +bool PythonQtShell_QItemSelectionModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7790,98 +4807,76 @@ if (_wrapper) { } } } - return QLineEdit::redirected(offset0); -} -void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QLineEdit::resizeEvent(event0); + return QItemSelectionModel::event(event0); } -void PythonQtShell_QLineEdit::setVisible(bool visible0) +bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::setVisible(visible0); + return QItemSelectionModel::eventFilter(watched0, event1); } -QPainter* PythonQtShell_QLineEdit::sharedPainter() const +void PythonQtShell_QItemSelectionModel::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::sharedPainter(); + QItemSelectionModel::reset(); } -void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selection0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7889,54 +4884,43 @@ if (_wrapper) { } } } - QLineEdit::showEvent(event0); + QItemSelectionModel::select(selection0, command1); } -QSize PythonQtShell_QLineEdit::sizeHint() const +void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::sizeHint(); + QItemSelectionModel::select(index0, command1); } -void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7944,21 +4928,21 @@ if (_wrapper) { } } } - QLineEdit::tabletEvent(event0); + QItemSelectionModel::setCurrentIndex(index0, command1); } -void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7966,390 +4950,539 @@ if (_wrapper) { } } } - QLineEdit::wheelEvent(event0); + QItemSelectionModel::timerEvent(event0); } -QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(QWidget* parent) +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model) { -return new PythonQtShell_QLineEdit(parent); } +return new PythonQtShell_QItemSelectionModel(model); } -QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(const QString& arg__1, QWidget* parent) +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent) { -return new PythonQtShell_QLineEdit(arg__1, parent); } +return new PythonQtShell_QItemSelectionModel(model, parent); } -const QMetaObject* PythonQtShell_QLineEdit::metaObject() const { +const QMetaObject* PythonQtShell_QItemSelectionModel::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLineEdit::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemSelectionModel::staticMetaObject); } else { - return &QLineEdit::staticMetaObject; + return &QItemSelectionModel::staticMetaObject; } } -int PythonQtShell_QLineEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QLineEdit::qt_metacall(call, id, args); +int PythonQtShell_QItemSelectionModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QItemSelectionModel::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position) -{ - ( theWrappedObject->addAction(action, position)); -} - -QAction* PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position) -{ - return ( theWrappedObject->addAction(icon, position)); -} - -Qt::Alignment PythonQtWrapper_QLineEdit::alignment(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QLineEdit::backspace(QLineEdit* theWrappedObject) -{ - ( theWrappedObject->backspace()); -} - -QCompleter* PythonQtWrapper_QLineEdit::completer(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->completer()); -} - -QMenu* PythonQtWrapper_QLineEdit::createStandardContextMenu(QLineEdit* theWrappedObject) -{ - return ( theWrappedObject->createStandardContextMenu()); -} - -void PythonQtWrapper_QLineEdit::cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps) -{ - ( theWrappedObject->cursorBackward(mark, steps)); -} - -void PythonQtWrapper_QLineEdit::cursorForward(QLineEdit* theWrappedObject, bool mark, int steps) -{ - ( theWrappedObject->cursorForward(mark, steps)); -} - -Qt::CursorMoveStyle PythonQtWrapper_QLineEdit::cursorMoveStyle(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const { - return ( theWrappedObject->cursorMoveStyle()); + return ( theWrappedObject->columnIntersectsSelection(column, parent)); } -int PythonQtWrapper_QLineEdit::cursorPosition(QLineEdit* theWrappedObject) const +QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const { - return ( theWrappedObject->cursorPosition()); + return ( theWrappedObject->currentIndex()); } -int PythonQtWrapper_QLineEdit::cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos) +void PythonQtWrapper_QItemSelectionModel::emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection) { - return ( theWrappedObject->cursorPositionAt(pos)); + ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_emitSelectionChanged(newSelection, oldSelection)); } -QRect PythonQtWrapper_QLineEdit::cursorRect(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_cursorRect()); + return ( theWrappedObject->hasSelection()); } -void PythonQtWrapper_QLineEdit::cursorWordBackward(QLineEdit* theWrappedObject, bool mark) +bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const { - ( theWrappedObject->cursorWordBackward(mark)); + return ( theWrappedObject->isColumnSelected(column, parent)); } -void PythonQtWrapper_QLineEdit::cursorWordForward(QLineEdit* theWrappedObject, bool mark) +bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const { - ( theWrappedObject->cursorWordForward(mark)); + return ( theWrappedObject->isRowSelected(row, parent)); } -void PythonQtWrapper_QLineEdit::del(QLineEdit* theWrappedObject) +bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const { - ( theWrappedObject->del()); + return ( theWrappedObject->isSelected(index)); } -void PythonQtWrapper_QLineEdit::deselect(QLineEdit* theWrappedObject) +QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) { - ( theWrappedObject->deselect()); + return ( theWrappedObject->model()); } -QString PythonQtWrapper_QLineEdit::displayText(QLineEdit* theWrappedObject) const +const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const { - return ( theWrappedObject->displayText()); + return ( theWrappedObject->model()); } -bool PythonQtWrapper_QLineEdit::dragEnabled(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const { - return ( theWrappedObject->dragEnabled()); + return ( theWrappedObject->rowIntersectsSelection(row, parent)); } -QLineEdit::EchoMode PythonQtWrapper_QLineEdit::echoMode(QLineEdit* theWrappedObject) const +QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const { - return ( theWrappedObject->echoMode()); + return ( theWrappedObject->selectedColumns(row)); } -void PythonQtWrapper_QLineEdit::end(QLineEdit* theWrappedObject, bool mark) +QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const { - ( theWrappedObject->end(mark)); + return ( theWrappedObject->selectedIndexes()); } -void PythonQtWrapper_QLineEdit::getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const +QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const { - ( theWrappedObject->getTextMargins(left, top, right, bottom)); + return ( theWrappedObject->selectedRows(column)); } -bool PythonQtWrapper_QLineEdit::hasAcceptableInput(QLineEdit* theWrappedObject) const +const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const { - return ( theWrappedObject->hasAcceptableInput()); + return ( theWrappedObject->selection()); } -bool PythonQtWrapper_QLineEdit::hasFrame(QLineEdit* theWrappedObject) const +void PythonQtWrapper_QItemSelectionModel::setModel(QItemSelectionModel* theWrappedObject, QAbstractItemModel* model) { - return ( theWrappedObject->hasFrame()); + ( theWrappedObject->setModel(model)); } -bool PythonQtWrapper_QLineEdit::hasSelectedText(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->hasSelectedText()); -} -void PythonQtWrapper_QLineEdit::home(QLineEdit* theWrappedObject, bool mark) -{ - ( theWrappedObject->home(mark)); -} -void PythonQtWrapper_QLineEdit::initStyleOption(QLineEdit* theWrappedObject, QStyleOptionFrame* option) const -{ - ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_initStyleOption(option)); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange() +{ +return new QItemSelectionRange(); } -QString PythonQtWrapper_QLineEdit::inputMask(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->inputMask()); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other) +{ +return new QItemSelectionRange(other); } -QVariant PythonQtWrapper_QLineEdit::inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery property, QVariant argument) const -{ - return ( theWrappedObject->inputMethodQuery(property, argument)); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index) +{ +return new QItemSelectionRange(index); } -void PythonQtWrapper_QLineEdit::insert(QLineEdit* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->insert(arg__1)); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topL, const QModelIndex& bottomR) +{ +return new QItemSelectionRange(topL, bottomR); } -bool PythonQtWrapper_QLineEdit::isClearButtonEnabled(QLineEdit* theWrappedObject) const +int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->isClearButtonEnabled()); + return ( theWrappedObject->bottom()); } -bool PythonQtWrapper_QLineEdit::isModified(QLineEdit* theWrappedObject) const +const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->isModified()); + return &( theWrappedObject->bottomRight()); } -bool PythonQtWrapper_QLineEdit::isReadOnly(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->isReadOnly()); + return ( theWrappedObject->contains(index)); } -bool PythonQtWrapper_QLineEdit::isRedoAvailable(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const { - return ( theWrappedObject->isRedoAvailable()); + return ( theWrappedObject->contains(row, column, parentIndex)); } -bool PythonQtWrapper_QLineEdit::isUndoAvailable(QLineEdit* theWrappedObject) const +int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->isUndoAvailable()); + return ( theWrappedObject->height()); } -int PythonQtWrapper_QLineEdit::maxLength(QLineEdit* theWrappedObject) const +QList PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->maxLength()); + return ( theWrappedObject->indexes()); } -QSize PythonQtWrapper_QLineEdit::minimumSizeHint(QLineEdit* theWrappedObject) const +QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - return ( theWrappedObject->minimumSizeHint()); + return ( theWrappedObject->intersected(other)); } -QString PythonQtWrapper_QLineEdit::placeholderText(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - return ( theWrappedObject->placeholderText()); + return ( theWrappedObject->intersects(other)); } -QString PythonQtWrapper_QLineEdit::selectedText(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionRange::isEmpty(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->selectedText()); + return ( theWrappedObject->isEmpty()); } -int PythonQtWrapper_QLineEdit::selectionEnd(QLineEdit* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->selectionEnd()); + return ( theWrappedObject->isValid()); } -int PythonQtWrapper_QLineEdit::selectionLength(QLineEdit* theWrappedObject) const +int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->selectionLength()); + return ( theWrappedObject->left()); } -int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const +const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->selectionStart()); + return ( theWrappedObject->model()); } -void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) +bool PythonQtWrapper_QItemSelectionRange::__ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->setAlignment(flag)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QLineEdit::setClearButtonEnabled(QLineEdit* theWrappedObject, bool enable) +bool PythonQtWrapper_QItemSelectionRange::__lt__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->setClearButtonEnabled(enable)); + return ( (*theWrappedObject)< other); } -void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::operator_assign(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) { - ( theWrappedObject->setCompleter(completer)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QLineEdit::setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style) +bool PythonQtWrapper_QItemSelectionRange::__eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->setCursorMoveStyle(style)); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) +QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setCursorPosition(arg__1)); + return ( theWrappedObject->parent()); } -void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) +int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setDragEnabled(b)); + return ( theWrappedObject->right()); } -void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) +void PythonQtWrapper_QItemSelectionRange::swap(QItemSelectionRange* theWrappedObject, QItemSelectionRange& other) { - ( theWrappedObject->setEchoMode(arg__1)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) +int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setFrame(arg__1)); + return ( theWrappedObject->top()); } -void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) +const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setInputMask(inputMask)); + return &( theWrappedObject->topLeft()); } -void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) +int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setMaxLength(arg__1)); + return ( theWrappedObject->width()); } -void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setModified(arg__1)); +QString PythonQtWrapper_QItemSelectionRange::py_toString(QItemSelectionRange* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -void PythonQtWrapper_QLineEdit::setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setPlaceholderText(arg__1)); + + +PythonQtShell_QKeyEvent::~PythonQtShell_QKeyEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +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); } -void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) +QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(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 new PythonQtShell_QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count); } + +int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const { - ( theWrappedObject->setReadOnly(arg__1)); + return ( theWrappedObject->count()); } -void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) +bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const { - ( theWrappedObject->setSelection(arg__1, arg__2)); + return ( theWrappedObject->isAutoRepeat()); } -void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins) +int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const { - ( theWrappedObject->setTextMargins(margins)); + return ( theWrappedObject->key()); } -void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom) +bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const { - ( theWrappedObject->setTextMargins(left, top, right, bottom)); + return ( theWrappedObject->matches(key)); } -void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) +Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const { - ( theWrappedObject->setValidator(arg__1)); + return ( theWrappedObject->modifiers()); } -QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const +unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->nativeModifiers()); } -QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const +unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->nativeScanCode()); } -QMargins PythonQtWrapper_QLineEdit::textMargins(QLineEdit* theWrappedObject) const +unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const { - return ( theWrappedObject->textMargins()); + return ( theWrappedObject->nativeVirtualKey()); } -const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const +QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const { - return ( theWrappedObject->validator()); + return ( theWrappedObject->text()); } -QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient() -{ -return new QLinearGradient(); } - -QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(const QPointF& start, const QPointF& finalStop) +PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeyEventTransition::childEvent(event0); +} +void PythonQtShell_QKeyEventTransition::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeyEventTransition::customEvent(event0); +} +bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeyEventTransition::event(e0); +} +bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeyEventTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QKeyEventTransition::eventTest(event0); +} +void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeyEventTransition::onTransition(event0); +} +void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeyEventTransition::timerEvent(event0); +} +QKeyEventTransition* PythonQtWrapper_QKeyEventTransition::new_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState) { -return new QLinearGradient(start, finalStop); } +return new PythonQtShell_QKeyEventTransition(object, type, key, sourceState); } -QLinearGradient* PythonQtWrapper_QLinearGradient::new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop) +QKeyEventTransition* PythonQtWrapper_QKeyEventTransition::new_QKeyEventTransition(QState* sourceState) { -return new QLinearGradient(xStart, yStart, xFinalStop, yFinalStop); } +return new PythonQtShell_QKeyEventTransition(sourceState); } -QPointF PythonQtWrapper_QLinearGradient::finalStop(QLinearGradient* theWrappedObject) const -{ - return ( theWrappedObject->finalStop()); +const QMetaObject* PythonQtShell_QKeyEventTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QKeyEventTransition::staticMetaObject); + } else { + return &QKeyEventTransition::staticMetaObject; + } } - -void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop) -{ - ( theWrappedObject->setFinalStop(stop)); +int PythonQtShell_QKeyEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QKeyEventTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y) +int PythonQtWrapper_QKeyEventTransition::key(QKeyEventTransition* theWrappedObject) const { - ( theWrappedObject->setFinalStop(x, y)); + return ( theWrappedObject->key()); } -void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, const QPointF& start) +Qt::KeyboardModifiers PythonQtWrapper_QKeyEventTransition::modifierMask(QKeyEventTransition* theWrappedObject) const { - ( theWrappedObject->setStart(start)); + return ( theWrappedObject->modifierMask()); } -void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, qreal x, qreal y) +void PythonQtWrapper_QKeyEventTransition::setKey(QKeyEventTransition* theWrappedObject, int key) { - ( theWrappedObject->setStart(x, y)); + ( theWrappedObject->setKey(key)); } -QPointF PythonQtWrapper_QLinearGradient::start(QLinearGradient* theWrappedObject) const +void PythonQtWrapper_QKeyEventTransition::setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) { - return ( theWrappedObject->start()); + ( theWrappedObject->setModifierMask(modifiers)); } -PythonQtShell_QListView::~PythonQtShell_QListView() { +PythonQtShell_QKeySequenceEdit::~PythonQtShell_QKeySequenceEdit() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QListView::actionEvent(QActionEvent* event0) +void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8359,9 +5492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8369,9 +5502,9 @@ if (_wrapper) { } } } - QListView::actionEvent(event0); + QKeySequenceEdit::actionEvent(event0); } -void PythonQtShell_QListView::changeEvent(QEvent* arg__1) +void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8381,9 +5514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8391,21 +5524,21 @@ if (_wrapper) { } } } - QListView::changeEvent(arg__1); + QKeySequenceEdit::changeEvent(arg__1); } -void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QKeySequenceEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8413,9 +5546,9 @@ if (_wrapper) { } } } - QListView::closeEditor(editor0, hint1); + QKeySequenceEdit::childEvent(event0); } -void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8425,31 +5558,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListView::closeEvent(event0); -} -void PythonQtShell_QListView::commitData(QWidget* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8457,9 +5568,9 @@ if (_wrapper) { } } } - QListView::commitData(editor0); + QKeySequenceEdit::closeEvent(event0); } -void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8469,31 +5580,9 @@ if (_wrapper) { if (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; - } else { - PyErr_Clear(); - } - } -} - QListView::contextMenuEvent(arg__1); -} -void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8501,21 +5590,21 @@ if (_wrapper) { } } } - QListView::currentChanged(current0, previous1); + QKeySequenceEdit::contextMenuEvent(event0); } -void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QKeySequenceEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8523,9 +5612,9 @@ if (_wrapper) { } } } - QListView::dataChanged(topLeft0, bottomRight1, roles2); + QKeySequenceEdit::customEvent(event0); } -int PythonQtShell_QListView::devType() const +int PythonQtShell_QKeySequenceEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8536,19 +5625,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8556,31 +5645,9 @@ if (_wrapper) { } } } - return QListView::devType(); -} -void PythonQtShell_QListView::doItemsLayout() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListView::doItemsLayout(); + return QKeySequenceEdit::devType(); } -void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8590,9 +5657,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8600,9 +5667,9 @@ if (_wrapper) { } } } - QListView::dragEnterEvent(event0); + QKeySequenceEdit::dragEnterEvent(event0); } -void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8612,9 +5679,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8622,9 +5689,9 @@ if (_wrapper) { } } } - QListView::dragLeaveEvent(e0); + QKeySequenceEdit::dragLeaveEvent(event0); } -void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8634,9 +5701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8644,9 +5711,9 @@ if (_wrapper) { } } } - QListView::dragMoveEvent(e0); + QKeySequenceEdit::dragMoveEvent(event0); } -void PythonQtShell_QListView::dropEvent(QDropEvent* e0) +void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8656,64 +5723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListView::dropEvent(e0); -} -bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QListView::edit(index0, trigger1, event2); -} -void PythonQtShell_QListView::editorDestroyed(QObject* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8721,9 +5733,9 @@ if (_wrapper) { } } } - QListView::editorDestroyed(editor0); + QKeySequenceEdit::dropEvent(event0); } -void PythonQtShell_QListView::enterEvent(QEvent* event0) +void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8733,9 +5745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8743,9 +5755,9 @@ if (_wrapper) { } } } - QListView::enterEvent(event0); + QKeySequenceEdit::enterEvent(event0); } -bool PythonQtShell_QListView::event(QEvent* e0) +bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8756,19 +5768,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8776,9 +5788,9 @@ if (_wrapper) { } } } - return QListView::event(e0); + return QKeySequenceEdit::event(arg__1); } -bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QKeySequenceEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8789,19 +5801,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8809,9 +5821,9 @@ if (_wrapper) { } } } - return QListView::eventFilter(object0, event1); + return QKeySequenceEdit::eventFilter(watched0, event1); } -void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8821,9 +5833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8831,9 +5843,9 @@ if (_wrapper) { } } } - QListView::focusInEvent(event0); + QKeySequenceEdit::focusInEvent(event0); } -bool PythonQtShell_QListView::focusNextPrevChild(bool next0) +bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8844,19 +5856,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8864,9 +5876,9 @@ if (_wrapper) { } } } - return QListView::focusNextPrevChild(next0); + return QKeySequenceEdit::focusNextPrevChild(next0); } -void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8876,9 +5888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8886,9 +5898,9 @@ if (_wrapper) { } } } - QListView::focusOutEvent(event0); + QKeySequenceEdit::focusOutEvent(event0); } -bool PythonQtShell_QListView::hasHeightForWidth() const +bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8899,19 +5911,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8919,9 +5931,9 @@ if (_wrapper) { } } } - return QListView::hasHeightForWidth(); + return QKeySequenceEdit::hasHeightForWidth(); } -int PythonQtShell_QListView::heightForWidth(int arg__1) const +int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8932,19 +5944,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8952,9 +5964,9 @@ if (_wrapper) { } } } - return QListView::heightForWidth(arg__1); + return QKeySequenceEdit::heightForWidth(arg__1); } -void PythonQtShell_QListView::hideEvent(QHideEvent* event0) +void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8964,9 +5976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8974,54 +5986,21 @@ if (_wrapper) { } } } - QListView::hideEvent(event0); -} -int PythonQtShell_QListView::horizontalOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QListView::horizontalOffset(); + QKeySequenceEdit::hideEvent(event0); } -void PythonQtShell_QListView::horizontalScrollbarAction(int action0) +void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9029,21 +6008,21 @@ if (_wrapper) { } } } - QListView::horizontalScrollbarAction(action0); + QKeySequenceEdit::initPainter(painter0); } -void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9051,32 +6030,32 @@ if (_wrapper) { } } } - QListView::horizontalScrollbarValueChanged(value0); + QKeySequenceEdit::inputMethodEvent(arg__1); } -QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const +QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9084,21 +6063,21 @@ if (_wrapper) { } } } - return QListView::indexAt(p0); + return QKeySequenceEdit::inputMethodQuery(arg__1); } -void PythonQtShell_QListView::initPainter(QPainter* painter0) const +void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9106,21 +6085,21 @@ if (_wrapper) { } } } - QListView::initPainter(painter0); + QKeySequenceEdit::keyPressEvent(arg__1); } -void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9128,32 +6107,54 @@ if (_wrapper) { } } } - QListView::inputMethodEvent(event0); + QKeySequenceEdit::keyReleaseEvent(arg__1); } -QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::leaveEvent(event0); +} +int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9161,32 +6162,32 @@ if (_wrapper) { } } } - return QListView::inputMethodQuery(query0); + return QKeySequenceEdit::metric(arg__1); } -bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const +QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9194,21 +6195,21 @@ if (_wrapper) { } } } - return QListView::isIndexHidden(index0); + return QKeySequenceEdit::minimumSizeHint(); } -void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9216,21 +6217,21 @@ if (_wrapper) { } } } - QListView::keyPressEvent(event0); + QKeySequenceEdit::mouseDoubleClickEvent(event0); } -void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9238,21 +6239,21 @@ if (_wrapper) { } } } - QListView::keyReleaseEvent(event0); + QKeySequenceEdit::mouseMoveEvent(event0); } -void PythonQtShell_QListView::keyboardSearch(const QString& search0) +void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9260,21 +6261,21 @@ if (_wrapper) { } } } - QListView::keyboardSearch(search0); + QKeySequenceEdit::mousePressEvent(event0); } -void PythonQtShell_QListView::leaveEvent(QEvent* event0) +void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9282,65 +6283,54 @@ if (_wrapper) { } } } - QListView::leaveEvent(event0); + QKeySequenceEdit::mouseReleaseEvent(event0); } -int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::metric(arg__1); + QKeySequenceEdit::moveEvent(event0); } -QSize PythonQtShell_QListView::minimumSizeHint() const +bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9348,43 +6338,54 @@ if (_wrapper) { } } } - return QListView::minimumSizeHint(); + return QKeySequenceEdit::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) +QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::mouseDoubleClickEvent(event0); + return QKeySequenceEdit::paintEngine(); } -void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9392,43 +6393,54 @@ if (_wrapper) { } } } - QListView::mouseMoveEvent(e0); + QKeySequenceEdit::paintEvent(event0); } -void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) +QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::mousePressEvent(event0); + return QKeySequenceEdit::redirected(offset0); } -void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9436,54 +6448,21 @@ if (_wrapper) { } } } - QListView::mouseReleaseEvent(e0); -} -QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QListView::moveCursor(cursorAction0, modifiers1); + QKeySequenceEdit::resizeEvent(event0); } -void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9491,32 +6470,32 @@ if (_wrapper) { } } } - QListView::moveEvent(event0); + QKeySequenceEdit::setVisible(visible0); } -bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9524,32 +6503,54 @@ if (_wrapper) { } } } - return QListView::nativeEvent(eventType0, message1, result2); + return QKeySequenceEdit::sharedPainter(); } -QPaintEngine* PythonQtShell_QListView::paintEngine() const +void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QKeySequenceEdit::showEvent(event0); +} +QSize PythonQtShell_QKeySequenceEdit::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9557,21 +6558,21 @@ if (_wrapper) { } } } - return QListView::paintEngine(); + return QKeySequenceEdit::sizeHint(); } -void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) +void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9579,54 +6580,43 @@ if (_wrapper) { } } } - QListView::paintEvent(e0); + QKeySequenceEdit::tabletEvent(event0); } -QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const +void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::redirected(offset0); + QKeySequenceEdit::timerEvent(arg__1); } -void PythonQtShell_QListView::reset() +void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9634,21 +6624,53 @@ if (_wrapper) { } } } - QListView::reset(); + QKeySequenceEdit::wheelEvent(event0); } -void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) +QKeySequenceEdit* PythonQtWrapper_QKeySequenceEdit::new_QKeySequenceEdit(QWidget* parent) +{ +return new PythonQtShell_QKeySequenceEdit(parent); } + +QKeySequenceEdit* PythonQtWrapper_QKeySequenceEdit::new_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent) +{ +return new PythonQtShell_QKeySequenceEdit(keySequence, parent); } + +const QMetaObject* PythonQtShell_QKeySequenceEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QKeySequenceEdit::staticMetaObject); + } else { + return &QKeySequenceEdit::staticMetaObject; + } +} +int PythonQtShell_QKeySequenceEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QKeySequenceEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QKeySequence PythonQtWrapper_QKeySequenceEdit::keySequence(QKeySequenceEdit* theWrappedObject) const +{ + return ( theWrappedObject->keySequence()); +} + + + +PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9656,21 +6678,21 @@ if (_wrapper) { } } } - QListView::resizeEvent(e0); + QLCDNumber::actionEvent(event0); } -void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9678,21 +6700,21 @@ if (_wrapper) { } } } - QListView::rowsAboutToBeRemoved(parent0, start1, end2); + QLCDNumber::changeEvent(arg__1); } -void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QLCDNumber::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9700,21 +6722,21 @@ if (_wrapper) { } } } - QListView::rowsInserted(parent0, start1, end2); + QLCDNumber::childEvent(event0); } -void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9722,21 +6744,21 @@ if (_wrapper) { } } } - QListView::scrollContentsBy(dx0, dy1); + QLCDNumber::closeEvent(event0); } -void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9744,21 +6766,21 @@ if (_wrapper) { } } } - QListView::scrollTo(index0, hint1); + QLCDNumber::contextMenuEvent(event0); } -void PythonQtShell_QListView::selectAll() +void PythonQtShell_QLCDNumber::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9766,32 +6788,32 @@ if (_wrapper) { } } } - QListView::selectAll(); + QLCDNumber::customEvent(event0); } -QList PythonQtShell_QListView::selectedIndexes() const +int PythonQtShell_QLCDNumber::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9799,21 +6821,21 @@ if (_wrapper) { } } } - return QListView::selectedIndexes(); + return QLCDNumber::devType(); } -void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9821,54 +6843,43 @@ if (_wrapper) { } } } - QListView::selectionChanged(selected0, deselected1); + QLCDNumber::dragEnterEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&event1}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::selectionCommand(index0, event1); + QLCDNumber::dragLeaveEvent(event0); } -void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9876,21 +6887,21 @@ if (_wrapper) { } } } - QListView::setModel(model0); + QLCDNumber::dragMoveEvent(event0); } -void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9898,21 +6909,21 @@ if (_wrapper) { } } } - QListView::setRootIndex(index0); + QLCDNumber::dropEvent(event0); } -void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9920,65 +6931,87 @@ if (_wrapper) { } } } - QListView::setSelection(rect0, command1); + QLCDNumber::enterEvent(event0); } -void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) +bool PythonQtShell_QLCDNumber::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::setSelectionModel(selectionModel0); + return QLCDNumber::event(e0); } -void PythonQtShell_QListView::setVisible(bool visible0) +bool PythonQtShell_QLCDNumber::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::setVisible(visible0); + return QLCDNumber::eventFilter(watched0, event1); } -void PythonQtShell_QListView::setupViewport(QWidget* viewport0) +void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9986,32 +7019,32 @@ if (_wrapper) { } } } - QListView::setupViewport(viewport0); + QLCDNumber::focusInEvent(event0); } -QPainter* PythonQtShell_QListView::sharedPainter() const +bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10019,21 +7052,21 @@ if (_wrapper) { } } } - return QListView::sharedPainter(); + return QLCDNumber::focusNextPrevChild(next0); } -void PythonQtShell_QListView::showEvent(QShowEvent* event0) +void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10041,32 +7074,32 @@ if (_wrapper) { } } } - QListView::showEvent(event0); + QLCDNumber::focusOutEvent(event0); } -QSize PythonQtShell_QListView::sizeHint() const +bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10074,32 +7107,32 @@ if (_wrapper) { } } } - return QListView::sizeHint(); + return QLCDNumber::hasHeightForWidth(); } -int PythonQtShell_QListView::sizeHintForColumn(int column0) const +int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10107,54 +7140,43 @@ if (_wrapper) { } } } - return QListView::sizeHintForColumn(column0); + return QLCDNumber::heightForWidth(arg__1); } -int PythonQtShell_QListView::sizeHintForRow(int row0) const +void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::sizeHintForRow(row0); + QLCDNumber::hideEvent(event0); } -void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10162,21 +7184,21 @@ if (_wrapper) { } } } - QListView::startDrag(supportedActions0); + QLCDNumber::initPainter(painter0); } -void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10184,43 +7206,54 @@ if (_wrapper) { } } } - QListView::tabletEvent(event0); + QLCDNumber::inputMethodEvent(arg__1); } -void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) +QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::timerEvent(e0); + return QLCDNumber::inputMethodQuery(arg__1); } -void PythonQtShell_QListView::updateEditorData() +void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10228,21 +7261,21 @@ if (_wrapper) { } } } - QListView::updateEditorData(); + QLCDNumber::keyPressEvent(event0); } -void PythonQtShell_QListView::updateEditorGeometries() +void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10250,21 +7283,21 @@ if (_wrapper) { } } } - QListView::updateEditorGeometries(); + QLCDNumber::keyReleaseEvent(event0); } -void PythonQtShell_QListView::updateGeometries() +void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10272,32 +7305,32 @@ if (_wrapper) { } } } - QListView::updateGeometries(); + QLCDNumber::leaveEvent(event0); } -int PythonQtShell_QListView::verticalOffset() const +int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10305,76 +7338,32 @@ if (_wrapper) { } } } - return QListView::verticalOffset(); -} -void PythonQtShell_QListView::verticalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListView::verticalScrollbarAction(action0); -} -void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListView::verticalScrollbarValueChanged(value0); + return QLCDNumber::metric(arg__1); } -QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const +QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10382,153 +7371,109 @@ if (_wrapper) { } } } - return QListView::viewOptions(); + return QLCDNumber::minimumSizeHint(); } -bool PythonQtShell_QListView::viewportEvent(QEvent* event0) +void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::viewportEvent(event0); + QLCDNumber::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QListView::viewportSizeHint() const +void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::viewportSizeHint(); + QLCDNumber::mouseMoveEvent(event0); } -QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::visualRect(index0); + QLCDNumber::mousePressEvent(event0); } -QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::visualRegionForSelection(selection0); + QLCDNumber::mouseReleaseEvent(event0); } -void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10536,263 +7481,87 @@ if (_wrapper) { } } } - QListView::wheelEvent(e0); -} -QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) -{ -return new PythonQtShell_QListView(parent); } - -const QMetaObject* PythonQtShell_QListView::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListView::staticMetaObject); - } else { - return &QListView::staticMetaObject; - } -} -int PythonQtShell_QListView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QListView::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const -{ - return ( theWrappedObject->batchSize()); -} - -void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) -{ - ( theWrappedObject->clearPropertyFlags()); -} - -QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); -} - -QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const -{ - return ( theWrappedObject->flow()); -} - -QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const -{ - return ( theWrappedObject->gridSize()); -} - -bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const -{ - return ( theWrappedObject->isRowHidden(row)); -} - -bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const -{ - return ( theWrappedObject->isSelectionRectVisible()); -} - -bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const -{ - return ( theWrappedObject->isWrapping()); -} - -Qt::Alignment PythonQtWrapper_QListView::itemAlignment(QListView* theWrappedObject) const -{ - return ( theWrappedObject->itemAlignment()); -} - -QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const -{ - return ( theWrappedObject->layoutMode()); -} - -int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const -{ - return ( theWrappedObject->modelColumn()); -} - -QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const -{ - return ( theWrappedObject->movement()); -} - -QRect PythonQtWrapper_QListView::rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rectForIndex(index)); -} - -void PythonQtWrapper_QListView::resizeContents(QListView* theWrappedObject, int width, int height) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeContents(width, height)); -} - -QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const -{ - return ( theWrappedObject->resizeMode()); -} - -void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) -{ - ( theWrappedObject->setBatchSize(batchSize)); -} - -void PythonQtWrapper_QListView::setFlow(QListView* theWrappedObject, QListView::Flow flow) -{ - ( theWrappedObject->setFlow(flow)); -} - -void PythonQtWrapper_QListView::setGridSize(QListView* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setGridSize(size)); -} - -void PythonQtWrapper_QListView::setItemAlignment(QListView* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setItemAlignment(alignment)); -} - -void PythonQtWrapper_QListView::setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode) -{ - ( theWrappedObject->setLayoutMode(mode)); -} - -void PythonQtWrapper_QListView::setModelColumn(QListView* theWrappedObject, int column) -{ - ( theWrappedObject->setModelColumn(column)); -} - -void PythonQtWrapper_QListView::setMovement(QListView* theWrappedObject, QListView::Movement movement) -{ - ( theWrappedObject->setMovement(movement)); -} - -void PythonQtWrapper_QListView::setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index) -{ - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setPositionForIndex(position, index)); -} - -void PythonQtWrapper_QListView::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) -{ - ( theWrappedObject->setResizeMode(mode)); -} - -void PythonQtWrapper_QListView::setRowHidden(QListView* theWrappedObject, int row, bool hide) -{ - ( theWrappedObject->setRowHidden(row, hide)); -} - -void PythonQtWrapper_QListView::setSelectionRectVisible(QListView* theWrappedObject, bool show) -{ - ( theWrappedObject->setSelectionRectVisible(show)); -} - -void PythonQtWrapper_QListView::setSpacing(QListView* theWrappedObject, int space) -{ - ( theWrappedObject->setSpacing(space)); -} - -void PythonQtWrapper_QListView::setUniformItemSizes(QListView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUniformItemSizes(enable)); -} - -void PythonQtWrapper_QListView::setViewMode(QListView* theWrappedObject, QListView::ViewMode mode) -{ - ( theWrappedObject->setViewMode(mode)); -} - -void PythonQtWrapper_QListView::setWordWrap(QListView* theWrappedObject, bool on) -{ - ( theWrappedObject->setWordWrap(on)); -} - -void PythonQtWrapper_QListView::setWrapping(QListView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setWrapping(enable)); -} - -int PythonQtWrapper_QListView::spacing(QListView* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const -{ - return ( theWrappedObject->uniformItemSizes()); -} - -QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const -{ - return ( theWrappedObject->viewMode()); -} - -bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const -{ - return ( theWrappedObject->wordWrap()); -} - - - -PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QLCDNumber::moveEvent(event0); } -void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) +bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::actionEvent(event0); + return QLCDNumber::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) +QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::changeEvent(arg__1); + return QLCDNumber::paintEngine(); } -void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10800,43 +7569,54 @@ if (_wrapper) { } } } - QListWidget::closeEditor(editor0, hint1); + QLCDNumber::paintEvent(arg__1); } -void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) +QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::closeEvent(event0); + return QLCDNumber::redirected(offset0); } -void PythonQtShell_QListWidget::commitData(QWidget* editor0) +void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10844,21 +7624,21 @@ if (_wrapper) { } } } - QListWidget::commitData(editor0); + QLCDNumber::resizeEvent(event0); } -void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QLCDNumber::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10866,43 +7646,54 @@ if (_wrapper) { } } } - QListWidget::contextMenuEvent(arg__1); + QLCDNumber::setVisible(visible0); } -void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::currentChanged(current0, previous1); + return QLCDNumber::sharedPainter(); } -void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10910,32 +7701,32 @@ if (_wrapper) { } } } - QListWidget::dataChanged(topLeft0, bottomRight1, roles2); + QLCDNumber::showEvent(event0); } -int PythonQtShell_QListWidget::devType() const +QSize PythonQtShell_QLCDNumber::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10943,21 +7734,21 @@ if (_wrapper) { } } } - return QListWidget::devType(); + return QLCDNumber::sizeHint(); } -void PythonQtShell_QListWidget::doItemsLayout() +void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10965,21 +7756,21 @@ if (_wrapper) { } } } - QListWidget::doItemsLayout(); + QLCDNumber::tabletEvent(event0); } -void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10987,21 +7778,21 @@ if (_wrapper) { } } } - QListWidget::dragEnterEvent(event0); + QLCDNumber::timerEvent(event0); } -void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11009,43 +7800,103 @@ if (_wrapper) { } } } - QListWidget::dragLeaveEvent(e0); + QLCDNumber::wheelEvent(event0); } -void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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); } + +const QMetaObject* PythonQtShell_QLCDNumber::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLCDNumber::staticMetaObject); + } else { + return &QLCDNumber::staticMetaObject; } } - QListWidget::dragMoveEvent(e0); +int PythonQtShell_QLCDNumber::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLCDNumber::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) +bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, double num) const +{ + return ( theWrappedObject->checkOverflow(num)); +} + +bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, int num) const +{ + return ( theWrappedObject->checkOverflow(num)); +} + +int PythonQtWrapper_QLCDNumber::digitCount(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->digitCount()); +} + +int PythonQtWrapper_QLCDNumber::intValue(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->intValue()); +} + +QLCDNumber::Mode PythonQtWrapper_QLCDNumber::mode(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->mode()); +} + +QLCDNumber::SegmentStyle PythonQtWrapper_QLCDNumber::segmentStyle(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->segmentStyle()); +} + +void PythonQtWrapper_QLCDNumber::setDigitCount(QLCDNumber* theWrappedObject, int nDigits) +{ + ( theWrappedObject->setDigitCount(nDigits)); +} + +void PythonQtWrapper_QLCDNumber::setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1) +{ + ( theWrappedObject->setMode(arg__1)); +} + +void PythonQtWrapper_QLCDNumber::setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1) +{ + ( theWrappedObject->setSegmentStyle(arg__1)); +} + +bool PythonQtWrapper_QLCDNumber::smallDecimalPoint(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->smallDecimalPoint()); +} + +double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QLabel::~PythonQtShell_QLabel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11053,87 +7904,65 @@ if (_wrapper) { } } } - QListWidget::dropEvent(event0); + QLabel::actionEvent(event0); } -bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* data1, Qt::DropAction action2) +void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&data1, (void*)&action2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::dropMimeData(index0, data1, action2); + QLabel::changeEvent(arg__1); } -bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +void PythonQtShell_QLabel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&trigger1, (void*)&event2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::edit(index0, trigger1, event2); + QLabel::childEvent(event0); } -void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) +void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11141,21 +7970,21 @@ if (_wrapper) { } } } - QListWidget::editorDestroyed(editor0); + QLabel::closeEvent(event0); } -void PythonQtShell_QListWidget::enterEvent(QEvent* event0) +void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11163,65 +7992,54 @@ if (_wrapper) { } } } - QListWidget::enterEvent(event0); + QLabel::contextMenuEvent(ev0); } -bool PythonQtShell_QListWidget::event(QEvent* e0) +void PythonQtShell_QLabel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::event(e0); + QLabel::customEvent(event0); } -bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) +int PythonQtShell_QLabel::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11229,21 +8047,21 @@ if (_wrapper) { } } } - return QListWidget::eventFilter(object0, event1); + return QLabel::devType(); } -void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11251,54 +8069,43 @@ if (_wrapper) { } } } - QListWidget::focusInEvent(event0); + QLabel::dragEnterEvent(event0); } -bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::focusNextPrevChild(next0); + QLabel::dragLeaveEvent(event0); } -void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11306,87 +8113,43 @@ if (_wrapper) { } } } - QListWidget::focusOutEvent(event0); -} -bool PythonQtShell_QListWidget::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QListWidget::hasHeightForWidth(); + QLabel::dragMoveEvent(event0); } -int PythonQtShell_QListWidget::heightForWidth(int arg__1) const +void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::heightForWidth(arg__1); + QLabel::dropEvent(event0); } -void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QLabel::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11394,32 +8157,32 @@ if (_wrapper) { } } } - QListWidget::hideEvent(event0); + QLabel::enterEvent(event0); } -int PythonQtShell_QListWidget::horizontalOffset() const +bool PythonQtShell_QLabel::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11427,43 +8190,54 @@ if (_wrapper) { } } } - return QListWidget::horizontalOffset(); + return QLabel::event(e0); } -void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) +bool PythonQtShell_QLabel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::horizontalScrollbarAction(action0); + return QLabel::eventFilter(watched0, event1); } -void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11471,32 +8245,32 @@ if (_wrapper) { } } } - QListWidget::horizontalScrollbarValueChanged(value0); + QLabel::focusInEvent(ev0); } -QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const +bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11504,21 +8278,21 @@ if (_wrapper) { } } } - return QListWidget::indexAt(p0); + return QLabel::focusNextPrevChild(next0); } -void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11526,54 +8300,65 @@ if (_wrapper) { } } } - QListWidget::initPainter(painter0); + QLabel::focusOutEvent(ev0); } -void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) +bool PythonQtShell_QLabel::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::inputMethodEvent(event0); + return QLabel::hasHeightForWidth(); } -QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +int PythonQtShell_QLabel::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11581,54 +8366,43 @@ if (_wrapper) { } } } - return QListWidget::inputMethodQuery(query0); + return QLabel::heightForWidth(arg__1); } -bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const +void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::isIndexHidden(index0); + QLabel::hideEvent(event0); } -void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11636,21 +8410,21 @@ if (_wrapper) { } } } - QListWidget::keyPressEvent(event0); + QLabel::initPainter(painter0); } -void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11658,43 +8432,54 @@ if (_wrapper) { } } } - QListWidget::keyReleaseEvent(event0); + QLabel::inputMethodEvent(arg__1); } -void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) +QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::keyboardSearch(search0); + return QLabel::inputMethodQuery(arg__1); } -void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11702,98 +8487,76 @@ if (_wrapper) { } } } - QListWidget::leaveEvent(event0); + QLabel::keyPressEvent(ev0); } -int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::metric(arg__1); + QLabel::keyReleaseEvent(event0); } -QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const +void PythonQtShell_QLabel::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&items0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::mimeData(items0); + QLabel::leaveEvent(event0); } -QStringList PythonQtShell_QListWidget::mimeTypes() const +int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11801,9 +8564,9 @@ if (_wrapper) { } } } - return QListWidget::mimeTypes(); + return QLabel::metric(arg__1); } -QSize PythonQtShell_QListWidget::minimumSizeHint() const +QSize PythonQtShell_QLabel::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11814,19 +8577,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11834,9 +8597,9 @@ if (_wrapper) { } } } - return QListWidget::minimumSizeHint(); + return QLabel::minimumSizeHint(); } -void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11846,9 +8609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11856,9 +8619,9 @@ if (_wrapper) { } } } - QListWidget::mouseDoubleClickEvent(event0); + QLabel::mouseDoubleClickEvent(event0); } -void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11868,9 +8631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11878,9 +8641,9 @@ if (_wrapper) { } } } - QListWidget::mouseMoveEvent(e0); + QLabel::mouseMoveEvent(ev0); } -void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11890,9 +8653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11900,9 +8663,9 @@ if (_wrapper) { } } } - QListWidget::mousePressEvent(event0); + QLabel::mousePressEvent(ev0); } -void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11912,9 +8675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11922,42 +8685,9 @@ if (_wrapper) { } } } - QListWidget::mouseReleaseEvent(e0); -} -QModelIndex PythonQtShell_QListWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QListWidget::moveCursor(cursorAction0, modifiers1); + QLabel::mouseReleaseEvent(ev0); } -void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11967,9 +8697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11977,9 +8707,9 @@ if (_wrapper) { } } } - QListWidget::moveEvent(event0); + QLabel::moveEvent(event0); } -bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11990,19 +8720,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12010,9 +8740,9 @@ if (_wrapper) { } } } - return QListWidget::nativeEvent(eventType0, message1, result2); + return QLabel::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QListWidget::paintEngine() const +QPaintEngine* PythonQtShell_QLabel::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12023,19 +8753,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12043,9 +8773,9 @@ if (_wrapper) { } } } - return QListWidget::paintEngine(); + return QLabel::paintEngine(); } -void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) +void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12055,64 +8785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListWidget::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QListWidget::redirected(offset0); -} -void PythonQtShell_QListWidget::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12120,43 +8795,54 @@ if (_wrapper) { } } } - QListWidget::reset(); + QLabel::paintEvent(arg__1); } -void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) +QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::resizeEvent(e0); + return QLabel::redirected(offset0); } -void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12164,21 +8850,21 @@ if (_wrapper) { } } } - QListWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QLabel::resizeEvent(event0); } -void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QLabel::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12186,43 +8872,54 @@ if (_wrapper) { } } } - QListWidget::rowsInserted(parent0, start1, end2); + QLabel::setVisible(visible0); } -void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) +QPainter* PythonQtShell_QLabel::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::scrollContentsBy(dx0, dy1); + return QLabel::sharedPainter(); } -void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QLabel::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12230,76 +8927,76 @@ if (_wrapper) { } } } - QListWidget::scrollTo(index0, hint1); + QLabel::showEvent(event0); } -void PythonQtShell_QListWidget::selectAll() +QSize PythonQtShell_QLabel::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::selectAll(); + return QLabel::sizeHint(); } -QList PythonQtShell_QListWidget::selectedIndexes() const +void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::selectedIndexes(); + QLabel::tabletEvent(event0); } -void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QLabel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12307,98 +9004,205 @@ if (_wrapper) { } } } - QListWidget::selectionChanged(selected0, deselected1); + QLabel::timerEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&event1}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::selectionCommand(index0, event1); + QLabel::wheelEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QLabel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLabel::staticMetaObject); + } else { + return &QLabel::staticMetaObject; + } +} +int PythonQtShell_QLabel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLabel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QLabel::alignment(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QWidget* PythonQtWrapper_QLabel::buddy(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->buddy()); +} + +bool PythonQtWrapper_QLabel::hasScaledContents(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->hasScaledContents()); +} + +bool PythonQtWrapper_QLabel::hasSelectedText(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->hasSelectedText()); +} + +int PythonQtWrapper_QLabel::indent(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +int PythonQtWrapper_QLabel::margin(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->margin()); +} + +QSize PythonQtWrapper_QLabel::minimumSizeHint(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QMovie* PythonQtWrapper_QLabel::movie(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->movie()); +} + +bool PythonQtWrapper_QLabel::openExternalLinks(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->openExternalLinks()); +} + +const QPicture* PythonQtWrapper_QLabel::picture(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->picture()); +} + +const QPixmap* PythonQtWrapper_QLabel::pixmap(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +QString PythonQtWrapper_QLabel::selectedText(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +int PythonQtWrapper_QLabel::selectionStart(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->selectionStart()); +} + +void PythonQtWrapper_QLabel::setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1) +{ + ( theWrappedObject->setAlignment(arg__1)); +} + +void PythonQtWrapper_QLabel::setBuddy(QLabel* theWrappedObject, QWidget* arg__1) +{ + ( theWrappedObject->setBuddy(arg__1)); +} + +void PythonQtWrapper_QLabel::setIndent(QLabel* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setIndent(arg__1)); +} + +void PythonQtWrapper_QLabel::setMargin(QLabel* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setMargin(arg__1)); +} + +void PythonQtWrapper_QLabel::setOpenExternalLinks(QLabel* theWrappedObject, bool open) +{ + ( theWrappedObject->setOpenExternalLinks(open)); +} + +void PythonQtWrapper_QLabel::setScaledContents(QLabel* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setScaledContents(arg__1)); +} + +void PythonQtWrapper_QLabel::setSelection(QLabel* theWrappedObject, int arg__1, int arg__2) +{ + ( theWrappedObject->setSelection(arg__1, arg__2)); } -void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) + +void PythonQtWrapper_QLabel::setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTextFormat(arg__1)); } - QListWidget::setRootIndex(index0); + +void PythonQtWrapper_QLabel::setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); } -void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) + +void PythonQtWrapper_QLabel::setWordWrap(QLabel* theWrappedObject, bool on) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWordWrap(on)); } - QListWidget::setSelection(rect0, command1); + +QString PythonQtWrapper_QLabel::text(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->text()); } -void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) + +Qt::TextFormat PythonQtWrapper_QLabel::textFormat(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->textFormat()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QLabel::textInteractionFlags(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +bool PythonQtWrapper_QLabel::wordWrap(QLabel* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +PythonQtShell_QLayout::~PythonQtShell_QLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12406,21 +9210,21 @@ if (_wrapper) { } } } - QListWidget::setSelectionModel(selectionModel0); + } -void PythonQtShell_QListWidget::setVisible(bool visible0) +void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12428,54 +9232,65 @@ if (_wrapper) { } } } - QListWidget::setVisible(visible0); + QLayout::childEvent(e0); } -void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) +QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::setupViewport(viewport0); + return QLayout::controlTypes(); } -QPainter* PythonQtShell_QListWidget::sharedPainter() const +int PythonQtShell_QLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12483,21 +9298,21 @@ if (_wrapper) { } } } - return QListWidget::sharedPainter(); + return int(); } -void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12505,32 +9320,32 @@ if (_wrapper) { } } } - QListWidget::showEvent(event0); + QLayout::customEvent(event0); } -QSize PythonQtShell_QListWidget::sizeHint() const +bool PythonQtShell_QLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12538,32 +9353,32 @@ if (_wrapper) { } } } - return QListWidget::sizeHint(); + return QLayout::event(event0); } -int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const +bool PythonQtShell_QLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12571,32 +9386,32 @@ if (_wrapper) { } } } - return QListWidget::sizeHintForColumn(column0); + return QLayout::eventFilter(watched0, event1); } -int PythonQtShell_QListWidget::sizeHintForRow(int row0) const +Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12604,54 +9419,65 @@ if (_wrapper) { } } } - return QListWidget::sizeHintForRow(row0); + return QLayout::expandingDirections(); } -void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) +QRect PythonQtShell_QLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::startDrag(supportedActions0); + return QLayout::geometry(); } -Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const +bool PythonQtShell_QLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12659,65 +9485,87 @@ if (_wrapper) { } } } - return QListWidget::supportedDropActions(); + return QLayout::hasHeightForWidth(); } -void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) +int PythonQtShell_QLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::tabletEvent(event0); + return QLayout::heightForWidth(arg__1); } -void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) +int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::timerEvent(e0); + return QLayout::indexOf(arg__1); } -void PythonQtShell_QListWidget::updateEditorData() +void PythonQtShell_QLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12725,76 +9573,98 @@ if (_wrapper) { } } } - QListWidget::updateEditorData(); + QLayout::invalidate(); } -void PythonQtShell_QListWidget::updateEditorGeometries() +bool PythonQtShell_QLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::updateEditorGeometries(); + return QLayout::isEmpty(); } -void PythonQtShell_QListWidget::updateGeometries() +QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::updateGeometries(); + return nullptr; } -int PythonQtShell_QListWidget::verticalOffset() const +QLayout* PythonQtShell_QLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12802,76 +9672,98 @@ if (_wrapper) { } } } - return QListWidget::verticalOffset(); + return QLayout::layout(); } -void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) +QSize PythonQtShell_QLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::verticalScrollbarAction(action0); + return QLayout::maximumSize(); } -void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) +int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::verticalScrollbarValueChanged(value0); + return QLayout::minimumHeightForWidth(arg__1); } -QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const +QSize PythonQtShell_QLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12879,65 +9771,54 @@ if (_wrapper) { } } } - return QListWidget::viewOptions(); + return QLayout::minimumSize(); } -bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) +void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::viewportEvent(event0); + QLayout::setGeometry(arg__1); } -QSize PythonQtShell_QListWidget::viewportSizeHint() const +QSize PythonQtShell_QLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12945,32 +9826,32 @@ if (_wrapper) { } } } - return QListWidget::viewportSizeHint(); + return QSize(); } -QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const +QSpacerItem* PythonQtShell_QLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12978,32 +9859,32 @@ if (_wrapper) { } } } - return QListWidget::visualRect(index0); + return QLayout::spacerItem(); } -QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const +QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13011,21 +9892,21 @@ if (_wrapper) { } } } - return QListWidget::visualRegionForSelection(selection0); + return nullptr; } -void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13033,250 +9914,315 @@ if (_wrapper) { } } } - QListWidget::wheelEvent(e0); + QLayout::timerEvent(event0); } -QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) +QWidget* PythonQtShell_QLayout::widget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayout::widget(); +} +QLayout* PythonQtWrapper_QLayout::new_QLayout() { -return new PythonQtShell_QListWidget(parent); } +return new PythonQtShell_QLayout(); } -const QMetaObject* PythonQtShell_QListWidget::metaObject() const { +QLayout* PythonQtWrapper_QLayout::new_QLayout(QWidget* parent) +{ +return new PythonQtShell_QLayout(parent); } + +const QMetaObject* PythonQtShell_QLayout::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLayout::staticMetaObject); } else { - return &QListWidget::staticMetaObject; + return &QLayout::staticMetaObject; } } -int PythonQtShell_QListWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QListWidget::qt_metacall(call, id, args); +int PythonQtShell_QLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLayout::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addItem(item)); -} - -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) +bool PythonQtWrapper_QLayout::activate(QLayout* theWrappedObject) { - ( theWrappedObject->addItem(label)); + return ( theWrappedObject->activate()); } -void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) +void PythonQtWrapper_QLayout::addChildLayout(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP l) { - ( theWrappedObject->addItems(labels)); + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_addChildLayout(l)); } -void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +void PythonQtWrapper_QLayout::addChildWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w) { - ( theWrappedObject->closePersistentEditor(item)); + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_addChildWidget(w)); } -int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const +void PythonQtWrapper_QLayout::addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) { - return ( theWrappedObject->count()); + ( theWrappedObject->addItem(arg__1)); } -QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const +void PythonQtWrapper_QLayout::addWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w) { - return ( theWrappedObject->currentItem()); + ( theWrappedObject->addWidget(w)); } -int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const +bool PythonQtWrapper_QLayout::adoptLayout(QLayout* theWrappedObject, QLayout* layout) { - return ( theWrappedObject->currentRow()); + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_adoptLayout(layout)); } -bool PythonQtWrapper_QListWidget::dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action) +QRect PythonQtWrapper_QLayout::alignmentRect(QLayout* theWrappedObject, const QRect& arg__1) const { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropMimeData(index, data, action)); + return ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_alignmentRect(arg__1)); } -void PythonQtWrapper_QListWidget::editItem(QListWidget* theWrappedObject, QListWidgetItem* item) +QSize PythonQtWrapper_QLayout::static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s) { - ( theWrappedObject->editItem(item)); + return (QLayout::closestAcceptableSize(w, s)); } -QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +QMargins PythonQtWrapper_QLayout::contentsMargins(QLayout* theWrappedObject) const { - return ( theWrappedObject->findItems(text, flags)); + return ( theWrappedObject->contentsMargins()); } -QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const +QRect PythonQtWrapper_QLayout::contentsRect(QLayout* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); + return ( theWrappedObject->contentsRect()); } -QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, const QListWidgetItem* item) const +int PythonQtWrapper_QLayout::count(QLayout* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); + return ( theWrappedObject->count()); } -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +int PythonQtWrapper_QLayout::indexOf(QLayout* theWrappedObject, QLayoutItem* arg__1) const { - ( theWrappedObject->insertItem(row, item)); + return ( theWrappedObject->indexOf(arg__1)); } -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) +int PythonQtWrapper_QLayout::indexOf(QLayout* theWrappedObject, QWidget* arg__1) const { - ( theWrappedObject->insertItem(row, label)); + return ( theWrappedObject->indexOf(arg__1)); } -void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) +bool PythonQtWrapper_QLayout::isEnabled(QLayout* theWrappedObject) const { - ( theWrappedObject->insertItems(row, labels)); + return ( theWrappedObject->isEnabled()); } -bool PythonQtWrapper_QListWidget::isPersistentEditorOpen(QListWidget* theWrappedObject, QListWidgetItem* item) const +QLayoutItem* PythonQtWrapper_QLayout::itemAt(QLayout* theWrappedObject, int index) const { - return ( theWrappedObject->isPersistentEditorOpen(item)); + return ( theWrappedObject->itemAt(index)); } -bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const +QWidget* PythonQtWrapper_QLayout::menuBar(QLayout* theWrappedObject) const { - return ( theWrappedObject->isSortingEnabled()); + return ( theWrappedObject->menuBar()); } -QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const +QWidget* PythonQtWrapper_QLayout::parentWidget(QLayout* theWrappedObject) const { - return ( theWrappedObject->item(row)); + return ( theWrappedObject->parentWidget()); } -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const +void PythonQtWrapper_QLayout::removeItem(QLayout* theWrappedObject, PythonQtPassOwnershipToPython arg__1) { - return ( theWrappedObject->itemAt(p)); + ( theWrappedObject->removeItem(arg__1)); } -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, int x, int y) const +void PythonQtWrapper_QLayout::removeWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToPython w) { - return ( theWrappedObject->itemAt(x, y)); + ( theWrappedObject->removeWidget(w)); } -QListWidgetItem* PythonQtWrapper_QListWidget::itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const +QLayoutItem* PythonQtWrapper_QLayout::replaceWidget(QLayout* theWrappedObject, QWidget* from, QWidget* to, Qt::FindChildOptions options) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_itemFromIndex(index)); + return ( theWrappedObject->replaceWidget(from, to, options)); } -QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const +bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment) { - return ( theWrappedObject->itemWidget(item)); + return ( theWrappedObject->setAlignment(l, alignment)); } -QList PythonQtWrapper_QListWidget::items(QListWidget* theWrappedObject, const QMimeData* data) const +bool PythonQtWrapper_QLayout::setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_items(data)); + return ( theWrappedObject->setAlignment(w, alignment)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::mimeData(QListWidget* theWrappedObject, const QList items) const +void PythonQtWrapper_QLayout::setContentsMargins(QLayout* theWrappedObject, const QMargins& margins) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeData(items)); + ( theWrappedObject->setContentsMargins(margins)); } -QStringList PythonQtWrapper_QListWidget::mimeTypes(QListWidget* theWrappedObject) const +void PythonQtWrapper_QLayout::setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeTypes()); + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); } -void PythonQtWrapper_QListWidget::openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +void PythonQtWrapper_QLayout::setEnabled(QLayout* theWrappedObject, bool arg__1) { - ( theWrappedObject->openPersistentEditor(item)); + ( theWrappedObject->setEnabled(arg__1)); } -void PythonQtWrapper_QListWidget::removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) +void PythonQtWrapper_QLayout::setMargin(QLayout* theWrappedObject, int arg__1) { - ( theWrappedObject->removeItemWidget(item)); + ( theWrappedObject->setMargin(arg__1)); } -int PythonQtWrapper_QListWidget::row(QListWidget* theWrappedObject, const QListWidgetItem* item) const +void PythonQtWrapper_QLayout::setMenuBar(QLayout* theWrappedObject, QWidget* w) { - return ( theWrappedObject->row(item)); + ( theWrappedObject->setMenuBar(w)); } -QList PythonQtWrapper_QListWidget::selectedItems(QListWidget* theWrappedObject) const +void PythonQtWrapper_QLayout::setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1) { - return ( theWrappedObject->selectedItems()); + ( theWrappedObject->setSizeConstraint(arg__1)); } -void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item) +void PythonQtWrapper_QLayout::setSpacing(QLayout* theWrappedObject, int arg__1) { - ( theWrappedObject->setCurrentItem(item)); + ( theWrappedObject->setSpacing(arg__1)); } -void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command) +QLayout::SizeConstraint PythonQtWrapper_QLayout::sizeConstraint(QLayout* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item, command)); + return ( theWrappedObject->sizeConstraint()); } -void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row) +int PythonQtWrapper_QLayout::spacing(QLayout* theWrappedObject) const { - ( theWrappedObject->setCurrentRow(row)); + return ( theWrappedObject->spacing()); } -void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command) +PythonQtPassOwnershipToPython PythonQtWrapper_QLayout::takeAt(QLayout* theWrappedObject, int index) { - ( theWrappedObject->setCurrentRow(row, command)); + return ( theWrappedObject->takeAt(index)); } -void PythonQtWrapper_QListWidget::setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, PythonQtPassOwnershipToCPP widget) +int PythonQtWrapper_QLayout::totalHeightForWidth(QLayout* theWrappedObject, int w) const { - ( theWrappedObject->setItemWidget(item, widget)); + return ( theWrappedObject->totalHeightForWidth(w)); } -void PythonQtWrapper_QListWidget::setSortingEnabled(QListWidget* theWrappedObject, bool enable) +QSize PythonQtWrapper_QLayout::totalMaximumSize(QLayout* theWrappedObject) const { - ( theWrappedObject->setSortingEnabled(enable)); + return ( theWrappedObject->totalMaximumSize()); } -void PythonQtWrapper_QListWidget::sortItems(QListWidget* theWrappedObject, Qt::SortOrder order) +QSize PythonQtWrapper_QLayout::totalMinimumSize(QLayout* theWrappedObject) const { - ( theWrappedObject->sortItems(order)); + return ( theWrappedObject->totalMinimumSize()); } -Qt::DropActions PythonQtWrapper_QListWidget::supportedDropActions(QListWidget* theWrappedObject) const +QSize PythonQtWrapper_QLayout::totalSizeHint(QLayout* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_supportedDropActions()); + return ( theWrappedObject->totalSizeHint()); } -PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::takeItem(QListWidget* theWrappedObject, int row) +void PythonQtWrapper_QLayout::update(QLayout* theWrappedObject) { - return ( theWrappedObject->takeItem(row)); + ( theWrappedObject->update()); } -QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const +void PythonQtWrapper_QLayout::widgetEvent(QLayout* theWrappedObject, QEvent* arg__1) { - return ( theWrappedObject->visualItemRect(item)); + ( ((PythonQtPublicPromoter_QLayout*)theWrappedObject)->promoted_widgetEvent(arg__1)); } -PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { +PythonQtShell_QLayoutItem::~PythonQtShell_QLayoutItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const +QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("controlTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLayoutItem::controlTypes(); +} +Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QListWidgetItem*"}; + static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QListWidgetItem* returnValue{}; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((QListWidgetItem**)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13284,32 +10230,32 @@ if (_wrapper) { } } } - return QListWidgetItem::clone(); + return Qt::Orientations(); } -QVariant PythonQtShell_QListWidgetItem::data(int role0) const +QRect PythonQtShell_QLayoutItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&role0}; + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13317,32 +10263,32 @@ if (_wrapper) { } } } - return QListWidgetItem::data(role0); + return QRect(); } -bool PythonQtShell_QListWidgetItem::__lt__(const QListWidgetItem& other0) const +bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QListWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13350,43 +10296,54 @@ if (_wrapper) { } } } - return QListWidgetItem::operator<(other0); + return QLayoutItem::hasHeightForWidth(); } -void PythonQtShell_QListWidgetItem::read(QDataStream& in0) +int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidgetItem::read(in0); + return QLayoutItem::heightForWidth(arg__1); } -void PythonQtShell_QListWidgetItem::setBackgroundColor(const QColor& color0) +void PythonQtShell_QLayoutItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setBackgroundColor"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QColor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&color0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13394,256 +10351,390 @@ if (_wrapper) { } } } - QListWidgetItem::setBackgroundColor(color0); + QLayoutItem::invalidate(); } -void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) +bool PythonQtShell_QLayoutItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&role0, (void*)&value1}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidgetItem::setData(role0, value1); + return bool(); } -void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const +QLayout* PythonQtShell_QLayoutItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidgetItem::write(out0); -} -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis listview, int type) -{ -return new PythonQtShell_QListWidgetItem(listview, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis listview, int type) -{ -return new PythonQtShell_QListWidgetItem(icon, text, listview, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis listview, int type) -{ -return new PythonQtShell_QListWidgetItem(text, listview, type); } - -QBrush PythonQtWrapper_QListWidgetItem::background(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -Qt::CheckState PythonQtWrapper_QListWidgetItem::checkState(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->checkState()); -} - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::clone(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->clone()); -} - -QVariant PythonQtWrapper_QListWidgetItem::data(QListWidgetItem* theWrappedObject, int role) const -{ - return ( theWrappedObject->data(role)); -} - -Qt::ItemFlags PythonQtWrapper_QListWidgetItem::flags(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QFont PythonQtWrapper_QListWidgetItem::font(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); + return QLayoutItem::layout(); } - -QBrush PythonQtWrapper_QListWidgetItem::foreground(QListWidgetItem* theWrappedObject) const +QSize PythonQtShell_QLayoutItem::maximumSize() const { - return ( theWrappedObject->foreground()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QIcon PythonQtWrapper_QListWidgetItem::icon(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->icon()); + return QSize(); } - -bool PythonQtWrapper_QListWidgetItem::isHidden(QListWidgetItem* theWrappedObject) const +int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { - return ( theWrappedObject->isHidden()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QListWidgetItem::isSelected(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); + return QLayoutItem::minimumHeightForWidth(arg__1); } - -QListWidget* PythonQtWrapper_QListWidgetItem::listWidget(QListWidgetItem* theWrappedObject) const +QSize PythonQtShell_QLayoutItem::minimumSize() const { - return ( theWrappedObject->listWidget()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QListWidgetItem::writeTo(QListWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); + return QSize(); } - -void PythonQtWrapper_QListWidgetItem::readFrom(QListWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { - in >> (*theWrappedObject); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QListWidgetItem::read(QListWidgetItem* theWrappedObject, QDataStream& in) -{ - ( theWrappedObject->read(in)); + } - -void PythonQtWrapper_QListWidgetItem::setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush) +QSize PythonQtShell_QLayoutItem::sizeHint() const { - ( theWrappedObject->setBackground(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QListWidgetItem::setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(state)); + return QSize(); } - -void PythonQtWrapper_QListWidgetItem::setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value) +QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { - ( theWrappedObject->setData(role, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QListWidgetItem::setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); + return QLayoutItem::spacerItem(); } - -void PythonQtWrapper_QListWidgetItem::setFont(QListWidgetItem* theWrappedObject, const QFont& font) +QWidget* PythonQtShell_QLayoutItem::widget() { - ( theWrappedObject->setFont(font)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("widget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QListWidgetItem::setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); + return QLayoutItem::widget(); } +QLayoutItem* PythonQtWrapper_QLayoutItem::new_QLayoutItem(Qt::Alignment alignment) +{ +return new PythonQtShell_QLayoutItem(alignment); } -void PythonQtWrapper_QListWidgetItem::setHidden(QListWidgetItem* theWrappedObject, bool hide) +Qt::Alignment PythonQtWrapper_QLayoutItem::alignment(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setHidden(hide)); + return ( theWrappedObject->alignment()); } -void PythonQtWrapper_QListWidgetItem::setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon) +QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setIcon(icon)); + return ( theWrappedObject->controlTypes()); } -void PythonQtWrapper_QListWidgetItem::setSelected(QListWidgetItem* theWrappedObject, bool select) +Qt::Orientations PythonQtWrapper_QLayoutItem::expandingDirections(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setSelected(select)); + return ( theWrappedObject->expandingDirections()); } -void PythonQtWrapper_QListWidgetItem::setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size) +QRect PythonQtWrapper_QLayoutItem::geometry(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setSizeHint(size)); + return ( theWrappedObject->geometry()); } -void PythonQtWrapper_QListWidgetItem::setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip) +bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setStatusTip(statusTip)); + return ( theWrappedObject->hasHeightForWidth()); } -void PythonQtWrapper_QListWidgetItem::setText(QListWidgetItem* theWrappedObject, const QString& text) +int PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const { - ( theWrappedObject->setText(text)); + return ( theWrappedObject->heightForWidth(arg__1)); } -void PythonQtWrapper_QListWidgetItem::setTextAlignment(QListWidgetItem* theWrappedObject, int alignment) +void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) { - ( theWrappedObject->setTextAlignment(alignment)); + ( theWrappedObject->invalidate()); } -void PythonQtWrapper_QListWidgetItem::setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip) +bool PythonQtWrapper_QLayoutItem::isEmpty(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setToolTip(toolTip)); + return ( theWrappedObject->isEmpty()); } -void PythonQtWrapper_QListWidgetItem::setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis) +QLayout* PythonQtWrapper_QLayoutItem::layout(QLayoutItem* theWrappedObject) { - ( theWrappedObject->setWhatsThis(whatsThis)); + return ( theWrappedObject->layout()); } -QSize PythonQtWrapper_QListWidgetItem::sizeHint(QListWidgetItem* theWrappedObject) const +QSize PythonQtWrapper_QLayoutItem::maximumSize(QLayoutItem* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->maximumSize()); } -QString PythonQtWrapper_QListWidgetItem::statusTip(QListWidgetItem* theWrappedObject) const +int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const { - return ( theWrappedObject->statusTip()); + return ( theWrappedObject->minimumHeightForWidth(arg__1)); } -QString PythonQtWrapper_QListWidgetItem::text(QListWidgetItem* theWrappedObject) const +QSize PythonQtWrapper_QLayoutItem::minimumSize(QLayoutItem* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->minimumSize()); } -int PythonQtWrapper_QListWidgetItem::textAlignment(QListWidgetItem* theWrappedObject) const +void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) { - return ( theWrappedObject->textAlignment()); + ( theWrappedObject->setAlignment(a)); } -QString PythonQtWrapper_QListWidgetItem::toolTip(QListWidgetItem* theWrappedObject) const +void PythonQtWrapper_QLayoutItem::setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1) { - return ( theWrappedObject->toolTip()); + ( theWrappedObject->setGeometry(arg__1)); } -int PythonQtWrapper_QListWidgetItem::type(QListWidgetItem* theWrappedObject) const +QSize PythonQtWrapper_QLayoutItem::sizeHint(QLayoutItem* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->sizeHint()); } -QString PythonQtWrapper_QListWidgetItem::whatsThis(QListWidgetItem* theWrappedObject) const +QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) { - return ( theWrappedObject->whatsThis()); + return ( theWrappedObject->spacerItem()); } -void PythonQtWrapper_QListWidgetItem::write(QListWidgetItem* theWrappedObject, QDataStream& out) const +QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) { - ( theWrappedObject->write(out)); + return ( theWrappedObject->widget()); } -PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { +PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) +void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13653,9 +10744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13663,9 +10754,9 @@ if (_wrapper) { } } } - QMainWindow::actionEvent(event0); + QLineEdit::actionEvent(event0); } -void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) +void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13675,9 +10766,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::changeEvent(arg__1); +} +void PythonQtShell_QLineEdit::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13685,9 +10798,9 @@ if (_wrapper) { } } } - QMainWindow::changeEvent(arg__1); + QLineEdit::childEvent(event0); } -void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) +void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13697,9 +10810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13707,9 +10820,9 @@ if (_wrapper) { } } } - QMainWindow::closeEvent(event0); + QLineEdit::closeEvent(event0); } -void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13719,9 +10832,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13729,42 +10842,31 @@ if (_wrapper) { } } } - QMainWindow::contextMenuEvent(event0); + QLineEdit::contextMenuEvent(arg__1); } -QMenu* PythonQtShell_QMainWindow::createPopupMenu() +void PythonQtShell_QLineEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createPopupMenu"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMenu*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMenu* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::createPopupMenu(); + QLineEdit::customEvent(event0); } -int PythonQtShell_QMainWindow::devType() const +int PythonQtShell_QLineEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13775,19 +10877,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13795,9 +10897,9 @@ if (_wrapper) { } } } - return QMainWindow::devType(); + return QLineEdit::devType(); } -void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13807,9 +10909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13817,9 +10919,9 @@ if (_wrapper) { } } } - QMainWindow::dragEnterEvent(event0); + QLineEdit::dragEnterEvent(arg__1); } -void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13829,9 +10931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13839,9 +10941,9 @@ if (_wrapper) { } } } - QMainWindow::dragLeaveEvent(event0); + QLineEdit::dragLeaveEvent(e0); } -void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13851,9 +10953,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13861,9 +10963,9 @@ if (_wrapper) { } } } - QMainWindow::dragMoveEvent(event0); + QLineEdit::dragMoveEvent(e0); } -void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) +void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13873,9 +10975,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13883,9 +10985,9 @@ if (_wrapper) { } } } - QMainWindow::dropEvent(event0); + QLineEdit::dropEvent(arg__1); } -void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) +void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13895,9 +10997,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13905,9 +11007,9 @@ if (_wrapper) { } } } - QMainWindow::enterEvent(event0); + QLineEdit::enterEvent(event0); } -bool PythonQtShell_QMainWindow::event(QEvent* event0) +bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13918,19 +11020,52 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLineEdit::event(arg__1); +} +bool PythonQtShell_QLineEdit::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13938,9 +11073,9 @@ if (_wrapper) { } } } - return QMainWindow::event(event0); + return QLineEdit::eventFilter(watched0, event1); } -void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13950,9 +11085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13960,9 +11095,9 @@ if (_wrapper) { } } } - QMainWindow::focusInEvent(event0); + QLineEdit::focusInEvent(arg__1); } -bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) +bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13973,19 +11108,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13993,9 +11128,9 @@ if (_wrapper) { } } } - return QMainWindow::focusNextPrevChild(next0); + return QLineEdit::focusNextPrevChild(next0); } -void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14005,9 +11140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14015,9 +11150,9 @@ if (_wrapper) { } } } - QMainWindow::focusOutEvent(event0); + QLineEdit::focusOutEvent(arg__1); } -bool PythonQtShell_QMainWindow::hasHeightForWidth() const +bool PythonQtShell_QLineEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14028,19 +11163,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14048,9 +11183,9 @@ if (_wrapper) { } } } - return QMainWindow::hasHeightForWidth(); + return QLineEdit::hasHeightForWidth(); } -int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const +int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14061,19 +11196,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14081,9 +11216,9 @@ if (_wrapper) { } } } - return QMainWindow::heightForWidth(arg__1); + return QLineEdit::heightForWidth(arg__1); } -void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) +void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14093,9 +11228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14103,9 +11238,9 @@ if (_wrapper) { } } } - QMainWindow::hideEvent(event0); + QLineEdit::hideEvent(event0); } -void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const +void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14115,9 +11250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14125,9 +11260,9 @@ if (_wrapper) { } } } - QMainWindow::initPainter(painter0); + QLineEdit::initPainter(painter0); } -void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14137,9 +11272,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14147,9 +11282,9 @@ if (_wrapper) { } } } - QMainWindow::inputMethodEvent(arg__1); + QLineEdit::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14160,19 +11295,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14180,9 +11315,9 @@ if (_wrapper) { } } } - return QMainWindow::inputMethodQuery(arg__1); + return QLineEdit::inputMethodQuery(arg__1); } -void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14192,9 +11327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14202,9 +11337,9 @@ if (_wrapper) { } } } - QMainWindow::keyPressEvent(event0); + QLineEdit::keyPressEvent(arg__1); } -void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14214,9 +11349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14224,9 +11359,9 @@ if (_wrapper) { } } } - QMainWindow::keyReleaseEvent(event0); + QLineEdit::keyReleaseEvent(event0); } -void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) +void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14236,9 +11371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14246,9 +11381,9 @@ if (_wrapper) { } } } - QMainWindow::leaveEvent(event0); + QLineEdit::leaveEvent(event0); } -int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14259,19 +11394,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14279,32 +11414,32 @@ if (_wrapper) { } } } - return QMainWindow::metric(arg__1); + return QLineEdit::metric(arg__1); } -QSize PythonQtShell_QMainWindow::minimumSizeHint() const +QSize PythonQtShell_QLineEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14312,9 +11447,9 @@ if (_wrapper) { } } } - return QMainWindow::minimumSizeHint(); + return QLineEdit::minimumSizeHint(); } -void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14324,9 +11459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14334,9 +11469,9 @@ if (_wrapper) { } } } - QMainWindow::mouseDoubleClickEvent(event0); + QLineEdit::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14346,9 +11481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14356,9 +11491,9 @@ if (_wrapper) { } } } - QMainWindow::mouseMoveEvent(event0); + QLineEdit::mouseMoveEvent(arg__1); } -void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14368,9 +11503,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14378,9 +11513,9 @@ if (_wrapper) { } } } - QMainWindow::mousePressEvent(event0); + QLineEdit::mousePressEvent(arg__1); } -void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14390,9 +11525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14400,9 +11535,9 @@ if (_wrapper) { } } } - QMainWindow::mouseReleaseEvent(event0); + QLineEdit::mouseReleaseEvent(arg__1); } -void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) +void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14412,9 +11547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14422,9 +11557,9 @@ if (_wrapper) { } } } - QMainWindow::moveEvent(event0); + QLineEdit::moveEvent(event0); } -bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14435,19 +11570,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14455,9 +11590,9 @@ if (_wrapper) { } } } - return QMainWindow::nativeEvent(eventType0, message1, result2); + return QLineEdit::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const +QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14468,19 +11603,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14488,9 +11623,9 @@ if (_wrapper) { } } } - return QMainWindow::paintEngine(); + return QLineEdit::paintEngine(); } -void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) +void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14500,9 +11635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14510,9 +11645,9 @@ if (_wrapper) { } } } - QMainWindow::paintEvent(event0); + QLineEdit::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14523,19 +11658,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14543,9 +11678,9 @@ if (_wrapper) { } } } - return QMainWindow::redirected(offset0); + return QLineEdit::redirected(offset0); } -void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14555,9 +11690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14565,9 +11700,9 @@ if (_wrapper) { } } } - QMainWindow::resizeEvent(event0); + QLineEdit::resizeEvent(event0); } -void PythonQtShell_QMainWindow::setVisible(bool visible0) +void PythonQtShell_QLineEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14577,9 +11712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14587,9 +11722,9 @@ if (_wrapper) { } } } - QMainWindow::setVisible(visible0); + QLineEdit::setVisible(visible0); } -QPainter* PythonQtShell_QMainWindow::sharedPainter() const +QPainter* PythonQtShell_QLineEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14600,19 +11735,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14620,9 +11755,9 @@ if (_wrapper) { } } } - return QMainWindow::sharedPainter(); + return QLineEdit::sharedPainter(); } -void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) +void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14632,9 +11767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14642,32 +11777,32 @@ if (_wrapper) { } } } - QMainWindow::showEvent(event0); + QLineEdit::showEvent(event0); } -QSize PythonQtShell_QMainWindow::sizeHint() const +QSize PythonQtShell_QLineEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14675,9 +11810,9 @@ if (_wrapper) { } } } - return QMainWindow::sizeHint(); + return QLineEdit::sizeHint(); } -void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14687,9 +11822,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLineEdit::tabletEvent(event0); +} +void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14697,9 +11854,9 @@ if (_wrapper) { } } } - QMainWindow::tabletEvent(event0); + QLineEdit::timerEvent(event0); } -void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14709,9 +11866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14719,684 +11876,512 @@ if (_wrapper) { } } } - QMainWindow::wheelEvent(event0); + QLineEdit::wheelEvent(event0); } -QMainWindow* PythonQtWrapper_QMainWindow::new_QMainWindow(QWidget* parent, Qt::WindowFlags flags) +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_QMainWindow(parent, flags); } +return new PythonQtShell_QLineEdit(arg__1, parent); } -const QMetaObject* PythonQtShell_QMainWindow::metaObject() const { +const QMetaObject* PythonQtShell_QLineEdit::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMainWindow::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLineEdit::staticMetaObject); } else { - return &QMainWindow::staticMetaObject; + return &QLineEdit::staticMetaObject; } } -int PythonQtShell_QMainWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMainWindow::qt_metacall(call, id, args); +int PythonQtShell_QLineEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLineEdit::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget) -{ - ( theWrappedObject->addDockWidget(area, dockwidget)); -} - -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, QToolBar* toolbar) -{ - ( theWrappedObject->addToolBar(toolbar)); -} - -void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar) -{ - ( theWrappedObject->addToolBar(area, toolbar)); -} - -QToolBar* PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, const QString& title) -{ - return ( theWrappedObject->addToolBar(title)); -} - -void PythonQtWrapper_QMainWindow::addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area) -{ - ( theWrappedObject->addToolBarBreak(area)); -} - -QWidget* PythonQtWrapper_QMainWindow::centralWidget(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->centralWidget()); -} - -Qt::DockWidgetArea PythonQtWrapper_QMainWindow::corner(QMainWindow* theWrappedObject, Qt::Corner corner) const -{ - return ( theWrappedObject->corner(corner)); -} - -QMenu* PythonQtWrapper_QMainWindow::createPopupMenu(QMainWindow* theWrappedObject) -{ - return ( theWrappedObject->createPopupMenu()); -} - -QMainWindow::DockOptions PythonQtWrapper_QMainWindow::dockOptions(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->dockOptions()); -} - -Qt::DockWidgetArea PythonQtWrapper_QMainWindow::dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const -{ - return ( theWrappedObject->dockWidgetArea(dockwidget)); -} - -bool PythonQtWrapper_QMainWindow::documentMode(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->documentMode()); -} - -QSize PythonQtWrapper_QMainWindow::iconSize(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -void PythonQtWrapper_QMainWindow::insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar) -{ - ( theWrappedObject->insertToolBar(before, toolbar)); -} - -void PythonQtWrapper_QMainWindow::insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) -{ - ( theWrappedObject->insertToolBarBreak(before)); -} - -bool PythonQtWrapper_QMainWindow::isAnimated(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->isAnimated()); -} - -bool PythonQtWrapper_QMainWindow::isDockNestingEnabled(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->isDockNestingEnabled()); -} - -bool PythonQtWrapper_QMainWindow::isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->isSeparator(pos)); -} - -QMenuBar* PythonQtWrapper_QMainWindow::menuBar(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->menuBar()); -} - -QWidget* PythonQtWrapper_QMainWindow::menuWidget(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->menuWidget()); -} - -void PythonQtWrapper_QMainWindow::removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) -{ - ( theWrappedObject->removeDockWidget(dockwidget)); -} - -void PythonQtWrapper_QMainWindow::removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) -{ - ( theWrappedObject->removeToolBar(toolbar)); -} - -void PythonQtWrapper_QMainWindow::removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) -{ - ( theWrappedObject->removeToolBarBreak(before)); -} - -void PythonQtWrapper_QMainWindow::resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation) -{ - ( theWrappedObject->resizeDocks(docks, sizes, orientation)); -} - -bool PythonQtWrapper_QMainWindow::restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) -{ - return ( theWrappedObject->restoreDockWidget(dockwidget)); -} - -bool PythonQtWrapper_QMainWindow::restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version) -{ - return ( theWrappedObject->restoreState(state, version)); -} - -QByteArray PythonQtWrapper_QMainWindow::saveState(QMainWindow* theWrappedObject, int version) const -{ - return ( theWrappedObject->saveState(version)); -} - -void PythonQtWrapper_QMainWindow::setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setCentralWidget(widget)); -} - -void PythonQtWrapper_QMainWindow::setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area) -{ - ( theWrappedObject->setCorner(corner, area)); -} - -void PythonQtWrapper_QMainWindow::setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options) -{ - ( theWrappedObject->setDockOptions(options)); -} - -void PythonQtWrapper_QMainWindow::setDocumentMode(QMainWindow* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setDocumentMode(enabled)); -} - -void PythonQtWrapper_QMainWindow::setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize) -{ - ( theWrappedObject->setIconSize(iconSize)); -} - -void PythonQtWrapper_QMainWindow::setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar) -{ - ( theWrappedObject->setMenuBar(menubar)); -} - -void PythonQtWrapper_QMainWindow::setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar) -{ - ( theWrappedObject->setMenuWidget(menubar)); -} - -void PythonQtWrapper_QMainWindow::setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar) -{ - ( theWrappedObject->setStatusBar(statusbar)); -} - -void PythonQtWrapper_QMainWindow::setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition) -{ - ( theWrappedObject->setTabPosition(areas, tabPosition)); -} - -void PythonQtWrapper_QMainWindow::setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape) -{ - ( theWrappedObject->setTabShape(tabShape)); -} - -void PythonQtWrapper_QMainWindow::setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle) -{ - ( theWrappedObject->setToolButtonStyle(toolButtonStyle)); -} - -void PythonQtWrapper_QMainWindow::splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation) -{ - ( theWrappedObject->splitDockWidget(after, dockwidget, orientation)); -} - -QStatusBar* PythonQtWrapper_QMainWindow::statusBar(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->statusBar()); -} - -QTabWidget::TabPosition PythonQtWrapper_QMainWindow::tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const -{ - return ( theWrappedObject->tabPosition(area)); -} - -QTabWidget::TabShape PythonQtWrapper_QMainWindow::tabShape(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->tabShape()); -} - -QList PythonQtWrapper_QMainWindow::tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const -{ - return ( theWrappedObject->tabifiedDockWidgets(dockwidget)); -} - -void PythonQtWrapper_QMainWindow::tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second) -{ - ( theWrappedObject->tabifyDockWidget(first, second)); -} - -QWidget* PythonQtWrapper_QMainWindow::takeCentralWidget(QMainWindow* theWrappedObject) -{ - return ( theWrappedObject->takeCentralWidget()); -} - -Qt::ToolBarArea PythonQtWrapper_QMainWindow::toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const -{ - return ( theWrappedObject->toolBarArea(toolbar)); -} - -bool PythonQtWrapper_QMainWindow::toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const -{ - return ( theWrappedObject->toolBarBreak(toolbar)); -} - -Qt::ToolButtonStyle PythonQtWrapper_QMainWindow::toolButtonStyle(QMainWindow* theWrappedObject) const +void PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position) { - return ( theWrappedObject->toolButtonStyle()); + ( theWrappedObject->addAction(action, position)); } -bool PythonQtWrapper_QMainWindow::unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const +QAction* PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position) { - return ( theWrappedObject->unifiedTitleAndToolBarOnMac()); -} - - - -PythonQtShell_QMargins::~PythonQtShell_QMargins() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->addAction(icon, position)); } -QMargins* PythonQtWrapper_QMargins::new_QMargins() -{ -return new PythonQtShell_QMargins(); } -QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, int divisor) +Qt::Alignment PythonQtWrapper_QLineEdit::alignment(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)/ divisor); + return ( theWrappedObject->alignment()); } -QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, qreal divisor) +void PythonQtWrapper_QLineEdit::backspace(QLineEdit* theWrappedObject) { - return ( (*theWrappedObject)/ divisor); + ( theWrappedObject->backspace()); } -QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, int arg__1) +QCompleter* PythonQtWrapper_QLineEdit::completer(QLineEdit* theWrappedObject) const { - return &( (*theWrappedObject)/= arg__1); + return ( theWrappedObject->completer()); } -QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, qreal arg__1) +QMenu* PythonQtWrapper_QLineEdit::createStandardContextMenu(QLineEdit* theWrappedObject) { - return &( (*theWrappedObject)/= arg__1); + return ( theWrappedObject->createStandardContextMenu()); } -void PythonQtWrapper_QMargins::writeTo(QMargins* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QLineEdit::cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps) { - arg__1 << (*theWrappedObject); + ( theWrappedObject->cursorBackward(mark, steps)); } -void PythonQtWrapper_QMargins::readFrom(QMargins* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QLineEdit::cursorForward(QLineEdit* theWrappedObject, bool mark, int steps) { - arg__1 >> (*theWrappedObject); + ( theWrappedObject->cursorForward(mark, steps)); } -QString PythonQtWrapper_QMargins::py_toString(QMargins* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +Qt::CursorMoveStyle PythonQtWrapper_QLineEdit::cursorMoveStyle(QLineEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorMoveStyle()); } - - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4() -{ -return new QMatrix4x4(); } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const QMatrix& matrix) -{ -return new QMatrix4x4(matrix); } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const QTransform& transform) -{ -return new QMatrix4x4(transform); } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const float* values) -{ -return new QMatrix4x4(values); } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const float* values, int cols, int rows) -{ -return new QMatrix4x4(values, cols, rows); } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44) -{ -return new QMatrix4x4(m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44); } - -QVector4D PythonQtWrapper_QMatrix4x4::column(QMatrix4x4* theWrappedObject, int index) const +int PythonQtWrapper_QLineEdit::cursorPosition(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->column(index)); + return ( theWrappedObject->cursorPosition()); } -const float* PythonQtWrapper_QMatrix4x4::constData(QMatrix4x4* theWrappedObject) const +int PythonQtWrapper_QLineEdit::cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos) { - return ( theWrappedObject->constData()); + return ( theWrappedObject->cursorPositionAt(pos)); } -void PythonQtWrapper_QMatrix4x4::copyDataTo(QMatrix4x4* theWrappedObject, float* values) const +QRect PythonQtWrapper_QLineEdit::cursorRect(QLineEdit* theWrappedObject) const { - ( theWrappedObject->copyDataTo(values)); + return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_cursorRect()); } -float* PythonQtWrapper_QMatrix4x4::data(QMatrix4x4* theWrappedObject) +void PythonQtWrapper_QLineEdit::cursorWordBackward(QLineEdit* theWrappedObject, bool mark) { - return ( theWrappedObject->data()); + ( theWrappedObject->cursorWordBackward(mark)); } -double PythonQtWrapper_QMatrix4x4::determinant(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QLineEdit::cursorWordForward(QLineEdit* theWrappedObject, bool mark) { - return ( theWrappedObject->determinant()); + ( theWrappedObject->cursorWordForward(mark)); } -void PythonQtWrapper_QMatrix4x4::fill(QMatrix4x4* theWrappedObject, float value) +void PythonQtWrapper_QLineEdit::del(QLineEdit* theWrappedObject) { - ( theWrappedObject->fill(value)); + ( theWrappedObject->del()); } -void PythonQtWrapper_QMatrix4x4::flipCoordinates(QMatrix4x4* theWrappedObject) +void PythonQtWrapper_QLineEdit::deselect(QLineEdit* theWrappedObject) { - ( theWrappedObject->flipCoordinates()); + ( theWrappedObject->deselect()); } -void PythonQtWrapper_QMatrix4x4::frustum(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +QString PythonQtWrapper_QLineEdit::displayText(QLineEdit* theWrappedObject) const { - ( theWrappedObject->frustum(left, right, bottom, top, nearPlane, farPlane)); + return ( theWrappedObject->displayText()); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::inverted(QMatrix4x4* theWrappedObject, bool* invertible) const +bool PythonQtWrapper_QLineEdit::dragEnabled(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->inverted(invertible)); + return ( theWrappedObject->dragEnabled()); } -bool PythonQtWrapper_QMatrix4x4::isAffine(QMatrix4x4* theWrappedObject) const +QLineEdit::EchoMode PythonQtWrapper_QLineEdit::echoMode(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->isAffine()); + return ( theWrappedObject->echoMode()); } -bool PythonQtWrapper_QMatrix4x4::isIdentity(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QLineEdit::end(QLineEdit* theWrappedObject, bool mark) { - return ( theWrappedObject->isIdentity()); + ( theWrappedObject->end(mark)); } -void PythonQtWrapper_QMatrix4x4::lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up) +void PythonQtWrapper_QLineEdit::getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const { - ( theWrappedObject->lookAt(eye, center, up)); + ( theWrappedObject->getTextMargins(left, top, right, bottom)); } -QPoint PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPoint& point) const +bool PythonQtWrapper_QLineEdit::hasAcceptableInput(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->map(point)); + return ( theWrappedObject->hasAcceptableInput()); } -QPointF PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPointF& point) const +bool PythonQtWrapper_QLineEdit::hasFrame(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->map(point)); + return ( theWrappedObject->hasFrame()); } -QVector3D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector3D& point) const +bool PythonQtWrapper_QLineEdit::hasSelectedText(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->map(point)); + return ( theWrappedObject->hasSelectedText()); } -QVector4D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector4D& point) const +void PythonQtWrapper_QLineEdit::home(QLineEdit* theWrappedObject, bool mark) { - return ( theWrappedObject->map(point)); + ( theWrappedObject->home(mark)); } -QRect PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const +void PythonQtWrapper_QLineEdit::initStyleOption(QLineEdit* theWrappedObject, QStyleOptionFrame* option) const { - return ( theWrappedObject->mapRect(rect)); + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_initStyleOption(option)); } -QRectF PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const +QString PythonQtWrapper_QLineEdit::inputMask(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->mapRect(rect)); + return ( theWrappedObject->inputMask()); } -QVector3D PythonQtWrapper_QMatrix4x4::mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const +QVariant PythonQtWrapper_QLineEdit::inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery property, QVariant argument) const { - return ( theWrappedObject->mapVector(vector)); + return ( theWrappedObject->inputMethodQuery(property, argument)); } -bool PythonQtWrapper_QMatrix4x4::__ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +void PythonQtWrapper_QLineEdit::insert(QLineEdit* theWrappedObject, const QString& arg__1) { - return ( (*theWrappedObject)!= other); + ( theWrappedObject->insert(arg__1)); } -float* PythonQtWrapper_QMatrix4x4::operator_cast_(QMatrix4x4* theWrappedObject, int row, int column) +bool PythonQtWrapper_QLineEdit::isClearButtonEnabled(QLineEdit* theWrappedObject) const { - return &( theWrappedObject->operator()(row, column)); + return ( theWrappedObject->isClearButtonEnabled()); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +bool PythonQtWrapper_QLineEdit::isModified(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)* m2); + return ( theWrappedObject->isModified()); } -QPoint PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPoint& point) +bool PythonQtWrapper_QLineEdit::isReadOnly(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)* point); + return ( theWrappedObject->isReadOnly()); } -QPointF PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPointF& point) +bool PythonQtWrapper_QLineEdit::isRedoAvailable(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)* point); + return ( theWrappedObject->isRedoAvailable()); } -QVector3D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector) +bool PythonQtWrapper_QLineEdit::isUndoAvailable(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)* vector); + return ( theWrappedObject->isUndoAvailable()); } -QVector4D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector) +int PythonQtWrapper_QLineEdit::maxLength(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)* vector); + return ( theWrappedObject->maxLength()); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, float factor) +QSize PythonQtWrapper_QLineEdit::minimumSizeHint(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)* factor); + return ( theWrappedObject->minimumSizeHint()); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +QString PythonQtWrapper_QLineEdit::placeholderText(QLineEdit* theWrappedObject) const { - return &( (*theWrappedObject)*= other); + return ( theWrappedObject->placeholderText()); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, float factor) +QString PythonQtWrapper_QLineEdit::selectedText(QLineEdit* theWrappedObject) const { - return &( (*theWrappedObject)*= factor); + return ( theWrappedObject->selectedText()); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +int PythonQtWrapper_QLineEdit::selectionEnd(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)+ m2); + return ( theWrappedObject->selectionEnd()); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +int PythonQtWrapper_QLineEdit::selectionLength(QLineEdit* theWrappedObject) const { - return &( (*theWrappedObject)+= other); + return ( theWrappedObject->selectionLength()); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const { - return ( (*theWrappedObject)- m2); + return ( theWrappedObject->selectionStart()); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) { - return &( (*theWrappedObject)-= other); + ( theWrappedObject->setAlignment(flag)); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__div__(QMatrix4x4* theWrappedObject, float divisor) +void PythonQtWrapper_QLineEdit::setClearButtonEnabled(QLineEdit* theWrappedObject, bool enable) { - return ( (*theWrappedObject)/ divisor); + ( theWrappedObject->setClearButtonEnabled(enable)); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__idiv__(QMatrix4x4* theWrappedObject, float divisor) +void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) { - return &( (*theWrappedObject)/= divisor); + ( theWrappedObject->setCompleter(completer)); } -void PythonQtWrapper_QMatrix4x4::writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QLineEdit::setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style) { - arg__1 << (*theWrappedObject); + ( theWrappedObject->setCursorMoveStyle(style)); } -bool PythonQtWrapper_QMatrix4x4::__eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) { - return ( (*theWrappedObject)== other); + ( theWrappedObject->setCursorPosition(arg__1)); } -void PythonQtWrapper_QMatrix4x4::readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) { - arg__1 >> (*theWrappedObject); + ( theWrappedObject->setDragEnabled(b)); } -void PythonQtWrapper_QMatrix4x4::optimize(QMatrix4x4* theWrappedObject) +void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) { - ( theWrappedObject->optimize()); + ( theWrappedObject->setEchoMode(arg__1)); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRect& rect) +void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->ortho(rect)); + ( theWrappedObject->setFrame(arg__1)); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) { - ( theWrappedObject->ortho(rect)); + ( theWrappedObject->setInputMask(inputMask)); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) { - ( theWrappedObject->ortho(left, right, bottom, top, nearPlane, farPlane)); + ( theWrappedObject->setMaxLength(arg__1)); } -void PythonQtWrapper_QMatrix4x4::perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane) +void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->perspective(verticalAngle, aspectRatio, nearPlane, farPlane)); + ( theWrappedObject->setModified(arg__1)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion) +void PythonQtWrapper_QLineEdit::setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1) { - ( theWrappedObject->rotate(quaternion)); + ( theWrappedObject->setPlaceholderText(arg__1)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector) +void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->rotate(angle, vector)); + ( theWrappedObject->setReadOnly(arg__1)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z) +void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) { - ( theWrappedObject->rotate(angle, x, y, z)); + ( theWrappedObject->setSelection(arg__1, arg__2)); } -QVector4D PythonQtWrapper_QMatrix4x4::row(QMatrix4x4* theWrappedObject, int index) const +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins) { - return ( theWrappedObject->row(index)); + ( theWrappedObject->setTextMargins(margins)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, const QVector3D& vector) +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom) { - ( theWrappedObject->scale(vector)); + ( theWrappedObject->setTextMargins(left, top, right, bottom)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float factor) +void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) { - ( theWrappedObject->scale(factor)); + ( theWrappedObject->setValidator(arg__1)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y) +QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const { - ( theWrappedObject->scale(x, y)); + return ( theWrappedObject->sizeHint()); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y, float z) +QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const { - ( theWrappedObject->scale(x, y, z)); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QMatrix4x4::setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +QMargins PythonQtWrapper_QLineEdit::textMargins(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setColumn(index, value)); + return ( theWrappedObject->textMargins()); } -void PythonQtWrapper_QMatrix4x4::setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setRow(index, value)); + return ( theWrappedObject->validator()); } -void PythonQtWrapper_QMatrix4x4::setToIdentity(QMatrix4x4* theWrappedObject) + + +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 { - ( theWrappedObject->setToIdentity()); + return ( theWrappedObject->finalStop()); } -QMatrix PythonQtWrapper_QMatrix4x4::toAffine(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop) { - return ( theWrappedObject->toAffine()); + ( theWrappedObject->setFinalStop(stop)); } -QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y) { - return ( theWrappedObject->toTransform()); + ( theWrappedObject->setFinalStop(x, y)); } -QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, const QPointF& start) { - return ( theWrappedObject->toTransform(distanceToPlane)); + ( theWrappedObject->setStart(start)); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, const QVector3D& vector) +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, qreal x, qreal y) { - ( theWrappedObject->translate(vector)); + ( theWrappedObject->setStart(x, y)); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y) +QPointF PythonQtWrapper_QLinearGradient::start(QLinearGradient* theWrappedObject) const { - ( theWrappedObject->translate(x, y)); + return ( theWrappedObject->start()); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y, float z) + + +PythonQtShell_QListView::~PythonQtShell_QListView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QListView::actionEvent(QActionEvent* event0) { - ( theWrappedObject->translate(x, y, z)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::transposed(QMatrix4x4* theWrappedObject) const + QListView::actionEvent(event0); +} +void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { - return ( theWrappedObject->transposed()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, const QRectF& rect) + QListView::changeEvent(arg__1); +} +void PythonQtShell_QListView::childEvent(QChildEvent* event0) { - ( theWrappedObject->viewport(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane, float farPlane) + QListView::childEvent(event0); +} +void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { - ( theWrappedObject->viewport(left, bottom, width, height, nearPlane, farPlane)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QMatrix4x4::py_toString(QMatrix4x4* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + QListView::closeEditor(editor0, hint1); +} +void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QListView::closeEvent(event0); } -void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) +void PythonQtShell_QListView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15404,21 +12389,21 @@ if (_wrapper) { } } } - QMdiArea::actionEvent(event0); + QListView::commitData(editor0); } -void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) +void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15426,21 +12411,21 @@ if (_wrapper) { } } } - QMdiArea::changeEvent(arg__1); + QListView::contextMenuEvent(arg__1); } -void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) +void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&childEvent0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15448,21 +12433,21 @@ if (_wrapper) { } } } - QMdiArea::childEvent(childEvent0); + QListView::currentChanged(current0, previous1); } -void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) +void PythonQtShell_QListView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15470,21 +12455,21 @@ if (_wrapper) { } } } - QMdiArea::closeEvent(event0); + QListView::customEvent(event0); } -void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15492,9 +12477,9 @@ if (_wrapper) { } } } - QMdiArea::contextMenuEvent(arg__1); + QListView::dataChanged(topLeft0, bottomRight1, roles2); } -int PythonQtShell_QMdiArea::devType() const +int PythonQtShell_QListView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15505,19 +12490,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15525,9 +12510,31 @@ if (_wrapper) { } } } - return QMdiArea::devType(); + return QListView::devType(); +} +void PythonQtShell_QListView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doItemsLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::doItemsLayout(); } -void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) +void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15537,9 +12544,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15547,9 +12554,9 @@ if (_wrapper) { } } } - QMdiArea::dragEnterEvent(arg__1); + QListView::dragEnterEvent(event0); } -void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15559,9 +12566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15569,9 +12576,9 @@ if (_wrapper) { } } } - QMdiArea::dragLeaveEvent(arg__1); + QListView::dragLeaveEvent(e0); } -void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) +void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15581,9 +12588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15591,9 +12598,9 @@ if (_wrapper) { } } } - QMdiArea::dragMoveEvent(arg__1); + QListView::dragMoveEvent(e0); } -void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) +void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15603,9 +12610,64 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::dropEvent(e0); +} +bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::edit(index0, trigger1, event2); +} +void PythonQtShell_QListView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15613,9 +12675,9 @@ if (_wrapper) { } } } - QMdiArea::dropEvent(arg__1); + QListView::editorDestroyed(editor0); } -void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) +void PythonQtShell_QListView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15625,9 +12687,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15635,9 +12697,9 @@ if (_wrapper) { } } } - QMdiArea::enterEvent(event0); + QListView::enterEvent(event0); } -bool PythonQtShell_QMdiArea::event(QEvent* event0) +bool PythonQtShell_QListView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15648,19 +12710,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15668,9 +12730,9 @@ if (_wrapper) { } } } - return QMdiArea::event(event0); + return QListView::event(e0); } -bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15681,19 +12743,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15701,9 +12763,9 @@ if (_wrapper) { } } } - return QMdiArea::eventFilter(object0, event1); + return QListView::eventFilter(object0, event1); } -void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15713,9 +12775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15723,9 +12785,9 @@ if (_wrapper) { } } } - QMdiArea::focusInEvent(event0); + QListView::focusInEvent(event0); } -bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) +bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15736,19 +12798,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15756,9 +12818,9 @@ if (_wrapper) { } } } - return QMdiArea::focusNextPrevChild(next0); + return QListView::focusNextPrevChild(next0); } -void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15768,9 +12830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15778,9 +12840,9 @@ if (_wrapper) { } } } - QMdiArea::focusOutEvent(event0); + QListView::focusOutEvent(event0); } -bool PythonQtShell_QMdiArea::hasHeightForWidth() const +bool PythonQtShell_QListView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15791,19 +12853,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15811,9 +12873,9 @@ if (_wrapper) { } } } - return QMdiArea::hasHeightForWidth(); + return QListView::hasHeightForWidth(); } -int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const +int PythonQtShell_QListView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15821,22 +12883,154 @@ if (_wrapper) { static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::heightForWidth(arg__1); +} +void PythonQtShell_QListView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::hideEvent(event0); +} +int PythonQtShell_QListView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::horizontalOffset(); +} +void PythonQtShell_QListView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15844,21 +13038,21 @@ if (_wrapper) { } } } - return QMdiArea::heightForWidth(arg__1); + return QListView::indexAt(p0); } -void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) +void PythonQtShell_QListView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15866,21 +13060,21 @@ if (_wrapper) { } } } - QMdiArea::hideEvent(event0); + QListView::initPainter(painter0); } -void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const +void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15888,54 +13082,65 @@ if (_wrapper) { } } } - QMdiArea::initPainter(painter0); + QListView::inputMethodEvent(event0); } -void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) +QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiArea::inputMethodEvent(arg__1); + return QListView::inputMethodQuery(query0); } -QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15943,9 +13148,9 @@ if (_wrapper) { } } } - return QMdiArea::inputMethodQuery(arg__1); + return QListView::isIndexHidden(index0); } -void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15955,9 +13160,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15965,9 +13170,9 @@ if (_wrapper) { } } } - QMdiArea::keyPressEvent(arg__1); + QListView::keyPressEvent(event0); } -void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15977,9 +13182,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::keyReleaseEvent(event0); +} +void PythonQtShell_QListView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15987,9 +13214,9 @@ if (_wrapper) { } } } - QMdiArea::keyReleaseEvent(event0); + QListView::keyboardSearch(search0); } -void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) +void PythonQtShell_QListView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15999,9 +13226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16009,9 +13236,9 @@ if (_wrapper) { } } } - QMdiArea::leaveEvent(event0); + QListView::leaveEvent(event0); } -int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16022,19 +13249,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16042,9 +13269,9 @@ if (_wrapper) { } } } - return QMdiArea::metric(arg__1); + return QListView::metric(arg__1); } -QSize PythonQtShell_QMdiArea::minimumSizeHint() const +QSize PythonQtShell_QListView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16055,19 +13282,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16075,9 +13302,9 @@ if (_wrapper) { } } } - return QMdiArea::minimumSizeHint(); + return QListView::minimumSizeHint(); } -void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16087,9 +13314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16097,9 +13324,9 @@ if (_wrapper) { } } } - QMdiArea::mouseDoubleClickEvent(arg__1); + QListView::mouseDoubleClickEvent(event0); } -void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16109,9 +13336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16119,9 +13346,9 @@ if (_wrapper) { } } } - QMdiArea::mouseMoveEvent(arg__1); + QListView::mouseMoveEvent(e0); } -void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16131,9 +13358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16141,9 +13368,9 @@ if (_wrapper) { } } } - QMdiArea::mousePressEvent(arg__1); + QListView::mousePressEvent(event0); } -void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16153,9 +13380,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16163,9 +13390,42 @@ if (_wrapper) { } } } - QMdiArea::mouseReleaseEvent(arg__1); + QListView::mouseReleaseEvent(e0); +} +QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListView::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) +void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16175,9 +13435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16185,9 +13445,9 @@ if (_wrapper) { } } } - QMdiArea::moveEvent(event0); + QListView::moveEvent(event0); } -bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16198,19 +13458,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16218,9 +13478,9 @@ if (_wrapper) { } } } - return QMdiArea::nativeEvent(eventType0, message1, result2); + return QListView::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const +QPaintEngine* PythonQtShell_QListView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16231,19 +13491,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16251,9 +13511,9 @@ if (_wrapper) { } } } - return QMdiArea::paintEngine(); + return QListView::paintEngine(); } -void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) +void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16263,9 +13523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&paintEvent0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16273,9 +13533,9 @@ if (_wrapper) { } } } - QMdiArea::paintEvent(paintEvent0); + QListView::paintEvent(e0); } -QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16286,19 +13546,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16306,9 +13566,31 @@ if (_wrapper) { } } } - return QMdiArea::redirected(offset0); + return QListView::redirected(offset0); +} +void PythonQtShell_QListView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListView::reset(); } -void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) +void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16318,9 +13600,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&resizeEvent0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16328,21 +13610,21 @@ if (_wrapper) { } } } - QMdiArea::resizeEvent(resizeEvent0); + QListView::resizeEvent(e0); } -void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16350,21 +13632,21 @@ if (_wrapper) { } } } - QMdiArea::scrollContentsBy(dx0, dy1); + QListView::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QMdiArea::setVisible(bool visible0) +void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16372,21 +13654,21 @@ if (_wrapper) { } } } - QMdiArea::setVisible(visible0); + QListView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) +void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16394,54 +13676,43 @@ if (_wrapper) { } } } - QMdiArea::setupViewport(viewport0); + QListView::scrollContentsBy(dx0, dy1); } -QPainter* PythonQtShell_QMdiArea::sharedPainter() const +void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiArea::sharedPainter(); + QListView::scrollTo(index0, hint1); } -void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QListView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16449,32 +13720,32 @@ if (_wrapper) { } } } - QMdiArea::showEvent(showEvent0); + QListView::selectAll(); } -QSize PythonQtShell_QMdiArea::sizeHint() const +QList PythonQtShell_QListView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16482,21 +13753,21 @@ if (_wrapper) { } } } - return QMdiArea::sizeHint(); + return QListView::selectedIndexes(); } -void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16504,109 +13775,98 @@ if (_wrapper) { } } } - QMdiArea::tabletEvent(event0); + QListView::selectionChanged(selected0, deselected1); } -void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) +QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&timerEvent0}; + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiArea::timerEvent(timerEvent0); + return QListView::selectionCommand(index0, event1); } -bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) +void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiArea::viewportEvent(event0); + QListView::setModel(model0); } -QSize PythonQtShell_QMdiArea::viewportSizeHint() const +void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiArea::viewportSizeHint(); + QListView::setRootIndex(index0); } -void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16614,169 +13874,21 @@ if (_wrapper) { } } } - QMdiArea::wheelEvent(arg__1); -} -QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) -{ -return new PythonQtShell_QMdiArea(parent); } - -const QMetaObject* PythonQtShell_QMdiArea::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiArea::staticMetaObject); - } else { - return &QMdiArea::staticMetaObject; - } -} -int PythonQtShell_QMdiArea::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMdiArea::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->activationOrder()); -} - -QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->activeSubWindow()); -} - -QMdiSubWindow* PythonQtWrapper_QMdiArea::addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags) -{ - return ( theWrappedObject->addSubWindow(widget, flags)); -} - -QBrush PythonQtWrapper_QMdiArea::background(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -void PythonQtWrapper_QMdiArea::childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent) -{ - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_childEvent(childEvent)); -} - -QMdiSubWindow* PythonQtWrapper_QMdiArea::currentSubWindow(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->currentSubWindow()); -} - -bool PythonQtWrapper_QMdiArea::documentMode(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->documentMode()); -} - -void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->removeSubWindow(widget)); -} - -void PythonQtWrapper_QMdiArea::setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) -{ - ( theWrappedObject->setActivationOrder(order)); -} - -void PythonQtWrapper_QMdiArea::setBackground(QMdiArea* theWrappedObject, const QBrush& background) -{ - ( theWrappedObject->setBackground(background)); -} - -void PythonQtWrapper_QMdiArea::setDocumentMode(QMdiArea* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setDocumentMode(enabled)); -} - -void PythonQtWrapper_QMdiArea::setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -void PythonQtWrapper_QMdiArea::setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position) -{ - ( theWrappedObject->setTabPosition(position)); -} - -void PythonQtWrapper_QMdiArea::setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape) -{ - ( theWrappedObject->setTabShape(shape)); -} - -void PythonQtWrapper_QMdiArea::setTabsClosable(QMdiArea* theWrappedObject, bool closable) -{ - ( theWrappedObject->setTabsClosable(closable)); -} - -void PythonQtWrapper_QMdiArea::setTabsMovable(QMdiArea* theWrappedObject, bool movable) -{ - ( theWrappedObject->setTabsMovable(movable)); -} - -void PythonQtWrapper_QMdiArea::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) -{ - ( theWrappedObject->setViewMode(mode)); -} - -QList PythonQtWrapper_QMdiArea::subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) const -{ - return ( theWrappedObject->subWindowList(order)); -} - -QTabWidget::TabPosition PythonQtWrapper_QMdiArea::tabPosition(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->tabPosition()); -} - -QTabWidget::TabShape PythonQtWrapper_QMdiArea::tabShape(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->tabShape()); -} - -bool PythonQtWrapper_QMdiArea::tabsClosable(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->tabsClosable()); -} - -bool PythonQtWrapper_QMdiArea::tabsMovable(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->tabsMovable()); -} - -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)); -} - -QMdiArea::ViewMode PythonQtWrapper_QMdiArea::viewMode(QMdiArea* theWrappedObject) const -{ - return ( theWrappedObject->viewMode()); -} - - - -PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QListView::setSelection(rect0, command1); } -void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) +void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16784,21 +13896,21 @@ if (_wrapper) { } } } - QMdiSubWindow::actionEvent(event0); + QListView::setSelectionModel(selectionModel0); } -void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) +void PythonQtShell_QListView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&changeEvent0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16806,21 +13918,21 @@ if (_wrapper) { } } } - QMdiSubWindow::changeEvent(changeEvent0); + QListView::setVisible(visible0); } -void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) +void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&childEvent0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16828,43 +13940,54 @@ if (_wrapper) { } } } - QMdiSubWindow::childEvent(childEvent0); + QListView::setupViewport(viewport0); } -void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) +QPainter* PythonQtShell_QListView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&closeEvent0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::closeEvent(closeEvent0); + return QListView::sharedPainter(); } -void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) +void PythonQtShell_QListView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contextMenuEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16872,32 +13995,32 @@ if (_wrapper) { } } } - QMdiSubWindow::contextMenuEvent(contextMenuEvent0); + QListView::showEvent(event0); } -int PythonQtShell_QMdiSubWindow::devType() const +QSize PythonQtShell_QListView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16905,65 +14028,87 @@ if (_wrapper) { } } } - return QMdiSubWindow::devType(); + return QListView::sizeHint(); } -void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) +int PythonQtShell_QListView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::dragEnterEvent(event0); + return QListView::sizeHintForColumn(column0); } -void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) +int PythonQtShell_QListView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::dragLeaveEvent(event0); + return QListView::sizeHintForRow(row0); } -void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16971,21 +14116,21 @@ if (_wrapper) { } } } - QMdiSubWindow::dragMoveEvent(event0); + QListView::startDrag(supportedActions0); } -void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) +void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16993,21 +14138,21 @@ if (_wrapper) { } } } - QMdiSubWindow::dropEvent(event0); + QListView::tabletEvent(event0); } -void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) +void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17015,87 +14160,65 @@ if (_wrapper) { } } } - QMdiSubWindow::enterEvent(event0); + QListView::timerEvent(e0); } -bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) +void PythonQtShell_QListView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::event(event0); + QListView::updateEditorData(); } -bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QListView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::eventFilter(object0, event1); + QListView::updateEditorGeometries(); } -void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) +void PythonQtShell_QListView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusInEvent0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17103,32 +14226,32 @@ if (_wrapper) { } } } - QMdiSubWindow::focusInEvent(focusInEvent0); + QListView::updateGeometries(); } -bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) +int PythonQtShell_QListView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17136,21 +14259,21 @@ if (_wrapper) { } } } - return QMdiSubWindow::focusNextPrevChild(next0); + return QListView::verticalOffset(); } -void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) +void PythonQtShell_QListView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusOutEvent0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17158,65 +14281,54 @@ if (_wrapper) { } } } - QMdiSubWindow::focusOutEvent(focusOutEvent0); + QListView::verticalScrollbarAction(action0); } -bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const +void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::hasHeightForWidth(); + QListView::verticalScrollbarValueChanged(value0); } -int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const +QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17224,98 +14336,131 @@ if (_wrapper) { } } } - return QMdiSubWindow::heightForWidth(arg__1); + return QListView::viewOptions(); } -void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) +bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::hideEvent(hideEvent0); + return QListView::viewportEvent(event0); } -void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const +QSize PythonQtShell_QListView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::initPainter(painter0); + return QListView::viewportSizeHint(); } -void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) +QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::inputMethodEvent(arg__1); + return QListView::visualRect(index0); } -QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17323,21 +14468,21 @@ if (_wrapper) { } } } - return QMdiSubWindow::inputMethodQuery(arg__1); + return QListView::visualRegionForSelection(selection0); } -void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) +void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&keyEvent0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17345,307 +14490,241 @@ if (_wrapper) { } } } - QMdiSubWindow::keyPressEvent(keyEvent0); + QListView::wheelEvent(e0); } -void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) +{ +return new PythonQtShell_QListView(parent); } + +const QMetaObject* PythonQtShell_QListView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListView::staticMetaObject); + } else { + return &QListView::staticMetaObject; } } - QMdiSubWindow::keyReleaseEvent(event0); +int PythonQtShell_QListView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QListView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const +{ + return ( theWrappedObject->batchSize()); +} + +void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) +{ + ( theWrappedObject->clearPropertyFlags()); +} + +QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); +} + +QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const +{ + return ( theWrappedObject->flow()); +} + +QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const +{ + return ( theWrappedObject->gridSize()); +} + +bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const +{ + return ( theWrappedObject->isRowHidden(row)); +} + +bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const +{ + return ( theWrappedObject->isSelectionRectVisible()); +} + +bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const +{ + return ( theWrappedObject->isWrapping()); +} + +Qt::Alignment PythonQtWrapper_QListView::itemAlignment(QListView* theWrappedObject) const +{ + return ( theWrappedObject->itemAlignment()); +} + +QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->layoutMode()); +} + +int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const +{ + return ( theWrappedObject->modelColumn()); +} + +QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const +{ + return ( theWrappedObject->movement()); +} + +QRect PythonQtWrapper_QListView::rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rectForIndex(index)); +} + +void PythonQtWrapper_QListView::resizeContents(QListView* theWrappedObject, int width, int height) +{ + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeContents(width, height)); +} + +QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->resizeMode()); +} + +void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) +{ + ( theWrappedObject->setBatchSize(batchSize)); +} + +void PythonQtWrapper_QListView::setFlow(QListView* theWrappedObject, QListView::Flow flow) +{ + ( theWrappedObject->setFlow(flow)); +} + +void PythonQtWrapper_QListView::setGridSize(QListView* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setGridSize(size)); } -void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) + +void PythonQtWrapper_QListView::setItemAlignment(QListView* theWrappedObject, Qt::Alignment alignment) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&leaveEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setItemAlignment(alignment)); } - QMdiSubWindow::leaveEvent(leaveEvent0); + +void PythonQtWrapper_QListView::setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode) +{ + ( theWrappedObject->setLayoutMode(mode)); } -int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QListView::setModelColumn(QListView* theWrappedObject, int column) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setModelColumn(column)); } - return QMdiSubWindow::metric(arg__1); + +void PythonQtWrapper_QListView::setMovement(QListView* theWrappedObject, QListView::Movement movement) +{ + ( theWrappedObject->setMovement(movement)); } -QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const + +void PythonQtWrapper_QListView::setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setPositionForIndex(position, index)); } - return QMdiSubWindow::minimumSizeHint(); + +void PythonQtWrapper_QListView::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) +{ + ( theWrappedObject->setResizeMode(mode)); } -void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) + +void PythonQtWrapper_QListView::setRowHidden(QListView* theWrappedObject, int row, bool hide) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRowHidden(row, hide)); } - QMdiSubWindow::mouseDoubleClickEvent(mouseEvent0); + +void PythonQtWrapper_QListView::setSelectionRectVisible(QListView* theWrappedObject, bool show) +{ + ( theWrappedObject->setSelectionRectVisible(show)); } -void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) + +void PythonQtWrapper_QListView::setSpacing(QListView* theWrappedObject, int space) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSpacing(space)); } - QMdiSubWindow::mouseMoveEvent(mouseEvent0); + +void PythonQtWrapper_QListView::setUniformItemSizes(QListView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUniformItemSizes(enable)); } -void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) + +void PythonQtWrapper_QListView::setViewMode(QListView* theWrappedObject, QListView::ViewMode mode) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setViewMode(mode)); } - QMdiSubWindow::mousePressEvent(mouseEvent0); + +void PythonQtWrapper_QListView::setWordWrap(QListView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); } -void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) + +void PythonQtWrapper_QListView::setWrapping(QListView* theWrappedObject, bool enable) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWrapping(enable)); } - QMdiSubWindow::mouseReleaseEvent(mouseEvent0); + +int PythonQtWrapper_QListView::spacing(QListView* theWrappedObject) const +{ + return ( theWrappedObject->spacing()); } -void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) + +bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&moveEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->uniformItemSizes()); } - QMdiSubWindow::moveEvent(moveEvent0); + +QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); } -bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->wordWrap()); } - return QMdiSubWindow::nativeEvent(eventType0, message1, result2); + + + +PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const +void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::paintEngine(); + QListWidget::actionEvent(event0); } -void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) +void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&paintEvent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17653,54 +14732,43 @@ if (_wrapper) { } } } - QMdiSubWindow::paintEvent(paintEvent0); + QListWidget::changeEvent(arg__1); } -QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const +void PythonQtShell_QListWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::redirected(offset0); + QListWidget::childEvent(event0); } -void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) +void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&resizeEvent0}; + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17708,21 +14776,21 @@ if (_wrapper) { } } } - QMdiSubWindow::resizeEvent(resizeEvent0); + QListWidget::closeEditor(editor0, hint1); } -void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) +void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17730,54 +14798,43 @@ if (_wrapper) { } } } - QMdiSubWindow::setVisible(visible0); + QListWidget::closeEvent(event0); } -QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const +void PythonQtShell_QListWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::sharedPainter(); + QListWidget::commitData(editor0); } -void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17785,54 +14842,43 @@ if (_wrapper) { } } } - QMdiSubWindow::showEvent(showEvent0); + QListWidget::contextMenuEvent(arg__1); } -QSize PythonQtShell_QMdiSubWindow::sizeHint() const +void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::sizeHint(); + QListWidget::currentChanged(current0, previous1); } -void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QListWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17840,21 +14886,21 @@ if (_wrapper) { } } } - QMdiSubWindow::tabletEvent(event0); + QListWidget::customEvent(event0); } -void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) +void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&timerEvent0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17862,161 +14908,54 @@ if (_wrapper) { } } } - QMdiSubWindow::timerEvent(timerEvent0); + QListWidget::dataChanged(topLeft0, bottomRight1, roles2); } -void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) +int PythonQtShell_QListWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::wheelEvent(event0); -} -QMdiSubWindow* PythonQtWrapper_QMdiSubWindow::new_QMdiSubWindow(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QMdiSubWindow(parent, flags); } - -const QMetaObject* PythonQtShell_QMdiSubWindow::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiSubWindow::staticMetaObject); - } else { - return &QMdiSubWindow::staticMetaObject; - } -} -int PythonQtShell_QMdiSubWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMdiSubWindow::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QMdiSubWindow::childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_childEvent(childEvent)); -} - -bool PythonQtWrapper_QMdiSubWindow::eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->isShaded()); -} - -int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->keyboardPageStep()); -} - -int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->keyboardSingleStep()); -} - -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximizedButtonsWidget()); -} - -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximizedSystemMenuIconWidget()); -} - -QMdiArea* PythonQtWrapper_QMdiSubWindow::mdiArea(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->mdiArea()); -} - -QSize PythonQtWrapper_QMdiSubWindow::minimumSizeHint(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QMdiSubWindow::setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step) -{ - ( theWrappedObject->setKeyboardPageStep(step)); -} - -void PythonQtWrapper_QMdiSubWindow::setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step) -{ - ( theWrappedObject->setKeyboardSingleStep(step)); -} - -void PythonQtWrapper_QMdiSubWindow::setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -void PythonQtWrapper_QMdiSubWindow::setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu) -{ - ( theWrappedObject->setSystemMenu(systemMenu)); -} - -void PythonQtWrapper_QMdiSubWindow::setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QSize PythonQtWrapper_QMdiSubWindow::sizeHint(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QMenu* PythonQtWrapper_QMdiSubWindow::systemMenu(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->systemMenu()); -} - -bool PythonQtWrapper_QMdiSubWindow::testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const -{ - return ( theWrappedObject->testOption(arg__1)); -} - -void PythonQtWrapper_QMdiSubWindow::timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent) -{ - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_timerEvent(timerEvent)); -} - -QWidget* PythonQtWrapper_QMdiSubWindow::widget(QMdiSubWindow* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - - - -PythonQtShell_QMenu::~PythonQtShell_QMenu() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QListWidget::devType(); } -void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) +void PythonQtShell_QListWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18024,21 +14963,21 @@ if (_wrapper) { } } } - QMenu::actionEvent(arg__1); + QListWidget::doItemsLayout(); } -void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) +void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18046,21 +14985,21 @@ if (_wrapper) { } } } - QMenu::changeEvent(arg__1); + QListWidget::dragEnterEvent(event0); } -void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) +void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18068,21 +15007,21 @@ if (_wrapper) { } } } - QMenu::closeEvent(event0); + QListWidget::dragLeaveEvent(e0); } -void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18090,98 +15029,109 @@ if (_wrapper) { } } } - QMenu::contextMenuEvent(event0); + QListWidget::dragMoveEvent(e0); } -int PythonQtShell_QMenu::devType() const +void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenu::devType(); + QListWidget::dropEvent(event0); } -void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) +bool PythonQtShell_QListWidget::dropMimeData(int index0, const QMimeData* data1, Qt::DropAction action2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&data1, (void*)&action2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::dragEnterEvent(event0); + return QListWidget::dropMimeData(index0, data1, action2); } -void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::dragLeaveEvent(event0); + return QListWidget::edit(index0, trigger1, event2); } -void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18189,21 +15139,21 @@ if (_wrapper) { } } } - QMenu::dragMoveEvent(event0); + QListWidget::editorDestroyed(editor0); } -void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) +void PythonQtShell_QListWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18211,54 +15161,65 @@ if (_wrapper) { } } } - QMenu::dropEvent(event0); + QListWidget::enterEvent(event0); } -void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) +bool PythonQtShell_QListWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::enterEvent(arg__1); + return QListWidget::event(e0); } -bool PythonQtShell_QMenu::event(QEvent* arg__1) +bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18266,9 +15227,9 @@ if (_wrapper) { } } } - return QMenu::event(arg__1); + return QListWidget::eventFilter(object0, event1); } -void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -18278,9 +15239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18288,9 +15249,9 @@ if (_wrapper) { } } } - QMenu::focusInEvent(event0); + QListWidget::focusInEvent(event0); } -bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) +bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -18301,19 +15262,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18321,9 +15282,9 @@ if (_wrapper) { } } } - return QMenu::focusNextPrevChild(next0); + return QListWidget::focusNextPrevChild(next0); } -void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -18333,9 +15294,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18343,9 +15304,9 @@ if (_wrapper) { } } } - QMenu::focusOutEvent(event0); + QListWidget::focusOutEvent(event0); } -bool PythonQtShell_QMenu::hasHeightForWidth() const +bool PythonQtShell_QListWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -18356,19 +15317,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18376,9 +15337,9 @@ if (_wrapper) { } } } - return QMenu::hasHeightForWidth(); + return QListWidget::hasHeightForWidth(); } -int PythonQtShell_QMenu::heightForWidth(int arg__1) const +int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -18389,19 +15350,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18409,9 +15370,9 @@ if (_wrapper) { } } } - return QMenu::heightForWidth(arg__1); + return QListWidget::heightForWidth(arg__1); } -void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -18421,53 +15382,9 @@ if (_wrapper) { if (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; - } else { - PyErr_Clear(); - } - } -} - QMenu::hideEvent(arg__1); -} -void PythonQtShell_QMenu::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMenu::initPainter(painter0); -} -void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18475,32 +15392,32 @@ if (_wrapper) { } } } - QMenu::inputMethodEvent(arg__1); + QListWidget::hideEvent(event0); } -QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QListWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18508,43 +15425,21 @@ if (_wrapper) { } } } - return QMenu::inputMethodQuery(arg__1); -} -void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QMenu::keyPressEvent(arg__1); + return QListWidget::horizontalOffset(); } -void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18552,21 +15447,21 @@ if (_wrapper) { } } } - QMenu::keyReleaseEvent(event0); + QListWidget::horizontalScrollbarAction(action0); } -void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) +void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18574,65 +15469,32 @@ if (_wrapper) { } } } - QMenu::leaveEvent(arg__1); + QListWidget::horizontalScrollbarValueChanged(value0); } -int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; 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; - } else { - PyErr_Clear(); - } - } -} - return QMenu::metric(arg__1); -} -QSize PythonQtShell_QMenu::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18640,21 +15502,21 @@ if (_wrapper) { } } } - return QMenu::minimumSizeHint(); + return QListWidget::indexAt(p0); } -void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18662,21 +15524,21 @@ if (_wrapper) { } } } - QMenu::mouseDoubleClickEvent(event0); + QListWidget::initPainter(painter0); } -void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18684,65 +15546,87 @@ if (_wrapper) { } } } - QMenu::mouseMoveEvent(arg__1); + QListWidget::inputMethodEvent(event0); } -void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) +QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::mousePressEvent(arg__1); + return QListWidget::inputMethodQuery(query0); } -void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) +bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::mouseReleaseEvent(arg__1); + return QListWidget::isIndexHidden(index0); } -void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) +void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18750,87 +15634,65 @@ if (_wrapper) { } } } - QMenu::moveEvent(event0); + QListWidget::keyPressEvent(event0); } -bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenu::nativeEvent(eventType0, message1, result2); + QListWidget::keyReleaseEvent(event0); } -QPaintEngine* PythonQtShell_QMenu::paintEngine() const +void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static PyObject* name = PyString_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenu::paintEngine(); + QListWidget::keyboardSearch(search0); } -void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18838,32 +15700,32 @@ if (_wrapper) { } } } - QMenu::paintEvent(arg__1); + QListWidget::leaveEvent(event0); } -QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const +int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18871,76 +15733,98 @@ if (_wrapper) { } } } - return QMenu::redirected(offset0); + return QListWidget::metric(arg__1); } -void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) +QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::resizeEvent(event0); + return QListWidget::mimeData(items0); } -void PythonQtShell_QMenu::setVisible(bool visible0) +QStringList PythonQtShell_QListWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::setVisible(visible0); + return QListWidget::mimeTypes(); } -QPainter* PythonQtShell_QMenu::sharedPainter() const +QSize PythonQtShell_QListWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18948,21 +15832,21 @@ if (_wrapper) { } } } - return QMenu::sharedPainter(); + return QListWidget::minimumSizeHint(); } -void PythonQtShell_QMenu::showEvent(QShowEvent* event0) +void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18970,54 +15854,43 @@ if (_wrapper) { } } } - QMenu::showEvent(event0); + QListWidget::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QMenu::sizeHint() const +void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenu::sizeHint(); + QListWidget::mouseMoveEvent(e0); } -void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19025,21 +15898,21 @@ if (_wrapper) { } } } - QMenu::tabletEvent(event0); + QListWidget::mousePressEvent(event0); } -void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19047,295 +15920,241 @@ if (_wrapper) { } } } - QMenu::timerEvent(arg__1); + QListWidget::mouseReleaseEvent(e0); } -void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) +QModelIndex PythonQtShell_QListWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("moveCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - 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); } - -const QMetaObject* PythonQtShell_QMenu::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenu::staticMetaObject); - } else { - return &QMenu::staticMetaObject; - } -} -int PythonQtShell_QMenu::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMenu::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->actionAt(arg__1)); -} - -QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const -{ - return ( theWrappedObject->actionGeometry(arg__1)); -} - -QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->activeAction()); -} - -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addAction(icon, text)); -} - -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) -{ - return ( theWrappedObject->addAction(icon, text, receiver, member, shortcut)); -} - -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addAction(text)); -} - -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) -{ - return ( theWrappedObject->addAction(text, receiver, member, shortcut)); -} - -QAction* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, QMenu* menu) -{ - return ( theWrappedObject->addMenu(menu)); -} - -QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title) -{ - return ( theWrappedObject->addMenu(icon, title)); -} - -QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QString& title) -{ - return ( theWrappedObject->addMenu(title)); -} - -QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addSection(icon, text)); -} - -QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addSection(text)); -} - -QAction* PythonQtWrapper_QMenu::addSeparator(QMenu* theWrappedObject) -{ - return ( theWrappedObject->addSeparator()); -} - -void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -int PythonQtWrapper_QMenu::columnCount(QMenu* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_columnCount()); -} - -QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->defaultAction()); -} - -QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) -{ - return ( theWrappedObject->exec()); -} - -QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at, QWidget* parent) -{ - return (QMenu::exec(actions, pos, at, parent)); -} - -QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at) -{ - return ( theWrappedObject->exec(pos, at)); -} - -void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) -{ - ( theWrappedObject->hideTearOffMenu()); -} - -QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -void PythonQtWrapper_QMenu::initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const -{ - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_initStyleOption(option, action)); -} - -QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) -{ - return ( theWrappedObject->insertMenu(before, menu)); -} - -QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->insertSection(before, icon, text)); -} - -QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QString& text) -{ - return ( theWrappedObject->insertSection(before, text)); -} - -QAction* PythonQtWrapper_QMenu::insertSeparator(QMenu* theWrappedObject, QAction* before) -{ - return ( theWrappedObject->insertSeparator(before)); -} - -bool PythonQtWrapper_QMenu::isEmpty(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QMenu::isTearOffEnabled(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->isTearOffEnabled()); -} - -bool PythonQtWrapper_QMenu::isTearOffMenuVisible(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->isTearOffMenuVisible()); -} - -QAction* PythonQtWrapper_QMenu::menuAction(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->menuAction()); -} - -void PythonQtWrapper_QMenu::popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at) -{ - ( theWrappedObject->popup(pos, at)); -} - -bool PythonQtWrapper_QMenu::separatorsCollapsible(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->separatorsCollapsible()); + return QListWidget::moveCursor(cursorAction0, modifiers1); } - -void PythonQtWrapper_QMenu::setActiveAction(QMenu* theWrappedObject, QAction* act) +void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->setActiveAction(act)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QMenu::setDefaultAction(QMenu* theWrappedObject, QAction* arg__1) -{ - ( theWrappedObject->setDefaultAction(arg__1)); + QListWidget::moveEvent(event0); } - -void PythonQtWrapper_QMenu::setIcon(QMenu* theWrappedObject, const QIcon& icon) +bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setIcon(icon)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QMenu::setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse) -{ - ( theWrappedObject->setSeparatorsCollapsible(collapse)); + return QListWidget::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QMenu::setTearOffEnabled(QMenu* theWrappedObject, bool arg__1) +QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { - ( theWrappedObject->setTearOffEnabled(arg__1)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QMenu::setTitle(QMenu* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setTitle(title)); + return QListWidget::paintEngine(); } - -void PythonQtWrapper_QMenu::setToolTipsVisible(QMenu* theWrappedObject, bool visible) +void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { - ( theWrappedObject->setToolTipsVisible(visible)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject) -{ - ( theWrappedObject->showTearOffMenu()); + QListWidget::paintEvent(e0); } - -void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos) +QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { - ( theWrappedObject->showTearOffMenu(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); + return QListWidget::redirected(offset0); } - -void PythonQtWrapper_QMenu::timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1) +void PythonQtShell_QListWidget::reset() { - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_timerEvent(arg__1)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const -{ - return ( theWrappedObject->title()); + QListWidget::reset(); } - -bool PythonQtWrapper_QMenu::toolTipsVisible(QMenu* theWrappedObject) const +void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { - return ( theWrappedObject->toolTipsVisible()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QListWidget::resizeEvent(e0); } -void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) +void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19343,21 +16162,21 @@ if (_wrapper) { } } } - QMenuBar::actionEvent(arg__1); + QListWidget::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) +void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19365,21 +16184,21 @@ if (_wrapper) { } } } - QMenuBar::changeEvent(arg__1); + QListWidget::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19387,21 +16206,21 @@ if (_wrapper) { } } } - QMenuBar::closeEvent(event0); + QListWidget::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19409,76 +16228,76 @@ if (_wrapper) { } } } - QMenuBar::contextMenuEvent(event0); + QListWidget::scrollTo(index0, hint1); } -int PythonQtShell_QMenuBar::devType() const +void PythonQtShell_QListWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::devType(); + QListWidget::selectAll(); } -void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) +QList PythonQtShell_QListWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::dragEnterEvent(event0); + return QListWidget::selectedIndexes(); } -void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19486,43 +16305,54 @@ if (_wrapper) { } } } - QMenuBar::dragLeaveEvent(event0); + QListWidget::selectionChanged(selected0, deselected1); } -void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) +QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::dragMoveEvent(event0); + return QListWidget::selectionCommand(index0, event1); } -void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19530,21 +16360,21 @@ if (_wrapper) { } } } - QMenuBar::dropEvent(event0); + QListWidget::setRootIndex(index0); } -void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) +void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19552,87 +16382,65 @@ if (_wrapper) { } } } - QMenuBar::enterEvent(event0); + QListWidget::setSelection(rect0, command1); } -bool PythonQtShell_QMenuBar::event(QEvent* arg__1) +void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::event(arg__1); + QListWidget::setSelectionModel(selectionModel0); } -bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) +void PythonQtShell_QListWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::eventFilter(arg__1, arg__2); + QListWidget::setVisible(visible0); } -void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) +void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19640,32 +16448,32 @@ if (_wrapper) { } } } - QMenuBar::focusInEvent(arg__1); + QListWidget::setupViewport(viewport0); } -bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) +QPainter* PythonQtShell_QListWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19673,21 +16481,21 @@ if (_wrapper) { } } } - return QMenuBar::focusNextPrevChild(next0); + return QListWidget::sharedPainter(); } -void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19695,32 +16503,32 @@ if (_wrapper) { } } } - QMenuBar::focusOutEvent(arg__1); + QListWidget::showEvent(event0); } -bool PythonQtShell_QMenuBar::hasHeightForWidth() const +QSize PythonQtShell_QListWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19728,32 +16536,32 @@ if (_wrapper) { } } } - return QMenuBar::hasHeightForWidth(); + return QListWidget::sizeHint(); } -int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const +int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19761,65 +16569,54 @@ if (_wrapper) { } } } - return QMenuBar::heightForWidth(arg__1); -} -void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMenuBar::hideEvent(event0); + return QListWidget::sizeHintForColumn(column0); } -void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const +int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::initPainter(painter0); + return QListWidget::sizeHintForRow(row0); } -void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19827,32 +16624,32 @@ if (_wrapper) { } } } - QMenuBar::inputMethodEvent(arg__1); + QListWidget::startDrag(supportedActions0); } -QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19860,21 +16657,21 @@ if (_wrapper) { } } } - return QMenuBar::inputMethodQuery(arg__1); + return QListWidget::supportedDropActions(); } -void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19882,21 +16679,21 @@ if (_wrapper) { } } } - QMenuBar::keyPressEvent(arg__1); + QListWidget::tabletEvent(event0); } -void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19904,21 +16701,21 @@ if (_wrapper) { } } } - QMenuBar::keyReleaseEvent(event0); + QListWidget::timerEvent(e0); } -void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) +void PythonQtShell_QListWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19926,109 +16723,98 @@ if (_wrapper) { } } } - QMenuBar::leaveEvent(arg__1); + QListWidget::updateEditorData(); } -int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QListWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::metric(arg__1); + QListWidget::updateEditorGeometries(); } -QSize PythonQtShell_QMenuBar::minimumSizeHint() const +void PythonQtShell_QListWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::minimumSizeHint(); + QListWidget::updateGeometries(); } -void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) +int PythonQtShell_QListWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::mouseDoubleClickEvent(event0); + return QListWidget::verticalOffset(); } -void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20036,21 +16822,21 @@ if (_wrapper) { } } } - QMenuBar::mouseMoveEvent(arg__1); + QListWidget::verticalScrollbarAction(action0); } -void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20058,76 +16844,98 @@ if (_wrapper) { } } } - QMenuBar::mousePressEvent(arg__1); + QListWidget::verticalScrollbarValueChanged(value0); } -void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) +QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::mouseReleaseEvent(arg__1); + return QListWidget::viewOptions(); } -void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::moveEvent(event0); + return QListWidget::viewportEvent(event0); } -bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSize PythonQtShell_QListWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20135,32 +16943,32 @@ if (_wrapper) { } } } - return QMenuBar::nativeEvent(eventType0, message1, result2); + return QListWidget::viewportSizeHint(); } -QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const +QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20168,131 +16976,305 @@ if (_wrapper) { } } } - return QMenuBar::paintEngine(); + return QListWidget::visualRect(index0); } -void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) +QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::paintEvent(arg__1); + return QListWidget::visualRegionForSelection(selection0); } -QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const +void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::redirected(offset0); + QListWidget::wheelEvent(e0); +} +QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) +{ +return new PythonQtShell_QListWidget(parent); } + +const QMetaObject* PythonQtShell_QListWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListWidget::staticMetaObject); + } else { + return &QListWidget::staticMetaObject; + } +} +int PythonQtShell_QListWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QListWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addItem(item)); +} + +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) +{ + ( theWrappedObject->addItem(label)); +} + +void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->addItems(labels)); +} + +void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->closePersistentEditor(item)); +} + +int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentRow()); +} + +bool PythonQtWrapper_QListWidget::dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action) +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropMimeData(index, data, action)); +} + +void PythonQtWrapper_QListWidget::editItem(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->editItem(item)); +} + +QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findItems(text, flags)); +} + +QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, const QListWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); +} + +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertItem(row, item)); +} + +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) +{ + ( theWrappedObject->insertItem(row, label)); +} + +void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) +{ + ( theWrappedObject->insertItems(row, labels)); +} + +bool PythonQtWrapper_QListWidget::isPersistentEditorOpen(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item)); +} + +bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const +{ + return ( theWrappedObject->item(row)); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QListWidgetItem* PythonQtWrapper_QListWidget::itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +} + +QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( theWrappedObject->itemWidget(item)); +} + +QList PythonQtWrapper_QListWidget::items(QListWidget* theWrappedObject, const QMimeData* data) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_items(data)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::mimeData(QListWidget* theWrappedObject, const QList items) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeData(items)); +} + +QStringList PythonQtWrapper_QListWidget::mimeTypes(QListWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeTypes()); +} + +void PythonQtWrapper_QListWidget::openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->openPersistentEditor(item)); +} + +void PythonQtWrapper_QListWidget::removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->removeItemWidget(item)); +} + +int PythonQtWrapper_QListWidget::row(QListWidget* theWrappedObject, const QListWidgetItem* item) const +{ + return ( theWrappedObject->row(item)); +} + +QList PythonQtWrapper_QListWidget::selectedItems(QListWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); +} + +void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentItem(item, command)); +} + +void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row) +{ + ( theWrappedObject->setCurrentRow(row)); +} + +void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentRow(row, command)); } -void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) + +void PythonQtWrapper_QListWidget::setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, PythonQtPassOwnershipToCPP widget) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setItemWidget(item, widget)); } - QMenuBar::resizeEvent(arg__1); + +void PythonQtWrapper_QListWidget::setSortingEnabled(QListWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); } -void PythonQtShell_QMenuBar::setVisible(bool visible0) + +void PythonQtWrapper_QListWidget::sortItems(QListWidget* theWrappedObject, Qt::SortOrder order) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->sortItems(order)); +} + +Qt::DropActions PythonQtWrapper_QListWidget::supportedDropActions(QListWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::takeItem(QListWidget* theWrappedObject, int row) +{ + return ( theWrappedObject->takeItem(row)); +} + +QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); } - QMenuBar::setVisible(visible0); + + + +PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QPainter* PythonQtShell_QMenuBar::sharedPainter() const +QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QListWidgetItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QListWidgetItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QListWidgetItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20300,54 +17282,32 @@ if (_wrapper) { } } } - return QMenuBar::sharedPainter(); + return QListWidgetItem::clone(); } -void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) +QVariant PythonQtShell_QListWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMenuBar::showEvent(event0); -} -QSize PythonQtShell_QMenuBar::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20355,21 +17315,21 @@ if (_wrapper) { } } } - return QMenuBar::sizeHint(); + return QListWidgetItem::data(role0); } -void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20377,21 +17337,21 @@ if (_wrapper) { } } } - QMenuBar::tabletEvent(event0); + QListWidgetItem::read(in0); } -void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20399,21 +17359,21 @@ if (_wrapper) { } } } - QMenuBar::timerEvent(arg__1); + QListWidgetItem::setData(role0, value1); } -void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20421,143 +17381,203 @@ if (_wrapper) { } } } - QMenuBar::wheelEvent(event0); + QListWidgetItem::write(out0); } -QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis listview, int type) { -return new PythonQtShell_QMenuBar(parent); } +return new PythonQtShell_QListWidgetItem(listview, type); } -const QMetaObject* PythonQtShell_QMenuBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenuBar::staticMetaObject); - } else { - return &QMenuBar::staticMetaObject; - } +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis listview, int type) +{ +return new PythonQtShell_QListWidgetItem(icon, text, listview, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis listview, int type) +{ +return new PythonQtShell_QListWidgetItem(text, listview, type); } + +QBrush PythonQtWrapper_QListWidgetItem::background(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); } -int PythonQtShell_QMenuBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMenuBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +Qt::CheckState PythonQtWrapper_QListWidgetItem::checkState(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); } -QAction* PythonQtWrapper_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::clone(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->actionAt(arg__1)); + return ( theWrappedObject->clone()); } -QRect PythonQtWrapper_QMenuBar::actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const +QVariant PythonQtWrapper_QListWidgetItem::data(QListWidgetItem* theWrappedObject, int role) const { - return ( theWrappedObject->actionGeometry(arg__1)); + return ( theWrappedObject->data(role)); } -QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const +Qt::ItemFlags PythonQtWrapper_QListWidgetItem::flags(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->activeAction()); + return ( theWrappedObject->flags()); } -QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) +QFont PythonQtWrapper_QListWidgetItem::font(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->addAction(text)); + return ( theWrappedObject->font()); } -QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +QBrush PythonQtWrapper_QListWidgetItem::foreground(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->addAction(text, receiver, member)); + return ( theWrappedObject->foreground()); } -QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) +QIcon PythonQtWrapper_QListWidgetItem::icon(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->addMenu(menu)); + return ( theWrappedObject->icon()); } -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) +bool PythonQtWrapper_QListWidgetItem::isHidden(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->addMenu(icon, title)); + return ( theWrappedObject->isHidden()); } -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QString& title) +bool PythonQtWrapper_QListWidgetItem::isSelected(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->addMenu(title)); + return ( theWrappedObject->isSelected()); } -QAction* PythonQtWrapper_QMenuBar::addSeparator(QMenuBar* theWrappedObject) +QListWidget* PythonQtWrapper_QListWidgetItem::listWidget(QListWidgetItem* theWrappedObject) const { - return ( theWrappedObject->addSeparator()); + return ( theWrappedObject->listWidget()); } -void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) +void PythonQtWrapper_QListWidgetItem::writeTo(QListWidgetItem* theWrappedObject, QDataStream& out) { - ( theWrappedObject->clear()); + out << (*theWrappedObject); } -QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const +void PythonQtWrapper_QListWidgetItem::readFrom(QListWidgetItem* theWrappedObject, QDataStream& in) { - return ( theWrappedObject->cornerWidget(corner)); + in >> (*theWrappedObject); } -bool PythonQtWrapper_QMenuBar::eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2) +void PythonQtWrapper_QListWidgetItem::read(QListWidgetItem* theWrappedObject, QDataStream& in) { - return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); + ( theWrappedObject->read(in)); } -void PythonQtWrapper_QMenuBar::initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +void PythonQtWrapper_QListWidgetItem::setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush) { - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_initStyleOption(option, action)); + ( theWrappedObject->setBackground(brush)); } -QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) +void PythonQtWrapper_QListWidgetItem::setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state) { - return ( theWrappedObject->insertMenu(before, menu)); + ( theWrappedObject->setCheckState(state)); } -QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) +void PythonQtWrapper_QListWidgetItem::setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value) { - return ( theWrappedObject->insertSeparator(before)); + ( theWrappedObject->setData(role, value)); } -bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const +void PythonQtWrapper_QListWidgetItem::setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags) { - return ( theWrappedObject->isDefaultUp()); + ( theWrappedObject->setFlags(flags)); } -bool PythonQtWrapper_QMenuBar::isNativeMenuBar(QMenuBar* theWrappedObject) const +void PythonQtWrapper_QListWidgetItem::setFont(QListWidgetItem* theWrappedObject, const QFont& font) { - return ( theWrappedObject->isNativeMenuBar()); + ( theWrappedObject->setFont(font)); } -QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const +void PythonQtWrapper_QListWidgetItem::setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->minimumSizeHint()); + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QListWidgetItem::setHidden(QListWidgetItem* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHidden(hide)); +} + +void PythonQtWrapper_QListWidgetItem::setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QListWidgetItem::setSelected(QListWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QListWidgetItem::setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSizeHint(size)); +} + +void PythonQtWrapper_QListWidgetItem::setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); } -void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) +void PythonQtWrapper_QListWidgetItem::setText(QListWidgetItem* theWrappedObject, const QString& text) { - ( theWrappedObject->setActiveAction(action)); + ( theWrappedObject->setText(text)); } -void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) +void PythonQtWrapper_QListWidgetItem::setTextAlignment(QListWidgetItem* theWrappedObject, int alignment) { - ( theWrappedObject->setCornerWidget(w, corner)); + ( theWrappedObject->setTextAlignment(alignment)); } -void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) +void PythonQtWrapper_QListWidgetItem::setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip) { - ( theWrappedObject->setDefaultUp(arg__1)); + ( theWrappedObject->setToolTip(toolTip)); } -void PythonQtWrapper_QMenuBar::setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar) +void PythonQtWrapper_QListWidgetItem::setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis) { - ( theWrappedObject->setNativeMenuBar(nativeMenuBar)); + ( theWrappedObject->setWhatsThis(whatsThis)); } -QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const +QSize PythonQtWrapper_QListWidgetItem::sizeHint(QListWidgetItem* theWrappedObject) const { return ( theWrappedObject->sizeHint()); } -void PythonQtWrapper_QMenuBar::timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1) +QString PythonQtWrapper_QListWidgetItem::statusTip(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QString PythonQtWrapper_QListWidgetItem::text(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +int PythonQtWrapper_QListWidgetItem::textAlignment(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); +} + +QString PythonQtWrapper_QListWidgetItem::toolTip(QListWidgetItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_timerEvent(arg__1)); + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QListWidgetItem::type(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QListWidgetItem::whatsThis(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QListWidgetItem::write(QListWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.h similarity index 51% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.h index 2a2a8859..8b2c3cb5 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.h @@ -1,6 +1,10 @@ #include -#include +#include +#include #include +#include +#include +#include #include #include #include @@ -11,114 +15,467 @@ #include #include #include +#include +#include #include #include +#include #include -#include #include +#include #include +#include #include #include +#include +#include +#include +#include +#include +#include #include #include +#include #include #include #include #include +#include #include #include +#include #include #include #include +#include #include #include -#include +#include #include -#include -#include -#include #include -#include +#include #include #include +#include #include #include #include -#include -#include +#include +#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_QIconEngine : public QIconEngine +{ +public: + PythonQtShell_QIconEngine():QIconEngine(),_wrapper(nullptr) {}; + PythonQtShell_QIconEngine(const QIconEngine& other):QIconEngine(other),_wrapper(nullptr) {}; + + ~PythonQtShell_QIconEngine() override; + +QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) override; +void addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) override; +void addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) override; +QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const override; +QIconEngine* clone() const override; +QString iconName() const override; +QString key() const override; +void paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) override; +QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) override; +bool read(QDataStream& in) override; +void virtual_hook(int id, void* data) override; +bool write(QDataStream& out) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QIconEngine : public QIconEngine +{ public: +inline QSize py_q_actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::actualSize(size, mode, state); } +inline void py_q_addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) { QIconEngine::addFile(fileName, size, mode, state); } +inline void py_q_addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) { QIconEngine::addPixmap(pixmap, mode, state); } +inline QList py_q_availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const { return QIconEngine::availableSizes(mode, state); } +inline QIconEngine* py_q_clone() const { return this->clone(); } +inline QString py_q_iconName() const { return QIconEngine::iconName(); } +inline QString py_q_key() const { return QIconEngine::key(); } +inline void py_q_paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) { this->paint(painter, rect, mode, state); } +inline QPixmap py_q_pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state) { return QIconEngine::pixmap(size, mode, state); } +inline bool py_q_read(QDataStream& in) { return QIconEngine::read(in); } +inline void py_q_virtual_hook(int id, void* data) { QIconEngine::virtual_hook(id, data); } +inline bool py_q_write(QDataStream& out) const { return QIconEngine::write(out); } +}; + +class PythonQtWrapper_QIconEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IconEngineHook ) +enum IconEngineHook{ + AvailableSizesHook = QIconEngine::AvailableSizesHook, IconNameHook = QIconEngine::IconNameHook, IsNullHook = QIconEngine::IsNullHook, ScaledPixmapHook = QIconEngine::ScaledPixmapHook}; +public slots: +QIconEngine* new_QIconEngine(); +QIconEngine* new_QIconEngine(const QIconEngine& other); +void delete_QIconEngine(QIconEngine* obj) { delete obj; } + QSize actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); + QSize py_q_actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_actualSize(size, mode, state));} + void addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); + void py_q_addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_addFile(fileName, size, mode, state));} + void addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); + void py_q_addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_addPixmap(pixmap, mode, state));} + QList availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QList py_q_availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_availableSizes(mode, state));} + QIconEngine* clone(QIconEngine* theWrappedObject) const; + QIconEngine* py_q_clone(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_clone());} + QString iconName(QIconEngine* theWrappedObject) const; + QString py_q_iconName(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_iconName());} + bool isNull(QIconEngine* theWrappedObject) const; + QString key(QIconEngine* theWrappedObject) const; + QString py_q_key(QIconEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_key());} + void paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); + void py_q_paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_paint(painter, rect, mode, state));} + QPixmap pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state); + QPixmap py_q_pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_pixmap(size, mode, state));} + bool read(QIconEngine* theWrappedObject, QDataStream& in); + bool py_q_read(QIconEngine* theWrappedObject, QDataStream& in){ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_read(in));} + QPixmap scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale); + void virtual_hook(QIconEngine* theWrappedObject, int id, void* data); + void py_q_virtual_hook(QIconEngine* theWrappedObject, int id, void* data){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_virtual_hook(id, data));} + bool write(QIconEngine* theWrappedObject, QDataStream& out) const; + bool py_q_write(QIconEngine* theWrappedObject, QDataStream& out) const{ return (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_write(out));} + bool __nonzero__(QIconEngine* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QImageIOHandler : public QImageIOHandler +{ +public: + PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QImageIOHandler() override; + +bool canRead() const override; +int currentImageNumber() const override; +QRect currentImageRect() const override; +int imageCount() const override; +bool jumpToImage(int imageNumber) override; +bool jumpToNextImage() override; +int loopCount() const override; +int nextImageDelay() const override; +QVariant option(QImageIOHandler::ImageOption option) const override; +bool read(QImage* image) override; +void setOption(QImageIOHandler::ImageOption option, const QVariant& value) override; +bool supportsOption(QImageIOHandler::ImageOption option) const override; +bool write(const QImage& image) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler +{ public: +inline bool py_q_canRead() const { return this->canRead(); } +inline int py_q_currentImageNumber() const { return QImageIOHandler::currentImageNumber(); } +inline QRect py_q_currentImageRect() const { return QImageIOHandler::currentImageRect(); } +inline int py_q_imageCount() const { return QImageIOHandler::imageCount(); } +inline bool py_q_jumpToImage(int imageNumber) { return QImageIOHandler::jumpToImage(imageNumber); } +inline bool py_q_jumpToNextImage() { return QImageIOHandler::jumpToNextImage(); } +inline int py_q_loopCount() const { return QImageIOHandler::loopCount(); } +inline int py_q_nextImageDelay() const { return QImageIOHandler::nextImageDelay(); } +inline QVariant py_q_option(QImageIOHandler::ImageOption option) const { return QImageIOHandler::option(option); } +inline bool py_q_read(QImage* image) { return this->read(image); } +inline void py_q_setOption(QImageIOHandler::ImageOption option, const QVariant& value) { QImageIOHandler::setOption(option, value); } +inline bool py_q_supportsOption(QImageIOHandler::ImageOption option) const { return QImageIOHandler::supportsOption(option); } +inline bool py_q_write(const QImage& image) { return QImageIOHandler::write(image); } +}; + +class PythonQtWrapper_QImageIOHandler : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ImageOption Transformation ) +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, ImageFormat = QImageIOHandler::ImageFormat, SupportedSubTypes = QImageIOHandler::SupportedSubTypes, OptimizedWrite = QImageIOHandler::OptimizedWrite, ProgressiveScanWrite = QImageIOHandler::ProgressiveScanWrite, ImageTransformation = QImageIOHandler::ImageTransformation, TransformedByDefault = QImageIOHandler::TransformedByDefault}; +enum Transformation{ + TransformationNone = QImageIOHandler::TransformationNone, TransformationMirror = QImageIOHandler::TransformationMirror, TransformationFlip = QImageIOHandler::TransformationFlip, TransformationRotate180 = QImageIOHandler::TransformationRotate180, TransformationRotate90 = QImageIOHandler::TransformationRotate90, TransformationMirrorAndRotate90 = QImageIOHandler::TransformationMirrorAndRotate90, TransformationFlipAndRotate90 = QImageIOHandler::TransformationFlipAndRotate90, TransformationRotate270 = QImageIOHandler::TransformationRotate270}; +public slots: +QImageIOHandler* new_QImageIOHandler(); +void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } + bool canRead(QImageIOHandler* theWrappedObject) const; + bool py_q_canRead(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_canRead());} + int currentImageNumber(QImageIOHandler* theWrappedObject) const; + int py_q_currentImageNumber(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_currentImageNumber());} + QRect currentImageRect(QImageIOHandler* theWrappedObject) const; + QRect py_q_currentImageRect(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_currentImageRect());} + QIODevice* device(QImageIOHandler* theWrappedObject) const; + QByteArray format(QImageIOHandler* theWrappedObject) const; + int imageCount(QImageIOHandler* theWrappedObject) const; + int py_q_imageCount(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_imageCount());} + bool jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber); + bool py_q_jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_jumpToImage(imageNumber));} + bool jumpToNextImage(QImageIOHandler* theWrappedObject); + bool py_q_jumpToNextImage(QImageIOHandler* theWrappedObject){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_jumpToNextImage());} + int loopCount(QImageIOHandler* theWrappedObject) const; + int py_q_loopCount(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_loopCount());} + int nextImageDelay(QImageIOHandler* theWrappedObject) const; + int py_q_nextImageDelay(QImageIOHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_nextImageDelay());} + QVariant option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; + QVariant py_q_option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_option(option));} + bool read(QImageIOHandler* theWrappedObject, QImage* image); + bool py_q_read(QImageIOHandler* theWrappedObject, QImage* image){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_read(image));} + void setDevice(QImageIOHandler* theWrappedObject, QIODevice* device); + void setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format); + void setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value); + void py_q_setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value){ (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_setOption(option, value));} + bool supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; + bool py_q_supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const{ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_supportsOption(option));} + bool write(QImageIOHandler* theWrappedObject, const QImage& image); + bool py_q_write(QImageIOHandler* theWrappedObject, const QImage& image){ return (((PythonQtPublicPromoter_QImageIOHandler*)theWrappedObject)->py_q_write(image));} +}; + + + + + +class PythonQtShell_QImageIOPlugin : public QImageIOPlugin +{ +public: + PythonQtShell_QImageIOPlugin(QObject* parent = nullptr):QImageIOPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QImageIOPlugin() override; + +QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const override; +void childEvent(QChildEvent* event) override; +QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QImageIOPlugin : public QImageIOPlugin +{ public: +inline QImageIOPlugin::Capabilities py_q_capabilities(QIODevice* device, const QByteArray& format) const { return this->capabilities(device, format); } +inline QImageIOHandler* py_q_create(QIODevice* device, const QByteArray& format = QByteArray()) const { return this->create(device, format); } +}; + +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 = nullptr); +void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } + QImageIOPlugin::Capabilities capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const; + QImageIOPlugin::Capabilities py_q_capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const{ return (((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->py_q_capabilities(device, format));} + QImageIOHandler* create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const; + QImageIOHandler* py_q_create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const{ return (((PythonQtPublicPromoter_QImageIOPlugin*)theWrappedObject)->py_q_create(device, format));} +}; + + + + + +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; } + bool autoDetectImageFormat(QImageReader* theWrappedObject) const; + bool autoTransform(QImageReader* theWrappedObject) const; + QColor backgroundColor(QImageReader* theWrappedObject) const; + bool canRead(QImageReader* theWrappedObject) const; + QRect clipRect(QImageReader* theWrappedObject) const; + int currentImageNumber(QImageReader* theWrappedObject) const; + QRect currentImageRect(QImageReader* theWrappedObject) const; + bool decideFormatFromContent(QImageReader* theWrappedObject) const; + QIODevice* device(QImageReader* theWrappedObject) const; + QImageReader::ImageReaderError error(QImageReader* theWrappedObject) const; + QString errorString(QImageReader* theWrappedObject) const; + QString fileName(QImageReader* theWrappedObject) const; + QByteArray format(QImageReader* theWrappedObject) const; + float gamma(QImageReader* theWrappedObject) const; + int imageCount(QImageReader* theWrappedObject) const; + QImage::Format imageFormat(QImageReader* theWrappedObject) const; + QByteArray static_QImageReader_imageFormat(QIODevice* device); + QByteArray static_QImageReader_imageFormat(const QString& fileName); + QList static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType); + bool jumpToImage(QImageReader* theWrappedObject, int imageNumber); + bool jumpToNextImage(QImageReader* theWrappedObject); + int loopCount(QImageReader* theWrappedObject) const; + int nextImageDelay(QImageReader* theWrappedObject) const; + int quality(QImageReader* theWrappedObject) const; + QImage read(QImageReader* theWrappedObject); + QRect scaledClipRect(QImageReader* theWrappedObject) const; + QSize scaledSize(QImageReader* theWrappedObject) const; + void setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled); + void setAutoTransform(QImageReader* theWrappedObject, bool enabled); + void setBackgroundColor(QImageReader* theWrappedObject, const QColor& color); + void setClipRect(QImageReader* theWrappedObject, const QRect& rect); + void setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored); + void setDevice(QImageReader* theWrappedObject, QIODevice* device); + void setFileName(QImageReader* theWrappedObject, const QString& fileName); + void setFormat(QImageReader* theWrappedObject, const QByteArray& format); + void setGamma(QImageReader* theWrappedObject, float gamma); + void setQuality(QImageReader* theWrappedObject, int quality); + void setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect); + void setScaledSize(QImageReader* theWrappedObject, const QSize& size); + QSize size(QImageReader* theWrappedObject) const; + QByteArray subType(QImageReader* theWrappedObject) const; + QList static_QImageReader_supportedImageFormats(); + QList static_QImageReader_supportedMimeTypes(); + QList supportedSubTypes(QImageReader* theWrappedObject) const; + bool supportsAnimation(QImageReader* theWrappedObject) const; + bool supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const; + QString text(QImageReader* theWrappedObject, const QString& key) const; + QStringList textKeys(QImageReader* theWrappedObject) const; + QString static_QImageReader_tr(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + QString static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation = nullptr, int n = -1); +}; + + + + + +class PythonQtWrapper_QImageWriter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ImageWriterError ) +enum ImageWriterError{ + UnknownError = QImageWriter::UnknownError, DeviceError = QImageWriter::DeviceError, UnsupportedFormatError = QImageWriter::UnsupportedFormatError, InvalidImageError = QImageWriter::InvalidImageError}; +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; } + bool canWrite(QImageWriter* theWrappedObject) const; + int compression(QImageWriter* theWrappedObject) const; + QIODevice* device(QImageWriter* theWrappedObject) const; + QImageWriter::ImageWriterError error(QImageWriter* theWrappedObject) const; + QString errorString(QImageWriter* theWrappedObject) const; + QString fileName(QImageWriter* theWrappedObject) const; + QByteArray format(QImageWriter* theWrappedObject) const; + float gamma(QImageWriter* theWrappedObject) const; + QList static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType); + bool optimizedWrite(QImageWriter* theWrappedObject) const; + bool progressiveScanWrite(QImageWriter* theWrappedObject) const; + int quality(QImageWriter* theWrappedObject) const; + void setCompression(QImageWriter* theWrappedObject, int compression); + void setDevice(QImageWriter* theWrappedObject, QIODevice* device); + void setFileName(QImageWriter* theWrappedObject, const QString& fileName); + void setFormat(QImageWriter* theWrappedObject, const QByteArray& format); + void setGamma(QImageWriter* theWrappedObject, float gamma); + void setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize); + void setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive); + void setQuality(QImageWriter* theWrappedObject, int quality); + void setSubType(QImageWriter* theWrappedObject, const QByteArray& type); + void setText(QImageWriter* theWrappedObject, const QString& key, const QString& text); + QByteArray subType(QImageWriter* theWrappedObject) const; + QList static_QImageWriter_supportedImageFormats(); + QList static_QImageWriter_supportedMimeTypes(); + QList supportedSubTypes(QImageWriter* theWrappedObject) const; + bool supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const; + QString static_QImageWriter_tr(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + QString static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation = nullptr, int n = -1); + bool write(QImageWriter* theWrappedObject, const QImage& image); +}; + + + + + class PythonQtShell_QInputDialog : public QInputDialog { public: - PythonQtShell_QInputDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QInputDialog(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QInputDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QInputDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QInputDialog(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QInputDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QInputDialog : public QInputDialog @@ -141,7 +498,7 @@ enum InputMode{ Q_DECLARE_FLAGS(InputDialogOptions, InputDialogOption) public slots: QInputDialog* new_QInputDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QInputDialog(QInputDialog* obj) { delete obj; } +void delete_QInputDialog(QInputDialog* obj) { delete obj; } QString cancelButtonText(QInputDialog* theWrappedObject) const; QStringList comboBoxItems(QInputDialog* theWrappedObject) const; void py_q_done(QInputDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QInputDialog*)theWrappedObject)->py_q_done(result));} @@ -202,12 +559,12 @@ void delete_QInputDialog(QInputDialog* obj) { delete obj; } class PythonQtShell_QInputEvent : public QInputEvent { public: - PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(NULL) {}; + PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(nullptr) {}; - ~PythonQtShell_QInputEvent(); + ~PythonQtShell_QInputEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QInputEvent : public QObject @@ -215,7 +572,7 @@ class PythonQtWrapper_QInputEvent : public QObject public: public slots: QInputEvent* new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); -void delete_QInputEvent(QInputEvent* obj) { delete obj; } +void delete_QInputEvent(QInputEvent* obj) { delete obj; } Qt::KeyboardModifiers modifiers(QInputEvent* theWrappedObject) const; void setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers); void setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp); @@ -260,7 +617,7 @@ public slots: QInputMethodEvent* new_QInputMethodEvent(); QInputMethodEvent* new_QInputMethodEvent(const QInputMethodEvent& other); QInputMethodEvent* new_QInputMethodEvent(const QString& preeditText, const QList& attributes); -void delete_QInputMethodEvent(QInputMethodEvent* obj) { delete obj; } +void delete_QInputMethodEvent(QInputMethodEvent* obj) { delete obj; } const QList* attributes(QInputMethodEvent* theWrappedObject) const; const QString* commitString(QInputMethodEvent* theWrappedObject) const; const QString* preeditString(QInputMethodEvent* theWrappedObject) const; @@ -276,13 +633,13 @@ void delete_QInputMethodEvent(QInputMethodEvent* obj) { delete obj; } class PythonQtShell_QInputMethodEvent__Attribute : public QInputMethodEvent::Attribute { public: - PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l):QInputMethodEvent::Attribute(typ, s, l),_wrapper(NULL) {}; - PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val):QInputMethodEvent::Attribute(typ, s, l, val),_wrapper(NULL) {}; + PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l):QInputMethodEvent::Attribute(typ, s, l),_wrapper(nullptr) {}; + PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val):QInputMethodEvent::Attribute(typ, s, l, val),_wrapper(nullptr) {}; ~PythonQtShell_QInputMethodEvent__Attribute(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QInputMethodEvent__Attribute : public QObject @@ -291,7 +648,7 @@ class PythonQtWrapper_QInputMethodEvent__Attribute : public QObject public slots: QInputMethodEvent::Attribute* new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l); QInputMethodEvent::Attribute* new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val); -void delete_QInputMethodEvent__Attribute(QInputMethodEvent::Attribute* obj) { delete obj; } +void delete_QInputMethodEvent__Attribute(QInputMethodEvent::Attribute* obj) { delete obj; } void py_set_length(QInputMethodEvent::Attribute* theWrappedObject, int length){ theWrappedObject->length = length; } int py_get_length(QInputMethodEvent::Attribute* theWrappedObject){ return theWrappedObject->length; } void py_set_start(QInputMethodEvent::Attribute* theWrappedObject, int start){ theWrappedObject->start = start; } @@ -311,7 +668,7 @@ class PythonQtWrapper_QInputMethodQueryEvent : public QObject public: public slots: QInputMethodQueryEvent* new_QInputMethodQueryEvent(Qt::InputMethodQueries queries); -void delete_QInputMethodQueryEvent(QInputMethodQueryEvent* obj) { delete obj; } +void delete_QInputMethodQueryEvent(QInputMethodQueryEvent* obj) { delete obj; } Qt::InputMethodQueries queries(QInputMethodQueryEvent* theWrappedObject) const; void setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value); QVariant value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const; @@ -324,18 +681,23 @@ void delete_QInputMethodQueryEvent(QInputMethodQueryEvent* obj) { delete obj; } class PythonQtShell_QIntValidator : public QIntValidator { public: - PythonQtShell_QIntValidator(QObject* parent = nullptr):QIntValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QIntValidator(int bottom, int top, QObject* parent = nullptr):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; + PythonQtShell_QIntValidator(QObject* parent = nullptr):QIntValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QIntValidator(int bottom, int top, QObject* parent = nullptr):QIntValidator(bottom, top, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QIntValidator(); + ~PythonQtShell_QIntValidator() override; -virtual void fixup(QString& input) const; -virtual void setRange(int bottom, int top); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void setRange(int bottom, int top) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIntValidator : public QIntValidator @@ -351,7 +713,7 @@ class PythonQtWrapper_QIntValidator : public QObject public slots: QIntValidator* new_QIntValidator(QObject* parent = nullptr); QIntValidator* new_QIntValidator(int bottom, int top, QObject* parent = nullptr); -void delete_QIntValidator(QIntValidator* obj) { delete obj; } +void delete_QIntValidator(QIntValidator* obj) { delete obj; } int bottom(QIntValidator* theWrappedObject) const; void py_q_fixup(QIntValidator* theWrappedObject, QString& input) const{ (((PythonQtPublicPromoter_QIntValidator*)theWrappedObject)->py_q_fixup(input));} void setBottom(QIntValidator* theWrappedObject, int arg__1); @@ -369,29 +731,33 @@ void delete_QIntValidator(QIntValidator* obj) { delete obj; } class PythonQtShell_QItemDelegate : public QItemDelegate { public: - PythonQtShell_QItemDelegate(QObject* parent = nullptr):QItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QItemDelegate(); - -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -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 eventFilter(QObject* object, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() 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 updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QItemDelegate(QObject* parent = nullptr):QItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const override; +void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const override; +void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const override; +void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemDelegate : public QItemDelegate @@ -428,7 +794,7 @@ class PythonQtWrapper_QItemDelegate : public QObject public: public slots: QItemDelegate* new_QItemDelegate(QObject* parent = nullptr); -void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } +void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } QWidget* py_q_createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} QPixmap decoration(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QVariant& variant) const; QRect doCheck(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QRect& bounding, const QVariant& variant) const; @@ -442,7 +808,6 @@ void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } void drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; void py_q_drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const{ (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_drawFocus(painter, option, rect));} bool py_q_editorEvent(QItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} - bool eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event); bool py_q_eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->py_q_eventFilter(object, event));} bool hasClipping(QItemDelegate* theWrappedObject) const; QItemEditorFactory* itemEditorFactory(QItemDelegate* theWrappedObject) const; @@ -466,14 +831,14 @@ void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } class PythonQtShell_QItemEditorCreatorBase : public QItemEditorCreatorBase { public: - PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(NULL) {}; + PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(nullptr) {}; - ~PythonQtShell_QItemEditorCreatorBase(); + ~PythonQtShell_QItemEditorCreatorBase() override; -virtual QWidget* createWidget(QWidget* parent) const; -virtual QByteArray valuePropertyName() const; +QWidget* createWidget(QWidget* parent) const override; +QByteArray valuePropertyName() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemEditorCreatorBase : public QItemEditorCreatorBase @@ -487,7 +852,7 @@ class PythonQtWrapper_QItemEditorCreatorBase : public QObject public: public slots: QItemEditorCreatorBase* new_QItemEditorCreatorBase(); -void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } +void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } QWidget* createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const; QWidget* py_q_createWidget(QItemEditorCreatorBase* theWrappedObject, QWidget* parent) const{ return (((PythonQtPublicPromoter_QItemEditorCreatorBase*)theWrappedObject)->py_q_createWidget(parent));} QByteArray valuePropertyName(QItemEditorCreatorBase* theWrappedObject) const; @@ -501,14 +866,14 @@ void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } class PythonQtShell_QItemEditorFactory : public QItemEditorFactory { public: - PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(NULL) {}; + PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(nullptr) {}; - ~PythonQtShell_QItemEditorFactory(); + ~PythonQtShell_QItemEditorFactory() override; -virtual QWidget* createEditor(int userType, QWidget* parent) const; -virtual QByteArray valuePropertyName(int userType) const; +QWidget* createEditor(int userType, QWidget* parent) const override; +QByteArray valuePropertyName(int userType) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory @@ -522,7 +887,7 @@ class PythonQtWrapper_QItemEditorFactory : public QObject public: public slots: QItemEditorFactory* new_QItemEditorFactory(); -void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } +void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } QWidget* createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const; QWidget* py_q_createEditor(QItemEditorFactory* theWrappedObject, int userType, QWidget* parent) const{ return (((PythonQtPublicPromoter_QItemEditorFactory*)theWrappedObject)->py_q_createEditor(userType, parent));} const QItemEditorFactory* static_QItemEditorFactory_defaultFactory(); @@ -540,13 +905,68 @@ class PythonQtWrapper_QItemSelection : public QObject { Q_OBJECT public: public slots: +QItemSelection* new_QItemSelection(); QItemSelection* new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight); -void delete_QItemSelection(QItemSelection* obj) { delete obj; } +QItemSelection* new_QItemSelection(const QItemSelection& other) { +QItemSelection* a = new QItemSelection(); +*((QItemSelection*)a) = other; +return a; } +void delete_QItemSelection(QItemSelection* obj) { delete obj; } + void append(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void append(QItemSelection* theWrappedObject, const QList& t); + const QItemSelectionRange* at(QItemSelection* theWrappedObject, int i) const; + const QItemSelectionRange* back(QItemSelection* theWrappedObject) const; + void clear(QItemSelection* theWrappedObject); + const QItemSelectionRange* constFirst(QItemSelection* theWrappedObject) const; + const QItemSelectionRange* constLast(QItemSelection* theWrappedObject) const; bool contains(QItemSelection* theWrappedObject, const QModelIndex& index) const; + int count(QItemSelection* theWrappedObject) const; + int count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; + void detachShared(QItemSelection* theWrappedObject); + bool empty(QItemSelection* theWrappedObject) const; + bool endsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; + const QItemSelectionRange* first(QItemSelection* theWrappedObject) const; + QList static_QItemSelection_fromVector(const QVector& vector); + const QItemSelectionRange* front(QItemSelection* theWrappedObject) const; + int indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from = 0) const; QList indexes(QItemSelection* theWrappedObject) const; + bool isEmpty(QItemSelection* theWrappedObject) const; + bool isSharedWith(QItemSelection* theWrappedObject, const QList& other) const; + const QItemSelectionRange* last(QItemSelection* theWrappedObject) const; + int lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from = -1) const; + int length(QItemSelection* theWrappedObject) const; void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); + QList mid(QItemSelection* theWrappedObject, int pos, int length = -1) const; + void move(QItemSelection* theWrappedObject, int from, int to); + bool __ne__(QItemSelection* theWrappedObject, const QList& l) const; + bool __eq__(QItemSelection* theWrappedObject, const QList& l) const; + void pop_back(QItemSelection* theWrappedObject); + void pop_front(QItemSelection* theWrappedObject); + void prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + int removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void removeAt(QItemSelection* theWrappedObject, int i); + void removeFirst(QItemSelection* theWrappedObject); + void removeLast(QItemSelection* theWrappedObject); + bool removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t); + void replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t); + void reserve(QItemSelection* theWrappedObject, int size); void select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); + void setSharable(QItemSelection* theWrappedObject, bool sharable); + int size(QItemSelection* theWrappedObject) const; void static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result); + bool startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; + void swap(QItemSelection* theWrappedObject, QList& other); + void swap(QItemSelection* theWrappedObject, int i, int j); + void swapItemsAt(QItemSelection* theWrappedObject, int i, int j); + QItemSelectionRange takeAt(QItemSelection* theWrappedObject, int i); + QItemSelectionRange takeFirst(QItemSelection* theWrappedObject); + QItemSelectionRange takeLast(QItemSelection* theWrappedObject); + QVector toVector(QItemSelection* theWrappedObject) const; + QItemSelectionRange value(QItemSelection* theWrappedObject, int i) const; + QItemSelectionRange value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const; + bool __nonzero__(QItemSelection* obj) { return !obj->isEmpty(); } }; @@ -556,21 +976,26 @@ void delete_QItemSelection(QItemSelection* obj) { delete obj; } class PythonQtShell_QItemSelectionModel : public QItemSelectionModel { public: - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model = nullptr):QItemSelectionModel(model),_wrapper(NULL) {}; - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(NULL) {}; + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model = nullptr):QItemSelectionModel(model),_wrapper(nullptr) {}; + PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QItemSelectionModel(); + ~PythonQtShell_QItemSelectionModel() override; -virtual void clear(); -virtual void clearCurrentIndex(); -virtual void reset(); -virtual void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command); -virtual void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); -virtual void setCurrentIndex(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); +void childEvent(QChildEvent* event) override; +void clear() override; +void clearCurrentIndex() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void reset() override; +void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) override; +void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) override; +void setCurrentIndex(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemSelectionModel : public QItemSelectionModel @@ -595,7 +1020,7 @@ Q_DECLARE_FLAGS(SelectionFlags, SelectionFlag) public slots: QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model = nullptr); QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent); -void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } +void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } void py_q_clear(QItemSelectionModel* theWrappedObject){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_clear());} void py_q_clearCurrentIndex(QItemSelectionModel* theWrappedObject){ (((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->py_q_clearCurrentIndex());} bool columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex()) const; @@ -623,16 +1048,55 @@ void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } +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& topL, const QModelIndex& bottomR); +void delete_QItemSelectionRange(QItemSelectionRange* obj) { delete obj; } + int bottom(QItemSelectionRange* theWrappedObject) const; + const QPersistentModelIndex* bottomRight(QItemSelectionRange* theWrappedObject) const; + bool contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const; + bool contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const; + int height(QItemSelectionRange* theWrappedObject) const; + QList indexes(QItemSelectionRange* theWrappedObject) const; + QItemSelectionRange intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + bool intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + bool isEmpty(QItemSelectionRange* theWrappedObject) const; + bool isValid(QItemSelectionRange* theWrappedObject) const; + int left(QItemSelectionRange* theWrappedObject) const; + const QAbstractItemModel* model(QItemSelectionRange* theWrappedObject) const; + bool __ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + bool __lt__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + QItemSelectionRange* operator_assign(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other); + bool __eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; + QModelIndex parent(QItemSelectionRange* theWrappedObject) const; + int right(QItemSelectionRange* theWrappedObject) const; + void swap(QItemSelectionRange* theWrappedObject, QItemSelectionRange& other); + int top(QItemSelectionRange* theWrappedObject) const; + const QPersistentModelIndex* topLeft(QItemSelectionRange* theWrappedObject) const; + int width(QItemSelectionRange* theWrappedObject) const; + QString py_toString(QItemSelectionRange*); + bool __nonzero__(QItemSelectionRange* obj) { return !obj->isEmpty(); } +}; + + + + + 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) {}; - PythonQtShell_QKeyEvent(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):QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count),_wrapper(NULL) {}; + 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(nullptr) {}; + PythonQtShell_QKeyEvent(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):QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count),_wrapper(nullptr) {}; - ~PythonQtShell_QKeyEvent(); + ~PythonQtShell_QKeyEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QKeyEvent : public QObject @@ -641,7 +1105,7 @@ class PythonQtWrapper_QKeyEvent : public QObject public slots: QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); QKeyEvent* new_QKeyEvent(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); -void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } +void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } int count(QKeyEvent* theWrappedObject) const; bool isAutoRepeat(QKeyEvent* theWrappedObject) const; int key(QKeyEvent* theWrappedObject) const; @@ -660,18 +1124,22 @@ void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } class PythonQtShell_QKeyEventTransition : public QKeyEventTransition { public: - PythonQtShell_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = nullptr):QKeyEventTransition(object, type, key, sourceState),_wrapper(NULL) {}; - PythonQtShell_QKeyEventTransition(QState* sourceState = nullptr):QKeyEventTransition(sourceState),_wrapper(NULL) {}; + PythonQtShell_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = nullptr):QKeyEventTransition(object, type, key, sourceState),_wrapper(nullptr) {}; + PythonQtShell_QKeyEventTransition(QState* sourceState = nullptr):QKeyEventTransition(sourceState),_wrapper(nullptr) {}; - ~PythonQtShell_QKeyEventTransition(); + ~PythonQtShell_QKeyEventTransition() override; -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QKeyEventTransition : public QKeyEventTransition @@ -688,7 +1156,7 @@ class PythonQtWrapper_QKeyEventTransition : public QObject public slots: QKeyEventTransition* new_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = nullptr); QKeyEventTransition* new_QKeyEventTransition(QState* sourceState = nullptr); -void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } +void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } bool py_q_eventTest(QKeyEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QKeyEventTransition*)theWrappedObject)->py_q_eventTest(event));} int key(QKeyEventTransition* theWrappedObject) const; Qt::KeyboardModifiers modifierMask(QKeyEventTransition* theWrappedObject) const; @@ -704,57 +1172,60 @@ void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } class PythonQtShell_QKeySequenceEdit : public QKeySequenceEdit { public: - PythonQtShell_QKeySequenceEdit(QWidget* parent = nullptr):QKeySequenceEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr):QKeySequenceEdit(keySequence, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QKeySequenceEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* arg__1); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QKeySequenceEdit(QWidget* parent = nullptr):QKeySequenceEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr):QKeySequenceEdit(keySequence, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QKeySequenceEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QKeySequenceEdit : public QKeySequenceEdit @@ -775,12 +1246,11 @@ class PythonQtWrapper_QKeySequenceEdit : public QObject public slots: QKeySequenceEdit* new_QKeySequenceEdit(QWidget* parent = nullptr); QKeySequenceEdit* new_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr); -void delete_QKeySequenceEdit(QKeySequenceEdit* obj) { delete obj; } +void delete_QKeySequenceEdit(QKeySequenceEdit* obj) { delete obj; } bool py_q_event(QKeySequenceEdit* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_event(arg__1));} void py_q_keyPressEvent(QKeySequenceEdit* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_keyPressEvent(arg__1));} void py_q_keyReleaseEvent(QKeySequenceEdit* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} QKeySequence keySequence(QKeySequenceEdit* theWrappedObject) const; - void timerEvent(QKeySequenceEdit* theWrappedObject, QTimerEvent* arg__1); void py_q_timerEvent(QKeySequenceEdit* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->py_q_timerEvent(arg__1));} }; @@ -791,56 +1261,60 @@ void delete_QKeySequenceEdit(QKeySequenceEdit* obj) { delete obj; } class PythonQtShell_QLCDNumber : public QLCDNumber { public: - PythonQtShell_QLCDNumber(QWidget* parent = nullptr):QLCDNumber(parent),_wrapper(NULL) {}; - PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = nullptr):QLCDNumber(numDigits, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLCDNumber(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLCDNumber(QWidget* parent = nullptr):QLCDNumber(parent),_wrapper(nullptr) {}; + PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = nullptr):QLCDNumber(numDigits, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLCDNumber() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLCDNumber : public QLCDNumber @@ -858,7 +1332,7 @@ class PythonQtWrapper_QLCDNumber : public QObject public slots: QLCDNumber* new_QLCDNumber(QWidget* parent = nullptr); QLCDNumber* new_QLCDNumber(uint numDigits, QWidget* parent = nullptr); -void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } +void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } bool checkOverflow(QLCDNumber* theWrappedObject, double num) const; bool checkOverflow(QLCDNumber* theWrappedObject, int num) const; int digitCount(QLCDNumber* theWrappedObject) const; @@ -882,56 +1356,60 @@ void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } class PythonQtShell_QLabel : public QLabel { public: - PythonQtShell_QLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(parent, f),_wrapper(NULL) {}; - PythonQtShell_QLabel(const QString& text, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(text, parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QLabel(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* ev); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* ev); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* ev); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(parent, f),_wrapper(nullptr) {}; + PythonQtShell_QLabel(const QString& text, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(text, parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QLabel() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* ev) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* ev) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* ev) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLabel : public QLabel @@ -969,7 +1447,7 @@ class PythonQtWrapper_QLabel : public QObject public slots: QLabel* new_QLabel(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); QLabel* new_QLabel(const QString& text, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QLabel(QLabel* obj) { delete obj; } +void delete_QLabel(QLabel* obj) { delete obj; } Qt::Alignment alignment(QLabel* theWrappedObject) const; QWidget* buddy(QLabel* theWrappedObject) const; void py_q_changeEvent(QLabel* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QLabel*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -1017,29 +1495,161 @@ void delete_QLabel(QLabel* obj) { delete obj; } +class PythonQtShell_QLayout : public QLayout +{ +public: + PythonQtShell_QLayout():QLayout(),_wrapper(nullptr) {}; + PythonQtShell_QLayout(QWidget* parent):QLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int index) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int index) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QLayout : public QLayout +{ public: +inline void promoted_addChildLayout(QLayout* l) { this->addChildLayout(l); } +inline void promoted_addChildWidget(QWidget* w) { this->addChildWidget(w); } +inline bool promoted_adoptLayout(QLayout* layout) { return this->adoptLayout(layout); } +inline QRect promoted_alignmentRect(const QRect& arg__1) const { return this->alignmentRect(arg__1); } +inline void promoted_childEvent(QChildEvent* e) { this->childEvent(e); } +inline void promoted_widgetEvent(QEvent* arg__1) { this->widgetEvent(arg__1); } +inline void py_q_addItem(QLayoutItem* arg__1) { this->addItem(arg__1); } +inline void py_q_childEvent(QChildEvent* e) { QLayout::childEvent(e); } +inline QSizePolicy::ControlTypes py_q_controlTypes() const { return QLayout::controlTypes(); } +inline int py_q_count() const { return this->count(); } +inline Qt::Orientations py_q_expandingDirections() const { return QLayout::expandingDirections(); } +inline QRect py_q_geometry() const { return QLayout::geometry(); } +inline int py_q_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); } +inline void py_q_invalidate() { QLayout::invalidate(); } +inline bool py_q_isEmpty() const { return QLayout::isEmpty(); } +inline QLayoutItem* py_q_itemAt(int index) const { return this->itemAt(index); } +inline QLayout* py_q_layout() { return QLayout::layout(); } +inline QSize py_q_maximumSize() const { return QLayout::maximumSize(); } +inline QSize py_q_minimumSize() const { return QLayout::minimumSize(); } +inline void py_q_setGeometry(const QRect& arg__1) { QLayout::setGeometry(arg__1); } +inline QLayoutItem* py_q_takeAt(int index) { return this->takeAt(index); } +}; + +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; } + bool activate(QLayout* theWrappedObject); + void addChildLayout(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP l); + void addChildWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w); + void addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1); + void py_q_addItem(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_addItem(arg__1));} + void addWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToCPP w); + bool adoptLayout(QLayout* theWrappedObject, QLayout* layout); + QRect alignmentRect(QLayout* theWrappedObject, const QRect& arg__1) const; + void py_q_childEvent(QLayout* theWrappedObject, QChildEvent* e){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_childEvent(e));} + QSize static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s); + QMargins contentsMargins(QLayout* theWrappedObject) const; + QRect contentsRect(QLayout* theWrappedObject) const; + QSizePolicy::ControlTypes py_q_controlTypes(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_controlTypes());} + int count(QLayout* theWrappedObject) const; + int py_q_count(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_count());} + Qt::Orientations py_q_expandingDirections(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_expandingDirections());} + QRect py_q_geometry(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_geometry());} + int indexOf(QLayout* theWrappedObject, QLayoutItem* arg__1) const; + int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; + int py_q_indexOf(QLayout* theWrappedObject, QWidget* arg__1) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_indexOf(arg__1));} + void py_q_invalidate(QLayout* theWrappedObject){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_invalidate());} + bool py_q_isEmpty(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_isEmpty());} + bool isEnabled(QLayout* theWrappedObject) const; + QLayoutItem* itemAt(QLayout* theWrappedObject, int index) const; + QLayoutItem* py_q_itemAt(QLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_itemAt(index));} + QLayout* py_q_layout(QLayout* theWrappedObject){ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_layout());} + QSize py_q_maximumSize(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_maximumSize());} + QWidget* menuBar(QLayout* theWrappedObject) const; + QSize py_q_minimumSize(QLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_minimumSize());} + QWidget* parentWidget(QLayout* theWrappedObject) const; + void removeItem(QLayout* theWrappedObject, PythonQtPassOwnershipToPython arg__1); + void removeWidget(QLayout* theWrappedObject, PythonQtPassOwnershipToPython w); + QLayoutItem* replaceWidget(QLayout* theWrappedObject, QWidget* from, QWidget* to, Qt::FindChildOptions options = Qt::FindChildrenRecursively); + bool setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment); + bool setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment); + void setContentsMargins(QLayout* theWrappedObject, const QMargins& margins); + void setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom); + void setEnabled(QLayout* theWrappedObject, bool arg__1); + void py_q_setGeometry(QLayout* theWrappedObject, const QRect& arg__1){ (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_setGeometry(arg__1));} + void setMargin(QLayout* theWrappedObject, int arg__1); + void setMenuBar(QLayout* theWrappedObject, QWidget* w); + void setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1); + void setSpacing(QLayout* theWrappedObject, int arg__1); + QLayout::SizeConstraint sizeConstraint(QLayout* theWrappedObject) const; + int spacing(QLayout* theWrappedObject) const; + PythonQtPassOwnershipToPython takeAt(QLayout* theWrappedObject, int index); + PythonQtPassOwnershipToPython py_q_takeAt(QLayout* theWrappedObject, int index){ return (((PythonQtPublicPromoter_QLayout*)theWrappedObject)->py_q_takeAt(index));} + int totalHeightForWidth(QLayout* theWrappedObject, int w) const; + QSize totalMaximumSize(QLayout* theWrappedObject) const; + QSize totalMinimumSize(QLayout* theWrappedObject) const; + QSize totalSizeHint(QLayout* theWrappedObject) const; + void update(QLayout* theWrappedObject); + void widgetEvent(QLayout* theWrappedObject, QEvent* arg__1); + bool __nonzero__(QLayout* obj) { return !obj->isEmpty(); } +}; + + + + + class PythonQtShell_QLayoutItem : public QLayoutItem { public: - PythonQtShell_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()):QLayoutItem(alignment),_wrapper(NULL) {}; + PythonQtShell_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()):QLayoutItem(alignment),_wrapper(nullptr) {}; - ~PythonQtShell_QLayoutItem(); + ~PythonQtShell_QLayoutItem() override; -virtual QSizePolicy::ControlTypes controlTypes() const; -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 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(); +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem @@ -1051,6 +1661,7 @@ inline bool py_q_hasHeightForWidth() const { return QLayoutItem::hasHeightForWi inline int py_q_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); } inline void py_q_invalidate() { QLayoutItem::invalidate(); } inline bool py_q_isEmpty() const { return this->isEmpty(); } +inline QLayout* py_q_layout() { return QLayoutItem::layout(); } inline QSize py_q_maximumSize() const { return this->maximumSize(); } inline int py_q_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); } inline QSize py_q_minimumSize() const { return this->minimumSize(); } @@ -1065,7 +1676,7 @@ class PythonQtWrapper_QLayoutItem : public QObject public: public slots: QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()); -void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } +void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } Qt::Alignment alignment(QLayoutItem* theWrappedObject) const; QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const; QSizePolicy::ControlTypes py_q_controlTypes(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_controlTypes());} @@ -1081,6 +1692,8 @@ void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } void py_q_invalidate(QLayoutItem* theWrappedObject){ (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_invalidate());} bool isEmpty(QLayoutItem* theWrappedObject) const; bool py_q_isEmpty(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_isEmpty());} + QLayout* layout(QLayoutItem* theWrappedObject); + QLayout* py_q_layout(QLayoutItem* theWrappedObject){ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_layout());} QSize maximumSize(QLayoutItem* theWrappedObject) const; QSize py_q_maximumSize(QLayoutItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLayoutItem*)theWrappedObject)->py_q_maximumSize());} int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; @@ -1106,56 +1719,60 @@ void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } class PythonQtShell_QLineEdit : public QLineEdit { public: - PythonQtShell_QLineEdit(QWidget* parent = nullptr):QLineEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = nullptr):QLineEdit(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLineEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* 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* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLineEdit(QWidget* parent = nullptr):QLineEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = nullptr):QLineEdit(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLineEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLineEdit : public QLineEdit @@ -1204,7 +1821,7 @@ class PythonQtWrapper_QLineEdit : public QObject public slots: QLineEdit* new_QLineEdit(QWidget* parent = nullptr); QLineEdit* new_QLineEdit(const QString& arg__1, QWidget* parent = nullptr); -void delete_QLineEdit(QLineEdit* obj) { delete obj; } +void delete_QLineEdit(QLineEdit* obj) { delete obj; } void addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position); QAction* addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position); Qt::Alignment alignment(QLineEdit* theWrappedObject) const; @@ -1303,7 +1920,7 @@ QLinearGradient* new_QLinearGradient(const QLinearGradient& other) { QLinearGradient* a = new QLinearGradient(); *((QLinearGradient*)a) = other; return a; } -void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } +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); @@ -1319,99 +1936,101 @@ void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } class PythonQtShell_QListView : public QListView { public: - PythonQtShell_QListView(QWidget* parent = nullptr):QListView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QListView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -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 = nullptr) 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 setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QListView(QWidget* parent = nullptr):QListView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QListView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* e) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListView : public QListView @@ -1487,7 +2106,7 @@ class PythonQtWrapper_QListView : public QObject public: public slots: QListView* new_QListView(QWidget* parent = nullptr); -void delete_QListView(QListView* obj) { delete obj; } +void delete_QListView(QListView* obj) { delete obj; } int batchSize(QListView* theWrappedObject) const; void clearPropertyFlags(QListView* theWrappedObject); QSize contentsSize(QListView* theWrappedObject) const; @@ -1565,102 +2184,104 @@ void delete_QListView(QListView* obj) { delete obj; } class PythonQtShell_QListWidget : public QListWidget { public: - PythonQtShell_QListWidget(QWidget* parent = nullptr):QListWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QListWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -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* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) 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* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -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 = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -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* event); -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 QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QListWidget(QWidget* parent = nullptr):QListWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QListWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* e) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListWidget : public QListWidget @@ -1688,7 +2309,7 @@ class PythonQtWrapper_QListWidget : public QObject public: public slots: QListWidget* new_QListWidget(QWidget* parent = nullptr); -void delete_QListWidget(QListWidget* obj) { delete obj; } +void delete_QListWidget(QListWidget* obj) { delete obj; } void addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); void addItem(QListWidget* theWrappedObject, const QString& label); void addItems(QListWidget* theWrappedObject, const QStringList& labels); @@ -1744,21 +2365,19 @@ void delete_QListWidget(QListWidget* obj) { delete obj; } class PythonQtShell_QListWidgetItem : public QListWidgetItem { public: - PythonQtShell_QListWidgetItem(QListWidget* listview = nullptr, int type = Type):QListWidgetItem(listview, type),_wrapper(NULL) {}; - PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(icon, text, listview, type),_wrapper(NULL) {}; - PythonQtShell_QListWidgetItem(const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(text, listview, type),_wrapper(NULL) {}; + PythonQtShell_QListWidgetItem(QListWidget* listview = nullptr, int type = Type):QListWidgetItem(listview, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(icon, text, listview, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(text, listview, type),_wrapper(nullptr) {}; - ~PythonQtShell_QListWidgetItem(); + ~PythonQtShell_QListWidgetItem() override; -virtual QListWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual bool __lt__(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; +QListWidgetItem* clone() const override; +QVariant data(int role) const override; +void read(QDataStream& in) override; +void setData(int role, const QVariant& value) override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem @@ -1780,7 +2399,7 @@ public slots: QListWidgetItem* new_QListWidgetItem(PythonQtNewOwnerOfThis listview = nullptr, int type = Type); QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis listview = nullptr, int type = Type); QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis listview = nullptr, int type = Type); -void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } +void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } QBrush background(QListWidgetItem* theWrappedObject) const; Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; @@ -1826,894 +2445,3 @@ void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } }; - - - -class PythonQtShell_QMainWindow : public QMainWindow -{ -public: - PythonQtShell_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMainWindow(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QMainWindow(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QMenu* createPopupMenu(); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMainWindow : public QMainWindow -{ public: -inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } -inline QMenu* py_q_createPopupMenu() { return QMainWindow::createPopupMenu(); } -inline bool py_q_event(QEvent* event) { return QMainWindow::event(event); } -}; - -class PythonQtWrapper_QMainWindow : public QObject -{ Q_OBJECT -public: -Q_ENUMS(DockOption ) -Q_FLAGS(DockOptions ) -enum DockOption{ - AnimatedDocks = QMainWindow::AnimatedDocks, AllowNestedDocks = QMainWindow::AllowNestedDocks, AllowTabbedDocks = QMainWindow::AllowTabbedDocks, ForceTabbedDocks = QMainWindow::ForceTabbedDocks, VerticalTabs = QMainWindow::VerticalTabs, GroupedDragging = QMainWindow::GroupedDragging}; -Q_DECLARE_FLAGS(DockOptions, DockOption) -public slots: -QMainWindow* new_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QMainWindow(QMainWindow* obj) { delete obj; } - void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget); - void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation); - void addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); - void addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar); - QToolBar* addToolBar(QMainWindow* theWrappedObject, const QString& title); - void addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area = Qt::TopToolBarArea); - QWidget* centralWidget(QMainWindow* theWrappedObject) const; - void py_q_contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_contextMenuEvent(event));} - Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; - QMenu* createPopupMenu(QMainWindow* theWrappedObject); - QMenu* py_q_createPopupMenu(QMainWindow* theWrappedObject){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_createPopupMenu());} - QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; - Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; - bool documentMode(QMainWindow* theWrappedObject) const; - bool py_q_event(QMainWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_event(event));} - QSize iconSize(QMainWindow* theWrappedObject) const; - void insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar); - void insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); - bool isAnimated(QMainWindow* theWrappedObject) const; - bool isDockNestingEnabled(QMainWindow* theWrappedObject) const; - bool isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const; - QMenuBar* menuBar(QMainWindow* theWrappedObject) const; - QWidget* menuWidget(QMainWindow* theWrappedObject) const; - void removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); - void removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); - void removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); - void resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation); - bool restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); - bool restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version = 0); - QByteArray saveState(QMainWindow* theWrappedObject, int version = 0) const; - void setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget); - void setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area); - void setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options); - void setDocumentMode(QMainWindow* theWrappedObject, bool enabled); - void setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize); - void setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar); - void setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar); - void setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar); - void setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition); - void setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape); - void setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle); - void splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation); - QStatusBar* statusBar(QMainWindow* theWrappedObject) const; - QTabWidget::TabPosition tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const; - QTabWidget::TabShape tabShape(QMainWindow* theWrappedObject) const; - QList tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; - void tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second); - QWidget* takeCentralWidget(QMainWindow* theWrappedObject); - Qt::ToolBarArea toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const; - bool toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const; - Qt::ToolButtonStyle toolButtonStyle(QMainWindow* theWrappedObject) const; - bool unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QMargins : public QMargins -{ -public: - PythonQtShell_QMargins():QMargins(),_wrapper(NULL) {}; - - ~PythonQtShell_QMargins(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMargins : public QObject -{ Q_OBJECT -public: -public slots: -QMargins* new_QMargins(); -QMargins* new_QMargins(const QMargins& other) { -PythonQtShell_QMargins* a = new PythonQtShell_QMargins(); -*((QMargins*)a) = other; -return a; } -void delete_QMargins(QMargins* obj) { delete obj; } - QMargins __div__(QMargins* theWrappedObject, int divisor); - QMargins __div__(QMargins* theWrappedObject, qreal divisor); - QMargins* __idiv__(QMargins* theWrappedObject, int arg__1); - QMargins* __idiv__(QMargins* theWrappedObject, qreal arg__1); - void writeTo(QMargins* theWrappedObject, QDataStream& arg__1); - void readFrom(QMargins* theWrappedObject, QDataStream& arg__1); - QString py_toString(QMargins*); -}; - - - - - -class PythonQtWrapper_QMatrix4x4 : public QObject -{ Q_OBJECT -public: -public slots: -QMatrix4x4* new_QMatrix4x4(); -QMatrix4x4* new_QMatrix4x4(const QMatrix& matrix); -QMatrix4x4* new_QMatrix4x4(const QTransform& transform); -QMatrix4x4* new_QMatrix4x4(const float* values); -QMatrix4x4* new_QMatrix4x4(const float* values, int cols, int rows); -QMatrix4x4* new_QMatrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44); -QMatrix4x4* new_QMatrix4x4(const QMatrix4x4& other) { -QMatrix4x4* a = new QMatrix4x4(); -*((QMatrix4x4*)a) = other; -return a; } -void delete_QMatrix4x4(QMatrix4x4* obj) { delete obj; } - QVector4D column(QMatrix4x4* theWrappedObject, int index) const; - const float* constData(QMatrix4x4* theWrappedObject) const; - void copyDataTo(QMatrix4x4* theWrappedObject, float* values) const; - float* data(QMatrix4x4* theWrappedObject); - double determinant(QMatrix4x4* theWrappedObject) const; - void fill(QMatrix4x4* theWrappedObject, float value); - void flipCoordinates(QMatrix4x4* theWrappedObject); - void frustum(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane); - QMatrix4x4 inverted(QMatrix4x4* theWrappedObject, bool* invertible = nullptr) const; - bool isAffine(QMatrix4x4* theWrappedObject) const; - bool isIdentity(QMatrix4x4* theWrappedObject) const; - void lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up); - QPoint map(QMatrix4x4* theWrappedObject, const QPoint& point) const; - QPointF map(QMatrix4x4* theWrappedObject, const QPointF& point) const; - QVector3D map(QMatrix4x4* theWrappedObject, const QVector3D& point) const; - QVector4D map(QMatrix4x4* theWrappedObject, const QVector4D& point) const; - QRect mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const; - QRectF mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const; - QVector3D mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const; - bool __ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const; - float* operator_cast_(QMatrix4x4* theWrappedObject, int row, int column); - QMatrix4x4 __mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); - QPoint __mul__(QMatrix4x4* theWrappedObject, const QPoint& point); - QPointF __mul__(QMatrix4x4* theWrappedObject, const QPointF& point); - QVector3D __mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector); - QVector4D __mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector); - QMatrix4x4 __mul__(QMatrix4x4* theWrappedObject, float factor); - QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); - QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, float factor); - QMatrix4x4 __add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); - QMatrix4x4* __iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); - QMatrix4x4 __sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); - QMatrix4x4* __isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); - QMatrix4x4 __div__(QMatrix4x4* theWrappedObject, float divisor); - QMatrix4x4* __idiv__(QMatrix4x4* theWrappedObject, float divisor); - void writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1); - bool __eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const; - void readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1); - void optimize(QMatrix4x4* theWrappedObject); - void ortho(QMatrix4x4* theWrappedObject, const QRect& rect); - void ortho(QMatrix4x4* theWrappedObject, const QRectF& rect); - void ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane); - void perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane); - void rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion); - void rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector); - void rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z = 0.0f); - QVector4D row(QMatrix4x4* theWrappedObject, int index) const; - void scale(QMatrix4x4* theWrappedObject, const QVector3D& vector); - void scale(QMatrix4x4* theWrappedObject, float factor); - void scale(QMatrix4x4* theWrappedObject, float x, float y); - void scale(QMatrix4x4* theWrappedObject, float x, float y, float z); - void setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value); - void setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value); - void setToIdentity(QMatrix4x4* theWrappedObject); - QMatrix toAffine(QMatrix4x4* theWrappedObject) const; - QTransform toTransform(QMatrix4x4* theWrappedObject) const; - QTransform toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const; - void translate(QMatrix4x4* theWrappedObject, const QVector3D& vector); - void translate(QMatrix4x4* theWrappedObject, float x, float y); - void translate(QMatrix4x4* theWrappedObject, float x, float y, float z); - QMatrix4x4 transposed(QMatrix4x4* theWrappedObject) const; - void viewport(QMatrix4x4* theWrappedObject, const QRectF& rect); - void viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane = 0.0f, float farPlane = 1.0f); - QString py_toString(QMatrix4x4*); -}; - - - - - -class PythonQtShell_QMdiArea : public QMdiArea -{ -public: - PythonQtShell_QMdiArea(QWidget* parent = nullptr):QMdiArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMdiArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* 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* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMdiArea : public QMdiArea -{ public: -inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } -inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } -inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline void promoted_setupViewport(QWidget* viewport) { this->setupViewport(viewport); } -inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } -inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } -inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } -inline void py_q_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); } -inline bool py_q_event(QEvent* event) { return QMdiArea::event(event); } -inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); } -inline QSize py_q_minimumSizeHint() const { return QMdiArea::minimumSizeHint(); } -inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); } -inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); } -inline void py_q_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); } -inline void py_q_setupViewport(QWidget* viewport) { QMdiArea::setupViewport(viewport); } -inline void py_q_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); } -inline QSize py_q_sizeHint() const { return QMdiArea::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); } -inline bool py_q_viewportEvent(QEvent* event) { return QMdiArea::viewportEvent(event); } -}; - -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 = nullptr); -void delete_QMdiArea(QMdiArea* obj) { delete obj; } - QMdiArea::WindowOrder activationOrder(QMdiArea* theWrappedObject) const; - QMdiSubWindow* activeSubWindow(QMdiArea* theWrappedObject) const; - QMdiSubWindow* addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags = Qt::WindowFlags()); - QBrush background(QMdiArea* theWrappedObject) const; - void childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent); - void py_q_childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_childEvent(childEvent));} - QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const; - bool documentMode(QMdiArea* theWrappedObject) const; - bool py_q_event(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_event(event));} - bool py_q_eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_eventFilter(object, event));} - QSize py_q_minimumSizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_paintEvent(paintEvent));} - void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget); - void py_q_resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} - void py_q_scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order); - void setBackground(QMdiArea* theWrappedObject, const QBrush& background); - void setDocumentMode(QMdiArea* theWrappedObject, bool enabled); - void setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on = true); - void setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position); - void setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape); - void setTabsClosable(QMdiArea* theWrappedObject, bool closable); - void setTabsMovable(QMdiArea* theWrappedObject, bool movable); - void setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode); - void py_q_setupViewport(QMdiArea* theWrappedObject, QWidget* viewport){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_setupViewport(viewport));} - void py_q_showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_showEvent(showEvent));} - QSize py_q_sizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_sizeHint());} - QList subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; - QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const; - QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const; - bool tabsClosable(QMdiArea* theWrappedObject) const; - bool tabsMovable(QMdiArea* theWrappedObject) const; - bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const; - void timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent); - void py_q_timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_timerEvent(timerEvent));} - QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const; - bool py_q_viewportEvent(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_viewportEvent(event));} -}; - - - - - -class PythonQtShell_QMdiSubWindow : public QMdiSubWindow -{ -public: - PythonQtShell_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMdiSubWindow(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QMdiSubWindow(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* changeEvent); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* closeEvent); -virtual void contextMenuEvent(QContextMenuEvent* contextMenuEvent); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* keyEvent); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* leaveEvent); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow -{ public: -inline void promoted_changeEvent(QEvent* changeEvent) { this->changeEvent(changeEvent); } -inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } -inline void promoted_closeEvent(QCloseEvent* closeEvent) { this->closeEvent(closeEvent); } -inline void promoted_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { this->contextMenuEvent(contextMenuEvent); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } -inline void promoted_focusInEvent(QFocusEvent* focusInEvent) { this->focusInEvent(focusInEvent); } -inline void promoted_focusOutEvent(QFocusEvent* focusOutEvent) { this->focusOutEvent(focusOutEvent); } -inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } -inline void promoted_keyPressEvent(QKeyEvent* keyEvent) { this->keyPressEvent(keyEvent); } -inline void promoted_leaveEvent(QEvent* leaveEvent) { this->leaveEvent(leaveEvent); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { this->mouseDoubleClickEvent(mouseEvent); } -inline void promoted_mouseMoveEvent(QMouseEvent* mouseEvent) { this->mouseMoveEvent(mouseEvent); } -inline void promoted_mousePressEvent(QMouseEvent* mouseEvent) { this->mousePressEvent(mouseEvent); } -inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } -inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } -inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } -inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } -inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } -inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } -inline void py_q_changeEvent(QEvent* changeEvent) { QMdiSubWindow::changeEvent(changeEvent); } -inline void py_q_childEvent(QChildEvent* childEvent) { QMdiSubWindow::childEvent(childEvent); } -inline void py_q_closeEvent(QCloseEvent* closeEvent) { QMdiSubWindow::closeEvent(closeEvent); } -inline void py_q_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { QMdiSubWindow::contextMenuEvent(contextMenuEvent); } -inline bool py_q_event(QEvent* event) { return QMdiSubWindow::event(event); } -inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiSubWindow::eventFilter(object, event); } -inline void py_q_focusInEvent(QFocusEvent* focusInEvent) { QMdiSubWindow::focusInEvent(focusInEvent); } -inline void py_q_focusOutEvent(QFocusEvent* focusOutEvent) { QMdiSubWindow::focusOutEvent(focusOutEvent); } -inline void py_q_hideEvent(QHideEvent* hideEvent) { QMdiSubWindow::hideEvent(hideEvent); } -inline void py_q_keyPressEvent(QKeyEvent* keyEvent) { QMdiSubWindow::keyPressEvent(keyEvent); } -inline void py_q_leaveEvent(QEvent* leaveEvent) { QMdiSubWindow::leaveEvent(leaveEvent); } -inline QSize py_q_minimumSizeHint() const { return QMdiSubWindow::minimumSizeHint(); } -inline void py_q_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); } -inline void py_q_mouseMoveEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseMoveEvent(mouseEvent); } -inline void py_q_mousePressEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mousePressEvent(mouseEvent); } -inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseReleaseEvent(mouseEvent); } -inline void py_q_moveEvent(QMoveEvent* moveEvent) { QMdiSubWindow::moveEvent(moveEvent); } -inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiSubWindow::paintEvent(paintEvent); } -inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiSubWindow::resizeEvent(resizeEvent); } -inline void py_q_showEvent(QShowEvent* showEvent) { QMdiSubWindow::showEvent(showEvent); } -inline QSize py_q_sizeHint() const { return QMdiSubWindow::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiSubWindow::timerEvent(timerEvent); } -}; - -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 = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } - void py_q_changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_changeEvent(changeEvent));} - void childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent); - void py_q_childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_childEvent(childEvent));} - void py_q_closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_closeEvent(closeEvent));} - void py_q_contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_contextMenuEvent(contextMenuEvent));} - bool py_q_event(QMdiSubWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_event(event));} - bool eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event); - bool py_q_eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_eventFilter(object, event));} - void py_q_focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusInEvent(focusInEvent));} - void py_q_focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusOutEvent(focusOutEvent));} - void py_q_hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_hideEvent(hideEvent));} - bool isShaded(QMdiSubWindow* theWrappedObject) const; - void py_q_keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_keyPressEvent(keyEvent));} - int keyboardPageStep(QMdiSubWindow* theWrappedObject) const; - int keyboardSingleStep(QMdiSubWindow* theWrappedObject) const; - void py_q_leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_leaveEvent(leaveEvent));} - QWidget* maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const; - QWidget* maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const; - QMdiArea* mdiArea(QMdiSubWindow* theWrappedObject) const; - QSize minimumSizeHint(QMdiSubWindow* theWrappedObject) const; - QSize py_q_minimumSizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(mouseEvent));} - void py_q_mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseMoveEvent(mouseEvent));} - void py_q_mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mousePressEvent(mouseEvent));} - void py_q_mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} - void py_q_moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_moveEvent(moveEvent));} - void py_q_paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_paintEvent(paintEvent));} - void py_q_resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} - void setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step); - void setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step); - void setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on = true); - void setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu); - void setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget); - void py_q_showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_showEvent(showEvent));} - QSize sizeHint(QMdiSubWindow* theWrappedObject) const; - QSize py_q_sizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_sizeHint());} - QMenu* systemMenu(QMdiSubWindow* theWrappedObject) const; - bool testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const; - void timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent); - void py_q_timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_timerEvent(timerEvent));} - QWidget* widget(QMdiSubWindow* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QMenu : public QMenu -{ -public: - PythonQtShell_QMenu(QWidget* parent = nullptr):QMenu(parent),_wrapper(NULL) {}; - PythonQtShell_QMenu(const QString& title, QWidget* parent = nullptr):QMenu(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMenu(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMenu : public QMenu -{ public: -inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline int promoted_columnCount() const { return this->columnCount(); } -inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } -inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } -inline void py_q_actionEvent(QActionEvent* arg__1) { QMenu::actionEvent(arg__1); } -inline void py_q_changeEvent(QEvent* arg__1) { QMenu::changeEvent(arg__1); } -inline void py_q_enterEvent(QEvent* arg__1) { QMenu::enterEvent(arg__1); } -inline bool py_q_event(QEvent* arg__1) { return QMenu::event(arg__1); } -inline bool py_q_focusNextPrevChild(bool next) { return QMenu::focusNextPrevChild(next); } -inline void py_q_hideEvent(QHideEvent* arg__1) { QMenu::hideEvent(arg__1); } -inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenu::keyPressEvent(arg__1); } -inline void py_q_leaveEvent(QEvent* arg__1) { QMenu::leaveEvent(arg__1); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenu::mouseMoveEvent(arg__1); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenu::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenu::mouseReleaseEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenu::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QMenu::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenu::timerEvent(arg__1); } -inline void py_q_wheelEvent(QWheelEvent* arg__1) { QMenu::wheelEvent(arg__1); } -}; - -class PythonQtWrapper_QMenu : public QObject -{ Q_OBJECT -public: -public slots: -QMenu* new_QMenu(QWidget* parent = nullptr); -QMenu* new_QMenu(const QString& title, QWidget* parent = nullptr); -void delete_QMenu(QMenu* obj) { delete obj; } - QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const; - void py_q_actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_actionEvent(arg__1));} - QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const; - QAction* activeAction(QMenu* theWrappedObject) const; - QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text); - QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); - QAction* addAction(QMenu* theWrappedObject, const QString& text); - QAction* addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); - QAction* addMenu(QMenu* theWrappedObject, QMenu* menu); - QMenu* addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title); - QMenu* addMenu(QMenu* theWrappedObject, const QString& title); - QAction* addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text); - QAction* addSection(QMenu* theWrappedObject, const QString& text); - QAction* addSeparator(QMenu* theWrappedObject); - void py_q_changeEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_changeEvent(arg__1));} - void clear(QMenu* theWrappedObject); - int columnCount(QMenu* theWrappedObject) const; - QAction* defaultAction(QMenu* theWrappedObject) const; - void py_q_enterEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_enterEvent(arg__1));} - bool py_q_event(QMenu* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_event(arg__1));} - QAction* exec(QMenu* theWrappedObject); - QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at = nullptr, QWidget* parent = nullptr); - QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); - bool py_q_focusNextPrevChild(QMenu* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_hideEvent(arg__1));} - void hideTearOffMenu(QMenu* theWrappedObject); - QIcon icon(QMenu* theWrappedObject) const; - void initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; - QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu); - QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text); - QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QString& text); - QAction* insertSeparator(QMenu* theWrappedObject, QAction* before); - bool isEmpty(QMenu* theWrappedObject) const; - bool isTearOffEnabled(QMenu* theWrappedObject) const; - bool isTearOffMenuVisible(QMenu* theWrappedObject) const; - void py_q_keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_keyPressEvent(arg__1));} - void py_q_leaveEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_leaveEvent(arg__1));} - QAction* menuAction(QMenu* theWrappedObject) const; - void py_q_mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} - void py_q_paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_paintEvent(arg__1));} - void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); - bool separatorsCollapsible(QMenu* theWrappedObject) const; - void setActiveAction(QMenu* theWrappedObject, QAction* act); - void setDefaultAction(QMenu* theWrappedObject, QAction* arg__1); - void setIcon(QMenu* theWrappedObject, const QIcon& icon); - void setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse); - void setTearOffEnabled(QMenu* theWrappedObject, bool arg__1); - void setTitle(QMenu* theWrappedObject, const QString& title); - void setToolTipsVisible(QMenu* theWrappedObject, bool visible); - void showTearOffMenu(QMenu* theWrappedObject); - void showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos); - QSize sizeHint(QMenu* theWrappedObject) const; - QSize py_q_sizeHint(QMenu* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_sizeHint());} - void timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1); - void py_q_timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_timerEvent(arg__1));} - QString title(QMenu* theWrappedObject) const; - bool toolTipsVisible(QMenu* theWrappedObject) const; - void py_q_wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_wheelEvent(arg__1));} - bool __nonzero__(QMenu* obj) { return !obj->isEmpty(); } - - QAction* addAction (QMenu* menu, const QString & text, PyObject* callable, const QKeySequence & shortcut = 0) { - QAction* a = menu->addAction(text); - a->setShortcut(shortcut); - PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); - return a; - } - - QAction* addAction (QMenu* menu, const QIcon& icon, const QString& text, PyObject* callable, const QKeySequence& shortcut = 0) - { - QAction* a = menu->addAction(text); - a->setIcon(icon); - a->setShortcut(shortcut); - PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); - return a; - } - -}; - - - - - -class PythonQtShell_QMenuBar : public QMenuBar -{ -public: - PythonQtShell_QMenuBar(QWidget* parent = nullptr):QMenuBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMenuBar(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMenuBar : public QMenuBar -{ public: -inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } -inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } -inline void py_q_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } -inline void py_q_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } -inline bool py_q_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } -inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } -inline void py_q_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } -inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } -inline int py_q_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } -inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } -inline void py_q_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } -inline QSize py_q_minimumSizeHint() const { return QMenuBar::minimumSizeHint(); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } -inline void py_q_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } -inline void py_q_setVisible(bool visible) { QMenuBar::setVisible(visible); } -inline QSize py_q_sizeHint() const { return QMenuBar::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } -}; - -class PythonQtWrapper_QMenuBar : public QObject -{ Q_OBJECT -public: -public slots: -QMenuBar* new_QMenuBar(QWidget* parent = nullptr); -void delete_QMenuBar(QMenuBar* obj) { delete obj; } - QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; - void py_q_actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_actionEvent(arg__1));} - QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; - QAction* activeAction(QMenuBar* theWrappedObject) const; - QAction* addAction(QMenuBar* theWrappedObject, const QString& text); - QAction* addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); - QAction* addMenu(QMenuBar* theWrappedObject, QMenu* menu); - QMenu* addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title); - QMenu* addMenu(QMenuBar* theWrappedObject, const QString& title); - QAction* addSeparator(QMenuBar* theWrappedObject); - void py_q_changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_changeEvent(arg__1));} - void clear(QMenuBar* theWrappedObject); - QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; - bool py_q_event(QMenuBar* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_event(arg__1));} - bool eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2); - bool py_q_eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} - void py_q_focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusInEvent(arg__1));} - void py_q_focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusOutEvent(arg__1));} - int py_q_heightForWidth(QMenuBar* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_heightForWidth(arg__1));} - void initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; - QAction* insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu); - QAction* insertSeparator(QMenuBar* theWrappedObject, QAction* before); - bool isDefaultUp(QMenuBar* theWrappedObject) const; - bool isNativeMenuBar(QMenuBar* theWrappedObject) const; - void py_q_keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_keyPressEvent(arg__1));} - void py_q_leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_leaveEvent(arg__1));} - QSize minimumSizeHint(QMenuBar* theWrappedObject) const; - QSize py_q_minimumSizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} - void py_q_paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_paintEvent(arg__1));} - void py_q_resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} - void setActiveAction(QMenuBar* theWrappedObject, QAction* action); - void setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); - void setDefaultUp(QMenuBar* theWrappedObject, bool arg__1); - void setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar); - void py_q_setVisible(QMenuBar* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_setVisible(visible));} - QSize sizeHint(QMenuBar* theWrappedObject) const; - QSize py_q_sizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_sizeHint());} - void timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1); - void py_q_timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_timerEvent(arg__1));} - - QAction* addAction (QMenuBar* menu, const QString & text, PyObject* callable) - { - QAction* a = menu->addAction(text); - PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); - return a; - } - -}; - - diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp new file mode 100644 index 00000000..e5fd3de4 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -0,0 +1,15093 @@ +#include "com_trolltech_qt_gui5.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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::actionEvent(event0); +} +void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::changeEvent(arg__1); +} +void PythonQtShell_QMainWindow::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::childEvent(event0); +} +void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::closeEvent(event0); +} +void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::contextMenuEvent(event0); +} +QMenu* PythonQtShell_QMainWindow::createPopupMenu() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createPopupMenu"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMenu*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMenu* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); + } else { + returnValue = *((QMenu**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::createPopupMenu(); +} +void PythonQtShell_QMainWindow::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::customEvent(event0); +} +int PythonQtShell_QMainWindow::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::devType(); +} +void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::dragEnterEvent(event0); +} +void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::dragLeaveEvent(event0); +} +void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::dragMoveEvent(event0); +} +void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::dropEvent(event0); +} +void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::enterEvent(event0); +} +bool PythonQtShell_QMainWindow::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::event(event0); +} +bool PythonQtShell_QMainWindow::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::focusInEvent(event0); +} +bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::focusNextPrevChild(next0); +} +void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::focusOutEvent(event0); +} +bool PythonQtShell_QMainWindow::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::hasHeightForWidth(); +} +int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::heightForWidth(arg__1); +} +void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::hideEvent(event0); +} +void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::initPainter(painter0); +} +void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::inputMethodQuery(arg__1); +} +void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::keyPressEvent(event0); +} +void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::keyReleaseEvent(event0); +} +void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::leaveEvent(event0); +} +int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::metric(arg__1); +} +QSize PythonQtShell_QMainWindow::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::minimumSizeHint(); +} +void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::mouseMoveEvent(event0); +} +void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::mousePressEvent(event0); +} +void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::mouseReleaseEvent(event0); +} +void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::moveEvent(event0); +} +bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::paintEngine(); +} +void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::redirected(offset0); +} +void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::resizeEvent(event0); +} +void PythonQtShell_QMainWindow::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::setVisible(visible0); +} +QPainter* PythonQtShell_QMainWindow::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::sharedPainter(); +} +void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::showEvent(event0); +} +QSize PythonQtShell_QMainWindow::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMainWindow::sizeHint(); +} +void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::tabletEvent(event0); +} +void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::timerEvent(event0); +} +void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMainWindow::wheelEvent(event0); +} +QMainWindow* PythonQtWrapper_QMainWindow::new_QMainWindow(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMainWindow(parent, flags); } + +const QMetaObject* PythonQtShell_QMainWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMainWindow::staticMetaObject); + } else { + return &QMainWindow::staticMetaObject; + } +} +int PythonQtShell_QMainWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMainWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget) +{ + ( theWrappedObject->addDockWidget(area, dockwidget)); +} + +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, QToolBar* toolbar) +{ + ( theWrappedObject->addToolBar(toolbar)); +} + +void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar) +{ + ( theWrappedObject->addToolBar(area, toolbar)); +} + +QToolBar* PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, const QString& title) +{ + return ( theWrappedObject->addToolBar(title)); +} + +void PythonQtWrapper_QMainWindow::addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area) +{ + ( theWrappedObject->addToolBarBreak(area)); +} + +QWidget* PythonQtWrapper_QMainWindow::centralWidget(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->centralWidget()); +} + +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::corner(QMainWindow* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->corner(corner)); +} + +QMenu* PythonQtWrapper_QMainWindow::createPopupMenu(QMainWindow* theWrappedObject) +{ + return ( theWrappedObject->createPopupMenu()); +} + +QMainWindow::DockOptions PythonQtWrapper_QMainWindow::dockOptions(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->dockOptions()); +} + +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const +{ + return ( theWrappedObject->dockWidgetArea(dockwidget)); +} + +bool PythonQtWrapper_QMainWindow::documentMode(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +QSize PythonQtWrapper_QMainWindow::iconSize(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QMainWindow::insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar) +{ + ( theWrappedObject->insertToolBar(before, toolbar)); +} + +void PythonQtWrapper_QMainWindow::insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) +{ + ( theWrappedObject->insertToolBarBreak(before)); +} + +bool PythonQtWrapper_QMainWindow::isAnimated(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); +} + +bool PythonQtWrapper_QMainWindow::isDockNestingEnabled(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->isDockNestingEnabled()); +} + +bool PythonQtWrapper_QMainWindow::isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->isSeparator(pos)); +} + +QMenuBar* PythonQtWrapper_QMainWindow::menuBar(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->menuBar()); +} + +QWidget* PythonQtWrapper_QMainWindow::menuWidget(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->menuWidget()); +} + +void PythonQtWrapper_QMainWindow::removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) +{ + ( theWrappedObject->removeDockWidget(dockwidget)); +} + +void PythonQtWrapper_QMainWindow::removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) +{ + ( theWrappedObject->removeToolBar(toolbar)); +} + +void PythonQtWrapper_QMainWindow::removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) +{ + ( theWrappedObject->removeToolBarBreak(before)); +} + +void PythonQtWrapper_QMainWindow::resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation) +{ + ( theWrappedObject->resizeDocks(docks, sizes, orientation)); +} + +bool PythonQtWrapper_QMainWindow::restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) +{ + return ( theWrappedObject->restoreDockWidget(dockwidget)); +} + +bool PythonQtWrapper_QMainWindow::restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version) +{ + return ( theWrappedObject->restoreState(state, version)); +} + +QByteArray PythonQtWrapper_QMainWindow::saveState(QMainWindow* theWrappedObject, int version) const +{ + return ( theWrappedObject->saveState(version)); +} + +void PythonQtWrapper_QMainWindow::setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setCentralWidget(widget)); +} + +void PythonQtWrapper_QMainWindow::setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area) +{ + ( theWrappedObject->setCorner(corner, area)); +} + +void PythonQtWrapper_QMainWindow::setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options) +{ + ( theWrappedObject->setDockOptions(options)); +} + +void PythonQtWrapper_QMainWindow::setDocumentMode(QMainWindow* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setDocumentMode(enabled)); +} + +void PythonQtWrapper_QMainWindow::setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize) +{ + ( theWrappedObject->setIconSize(iconSize)); +} + +void PythonQtWrapper_QMainWindow::setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar) +{ + ( theWrappedObject->setMenuBar(menubar)); +} + +void PythonQtWrapper_QMainWindow::setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar) +{ + ( theWrappedObject->setMenuWidget(menubar)); +} + +void PythonQtWrapper_QMainWindow::setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar) +{ + ( theWrappedObject->setStatusBar(statusbar)); +} + +void PythonQtWrapper_QMainWindow::setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition) +{ + ( theWrappedObject->setTabPosition(areas, tabPosition)); +} + +void PythonQtWrapper_QMainWindow::setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape) +{ + ( theWrappedObject->setTabShape(tabShape)); +} + +void PythonQtWrapper_QMainWindow::setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle) +{ + ( theWrappedObject->setToolButtonStyle(toolButtonStyle)); +} + +void PythonQtWrapper_QMainWindow::splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation) +{ + ( theWrappedObject->splitDockWidget(after, dockwidget, orientation)); +} + +QStatusBar* PythonQtWrapper_QMainWindow::statusBar(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->statusBar()); +} + +QTabWidget::TabPosition PythonQtWrapper_QMainWindow::tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const +{ + return ( theWrappedObject->tabPosition(area)); +} + +QTabWidget::TabShape PythonQtWrapper_QMainWindow::tabShape(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->tabShape()); +} + +QList PythonQtWrapper_QMainWindow::tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const +{ + return ( theWrappedObject->tabifiedDockWidgets(dockwidget)); +} + +void PythonQtWrapper_QMainWindow::tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second) +{ + ( theWrappedObject->tabifyDockWidget(first, second)); +} + +QWidget* PythonQtWrapper_QMainWindow::takeCentralWidget(QMainWindow* theWrappedObject) +{ + return ( theWrappedObject->takeCentralWidget()); +} + +Qt::ToolBarArea PythonQtWrapper_QMainWindow::toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const +{ + return ( theWrappedObject->toolBarArea(toolbar)); +} + +bool PythonQtWrapper_QMainWindow::toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const +{ + return ( theWrappedObject->toolBarBreak(toolbar)); +} + +Qt::ToolButtonStyle PythonQtWrapper_QMainWindow::toolButtonStyle(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); +} + +bool PythonQtWrapper_QMainWindow::unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->unifiedTitleAndToolBarOnMac()); +} + + + +QMargins* PythonQtWrapper_QMargins::new_QMargins() +{ +return new QMargins(); } + +QMargins* PythonQtWrapper_QMargins::new_QMargins(int left, int top, int right, int bottom) +{ +return new QMargins(left, top, right, bottom); } + +int PythonQtWrapper_QMargins::bottom(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->bottom()); +} + +bool PythonQtWrapper_QMargins::isNull(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +int PythonQtWrapper_QMargins::left(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->left()); +} + +bool PythonQtWrapper_QMargins::__ne__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)!= m2); +} + +QMargins PythonQtWrapper_QMargins::__mul__(QMargins* theWrappedObject, int factor) +{ + return ( (*theWrappedObject)* factor); +} + +QMargins PythonQtWrapper_QMargins::__mul__(QMargins* theWrappedObject, qreal factor) +{ + return ( (*theWrappedObject)* factor); +} + +QMargins* PythonQtWrapper_QMargins::__imul__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +QMargins* PythonQtWrapper_QMargins::__imul__(QMargins* theWrappedObject, qreal arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +QMargins PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)+ m2); +} + +QRect PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, const QRect& rectangle) +{ + return ( (*theWrappedObject)+ rectangle); +} + +QMargins PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, int rhs) +{ + return ( (*theWrappedObject)+ rhs); +} + +QMargins* PythonQtWrapper_QMargins::__iadd__(QMargins* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)+= margins); +} + +QMargins* PythonQtWrapper_QMargins::__iadd__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)+= arg__1); +} + +QMargins PythonQtWrapper_QMargins::__sub__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)- m2); +} + +QMargins PythonQtWrapper_QMargins::__sub__(QMargins* theWrappedObject, int rhs) +{ + return ( (*theWrappedObject)- rhs); +} + +QMargins* PythonQtWrapper_QMargins::__isub__(QMargins* theWrappedObject, const QMargins& margins) +{ + return &( (*theWrappedObject)-= margins); +} + +QMargins* PythonQtWrapper_QMargins::__isub__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)-= arg__1); +} + +QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, int divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, int arg__1) +{ + return &( (*theWrappedObject)/= arg__1); +} + +QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, qreal arg__1) +{ + return &( (*theWrappedObject)/= arg__1); +} + +void PythonQtWrapper_QMargins::writeTo(QMargins* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMargins::__eq__(QMargins* theWrappedObject, const QMargins& m2) +{ + return ( (*theWrappedObject)== m2); +} + +void PythonQtWrapper_QMargins::readFrom(QMargins* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QMargins::right(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->right()); +} + +void PythonQtWrapper_QMargins::setBottom(QMargins* theWrappedObject, int bottom) +{ + ( theWrappedObject->setBottom(bottom)); +} + +void PythonQtWrapper_QMargins::setLeft(QMargins* theWrappedObject, int left) +{ + ( theWrappedObject->setLeft(left)); +} + +void PythonQtWrapper_QMargins::setRight(QMargins* theWrappedObject, int right) +{ + ( theWrappedObject->setRight(right)); +} + +void PythonQtWrapper_QMargins::setTop(QMargins* theWrappedObject, int top) +{ + ( theWrappedObject->setTop(top)); +} + +int PythonQtWrapper_QMargins::top(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->top()); +} + +QString PythonQtWrapper_QMargins::py_toString(QMargins* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::actionEvent(event0); +} +void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::changeEvent(arg__1); +} +void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&childEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::childEvent(childEvent0); +} +void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::closeEvent(event0); +} +void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QMdiArea::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::customEvent(event0); +} +int PythonQtShell_QMdiArea::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::devType(); +} +void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::dropEvent(arg__1); +} +void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::enterEvent(event0); +} +bool PythonQtShell_QMdiArea::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::event(event0); +} +bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::eventFilter(object0, event1); +} +void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::focusInEvent(event0); +} +bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::focusNextPrevChild(next0); +} +void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::focusOutEvent(event0); +} +bool PythonQtShell_QMdiArea::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::hasHeightForWidth(); +} +int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::heightForWidth(arg__1); +} +void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::hideEvent(event0); +} +void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::initPainter(painter0); +} +void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::keyPressEvent(arg__1); +} +void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::keyReleaseEvent(event0); +} +void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::leaveEvent(event0); +} +int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::metric(arg__1); +} +QSize PythonQtShell_QMdiArea::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::minimumSizeHint(); +} +void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mousePressEvent(arg__1); +} +void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::moveEvent(event0); +} +bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::paintEngine(); +} +void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&paintEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::paintEvent(paintEvent0); +} +QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::redirected(offset0); +} +void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&resizeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::resizeEvent(resizeEvent0); +} +void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QMdiArea::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::setVisible(visible0); +} +void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::setupViewport(viewport0); +} +QPainter* PythonQtShell_QMdiArea::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::sharedPainter(); +} +void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&showEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::showEvent(showEvent0); +} +QSize PythonQtShell_QMdiArea::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::sizeHint(); +} +void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::tabletEvent(event0); +} +void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&timerEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::timerEvent(timerEvent0); +} +bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::viewportEvent(event0); +} +QSize PythonQtShell_QMdiArea::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiArea::viewportSizeHint(); +} +void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiArea::wheelEvent(arg__1); +} +QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) +{ +return new PythonQtShell_QMdiArea(parent); } + +const QMetaObject* PythonQtShell_QMdiArea::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiArea::staticMetaObject); + } else { + return &QMdiArea::staticMetaObject; + } +} +int PythonQtShell_QMdiArea::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMdiArea::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->activationOrder()); +} + +QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->activeSubWindow()); +} + +QMdiSubWindow* PythonQtWrapper_QMdiArea::addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags) +{ + return ( theWrappedObject->addSubWindow(widget, flags)); +} + +QBrush PythonQtWrapper_QMdiArea::background(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +QMdiSubWindow* PythonQtWrapper_QMdiArea::currentSubWindow(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->currentSubWindow()); +} + +bool PythonQtWrapper_QMdiArea::documentMode(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->removeSubWindow(widget)); +} + +void PythonQtWrapper_QMdiArea::setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) +{ + ( theWrappedObject->setActivationOrder(order)); +} + +void PythonQtWrapper_QMdiArea::setBackground(QMdiArea* theWrappedObject, const QBrush& background) +{ + ( theWrappedObject->setBackground(background)); +} + +void PythonQtWrapper_QMdiArea::setDocumentMode(QMdiArea* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setDocumentMode(enabled)); +} + +void PythonQtWrapper_QMdiArea::setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QMdiArea::setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position) +{ + ( theWrappedObject->setTabPosition(position)); +} + +void PythonQtWrapper_QMdiArea::setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape) +{ + ( theWrappedObject->setTabShape(shape)); +} + +void PythonQtWrapper_QMdiArea::setTabsClosable(QMdiArea* theWrappedObject, bool closable) +{ + ( theWrappedObject->setTabsClosable(closable)); +} + +void PythonQtWrapper_QMdiArea::setTabsMovable(QMdiArea* theWrappedObject, bool movable) +{ + ( theWrappedObject->setTabsMovable(movable)); +} + +void PythonQtWrapper_QMdiArea::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) +{ + ( theWrappedObject->setViewMode(mode)); +} + +QList PythonQtWrapper_QMdiArea::subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) const +{ + return ( theWrappedObject->subWindowList(order)); +} + +QTabWidget::TabPosition PythonQtWrapper_QMdiArea::tabPosition(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabPosition()); +} + +QTabWidget::TabShape PythonQtWrapper_QMdiArea::tabShape(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabShape()); +} + +bool PythonQtWrapper_QMdiArea::tabsClosable(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabsClosable()); +} + +bool PythonQtWrapper_QMdiArea::tabsMovable(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->tabsMovable()); +} + +bool PythonQtWrapper_QMdiArea::testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const +{ + return ( theWrappedObject->testOption(opton)); +} + +QMdiArea::ViewMode PythonQtWrapper_QMdiArea::viewMode(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + + + +PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::actionEvent(event0); +} +void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&changeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::changeEvent(changeEvent0); +} +void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&childEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::childEvent(childEvent0); +} +void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&closeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::closeEvent(closeEvent0); +} +void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&contextMenuEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::contextMenuEvent(contextMenuEvent0); +} +void PythonQtShell_QMdiSubWindow::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::customEvent(event0); +} +int PythonQtShell_QMdiSubWindow::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::devType(); +} +void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::dragEnterEvent(event0); +} +void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::dragLeaveEvent(event0); +} +void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::dragMoveEvent(event0); +} +void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::dropEvent(event0); +} +void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::enterEvent(event0); +} +bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::event(event0); +} +bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::eventFilter(object0, event1); +} +void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&focusInEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::focusInEvent(focusInEvent0); +} +bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::focusNextPrevChild(next0); +} +void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&focusOutEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::focusOutEvent(focusOutEvent0); +} +bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::hasHeightForWidth(); +} +int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::heightForWidth(arg__1); +} +void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&hideEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::hideEvent(hideEvent0); +} +void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::initPainter(painter0); +} +void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::inputMethodQuery(arg__1); +} +void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&keyEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::keyPressEvent(keyEvent0); +} +void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::keyReleaseEvent(event0); +} +void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&leaveEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::leaveEvent(leaveEvent0); +} +int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::metric(arg__1); +} +QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::minimumSizeHint(); +} +void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mouseDoubleClickEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mouseMoveEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mousePressEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&mouseEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::mouseReleaseEvent(mouseEvent0); +} +void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&moveEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::moveEvent(moveEvent0); +} +bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::paintEngine(); +} +void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&paintEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::paintEvent(paintEvent0); +} +QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::redirected(offset0); +} +void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&resizeEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::resizeEvent(resizeEvent0); +} +void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::setVisible(visible0); +} +QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::sharedPainter(); +} +void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&showEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::showEvent(showEvent0); +} +QSize PythonQtShell_QMdiSubWindow::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMdiSubWindow::sizeHint(); +} +void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::tabletEvent(event0); +} +void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&timerEvent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::timerEvent(timerEvent0); +} +void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMdiSubWindow::wheelEvent(event0); +} +QMdiSubWindow* PythonQtWrapper_QMdiSubWindow::new_QMdiSubWindow(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMdiSubWindow(parent, flags); } + +const QMetaObject* PythonQtShell_QMdiSubWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiSubWindow::staticMetaObject); + } else { + return &QMdiSubWindow::staticMetaObject; + } +} +int PythonQtShell_QMdiSubWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMdiSubWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->isShaded()); +} + +int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->keyboardPageStep()); +} + +int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->keyboardSingleStep()); +} + +QWidget* PythonQtWrapper_QMdiSubWindow::maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximizedButtonsWidget()); +} + +QWidget* PythonQtWrapper_QMdiSubWindow::maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximizedSystemMenuIconWidget()); +} + +QMdiArea* PythonQtWrapper_QMdiSubWindow::mdiArea(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->mdiArea()); +} + +QSize PythonQtWrapper_QMdiSubWindow::minimumSizeHint(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QMdiSubWindow::setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step) +{ + ( theWrappedObject->setKeyboardPageStep(step)); +} + +void PythonQtWrapper_QMdiSubWindow::setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step) +{ + ( theWrappedObject->setKeyboardSingleStep(step)); +} + +void PythonQtWrapper_QMdiSubWindow::setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QMdiSubWindow::setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu) +{ + ( theWrappedObject->setSystemMenu(systemMenu)); +} + +void PythonQtWrapper_QMdiSubWindow::setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QSize PythonQtWrapper_QMdiSubWindow::sizeHint(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QMenu* PythonQtWrapper_QMdiSubWindow::systemMenu(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->systemMenu()); +} + +bool PythonQtWrapper_QMdiSubWindow::testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const +{ + return ( theWrappedObject->testOption(arg__1)); +} + +QWidget* PythonQtWrapper_QMdiSubWindow::widget(QMdiSubWindow* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + + + +PythonQtShell_QMenu::~PythonQtShell_QMenu() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::actionEvent(arg__1); +} +void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::changeEvent(arg__1); +} +void PythonQtShell_QMenu::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::childEvent(event0); +} +void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::closeEvent(event0); +} +void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::contextMenuEvent(event0); +} +void PythonQtShell_QMenu::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::customEvent(event0); +} +int PythonQtShell_QMenu::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::devType(); +} +void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::dragEnterEvent(event0); +} +void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::dragLeaveEvent(event0); +} +void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::dragMoveEvent(event0); +} +void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::dropEvent(event0); +} +void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::enterEvent(arg__1); +} +bool PythonQtShell_QMenu::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::event(arg__1); +} +bool PythonQtShell_QMenu::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::eventFilter(watched0, event1); +} +void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::focusInEvent(event0); +} +bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::focusNextPrevChild(next0); +} +void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::focusOutEvent(event0); +} +bool PythonQtShell_QMenu::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::hasHeightForWidth(); +} +int PythonQtShell_QMenu::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::heightForWidth(arg__1); +} +void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::hideEvent(arg__1); +} +void PythonQtShell_QMenu::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::initPainter(painter0); +} +void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::inputMethodQuery(arg__1); +} +void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::keyPressEvent(arg__1); +} +void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::keyReleaseEvent(event0); +} +void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::leaveEvent(arg__1); +} +int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::metric(arg__1); +} +QSize PythonQtShell_QMenu::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::minimumSizeHint(); +} +void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::mousePressEvent(arg__1); +} +void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::moveEvent(event0); +} +bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMenu::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::paintEngine(); +} +void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::redirected(offset0); +} +void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::resizeEvent(event0); +} +void PythonQtShell_QMenu::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::setVisible(visible0); +} +QPainter* PythonQtShell_QMenu::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::sharedPainter(); +} +void PythonQtShell_QMenu::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::showEvent(event0); +} +QSize PythonQtShell_QMenu::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenu::sizeHint(); +} +void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::tabletEvent(event0); +} +void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenu::timerEvent(arg__1); +} +void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + 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); } + +const QMetaObject* PythonQtShell_QMenu::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenu::staticMetaObject); + } else { + return &QMenu::staticMetaObject; + } +} +int PythonQtShell_QMenu::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMenu::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const +{ + return ( theWrappedObject->actionAt(arg__1)); +} + +QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const +{ + return ( theWrappedObject->actionGeometry(arg__1)); +} + +QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->activeAction()); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addAction(icon, text)); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) +{ + return ( theWrappedObject->addAction(icon, text, receiver, member, shortcut)); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) +{ + return ( theWrappedObject->addAction(text, receiver, member, shortcut)); +} + +QAction* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, QMenu* menu) +{ + return ( theWrappedObject->addMenu(menu)); +} + +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title) +{ + return ( theWrappedObject->addMenu(icon, title)); +} + +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QString& title) +{ + return ( theWrappedObject->addMenu(title)); +} + +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addSection(icon, text)); +} + +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addSection(text)); +} + +QAction* PythonQtWrapper_QMenu::addSeparator(QMenu* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); +} + +void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QMenu::columnCount(QMenu* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_columnCount()); +} + +QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); +} + +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) +{ + return ( theWrappedObject->exec()); +} + +QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at, QWidget* parent) +{ + return (QMenu::exec(actions, pos, at, parent)); +} + +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at) +{ + return ( theWrappedObject->exec(pos, at)); +} + +void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) +{ + ( theWrappedObject->hideTearOffMenu()); +} + +QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +void PythonQtWrapper_QMenu::initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_initStyleOption(option, action)); +} + +QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) +{ + return ( theWrappedObject->insertMenu(before, menu)); +} + +QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertSection(before, icon, text)); +} + +QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QString& text) +{ + return ( theWrappedObject->insertSection(before, text)); +} + +QAction* PythonQtWrapper_QMenu::insertSeparator(QMenu* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); +} + +bool PythonQtWrapper_QMenu::isEmpty(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QMenu::isTearOffEnabled(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isTearOffEnabled()); +} + +bool PythonQtWrapper_QMenu::isTearOffMenuVisible(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isTearOffMenuVisible()); +} + +QAction* PythonQtWrapper_QMenu::menuAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->menuAction()); +} + +void PythonQtWrapper_QMenu::popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at) +{ + ( theWrappedObject->popup(pos, at)); +} + +bool PythonQtWrapper_QMenu::separatorsCollapsible(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->separatorsCollapsible()); +} + +void PythonQtWrapper_QMenu::setActiveAction(QMenu* theWrappedObject, QAction* act) +{ + ( theWrappedObject->setActiveAction(act)); +} + +void PythonQtWrapper_QMenu::setDefaultAction(QMenu* theWrappedObject, QAction* arg__1) +{ + ( theWrappedObject->setDefaultAction(arg__1)); +} + +void PythonQtWrapper_QMenu::setIcon(QMenu* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QMenu::setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse) +{ + ( theWrappedObject->setSeparatorsCollapsible(collapse)); +} + +void PythonQtWrapper_QMenu::setTearOffEnabled(QMenu* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setTearOffEnabled(arg__1)); +} + +void PythonQtWrapper_QMenu::setTitle(QMenu* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +void PythonQtWrapper_QMenu::setToolTipsVisible(QMenu* theWrappedObject, bool visible) +{ + ( theWrappedObject->setToolTipsVisible(visible)); +} + +void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject) +{ + ( theWrappedObject->showTearOffMenu()); +} + +void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->showTearOffMenu(pos)); +} + +QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +bool PythonQtWrapper_QMenu::toolTipsVisible(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->toolTipsVisible()); +} + + + +PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::actionEvent(arg__1); +} +void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::changeEvent(arg__1); +} +void PythonQtShell_QMenuBar::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::childEvent(event0); +} +void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::closeEvent(event0); +} +void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::contextMenuEvent(event0); +} +void PythonQtShell_QMenuBar::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::customEvent(event0); +} +int PythonQtShell_QMenuBar::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::devType(); +} +void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::dragEnterEvent(event0); +} +void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::dragLeaveEvent(event0); +} +void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::dragMoveEvent(event0); +} +void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::dropEvent(event0); +} +void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::enterEvent(event0); +} +bool PythonQtShell_QMenuBar::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::event(arg__1); +} +bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::focusInEvent(arg__1); +} +bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::focusNextPrevChild(next0); +} +void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::focusOutEvent(arg__1); +} +bool PythonQtShell_QMenuBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::hasHeightForWidth(); +} +int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::heightForWidth(arg__1); +} +void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::hideEvent(event0); +} +void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::initPainter(painter0); +} +void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::keyPressEvent(arg__1); +} +void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::keyReleaseEvent(event0); +} +void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::leaveEvent(arg__1); +} +int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::metric(arg__1); +} +QSize PythonQtShell_QMenuBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::minimumSizeHint(); +} +void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::mousePressEvent(arg__1); +} +void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::moveEvent(event0); +} +bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::paintEngine(); +} +void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::redirected(offset0); +} +void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::resizeEvent(arg__1); +} +void PythonQtShell_QMenuBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::setVisible(visible0); +} +QPainter* PythonQtShell_QMenuBar::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::sharedPainter(); +} +void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::showEvent(event0); +} +QSize PythonQtShell_QMenuBar::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMenuBar::sizeHint(); +} +void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::tabletEvent(event0); +} +void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::timerEvent(arg__1); +} +void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMenuBar::wheelEvent(event0); +} +QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) +{ +return new PythonQtShell_QMenuBar(parent); } + +const QMetaObject* PythonQtShell_QMenuBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenuBar::staticMetaObject); + } else { + return &QMenuBar::staticMetaObject; + } +} +int PythonQtShell_QMenuBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMenuBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +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)); +} + +QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->activeAction()); +} + +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} + +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +{ + return ( theWrappedObject->addAction(text, receiver, member)); +} + +QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) +{ + return ( theWrappedObject->addMenu(menu)); +} + +QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) +{ + return ( theWrappedObject->addMenu(icon, title)); +} + +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::clear(QMenuBar* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->cornerWidget(corner)); +} + +void PythonQtWrapper_QMenuBar::initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +{ + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_initStyleOption(option, action)); +} + +QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) +{ + return ( theWrappedObject->insertMenu(before, menu)); +} + +QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); +} + +bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->isDefaultUp()); +} + +bool PythonQtWrapper_QMenuBar::isNativeMenuBar(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->isNativeMenuBar()); +} + +QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) +{ + ( theWrappedObject->setActiveAction(action)); +} + +void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) +{ + ( theWrappedObject->setCornerWidget(w, corner)); +} + +void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setDefaultUp(arg__1)); +} + +void PythonQtWrapper_QMenuBar::setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar) +{ + ( theWrappedObject->setNativeMenuBar(nativeMenuBar)); +} + +QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMessageBox::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::accept(); +} +void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::actionEvent(event0); +} +void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::changeEvent(event0); +} +void PythonQtShell_QMessageBox::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::childEvent(event0); +} +void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::closeEvent(event0); +} +void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::contextMenuEvent(arg__1); +} +void PythonQtShell_QMessageBox::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::customEvent(event0); +} +int PythonQtShell_QMessageBox::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::devType(); +} +void PythonQtShell_QMessageBox::done(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::done(arg__1); +} +void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::dragEnterEvent(event0); +} +void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::dragLeaveEvent(event0); +} +void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::dragMoveEvent(event0); +} +void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::dropEvent(event0); +} +void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::enterEvent(event0); +} +bool PythonQtShell_QMessageBox::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::event(e0); +} +bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QMessageBox::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::exec(); +} +void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::focusInEvent(event0); +} +bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::focusNextPrevChild(next0); +} +void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::focusOutEvent(event0); +} +bool PythonQtShell_QMessageBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::hasHeightForWidth(); +} +int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::heightForWidth(arg__1); +} +void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::hideEvent(event0); +} +void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::initPainter(painter0); +} +void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::inputMethodQuery(arg__1); +} +void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::keyPressEvent(event0); +} +void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::keyReleaseEvent(event0); +} +void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::leaveEvent(event0); +} +int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::metric(arg__1); +} +QSize PythonQtShell_QMessageBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::minimumSizeHint(); +} +void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::mouseMoveEvent(event0); +} +void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::mousePressEvent(event0); +} +void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::mouseReleaseEvent(event0); +} +void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::moveEvent(event0); +} +bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::paintEngine(); +} +void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::redirected(offset0); +} +void PythonQtShell_QMessageBox::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::reject(); +} +void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::resizeEvent(event0); +} +void PythonQtShell_QMessageBox::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::setVisible(visible0); +} +QPainter* PythonQtShell_QMessageBox::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::sharedPainter(); +} +void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::showEvent(event0); +} +QSize PythonQtShell_QMessageBox::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMessageBox::sizeHint(); +} +void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::tabletEvent(event0); +} +void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::timerEvent(event0); +} +void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMessageBox::wheelEvent(event0); +} +QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QMessageBox(icon, title, text, buttons, parent, flags); } + +QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QWidget* parent) +{ +return new PythonQtShell_QMessageBox(parent); } + +const QMetaObject* PythonQtShell_QMessageBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMessageBox::staticMetaObject); + } else { + return &QMessageBox::staticMetaObject; + } +} +int PythonQtShell_QMessageBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMessageBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QMessageBox::static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text) +{ + (QMessageBox::about(parent, title, text)); +} + +void PythonQtWrapper_QMessageBox::static_QMessageBox_aboutQt(QWidget* parent, const QString& title) +{ + (QMessageBox::aboutQt(parent, title)); +} + +void PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role) +{ + ( theWrappedObject->addButton(button, role)); +} + +QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) +{ + return ( theWrappedObject->addButton(button)); +} + +QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role) +{ + return ( theWrappedObject->addButton(text, role)); +} + +QAbstractButton* PythonQtWrapper_QMessageBox::button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const +{ + return ( theWrappedObject->button(which)); +} + +QMessageBox::ButtonRole PythonQtWrapper_QMessageBox::buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->buttonRole(button)); +} + +QList PythonQtWrapper_QMessageBox::buttons(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +QCheckBox* PythonQtWrapper_QMessageBox::checkBox(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->checkBox()); +} + +QAbstractButton* PythonQtWrapper_QMessageBox::clickedButton(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->clickedButton()); +} + +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)); +} + +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)); +} + +QPushButton* PythonQtWrapper_QMessageBox::defaultButton(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->defaultButton()); +} + +QString PythonQtWrapper_QMessageBox::detailedText(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->detailedText()); +} + +QAbstractButton* PythonQtWrapper_QMessageBox::escapeButton(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->escapeButton()); +} + +QMessageBox::Icon PythonQtWrapper_QMessageBox::icon(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +QPixmap PythonQtWrapper_QMessageBox::iconPixmap(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->iconPixmap()); +} + +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)); +} + +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)); +} + +QString PythonQtWrapper_QMessageBox::informativeText(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->informativeText()); +} + +void PythonQtWrapper_QMessageBox::open(QMessageBox* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +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)); +} + +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::removeButton(QMessageBox* theWrappedObject, QAbstractButton* button) +{ + ( theWrappedObject->removeButton(button)); +} + +void PythonQtWrapper_QMessageBox::setCheckBox(QMessageBox* theWrappedObject, QCheckBox* cb) +{ + ( theWrappedObject->setCheckBox(cb)); +} + +void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) +{ + ( theWrappedObject->setDefaultButton(button)); +} + +void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button) +{ + ( theWrappedObject->setDefaultButton(button)); +} + +void PythonQtWrapper_QMessageBox::setDetailedText(QMessageBox* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setDetailedText(text)); +} + +void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button) +{ + ( theWrappedObject->setEscapeButton(button)); +} + +void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) +{ + ( theWrappedObject->setEscapeButton(button)); +} + +void PythonQtWrapper_QMessageBox::setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1) +{ + ( theWrappedObject->setIcon(arg__1)); +} + +void PythonQtWrapper_QMessageBox::setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setIconPixmap(pixmap)); +} + +void PythonQtWrapper_QMessageBox::setInformativeText(QMessageBox* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setInformativeText(text)); +} + +void PythonQtWrapper_QMessageBox::setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons) +{ + ( theWrappedObject->setStandardButtons(buttons)); +} + +void PythonQtWrapper_QMessageBox::setText(QMessageBox* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QMessageBox::setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format) +{ + ( theWrappedObject->setTextFormat(format)); +} + +void PythonQtWrapper_QMessageBox::setTextInteractionFlags(QMessageBox* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const +{ + return ( theWrappedObject->standardButton(button)); +} + +QMessageBox::StandardButtons PythonQtWrapper_QMessageBox::standardButtons(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->standardButtons()); +} + +QString PythonQtWrapper_QMessageBox::text(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::TextFormat PythonQtWrapper_QMessageBox::textFormat(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->textFormat()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QMessageBox::textInteractionFlags(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +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_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) +{ + return (QMessageBox::warning(parent, title, text, button0, button1)); +} + + + +PythonQtShell_QMouseEvent::~PythonQtShell_QMouseEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, localPos, button, buttons, modifiers); } + +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, localPos, screenPos, button, buttons, modifiers); } + +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers); } + +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source) +{ +return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source); } + +Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); +} + +Qt::MouseEventFlags PythonQtWrapper_QMouseEvent::flags(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QPoint PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); +} + +int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalY()); +} + +const QPointF* PythonQtWrapper_QMouseEvent::localPos(QMouseEvent* theWrappedObject) const +{ + return &( theWrappedObject->localPos()); +} + +QPoint PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QMouseEvent::screenPos(QMouseEvent* theWrappedObject) const +{ + return &( theWrappedObject->screenPos()); +} + +void PythonQtWrapper_QMouseEvent::setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition) +{ + ( theWrappedObject->setLocalPos(localPosition)); +} + +Qt::MouseEventSource PythonQtWrapper_QMouseEvent::source(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +const QPointF* PythonQtWrapper_QMouseEvent::windowPos(QMouseEvent* theWrappedObject) const +{ + return &( theWrappedObject->windowPos()); +} + +int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + + + +PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMouseEventTransition::childEvent(event0); +} +void PythonQtShell_QMouseEventTransition::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMouseEventTransition::customEvent(event0); +} +bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMouseEventTransition::event(e0); +} +bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMouseEventTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventTest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMouseEventTransition::eventTest(event0); +} +void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("onTransition"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMouseEventTransition::onTransition(event0); +} +void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMouseEventTransition::timerEvent(event0); +} +QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState) +{ +return new PythonQtShell_QMouseEventTransition(object, type, button, sourceState); } + +QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QState* sourceState) +{ +return new PythonQtShell_QMouseEventTransition(sourceState); } + +const QMetaObject* PythonQtShell_QMouseEventTransition::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMouseEventTransition::staticMetaObject); + } else { + return &QMouseEventTransition::staticMetaObject; + } +} +int PythonQtShell_QMouseEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMouseEventTransition::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::MouseButton PythonQtWrapper_QMouseEventTransition::button(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->button()); +} + +QPainterPath PythonQtWrapper_QMouseEventTransition::hitTestPath(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->hitTestPath()); +} + +Qt::KeyboardModifiers PythonQtWrapper_QMouseEventTransition::modifierMask(QMouseEventTransition* theWrappedObject) const +{ + return ( theWrappedObject->modifierMask()); +} + +void PythonQtWrapper_QMouseEventTransition::setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button) +{ + ( theWrappedObject->setButton(button)); +} + +void PythonQtWrapper_QMouseEventTransition::setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->setHitTestPath(path)); +} + +void PythonQtWrapper_QMouseEventTransition::setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifierMask(modifiers)); +} + + + +PythonQtShell_QMoveEvent::~PythonQtShell_QMoveEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +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()); +} + + + +PythonQtShell_QMovie::~PythonQtShell_QMovie() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMovie::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMovie::childEvent(event0); +} +void PythonQtShell_QMovie::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMovie::customEvent(event0); +} +bool PythonQtShell_QMovie::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMovie::event(event0); +} +bool PythonQtShell_QMovie::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMovie::eventFilter(watched0, event1); +} +void PythonQtShell_QMovie::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMovie::timerEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QMovie::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMovie::staticMetaObject); + } else { + return &QMovie::staticMetaObject; + } +} +int PythonQtShell_QMovie::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMovie::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QColor PythonQtWrapper_QMovie::backgroundColor(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->backgroundColor()); +} + +QMovie::CacheMode PythonQtWrapper_QMovie::cacheMode(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->cacheMode()); +} + +int PythonQtWrapper_QMovie::currentFrameNumber(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->currentFrameNumber()); +} + +QImage PythonQtWrapper_QMovie::currentImage(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->currentImage()); +} + +QPixmap PythonQtWrapper_QMovie::currentPixmap(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->currentPixmap()); +} + +QIODevice* PythonQtWrapper_QMovie::device(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QString PythonQtWrapper_QMovie::fileName(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QByteArray PythonQtWrapper_QMovie::format(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QMovie::frameCount(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->frameCount()); +} + +QRect PythonQtWrapper_QMovie::frameRect(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->frameRect()); +} + +bool PythonQtWrapper_QMovie::isValid(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QMovie::jumpToFrame(QMovie* theWrappedObject, int frameNumber) +{ + return ( theWrappedObject->jumpToFrame(frameNumber)); +} + +QImageReader::ImageReaderError PythonQtWrapper_QMovie::lastError(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->lastError()); +} + +QString PythonQtWrapper_QMovie::lastErrorString(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->lastErrorString()); +} + +int PythonQtWrapper_QMovie::loopCount(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->loopCount()); +} + +int PythonQtWrapper_QMovie::nextFrameDelay(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->nextFrameDelay()); +} + +QSize PythonQtWrapper_QMovie::scaledSize(QMovie* theWrappedObject) +{ + return ( theWrappedObject->scaledSize()); +} + +void PythonQtWrapper_QMovie::setBackgroundColor(QMovie* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setBackgroundColor(color)); +} + +void PythonQtWrapper_QMovie::setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode) +{ + ( theWrappedObject->setCacheMode(mode)); +} + +void PythonQtWrapper_QMovie::setDevice(QMovie* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QMovie::setFileName(QMovie* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} + +void PythonQtWrapper_QMovie::setFormat(QMovie* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QMovie::setScaledSize(QMovie* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setScaledSize(size)); +} + +int PythonQtWrapper_QMovie::speed(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->speed()); +} + +QMovie::MovieState PythonQtWrapper_QMovie::state(QMovie* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QList PythonQtWrapper_QMovie::static_QMovie_supportedFormats() +{ + return (QMovie::supportedFormats()); +} + + + +PythonQtShell_QNativeGestureEvent::~PythonQtShell_QNativeGestureEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QNativeGestureEvent* PythonQtWrapper_QNativeGestureEvent::new_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument) +{ +return new PythonQtShell_QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument); } + +QNativeGestureEvent* PythonQtWrapper_QNativeGestureEvent::new_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument) +{ +return new PythonQtShell_QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument); } + +const QTouchDevice* PythonQtWrapper_QNativeGestureEvent::device(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +Qt::NativeGestureType PythonQtWrapper_QNativeGestureEvent::gestureType(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->gestureType()); +} + +const QPoint PythonQtWrapper_QNativeGestureEvent::globalPos(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); +} + +const QPointF* PythonQtWrapper_QNativeGestureEvent::localPos(QNativeGestureEvent* theWrappedObject) const +{ + return &( theWrappedObject->localPos()); +} + +const QPoint PythonQtWrapper_QNativeGestureEvent::pos(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +const QPointF* PythonQtWrapper_QNativeGestureEvent::screenPos(QNativeGestureEvent* theWrappedObject) const +{ + return &( theWrappedObject->screenPos()); +} + +qreal PythonQtWrapper_QNativeGestureEvent::value(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +const QPointF* PythonQtWrapper_QNativeGestureEvent::windowPos(QNativeGestureEvent* theWrappedObject) const +{ + return &( theWrappedObject->windowPos()); +} + + + +PythonQtShell_QOffscreenSurface::~PythonQtShell_QOffscreenSurface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOffscreenSurface::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOffscreenSurface::childEvent(event0); +} +void PythonQtShell_QOffscreenSurface::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOffscreenSurface::customEvent(event0); +} +bool PythonQtShell_QOffscreenSurface::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::event(event0); +} +bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::eventFilter(watched0, event1); +} +QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::format(); +} +QSize PythonQtShell_QOffscreenSurface::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::size(); +} +QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOffscreenSurface::surfaceType(); +} +void PythonQtShell_QOffscreenSurface::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOffscreenSurface::timerEvent(event0); +} +QOffscreenSurface* PythonQtWrapper_QOffscreenSurface::new_QOffscreenSurface(QScreen* screen) +{ +return new PythonQtShell_QOffscreenSurface(screen); } + +QOffscreenSurface* PythonQtWrapper_QOffscreenSurface::new_QOffscreenSurface(QScreen* screen, QObject* parent) +{ +return new PythonQtShell_QOffscreenSurface(screen, parent); } + +const QMetaObject* PythonQtShell_QOffscreenSurface::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOffscreenSurface::staticMetaObject); + } else { + return &QOffscreenSurface::staticMetaObject; + } +} +int PythonQtShell_QOffscreenSurface::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOffscreenSurface::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QOffscreenSurface::create(QOffscreenSurface* theWrappedObject) +{ + ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOffscreenSurface::destroy(QOffscreenSurface* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOffscreenSurface::isValid(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void* PythonQtWrapper_QOffscreenSurface::nativeHandle(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->nativeHandle()); +} + +QSurfaceFormat PythonQtWrapper_QOffscreenSurface::requestedFormat(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->requestedFormat()); +} + +QScreen* PythonQtWrapper_QOffscreenSurface::screen(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + +void PythonQtWrapper_QOffscreenSurface::setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOffscreenSurface::setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle) +{ + ( theWrappedObject->setNativeHandle(handle)); +} + +void PythonQtWrapper_QOffscreenSurface::setScreen(QOffscreenSurface* theWrappedObject, QScreen* screen) +{ + ( theWrappedObject->setScreen(screen)); +} + + + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer() +{ +return new QOpenGLBuffer(); } + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(QOpenGLBuffer::Type type) +{ +return new QOpenGLBuffer(type); } + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(const QOpenGLBuffer& other) +{ +return new QOpenGLBuffer(other); } + +void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count) +{ + ( theWrappedObject->allocate(data, count)); +} + +void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, int count) +{ + ( theWrappedObject->allocate(count)); +} + +bool PythonQtWrapper_QOpenGLBuffer::bind(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +GLuint PythonQtWrapper_QOpenGLBuffer::bufferId(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->bufferId()); +} + +bool PythonQtWrapper_QOpenGLBuffer::create(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLBuffer::destroy(QOpenGLBuffer* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLBuffer::isCreated(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +void* PythonQtWrapper_QOpenGLBuffer::map(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::Access access) +{ + return ( theWrappedObject->map(access)); +} + +QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::operator_assign(QOpenGLBuffer* theWrappedObject, const QOpenGLBuffer& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QOpenGLBuffer::read(QOpenGLBuffer* theWrappedObject, int offset, void* data, int count) +{ + return ( theWrappedObject->read(offset, data, count)); +} + +void PythonQtWrapper_QOpenGLBuffer::release(QOpenGLBuffer* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLBuffer::static_QOpenGLBuffer_release(QOpenGLBuffer::Type type) +{ + (QOpenGLBuffer::release(type)); +} + +void PythonQtWrapper_QOpenGLBuffer::setUsagePattern(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::UsagePattern value) +{ + ( theWrappedObject->setUsagePattern(value)); +} + +int PythonQtWrapper_QOpenGLBuffer::size(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QOpenGLBuffer::Type PythonQtWrapper_QOpenGLBuffer::type(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +bool PythonQtWrapper_QOpenGLBuffer::unmap(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->unmap()); +} + +QOpenGLBuffer::UsagePattern PythonQtWrapper_QOpenGLBuffer::usagePattern(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->usagePattern()); +} + +void PythonQtWrapper_QOpenGLBuffer::write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count) +{ + ( theWrappedObject->write(offset, data, count)); +} + + + +PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLContext::childEvent(event0); +} +void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLContext::customEvent(event0); +} +bool PythonQtShell_QOpenGLContext::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLContext::event(event0); +} +bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLContext::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLContext::timerEvent(event0); +} +QOpenGLContext* PythonQtWrapper_QOpenGLContext::new_QOpenGLContext(QObject* parent) +{ +return new PythonQtShell_QOpenGLContext(parent); } + +const QMetaObject* PythonQtShell_QOpenGLContext::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLContext::staticMetaObject); + } else { + return &QOpenGLContext::staticMetaObject; + } +} +int PythonQtShell_QOpenGLContext::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLContext::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second) +{ + return (QOpenGLContext::areSharing(first, second)); +} + +bool PythonQtWrapper_QOpenGLContext::create(QOpenGLContext* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_currentContext() +{ + return (QOpenGLContext::currentContext()); +} + +GLuint PythonQtWrapper_QOpenGLContext::defaultFramebufferObject(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->defaultFramebufferObject()); +} + +void PythonQtWrapper_QOpenGLContext::doneCurrent(QOpenGLContext* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +QSet PythonQtWrapper_QOpenGLContext::extensions(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->extensions()); +} + +QSurfaceFormat PythonQtWrapper_QOpenGLContext::format(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QOpenGLFunctions* PythonQtWrapper_QOpenGLContext::functions(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->functions()); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_globalShareContext() +{ + return (QOpenGLContext::globalShareContext()); +} + +bool PythonQtWrapper_QOpenGLContext::hasExtension(QOpenGLContext* theWrappedObject, const QByteArray& extension) const +{ + return ( theWrappedObject->hasExtension(extension)); +} + +bool PythonQtWrapper_QOpenGLContext::isOpenGLES(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isOpenGLES()); +} + +bool PythonQtWrapper_QOpenGLContext::isValid(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QOpenGLContext::makeCurrent(QOpenGLContext* theWrappedObject, QSurface* surface) +{ + return ( theWrappedObject->makeCurrent(surface)); +} + +QVariant PythonQtWrapper_QOpenGLContext::nativeHandle(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->nativeHandle()); +} + +void* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleHandle() +{ + return (QOpenGLContext::openGLModuleHandle()); +} + +QOpenGLContext::OpenGLModuleType PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleType() +{ + return (QOpenGLContext::openGLModuleType()); +} + +QScreen* PythonQtWrapper_QOpenGLContext::screen(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + +void PythonQtWrapper_QOpenGLContext::setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOpenGLContext::setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle) +{ + ( theWrappedObject->setNativeHandle(handle)); +} + +void PythonQtWrapper_QOpenGLContext::setScreen(QOpenGLContext* theWrappedObject, QScreen* screen) +{ + ( theWrappedObject->setScreen(screen)); +} + +void PythonQtWrapper_QOpenGLContext::setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext) +{ + ( theWrappedObject->setShareContext(shareContext)); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLContext::shareContext(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->shareContext()); +} + +QOpenGLContextGroup* PythonQtWrapper_QOpenGLContext::shareGroup(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->shareGroup()); +} + +bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_supportsThreadedOpenGL() +{ + return (QOpenGLContext::supportsThreadedOpenGL()); +} + +QSurface* PythonQtWrapper_QOpenGLContext::surface(QOpenGLContext* theWrappedObject) const +{ + return ( theWrappedObject->surface()); +} + +void PythonQtWrapper_QOpenGLContext::swapBuffers(QOpenGLContext* theWrappedObject, QSurface* surface) +{ + ( theWrappedObject->swapBuffers(surface)); +} + +QString PythonQtWrapper_QOpenGLContext::py_toString(QOpenGLContext* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QOpenGLContextGroup* PythonQtWrapper_QOpenGLContextGroup::static_QOpenGLContextGroup_currentContextGroup() +{ + return (QOpenGLContextGroup::currentContextGroup()); +} + +QList PythonQtWrapper_QOpenGLContextGroup::shares(QOpenGLContextGroup* theWrappedObject) const +{ + return ( theWrappedObject->shares()); +} + +QString PythonQtWrapper_QOpenGLContextGroup::py_toString(QOpenGLContextGroup* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QOpenGLFramebufferObject::~PythonQtShell_QOpenGLFramebufferObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, GLenum target) +{ +return new PythonQtShell_QOpenGLFramebufferObject(size, target); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) +{ +return new PythonQtShell_QOpenGLFramebufferObject(size, attachment, target, internalFormat); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QOpenGLFramebufferObject(size, format); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, GLenum target) +{ +return new PythonQtShell_QOpenGLFramebufferObject(width, height, target); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) +{ +return new PythonQtShell_QOpenGLFramebufferObject(width, height, attachment, target, internalFormat); } + +QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format) +{ +return new PythonQtShell_QOpenGLFramebufferObject(width, height, format); } + +void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat) +{ + ( theWrappedObject->addColorAttachment(size, internalFormat)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat) +{ + ( theWrappedObject->addColorAttachment(width, height, internalFormat)); +} + +QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObject::attachment(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::bind(QOpenGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_bindDefault() +{ + return (QOpenGLFramebufferObject::bindDefault()); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers, GLenum filter) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, source, buffers, filter)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex)); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex, restorePolicy)); +} + +QOpenGLFramebufferObjectFormat PythonQtWrapper_QOpenGLFramebufferObject::format(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::handle(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->handle()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit() +{ + return (QOpenGLFramebufferObject::hasOpenGLFramebufferBlit()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects() +{ + return (QOpenGLFramebufferObject::hasOpenGLFramebufferObjects()); +} + +int PythonQtWrapper_QOpenGLFramebufferObject::height(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::isBound(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isBound()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::isValid(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObject::release(QOpenGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) +{ + ( theWrappedObject->setAttachment(attachment)); +} + +QSize PythonQtWrapper_QOpenGLFramebufferObject::size(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QVector PythonQtWrapper_QOpenGLFramebufferObject::sizes(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->sizes()); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->takeTexture()); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex) +{ + return ( theWrappedObject->takeTexture(colorAttachmentIndex)); +} + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::texture(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + +QVector PythonQtWrapper_QOpenGLFramebufferObject::textures(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->textures()); +} + +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const +{ + return ( theWrappedObject->toImage(flipped)); +} + +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const +{ + return ( theWrappedObject->toImage(flipped, colorAttachmentIndex)); +} + +int PythonQtWrapper_QOpenGLFramebufferObject::width(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat() +{ +return new QOpenGLFramebufferObjectFormat(); } + +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other) +{ +return new QOpenGLFramebufferObjectFormat(other); } + +QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObjectFormat::attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->attachment()); +} + +GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->internalTextureFormat()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->mipmap()); +} + +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QOpenGLFramebufferObjectFormat::samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) +{ + ( theWrappedObject->setAttachment(attachment)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) +{ + ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setMipmap(enabled)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples) +{ + ( theWrappedObject->setSamples(samples)); +} + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target) +{ + ( theWrappedObject->setTextureTarget(target)); +} + +GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->textureTarget()); +} + + + +PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QOpenGLPaintDevice::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLPaintDevice::devType(); +} +void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("ensureActiveTarget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLPaintDevice::ensureActiveTarget(); +} +void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLPaintDevice::initPainter(painter0); +} +int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLPaintDevice::metric(metric0); +} +QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLPaintDevice::paintEngine(); +} +QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLPaintDevice::redirected(offset0); +} +QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLPaintDevice::sharedPainter(); +} +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice() +{ +return new PythonQtShell_QOpenGLPaintDevice(); } + +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(const QSize& size) +{ +return new PythonQtShell_QOpenGLPaintDevice(size); } + +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(int width, int height) +{ +return new PythonQtShell_QOpenGLPaintDevice(width, height); } + +QOpenGLContext* PythonQtWrapper_QOpenGLPaintDevice::context(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterX()); +} + +qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterY()); +} + +void PythonQtWrapper_QOpenGLPaintDevice::ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject) +{ + ( theWrappedObject->ensureActiveTarget()); +} + +bool PythonQtWrapper_QOpenGLPaintDevice::paintFlipped(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->paintFlipped()); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio) +{ + ( theWrappedObject->setDevicePixelRatio(devicePixelRatio)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setDotsPerMeterX(arg__1)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setDotsPerMeterY(arg__1)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped) +{ + ( theWrappedObject->setPaintFlipped(flipped)); +} + +void PythonQtWrapper_QOpenGLPaintDevice::setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSize(size)); +} + +QSize PythonQtWrapper_QOpenGLPaintDevice::size(QOpenGLPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLShader::childEvent(event0); +} +void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLShader::customEvent(event0); +} +bool PythonQtShell_QOpenGLShader::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLShader::event(event0); +} +bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLShader::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLShader::timerEvent(event0); +} +QOpenGLShader* PythonQtWrapper_QOpenGLShader::new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent) +{ +return new PythonQtShell_QOpenGLShader(type, parent); } + +const QMetaObject* PythonQtShell_QOpenGLShader::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLShader::staticMetaObject); + } else { + return &QOpenGLShader::staticMetaObject; + } +} +int PythonQtShell_QOpenGLShader::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLShader::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const char* source) +{ + return ( theWrappedObject->compileSourceCode(source)); +} + +bool PythonQtWrapper_QOpenGLShader::compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->compileSourceFile(fileName)); +} + +bool PythonQtWrapper_QOpenGLShader::static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context) +{ + return (QOpenGLShader::hasOpenGLShaders(type, context)); +} + +bool PythonQtWrapper_QOpenGLShader::isCompiled(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->isCompiled()); +} + +QString PythonQtWrapper_QOpenGLShader::log(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +GLuint PythonQtWrapper_QOpenGLShader::shaderId(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderId()); +} + +QOpenGLShader::ShaderType PythonQtWrapper_QOpenGLShader::shaderType(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->shaderType()); +} + +QByteArray PythonQtWrapper_QOpenGLShader::sourceCode(QOpenGLShader* theWrappedObject) const +{ + return ( theWrappedObject->sourceCode()); +} + + + +PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLShaderProgram::childEvent(event0); +} +void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLShaderProgram::customEvent(event0); +} +bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLShaderProgram::event(event0); +} +bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLShaderProgram::eventFilter(watched0, event1); +} +bool PythonQtShell_QOpenGLShaderProgram::link() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("link"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLShaderProgram::link(); +} +void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLShaderProgram::timerEvent(event0); +} +QOpenGLShaderProgram* PythonQtWrapper_QOpenGLShaderProgram::new_QOpenGLShaderProgram(QObject* parent) +{ +return new PythonQtShell_QOpenGLShaderProgram(parent); } + +const QMetaObject* PythonQtShell_QOpenGLShaderProgram::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLShaderProgram::staticMetaObject); + } else { + return &QOpenGLShaderProgram::staticMetaObject; + } +} +int PythonQtShell_QOpenGLShaderProgram::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLShaderProgram::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) +{ + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) +{ + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) +{ + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) +{ + return ( theWrappedObject->addCacheableShaderFromSourceFile(type, fileName)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) +{ + return ( theWrappedObject->addShader(shader)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) +{ + return ( theWrappedObject->addShaderFromSourceCode(type, source)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) +{ + return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->attributeLocation(name)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::bind(QOpenGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location) +{ + ( theWrappedObject->bindAttributeLocation(name, location)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::create(QOpenGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +QVector PythonQtWrapper_QOpenGLShaderProgram::defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->defaultInnerTessellationLevels()); +} + +QVector PythonQtWrapper_QOpenGLShaderProgram::defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->defaultOuterTessellationLevels()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->disableAttributeArray(name)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->disableAttributeArray(location)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) +{ + ( theWrappedObject->enableAttributeArray(name)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) +{ + ( theWrappedObject->enableAttributeArray(location)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context) +{ + return (QOpenGLShaderProgram::hasOpenGLShaderPrograms(context)); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::isLinked(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->isLinked()); +} + +bool PythonQtWrapper_QOpenGLShaderProgram::link(QOpenGLShaderProgram* theWrappedObject) +{ + return ( theWrappedObject->link()); +} + +QString PythonQtWrapper_QOpenGLShaderProgram::log(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->log()); +} + +int PythonQtWrapper_QOpenGLShaderProgram::maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->maxGeometryOutputVertices()); +} + +int PythonQtWrapper_QOpenGLShaderProgram::patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->patchVertexCount()); +} + +GLuint PythonQtWrapper_QOpenGLShaderProgram::programId(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->programId()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::release(QOpenGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::removeAllShaders(QOpenGLShaderProgram* theWrappedObject) +{ + ( theWrappedObject->removeAllShaders()); +} + +void PythonQtWrapper_QOpenGLShaderProgram::removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) +{ + ( theWrappedObject->removeShader(shader)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(name, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) +{ + ( theWrappedObject->setAttributeArray(location, values, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) +{ + ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setAttributeValue(name, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setAttributeValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(name, values, columns, rows)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setAttributeValue(location, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setAttributeValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) +{ + ( theWrappedObject->setAttributeValue(location, values, columns, rows)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setAttributeValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) +{ + ( theWrappedObject->setDefaultInnerTessellationLevels(levels)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) +{ + ( theWrappedObject->setDefaultOuterTessellationLevels(levels)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count) +{ + ( theWrappedObject->setPatchVertexCount(count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setUniformValue(name, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(name, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setUniformValue(name, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color) +{ + ( theWrappedObject->setUniformValue(name, color)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(name, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(name, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +{ + ( theWrappedObject->setUniformValue(location, x, y)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(location, x, y, z)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + ( theWrappedObject->setUniformValue(location, x, y, z, w)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color) +{ + ( theWrappedObject->setUniformValue(location, color)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(location, point)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(location, size)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + +QList PythonQtWrapper_QOpenGLShaderProgram::shaders(QOpenGLShaderProgram* theWrappedObject) const +{ + return ( theWrappedObject->shaders()); +} + +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const +{ + return ( theWrappedObject->uniformLocation(name)); +} + + + +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::new_QOpenGLTexture(QOpenGLTexture::Target target) +{ +return new QOpenGLTexture(target); } + +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::new_QOpenGLTexture(const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) +{ +return new QOpenGLTexture(image, genMipMaps); } + +void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->allocateStorage()); +} + +void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) +{ + ( theWrappedObject->allocateStorage(pixelFormat, pixelType)); +} + +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->bind()); +} + +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +{ + ( theWrappedObject->bind(unit, reset)); +} + +QColor PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->borderColor()); +} + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, float* border) const +{ + ( theWrappedObject->borderColor(border)); +} + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, int* border) const +{ + ( theWrappedObject->borderColor(border)); +} + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const +{ + ( theWrappedObject->borderColor(border)); +} + +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target) +{ + return (QOpenGLTexture::boundTextureId(target)); +} + +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target) +{ + return (QOpenGLTexture::boundTextureId(unit, target)); +} + +QOpenGLTexture::ComparisonFunction PythonQtWrapper_QOpenGLTexture::comparisonFunction(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->comparisonFunction()); +} + +QOpenGLTexture::ComparisonMode PythonQtWrapper_QOpenGLTexture::comparisonMode(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->comparisonMode()); +} + +bool PythonQtWrapper_QOpenGLTexture::create(QOpenGLTexture* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const +{ + return ( theWrappedObject->createTextureView(target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer)); +} + +int PythonQtWrapper_QOpenGLTexture::depth(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +QOpenGLTexture::DepthStencilMode PythonQtWrapper_QOpenGLTexture::depthStencilMode(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->depthStencilMode()); +} + +void PythonQtWrapper_QOpenGLTexture::destroy(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +int PythonQtWrapper_QOpenGLTexture::faces(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->faces()); +} + +QOpenGLTexture::TextureFormat PythonQtWrapper_QOpenGLTexture::format(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->generateMipMaps()); +} + +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel) +{ + ( theWrappedObject->generateMipMaps(baseLevel, resetBaseLevel)); +} + +bool PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature) +{ + return (QOpenGLTexture::hasFeature(feature)); +} + +int PythonQtWrapper_QOpenGLTexture::height(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QOpenGLTexture::isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isAutoMipMapGenerationEnabled()); +} + +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isBound()); +} + +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject, uint unit) +{ + return ( theWrappedObject->isBound(unit)); +} + +bool PythonQtWrapper_QOpenGLTexture::isCreated(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +bool PythonQtWrapper_QOpenGLTexture::isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isFixedSamplePositions()); +} + +bool PythonQtWrapper_QOpenGLTexture::isStorageAllocated(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isStorageAllocated()); +} + +bool PythonQtWrapper_QOpenGLTexture::isTextureView(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isTextureView()); +} + +int PythonQtWrapper_QOpenGLTexture::layers(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->layers()); +} + +QPair PythonQtWrapper_QOpenGLTexture::levelOfDetailRange(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->levelOfDetailRange()); +} + +float PythonQtWrapper_QOpenGLTexture::levelofDetailBias(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->levelofDetailBias()); +} + +QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::magnificationFilter(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->magnificationFilter()); +} + +float PythonQtWrapper_QOpenGLTexture::maximumAnisotropy(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->maximumAnisotropy()); +} + +float PythonQtWrapper_QOpenGLTexture::maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->maximumLevelOfDetail()); +} + +int PythonQtWrapper_QOpenGLTexture::maximumMipLevels(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->maximumMipLevels()); +} + +QPair PythonQtWrapper_QOpenGLTexture::minMagFilters(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->minMagFilters()); +} + +QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::minificationFilter(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->minificationFilter()); +} + +float PythonQtWrapper_QOpenGLTexture::minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->minimumLevelOfDetail()); +} + +int PythonQtWrapper_QOpenGLTexture::mipBaseLevel(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipBaseLevel()); +} + +QPair PythonQtWrapper_QOpenGLTexture::mipLevelRange(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipLevelRange()); +} + +int PythonQtWrapper_QOpenGLTexture::mipLevels(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipLevels()); +} + +int PythonQtWrapper_QOpenGLTexture::mipMaxLevel(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipMaxLevel()); +} + +void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +{ + ( theWrappedObject->release(unit, reset)); +} + +int PythonQtWrapper_QOpenGLTexture::samples(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QOpenGLTexture::setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoMipMapGenerationEnabled(enabled)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, QColor color) +{ + ( theWrappedObject->setBorderColor(color)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function) +{ + ( theWrappedObject->setComparisonFunction(function)); +} + +void PythonQtWrapper_QOpenGLTexture::setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode) +{ + ( theWrappedObject->setComparisonMode(mode)); +} + +void PythonQtWrapper_QOpenGLTexture::setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) +{ + ( theWrappedObject->setData(image, genMipMaps)); +} + +void PythonQtWrapper_QOpenGLTexture::setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode) +{ + ( theWrappedObject->setDepthStencilMode(mode)); +} + +void PythonQtWrapper_QOpenGLTexture::setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed) +{ + ( theWrappedObject->setFixedSamplePositions(fixed)); +} + +void PythonQtWrapper_QOpenGLTexture::setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOpenGLTexture::setLayers(QOpenGLTexture* theWrappedObject, int layers) +{ + ( theWrappedObject->setLayers(layers)); +} + +void PythonQtWrapper_QOpenGLTexture::setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max) +{ + ( theWrappedObject->setLevelOfDetailRange(min, max)); +} + +void PythonQtWrapper_QOpenGLTexture::setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias) +{ + ( theWrappedObject->setLevelofDetailBias(bias)); +} + +void PythonQtWrapper_QOpenGLTexture::setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +{ + ( theWrappedObject->setMagnificationFilter(filter)); +} + +void PythonQtWrapper_QOpenGLTexture::setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy) +{ + ( theWrappedObject->setMaximumAnisotropy(anisotropy)); +} + +void PythonQtWrapper_QOpenGLTexture::setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +{ + ( theWrappedObject->setMaximumLevelOfDetail(value)); +} + +void PythonQtWrapper_QOpenGLTexture::setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter) +{ + ( theWrappedObject->setMinMagFilters(minificationFilter, magnificationFilter)); +} + +void PythonQtWrapper_QOpenGLTexture::setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +{ + ( theWrappedObject->setMinificationFilter(filter)); +} + +void PythonQtWrapper_QOpenGLTexture::setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +{ + ( theWrappedObject->setMinimumLevelOfDetail(value)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel) +{ + ( theWrappedObject->setMipBaseLevel(baseLevel)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel) +{ + ( theWrappedObject->setMipLevelRange(baseLevel, maxLevel)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipLevels(QOpenGLTexture* theWrappedObject, int levels) +{ + ( theWrappedObject->setMipLevels(levels)); +} + +void PythonQtWrapper_QOpenGLTexture::setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel) +{ + ( theWrappedObject->setMipMaxLevel(maxLevel)); +} + +void PythonQtWrapper_QOpenGLTexture::setSamples(QOpenGLTexture* theWrappedObject, int samples) +{ + ( theWrappedObject->setSamples(samples)); +} + +void PythonQtWrapper_QOpenGLTexture::setSize(QOpenGLTexture* theWrappedObject, int width, int height, int depth) +{ + ( theWrappedObject->setSize(width, height, depth)); +} + +void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value) +{ + ( theWrappedObject->setSwizzleMask(component, value)); +} + +void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a) +{ + ( theWrappedObject->setSwizzleMask(r, g, b, a)); +} + +void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode) +{ + ( theWrappedObject->setWrapMode(direction, mode)); +} + +void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode) +{ + ( theWrappedObject->setWrapMode(mode)); +} + +QOpenGLTexture::SwizzleValue PythonQtWrapper_QOpenGLTexture::swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const +{ + return ( theWrappedObject->swizzleMask(component)); +} + +QOpenGLTexture::Target PythonQtWrapper_QOpenGLTexture::target(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +GLuint PythonQtWrapper_QOpenGLTexture::textureId(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->textureId()); +} + +int PythonQtWrapper_QOpenGLTexture::width(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QOpenGLTexture::WrapMode PythonQtWrapper_QOpenGLTexture::wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const +{ + return ( theWrappedObject->wrapMode(direction)); +} + +QString PythonQtWrapper_QOpenGLTexture::py_toString(QOpenGLTexture* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QOpenGLTextureBlitter* PythonQtWrapper_QOpenGLTextureBlitter::new_QOpenGLTextureBlitter() +{ +return new QOpenGLTextureBlitter(); } + +void PythonQtWrapper_QOpenGLTextureBlitter::bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target) +{ + ( theWrappedObject->bind(target)); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin) +{ + ( theWrappedObject->blit(texture, targetTransform, sourceOrigin)); +} + +bool PythonQtWrapper_QOpenGLTextureBlitter::create(QOpenGLTextureBlitter* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::destroy(QOpenGLTextureBlitter* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLTextureBlitter::isCreated(QOpenGLTextureBlitter* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::release(QOpenGLTextureBlitter* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +void PythonQtWrapper_QOpenGLTextureBlitter::setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle) +{ + ( theWrappedObject->setRedBlueSwizzle(swizzle)); +} + +bool PythonQtWrapper_QOpenGLTextureBlitter::supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const +{ + return ( theWrappedObject->supportsExternalOESTarget()); +} + +QMatrix4x4 PythonQtWrapper_QOpenGLTextureBlitter::static_QOpenGLTextureBlitter_targetTransform(const QRectF& target, const QRect& viewport) +{ + return (QOpenGLTextureBlitter::targetTransform(target, viewport)); +} + + + +PythonQtShell_QOpenGLTimeMonitor::~PythonQtShell_QOpenGLTimeMonitor() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLTimeMonitor::childEvent(event0); +} +void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLTimeMonitor::customEvent(event0); +} +bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLTimeMonitor::event(event0); +} +bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLTimeMonitor::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLTimeMonitor::timerEvent(event0); +} +QOpenGLTimeMonitor* PythonQtWrapper_QOpenGLTimeMonitor::new_QOpenGLTimeMonitor(QObject* parent) +{ +return new PythonQtShell_QOpenGLTimeMonitor(parent); } + +const QMetaObject* PythonQtShell_QOpenGLTimeMonitor::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLTimeMonitor::staticMetaObject); + } else { + return &QOpenGLTimeMonitor::staticMetaObject; + } +} +int PythonQtShell_QOpenGLTimeMonitor::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLTimeMonitor::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QOpenGLTimeMonitor::create(QOpenGLTimeMonitor* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLTimeMonitor::destroy(QOpenGLTimeMonitor* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLTimeMonitor::isCreated(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +bool PythonQtWrapper_QOpenGLTimeMonitor::isResultAvailable(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->isResultAvailable()); +} + +QVector PythonQtWrapper_QOpenGLTimeMonitor::objectIds(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->objectIds()); +} + +int PythonQtWrapper_QOpenGLTimeMonitor::recordSample(QOpenGLTimeMonitor* theWrappedObject) +{ + return ( theWrappedObject->recordSample()); +} + +void PythonQtWrapper_QOpenGLTimeMonitor::reset(QOpenGLTimeMonitor* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +int PythonQtWrapper_QOpenGLTimeMonitor::sampleCount(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->sampleCount()); +} + +void PythonQtWrapper_QOpenGLTimeMonitor::setSampleCount(QOpenGLTimeMonitor* theWrappedObject, int sampleCount) +{ + ( theWrappedObject->setSampleCount(sampleCount)); +} + +QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForIntervals(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->waitForIntervals()); +} + +QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForSamples(QOpenGLTimeMonitor* theWrappedObject) const +{ + return ( theWrappedObject->waitForSamples()); +} + + + +PythonQtShell_QOpenGLTimerQuery::~PythonQtShell_QOpenGLTimerQuery() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLTimerQuery::childEvent(event0); +} +void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLTimerQuery::customEvent(event0); +} +bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLTimerQuery::event(event0); +} +bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLTimerQuery::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLTimerQuery::timerEvent(event0); +} +QOpenGLTimerQuery* PythonQtWrapper_QOpenGLTimerQuery::new_QOpenGLTimerQuery(QObject* parent) +{ +return new PythonQtShell_QOpenGLTimerQuery(parent); } + +const QMetaObject* PythonQtShell_QOpenGLTimerQuery::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLTimerQuery::staticMetaObject); + } else { + return &QOpenGLTimerQuery::staticMetaObject; + } +} +int PythonQtShell_QOpenGLTimerQuery::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLTimerQuery::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QOpenGLTimerQuery::begin(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->begin()); +} + +bool PythonQtWrapper_QOpenGLTimerQuery::create(QOpenGLTimerQuery* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLTimerQuery::destroy(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +void PythonQtWrapper_QOpenGLTimerQuery::end(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->end()); +} + +bool PythonQtWrapper_QOpenGLTimerQuery::isCreated(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +bool PythonQtWrapper_QOpenGLTimerQuery::isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->isResultAvailable()); +} + +GLuint PythonQtWrapper_QOpenGLTimerQuery::objectId(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->objectId()); +} + +void PythonQtWrapper_QOpenGLTimerQuery::recordTimestamp(QOpenGLTimerQuery* theWrappedObject) +{ + ( theWrappedObject->recordTimestamp()); +} + +GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForResult(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->waitForResult()); +} + +GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const +{ + return ( theWrappedObject->waitForTimestamp()); +} + + + +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile() +{ +return new QOpenGLVersionProfile(); } + +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other) +{ +return new QOpenGLVersionProfile(other); } + +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QSurfaceFormat& format) +{ +return new QOpenGLVersionProfile(format); } + +bool PythonQtWrapper_QOpenGLVersionProfile::hasProfiles(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->hasProfiles()); +} + +bool PythonQtWrapper_QOpenGLVersionProfile::isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->isLegacyVersion()); +} + +bool PythonQtWrapper_QOpenGLVersionProfile::isValid(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QOpenGLVersionProfile::__ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +{ + return &( (*theWrappedObject)= rhs); +} + +bool PythonQtWrapper_QOpenGLVersionProfile::__eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QOpenGLVersionProfile::profile(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->profile()); +} + +void PythonQtWrapper_QOpenGLVersionProfile::setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +{ + ( theWrappedObject->setProfile(profile)); +} + +void PythonQtWrapper_QOpenGLVersionProfile::setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion) +{ + ( theWrappedObject->setVersion(majorVersion, minorVersion)); +} + +QPair PythonQtWrapper_QOpenGLVersionProfile::version(QOpenGLVersionProfile* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QOpenGLVersionProfile::py_toString(QOpenGLVersionProfile* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QOpenGLVertexArrayObject::~PythonQtShell_QOpenGLVertexArrayObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLVertexArrayObject::childEvent(event0); +} +void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLVertexArrayObject::customEvent(event0); +} +bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLVertexArrayObject::event(event0); +} +bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLVertexArrayObject::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLVertexArrayObject::timerEvent(event0); +} +QOpenGLVertexArrayObject* PythonQtWrapper_QOpenGLVertexArrayObject::new_QOpenGLVertexArrayObject(QObject* parent) +{ +return new PythonQtShell_QOpenGLVertexArrayObject(parent); } + +const QMetaObject* PythonQtShell_QOpenGLVertexArrayObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLVertexArrayObject::staticMetaObject); + } else { + return &QOpenGLVertexArrayObject::staticMetaObject; + } +} +int PythonQtShell_QOpenGLVertexArrayObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLVertexArrayObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QOpenGLVertexArrayObject::bind(QOpenGLVertexArrayObject* theWrappedObject) +{ + ( theWrappedObject->bind()); +} + +bool PythonQtWrapper_QOpenGLVertexArrayObject::create(QOpenGLVertexArrayObject* theWrappedObject) +{ + return ( theWrappedObject->create()); +} + +void PythonQtWrapper_QOpenGLVertexArrayObject::destroy(QOpenGLVertexArrayObject* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +bool PythonQtWrapper_QOpenGLVertexArrayObject::isCreated(QOpenGLVertexArrayObject* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); +} + +GLuint PythonQtWrapper_QOpenGLVertexArrayObject::objectId(QOpenGLVertexArrayObject* theWrappedObject) const +{ + return ( theWrappedObject->objectId()); +} + +void PythonQtWrapper_QOpenGLVertexArrayObject::release(QOpenGLVertexArrayObject* theWrappedObject) +{ + ( theWrappedObject->release()); +} + + + +PythonQtShell_QOpenGLWidget::~PythonQtShell_QOpenGLWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::actionEvent(event0); +} +void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::changeEvent(arg__1); +} +void PythonQtShell_QOpenGLWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::childEvent(event0); +} +void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::closeEvent(event0); +} +void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::contextMenuEvent(event0); +} +void PythonQtShell_QOpenGLWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::customEvent(event0); +} +int PythonQtShell_QOpenGLWidget::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::devType(); +} +void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::dragEnterEvent(event0); +} +void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::dragMoveEvent(event0); +} +void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::dropEvent(event0); +} +void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::enterEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::event(e0); +} +bool PythonQtShell_QOpenGLWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::focusInEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::focusOutEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::hasHeightForWidth(); +} +int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::heightForWidth(arg__1); +} +void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::hideEvent(event0); +} +void PythonQtShell_QOpenGLWidget::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::initPainter(painter0); +} +void PythonQtShell_QOpenGLWidget::initializeGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::initializeGL(); +} +void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::keyPressEvent(event0); +} +void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::leaveEvent(event0); +} +int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::metric(metric0); +} +QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::minimumSizeHint(); +} +void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::mousePressEvent(event0); +} +void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::moveEvent(event0); +} +bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::paintEngine(); +} +void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::paintEvent(e0); +} +void PythonQtShell_QOpenGLWidget::paintGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::paintGL(); +} +QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::redirected(p0); +} +void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::resizeEvent(e0); +} +void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::resizeGL(w0, h1); +} +void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::sharedPainter(); +} +void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::showEvent(event0); +} +QSize PythonQtShell_QOpenGLWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWidget::sizeHint(); +} +void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::tabletEvent(event0); +} +void PythonQtShell_QOpenGLWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::timerEvent(event0); +} +void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWidget::wheelEvent(event0); +} +QOpenGLWidget* PythonQtWrapper_QOpenGLWidget::new_QOpenGLWidget(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QOpenGLWidget(parent, f); } + +const QMetaObject* PythonQtShell_QOpenGLWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWidget::staticMetaObject); + } else { + return &QOpenGLWidget::staticMetaObject; + } +} +int PythonQtShell_QOpenGLWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QOpenGLContext* PythonQtWrapper_QOpenGLWidget::context(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +GLuint PythonQtWrapper_QOpenGLWidget::defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->defaultFramebufferObject()); +} + +void PythonQtWrapper_QOpenGLWidget::doneCurrent(QOpenGLWidget* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +QSurfaceFormat PythonQtWrapper_QOpenGLWidget::format(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QImage PythonQtWrapper_QOpenGLWidget::grabFramebuffer(QOpenGLWidget* theWrappedObject) +{ + return ( theWrappedObject->grabFramebuffer()); +} + +void PythonQtWrapper_QOpenGLWidget::initializeGL(QOpenGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_initializeGL()); +} + +bool PythonQtWrapper_QOpenGLWidget::isValid(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QOpenGLWidget::makeCurrent(QOpenGLWidget* theWrappedObject) +{ + ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QOpenGLWidget::paintGL(QOpenGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_paintGL()); +} + +void PythonQtWrapper_QOpenGLWidget::resizeGL(QOpenGLWidget* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); +} + +void PythonQtWrapper_QOpenGLWidget::setFormat(QOpenGLWidget* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QOpenGLWidget::setTextureFormat(QOpenGLWidget* theWrappedObject, GLenum texFormat) +{ + ( theWrappedObject->setTextureFormat(texFormat)); +} + +void PythonQtWrapper_QOpenGLWidget::setUpdateBehavior(QOpenGLWidget* theWrappedObject, QOpenGLWidget::UpdateBehavior updateBehavior) +{ + ( theWrappedObject->setUpdateBehavior(updateBehavior)); +} + +GLenum PythonQtWrapper_QOpenGLWidget::textureFormat(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->textureFormat()); +} + +QOpenGLWidget::UpdateBehavior PythonQtWrapper_QOpenGLWidget::updateBehavior(QOpenGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->updateBehavior()); +} + + + +PythonQtShell_QOpenGLWindow::~PythonQtShell_QOpenGLWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QOpenGLWindow::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::childEvent(event0); +} +void PythonQtShell_QOpenGLWindow::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::customEvent(event0); +} +int PythonQtShell_QOpenGLWindow::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::devType(); +} +bool PythonQtShell_QOpenGLWindow::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::event(event0); +} +bool PythonQtShell_QOpenGLWindow::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QOpenGLWindow::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::exposeEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::focusInEvent(arg__1); +} +QObject* PythonQtShell_QOpenGLWindow::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::focusObject(); +} +void PythonQtShell_QOpenGLWindow::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QOpenGLWindow::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::format(); +} +void PythonQtShell_QOpenGLWindow::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::hideEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::initPainter(painter0); +} +void PythonQtShell_QOpenGLWindow::initializeGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::initializeGL(); +} +void PythonQtShell_QOpenGLWindow::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::keyPressEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::keyReleaseEvent(arg__1); +} +int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::metric(metric0); +} +void PythonQtShell_QOpenGLWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mouseMoveEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mousePressEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::moveEvent(arg__1); +} +bool PythonQtShell_QOpenGLWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::paintEvent(event0); +} +void PythonQtShell_QOpenGLWindow::paintGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::paintGL(); +} +void PythonQtShell_QOpenGLWindow::paintOverGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintOverGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::paintOverGL(); +} +void PythonQtShell_QOpenGLWindow::paintUnderGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintUnderGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::paintUnderGL(); +} +QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::redirected(arg__1); +} +void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::resizeEvent(event0); +} +void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::resizeGL(w0, h1); +} +QPainter* PythonQtShell_QOpenGLWindow::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::sharedPainter(); +} +void PythonQtShell_QOpenGLWindow::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::showEvent(arg__1); +} +QSize PythonQtShell_QOpenGLWindow::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::size(); +} +QSurface::SurfaceType PythonQtShell_QOpenGLWindow::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QOpenGLWindow::surfaceType(); +} +void PythonQtShell_QOpenGLWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::tabletEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::timerEvent(event0); +} +void PythonQtShell_QOpenGLWindow::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::touchEvent(arg__1); +} +void PythonQtShell_QOpenGLWindow::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QOpenGLWindow::wheelEvent(arg__1); +} +QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) +{ +return new PythonQtShell_QOpenGLWindow(shareContext, updateBehavior, parent); } + +QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) +{ +return new PythonQtShell_QOpenGLWindow(updateBehavior, parent); } + +const QMetaObject* PythonQtShell_QOpenGLWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWindow::staticMetaObject); + } else { + return &QOpenGLWindow::staticMetaObject; + } +} +int PythonQtShell_QOpenGLWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QOpenGLWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QOpenGLContext* PythonQtWrapper_QOpenGLWindow::context(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +GLuint PythonQtWrapper_QOpenGLWindow::defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->defaultFramebufferObject()); +} + +void PythonQtWrapper_QOpenGLWindow::doneCurrent(QOpenGLWindow* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +QImage PythonQtWrapper_QOpenGLWindow::grabFramebuffer(QOpenGLWindow* theWrappedObject) +{ + return ( theWrappedObject->grabFramebuffer()); +} + +void PythonQtWrapper_QOpenGLWindow::initializeGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_initializeGL()); +} + +bool PythonQtWrapper_QOpenGLWindow::isValid(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QOpenGLWindow::makeCurrent(QOpenGLWindow* theWrappedObject) +{ + ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QOpenGLWindow::paintGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintGL()); +} + +void PythonQtWrapper_QOpenGLWindow::paintOverGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintOverGL()); +} + +void PythonQtWrapper_QOpenGLWindow::paintUnderGL(QOpenGLWindow* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintUnderGL()); +} + +void PythonQtWrapper_QOpenGLWindow::resizeGL(QOpenGLWindow* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeGL(w, h)); +} + +QOpenGLContext* PythonQtWrapper_QOpenGLWindow::shareContext(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->shareContext()); +} + +QOpenGLWindow::UpdateBehavior PythonQtWrapper_QOpenGLWindow::updateBehavior(QOpenGLWindow* theWrappedObject) const +{ + return ( theWrappedObject->updateBehavior()); +} + + + +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout() +{ +return new QPageLayout(); } + +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageLayout& other) +{ +return new QPageLayout(other); } + +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units, const QMarginsF& minMargins) +{ +return new QPageLayout(pageSize, orientation, margins, units, minMargins); } + +QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->fullRect()); +} + +QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const +{ + return ( theWrappedObject->fullRect(units)); +} + +QRect PythonQtWrapper_QPageLayout::fullRectPixels(QPageLayout* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->fullRectPixels(resolution)); +} + +QRect PythonQtWrapper_QPageLayout::fullRectPoints(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->fullRectPoints()); +} + +bool PythonQtWrapper_QPageLayout::isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const +{ + return ( theWrappedObject->isEquivalentTo(other)); +} + +bool PythonQtWrapper_QPageLayout::isValid(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->margins()); +} + +QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const +{ + return ( theWrappedObject->margins(units)); +} + +QMargins PythonQtWrapper_QPageLayout::marginsPixels(QPageLayout* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->marginsPixels(resolution)); +} + +QMargins PythonQtWrapper_QPageLayout::marginsPoints(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->marginsPoints()); +} + +QMarginsF PythonQtWrapper_QPageLayout::maximumMargins(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->maximumMargins()); +} + +QMarginsF PythonQtWrapper_QPageLayout::minimumMargins(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->minimumMargins()); +} + +QPageLayout::Mode PythonQtWrapper_QPageLayout::mode(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->mode()); +} + +bool PythonQtWrapper_QPageLayout::__ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QPageLayout* PythonQtWrapper_QPageLayout::operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPageLayout::__eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QPageLayout::Orientation PythonQtWrapper_QPageLayout::orientation(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QPageSize PythonQtWrapper_QPageLayout::pageSize(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->paintRect()); +} + +QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const +{ + return ( theWrappedObject->paintRect(units)); +} + +QRect PythonQtWrapper_QPageLayout::paintRectPixels(QPageLayout* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->paintRectPixels(resolution)); +} + +QRect PythonQtWrapper_QPageLayout::paintRectPoints(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->paintRectPoints()); +} + +bool PythonQtWrapper_QPageLayout::setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin) +{ + return ( theWrappedObject->setBottomMargin(bottomMargin)); +} + +bool PythonQtWrapper_QPageLayout::setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin) +{ + return ( theWrappedObject->setLeftMargin(leftMargin)); +} + +bool PythonQtWrapper_QPageLayout::setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins) +{ + return ( theWrappedObject->setMargins(margins)); +} + +void PythonQtWrapper_QPageLayout::setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins) +{ + ( theWrappedObject->setMinimumMargins(minMargins)); +} + +void PythonQtWrapper_QPageLayout::setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode) +{ + ( theWrappedObject->setMode(mode)); +} + +void PythonQtWrapper_QPageLayout::setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QPageLayout::setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins) +{ + ( theWrappedObject->setPageSize(pageSize, minMargins)); +} + +bool PythonQtWrapper_QPageLayout::setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin) +{ + return ( theWrappedObject->setRightMargin(rightMargin)); +} + +bool PythonQtWrapper_QPageLayout::setTopMargin(QPageLayout* theWrappedObject, qreal topMargin) +{ + return ( theWrappedObject->setTopMargin(topMargin)); +} + +void PythonQtWrapper_QPageLayout::setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units) +{ + ( theWrappedObject->setUnits(units)); +} + +void PythonQtWrapper_QPageLayout::swap(QPageLayout* theWrappedObject, QPageLayout& other) +{ + ( theWrappedObject->swap(other)); +} + +QPageLayout::Unit PythonQtWrapper_QPageLayout::units(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->units()); +} + +QString PythonQtWrapper_QPageLayout::py_toString(QPageLayout* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.h similarity index 54% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.h index 2d348469..b3b5bd6d 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.h @@ -2,11 +2,9 @@ #include #include #include -#include #include #include #include -#include #include #include #include @@ -14,21 +12,39 @@ #include #include #include +#include +#include #include +#include #include -#include +#include +#include +#include #include +#include #include +#include #include #include +#include #include #include -#include +#include +#include +#include +#include +#include #include #include +#include +#include +#include +#include #include +#include #include #include +#include #include #include #include @@ -41,22 +57,34 @@ #include #include #include -#include -#include +#include +#include #include #include #include #include -#include -#include +#include +#include +#include #include #include +#include +#include +#include +#include +#include #include #include +#include #include +#include #include #include +#include +#include #include +#include +#include #include #include #include @@ -65,64 +93,891 @@ +class PythonQtShell_QMainWindow : public QMainWindow +{ +public: + PythonQtShell_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMainWindow(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QMainWindow() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +QMenu* createPopupMenu() override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMainWindow : public QMainWindow +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } +inline QMenu* py_q_createPopupMenu() { return QMainWindow::createPopupMenu(); } +inline bool py_q_event(QEvent* event) { return QMainWindow::event(event); } +}; + +class PythonQtWrapper_QMainWindow : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DockOption ) +Q_FLAGS(DockOptions ) +enum DockOption{ + AnimatedDocks = QMainWindow::AnimatedDocks, AllowNestedDocks = QMainWindow::AllowNestedDocks, AllowTabbedDocks = QMainWindow::AllowTabbedDocks, ForceTabbedDocks = QMainWindow::ForceTabbedDocks, VerticalTabs = QMainWindow::VerticalTabs, GroupedDragging = QMainWindow::GroupedDragging}; +Q_DECLARE_FLAGS(DockOptions, DockOption) +public slots: +QMainWindow* new_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QMainWindow(QMainWindow* obj) { delete obj; } + void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget); + void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation); + void addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); + void addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar); + QToolBar* addToolBar(QMainWindow* theWrappedObject, const QString& title); + void addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area = Qt::TopToolBarArea); + QWidget* centralWidget(QMainWindow* theWrappedObject) const; + void py_q_contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_contextMenuEvent(event));} + Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; + QMenu* createPopupMenu(QMainWindow* theWrappedObject); + QMenu* py_q_createPopupMenu(QMainWindow* theWrappedObject){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_createPopupMenu());} + QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; + Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; + bool documentMode(QMainWindow* theWrappedObject) const; + bool py_q_event(QMainWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_event(event));} + QSize iconSize(QMainWindow* theWrappedObject) const; + void insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar); + void insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); + bool isAnimated(QMainWindow* theWrappedObject) const; + bool isDockNestingEnabled(QMainWindow* theWrappedObject) const; + bool isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const; + QMenuBar* menuBar(QMainWindow* theWrappedObject) const; + QWidget* menuWidget(QMainWindow* theWrappedObject) const; + void removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); + void removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); + void removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); + void resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation); + bool restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); + bool restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version = 0); + QByteArray saveState(QMainWindow* theWrappedObject, int version = 0) const; + void setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget); + void setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area); + void setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options); + void setDocumentMode(QMainWindow* theWrappedObject, bool enabled); + void setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize); + void setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar); + void setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar); + void setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar); + void setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition); + void setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape); + void setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle); + void splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation); + QStatusBar* statusBar(QMainWindow* theWrappedObject) const; + QTabWidget::TabPosition tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const; + QTabWidget::TabShape tabShape(QMainWindow* theWrappedObject) const; + QList tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; + void tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second); + QWidget* takeCentralWidget(QMainWindow* theWrappedObject); + Qt::ToolBarArea toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const; + bool toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const; + Qt::ToolButtonStyle toolButtonStyle(QMainWindow* theWrappedObject) const; + bool unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QMargins : public QObject +{ Q_OBJECT +public: +public slots: +QMargins* new_QMargins(); +QMargins* new_QMargins(int left, int top, int right, int bottom); +QMargins* new_QMargins(const QMargins& other) { +QMargins* a = new QMargins(); +*((QMargins*)a) = other; +return a; } +void delete_QMargins(QMargins* obj) { delete obj; } + int bottom(QMargins* theWrappedObject) const; + bool isNull(QMargins* theWrappedObject) const; + int left(QMargins* theWrappedObject) const; + bool __ne__(QMargins* theWrappedObject, const QMargins& m2); + QMargins __mul__(QMargins* theWrappedObject, int factor); + QMargins __mul__(QMargins* theWrappedObject, qreal factor); + QMargins* __imul__(QMargins* theWrappedObject, int arg__1); + QMargins* __imul__(QMargins* theWrappedObject, qreal arg__1); + QMargins __add__(QMargins* theWrappedObject, const QMargins& m2); + QRect __add__(QMargins* theWrappedObject, const QRect& rectangle); + QMargins __add__(QMargins* theWrappedObject, int rhs); + QMargins* __iadd__(QMargins* theWrappedObject, const QMargins& margins); + QMargins* __iadd__(QMargins* theWrappedObject, int arg__1); + QMargins __sub__(QMargins* theWrappedObject, const QMargins& m2); + QMargins __sub__(QMargins* theWrappedObject, int rhs); + QMargins* __isub__(QMargins* theWrappedObject, const QMargins& margins); + QMargins* __isub__(QMargins* theWrappedObject, int arg__1); + QMargins __div__(QMargins* theWrappedObject, int divisor); + QMargins __div__(QMargins* theWrappedObject, qreal divisor); + QMargins* __idiv__(QMargins* theWrappedObject, int arg__1); + QMargins* __idiv__(QMargins* theWrappedObject, qreal arg__1); + void writeTo(QMargins* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMargins* theWrappedObject, const QMargins& m2); + void readFrom(QMargins* theWrappedObject, QDataStream& arg__1); + int right(QMargins* theWrappedObject) const; + void setBottom(QMargins* theWrappedObject, int bottom); + void setLeft(QMargins* theWrappedObject, int left); + void setRight(QMargins* theWrappedObject, int right); + void setTop(QMargins* theWrappedObject, int top); + int top(QMargins* theWrappedObject) const; + QString py_toString(QMargins*); + bool __nonzero__(QMargins* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QMdiArea : public QMdiArea +{ +public: + PythonQtShell_QMdiArea(QWidget* parent = nullptr):QMdiArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMdiArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* childEvent) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* paintEvent) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* resizeEvent) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* timerEvent) override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMdiArea : public QMdiArea +{ public: +inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_setupViewport(QWidget* viewport) { this->setupViewport(viewport); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } +inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } +inline void py_q_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); } +inline bool py_q_event(QEvent* event) { return QMdiArea::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); } +inline QSize py_q_minimumSizeHint() const { return QMdiArea::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); } +inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); } +inline void py_q_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); } +inline void py_q_setupViewport(QWidget* viewport) { QMdiArea::setupViewport(viewport); } +inline void py_q_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QMdiArea::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); } +inline bool py_q_viewportEvent(QEvent* event) { return QMdiArea::viewportEvent(event); } +}; + +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 = nullptr); +void delete_QMdiArea(QMdiArea* obj) { delete obj; } + QMdiArea::WindowOrder activationOrder(QMdiArea* theWrappedObject) const; + QMdiSubWindow* activeSubWindow(QMdiArea* theWrappedObject) const; + QMdiSubWindow* addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags = Qt::WindowFlags()); + QBrush background(QMdiArea* theWrappedObject) const; + void py_q_childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_childEvent(childEvent));} + QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const; + bool documentMode(QMdiArea* theWrappedObject) const; + bool py_q_event(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_eventFilter(object, event));} + QSize py_q_minimumSizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_paintEvent(paintEvent));} + void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget); + void py_q_resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} + void py_q_scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order); + void setBackground(QMdiArea* theWrappedObject, const QBrush& background); + void setDocumentMode(QMdiArea* theWrappedObject, bool enabled); + void setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on = true); + void setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position); + void setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape); + void setTabsClosable(QMdiArea* theWrappedObject, bool closable); + void setTabsMovable(QMdiArea* theWrappedObject, bool movable); + void setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode); + void py_q_setupViewport(QMdiArea* theWrappedObject, QWidget* viewport){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_setupViewport(viewport));} + void py_q_showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize py_q_sizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_sizeHint());} + QList subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; + QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const; + QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const; + bool tabsClosable(QMdiArea* theWrappedObject) const; + bool tabsMovable(QMdiArea* theWrappedObject) const; + bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const; + void py_q_timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_timerEvent(timerEvent));} + QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const; + bool py_q_viewportEvent(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_viewportEvent(event));} +}; + + + + + +class PythonQtShell_QMdiSubWindow : public QMdiSubWindow +{ +public: + PythonQtShell_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMdiSubWindow(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QMdiSubWindow() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* changeEvent) override; +void childEvent(QChildEvent* childEvent) override; +void closeEvent(QCloseEvent* closeEvent) override; +void contextMenuEvent(QContextMenuEvent* contextMenuEvent) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* focusInEvent) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* focusOutEvent) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* hideEvent) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* keyEvent) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* leaveEvent) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* mouseEvent) override; +void mouseMoveEvent(QMouseEvent* mouseEvent) override; +void mousePressEvent(QMouseEvent* mouseEvent) override; +void mouseReleaseEvent(QMouseEvent* mouseEvent) override; +void moveEvent(QMoveEvent* moveEvent) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* paintEvent) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* resizeEvent) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* timerEvent) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow +{ public: +inline void promoted_changeEvent(QEvent* changeEvent) { this->changeEvent(changeEvent); } +inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } +inline void promoted_closeEvent(QCloseEvent* closeEvent) { this->closeEvent(closeEvent); } +inline void promoted_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { this->contextMenuEvent(contextMenuEvent); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_focusInEvent(QFocusEvent* focusInEvent) { this->focusInEvent(focusInEvent); } +inline void promoted_focusOutEvent(QFocusEvent* focusOutEvent) { this->focusOutEvent(focusOutEvent); } +inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } +inline void promoted_keyPressEvent(QKeyEvent* keyEvent) { this->keyPressEvent(keyEvent); } +inline void promoted_leaveEvent(QEvent* leaveEvent) { this->leaveEvent(leaveEvent); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { this->mouseDoubleClickEvent(mouseEvent); } +inline void promoted_mouseMoveEvent(QMouseEvent* mouseEvent) { this->mouseMoveEvent(mouseEvent); } +inline void promoted_mousePressEvent(QMouseEvent* mouseEvent) { this->mousePressEvent(mouseEvent); } +inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } +inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } +inline void py_q_changeEvent(QEvent* changeEvent) { QMdiSubWindow::changeEvent(changeEvent); } +inline void py_q_childEvent(QChildEvent* childEvent) { QMdiSubWindow::childEvent(childEvent); } +inline void py_q_closeEvent(QCloseEvent* closeEvent) { QMdiSubWindow::closeEvent(closeEvent); } +inline void py_q_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { QMdiSubWindow::contextMenuEvent(contextMenuEvent); } +inline bool py_q_event(QEvent* event) { return QMdiSubWindow::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiSubWindow::eventFilter(object, event); } +inline void py_q_focusInEvent(QFocusEvent* focusInEvent) { QMdiSubWindow::focusInEvent(focusInEvent); } +inline void py_q_focusOutEvent(QFocusEvent* focusOutEvent) { QMdiSubWindow::focusOutEvent(focusOutEvent); } +inline void py_q_hideEvent(QHideEvent* hideEvent) { QMdiSubWindow::hideEvent(hideEvent); } +inline void py_q_keyPressEvent(QKeyEvent* keyEvent) { QMdiSubWindow::keyPressEvent(keyEvent); } +inline void py_q_leaveEvent(QEvent* leaveEvent) { QMdiSubWindow::leaveEvent(leaveEvent); } +inline QSize py_q_minimumSizeHint() const { return QMdiSubWindow::minimumSizeHint(); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); } +inline void py_q_mouseMoveEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseMoveEvent(mouseEvent); } +inline void py_q_mousePressEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mousePressEvent(mouseEvent); } +inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseReleaseEvent(mouseEvent); } +inline void py_q_moveEvent(QMoveEvent* moveEvent) { QMdiSubWindow::moveEvent(moveEvent); } +inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiSubWindow::paintEvent(paintEvent); } +inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiSubWindow::resizeEvent(resizeEvent); } +inline void py_q_showEvent(QShowEvent* showEvent) { QMdiSubWindow::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QMdiSubWindow::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiSubWindow::timerEvent(timerEvent); } +}; + +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 = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } + void py_q_changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_changeEvent(changeEvent));} + void py_q_childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_childEvent(childEvent));} + void py_q_closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_closeEvent(closeEvent));} + void py_q_contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_contextMenuEvent(contextMenuEvent));} + bool py_q_event(QMdiSubWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_eventFilter(object, event));} + void py_q_focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusInEvent(focusInEvent));} + void py_q_focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusOutEvent(focusOutEvent));} + void py_q_hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_hideEvent(hideEvent));} + bool isShaded(QMdiSubWindow* theWrappedObject) const; + void py_q_keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_keyPressEvent(keyEvent));} + int keyboardPageStep(QMdiSubWindow* theWrappedObject) const; + int keyboardSingleStep(QMdiSubWindow* theWrappedObject) const; + void py_q_leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_leaveEvent(leaveEvent));} + QWidget* maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const; + QWidget* maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const; + QMdiArea* mdiArea(QMdiSubWindow* theWrappedObject) const; + QSize minimumSizeHint(QMdiSubWindow* theWrappedObject) const; + QSize py_q_minimumSizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(mouseEvent));} + void py_q_mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseMoveEvent(mouseEvent));} + void py_q_mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mousePressEvent(mouseEvent));} + void py_q_mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} + void py_q_moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_moveEvent(moveEvent));} + void py_q_paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_paintEvent(paintEvent));} + void py_q_resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} + void setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step); + void setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step); + void setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on = true); + void setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu); + void setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget); + void py_q_showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize sizeHint(QMdiSubWindow* theWrappedObject) const; + QSize py_q_sizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_sizeHint());} + QMenu* systemMenu(QMdiSubWindow* theWrappedObject) const; + bool testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const; + void py_q_timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_timerEvent(timerEvent));} + QWidget* widget(QMdiSubWindow* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QMenu : public QMenu +{ +public: + PythonQtShell_QMenu(QWidget* parent = nullptr):QMenu(parent),_wrapper(nullptr) {}; + PythonQtShell_QMenu(const QString& title, QWidget* parent = nullptr):QMenu(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMenu() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* arg__1) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMenu : public QMenu +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline int promoted_columnCount() const { return this->columnCount(); } +inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QMenu::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QMenu::changeEvent(arg__1); } +inline void py_q_enterEvent(QEvent* arg__1) { QMenu::enterEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QMenu::event(arg__1); } +inline bool py_q_focusNextPrevChild(bool next) { return QMenu::focusNextPrevChild(next); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QMenu::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenu::keyPressEvent(arg__1); } +inline void py_q_leaveEvent(QEvent* arg__1) { QMenu::leaveEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenu::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenu::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenu::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenu::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QMenu::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenu::timerEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QMenu::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QMenu : public QObject +{ Q_OBJECT +public: +public slots: +QMenu* new_QMenu(QWidget* parent = nullptr); +QMenu* new_QMenu(const QString& title, QWidget* parent = nullptr); +void delete_QMenu(QMenu* obj) { delete obj; } + QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const; + void py_q_actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_actionEvent(arg__1));} + QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const; + QAction* activeAction(QMenu* theWrappedObject) const; + QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); + QAction* addAction(QMenu* theWrappedObject, const QString& text); + QAction* addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); + QAction* addMenu(QMenu* theWrappedObject, QMenu* menu); + QMenu* addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title); + QMenu* addMenu(QMenu* theWrappedObject, const QString& title); + QAction* addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addSection(QMenu* theWrappedObject, const QString& text); + QAction* addSeparator(QMenu* theWrappedObject); + void py_q_changeEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_changeEvent(arg__1));} + void clear(QMenu* theWrappedObject); + int columnCount(QMenu* theWrappedObject) const; + QAction* defaultAction(QMenu* theWrappedObject) const; + void py_q_enterEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_enterEvent(arg__1));} + bool py_q_event(QMenu* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_event(arg__1));} + QAction* exec(QMenu* theWrappedObject); + QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at = nullptr, QWidget* parent = nullptr); + QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); + bool py_q_focusNextPrevChild(QMenu* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_hideEvent(arg__1));} + void hideTearOffMenu(QMenu* theWrappedObject); + QIcon icon(QMenu* theWrappedObject) const; + void initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; + QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu); + QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text); + QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QString& text); + QAction* insertSeparator(QMenu* theWrappedObject, QAction* before); + bool isEmpty(QMenu* theWrappedObject) const; + bool isTearOffEnabled(QMenu* theWrappedObject) const; + bool isTearOffMenuVisible(QMenu* theWrappedObject) const; + void py_q_keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_leaveEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QAction* menuAction(QMenu* theWrappedObject) const; + void py_q_mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_paintEvent(arg__1));} + void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); + bool separatorsCollapsible(QMenu* theWrappedObject) const; + void setActiveAction(QMenu* theWrappedObject, QAction* act); + void setDefaultAction(QMenu* theWrappedObject, QAction* arg__1); + void setIcon(QMenu* theWrappedObject, const QIcon& icon); + void setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse); + void setTearOffEnabled(QMenu* theWrappedObject, bool arg__1); + void setTitle(QMenu* theWrappedObject, const QString& title); + void setToolTipsVisible(QMenu* theWrappedObject, bool visible); + void showTearOffMenu(QMenu* theWrappedObject); + void showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos); + QSize sizeHint(QMenu* theWrappedObject) const; + QSize py_q_sizeHint(QMenu* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_timerEvent(arg__1));} + QString title(QMenu* theWrappedObject) const; + bool toolTipsVisible(QMenu* theWrappedObject) const; + void py_q_wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_wheelEvent(arg__1));} + bool __nonzero__(QMenu* obj) { return !obj->isEmpty(); } + + QAction* addAction (QMenu* menu, const QString & text, PyObject* callable, const QKeySequence & shortcut = 0) { + QAction* a = menu->addAction(text); + a->setShortcut(shortcut); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + + QAction* addAction (QMenu* menu, const QIcon& icon, const QString& text, PyObject* callable, const QKeySequence& shortcut = 0) + { + QAction* a = menu->addAction(text); + a->setIcon(icon); + a->setShortcut(shortcut); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + +}; + + + + + +class PythonQtShell_QMenuBar : public QMenuBar +{ +public: + PythonQtShell_QMenuBar(QWidget* parent = nullptr):QMenuBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMenuBar() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMenuBar : public QMenuBar +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } +inline int py_q_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } +inline void py_q_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QMenuBar::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } +inline void py_q_setVisible(bool visible) { QMenuBar::setVisible(visible); } +inline QSize py_q_sizeHint() const { return QMenuBar::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QMenuBar : public QObject +{ Q_OBJECT +public: +public slots: +QMenuBar* new_QMenuBar(QWidget* parent = nullptr); +void delete_QMenuBar(QMenuBar* obj) { delete obj; } + QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; + void py_q_actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_actionEvent(arg__1));} + QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; + QAction* activeAction(QMenuBar* theWrappedObject) const; + QAction* addAction(QMenuBar* theWrappedObject, const QString& text); + QAction* addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); + QAction* addMenu(QMenuBar* theWrappedObject, QMenu* menu); + QMenu* addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title); + QMenu* addMenu(QMenuBar* theWrappedObject, const QString& title); + QAction* addSeparator(QMenuBar* theWrappedObject); + void py_q_changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_changeEvent(arg__1));} + void clear(QMenuBar* theWrappedObject); + QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; + bool py_q_event(QMenuBar* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + void py_q_focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusInEvent(arg__1));} + void py_q_focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + int py_q_heightForWidth(QMenuBar* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_heightForWidth(arg__1));} + void initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; + QAction* insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu); + QAction* insertSeparator(QMenuBar* theWrappedObject, QAction* before); + bool isDefaultUp(QMenuBar* theWrappedObject) const; + bool isNativeMenuBar(QMenuBar* theWrappedObject) const; + void py_q_keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QSize minimumSizeHint(QMenuBar* theWrappedObject) const; + QSize py_q_minimumSizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + void py_q_resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setActiveAction(QMenuBar* theWrappedObject, QAction* action); + void setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); + void setDefaultUp(QMenuBar* theWrappedObject, bool arg__1); + void setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar); + void py_q_setVisible(QMenuBar* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_setVisible(visible));} + QSize sizeHint(QMenuBar* theWrappedObject) const; + QSize py_q_sizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_timerEvent(arg__1));} + + QAction* addAction (QMenuBar* menu, const QString & text, PyObject* callable) + { + QAction* a = menu->addAction(text); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + +}; + + + + + class PythonQtShell_QMessageBox : public QMessageBox { public: - PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QMessageBox(QWidget* parent = nullptr):QMessageBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMessageBox(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QMessageBox(QWidget* parent = nullptr):QMessageBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMessageBox() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMessageBox : public QMessageBox @@ -154,7 +1009,7 @@ 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 = nullptr, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint); QMessageBox* new_QMessageBox(QWidget* parent = nullptr); -void delete_QMessageBox(QMessageBox* obj) { delete obj; } +void delete_QMessageBox(QMessageBox* obj) { delete obj; } void static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text); void static_QMessageBox_aboutQt(QWidget* parent, const QString& title = QString()); void addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role); @@ -214,15 +1069,15 @@ void delete_QMessageBox(QMessageBox* obj) { delete obj; } class PythonQtShell_QMouseEvent : public QMouseEvent { public: - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, screenPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source),_wrapper(NULL) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source),_wrapper(nullptr) {}; - ~PythonQtShell_QMouseEvent(); + ~PythonQtShell_QMouseEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMouseEvent : public QObject @@ -233,7 +1088,7 @@ QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::M QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source); -void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } +void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } Qt::MouseButton button(QMouseEvent* theWrappedObject) const; Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const; Qt::MouseEventFlags flags(QMouseEvent* theWrappedObject) const; @@ -257,18 +1112,22 @@ void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } class PythonQtShell_QMouseEventTransition : public QMouseEventTransition { public: - PythonQtShell_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr):QMouseEventTransition(object, type, button, sourceState),_wrapper(NULL) {}; - PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QMouseEventTransition(); - -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr):QMouseEventTransition(object, type, button, sourceState),_wrapper(nullptr) {}; + PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(nullptr) {}; + + ~PythonQtShell_QMouseEventTransition() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMouseEventTransition : public QMouseEventTransition @@ -285,7 +1144,7 @@ class PythonQtWrapper_QMouseEventTransition : public QObject public slots: QMouseEventTransition* new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr); QMouseEventTransition* new_QMouseEventTransition(QState* sourceState = nullptr); -void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } +void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } Qt::MouseButton button(QMouseEventTransition* theWrappedObject) const; bool py_q_eventTest(QMouseEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->py_q_eventTest(event));} QPainterPath hitTestPath(QMouseEventTransition* theWrappedObject) const; @@ -303,12 +1162,12 @@ void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } class PythonQtShell_QMoveEvent : public QMoveEvent { public: - PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(NULL) {}; + PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(nullptr) {}; - ~PythonQtShell_QMoveEvent(); + ~PythonQtShell_QMoveEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMoveEvent : public QObject @@ -316,7 +1175,7 @@ class PythonQtWrapper_QMoveEvent : public QObject public: public slots: QMoveEvent* new_QMoveEvent(const QPoint& pos, const QPoint& oldPos); -void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } +void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } const QPoint* oldPos(QMoveEvent* theWrappedObject) const; const QPoint* pos(QMoveEvent* theWrappedObject) const; }; @@ -328,16 +1187,21 @@ void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } class PythonQtShell_QMovie : public QMovie { public: - PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(device, format, parent),_wrapper(NULL) {}; - PythonQtShell_QMovie(QObject* parent = nullptr):QMovie(parent),_wrapper(NULL) {}; - PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(fileName, format, parent),_wrapper(NULL) {}; + PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(device, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QMovie(QObject* parent = nullptr):QMovie(parent),_wrapper(nullptr) {}; + PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(fileName, format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMovie(); + ~PythonQtShell_QMovie() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMovie : public QObject @@ -347,7 +1211,7 @@ public slots: QMovie* new_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr); QMovie* new_QMovie(QObject* parent = nullptr); QMovie* new_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr); -void delete_QMovie(QMovie* obj) { delete obj; } +void delete_QMovie(QMovie* obj) { delete obj; } QColor backgroundColor(QMovie* theWrappedObject) const; QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; int currentFrameNumber(QMovie* theWrappedObject) const; @@ -384,13 +1248,13 @@ void delete_QMovie(QMovie* obj) { delete obj; } class PythonQtShell_QNativeGestureEvent : public QNativeGestureEvent { public: - PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(NULL) {}; - PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(NULL) {}; + PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; + PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; - ~PythonQtShell_QNativeGestureEvent(); + ~PythonQtShell_QNativeGestureEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QNativeGestureEvent : public QObject @@ -399,7 +1263,7 @@ class PythonQtWrapper_QNativeGestureEvent : public QObject public slots: QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); -void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } +void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } const QTouchDevice* device(QNativeGestureEvent* theWrappedObject) const; Qt::NativeGestureType gestureType(QNativeGestureEvent* theWrappedObject) const; const QPoint globalPos(QNativeGestureEvent* theWrappedObject) const; @@ -417,17 +1281,23 @@ void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } class PythonQtShell_QOffscreenSurface : public QOffscreenSurface { public: - PythonQtShell_QOffscreenSurface():QOffscreenSurface(),_wrapper(NULL) {}; - - ~PythonQtShell_QOffscreenSurface(); - -virtual QSurfaceFormat format() const; -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QOffscreenSurface(QScreen* screen = nullptr):QOffscreenSurface(screen),_wrapper(nullptr) {}; + PythonQtShell_QOffscreenSurface(QScreen* screen, QObject* parent):QOffscreenSurface(screen, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOffscreenSurface() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QSurfaceFormat format() const override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOffscreenSurface : public QOffscreenSurface @@ -441,20 +1311,20 @@ class PythonQtWrapper_QOffscreenSurface : public QObject { Q_OBJECT public: public slots: -QOffscreenSurface* new_QOffscreenSurface(); -void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } +QOffscreenSurface* new_QOffscreenSurface(QScreen* screen = nullptr); +QOffscreenSurface* new_QOffscreenSurface(QScreen* screen, QObject* parent); +void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } void create(QOffscreenSurface* theWrappedObject); void destroy(QOffscreenSurface* theWrappedObject); - QSurfaceFormat format(QOffscreenSurface* theWrappedObject) const; QSurfaceFormat py_q_format(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_format());} bool isValid(QOffscreenSurface* theWrappedObject) const; void* nativeHandle(QOffscreenSurface* theWrappedObject) const; QSurfaceFormat requestedFormat(QOffscreenSurface* theWrappedObject) const; + QScreen* screen(QOffscreenSurface* theWrappedObject) const; void setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format); void setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle); - QSize size(QOffscreenSurface* theWrappedObject) const; + void setScreen(QOffscreenSurface* theWrappedObject, QScreen* screen); QSize py_q_size(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_size());} - QSurface::SurfaceType surfaceType(QOffscreenSurface* theWrappedObject) const; QSurface::SurfaceType py_q_surfaceType(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_surfaceType());} bool __nonzero__(QOffscreenSurface* obj) { return obj->isValid(); } }; @@ -479,7 +1349,7 @@ public slots: QOpenGLBuffer* new_QOpenGLBuffer(); QOpenGLBuffer* new_QOpenGLBuffer(QOpenGLBuffer::Type type); QOpenGLBuffer* new_QOpenGLBuffer(const QOpenGLBuffer& other); -void delete_QOpenGLBuffer(QOpenGLBuffer* obj) { delete obj; } +void delete_QOpenGLBuffer(QOpenGLBuffer* obj) { delete obj; } void allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count); void allocate(QOpenGLBuffer* theWrappedObject, int count); bool bind(QOpenGLBuffer* theWrappedObject); @@ -507,14 +1377,19 @@ void delete_QOpenGLBuffer(QOpenGLBuffer* obj) { delete obj; } class PythonQtShell_QOpenGLContext : public QOpenGLContext { public: - PythonQtShell_QOpenGLContext(QObject* parent = nullptr):QOpenGLContext(parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLContext(QObject* parent = nullptr):QOpenGLContext(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLContext(); + ~PythonQtShell_QOpenGLContext() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLContext : public QObject @@ -525,7 +1400,7 @@ enum OpenGLModuleType{ LibGL = QOpenGLContext::LibGL, LibGLES = QOpenGLContext::LibGLES}; public slots: QOpenGLContext* new_QOpenGLContext(QObject* parent = nullptr); -void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } +void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } bool static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second); bool create(QOpenGLContext* theWrappedObject); QOpenGLContext* static_QOpenGLContext_currentContext(); @@ -542,8 +1417,10 @@ void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } QVariant nativeHandle(QOpenGLContext* theWrappedObject) const; void* static_QOpenGLContext_openGLModuleHandle(); QOpenGLContext::OpenGLModuleType static_QOpenGLContext_openGLModuleType(); + QScreen* screen(QOpenGLContext* theWrappedObject) const; void setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format); void setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle); + void setScreen(QOpenGLContext* theWrappedObject, QScreen* screen); void setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext); QOpenGLContext* shareContext(QOpenGLContext* theWrappedObject) const; QOpenGLContextGroup* shareGroup(QOpenGLContext* theWrappedObject) const; @@ -562,7 +1439,7 @@ class PythonQtWrapper_QOpenGLContextGroup : public QObject { Q_OBJECT public: public slots: -void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } +void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } QOpenGLContextGroup* static_QOpenGLContextGroup_currentContextGroup(); QList shares(QOpenGLContextGroup* theWrappedObject) const; QString py_toString(QOpenGLContextGroup*); @@ -575,17 +1452,17 @@ void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } class PythonQtShell_QOpenGLFramebufferObject : public QOpenGLFramebufferObject { public: - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(size, target),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(size, attachment, target, internalFormat),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(size, format),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(width, height, target),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(width, height, attachment, target, internalFormat),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(width, height, format),_wrapper(NULL) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(size, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(size, attachment, target, internalFormat),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(size, format),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(width, height, attachment, target, internalFormat),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLFramebufferObject(); + ~PythonQtShell_QOpenGLFramebufferObject() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLFramebufferObject : public QObject @@ -603,7 +1480,7 @@ QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D); QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format); -void delete_QOpenGLFramebufferObject(QOpenGLFramebufferObject* obj) { delete obj; } +void delete_QOpenGLFramebufferObject(QOpenGLFramebufferObject* obj) { delete obj; } void addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat = 0); void addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat = 0); QOpenGLFramebufferObject::Attachment attachment(QOpenGLFramebufferObject* theWrappedObject) const; @@ -645,7 +1522,7 @@ class PythonQtWrapper_QOpenGLFramebufferObjectFormat : public QObject public slots: QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(); QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other); -void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) { delete obj; } +void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) { delete obj; } QOpenGLFramebufferObject::Attachment attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const; GLenum internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const; bool mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const; @@ -668,21 +1545,21 @@ void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) class PythonQtShell_QOpenGLPaintDevice : public QOpenGLPaintDevice { public: - PythonQtShell_QOpenGLPaintDevice():QOpenGLPaintDevice(),_wrapper(NULL) {}; - PythonQtShell_QOpenGLPaintDevice(const QSize& size):QOpenGLPaintDevice(size),_wrapper(NULL) {}; - PythonQtShell_QOpenGLPaintDevice(int width, int height):QOpenGLPaintDevice(width, height),_wrapper(NULL) {}; + PythonQtShell_QOpenGLPaintDevice():QOpenGLPaintDevice(),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLPaintDevice(const QSize& size):QOpenGLPaintDevice(size),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLPaintDevice(int width, int height):QOpenGLPaintDevice(width, height),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLPaintDevice(); + ~PythonQtShell_QOpenGLPaintDevice() override; -virtual int devType() const; -virtual void ensureActiveTarget(); -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void ensureActiveTarget() override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLPaintDevice : public QOpenGLPaintDevice @@ -701,7 +1578,7 @@ public slots: QOpenGLPaintDevice* new_QOpenGLPaintDevice(); QOpenGLPaintDevice* new_QOpenGLPaintDevice(const QSize& size); QOpenGLPaintDevice* new_QOpenGLPaintDevice(int width, int height); -void delete_QOpenGLPaintDevice(QOpenGLPaintDevice* obj) { delete obj; } +void delete_QOpenGLPaintDevice(QOpenGLPaintDevice* obj) { delete obj; } QOpenGLContext* context(QOpenGLPaintDevice* theWrappedObject) const; int py_q_devType(QOpenGLPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_devType());} qreal dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const; @@ -723,6 +1600,24 @@ void delete_QOpenGLPaintDevice(QOpenGLPaintDevice* obj) { delete obj; } +class PythonQtShell_QOpenGLShader : public QOpenGLShader +{ +public: + PythonQtShell_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr):QOpenGLShader(type, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLShader() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QOpenGLShader : public QObject { Q_OBJECT public: @@ -732,7 +1627,8 @@ enum ShaderTypeBit{ Vertex = QOpenGLShader::Vertex, Fragment = QOpenGLShader::Fragment, Geometry = QOpenGLShader::Geometry, TessellationControl = QOpenGLShader::TessellationControl, TessellationEvaluation = QOpenGLShader::TessellationEvaluation, Compute = QOpenGLShader::Compute}; Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) public slots: -void delete_QOpenGLShader(QOpenGLShader* obj) { delete obj; } +QOpenGLShader* new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr); +void delete_QOpenGLShader(QOpenGLShader* obj) { delete obj; } bool compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source); bool compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source); bool compileSourceCode(QOpenGLShader* theWrappedObject, const char* source); @@ -752,15 +1648,20 @@ void delete_QOpenGLShader(QOpenGLShader* obj) { delete obj; } class PythonQtShell_QOpenGLShaderProgram : public QOpenGLShaderProgram { public: - PythonQtShell_QOpenGLShaderProgram(QObject* parent = nullptr):QOpenGLShaderProgram(parent),_wrapper(NULL) {}; + PythonQtShell_QOpenGLShaderProgram(QObject* parent = nullptr):QOpenGLShaderProgram(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QOpenGLShaderProgram(); + ~PythonQtShell_QOpenGLShaderProgram() override; -virtual bool link(); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool link() override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLShaderProgram : public QOpenGLShaderProgram @@ -773,7 +1674,7 @@ class PythonQtWrapper_QOpenGLShaderProgram : public QObject public: public slots: QOpenGLShaderProgram* new_QOpenGLShaderProgram(QObject* parent = nullptr); -void delete_QOpenGLShaderProgram(QOpenGLShaderProgram* obj) { delete obj; } +void delete_QOpenGLShaderProgram(QOpenGLShaderProgram* obj) { delete obj; } bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source); bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source); bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source); @@ -940,7 +1841,9 @@ enum WrapMode{ Repeat = QOpenGLTexture::Repeat, MirroredRepeat = QOpenGLTexture::MirroredRepeat, ClampToEdge = QOpenGLTexture::ClampToEdge, ClampToBorder = QOpenGLTexture::ClampToBorder}; Q_DECLARE_FLAGS(Features, Feature) public slots: -void delete_QOpenGLTexture(QOpenGLTexture* obj) { delete obj; } +QOpenGLTexture* new_QOpenGLTexture(QOpenGLTexture::Target target); +QOpenGLTexture* new_QOpenGLTexture(const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps = QOpenGLTexture::GenerateMipMaps); +void delete_QOpenGLTexture(QOpenGLTexture* obj) { delete obj; } void allocateStorage(QOpenGLTexture* theWrappedObject); void allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType); void bind(QOpenGLTexture* theWrappedObject); @@ -1037,7 +1940,8 @@ Q_ENUMS(Origin ) enum Origin{ OriginBottomLeft = QOpenGLTextureBlitter::OriginBottomLeft, OriginTopLeft = QOpenGLTextureBlitter::OriginTopLeft}; public slots: -void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } +QOpenGLTextureBlitter* new_QOpenGLTextureBlitter(); +void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } void bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target = GL_TEXTURE_2D); void blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin); bool create(QOpenGLTextureBlitter* theWrappedObject); @@ -1054,11 +1958,30 @@ void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } +class PythonQtShell_QOpenGLTimeMonitor : public QOpenGLTimeMonitor +{ +public: + PythonQtShell_QOpenGLTimeMonitor(QObject* parent = nullptr):QOpenGLTimeMonitor(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLTimeMonitor() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QOpenGLTimeMonitor : public QObject { Q_OBJECT public: public slots: -void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } +QOpenGLTimeMonitor* new_QOpenGLTimeMonitor(QObject* parent = nullptr); +void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } bool create(QOpenGLTimeMonitor* theWrappedObject); void destroy(QOpenGLTimeMonitor* theWrappedObject); bool isCreated(QOpenGLTimeMonitor* theWrappedObject) const; @@ -1076,11 +1999,30 @@ void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } +class PythonQtShell_QOpenGLTimerQuery : public QOpenGLTimerQuery +{ +public: + PythonQtShell_QOpenGLTimerQuery(QObject* parent = nullptr):QOpenGLTimerQuery(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLTimerQuery() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QOpenGLTimerQuery : public QObject { Q_OBJECT public: public slots: -void delete_QOpenGLTimerQuery(QOpenGLTimerQuery* obj) { delete obj; } +QOpenGLTimerQuery* new_QOpenGLTimerQuery(QObject* parent = nullptr); +void delete_QOpenGLTimerQuery(QOpenGLTimerQuery* obj) { delete obj; } void begin(QOpenGLTimerQuery* theWrappedObject); bool create(QOpenGLTimerQuery* theWrappedObject); void destroy(QOpenGLTimerQuery* theWrappedObject); @@ -1104,10 +2046,11 @@ public slots: QOpenGLVersionProfile* new_QOpenGLVersionProfile(); QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other); QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QSurfaceFormat& format); -void delete_QOpenGLVersionProfile(QOpenGLVersionProfile* obj) { delete obj; } +void delete_QOpenGLVersionProfile(QOpenGLVersionProfile* obj) { delete obj; } bool hasProfiles(QOpenGLVersionProfile* theWrappedObject) const; bool isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const; bool isValid(QOpenGLVersionProfile* theWrappedObject) const; + bool __ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); QOpenGLVersionProfile* operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); bool __eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); QSurfaceFormat::OpenGLContextProfile profile(QOpenGLVersionProfile* theWrappedObject) const; @@ -1122,11 +2065,30 @@ void delete_QOpenGLVersionProfile(QOpenGLVersionProfile* obj) { delete obj; } +class PythonQtShell_QOpenGLVertexArrayObject : public QOpenGLVertexArrayObject +{ +public: + PythonQtShell_QOpenGLVertexArrayObject(QObject* parent = nullptr):QOpenGLVertexArrayObject(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLVertexArrayObject() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QOpenGLVertexArrayObject : public QObject { Q_OBJECT public: public slots: -void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj; } +QOpenGLVertexArrayObject* new_QOpenGLVertexArrayObject(QObject* parent = nullptr); +void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj; } void bind(QOpenGLVertexArrayObject* theWrappedObject); bool create(QOpenGLVertexArrayObject* theWrappedObject); void destroy(QOpenGLVertexArrayObject* theWrappedObject); @@ -1142,58 +2104,62 @@ void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj class PythonQtShell_QOpenGLWidget : public QOpenGLWidget { public: - PythonQtShell_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QOpenGLWidget(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QOpenGLWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializeGL(); -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintGL(); -virtual QPaintDevice* redirected(QPoint* p) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void resizeGL(int w, int h); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QOpenGLWidget(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializeGL() override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +void paintGL() override; +QPaintDevice* redirected(QPoint* p) const override; +void resizeEvent(QResizeEvent* e) override; +void resizeGL(int w, int h) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLWidget : public QOpenGLWidget @@ -1226,7 +2192,7 @@ enum UpdateBehavior{ NoPartialUpdate = QOpenGLWidget::NoPartialUpdate, PartialUpdate = QOpenGLWidget::PartialUpdate}; public slots: QOpenGLWidget* new_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QOpenGLWidget(QOpenGLWidget* obj) { delete obj; } +void delete_QOpenGLWidget(QOpenGLWidget* obj) { delete obj; } QOpenGLContext* context(QOpenGLWidget* theWrappedObject) const; GLuint defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const; void doneCurrent(QOpenGLWidget* theWrappedObject); @@ -1261,24 +2227,52 @@ void delete_QOpenGLWidget(QOpenGLWidget* obj) { delete obj; } class PythonQtShell_QOpenGLWindow : public QOpenGLWindow { public: - PythonQtShell_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(shareContext, updateBehavior, parent),_wrapper(NULL) {}; - PythonQtShell_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(updateBehavior, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QOpenGLWindow(); - -virtual void initializeGL(); -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual void paintEvent(QPaintEvent* event); -virtual void paintGL(); -virtual void paintOverGL(); -virtual void paintUnderGL(); -virtual QPaintDevice* redirected(QPoint* arg__1) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void resizeGL(int w, int h); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(shareContext, updateBehavior, parent),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(updateBehavior, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void initializeGL() override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintEvent(QPaintEvent* event) override; +void paintGL() override; +void paintOverGL() override; +void paintUnderGL() override; +QPaintDevice* redirected(QPoint* arg__1) const override; +void resizeEvent(QResizeEvent* event) override; +void resizeGL(int w, int h) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLWindow : public QOpenGLWindow @@ -1312,7 +2306,7 @@ enum UpdateBehavior{ public slots: QOpenGLWindow* new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr); QOpenGLWindow* new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr); -void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } +void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } QOpenGLContext* context(QOpenGLWindow* theWrappedObject) const; GLuint defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const; void doneCurrent(QOpenGLWindow* theWrappedObject); @@ -1321,9 +2315,7 @@ void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } void py_q_initializeGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_initializeGL());} bool isValid(QOpenGLWindow* theWrappedObject) const; void makeCurrent(QOpenGLWindow* theWrappedObject); - int metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; int py_q_metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_metric(metric));} - void paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event); void py_q_paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintEvent(event));} void paintGL(QOpenGLWindow* theWrappedObject); void py_q_paintGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintGL());} @@ -1331,9 +2323,7 @@ void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } void py_q_paintOverGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintOverGL());} void paintUnderGL(QOpenGLWindow* theWrappedObject); void py_q_paintUnderGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintUnderGL());} - QPaintDevice* redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const; QPaintDevice* py_q_redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_redirected(arg__1));} - void resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event); void py_q_resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_resizeEvent(event));} void resizeGL(QOpenGLWindow* theWrappedObject, int w, int h); void py_q_resizeGL(QOpenGLWindow* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_resizeGL(w, h));} @@ -1346,457 +2336,57 @@ void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } -class PythonQtShell_QPageSetupDialog : public QPageSetupDialog -{ -public: - PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr):QPageSetupDialog(printer, parent),_wrapper(NULL) {}; - PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPageSetupDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPageSetupDialog : public QPageSetupDialog -{ public: -inline void py_q_done(int result) { QPageSetupDialog::done(result); } -inline int py_q_exec() { return QPageSetupDialog::exec(); } -}; - -class PythonQtWrapper_QPageSetupDialog : public QObject -{ Q_OBJECT -public: -public slots: -QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr); -QPageSetupDialog* new_QPageSetupDialog(QWidget* parent = nullptr); -void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } - void py_q_done(QPageSetupDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_done(result));} - int py_q_exec(QPageSetupDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_exec());} - void open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member); - QPrinter* printer(QPageSetupDialog* theWrappedObject); -}; - - - - - -class PythonQtShell_QPagedPaintDevice : public QPagedPaintDevice -{ -public: - PythonQtShell_QPagedPaintDevice():QPagedPaintDevice(),_wrapper(NULL) {}; - - ~PythonQtShell_QPagedPaintDevice(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void setMargins(const QPagedPaintDevice::Margins& margins); -virtual void setPageSize(QPagedPaintDevice::PageSize size); -virtual void setPageSizeMM(const QSizeF& size); -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPagedPaintDevice : public QPagedPaintDevice -{ public: -inline QPageLayout& promoted_devicePageLayout() { return this->devicePageLayout(); } -inline bool py_q_newPage() { return this->newPage(); } -inline void py_q_setMargins(const QPagedPaintDevice::Margins& margins) { QPagedPaintDevice::setMargins(margins); } -inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPagedPaintDevice::setPageSize(size); } -inline void py_q_setPageSizeMM(const QSizeF& size) { QPagedPaintDevice::setPageSizeMM(size); } -}; - -class PythonQtWrapper_QPagedPaintDevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PageSize PdfVersion ) -enum PageSize{ - A4 = QPagedPaintDevice::A4, B5 = QPagedPaintDevice::B5, Letter = QPagedPaintDevice::Letter, Legal = QPagedPaintDevice::Legal, Executive = QPagedPaintDevice::Executive, A0 = QPagedPaintDevice::A0, A1 = QPagedPaintDevice::A1, A2 = QPagedPaintDevice::A2, A3 = QPagedPaintDevice::A3, A5 = QPagedPaintDevice::A5, A6 = QPagedPaintDevice::A6, A7 = QPagedPaintDevice::A7, A8 = QPagedPaintDevice::A8, A9 = QPagedPaintDevice::A9, B0 = QPagedPaintDevice::B0, B1 = QPagedPaintDevice::B1, B10 = QPagedPaintDevice::B10, B2 = QPagedPaintDevice::B2, B3 = QPagedPaintDevice::B3, B4 = QPagedPaintDevice::B4, B6 = QPagedPaintDevice::B6, B7 = QPagedPaintDevice::B7, B8 = QPagedPaintDevice::B8, B9 = QPagedPaintDevice::B9, C5E = QPagedPaintDevice::C5E, Comm10E = QPagedPaintDevice::Comm10E, DLE = QPagedPaintDevice::DLE, Folio = QPagedPaintDevice::Folio, Ledger = QPagedPaintDevice::Ledger, Tabloid = QPagedPaintDevice::Tabloid, Custom = QPagedPaintDevice::Custom, A10 = QPagedPaintDevice::A10, A3Extra = QPagedPaintDevice::A3Extra, A4Extra = QPagedPaintDevice::A4Extra, A4Plus = QPagedPaintDevice::A4Plus, A4Small = QPagedPaintDevice::A4Small, A5Extra = QPagedPaintDevice::A5Extra, B5Extra = QPagedPaintDevice::B5Extra, JisB0 = QPagedPaintDevice::JisB0, JisB1 = QPagedPaintDevice::JisB1, JisB2 = QPagedPaintDevice::JisB2, JisB3 = QPagedPaintDevice::JisB3, JisB4 = QPagedPaintDevice::JisB4, JisB5 = QPagedPaintDevice::JisB5, JisB6 = QPagedPaintDevice::JisB6, JisB7 = QPagedPaintDevice::JisB7, JisB8 = QPagedPaintDevice::JisB8, JisB9 = QPagedPaintDevice::JisB9, JisB10 = QPagedPaintDevice::JisB10, AnsiC = QPagedPaintDevice::AnsiC, AnsiD = QPagedPaintDevice::AnsiD, AnsiE = QPagedPaintDevice::AnsiE, LegalExtra = QPagedPaintDevice::LegalExtra, LetterExtra = QPagedPaintDevice::LetterExtra, LetterPlus = QPagedPaintDevice::LetterPlus, LetterSmall = QPagedPaintDevice::LetterSmall, TabloidExtra = QPagedPaintDevice::TabloidExtra, ArchA = QPagedPaintDevice::ArchA, ArchB = QPagedPaintDevice::ArchB, ArchC = QPagedPaintDevice::ArchC, ArchD = QPagedPaintDevice::ArchD, ArchE = QPagedPaintDevice::ArchE, Imperial7x9 = QPagedPaintDevice::Imperial7x9, Imperial8x10 = QPagedPaintDevice::Imperial8x10, Imperial9x11 = QPagedPaintDevice::Imperial9x11, Imperial9x12 = QPagedPaintDevice::Imperial9x12, Imperial10x11 = QPagedPaintDevice::Imperial10x11, Imperial10x13 = QPagedPaintDevice::Imperial10x13, Imperial10x14 = QPagedPaintDevice::Imperial10x14, Imperial12x11 = QPagedPaintDevice::Imperial12x11, Imperial15x11 = QPagedPaintDevice::Imperial15x11, ExecutiveStandard = QPagedPaintDevice::ExecutiveStandard, Note = QPagedPaintDevice::Note, Quarto = QPagedPaintDevice::Quarto, Statement = QPagedPaintDevice::Statement, SuperA = QPagedPaintDevice::SuperA, SuperB = QPagedPaintDevice::SuperB, Postcard = QPagedPaintDevice::Postcard, DoublePostcard = QPagedPaintDevice::DoublePostcard, Prc16K = QPagedPaintDevice::Prc16K, Prc32K = QPagedPaintDevice::Prc32K, Prc32KBig = QPagedPaintDevice::Prc32KBig, FanFoldUS = QPagedPaintDevice::FanFoldUS, FanFoldGerman = QPagedPaintDevice::FanFoldGerman, FanFoldGermanLegal = QPagedPaintDevice::FanFoldGermanLegal, EnvelopeB4 = QPagedPaintDevice::EnvelopeB4, EnvelopeB5 = QPagedPaintDevice::EnvelopeB5, EnvelopeB6 = QPagedPaintDevice::EnvelopeB6, EnvelopeC0 = QPagedPaintDevice::EnvelopeC0, EnvelopeC1 = QPagedPaintDevice::EnvelopeC1, EnvelopeC2 = QPagedPaintDevice::EnvelopeC2, EnvelopeC3 = QPagedPaintDevice::EnvelopeC3, EnvelopeC4 = QPagedPaintDevice::EnvelopeC4, EnvelopeC6 = QPagedPaintDevice::EnvelopeC6, EnvelopeC65 = QPagedPaintDevice::EnvelopeC65, EnvelopeC7 = QPagedPaintDevice::EnvelopeC7, Envelope9 = QPagedPaintDevice::Envelope9, Envelope11 = QPagedPaintDevice::Envelope11, Envelope12 = QPagedPaintDevice::Envelope12, Envelope14 = QPagedPaintDevice::Envelope14, EnvelopeMonarch = QPagedPaintDevice::EnvelopeMonarch, EnvelopePersonal = QPagedPaintDevice::EnvelopePersonal, EnvelopeChou3 = QPagedPaintDevice::EnvelopeChou3, EnvelopeChou4 = QPagedPaintDevice::EnvelopeChou4, EnvelopeInvite = QPagedPaintDevice::EnvelopeInvite, EnvelopeItalian = QPagedPaintDevice::EnvelopeItalian, EnvelopeKaku2 = QPagedPaintDevice::EnvelopeKaku2, EnvelopeKaku3 = QPagedPaintDevice::EnvelopeKaku3, EnvelopePrc1 = QPagedPaintDevice::EnvelopePrc1, EnvelopePrc2 = QPagedPaintDevice::EnvelopePrc2, EnvelopePrc3 = QPagedPaintDevice::EnvelopePrc3, EnvelopePrc4 = QPagedPaintDevice::EnvelopePrc4, EnvelopePrc5 = QPagedPaintDevice::EnvelopePrc5, EnvelopePrc6 = QPagedPaintDevice::EnvelopePrc6, EnvelopePrc7 = QPagedPaintDevice::EnvelopePrc7, EnvelopePrc8 = QPagedPaintDevice::EnvelopePrc8, EnvelopePrc9 = QPagedPaintDevice::EnvelopePrc9, EnvelopePrc10 = QPagedPaintDevice::EnvelopePrc10, EnvelopeYou4 = QPagedPaintDevice::EnvelopeYou4, LastPageSize = QPagedPaintDevice::LastPageSize, NPageSize = QPagedPaintDevice::NPageSize, NPaperSize = QPagedPaintDevice::NPaperSize, AnsiA = QPagedPaintDevice::AnsiA, AnsiB = QPagedPaintDevice::AnsiB, EnvelopeC5 = QPagedPaintDevice::EnvelopeC5, EnvelopeDL = QPagedPaintDevice::EnvelopeDL, Envelope10 = QPagedPaintDevice::Envelope10}; -enum PdfVersion{ - PdfVersion_1_4 = QPagedPaintDevice::PdfVersion_1_4, PdfVersion_A1b = QPagedPaintDevice::PdfVersion_A1b, PdfVersion_1_6 = QPagedPaintDevice::PdfVersion_1_6}; -public slots: -QPagedPaintDevice* new_QPagedPaintDevice(); -void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } - QPageLayout* devicePageLayout(QPagedPaintDevice* theWrappedObject); - QPagedPaintDevice::Margins margins(QPagedPaintDevice* theWrappedObject) const; - bool newPage(QPagedPaintDevice* theWrappedObject); - bool py_q_newPage(QPagedPaintDevice* theWrappedObject){ return (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_newPage());} - QPageLayout pageLayout(QPagedPaintDevice* theWrappedObject) const; - QPagedPaintDevice::PageSize pageSize(QPagedPaintDevice* theWrappedObject) const; - QSizeF pageSizeMM(QPagedPaintDevice* theWrappedObject) const; - void setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins); - void py_q_setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setMargins(margins));} - bool setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout); - bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins); - bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units); - bool setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation); - void setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size); - void py_q_setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSize(size));} - bool setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize); - void setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size); - void py_q_setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSizeMM(size));} -}; - - - - - -class PythonQtShell_QPagedPaintDevice__Margins : public QPagedPaintDevice::Margins -{ -public: - PythonQtShell_QPagedPaintDevice__Margins():QPagedPaintDevice::Margins(),_wrapper(NULL) {}; - - ~PythonQtShell_QPagedPaintDevice__Margins(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPagedPaintDevice__Margins : public QObject -{ Q_OBJECT -public: -public slots: -QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(); -QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(const QPagedPaintDevice::Margins& other) { -PythonQtShell_QPagedPaintDevice__Margins* a = new PythonQtShell_QPagedPaintDevice__Margins(); -*((QPagedPaintDevice::Margins*)a) = other; -return a; } -void delete_QPagedPaintDevice__Margins(QPagedPaintDevice::Margins* obj) { delete obj; } -void py_set_bottom(QPagedPaintDevice::Margins* theWrappedObject, qreal bottom){ theWrappedObject->bottom = bottom; } -qreal py_get_bottom(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->bottom; } -void py_set_left(QPagedPaintDevice::Margins* theWrappedObject, qreal left){ theWrappedObject->left = left; } -qreal py_get_left(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->left; } -void py_set_right(QPagedPaintDevice::Margins* theWrappedObject, qreal right){ theWrappedObject->right = right; } -qreal py_get_right(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->right; } -void py_set_top(QPagedPaintDevice::Margins* theWrappedObject, qreal top){ theWrappedObject->top = top; } -qreal py_get_top(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->top; } -}; - - - - - -class PythonQtShell_QPaintDevice : public QPaintDevice -{ -public: - PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(NULL) {}; - - ~PythonQtShell_QPaintDevice(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice -{ public: -inline void promoted_initPainter(QPainter* painter) const { this->initPainter(painter); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline QPaintDevice* promoted_redirected(QPoint* offset) const { return this->redirected(offset); } -inline QPainter* promoted_sharedPainter() const { return this->sharedPainter(); } -inline int py_q_devType() const { return QPaintDevice::devType(); } -inline void py_q_initPainter(QPainter* painter) const { QPaintDevice::initPainter(painter); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); } -inline QPaintEngine* py_q_paintEngine() const { return this->paintEngine(); } -inline QPaintDevice* py_q_redirected(QPoint* offset) const { return QPaintDevice::redirected(offset); } -inline QPainter* py_q_sharedPainter() const { return QPaintDevice::sharedPainter(); } -}; - -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, PdmDevicePixelRatio = QPaintDevice::PdmDevicePixelRatio, PdmDevicePixelRatioScaled = QPaintDevice::PdmDevicePixelRatioScaled}; -public slots: -QPaintDevice* new_QPaintDevice(); -void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } - int colorCount(QPaintDevice* theWrappedObject) const; - int depth(QPaintDevice* theWrappedObject) const; - int devType(QPaintDevice* theWrappedObject) const; - int py_q_devType(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_devType());} - int devicePixelRatio(QPaintDevice* theWrappedObject) const; - qreal devicePixelRatioF(QPaintDevice* theWrappedObject) const; - qreal static_QPaintDevice_devicePixelRatioFScale(); - int height(QPaintDevice* theWrappedObject) const; - int heightMM(QPaintDevice* theWrappedObject) const; - void initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const; - void py_q_initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const{ (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_initPainter(painter));} - int logicalDpiX(QPaintDevice* theWrappedObject) const; - int logicalDpiY(QPaintDevice* theWrappedObject) const; - int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - int py_q_metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_metric(metric));} - QPaintEngine* paintEngine(QPaintDevice* theWrappedObject) const; - QPaintEngine* py_q_paintEngine(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_paintEngine());} - bool paintingActive(QPaintDevice* theWrappedObject) const; - int physicalDpiX(QPaintDevice* theWrappedObject) const; - int physicalDpiY(QPaintDevice* theWrappedObject) const; - QPaintDevice* redirected(QPaintDevice* theWrappedObject, QPoint* offset) const; - QPaintDevice* py_q_redirected(QPaintDevice* theWrappedObject, QPoint* offset) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_redirected(offset));} - QPainter* sharedPainter(QPaintDevice* theWrappedObject) const; - QPainter* py_q_sharedPainter(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_sharedPainter());} - int width(QPaintDevice* theWrappedObject) const; - int widthMM(QPaintDevice* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QPaintEngine : public QPaintEngine -{ -public: - PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()):QPaintEngine(features),_wrapper(NULL) {}; - - ~PythonQtShell_QPaintEngine(); - -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 bool py_q_begin(QPaintDevice* pdev) { return this->begin(pdev); } -inline QPoint py_q_coordinateOffset() const { return QPaintEngine::coordinateOffset(); } -inline void py_q_drawEllipse(const QRect& r) { QPaintEngine::drawEllipse(r); } -inline void py_q_drawEllipse(const QRectF& r) { QPaintEngine::drawEllipse(r); } -inline void py_q_drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) { QPaintEngine::drawImage(r, pm, sr, flags); } -inline void py_q_drawLines(const QLine* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } -inline void py_q_drawLines(const QLineF* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } -inline void py_q_drawPath(const QPainterPath& path) { QPaintEngine::drawPath(path); } -inline void py_q_drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) { this->drawPixmap(r, pm, sr); } -inline void py_q_drawPoints(const QPoint* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } -inline void py_q_drawPoints(const QPointF* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } -inline void py_q_drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } -inline void py_q_drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } -inline void py_q_drawRects(const QRect* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } -inline void py_q_drawRects(const QRectF* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } -inline void py_q_drawTextItem(const QPointF& p, const QTextItem& textItem) { QPaintEngine::drawTextItem(p, textItem); } -inline void py_q_drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) { QPaintEngine::drawTiledPixmap(r, pixmap, s); } -inline bool py_q_end() { return this->end(); } -inline QPaintEngine::Type py_q_type() const { return this->type(); } -inline void py_q_updateState(const QPaintEngineState& state) { this->updateState(state); } -}; - -class PythonQtWrapper_QPaintEngine : public QObject -{ Q_OBJECT -public: -Q_ENUMS(DirtyFlag PaintEngineFeature PolygonDrawMode Type ) -Q_FLAGS(DirtyFlags PaintEngineFeatures ) -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}; -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, RasterOpModes = QPaintEngine::RasterOpModes, PaintOutsidePaintEvent = QPaintEngine::PaintOutsidePaintEvent, AllFeatures = QPaintEngine::AllFeatures}; -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, OpenVG = QPaintEngine::OpenVG, OpenGL2 = QPaintEngine::OpenGL2, PaintBuffer = QPaintEngine::PaintBuffer, Blitter = QPaintEngine::Blitter, Direct2D = QPaintEngine::Direct2D, User = QPaintEngine::User, MaxUser = QPaintEngine::MaxUser}; -Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag) -Q_DECLARE_FLAGS(PaintEngineFeatures, PaintEngineFeature) -public slots: -QPaintEngine* new_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()); -void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } - bool begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev); - bool py_q_begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_begin(pdev));} - void clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - QPoint coordinateOffset(QPaintEngine* theWrappedObject) const; - QPoint py_q_coordinateOffset(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_coordinateOffset());} - void drawEllipse(QPaintEngine* theWrappedObject, const QRect& r); - void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRect& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} - void drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r); - void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} - void drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void py_q_drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawImage(r, pm, sr, flags));} - void drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount); - void py_q_drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} - void drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount); - void py_q_drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} - void drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path); - void py_q_drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPath(path));} - void drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr); - void py_q_drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPixmap(r, pm, sr));} - void drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount); - void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} - void drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount); - void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} - void drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); - void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} - void drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); - void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} - void drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount); - void py_q_drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} - void drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount); - void py_q_drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} - void drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem); - void py_q_drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTextItem(p, textItem));} - void drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s); - void py_q_drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTiledPixmap(r, pixmap, s));} - bool end(QPaintEngine* theWrappedObject); - bool py_q_end(QPaintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_end());} - bool hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const; - bool isActive(QPaintEngine* theWrappedObject) const; - bool isExtended(QPaintEngine* theWrappedObject) const; - QPaintDevice* paintDevice(QPaintEngine* theWrappedObject) const; - QPainter* painter(QPaintEngine* theWrappedObject) const; - void setActive(QPaintEngine* theWrappedObject, bool newState); - void setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - void setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip); - void setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect); - void syncState(QPaintEngine* theWrappedObject); - QRegion systemClip(QPaintEngine* theWrappedObject) const; - QRect systemRect(QPaintEngine* theWrappedObject) const; - bool testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - QPaintEngine::Type type(QPaintEngine* theWrappedObject) const; - QPaintEngine::Type py_q_type(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_type());} - void updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state); - void py_q_updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_updateState(state));} -}; - - - - - -class PythonQtShell_QPaintEngineState : public QPaintEngineState -{ -public: - PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(NULL) {}; - - ~PythonQtShell_QPaintEngineState(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPaintEngineState : public QObject -{ Q_OBJECT -public: -public slots: -QPaintEngineState* new_QPaintEngineState(); -void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } - QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const; - Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const; - QBrush brush(QPaintEngineState* theWrappedObject) const; - bool brushNeedsResolving(QPaintEngineState* theWrappedObject) const; - QPointF brushOrigin(QPaintEngineState* theWrappedObject) const; - Qt::ClipOperation clipOperation(QPaintEngineState* theWrappedObject) const; - QPainterPath clipPath(QPaintEngineState* theWrappedObject) const; - QRegion clipRegion(QPaintEngineState* theWrappedObject) const; - QPainter::CompositionMode compositionMode(QPaintEngineState* theWrappedObject) const; - QFont font(QPaintEngineState* theWrappedObject) const; - bool isClipEnabled(QPaintEngineState* theWrappedObject) const; - QMatrix matrix(QPaintEngineState* theWrappedObject) const; - qreal opacity(QPaintEngineState* theWrappedObject) const; - QPainter* painter(QPaintEngineState* theWrappedObject) const; - QPen pen(QPaintEngineState* theWrappedObject) const; - bool penNeedsResolving(QPaintEngineState* theWrappedObject) const; - QPainter::RenderHints renderHints(QPaintEngineState* theWrappedObject) const; - QPaintEngine::DirtyFlags state(QPaintEngineState* theWrappedObject) const; - QTransform transform(QPaintEngineState* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QPaintEvent : public QPaintEvent -{ -public: - PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(NULL) {}; - PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(NULL) {}; - - ~PythonQtShell_QPaintEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPaintEvent : public QObject +class PythonQtWrapper_QPageLayout : public QObject { Q_OBJECT public: +Q_ENUMS(Mode Orientation Unit ) +enum Mode{ + StandardMode = QPageLayout::StandardMode, FullPageMode = QPageLayout::FullPageMode}; +enum Orientation{ + Portrait = QPageLayout::Portrait, Landscape = QPageLayout::Landscape}; +enum Unit{ + Millimeter = QPageLayout::Millimeter, Point = QPageLayout::Point, Inch = QPageLayout::Inch, Pica = QPageLayout::Pica, Didot = QPageLayout::Didot, Cicero = QPageLayout::Cicero}; public slots: -QPaintEvent* new_QPaintEvent(const QRect& paintRect); -QPaintEvent* new_QPaintEvent(const QRegion& paintRegion); -void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } - const QRect* rect(QPaintEvent* theWrappedObject) const; - const QRegion* region(QPaintEvent* theWrappedObject) const; +QPageLayout* new_QPageLayout(); +QPageLayout* new_QPageLayout(const QPageLayout& other); +QPageLayout* new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units = QPageLayout::Point, const QMarginsF& minMargins = QMarginsF(0, 0, 0, 0)); +void delete_QPageLayout(QPageLayout* obj) { delete obj; } + QRectF fullRect(QPageLayout* theWrappedObject) const; + QRectF fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QRect fullRectPixels(QPageLayout* theWrappedObject, int resolution) const; + QRect fullRectPoints(QPageLayout* theWrappedObject) const; + bool isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const; + bool isValid(QPageLayout* theWrappedObject) const; + QMarginsF margins(QPageLayout* theWrappedObject) const; + QMarginsF margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QMargins marginsPixels(QPageLayout* theWrappedObject, int resolution) const; + QMargins marginsPoints(QPageLayout* theWrappedObject) const; + QMarginsF maximumMargins(QPageLayout* theWrappedObject) const; + QMarginsF minimumMargins(QPageLayout* theWrappedObject) const; + QPageLayout::Mode mode(QPageLayout* theWrappedObject) const; + bool __ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs); + QPageLayout* operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other); + bool __eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs); + QPageLayout::Orientation orientation(QPageLayout* theWrappedObject) const; + QPageSize pageSize(QPageLayout* theWrappedObject) const; + QRectF paintRect(QPageLayout* theWrappedObject) const; + QRectF paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QRect paintRectPixels(QPageLayout* theWrappedObject, int resolution) const; + QRect paintRectPoints(QPageLayout* theWrappedObject) const; + bool setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin); + bool setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin); + bool setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins); + void setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins); + void setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode); + void setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation); + void setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins = QMarginsF(0, 0, 0, 0)); + bool setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin); + bool setTopMargin(QPageLayout* theWrappedObject, qreal topMargin); + void setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units); + void swap(QPageLayout* theWrappedObject, QPageLayout& other); + QPageLayout::Unit units(QPageLayout* theWrappedObject) const; + QString py_toString(QPageLayout*); + bool __nonzero__(QPageLayout* obj) { return obj->isValid(); } }; diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp new file mode 100644 index 00000000..18f89a3b --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -0,0 +1,11801 @@ +#include "com_trolltech_qt_gui6.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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPageSetupDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::accept(); +} +void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::actionEvent(event0); +} +void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::changeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::childEvent(event0); +} +void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::closeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::customEvent(event0); +} +int PythonQtShell_QPageSetupDialog::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::devType(); +} +void PythonQtShell_QPageSetupDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::done(result0); +} +void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::dragEnterEvent(event0); +} +void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::dragMoveEvent(event0); +} +void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::dropEvent(event0); +} +void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::enterEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::event(event0); +} +bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPageSetupDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::exec(); +} +void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::focusInEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::hasHeightForWidth(); +} +int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::hideEvent(event0); +} +void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::initPainter(painter0); +} +void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::leaveEvent(event0); +} +int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::metric(arg__1); +} +QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::minimumSizeHint(); +} +void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::mousePressEvent(event0); +} +void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::moveEvent(event0); +} +bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::paintEngine(); +} +void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::redirected(offset0); +} +void PythonQtShell_QPageSetupDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::reject(); +} +void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::sharedPainter(); +} +void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::showEvent(arg__1); +} +QSize PythonQtShell_QPageSetupDialog::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPageSetupDialog::sizeHint(); +} +void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::tabletEvent(event0); +} +void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::timerEvent(event0); +} +void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::wheelEvent(event0); +} +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(printer, parent); } + +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(parent); } + +const QMetaObject* PythonQtShell_QPageSetupDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPageSetupDialog::staticMetaObject); + } else { + return &QPageSetupDialog::staticMetaObject; + } +} +int PythonQtShell_QPageSetupDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPageSetupDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPageSetupDialog::open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPrinter* PythonQtWrapper_QPageSetupDialog::printer(QPageSetupDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); +} + + + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize() +{ +return new QPageSize(); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(QPageSize::PageSizeId pageSizeId) +{ +return new QPageSize(pageSizeId); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QPageSize& other) +{ +return new QPageSize(other); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSize& pointSize, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) +{ +return new QPageSize(pointSize, name, matchPolicy); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) +{ +return new QPageSize(size, units, name, matchPolicy); } + +QSizeF PythonQtWrapper_QPageSize::definitionSize(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->definitionSize()); +} + +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::definitionSize(pageSizeId)); +} + +QPageSize::Unit PythonQtWrapper_QPageSize::definitionUnits(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->definitionUnits()); +} + +QPageSize::Unit PythonQtWrapper_QPageSize::static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::definitionUnits(pageSizeId)); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::id(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy) +{ + return (QPageSize::id(pointSize, matchPolicy)); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy) +{ + return (QPageSize::id(size, units, matchPolicy)); +} + +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(int windowsId) +{ + return (QPageSize::id(windowsId)); +} + +bool PythonQtWrapper_QPageSize::isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const +{ + return ( theWrappedObject->isEquivalentTo(other)); +} + +bool PythonQtWrapper_QPageSize::isValid(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QPageSize::key(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +QString PythonQtWrapper_QPageSize::static_QPageSize_key(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::key(pageSizeId)); +} + +QString PythonQtWrapper_QPageSize::name(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QString PythonQtWrapper_QPageSize::static_QPageSize_name(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::name(pageSizeId)); +} + +bool PythonQtWrapper_QPageSize::__ne__(QPageSize* theWrappedObject, const QPageSize& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QPageSize* PythonQtWrapper_QPageSize::operator_assign(QPageSize* theWrappedObject, const QPageSize& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPageSize::__eq__(QPageSize* theWrappedObject, const QPageSize& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +QRectF PythonQtWrapper_QPageSize::rect(QPageSize* theWrappedObject, QPageSize::Unit units) const +{ + return ( theWrappedObject->rect(units)); +} + +QRect PythonQtWrapper_QPageSize::rectPixels(QPageSize* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->rectPixels(resolution)); +} + +QRect PythonQtWrapper_QPageSize::rectPoints(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->rectPoints()); +} + +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units) +{ + return (QPageSize::size(pageSizeId, units)); +} + +QSizeF PythonQtWrapper_QPageSize::size(QPageSize* theWrappedObject, QPageSize::Unit units) const +{ + return ( theWrappedObject->size(units)); +} + +QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution) +{ + return (QPageSize::sizePixels(pageSizeId, resolution)); +} + +QSize PythonQtWrapper_QPageSize::sizePixels(QPageSize* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->sizePixels(resolution)); +} + +QSize PythonQtWrapper_QPageSize::sizePoints(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->sizePoints()); +} + +QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::sizePoints(pageSizeId)); +} + +void PythonQtWrapper_QPageSize::swap(QPageSize* theWrappedObject, QPageSize& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QPageSize::windowsId(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->windowsId()); +} + +int PythonQtWrapper_QPageSize::static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::windowsId(pageSizeId)); +} + +QString PythonQtWrapper_QPageSize::py_toString(QPageSize* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QPagedPaintDevice::~PythonQtShell_QPagedPaintDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPagedPaintDevice::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPagedPaintDevice::devType(); +} +void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPagedPaintDevice::initPainter(painter0); +} +int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPagedPaintDevice::metric(metric0); +} +bool PythonQtShell_QPagedPaintDevice::newPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("newPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPagedPaintDevice::redirected(offset0); +} +void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margins& margins0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&margins0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPagedPaintDevice::setMargins(margins0); +} +void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPagedPaintDevice::setPageSize(size0); +} +void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSizeMM"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPagedPaintDevice::setPageSizeMM(size0); +} +QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPagedPaintDevice::sharedPainter(); +} +QPagedPaintDevice* PythonQtWrapper_QPagedPaintDevice::new_QPagedPaintDevice() +{ +return new PythonQtShell_QPagedPaintDevice(); } + +QPageLayout* PythonQtWrapper_QPagedPaintDevice::devicePageLayout(QPagedPaintDevice* theWrappedObject) +{ + return &( ((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->promoted_devicePageLayout()); +} + +QPagedPaintDevice::Margins PythonQtWrapper_QPagedPaintDevice::margins(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->margins()); +} + +bool PythonQtWrapper_QPagedPaintDevice::newPage(QPagedPaintDevice* theWrappedObject) +{ + return ( theWrappedObject->newPage()); +} + +QPageLayout PythonQtWrapper_QPagedPaintDevice::pageLayout(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->pageLayout()); +} + +QPagedPaintDevice::PageSize PythonQtWrapper_QPagedPaintDevice::pageSize(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +QSizeF PythonQtWrapper_QPagedPaintDevice::pageSizeMM(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->pageSizeMM()); +} + +void PythonQtWrapper_QPagedPaintDevice::setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins) +{ + ( theWrappedObject->setMargins(margins)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout) +{ + return ( theWrappedObject->setPageLayout(pageLayout)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins) +{ + return ( theWrappedObject->setPageMargins(margins)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units) +{ + return ( theWrappedObject->setPageMargins(margins, units)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation) +{ + return ( theWrappedObject->setPageOrientation(orientation)); +} + +void PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size) +{ + ( theWrappedObject->setPageSize(size)); +} + +bool PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize) +{ + return ( theWrappedObject->setPageSize(pageSize)); +} + +void PythonQtWrapper_QPagedPaintDevice::setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setPageSizeMM(size)); +} + + + +PythonQtShell_QPagedPaintDevice__Margins::~PythonQtShell_QPagedPaintDevice__Margins() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPagedPaintDevice::Margins* PythonQtWrapper_QPagedPaintDevice__Margins::new_QPagedPaintDevice__Margins() +{ +return new PythonQtShell_QPagedPaintDevice__Margins(); } + + + +PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPaintDevice::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintDevice::devType(); +} +void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintDevice::initPainter(painter0); +} +int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintDevice::metric(metric0); +} +QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintDevice::redirected(offset0); +} +QPainter* PythonQtShell_QPaintDevice::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintDevice::sharedPainter(); +} +QPaintDevice* PythonQtWrapper_QPaintDevice::new_QPaintDevice() +{ +return new PythonQtShell_QPaintDevice(); } + +int PythonQtWrapper_QPaintDevice::colorCount(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->colorCount()); +} + +int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->devType()); +} + +int PythonQtWrapper_QPaintDevice::devicePixelRatio(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +qreal PythonQtWrapper_QPaintDevice::devicePixelRatioF(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatioF()); +} + +qreal PythonQtWrapper_QPaintDevice::static_QPaintDevice_devicePixelRatioFScale() +{ + return (QPaintDevice::devicePixelRatioFScale()); +} + +int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->heightMM()); +} + +void PythonQtWrapper_QPaintDevice::initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const +{ + ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_initPainter(painter)); +} + +int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->logicalDpiX()); +} + +int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->logicalDpiY()); +} + +int PythonQtWrapper_QPaintDevice::metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const +{ + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_metric(metric)); +} + +QPaintEngine* PythonQtWrapper_QPaintDevice::paintEngine(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->paintEngine()); +} + +bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->paintingActive()); +} + +int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->physicalDpiX()); +} + +int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->physicalDpiY()); +} + +QPaintDevice* PythonQtWrapper_QPaintDevice::redirected(QPaintDevice* theWrappedObject, QPoint* offset) const +{ + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_redirected(offset)); +} + +QPainter* PythonQtWrapper_QPaintDevice::sharedPainter(QPaintDevice* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_sharedPainter()); +} + +int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->widthMM()); +} + + + +void PythonQtWrapper_QPaintDeviceWindow::paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event) +{ + ( ((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->promoted_paintEvent(event)); +} + +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->update(rect)); +} + +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRegion& region) +{ + ( theWrappedObject->update(region)); +} + + + +PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("begin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QPaintDevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pdev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("begin", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QPoint PythonQtShell_QPaintEngine::coordinateOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("coordinateOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPoint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPoint returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("coordinateOffset", methodInfo, result); + } else { + returnValue = *((QPoint*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintEngine::coordinateOffset(); +} +void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawEllipse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&r0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawEllipse(r0); +} +void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawEllipse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&r0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawEllipse(r0); +} +void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawImage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QImage&" , "const QRectF&" , "Qt::ImageConversionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2, (void*)&flags3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawImage(r0, pm1, sr2, flags3); +} +void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawLines"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QLine*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawLines(lines0, lineCount1); +} +void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawLines"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QLineF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawLines(lines0, lineCount1); +} +void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPainterPath&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&path0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPath(path0); +} +void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPoints"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPoint*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPoints(points0, pointCount1); +} +void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPoints"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPoints(points0, pointCount1); +} +void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPolygon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPolygon(points0, pointCount1, mode2); +} +void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawPolygon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawPolygon(points0, pointCount1, mode2); +} +void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawRects"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawRects(rects0, rectCount1); +} +void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawRects"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawRects(rects0, rectCount1); +} +void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawTextItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&p0, (void*)&textItem1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawTextItem(p0, textItem1); +} +void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawTiledPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&r0, (void*)&pixmap1, (void*)&s2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPaintEngine::drawTiledPixmap(r0, pixmap1, s2); +} +bool PythonQtShell_QPaintEngine::end() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("end"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("end", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QPaintEngine::Type PythonQtShell_QPaintEngine::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine::Type returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QPaintEngine::Type*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPaintEngine::Type(); +} +void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPaintEngineState&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QPaintEngine* PythonQtWrapper_QPaintEngine::new_QPaintEngine(QPaintEngine::PaintEngineFeatures features) +{ +return new PythonQtShell_QPaintEngine(features); } + +bool PythonQtWrapper_QPaintEngine::begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev) +{ + return ( theWrappedObject->begin(pdev)); +} + +void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +{ + ( theWrappedObject->clearDirty(df)); +} + +QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->coordinateOffset()); +} + +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->drawImage(r, pm, sr, flags)); +} + +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) +{ + ( theWrappedObject->drawLines(lines, lineCount)); +} + +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) +{ + ( theWrappedObject->drawLines(lines, lineCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->drawPath(path)); +} + +void PythonQtWrapper_QPaintEngine::drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr) +{ + ( theWrappedObject->drawPixmap(r, pm, sr)); +} + +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) +{ + ( theWrappedObject->drawPoints(points, pointCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) +{ + ( theWrappedObject->drawPoints(points, pointCount)); +} + +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ + ( theWrappedObject->drawPolygon(points, pointCount, mode)); +} + +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +{ + ( theWrappedObject->drawPolygon(points, pointCount, mode)); +} + +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) +{ + ( theWrappedObject->drawRects(rects, rectCount)); +} + +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) +{ + ( theWrappedObject->drawRects(rects, rectCount)); +} + +void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) +{ + ( theWrappedObject->drawTextItem(p, textItem)); +} + +void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) +{ + ( theWrappedObject->drawTiledPixmap(r, pixmap, s)); +} + +bool PythonQtWrapper_QPaintEngine::end(QPaintEngine* theWrappedObject) +{ + return ( theWrappedObject->end()); +} + +bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const +{ + return ( theWrappedObject->hasFeature(feature)); +} + +bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QPaintEngine::isExtended(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->isExtended()); +} + +QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->paintDevice()); +} + +QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->painter()); +} + +void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) +{ + ( theWrappedObject->setActive(newState)); +} + +void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +{ + ( theWrappedObject->setDirty(df)); +} + +void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) +{ + ( theWrappedObject->setSystemClip(baseClip)); +} + +void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setSystemRect(rect)); +} + +void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) +{ + ( theWrappedObject->syncState()); +} + +QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->systemClip()); +} + +QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->systemRect()); +} + +bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +{ + return ( theWrappedObject->testDirty(df)); +} + +QPaintEngine::Type PythonQtWrapper_QPaintEngine::type(QPaintEngine* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +void PythonQtWrapper_QPaintEngine::updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state) +{ + ( theWrappedObject->updateState(state)); +} + + + +PythonQtShell_QPaintEngineState::~PythonQtShell_QPaintEngineState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() +{ +return new PythonQtShell_QPaintEngineState(); } + +QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); +} + +Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->backgroundMode()); +} + +QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->brush()); +} + +bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->brushNeedsResolving()); +} + +QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->brushOrigin()); +} + +Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->clipOperation()); +} + +QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->clipPath()); +} + +QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->clipRegion()); +} + +QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->compositionMode()); +} + +QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->isClipEnabled()); +} + +QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->painter()); +} + +QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->pen()); +} + +bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->penNeedsResolving()); +} + +QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const +{ + return ( theWrappedObject->transform()); +} + + + +PythonQtShell_QPaintEvent::~PythonQtShell_QPaintEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +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 QRect* PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const +{ + return &( theWrappedObject->rect()); +} + +const QRegion* PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const +{ + return &( theWrappedObject->region()); +} + + + +QPainter* PythonQtWrapper_QPainter::new_QPainter() +{ +return new QPainter(); } + +QPainter* PythonQtWrapper_QPainter::new_QPainter(QPaintDevice* arg__1) +{ +return new QPainter(arg__1); } + +const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->background()); +} + +Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->backgroundMode()); +} + +bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) +{ + return ( theWrappedObject->begin(arg__1)); +} + +void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) +{ + ( theWrappedObject->beginNativePainting()); +} + +QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) +{ + return ( theWrappedObject->boundingRect(rect, flags, text)); +} + +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) +{ + return ( theWrappedObject->boundingRect(rect, text, o)); +} + +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) +{ + return ( theWrappedObject->boundingRect(rect, flags, text)); +} + +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)); +} + +const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->brush()); +} + +QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->brushOrigin()); +} + +QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->clipBoundingRect()); +} + +QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->clipPath()); +} + +QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->clipRegion()); +} + +QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->combinedMatrix()); +} + +QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->combinedTransform()); +} + +QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->compositionMode()); +} + +QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->deviceMatrix()); +} + +const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->deviceTransform()); +} + +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +{ + ( theWrappedObject->drawArc(arg__1, a, alen)); +} + +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +{ + ( theWrappedObject->drawArc(rect, a, alen)); +} + +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)); +} + +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +{ + ( theWrappedObject->drawChord(arg__1, a, alen)); +} + +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +{ + ( theWrappedObject->drawChord(rect, a, alen)); +} + +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::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) +{ + ( theWrappedObject->drawConvexPolygon(polygon)); +} + +void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) +{ + ( theWrappedObject->drawConvexPolygon(polygon)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) +{ + ( theWrappedObject->drawEllipse(center, rx, ry)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +{ + ( theWrappedObject->drawEllipse(center, rx, ry)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) +{ + ( theWrappedObject->drawEllipse(r)); +} + +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->drawEllipse(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun) +{ + ( theWrappedObject->drawGlyphRun(position, glyphRun)); +} + +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) +{ + ( theWrappedObject->drawImage(p, image)); +} + +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::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) +{ + ( theWrappedObject->drawImage(p, image)); +} + +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, const QRect& r, const QImage& image) +{ + ( theWrappedObject->drawImage(r, image)); +} + +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::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) +{ + ( theWrappedObject->drawImage(r, image)); +} + +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::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 QLine& line) +{ + ( theWrappedObject->drawLine(line)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) +{ + ( theWrappedObject->drawLine(line)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) +{ + ( theWrappedObject->drawLine(p1, p2)); +} + +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) +{ + ( theWrappedObject->drawLine(p1, p2)); +} + +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::drawLines(QPainter* theWrappedObject, const QVector& lines) +{ + ( theWrappedObject->drawLines(lines)); +} + +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +{ + ( theWrappedObject->drawLines(pointPairs)); +} + +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +{ + ( theWrappedObject->drawLines(pointPairs)); +} + +void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->drawPath(path)); +} + +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) +{ + ( theWrappedObject->drawPicture(p, picture)); +} + +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) +{ + ( theWrappedObject->drawPicture(p, picture)); +} + +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) +{ + ( theWrappedObject->drawPicture(x, y, picture)); +} + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +{ + ( theWrappedObject->drawPie(arg__1, a, alen)); +} + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +{ + ( theWrappedObject->drawPie(rect, a, alen)); +} + +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::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(p, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) +{ + ( theWrappedObject->drawPixmap(p, pm, sr)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(p, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) +{ + ( theWrappedObject->drawPixmap(p, pm, sr)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(r, pm)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) +{ + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) +{ + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(x, y, pm)); +} + +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)); +} + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(x, y, w, h, pm)); +} + +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::drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints) +{ + ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); +} + +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->drawPoint(p)); +} + +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) +{ + ( theWrappedObject->drawPoint(pt)); +} + +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) +{ + ( theWrappedObject->drawPoint(x, y)); +} + +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) +{ + ( theWrappedObject->drawPoints(points)); +} + +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) +{ + ( theWrappedObject->drawPoints(points)); +} + +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) +{ + ( theWrappedObject->drawPolygon(polygon, fillRule)); +} + +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) +{ + ( theWrappedObject->drawPolygon(polygon, fillRule)); +} + +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) +{ + ( theWrappedObject->drawPolyline(polygon)); +} + +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) +{ + ( theWrappedObject->drawPolyline(polyline)); +} + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->drawRect(rect)); +} + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->drawRect(rect)); +} + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) +{ + ( theWrappedObject->drawRect(x1, y1, w, h)); +} + +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +{ + ( theWrappedObject->drawRects(rectangles)); +} + +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +{ + ( theWrappedObject->drawRects(rectangles)); +} + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) +{ + ( theWrappedObject->drawRoundRect(r, xround, yround)); +} + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) +{ + ( theWrappedObject->drawRoundRect(r, xround, yround)); +} + +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)); +} + +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::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); +} + +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)); +} + +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) +{ + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); +} + +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) +{ + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); +} + +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) +{ + ( theWrappedObject->drawStaticText(left, top, staticText)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) +{ + ( theWrappedObject->drawText(p, s)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) +{ + ( theWrappedObject->drawText(p, s)); +} + +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::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) +{ + ( theWrappedObject->drawText(r, text, o)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) +{ + ( theWrappedObject->drawText(r, flags, text, br)); +} + +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) +{ + ( theWrappedObject->drawText(x, y, s)); +} + +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::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(p, ti)); +} + +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(p, ti)); +} + +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(x, y, ti)); +} + +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::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) +{ + ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); +} + +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)); +} + +bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) +{ + return ( theWrappedObject->end()); +} + +void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) +{ + ( theWrappedObject->endNativePainting()); +} + +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->eraseRect(arg__1)); +} + +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) +{ + ( theWrappedObject->eraseRect(arg__1)); +} + +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->eraseRect(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) +{ + ( theWrappedObject->fillPath(path, brush)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) +{ + ( theWrappedObject->fillRect(arg__1, arg__2)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) +{ + ( theWrappedObject->fillRect(arg__1, color)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, QGradient::Preset preset) +{ + ( theWrappedObject->fillRect(r, preset)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) +{ + ( theWrappedObject->fillRect(r, style)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) +{ + ( theWrappedObject->fillRect(r, c)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) +{ + ( theWrappedObject->fillRect(arg__1, arg__2)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) +{ + ( theWrappedObject->fillRect(arg__1, color)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, QGradient::Preset preset) +{ + ( theWrappedObject->fillRect(r, preset)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) +{ + ( theWrappedObject->fillRect(r, style)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) +{ + ( theWrappedObject->fillRect(r, c)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, QGradient::Preset preset) +{ + ( theWrappedObject->fillRect(x, y, w, h, preset)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) +{ + ( theWrappedObject->fillRect(x, y, w, h, style)); +} + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) +{ + ( theWrappedObject->fillRect(x, y, w, h, c)); +} + +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::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) +{ + ( theWrappedObject->fillRect(x, y, w, h, color)); +} + +const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->font()); +} + +QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->fontInfo()); +} + +QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->fontMetrics()); +} + +bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->hasClipping()); +} + +void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) +{ + ( theWrappedObject->initFrom(device)); +} + +bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->paintEngine()); +} + +const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->pen()); +} + +QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) +{ + return (QPainter::redirected(device, offset)); +} + +QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) +{ + ( theWrappedObject->resetMatrix()); +} + +void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} + +void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) +{ + ( theWrappedObject->restore()); +} + +void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) +{ + (QPainter::restoreRedirected(device)); +} + +void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) +{ + ( theWrappedObject->rotate(a)); +} + +void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) +{ + ( theWrappedObject->save()); +} + +void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) +{ + ( theWrappedObject->scale(sx, sy)); +} + +void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) +{ + ( theWrappedObject->setBackground(bg)); +} + +void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) +{ + ( theWrappedObject->setBackgroundMode(mode)); +} + +void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBrush(brush)); +} + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) +{ + ( theWrappedObject->setBrushOrigin(arg__1)); +} + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) +{ + ( theWrappedObject->setBrushOrigin(arg__1)); +} + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) +{ + ( theWrappedObject->setBrushOrigin(x, y)); +} + +void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipPath(path, op)); +} + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(arg__1, op)); +} + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(arg__1, op)); +} + +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::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRegion(arg__1, op)); +} + +void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setClipping(enable)); +} + +void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) +{ + ( theWrappedObject->setCompositionMode(mode)); +} + +void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) +{ + ( theWrappedObject->setFont(f)); +} + +void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) +{ + ( theWrappedObject->setPen(style)); +} + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setPen(color)); +} + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setPen(pen)); +} + +void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) +{ + (QPainter::setRedirected(device, replacement, offset)); +} + +void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) +{ + ( theWrappedObject->setRenderHint(hint, on)); +} + +void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) +{ + ( theWrappedObject->setRenderHints(hints, on)); +} + +void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) +{ + ( theWrappedObject->setTransform(transform, combine)); +} + +void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setViewTransformEnabled(enable)); +} + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) +{ + ( theWrappedObject->setViewport(viewport)); +} + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setViewport(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +{ + ( theWrappedObject->setWindow(window)); +} + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setWindow(x, y, w, h)); +} + +void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +{ + ( theWrappedObject->setWorldMatrix(matrix, combine)); +} + +void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setWorldMatrixEnabled(enabled)); +} + +void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setWorldTransform(matrix, combine)); +} + +void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) +{ + ( theWrappedObject->shear(sh, sv)); +} + +void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) +{ + ( theWrappedObject->strokePath(path, pen)); +} + +bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const +{ + return ( theWrappedObject->testRenderHint(hint)); +} + +const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->transform()); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->viewTransformEnabled()); +} + +QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->viewport()); +} + +QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->worldMatrix()); +} + +bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->worldMatrixEnabled()); +} + +const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->worldTransform()); +} + + + +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); } + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +{ + ( theWrappedObject->addEllipse(center, rx, ry)); +} + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->addEllipse(rect)); +} + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addEllipse(x, y, w, h)); +} + +void PythonQtWrapper_QPainterPath::addPath(QPainterPath* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->addPath(path)); +} + +void PythonQtWrapper_QPainterPath::addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon) +{ + ( theWrappedObject->addPolygon(polygon)); +} + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->addRect(rect)); +} + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addRect(x, y, w, h)); +} + +void PythonQtWrapper_QPainterPath::addRegion(QPainterPath* theWrappedObject, const QRegion& region) +{ + ( theWrappedObject->addRegion(region)); +} + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness) +{ + ( theWrappedObject->addRoundRect(rect, roundness)); +} + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd) +{ + ( theWrappedObject->addRoundRect(rect, xRnd, yRnd)); +} + +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::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::addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->addRoundedRect(rect, xRadius, yRadius, mode)); +} + +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)); +} + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text) +{ + ( theWrappedObject->addText(point, f, text)); +} + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) +{ + ( theWrappedObject->addText(x, y, f, text)); +} + +qreal PythonQtWrapper_QPainterPath::angleAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->angleAtPercent(t)); +} + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle) +{ + ( theWrappedObject->arcMoveTo(rect, angle)); +} + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) +{ + ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); +} + +void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength) +{ + ( theWrappedObject->arcTo(rect, startAngle, arcLength)); +} + +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)); +} + +QRectF PythonQtWrapper_QPainterPath::boundingRect(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +int PythonQtWrapper_QPainterPath::capacity(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QPainterPath::clear(QPainterPath* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QPainterPath::closeSubpath(QPainterPath* theWrappedObject) +{ + ( theWrappedObject->closeSubpath()); +} + +void PythonQtWrapper_QPainterPath::connectPath(QPainterPath* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->connectPath(path)); +} + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->contains(p)); +} + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPointF& pt) const +{ + return ( theWrappedObject->contains(pt)); +} + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->contains(rect)); +} + +QRectF PythonQtWrapper_QPainterPath::controlPointRect(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->controlPointRect()); +} + +void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt) +{ + ( theWrappedObject->cubicTo(ctrlPt1, ctrlPt2, endPt)); +} + +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()); +} + +QPainterPath::Element PythonQtWrapper_QPainterPath::elementAt(QPainterPath* theWrappedObject, int i) const +{ + return ( theWrappedObject->elementAt(i)); +} + +int PythonQtWrapper_QPainterPath::elementCount(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->elementCount()); +} + +Qt::FillRule PythonQtWrapper_QPainterPath::fillRule(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->fillRule()); +} + +QPainterPath PythonQtWrapper_QPainterPath::intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->intersects(p)); +} + +bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->intersects(rect)); +} + +bool PythonQtWrapper_QPainterPath::isEmpty(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +qreal PythonQtWrapper_QPainterPath::length(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->lineTo(p)); +} + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->lineTo(x, y)); +} + +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, const QPointF& p) +{ + ( theWrappedObject->moveTo(p)); +} + +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->moveTo(x, y)); +} + +bool PythonQtWrapper_QPainterPath::__ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QPainterPath PythonQtWrapper_QPainterPath::__and__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)& other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__iand__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)&= other); +} + +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +QPainterPath PythonQtWrapper_QPainterPath::__add__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)+ other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__iadd__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)+= other); +} + +QPainterPath PythonQtWrapper_QPainterPath::__sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)- other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__isub__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)-= other); +} + +void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPainterPath::__eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPainterPath PythonQtWrapper_QPainterPath::__or__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)| other); +} + +QPainterPath* PythonQtWrapper_QPainterPath::__ior__(QPainterPath* theWrappedObject, const QPainterPath& other) +{ + return &( (*theWrappedObject)|= other); +} + +qreal PythonQtWrapper_QPainterPath::percentAtLength(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->percentAtLength(t)); +} + +QPointF PythonQtWrapper_QPainterPath::pointAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->pointAtPercent(t)); +} + +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt) +{ + ( theWrappedObject->quadTo(ctrlPt, endPt)); +} + +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) +{ + ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); +} + +void PythonQtWrapper_QPainterPath::reserve(QPainterPath* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QPainterPath::setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y) +{ + ( theWrappedObject->setElementPositionAt(i, x, y)); +} + +void PythonQtWrapper_QPainterPath::setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule) +{ + ( theWrappedObject->setFillRule(fillRule)); +} + +QPainterPath PythonQtWrapper_QPainterPath::simplified(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->simplified()); +} + +qreal PythonQtWrapper_QPainterPath::slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->slopeAtPercent(t)); +} + +QPainterPath PythonQtWrapper_QPainterPath::subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +QPainterPath PythonQtWrapper_QPainterPath::subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->subtractedInverted(r)); +} + +void PythonQtWrapper_QPainterPath::swap(QPainterPath* theWrappedObject, QPainterPath& other) +{ + ( theWrappedObject->swap(other)); +} + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygon(matrix)); +} + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toFillPolygon(matrix)); +} + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygons(matrix)); +} + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toFillPolygons(matrix)); +} + +QPainterPath PythonQtWrapper_QPainterPath::toReversed(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->toReversed()); +} + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toSubpathPolygons(matrix)); +} + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toSubpathPolygons(matrix)); +} + +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const +{ + return ( theWrappedObject->translated(offset)); +} + +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QPainterPath PythonQtWrapper_QPainterPath::united(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->united(r)); +} + +QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker() +{ +return new QPainterPathStroker(); } + +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker(const QPen& pen) +{ +return new QPainterPathStroker(pen); } + +Qt::PenCapStyle PythonQtWrapper_QPainterPathStroker::capStyle(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->capStyle()); +} + +QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const +{ + return ( theWrappedObject->createStroke(path)); +} + +qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->curveThreshold()); +} + +qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->dashOffset()); +} + +QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->dashPattern()); +} + +Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->joinStyle()); +} + +qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->miterLimit()); +} + +void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) +{ + ( theWrappedObject->setCapStyle(style)); +} + +void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) +{ + ( theWrappedObject->setCurveThreshold(threshold)); +} + +void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) +{ + ( theWrappedObject->setDashOffset(offset)); +} + +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)); +} + +void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) +{ + ( theWrappedObject->setJoinStyle(style)); +} + +void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) +{ + ( theWrappedObject->setMiterLimit(length)); +} + +void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); +} + +qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + + + +PythonQtShell_QPainterPath__Element::~PythonQtShell_QPainterPath__Element() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPainterPath::Element* PythonQtWrapper_QPainterPath__Element::new_QPainterPath__Element() +{ +return new PythonQtShell_QPainterPath__Element(); } + +bool PythonQtWrapper_QPainterPath__Element::isCurveTo(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->isCurveTo()); +} + +bool PythonQtWrapper_QPainterPath__Element::isLineTo(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->isLineTo()); +} + +bool PythonQtWrapper_QPainterPath__Element::isMoveTo(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->isMoveTo()); +} + +QPointF PythonQtWrapper_QPainterPath__Element::operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->operator QPointF()); +} + +bool PythonQtWrapper_QPainterPath__Element::__ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +{ + return ( (*theWrappedObject)!= e); +} + +bool PythonQtWrapper_QPainterPath__Element::__eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +{ + return ( (*theWrappedObject)== e); +} + + + +PythonQtShell_QPainter__PixmapFragment::~PythonQtShell_QPainter__PixmapFragment() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPainter::PixmapFragment* PythonQtWrapper_QPainter__PixmapFragment::new_QPainter__PixmapFragment() +{ +return new PythonQtShell_QPainter__PixmapFragment(); } + +QPainter::PixmapFragment PythonQtWrapper_QPainter__PixmapFragment::static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX, qreal scaleY, qreal rotation, qreal opacity) +{ + return (QPainter::PixmapFragment::create(pos, sourceRect, scaleX, scaleY, rotation, opacity)); +} + + + +PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPanGesture::childEvent(event0); +} +void PythonQtShell_QPanGesture::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPanGesture::customEvent(event0); +} +bool PythonQtShell_QPanGesture::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPanGesture::event(event0); +} +bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPanGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPanGesture::timerEvent(event0); +} +QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) +{ +return new PythonQtShell_QPanGesture(parent); } + +const QMetaObject* PythonQtShell_QPanGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPanGesture::staticMetaObject); + } else { + return &QPanGesture::staticMetaObject; + } +} +int PythonQtShell_QPanGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPanGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QPanGesture::acceleration(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->acceleration()); +} + +QPointF PythonQtWrapper_QPanGesture::delta(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->delta()); +} + +QPointF PythonQtWrapper_QPanGesture::lastOffset(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastOffset()); +} + +QPointF PythonQtWrapper_QPanGesture::offset(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +void PythonQtWrapper_QPanGesture::setAcceleration(QPanGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setAcceleration(value)); +} + +void PythonQtWrapper_QPanGesture::setLastOffset(QPanGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setLastOffset(value)); +} + +void PythonQtWrapper_QPanGesture::setOffset(QPanGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setOffset(value)); +} + + + +PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::childEvent(event0); +} +void PythonQtShell_QPdfWriter::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::customEvent(event0); +} +int PythonQtShell_QPdfWriter::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::devType(); +} +bool PythonQtShell_QPdfWriter::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::event(event0); +} +bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::eventFilter(watched0, event1); +} +void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::initPainter(painter0); +} +int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&id0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::metric(id0); +} +bool PythonQtShell_QPdfWriter::newPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("newPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::newPage(); +} +QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::paintEngine(); +} +QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::redirected(offset0); +} +void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&m0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::setMargins(m0); +} +void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::setPageSize(size0); +} +void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSizeMM"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::setPageSizeMM(size0); +} +QPainter* PythonQtShell_QPdfWriter::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::sharedPainter(); +} +void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPdfWriter::timerEvent(event0); +} +QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(QIODevice* device) +{ +return new PythonQtShell_QPdfWriter(device); } + +QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(const QString& filename) +{ +return new PythonQtShell_QPdfWriter(filename); } + +const QMetaObject* PythonQtShell_QPdfWriter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPdfWriter::staticMetaObject); + } else { + return &QPdfWriter::staticMetaObject; + } +} +int PythonQtShell_QPdfWriter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPdfWriter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPdfWriter::addFileAttachment(QPdfWriter* theWrappedObject, const QString& fileName, const QByteArray& data, const QString& mimeType) +{ + ( theWrappedObject->addFileAttachment(fileName, data, mimeType)); +} + +QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->creator()); +} + +QByteArray PythonQtWrapper_QPdfWriter::documentXmpMetadata(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->documentXmpMetadata()); +} + +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPdfWriter::pdfVersion(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->pdfVersion()); +} + +int PythonQtWrapper_QPdfWriter::resolution(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->resolution()); +} + +void PythonQtWrapper_QPdfWriter::setCreator(QPdfWriter* theWrappedObject, const QString& creator) +{ + ( theWrappedObject->setCreator(creator)); +} + +void PythonQtWrapper_QPdfWriter::setDocumentXmpMetadata(QPdfWriter* theWrappedObject, const QByteArray& xmpMetadata) +{ + ( theWrappedObject->setDocumentXmpMetadata(xmpMetadata)); +} + +void PythonQtWrapper_QPdfWriter::setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +{ + ( theWrappedObject->setPdfVersion(version)); +} + +void PythonQtWrapper_QPdfWriter::setResolution(QPdfWriter* theWrappedObject, int resolution) +{ + ( theWrappedObject->setResolution(resolution)); +} + +void PythonQtWrapper_QPdfWriter::setTitle(QPdfWriter* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setTitle(title)); +} + +QString PythonQtWrapper_QPdfWriter::title(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + + + +PythonQtShell_QPicture::~PythonQtShell_QPicture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPicture::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::devType(); +} +void PythonQtShell_QPicture::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPicture::initPainter(painter0); +} +int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&m0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::metric(m0); +} +QPaintEngine* PythonQtShell_QPicture::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::paintEngine(); +} +QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::redirected(offset0); +} +QPainter* PythonQtShell_QPicture::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::sharedPainter(); +} +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); } + +QRect PythonQtWrapper_QPicture::boundingRect(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +bool PythonQtWrapper_QPicture::isNull(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, QIODevice* dev, const char* format) +{ + return ( theWrappedObject->load(dev, format)); +} + +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); +} + +void PythonQtWrapper_QPicture::readFrom(QPicture* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QPicture::play(QPicture* theWrappedObject, QPainter* p) +{ + return ( theWrappedObject->play(p)); +} + +bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, QIODevice* dev, const char* format) +{ + return ( theWrappedObject->save(dev, format)); +} + +bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, const QString& fileName, const char* format) +{ + return ( theWrappedObject->save(fileName, format)); +} + +void PythonQtWrapper_QPicture::setBoundingRect(QPicture* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->setBoundingRect(r)); +} + +uint PythonQtWrapper_QPicture::size(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPicture::swap(QPicture* theWrappedObject, QPicture& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPictureFormatPlugin::childEvent(event0); +} +void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPictureFormatPlugin::customEvent(event0); +} +bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPictureFormatPlugin::event(event0); +} +bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPictureFormatPlugin::eventFilter(watched0, event1); +} +bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("installIOHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadPicture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); +} +bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("savePicture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPictureFormatPlugin::savePicture(format0, filename1, pic2); +} +void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPictureFormatPlugin::timerEvent(event0); +} +QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) +{ +return new PythonQtShell_QPictureFormatPlugin(parent); } + +const QMetaObject* PythonQtShell_QPictureFormatPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPictureFormatPlugin::staticMetaObject); + } else { + return &QPictureFormatPlugin::staticMetaObject; + } +} +int PythonQtShell_QPictureFormatPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPictureFormatPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QPictureFormatPlugin::installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format) +{ + return ( theWrappedObject->installIOHandler(format)); +} + +bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) +{ + return ( theWrappedObject->loadPicture(format, filename, pic)); +} + +bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) +{ + return ( theWrappedObject->savePicture(format, filename, pic)); +} + + + +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); } + +QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); +} + +QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() +{ + return (QPictureIO::inputFormats()); +} + +QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->ioDevice()); +} + +QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() +{ + return (QPictureIO::outputFormats()); +} + +const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->parameters()); +} + +const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const +{ + return &( theWrappedObject->picture()); +} + +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) +{ + return (QPictureIO::pictureFormat(arg__1)); +} + +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) +{ + return (QPictureIO::pictureFormat(fileName)); +} + +int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) +{ + return ( theWrappedObject->read()); +} + +void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setDescription(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setFileName(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) +{ + ( theWrappedObject->setFormat(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) +{ + ( theWrappedObject->setGamma(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) +{ + ( theWrappedObject->setIODevice(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) +{ + ( theWrappedObject->setParameters(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) +{ + ( theWrappedObject->setPicture(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setQuality(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setStatus(arg__1)); +} + +int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) +{ + return ( theWrappedObject->write()); +} + + + +PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPinchGesture::childEvent(event0); +} +void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPinchGesture::customEvent(event0); +} +bool PythonQtShell_QPinchGesture::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPinchGesture::event(event0); +} +bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPinchGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPinchGesture::timerEvent(event0); +} +QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) +{ +return new PythonQtShell_QPinchGesture(parent); } + +const QMetaObject* PythonQtShell_QPinchGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPinchGesture::staticMetaObject); + } else { + return &QPinchGesture::staticMetaObject; + } +} +int PythonQtShell_QPinchGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPinchGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->centerPoint()); +} + +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::changeFlags(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->changeFlags()); +} + +QPointF PythonQtWrapper_QPinchGesture::lastCenterPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastCenterPoint()); +} + +qreal PythonQtWrapper_QPinchGesture::lastRotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastRotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::lastScaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastScaleFactor()); +} + +qreal PythonQtWrapper_QPinchGesture::rotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->rotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::scaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->scaleFactor()); +} + +void PythonQtWrapper_QPinchGesture::setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) +{ + ( theWrappedObject->setChangeFlags(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setLastCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setLastRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setLastScaleFactor(value)); +} + +void PythonQtWrapper_QPinchGesture::setRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setScaleFactor(value)); +} + +void PythonQtWrapper_QPinchGesture::setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setStartCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) +{ + ( theWrappedObject->setTotalChangeFlags(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setTotalRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setTotalScaleFactor(value)); +} + +QPointF PythonQtWrapper_QPinchGesture::startCenterPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->startCenterPoint()); +} + +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::totalChangeFlags(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalChangeFlags()); +} + +qreal PythonQtWrapper_QPinchGesture::totalRotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalRotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::totalScaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalScaleFactor()); +} + + + +QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat() +{ +return new QPixelFormat(); } + +QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat(QPixelFormat::ColorModel colorModel, uchar firstSize, uchar secondSize, uchar thirdSize, uchar fourthSize, uchar fifthSize, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder, uchar subEnum) +{ +return new QPixelFormat(colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, subEnum); } + +QPixelFormat::AlphaPosition PythonQtWrapper_QPixelFormat::alphaPosition(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaPosition()); +} + +uchar PythonQtWrapper_QPixelFormat::alphaSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaSize()); +} + +QPixelFormat::AlphaUsage PythonQtWrapper_QPixelFormat::alphaUsage(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaUsage()); +} + +uchar PythonQtWrapper_QPixelFormat::bitsPerPixel(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->bitsPerPixel()); +} + +uchar PythonQtWrapper_QPixelFormat::blackSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->blackSize()); +} + +uchar PythonQtWrapper_QPixelFormat::blueSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->blueSize()); +} + +uchar PythonQtWrapper_QPixelFormat::brightnessSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->brightnessSize()); +} + +QPixelFormat::ByteOrder PythonQtWrapper_QPixelFormat::byteOrder(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->byteOrder()); +} + +uchar PythonQtWrapper_QPixelFormat::channelCount(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->channelCount()); +} + +QPixelFormat::ColorModel PythonQtWrapper_QPixelFormat::colorModel(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->colorModel()); +} + +uchar PythonQtWrapper_QPixelFormat::cyanSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->cyanSize()); +} + +uchar PythonQtWrapper_QPixelFormat::greenSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->greenSize()); +} + +uchar PythonQtWrapper_QPixelFormat::hueSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->hueSize()); +} + +uchar PythonQtWrapper_QPixelFormat::lightnessSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->lightnessSize()); +} + +uchar PythonQtWrapper_QPixelFormat::magentaSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->magentaSize()); +} + +QPixelFormat::AlphaPremultiplied PythonQtWrapper_QPixelFormat::premultiplied(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->premultiplied()); +} + +uchar PythonQtWrapper_QPixelFormat::redSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->redSize()); +} + +uchar PythonQtWrapper_QPixelFormat::saturationSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->saturationSize()); +} + +uchar PythonQtWrapper_QPixelFormat::subEnum(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->subEnum()); +} + +QPixelFormat::TypeInterpretation PythonQtWrapper_QPixelFormat::typeInterpretation(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->typeInterpretation()); +} + +uchar PythonQtWrapper_QPixelFormat::yellowSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->yellowSize()); +} + +QPixelFormat::YUVLayout PythonQtWrapper_QPixelFormat::yuvLayout(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->yuvLayout()); +} + + + +PythonQtShell_QPixmapCache::~PythonQtShell_QPixmapCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPixmapCache* PythonQtWrapper_QPixmapCache::new_QPixmapCache() +{ +return new PythonQtShell_QPixmapCache(); } + +int PythonQtWrapper_QPixmapCache::static_QPixmapCache_cacheLimit() +{ + return (QPixmapCache::cacheLimit()); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_clear() +{ + (QPixmapCache::clear()); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap& pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +QPixmapCache::Key PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QPixmap& pixmap) +{ + return (QPixmapCache::insert(pixmap)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap) +{ + return (QPixmapCache::insert(key, pixmap)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QPixmapCache::Key& key) +{ + (QPixmapCache::remove(key)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QString& key) +{ + (QPixmapCache::remove(key)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap) +{ + return (QPixmapCache::replace(key, pixmap)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_setCacheLimit(int arg__1) +{ + (QPixmapCache::setCacheLimit(arg__1)); +} + + + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key() +{ +return new QPixmapCache::Key(); } + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key(const QPixmapCache::Key& other) +{ +return new QPixmapCache::Key(other); } + +bool PythonQtWrapper_QPixmapCache__Key::isValid(QPixmapCache::Key* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QPixmapCache__Key::__ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const +{ + return ( (*theWrappedObject)!= key); +} + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPixmapCache__Key::__eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const +{ + return ( (*theWrappedObject)== key); +} + +void PythonQtWrapper_QPixmapCache__Key::swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("blockBoundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::blockBoundingRect(block0); +} +void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::childEvent(event0); +} +void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::customEvent(event0); +} +void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::documentChanged(from0, arg__2, charsAdded2); +} +QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("documentSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizeF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::documentSize(); +} +void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("draw"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::draw(arg__1, arg__2); +} +void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("drawInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + void* args[6] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); +} +bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::event(event0); +} +bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::eventFilter(watched0, event1); +} +QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("frameBoundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::frameBoundingRect(arg__1); +} +int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitTest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); +} +int PythonQtShell_QPlainTextDocumentLayout::pageCount() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pageCount"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextDocumentLayout::pageCount(); +} +void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("positionInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); +} +void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeInlineObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); +} +void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextDocumentLayout::timerEvent(event0); +} +QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) +{ +return new PythonQtShell_QPlainTextDocumentLayout(document); } + +const QMetaObject* PythonQtShell_QPlainTextDocumentLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextDocumentLayout::staticMetaObject); + } else { + return &QPlainTextDocumentLayout::staticMetaObject; + } +} +int PythonQtShell_QPlainTextDocumentLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPlainTextDocumentLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +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()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + + + +PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::actionEvent(event0); +} +bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canInsertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::canInsertFromMimeData(source0); +} +void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::changeEvent(e0); +} +void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::childEvent(event0); +} +void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::closeEvent(event0); +} +void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::contextMenuEvent(e0); +} +QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createMimeDataFromSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::createMimeDataFromSelection(); +} +void PythonQtShell_QPlainTextEdit::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::customEvent(event0); +} +int PythonQtShell_QPlainTextEdit::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::devType(); +} +void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("doSetTextCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&cursor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::doSetTextCursor(cursor0); +} +void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::dragEnterEvent(e0); +} +void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::dragLeaveEvent(e0); +} +void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::dragMoveEvent(e0); +} +void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::dropEvent(e0); +} +void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::enterEvent(event0); +} +bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::event(e0); +} +bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::focusInEvent(e0); +} +bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::focusNextPrevChild(next0); +} +void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::focusOutEvent(e0); +} +bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::hasHeightForWidth(); +} +int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::heightForWidth(arg__1); +} +void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::hideEvent(event0); +} +void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::initPainter(painter0); +} +void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::inputMethodQuery(property0); +} +void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::insertFromMimeData(source0); +} +void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::keyPressEvent(e0); +} +void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::keyReleaseEvent(e0); +} +void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::leaveEvent(event0); +} +QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::loadResource(type0, name1); +} +int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::metric(arg__1); +} +QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::minimumSizeHint(); +} +void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::mouseDoubleClickEvent(e0); +} +void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::mouseMoveEvent(e0); +} +void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::mousePressEvent(e0); +} +void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::mouseReleaseEvent(e0); +} +void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::moveEvent(event0); +} +bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::paintEngine(); +} +void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::redirected(offset0); +} +void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::resizeEvent(e0); +} +void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::setVisible(visible0); +} +void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::setupViewport(viewport0); +} +QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::sharedPainter(); +} +void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::showEvent(arg__1); +} +QSize PythonQtShell_QPlainTextEdit::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::sizeHint(); +} +void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::tabletEvent(event0); +} +void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::timerEvent(e0); +} +bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::viewportEvent(arg__1); +} +QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPlainTextEdit::viewportSizeHint(); +} +void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPlainTextEdit::wheelEvent(e0); +} +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); } + +const QMetaObject* PythonQtShell_QPlainTextEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextEdit::staticMetaObject); + } else { + return &QPlainTextEdit::staticMetaObject; + } +} +int PythonQtShell_QPlainTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPlainTextEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QPlainTextEdit::anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->anchorAt(pos)); +} + +bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->backgroundVisible()); +} + +QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingGeometry(block)); +} + +QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingRect(block)); +} + +int PythonQtWrapper_QPlainTextEdit::blockCount(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->blockCount()); +} + +bool PythonQtWrapper_QPlainTextEdit::canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); +} + +bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->canPaste()); +} + +bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->centerOnScroll()); +} + +QPointF PythonQtWrapper_QPlainTextEdit::contentOffset(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contentOffset()); +} + +QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); +} + +QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position) +{ + return ( theWrappedObject->createStandardContextMenu(position)); +} + +QTextCharFormat PythonQtWrapper_QPlainTextEdit::currentCharFormat(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->currentCharFormat()); +} + +QTextCursor PythonQtWrapper_QPlainTextEdit::cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->cursorForPosition(pos)); +} + +QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorRect()); +} + +QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const +{ + return ( theWrappedObject->cursorRect(cursor)); +} + +int PythonQtWrapper_QPlainTextEdit::cursorWidth(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->cursorWidth()); +} + +void PythonQtWrapper_QPlainTextEdit::doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); +} + +QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->documentTitle()); +} + +void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) +{ + ( theWrappedObject->ensureCursorVisible()); +} + +QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->extraSelections()); +} + +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +{ + return ( theWrappedObject->find(exp, options)); +} + +QTextBlock PythonQtWrapper_QPlainTextEdit::firstVisibleBlock(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_firstVisibleBlock()); +} + +QAbstractTextDocumentLayout::PaintContext PythonQtWrapper_QPlainTextEdit::getPaintContext(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_getPaintContext()); +} + +QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +{ + return ( theWrappedObject->inputMethodQuery(query, argument)); +} + +void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); +} + +bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isReadOnly()); +} + +bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isUndoRedoEnabled()); +} + +QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->lineWrapMode()); +} + +QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) +{ + return ( theWrappedObject->loadResource(type, name)); +} + +int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->maximumBlockCount()); +} + +void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCurrentCharFormat(modifier)); +} + +void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +{ + ( theWrappedObject->moveCursor(operation, mode)); +} + +bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->overwriteMode()); +} + +QString PythonQtWrapper_QPlainTextEdit::placeholderText(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->placeholderText()); +} + +void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +{ + ( theWrappedObject->print(printer)); +} + +void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) +{ + ( theWrappedObject->setBackgroundVisible(visible)); +} + +void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setCenterOnScroll(enabled)); +} + +void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCurrentCharFormat(format)); +} + +void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + +void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) +{ + ( theWrappedObject->setDocument(document)); +} + +void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setDocumentTitle(title)); +} + +void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) +{ + ( theWrappedObject->setExtraSelections(selections)); +} + +void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) +{ + ( theWrappedObject->setLineWrapMode(mode)); +} + +void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) +{ + ( theWrappedObject->setMaximumBlockCount(maximum)); +} + +void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) +{ + ( theWrappedObject->setOverwriteMode(overwrite)); +} + +void PythonQtWrapper_QPlainTextEdit::setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText) +{ + ( theWrappedObject->setPlaceholderText(placeholderText)); +} + +void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); +} + +void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} + +void PythonQtWrapper_QPlainTextEdit::setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance) +{ + ( theWrappedObject->setTabStopDistance(distance)); +} + +void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setTabStopWidth(width)); +} + +void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->setTextCursor(cursor)); +} + +void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +{ + ( theWrappedObject->setTextInteractionFlags(flags)); +} + +void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); +} + +void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) +{ + ( theWrappedObject->setWordWrapMode(policy)); +} + +bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); +} + +qreal PythonQtWrapper_QPlainTextEdit::tabStopDistance(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopDistance()); +} + +int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopWidth()); +} + +QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textCursor()); +} + +Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); +} + +QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->wordWrapMode()); +} + +void PythonQtWrapper_QPlainTextEdit::zoomInF(QPlainTextEdit* theWrappedObject, float range) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_zoomInF(range)); +} + + + +PythonQtShell_QPlatformSurfaceEvent::~PythonQtShell_QPlatformSurfaceEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPlatformSurfaceEvent* PythonQtWrapper_QPlatformSurfaceEvent::new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType) +{ +return new PythonQtShell_QPlatformSurfaceEvent(surfaceEventType); } + +QPlatformSurfaceEvent::SurfaceEventType PythonQtWrapper_QPlatformSurfaceEvent::surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const +{ + return ( theWrappedObject->surfaceEventType()); +} + + + +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); } + +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->append(t)); +} + +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QVector& l) +{ + ( theWrappedObject->append(l)); +} + +const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QPointF* PythonQtWrapper_QPolygonF::constFirst(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QPointF* PythonQtWrapper_QPolygonF::constLast(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->contains(t)); +} + +bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const +{ + return ( theWrappedObject->containsPoint(pt, fillRule)); +} + +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->count(t)); +} + +bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QPolygonF::endsWith(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) +{ + return &( theWrappedObject->fill(t, size)); +} + +const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) +{ + return (QPolygonF::fromList(list)); +} + +int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QPolygonF::intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->isClosed()); +} + +bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QPolygonF::isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QPolygonF::length(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int len) const +{ + return ( theWrappedObject->mid(pos, len)); +} + +void PythonQtWrapper_QPolygonF::move(QPolygonF* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QPolygonF::__ne__(QPolygonF* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)!= v); +} + +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) +{ + stream << (*theWrappedObject); +} + +QPolygonF* PythonQtWrapper_QPolygonF::operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPolygonF::__eq__(QPolygonF* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)== v); +} + +void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) +{ + stream >> (*theWrappedObject); +} + +void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->prepend(t)); +} + +void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->push_back(t)); +} + +void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->push_front(t)); +} + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); +} + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) +{ + ( theWrappedObject->remove(i, n)); +} + +int PythonQtWrapper_QPolygonF::removeAll(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QPolygonF::removeAt(QPolygonF* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QPolygonF::removeFirst(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QPolygonF::removeLast(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QPolygonF::removeOne(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +void PythonQtWrapper_QPolygonF::shrink_to_fit(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QPolygonF::startsWith(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +void PythonQtWrapper_QPolygonF::swap(QPolygonF* theWrappedObject, QPolygonF& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QPolygonF::swapItemsAt(QPolygonF* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swapItemsAt(i, j)); +} + +QPointF PythonQtWrapper_QPolygonF::takeAt(QPolygonF* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QPointF PythonQtWrapper_QPolygonF::takeFirst(QPolygonF* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QPointF PythonQtWrapper_QPolygonF::takeLast(QPolygonF* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->toList()); +} + +QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->toPolygon()); +} + +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::translated(QPolygonF* theWrappedObject, const QPointF& offset) const +{ + return ( theWrappedObject->translated(offset)); +} + +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->united(r)); +} + +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const +{ + return ( theWrappedObject->value(i, defaultValue)); +} + +QString PythonQtWrapper_QPolygonF::py_toString(QPolygonF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::accept(); +} +void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::actionEvent(event0); +} +void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::changeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::childEvent(event0); +} +void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::closeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::customEvent(event0); +} +int PythonQtShell_QPrintDialog::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::devType(); +} +void PythonQtShell_QPrintDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::done(result0); +} +void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::dragEnterEvent(event0); +} +void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::dragMoveEvent(event0); +} +void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::dropEvent(event0); +} +void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::enterEvent(event0); +} +bool PythonQtShell_QPrintDialog::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::event(event0); +} +bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPrintDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::exec(); +} +void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::focusInEvent(event0); +} +bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPrintDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::hasHeightForWidth(); +} +int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::hideEvent(event0); +} +void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::initPainter(painter0); +} +void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::leaveEvent(event0); +} +int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::metric(arg__1); +} +QSize PythonQtShell_QPrintDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::minimumSizeHint(); +} +void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::mousePressEvent(event0); +} +void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::moveEvent(event0); +} +bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::paintEngine(); +} +void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::redirected(offset0); +} +void PythonQtShell_QPrintDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::reject(); +} +void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPrintDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QPrintDialog::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::sharedPainter(); +} +void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::showEvent(arg__1); +} +QSize PythonQtShell_QPrintDialog::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::sizeHint(); +} +void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::tabletEvent(event0); +} +void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::timerEvent(event0); +} +void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::wheelEvent(event0); +} +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(printer, parent); } + +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(parent); } + +const QMetaObject* PythonQtShell_QPrintDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintDialog::staticMetaObject); + } else { + return &QPrintDialog::staticMetaObject; + } +} +int PythonQtShell_QPrintDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + + + +PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QPrintEngine::abort() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("abort"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +bool PythonQtShell_QPrintEngine::newPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("newPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("printerState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPrinter::PrinterState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPrinter::PrinterState returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); + } else { + returnValue = *((QPrinter::PrinterState*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrinter::PrinterState(); +} +QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("property"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() +{ +return new PythonQtShell_QPrintEngine(); } + +bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) +{ + return ( theWrappedObject->abort()); +} + +int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +{ + return ( theWrappedObject->metric(arg__1)); +} + +bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) +{ + return ( theWrappedObject->newPage()); +} + +QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const +{ + return ( theWrappedObject->printerState()); +} + +QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const +{ + return ( theWrappedObject->property(key)); +} + +void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) +{ + ( theWrappedObject->setProperty(key, value)); +} + + + +PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintPreviewDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("accept"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::accept(); +} +void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::actionEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::changeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::childEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::closeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::customEvent(event0); +} +int PythonQtShell_QPrintPreviewDialog::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::devType(); +} +void PythonQtShell_QPrintPreviewDialog::done(int result0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("done"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&result0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::done(result0); +} +void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::dragEnterEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::dragMoveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::dropEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::enterEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::event(event0); +} +bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::eventFilter(arg__1, arg__2); +} +int PythonQtShell_QPrintPreviewDialog::exec() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exec"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::exec(); +} +void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::focusInEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::focusNextPrevChild(next0); +} +void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::hasHeightForWidth(); +} +int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::heightForWidth(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::hideEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::initPainter(painter0); +} +void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::inputMethodQuery(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::keyPressEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::leaveEvent(event0); +} +int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::metric(arg__1); +} +QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::minimumSizeHint(); +} +void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::mouseMoveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::mousePressEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::moveEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::paintEngine(); +} +void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::redirected(offset0); +} +void PythonQtShell_QPrintPreviewDialog::reject() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::reject(); +} +void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::resizeEvent(arg__1); +} +void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::setVisible(visible0); +} +QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::sharedPainter(); +} +void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::showEvent(arg__1); +} +QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintPreviewDialog::sizeHint(); +} +void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::tabletEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::timerEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::wheelEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QPrintPreviewDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewDialog::staticMetaObject); + } else { + return &QPrintPreviewDialog::staticMetaObject; + } +} +int PythonQtShell_QPrintPreviewDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintPreviewDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.h new file mode 100644 index 00000000..0e5b534c --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.h @@ -0,0 +1,2124 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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 = nullptr):QPageSetupDialog(printer, parent),_wrapper(nullptr) {}; + PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPageSetupDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPageSetupDialog : public QPageSetupDialog +{ public: +inline void py_q_done(int result) { QPageSetupDialog::done(result); } +inline int py_q_exec() { return QPageSetupDialog::exec(); } +}; + +class PythonQtWrapper_QPageSetupDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr); +QPageSetupDialog* new_QPageSetupDialog(QWidget* parent = nullptr); +void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } + void py_q_done(QPageSetupDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_done(result));} + int py_q_exec(QPageSetupDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_exec());} + void open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member); + QPrinter* printer(QPageSetupDialog* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QPageSize : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PageSizeId SizeMatchPolicy Unit ) +enum PageSizeId{ + A4 = QPageSize::A4, B5 = QPageSize::B5, Letter = QPageSize::Letter, Legal = QPageSize::Legal, Executive = QPageSize::Executive, A0 = QPageSize::A0, A1 = QPageSize::A1, A2 = QPageSize::A2, A3 = QPageSize::A3, A5 = QPageSize::A5, A6 = QPageSize::A6, A7 = QPageSize::A7, A8 = QPageSize::A8, A9 = QPageSize::A9, B0 = QPageSize::B0, B1 = QPageSize::B1, B10 = QPageSize::B10, B2 = QPageSize::B2, B3 = QPageSize::B3, B4 = QPageSize::B4, B6 = QPageSize::B6, B7 = QPageSize::B7, B8 = QPageSize::B8, B9 = QPageSize::B9, C5E = QPageSize::C5E, Comm10E = QPageSize::Comm10E, DLE = QPageSize::DLE, Folio = QPageSize::Folio, Ledger = QPageSize::Ledger, Tabloid = QPageSize::Tabloid, Custom = QPageSize::Custom, A10 = QPageSize::A10, A3Extra = QPageSize::A3Extra, A4Extra = QPageSize::A4Extra, A4Plus = QPageSize::A4Plus, A4Small = QPageSize::A4Small, A5Extra = QPageSize::A5Extra, B5Extra = QPageSize::B5Extra, JisB0 = QPageSize::JisB0, JisB1 = QPageSize::JisB1, JisB2 = QPageSize::JisB2, JisB3 = QPageSize::JisB3, JisB4 = QPageSize::JisB4, JisB5 = QPageSize::JisB5, JisB6 = QPageSize::JisB6, JisB7 = QPageSize::JisB7, JisB8 = QPageSize::JisB8, JisB9 = QPageSize::JisB9, JisB10 = QPageSize::JisB10, AnsiC = QPageSize::AnsiC, AnsiD = QPageSize::AnsiD, AnsiE = QPageSize::AnsiE, LegalExtra = QPageSize::LegalExtra, LetterExtra = QPageSize::LetterExtra, LetterPlus = QPageSize::LetterPlus, LetterSmall = QPageSize::LetterSmall, TabloidExtra = QPageSize::TabloidExtra, ArchA = QPageSize::ArchA, ArchB = QPageSize::ArchB, ArchC = QPageSize::ArchC, ArchD = QPageSize::ArchD, ArchE = QPageSize::ArchE, Imperial7x9 = QPageSize::Imperial7x9, Imperial8x10 = QPageSize::Imperial8x10, Imperial9x11 = QPageSize::Imperial9x11, Imperial9x12 = QPageSize::Imperial9x12, Imperial10x11 = QPageSize::Imperial10x11, Imperial10x13 = QPageSize::Imperial10x13, Imperial10x14 = QPageSize::Imperial10x14, Imperial12x11 = QPageSize::Imperial12x11, Imperial15x11 = QPageSize::Imperial15x11, ExecutiveStandard = QPageSize::ExecutiveStandard, Note = QPageSize::Note, Quarto = QPageSize::Quarto, Statement = QPageSize::Statement, SuperA = QPageSize::SuperA, SuperB = QPageSize::SuperB, Postcard = QPageSize::Postcard, DoublePostcard = QPageSize::DoublePostcard, Prc16K = QPageSize::Prc16K, Prc32K = QPageSize::Prc32K, Prc32KBig = QPageSize::Prc32KBig, FanFoldUS = QPageSize::FanFoldUS, FanFoldGerman = QPageSize::FanFoldGerman, FanFoldGermanLegal = QPageSize::FanFoldGermanLegal, EnvelopeB4 = QPageSize::EnvelopeB4, EnvelopeB5 = QPageSize::EnvelopeB5, EnvelopeB6 = QPageSize::EnvelopeB6, EnvelopeC0 = QPageSize::EnvelopeC0, EnvelopeC1 = QPageSize::EnvelopeC1, EnvelopeC2 = QPageSize::EnvelopeC2, EnvelopeC3 = QPageSize::EnvelopeC3, EnvelopeC4 = QPageSize::EnvelopeC4, EnvelopeC6 = QPageSize::EnvelopeC6, EnvelopeC65 = QPageSize::EnvelopeC65, EnvelopeC7 = QPageSize::EnvelopeC7, Envelope9 = QPageSize::Envelope9, Envelope11 = QPageSize::Envelope11, Envelope12 = QPageSize::Envelope12, Envelope14 = QPageSize::Envelope14, EnvelopeMonarch = QPageSize::EnvelopeMonarch, EnvelopePersonal = QPageSize::EnvelopePersonal, EnvelopeChou3 = QPageSize::EnvelopeChou3, EnvelopeChou4 = QPageSize::EnvelopeChou4, EnvelopeInvite = QPageSize::EnvelopeInvite, EnvelopeItalian = QPageSize::EnvelopeItalian, EnvelopeKaku2 = QPageSize::EnvelopeKaku2, EnvelopeKaku3 = QPageSize::EnvelopeKaku3, EnvelopePrc1 = QPageSize::EnvelopePrc1, EnvelopePrc2 = QPageSize::EnvelopePrc2, EnvelopePrc3 = QPageSize::EnvelopePrc3, EnvelopePrc4 = QPageSize::EnvelopePrc4, EnvelopePrc5 = QPageSize::EnvelopePrc5, EnvelopePrc6 = QPageSize::EnvelopePrc6, EnvelopePrc7 = QPageSize::EnvelopePrc7, EnvelopePrc8 = QPageSize::EnvelopePrc8, EnvelopePrc9 = QPageSize::EnvelopePrc9, EnvelopePrc10 = QPageSize::EnvelopePrc10, EnvelopeYou4 = QPageSize::EnvelopeYou4, LastPageSize = QPageSize::LastPageSize, NPageSize = QPageSize::NPageSize, NPaperSize = QPageSize::NPaperSize, AnsiA = QPageSize::AnsiA, AnsiB = QPageSize::AnsiB, EnvelopeC5 = QPageSize::EnvelopeC5, EnvelopeDL = QPageSize::EnvelopeDL, Envelope10 = QPageSize::Envelope10}; +enum SizeMatchPolicy{ + FuzzyMatch = QPageSize::FuzzyMatch, FuzzyOrientationMatch = QPageSize::FuzzyOrientationMatch, ExactMatch = QPageSize::ExactMatch}; +enum Unit{ + Millimeter = QPageSize::Millimeter, Point = QPageSize::Point, Inch = QPageSize::Inch, Pica = QPageSize::Pica, Didot = QPageSize::Didot, Cicero = QPageSize::Cicero}; +public slots: +QPageSize* new_QPageSize(); +QPageSize* new_QPageSize(QPageSize::PageSizeId pageSizeId); +QPageSize* new_QPageSize(const QPageSize& other); +QPageSize* new_QPageSize(const QSize& pointSize, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); +QPageSize* new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); +void delete_QPageSize(QPageSize* obj) { delete obj; } + QSizeF definitionSize(QPageSize* theWrappedObject) const; + QSizeF static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId); + QPageSize::Unit definitionUnits(QPageSize* theWrappedObject) const; + QPageSize::Unit static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId); + QPageSize::PageSizeId id(QPageSize* theWrappedObject) const; + QPageSize::PageSizeId static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize::PageSizeId static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize::PageSizeId static_QPageSize_id(int windowsId); + bool isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const; + bool isValid(QPageSize* theWrappedObject) const; + QString key(QPageSize* theWrappedObject) const; + QString static_QPageSize_key(QPageSize::PageSizeId pageSizeId); + QString name(QPageSize* theWrappedObject) const; + QString static_QPageSize_name(QPageSize::PageSizeId pageSizeId); + bool __ne__(QPageSize* theWrappedObject, const QPageSize& rhs); + QPageSize* operator_assign(QPageSize* theWrappedObject, const QPageSize& other); + bool __eq__(QPageSize* theWrappedObject, const QPageSize& rhs); + QRectF rect(QPageSize* theWrappedObject, QPageSize::Unit units) const; + QRect rectPixels(QPageSize* theWrappedObject, int resolution) const; + QRect rectPoints(QPageSize* theWrappedObject) const; + QSizeF static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units); + QSizeF size(QPageSize* theWrappedObject, QPageSize::Unit units) const; + QSize static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution); + QSize sizePixels(QPageSize* theWrappedObject, int resolution) const; + QSize sizePoints(QPageSize* theWrappedObject) const; + QSize static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId); + void swap(QPageSize* theWrappedObject, QPageSize& other); + int windowsId(QPageSize* theWrappedObject) const; + int static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId); + QString py_toString(QPageSize*); + bool __nonzero__(QPageSize* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QPagedPaintDevice : public QPagedPaintDevice +{ +public: + PythonQtShell_QPagedPaintDevice():QPagedPaintDevice(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPagedPaintDevice() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +bool newPage() override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +void setMargins(const QPagedPaintDevice::Margins& margins) override; +void setPageSize(QPagedPaintDevice::PageSize size) override; +void setPageSizeMM(const QSizeF& size) override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPagedPaintDevice : public QPagedPaintDevice +{ public: +inline QPageLayout& promoted_devicePageLayout() { return this->devicePageLayout(); } +inline bool py_q_newPage() { return this->newPage(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& margins) { QPagedPaintDevice::setMargins(margins); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPagedPaintDevice::setPageSize(size); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPagedPaintDevice::setPageSizeMM(size); } +}; + +class PythonQtWrapper_QPagedPaintDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PageSize PdfVersion ) +enum PageSize{ + A4 = QPagedPaintDevice::A4, B5 = QPagedPaintDevice::B5, Letter = QPagedPaintDevice::Letter, Legal = QPagedPaintDevice::Legal, Executive = QPagedPaintDevice::Executive, A0 = QPagedPaintDevice::A0, A1 = QPagedPaintDevice::A1, A2 = QPagedPaintDevice::A2, A3 = QPagedPaintDevice::A3, A5 = QPagedPaintDevice::A5, A6 = QPagedPaintDevice::A6, A7 = QPagedPaintDevice::A7, A8 = QPagedPaintDevice::A8, A9 = QPagedPaintDevice::A9, B0 = QPagedPaintDevice::B0, B1 = QPagedPaintDevice::B1, B10 = QPagedPaintDevice::B10, B2 = QPagedPaintDevice::B2, B3 = QPagedPaintDevice::B3, B4 = QPagedPaintDevice::B4, B6 = QPagedPaintDevice::B6, B7 = QPagedPaintDevice::B7, B8 = QPagedPaintDevice::B8, B9 = QPagedPaintDevice::B9, C5E = QPagedPaintDevice::C5E, Comm10E = QPagedPaintDevice::Comm10E, DLE = QPagedPaintDevice::DLE, Folio = QPagedPaintDevice::Folio, Ledger = QPagedPaintDevice::Ledger, Tabloid = QPagedPaintDevice::Tabloid, Custom = QPagedPaintDevice::Custom, A10 = QPagedPaintDevice::A10, A3Extra = QPagedPaintDevice::A3Extra, A4Extra = QPagedPaintDevice::A4Extra, A4Plus = QPagedPaintDevice::A4Plus, A4Small = QPagedPaintDevice::A4Small, A5Extra = QPagedPaintDevice::A5Extra, B5Extra = QPagedPaintDevice::B5Extra, JisB0 = QPagedPaintDevice::JisB0, JisB1 = QPagedPaintDevice::JisB1, JisB2 = QPagedPaintDevice::JisB2, JisB3 = QPagedPaintDevice::JisB3, JisB4 = QPagedPaintDevice::JisB4, JisB5 = QPagedPaintDevice::JisB5, JisB6 = QPagedPaintDevice::JisB6, JisB7 = QPagedPaintDevice::JisB7, JisB8 = QPagedPaintDevice::JisB8, JisB9 = QPagedPaintDevice::JisB9, JisB10 = QPagedPaintDevice::JisB10, AnsiC = QPagedPaintDevice::AnsiC, AnsiD = QPagedPaintDevice::AnsiD, AnsiE = QPagedPaintDevice::AnsiE, LegalExtra = QPagedPaintDevice::LegalExtra, LetterExtra = QPagedPaintDevice::LetterExtra, LetterPlus = QPagedPaintDevice::LetterPlus, LetterSmall = QPagedPaintDevice::LetterSmall, TabloidExtra = QPagedPaintDevice::TabloidExtra, ArchA = QPagedPaintDevice::ArchA, ArchB = QPagedPaintDevice::ArchB, ArchC = QPagedPaintDevice::ArchC, ArchD = QPagedPaintDevice::ArchD, ArchE = QPagedPaintDevice::ArchE, Imperial7x9 = QPagedPaintDevice::Imperial7x9, Imperial8x10 = QPagedPaintDevice::Imperial8x10, Imperial9x11 = QPagedPaintDevice::Imperial9x11, Imperial9x12 = QPagedPaintDevice::Imperial9x12, Imperial10x11 = QPagedPaintDevice::Imperial10x11, Imperial10x13 = QPagedPaintDevice::Imperial10x13, Imperial10x14 = QPagedPaintDevice::Imperial10x14, Imperial12x11 = QPagedPaintDevice::Imperial12x11, Imperial15x11 = QPagedPaintDevice::Imperial15x11, ExecutiveStandard = QPagedPaintDevice::ExecutiveStandard, Note = QPagedPaintDevice::Note, Quarto = QPagedPaintDevice::Quarto, Statement = QPagedPaintDevice::Statement, SuperA = QPagedPaintDevice::SuperA, SuperB = QPagedPaintDevice::SuperB, Postcard = QPagedPaintDevice::Postcard, DoublePostcard = QPagedPaintDevice::DoublePostcard, Prc16K = QPagedPaintDevice::Prc16K, Prc32K = QPagedPaintDevice::Prc32K, Prc32KBig = QPagedPaintDevice::Prc32KBig, FanFoldUS = QPagedPaintDevice::FanFoldUS, FanFoldGerman = QPagedPaintDevice::FanFoldGerman, FanFoldGermanLegal = QPagedPaintDevice::FanFoldGermanLegal, EnvelopeB4 = QPagedPaintDevice::EnvelopeB4, EnvelopeB5 = QPagedPaintDevice::EnvelopeB5, EnvelopeB6 = QPagedPaintDevice::EnvelopeB6, EnvelopeC0 = QPagedPaintDevice::EnvelopeC0, EnvelopeC1 = QPagedPaintDevice::EnvelopeC1, EnvelopeC2 = QPagedPaintDevice::EnvelopeC2, EnvelopeC3 = QPagedPaintDevice::EnvelopeC3, EnvelopeC4 = QPagedPaintDevice::EnvelopeC4, EnvelopeC6 = QPagedPaintDevice::EnvelopeC6, EnvelopeC65 = QPagedPaintDevice::EnvelopeC65, EnvelopeC7 = QPagedPaintDevice::EnvelopeC7, Envelope9 = QPagedPaintDevice::Envelope9, Envelope11 = QPagedPaintDevice::Envelope11, Envelope12 = QPagedPaintDevice::Envelope12, Envelope14 = QPagedPaintDevice::Envelope14, EnvelopeMonarch = QPagedPaintDevice::EnvelopeMonarch, EnvelopePersonal = QPagedPaintDevice::EnvelopePersonal, EnvelopeChou3 = QPagedPaintDevice::EnvelopeChou3, EnvelopeChou4 = QPagedPaintDevice::EnvelopeChou4, EnvelopeInvite = QPagedPaintDevice::EnvelopeInvite, EnvelopeItalian = QPagedPaintDevice::EnvelopeItalian, EnvelopeKaku2 = QPagedPaintDevice::EnvelopeKaku2, EnvelopeKaku3 = QPagedPaintDevice::EnvelopeKaku3, EnvelopePrc1 = QPagedPaintDevice::EnvelopePrc1, EnvelopePrc2 = QPagedPaintDevice::EnvelopePrc2, EnvelopePrc3 = QPagedPaintDevice::EnvelopePrc3, EnvelopePrc4 = QPagedPaintDevice::EnvelopePrc4, EnvelopePrc5 = QPagedPaintDevice::EnvelopePrc5, EnvelopePrc6 = QPagedPaintDevice::EnvelopePrc6, EnvelopePrc7 = QPagedPaintDevice::EnvelopePrc7, EnvelopePrc8 = QPagedPaintDevice::EnvelopePrc8, EnvelopePrc9 = QPagedPaintDevice::EnvelopePrc9, EnvelopePrc10 = QPagedPaintDevice::EnvelopePrc10, EnvelopeYou4 = QPagedPaintDevice::EnvelopeYou4, LastPageSize = QPagedPaintDevice::LastPageSize, NPageSize = QPagedPaintDevice::NPageSize, NPaperSize = QPagedPaintDevice::NPaperSize, AnsiA = QPagedPaintDevice::AnsiA, AnsiB = QPagedPaintDevice::AnsiB, EnvelopeC5 = QPagedPaintDevice::EnvelopeC5, EnvelopeDL = QPagedPaintDevice::EnvelopeDL, Envelope10 = QPagedPaintDevice::Envelope10}; +enum PdfVersion{ + PdfVersion_1_4 = QPagedPaintDevice::PdfVersion_1_4, PdfVersion_A1b = QPagedPaintDevice::PdfVersion_A1b, PdfVersion_1_6 = QPagedPaintDevice::PdfVersion_1_6}; +public slots: +QPagedPaintDevice* new_QPagedPaintDevice(); +void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } + QPageLayout* devicePageLayout(QPagedPaintDevice* theWrappedObject); + QPagedPaintDevice::Margins margins(QPagedPaintDevice* theWrappedObject) const; + bool newPage(QPagedPaintDevice* theWrappedObject); + bool py_q_newPage(QPagedPaintDevice* theWrappedObject){ return (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_newPage());} + QPageLayout pageLayout(QPagedPaintDevice* theWrappedObject) const; + QPagedPaintDevice::PageSize pageSize(QPagedPaintDevice* theWrappedObject) const; + QSizeF pageSizeMM(QPagedPaintDevice* theWrappedObject) const; + void setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins); + void py_q_setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setMargins(margins));} + bool setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout); + bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins); + bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units); + bool setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation); + void setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size); + void py_q_setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSize(size));} + bool setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize); + void setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size); + void py_q_setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSizeMM(size));} +}; + + + + + +class PythonQtShell_QPagedPaintDevice__Margins : public QPagedPaintDevice::Margins +{ +public: + PythonQtShell_QPagedPaintDevice__Margins():QPagedPaintDevice::Margins(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPagedPaintDevice__Margins(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPagedPaintDevice__Margins : public QObject +{ Q_OBJECT +public: +public slots: +QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(); +QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(const QPagedPaintDevice::Margins& other) { +PythonQtShell_QPagedPaintDevice__Margins* a = new PythonQtShell_QPagedPaintDevice__Margins(); +*((QPagedPaintDevice::Margins*)a) = other; +return a; } +void delete_QPagedPaintDevice__Margins(QPagedPaintDevice::Margins* obj) { delete obj; } +void py_set_bottom(QPagedPaintDevice::Margins* theWrappedObject, qreal bottom){ theWrappedObject->bottom = bottom; } +qreal py_get_bottom(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->bottom; } +void py_set_left(QPagedPaintDevice::Margins* theWrappedObject, qreal left){ theWrappedObject->left = left; } +qreal py_get_left(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->left; } +void py_set_right(QPagedPaintDevice::Margins* theWrappedObject, qreal right){ theWrappedObject->right = right; } +qreal py_get_right(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->right; } +void py_set_top(QPagedPaintDevice::Margins* theWrappedObject, qreal top){ theWrappedObject->top = top; } +qreal py_get_top(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->top; } +}; + + + + + +class PythonQtShell_QPaintDevice : public QPaintDevice +{ +public: + PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintDevice() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice +{ public: +inline void promoted_initPainter(QPainter* painter) const { this->initPainter(painter); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintDevice* promoted_redirected(QPoint* offset) const { return this->redirected(offset); } +inline QPainter* promoted_sharedPainter() const { return this->sharedPainter(); } +inline int py_q_devType() const { return QPaintDevice::devType(); } +inline void py_q_initPainter(QPainter* painter) const { QPaintDevice::initPainter(painter); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return this->paintEngine(); } +inline QPaintDevice* py_q_redirected(QPoint* offset) const { return QPaintDevice::redirected(offset); } +inline QPainter* py_q_sharedPainter() const { return QPaintDevice::sharedPainter(); } +}; + +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, PdmDevicePixelRatio = QPaintDevice::PdmDevicePixelRatio, PdmDevicePixelRatioScaled = QPaintDevice::PdmDevicePixelRatioScaled}; +public slots: +QPaintDevice* new_QPaintDevice(); +void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } + int colorCount(QPaintDevice* theWrappedObject) const; + int depth(QPaintDevice* theWrappedObject) const; + int devType(QPaintDevice* theWrappedObject) const; + int py_q_devType(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_devType());} + int devicePixelRatio(QPaintDevice* theWrappedObject) const; + qreal devicePixelRatioF(QPaintDevice* theWrappedObject) const; + qreal static_QPaintDevice_devicePixelRatioFScale(); + int height(QPaintDevice* theWrappedObject) const; + int heightMM(QPaintDevice* theWrappedObject) const; + void initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const; + void py_q_initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const{ (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_initPainter(painter));} + int logicalDpiX(QPaintDevice* theWrappedObject) const; + int logicalDpiY(QPaintDevice* theWrappedObject) const; + int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + int py_q_metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_metric(metric));} + QPaintEngine* paintEngine(QPaintDevice* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_paintEngine());} + bool paintingActive(QPaintDevice* theWrappedObject) const; + int physicalDpiX(QPaintDevice* theWrappedObject) const; + int physicalDpiY(QPaintDevice* theWrappedObject) const; + QPaintDevice* redirected(QPaintDevice* theWrappedObject, QPoint* offset) const; + QPaintDevice* py_q_redirected(QPaintDevice* theWrappedObject, QPoint* offset) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_redirected(offset));} + QPainter* sharedPainter(QPaintDevice* theWrappedObject) const; + QPainter* py_q_sharedPainter(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_sharedPainter());} + int width(QPaintDevice* theWrappedObject) const; + int widthMM(QPaintDevice* theWrappedObject) const; +}; + + + + + +class PythonQtPublicPromoter_QPaintDeviceWindow : public QPaintDeviceWindow +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_exposeEvent(QExposeEvent* arg__1) { this->exposeEvent(arg__1); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline bool py_q_event(QEvent* event) { return QPaintDeviceWindow::event(event); } +inline void py_q_exposeEvent(QExposeEvent* arg__1) { QPaintDeviceWindow::exposeEvent(arg__1); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDeviceWindow::metric(metric); } +inline void py_q_paintEvent(QPaintEvent* event) { QPaintDeviceWindow::paintEvent(event); } +}; + +class PythonQtWrapper_QPaintDeviceWindow : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QPaintDeviceWindow(QPaintDeviceWindow* obj) { delete obj; } + bool py_q_event(QPaintDeviceWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_event(event));} + void py_q_exposeEvent(QPaintDeviceWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} + int py_q_metric(QPaintDeviceWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_metric(metric));} + void paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event); + void py_q_paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_paintEvent(event));} + void update(QPaintDeviceWindow* theWrappedObject, const QRect& rect); + void update(QPaintDeviceWindow* theWrappedObject, const QRegion& region); +}; + + + + + +class PythonQtShell_QPaintEngine : public QPaintEngine +{ +public: + PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()):QPaintEngine(features),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEngine() override; + +bool begin(QPaintDevice* pdev) override; +QPoint coordinateOffset() const override; +void drawEllipse(const QRect& r) override; +void drawEllipse(const QRectF& r) override; +void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) override; +void drawLines(const QLine* lines, int lineCount) override; +void drawLines(const QLineF* lines, int lineCount) override; +void drawPath(const QPainterPath& path) override; +void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) override; +void drawPoints(const QPoint* points, int pointCount) override; +void drawPoints(const QPointF* points, int pointCount) override; +void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; +void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; +void drawRects(const QRect* rects, int rectCount) override; +void drawRects(const QRectF* rects, int rectCount) override; +void drawTextItem(const QPointF& p, const QTextItem& textItem) override; +void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) override; +bool end() override; +QPaintEngine::Type type() const override; +void updateState(const QPaintEngineState& state) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPaintEngine : public QPaintEngine +{ public: +inline bool py_q_begin(QPaintDevice* pdev) { return this->begin(pdev); } +inline QPoint py_q_coordinateOffset() const { return QPaintEngine::coordinateOffset(); } +inline void py_q_drawEllipse(const QRect& r) { QPaintEngine::drawEllipse(r); } +inline void py_q_drawEllipse(const QRectF& r) { QPaintEngine::drawEllipse(r); } +inline void py_q_drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) { QPaintEngine::drawImage(r, pm, sr, flags); } +inline void py_q_drawLines(const QLine* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void py_q_drawLines(const QLineF* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void py_q_drawPath(const QPainterPath& path) { QPaintEngine::drawPath(path); } +inline void py_q_drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) { this->drawPixmap(r, pm, sr); } +inline void py_q_drawPoints(const QPoint* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void py_q_drawPoints(const QPointF* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void py_q_drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void py_q_drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void py_q_drawRects(const QRect* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void py_q_drawRects(const QRectF* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void py_q_drawTextItem(const QPointF& p, const QTextItem& textItem) { QPaintEngine::drawTextItem(p, textItem); } +inline void py_q_drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) { QPaintEngine::drawTiledPixmap(r, pixmap, s); } +inline bool py_q_end() { return this->end(); } +inline QPaintEngine::Type py_q_type() const { return this->type(); } +inline void py_q_updateState(const QPaintEngineState& state) { this->updateState(state); } +}; + +class PythonQtWrapper_QPaintEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DirtyFlag PaintEngineFeature PolygonDrawMode Type ) +Q_FLAGS(DirtyFlags PaintEngineFeatures ) +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}; +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, RasterOpModes = QPaintEngine::RasterOpModes, PaintOutsidePaintEvent = QPaintEngine::PaintOutsidePaintEvent, AllFeatures = QPaintEngine::AllFeatures}; +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, OpenVG = QPaintEngine::OpenVG, OpenGL2 = QPaintEngine::OpenGL2, PaintBuffer = QPaintEngine::PaintBuffer, Blitter = QPaintEngine::Blitter, Direct2D = QPaintEngine::Direct2D, User = QPaintEngine::User, MaxUser = QPaintEngine::MaxUser}; +Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag) +Q_DECLARE_FLAGS(PaintEngineFeatures, PaintEngineFeature) +public slots: +QPaintEngine* new_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()); +void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } + bool begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev); + bool py_q_begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_begin(pdev));} + void clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + QPoint coordinateOffset(QPaintEngine* theWrappedObject) const; + QPoint py_q_coordinateOffset(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_coordinateOffset());} + void drawEllipse(QPaintEngine* theWrappedObject, const QRect& r); + void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRect& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} + void drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r); + void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} + void drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void py_q_drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawImage(r, pm, sr, flags));} + void drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount); + void py_q_drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} + void drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount); + void py_q_drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} + void drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path); + void py_q_drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPath(path));} + void drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr); + void py_q_drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPixmap(r, pm, sr));} + void drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount); + void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} + void drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount); + void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} + void drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} + void drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} + void drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount); + void py_q_drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} + void drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount); + void py_q_drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} + void drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem); + void py_q_drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTextItem(p, textItem));} + void drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s); + void py_q_drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTiledPixmap(r, pixmap, s));} + bool end(QPaintEngine* theWrappedObject); + bool py_q_end(QPaintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_end());} + bool hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const; + bool isActive(QPaintEngine* theWrappedObject) const; + bool isExtended(QPaintEngine* theWrappedObject) const; + QPaintDevice* paintDevice(QPaintEngine* theWrappedObject) const; + QPainter* painter(QPaintEngine* theWrappedObject) const; + void setActive(QPaintEngine* theWrappedObject, bool newState); + void setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + void setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip); + void setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect); + void syncState(QPaintEngine* theWrappedObject); + QRegion systemClip(QPaintEngine* theWrappedObject) const; + QRect systemRect(QPaintEngine* theWrappedObject) const; + bool testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + QPaintEngine::Type type(QPaintEngine* theWrappedObject) const; + QPaintEngine::Type py_q_type(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_type());} + void updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state); + void py_q_updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_updateState(state));} +}; + + + + + +class PythonQtShell_QPaintEngineState : public QPaintEngineState +{ +public: + PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEngineState(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPaintEngineState : public QObject +{ Q_OBJECT +public: +public slots: +QPaintEngineState* new_QPaintEngineState(); +void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } + QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const; + Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const; + QBrush brush(QPaintEngineState* theWrappedObject) const; + bool brushNeedsResolving(QPaintEngineState* theWrappedObject) const; + QPointF brushOrigin(QPaintEngineState* theWrappedObject) const; + Qt::ClipOperation clipOperation(QPaintEngineState* theWrappedObject) const; + QPainterPath clipPath(QPaintEngineState* theWrappedObject) const; + QRegion clipRegion(QPaintEngineState* theWrappedObject) const; + QPainter::CompositionMode compositionMode(QPaintEngineState* theWrappedObject) const; + QFont font(QPaintEngineState* theWrappedObject) const; + bool isClipEnabled(QPaintEngineState* theWrappedObject) const; + QMatrix matrix(QPaintEngineState* theWrappedObject) const; + qreal opacity(QPaintEngineState* theWrappedObject) const; + QPainter* painter(QPaintEngineState* theWrappedObject) const; + QPen pen(QPaintEngineState* theWrappedObject) const; + bool penNeedsResolving(QPaintEngineState* theWrappedObject) const; + QPainter::RenderHints renderHints(QPaintEngineState* theWrappedObject) const; + QPaintEngine::DirtyFlags state(QPaintEngineState* theWrappedObject) const; + QTransform transform(QPaintEngineState* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPaintEvent : public QPaintEvent +{ +public: + PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(nullptr) {}; + PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEvent() override; + + + 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 QRect* rect(QPaintEvent* theWrappedObject) const; + const QRegion* region(QPaintEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPainter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CompositionMode PixmapFragmentHint RenderHint ) +Q_FLAGS(PixmapFragmentHints 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, RasterOp_SourceOrDestination = QPainter::RasterOp_SourceOrDestination, RasterOp_SourceAndDestination = QPainter::RasterOp_SourceAndDestination, RasterOp_SourceXorDestination = QPainter::RasterOp_SourceXorDestination, RasterOp_NotSourceAndNotDestination = QPainter::RasterOp_NotSourceAndNotDestination, RasterOp_NotSourceOrNotDestination = QPainter::RasterOp_NotSourceOrNotDestination, RasterOp_NotSourceXorDestination = QPainter::RasterOp_NotSourceXorDestination, RasterOp_NotSource = QPainter::RasterOp_NotSource, RasterOp_NotSourceAndDestination = QPainter::RasterOp_NotSourceAndDestination, RasterOp_SourceAndNotDestination = QPainter::RasterOp_SourceAndNotDestination, RasterOp_NotSourceOrDestination = QPainter::RasterOp_NotSourceOrDestination, RasterOp_SourceOrNotDestination = QPainter::RasterOp_SourceOrNotDestination, RasterOp_ClearDestination = QPainter::RasterOp_ClearDestination, RasterOp_SetDestination = QPainter::RasterOp_SetDestination, RasterOp_NotDestination = QPainter::RasterOp_NotDestination}; +enum PixmapFragmentHint{ + OpaqueHint = QPainter::OpaqueHint}; +enum RenderHint{ + Antialiasing = QPainter::Antialiasing, TextAntialiasing = QPainter::TextAntialiasing, SmoothPixmapTransform = QPainter::SmoothPixmapTransform, HighQualityAntialiasing = QPainter::HighQualityAntialiasing, NonCosmeticDefaultPen = QPainter::NonCosmeticDefaultPen, Qt4CompatiblePainting = QPainter::Qt4CompatiblePainting, LosslessImageRendering = QPainter::LosslessImageRendering}; +Q_DECLARE_FLAGS(PixmapFragmentHints, PixmapFragmentHint) +Q_DECLARE_FLAGS(RenderHints, RenderHint) +public slots: +QPainter* new_QPainter(); +QPainter* new_QPainter(QPaintDevice* arg__1); +void delete_QPainter(QPainter* obj) { delete obj; } + const QBrush* background(QPainter* theWrappedObject) const; + Qt::BGMode backgroundMode(QPainter* theWrappedObject) const; + bool begin(QPainter* theWrappedObject, QPaintDevice* arg__1); + void beginNativePainting(QPainter* theWrappedObject); + QRect boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text); + QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o = QTextOption()); + QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text); + QRect boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text); + const QBrush* brush(QPainter* theWrappedObject) const; + QPoint brushOrigin(QPainter* theWrappedObject) const; + QRectF clipBoundingRect(QPainter* theWrappedObject) const; + QPainterPath clipPath(QPainter* theWrappedObject) const; + QRegion clipRegion(QPainter* theWrappedObject) const; + QMatrix combinedMatrix(QPainter* theWrappedObject) const; + QTransform combinedTransform(QPainter* theWrappedObject) const; + QPainter::CompositionMode compositionMode(QPainter* theWrappedObject) const; + QPaintDevice* device(QPainter* theWrappedObject) const; + const QMatrix* deviceMatrix(QPainter* theWrappedObject) const; + const QTransform* deviceTransform(QPainter* theWrappedObject) const; + void drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon); + void drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon); + void drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry); + void drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry); + void drawEllipse(QPainter* theWrappedObject, const QRect& r); + void drawEllipse(QPainter* theWrappedObject, const QRectF& r); + void drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h); + void drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun); + void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, 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 QLine& line); + void drawLine(QPainter* theWrappedObject, const QLineF& line); + void drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2); + void drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2); + void drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2); + void drawLines(QPainter* theWrappedObject, const QVector& lines); + void drawLines(QPainter* theWrappedObject, const QVector& lines); + void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); + void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); + void drawPath(QPainter* theWrappedObject, const QPainterPath& path); + void drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture); + void drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture); + void drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture); + void drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr); + void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr); + void drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect); + void drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect); + void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh); + void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh); + void drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints = QPainter::PixmapFragmentHints()); + void drawPoint(QPainter* theWrappedObject, const QPoint& p); + void drawPoint(QPainter* theWrappedObject, const QPointF& pt); + void drawPoint(QPainter* theWrappedObject, int x, int y); + void drawPoints(QPainter* theWrappedObject, const QPolygon& points); + void drawPoints(QPainter* theWrappedObject, const QPolygonF& points); + void drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon); + void drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline); + void drawRect(QPainter* theWrappedObject, const QRect& rect); + void drawRect(QPainter* theWrappedObject, const QRectF& rect); + void drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h); + void drawRects(QPainter* theWrappedObject, const QVector& rectangles); + void drawRects(QPainter* theWrappedObject, const QVector& rectangles); + void drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround = 25, int yround = 25); + void drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround = 25, int yround = 25); + void drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5 = 25, int arg__6 = 25); + void drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText); + void drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText); + void drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText); + void drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s); + void drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s); + void drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br = nullptr); + void drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o = QTextOption()); + void drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br = nullptr); + void drawText(QPainter* theWrappedObject, int x, int y, const QString& s); + void drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br = nullptr); + void drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti); + void drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti); + void drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti); + void drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3 = QPoint()); + void drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset = QPointF()); + void drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx = 0, int sy = 0); + bool end(QPainter* theWrappedObject); + void endNativePainting(QPainter* theWrappedObject); + void eraseRect(QPainter* theWrappedObject, const QRect& arg__1); + void eraseRect(QPainter* theWrappedObject, const QRectF& arg__1); + void eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h); + void fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush); + void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2); + void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color); + void fillRect(QPainter* theWrappedObject, const QRect& r, QGradient::Preset preset); + void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2); + void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color); + void fillRect(QPainter* theWrappedObject, const QRectF& r, QGradient::Preset preset); + void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, QGradient::Preset preset); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color); + const QFont* font(QPainter* theWrappedObject) const; + QFontInfo fontInfo(QPainter* theWrappedObject) const; + QFontMetrics fontMetrics(QPainter* theWrappedObject) const; + bool hasClipping(QPainter* theWrappedObject) const; + void initFrom(QPainter* theWrappedObject, const QPaintDevice* device); + bool isActive(QPainter* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QPainter* theWrappedObject) const; + qreal opacity(QPainter* theWrappedObject) const; + QPaintEngine* paintEngine(QPainter* theWrappedObject) const; + const QPen* pen(QPainter* theWrappedObject) const; + QPaintDevice* static_QPainter_redirected(const QPaintDevice* device, QPoint* offset = nullptr); + QPainter::RenderHints renderHints(QPainter* theWrappedObject) const; + void resetMatrix(QPainter* theWrappedObject); + void resetTransform(QPainter* theWrappedObject); + void restore(QPainter* theWrappedObject); + void static_QPainter_restoreRedirected(const QPaintDevice* device); + void rotate(QPainter* theWrappedObject, qreal a); + void save(QPainter* theWrappedObject); + void scale(QPainter* theWrappedObject, qreal sx, qreal sy); + void setBackground(QPainter* theWrappedObject, const QBrush& bg); + void setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode); + void setBrush(QPainter* theWrappedObject, const QBrush& brush); + void setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1); + void setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1); + void setBrushOrigin(QPainter* theWrappedObject, int x, int y); + void setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipping(QPainter* theWrappedObject, bool enable); + void setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode); + void setFont(QPainter* theWrappedObject, const QFont& f); + void setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction); + void setOpacity(QPainter* theWrappedObject, qreal opacity); + void setPen(QPainter* theWrappedObject, Qt::PenStyle style); + void setPen(QPainter* theWrappedObject, const QColor& color); + void setPen(QPainter* theWrappedObject, const QPen& pen); + void static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset = QPoint()); + void setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on = true); + void setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on = true); + void setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine = false); + void setViewTransformEnabled(QPainter* theWrappedObject, bool enable); + void setViewport(QPainter* theWrappedObject, const QRect& viewport); + void setViewport(QPainter* theWrappedObject, int x, int y, int w, int h); + void setWindow(QPainter* theWrappedObject, const QRect& window); + void setWindow(QPainter* theWrappedObject, int x, int y, int w, int h); + void setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine = false); + void setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled); + void setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine = false); + void shear(QPainter* theWrappedObject, qreal sh, qreal sv); + void strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen); + bool testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const; + const QTransform* transform(QPainter* theWrappedObject) const; + void translate(QPainter* theWrappedObject, const QPoint& offset); + void translate(QPainter* theWrappedObject, const QPointF& offset); + void translate(QPainter* theWrappedObject, qreal dx, qreal dy); + bool viewTransformEnabled(QPainter* theWrappedObject) const; + QRect viewport(QPainter* theWrappedObject) const; + QRect window(QPainter* theWrappedObject) const; + const QMatrix* worldMatrix(QPainter* theWrappedObject) const; + bool worldMatrixEnabled(QPainter* theWrappedObject) const; + const QTransform* worldTransform(QPainter* theWrappedObject) const; +}; + + + + + +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; } + void addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry); + void addEllipse(QPainterPath* theWrappedObject, const QRectF& rect); + void addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void addPath(QPainterPath* theWrappedObject, const QPainterPath& path); + void addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon); + void addRect(QPainterPath* theWrappedObject, const QRectF& rect); + void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void addRegion(QPainterPath* theWrappedObject, const QRegion& region); + void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness); + void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd); + void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness); + void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd); + void addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text); + void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text); + qreal angleAtPercent(QPainterPath* theWrappedObject, qreal t) const; + void arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle); + void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle); + void arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength); + void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); + QRectF boundingRect(QPainterPath* theWrappedObject) const; + int capacity(QPainterPath* theWrappedObject) const; + void clear(QPainterPath* theWrappedObject); + void closeSubpath(QPainterPath* theWrappedObject); + void connectPath(QPainterPath* theWrappedObject, const QPainterPath& path); + bool contains(QPainterPath* theWrappedObject, const QPainterPath& p) const; + bool contains(QPainterPath* theWrappedObject, const QPointF& pt) const; + bool contains(QPainterPath* theWrappedObject, const QRectF& rect) const; + QRectF controlPointRect(QPainterPath* theWrappedObject) const; + void cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt); + void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); + QPointF currentPosition(QPainterPath* theWrappedObject) const; + QPainterPath::Element elementAt(QPainterPath* theWrappedObject, int i) const; + int elementCount(QPainterPath* theWrappedObject) const; + Qt::FillRule fillRule(QPainterPath* theWrappedObject) const; + QPainterPath intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const; + bool intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const; + bool intersects(QPainterPath* theWrappedObject, const QRectF& rect) const; + bool isEmpty(QPainterPath* theWrappedObject) const; + qreal length(QPainterPath* theWrappedObject) const; + void lineTo(QPainterPath* theWrappedObject, const QPointF& p); + void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y); + void moveTo(QPainterPath* theWrappedObject, const QPointF& p); + void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y); + bool __ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath __and__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __iand__(QPainterPath* theWrappedObject, const QPainterPath& other); + QPainterPath __mul__(QPainterPath* theWrappedObject, const QMatrix& m); + QPainterPath __mul__(QPainterPath* theWrappedObject, const QTransform& m); + QPainterPath __add__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __iadd__(QPainterPath* theWrappedObject, const QPainterPath& other); + QPainterPath __sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __isub__(QPainterPath* theWrappedObject, const QPainterPath& other); + void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1); + QPainterPath __or__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __ior__(QPainterPath* theWrappedObject, const QPainterPath& other); + qreal percentAtLength(QPainterPath* theWrappedObject, qreal t) const; + QPointF pointAtPercent(QPainterPath* theWrappedObject, qreal t) const; + void quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt); + void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); + void reserve(QPainterPath* theWrappedObject, int size); + void setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y); + void setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule); + QPainterPath simplified(QPainterPath* theWrappedObject) const; + qreal slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const; + QPainterPath subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const; + QPainterPath subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const; + void swap(QPainterPath* theWrappedObject, QPainterPath& other); + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const; + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix = QTransform()) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix = QTransform()) const; + QPainterPath toReversed(QPainterPath* theWrappedObject) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix = QTransform()) const; + void translate(QPainterPath* theWrappedObject, const QPointF& offset); + void translate(QPainterPath* theWrappedObject, qreal dx, qreal dy); + QPainterPath translated(QPainterPath* theWrappedObject, const QPointF& offset) const; + QPainterPath translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const; + QPainterPath united(QPainterPath* theWrappedObject, const QPainterPath& r) const; + QString py_toString(QPainterPath*); + bool __nonzero__(QPainterPath* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QPainterPathStroker : public QObject +{ Q_OBJECT +public: +public slots: +QPainterPathStroker* new_QPainterPathStroker(); +QPainterPathStroker* new_QPainterPathStroker(const QPen& pen); +void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } + Qt::PenCapStyle capStyle(QPainterPathStroker* theWrappedObject) const; + QPainterPath createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const; + qreal curveThreshold(QPainterPathStroker* theWrappedObject) const; + qreal dashOffset(QPainterPathStroker* theWrappedObject) const; + QVector dashPattern(QPainterPathStroker* theWrappedObject) const; + Qt::PenJoinStyle joinStyle(QPainterPathStroker* theWrappedObject) const; + qreal miterLimit(QPainterPathStroker* theWrappedObject) const; + void setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style); + void setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold); + void setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset); + void setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1); + void setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern); + void setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style); + void setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length); + void setWidth(QPainterPathStroker* theWrappedObject, qreal width); + qreal width(QPainterPathStroker* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPainterPath__Element : public QPainterPath::Element +{ +public: + PythonQtShell_QPainterPath__Element():QPainterPath::Element(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPainterPath__Element(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPainterPath__Element : public QObject +{ Q_OBJECT +public: +public slots: +QPainterPath::Element* new_QPainterPath__Element(); +QPainterPath::Element* new_QPainterPath__Element(const QPainterPath::Element& other) { +PythonQtShell_QPainterPath__Element* a = new PythonQtShell_QPainterPath__Element(); +*((QPainterPath::Element*)a) = other; +return a; } +void delete_QPainterPath__Element(QPainterPath::Element* obj) { delete obj; } + bool isCurveTo(QPainterPath::Element* theWrappedObject) const; + bool isLineTo(QPainterPath::Element* theWrappedObject) const; + bool isMoveTo(QPainterPath::Element* theWrappedObject) const; + QPointF operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const; + bool __ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; + bool __eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; +void py_set_type(QPainterPath::Element* theWrappedObject, QPainterPath::ElementType type){ theWrappedObject->type = type; } +QPainterPath::ElementType py_get_type(QPainterPath::Element* theWrappedObject){ return theWrappedObject->type; } +void py_set_x(QPainterPath::Element* theWrappedObject, qreal x){ theWrappedObject->x = x; } +qreal py_get_x(QPainterPath::Element* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QPainterPath::Element* theWrappedObject, qreal y){ theWrappedObject->y = y; } +qreal py_get_y(QPainterPath::Element* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QPainter__PixmapFragment : public QPainter::PixmapFragment +{ +public: + PythonQtShell_QPainter__PixmapFragment():QPainter::PixmapFragment(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPainter__PixmapFragment(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPainter__PixmapFragment : public QObject +{ Q_OBJECT +public: +public slots: +QPainter::PixmapFragment* new_QPainter__PixmapFragment(); +QPainter::PixmapFragment* new_QPainter__PixmapFragment(const QPainter::PixmapFragment& other) { +PythonQtShell_QPainter__PixmapFragment* a = new PythonQtShell_QPainter__PixmapFragment(); +*((QPainter::PixmapFragment*)a) = other; +return a; } +void delete_QPainter__PixmapFragment(QPainter::PixmapFragment* obj) { delete obj; } + QPainter::PixmapFragment static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX = 1, qreal scaleY = 1, qreal rotation = 0, qreal opacity = 1); +void py_set_height(QPainter::PixmapFragment* theWrappedObject, qreal height){ theWrappedObject->height = height; } +qreal py_get_height(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->height; } +void py_set_opacity(QPainter::PixmapFragment* theWrappedObject, qreal opacity){ theWrappedObject->opacity = opacity; } +qreal py_get_opacity(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->opacity; } +void py_set_rotation(QPainter::PixmapFragment* theWrappedObject, qreal rotation){ theWrappedObject->rotation = rotation; } +qreal py_get_rotation(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->rotation; } +void py_set_scaleX(QPainter::PixmapFragment* theWrappedObject, qreal scaleX){ theWrappedObject->scaleX = scaleX; } +qreal py_get_scaleX(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleX; } +void py_set_scaleY(QPainter::PixmapFragment* theWrappedObject, qreal scaleY){ theWrappedObject->scaleY = scaleY; } +qreal py_get_scaleY(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleY; } +void py_set_sourceLeft(QPainter::PixmapFragment* theWrappedObject, qreal sourceLeft){ theWrappedObject->sourceLeft = sourceLeft; } +qreal py_get_sourceLeft(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceLeft; } +void py_set_sourceTop(QPainter::PixmapFragment* theWrappedObject, qreal sourceTop){ theWrappedObject->sourceTop = sourceTop; } +qreal py_get_sourceTop(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceTop; } +void py_set_width(QPainter::PixmapFragment* theWrappedObject, qreal width){ theWrappedObject->width = width; } +qreal py_get_width(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->width; } +void py_set_x(QPainter::PixmapFragment* theWrappedObject, qreal x){ theWrappedObject->x = x; } +qreal py_get_x(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QPainter::PixmapFragment* theWrappedObject, qreal y){ theWrappedObject->y = y; } +qreal py_get_y(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QPanGesture : public QPanGesture +{ +public: + PythonQtShell_QPanGesture(QObject* parent = nullptr):QPanGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPanGesture() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPanGesture : public QObject +{ Q_OBJECT +public: +public slots: +QPanGesture* new_QPanGesture(QObject* parent = nullptr); +void delete_QPanGesture(QPanGesture* obj) { delete obj; } + qreal acceleration(QPanGesture* theWrappedObject) const; + QPointF delta(QPanGesture* theWrappedObject) const; + QPointF lastOffset(QPanGesture* theWrappedObject) const; + QPointF offset(QPanGesture* theWrappedObject) const; + void setAcceleration(QPanGesture* theWrappedObject, qreal value); + void setLastOffset(QPanGesture* theWrappedObject, const QPointF& value); + void setOffset(QPanGesture* theWrappedObject, const QPointF& value); +}; + + + + + +class PythonQtShell_QPdfWriter : public QPdfWriter +{ +public: + PythonQtShell_QPdfWriter(QIODevice* device):QPdfWriter(device),_wrapper(nullptr) {}; + PythonQtShell_QPdfWriter(const QString& filename):QPdfWriter(filename),_wrapper(nullptr) {}; + + ~PythonQtShell_QPdfWriter() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric id) const override; +bool newPage() override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +void setMargins(const QPagedPaintDevice::Margins& m) override; +void setPageSize(QPagedPaintDevice::PageSize size) override; +void setPageSizeMM(const QSizeF& size) override; +QPainter* sharedPainter() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPdfWriter : public QPdfWriter +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric id) const { return this->metric(id); } +inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric id) const { return QPdfWriter::metric(id); } +inline bool py_q_newPage() { return QPdfWriter::newPage(); } +inline QPaintEngine* py_q_paintEngine() const { return QPdfWriter::paintEngine(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPdfWriter::setMargins(m); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPdfWriter::setPageSize(size); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPdfWriter::setPageSizeMM(size); } +}; + +class PythonQtWrapper_QPdfWriter : public QObject +{ Q_OBJECT +public: +public slots: +QPdfWriter* new_QPdfWriter(QIODevice* device); +QPdfWriter* new_QPdfWriter(const QString& filename); +void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } + void addFileAttachment(QPdfWriter* theWrappedObject, const QString& fileName, const QByteArray& data, const QString& mimeType = QString()); + QString creator(QPdfWriter* theWrappedObject) const; + QByteArray documentXmpMetadata(QPdfWriter* theWrappedObject) const; + int py_q_metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_metric(id));} + bool py_q_newPage(QPdfWriter* theWrappedObject){ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_newPage());} + QPaintEngine* py_q_paintEngine(QPdfWriter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_paintEngine());} + QPagedPaintDevice::PdfVersion pdfVersion(QPdfWriter* theWrappedObject) const; + int resolution(QPdfWriter* theWrappedObject) const; + void setCreator(QPdfWriter* theWrappedObject, const QString& creator); + void setDocumentXmpMetadata(QPdfWriter* theWrappedObject, const QByteArray& xmpMetadata); + void py_q_setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setMargins(m));} + void py_q_setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSize(size));} + void py_q_setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSizeMM(size));} + void setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version); + void setResolution(QPdfWriter* theWrappedObject, int resolution); + void setTitle(QPdfWriter* theWrappedObject, const QString& title); + QString title(QPdfWriter* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPicture : public QPicture +{ +public: + PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(nullptr) {}; + + ~PythonQtShell_QPicture() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric m) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPicture : public QPicture +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric m) const { return this->metric(m); } +inline int py_q_devType() const { return QPicture::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric m) const { return QPicture::metric(m); } +inline QPaintEngine* py_q_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; } + QRect boundingRect(QPicture* theWrappedObject) const; + const char* data(QPicture* theWrappedObject) const; + int py_q_devType(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_devType());} + bool isNull(QPicture* theWrappedObject) const; + bool load(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); + bool load(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); + int py_q_metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_metric(m));} + void writeTo(QPicture* theWrappedObject, QDataStream& arg__1); + void readFrom(QPicture* theWrappedObject, QDataStream& arg__1); + QPaintEngine* py_q_paintEngine(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_paintEngine());} + bool play(QPicture* theWrappedObject, QPainter* p); + bool save(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); + bool save(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); + void setBoundingRect(QPicture* theWrappedObject, const QRect& r); + uint size(QPicture* theWrappedObject) const; + void swap(QPicture* theWrappedObject, QPicture& other); + bool __nonzero__(QPicture* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin +{ +public: + PythonQtShell_QPictureFormatPlugin(QObject* parent = nullptr):QPictureFormatPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPictureFormatPlugin() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool installIOHandler(const QString& format) override; +bool loadPicture(const QString& format, const QString& filename, QPicture* pic) override; +bool savePicture(const QString& format, const QString& filename, const QPicture& pic) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin +{ public: +inline bool py_q_installIOHandler(const QString& format) { return this->installIOHandler(format); } +inline bool py_q_loadPicture(const QString& format, const QString& filename, QPicture* pic) { return QPictureFormatPlugin::loadPicture(format, filename, pic); } +inline bool py_q_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 = nullptr); +void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } + bool installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format); + bool py_q_installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_installIOHandler(format));} + bool loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic); + bool py_q_loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_loadPicture(format, filename, pic));} + bool savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic); + bool py_q_savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_savePicture(format, filename, pic));} +}; + + + + + +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; } + QString description(QPictureIO* theWrappedObject) const; + QString fileName(QPictureIO* theWrappedObject) const; + const char* format(QPictureIO* theWrappedObject) const; + float gamma(QPictureIO* theWrappedObject) const; + QList static_QPictureIO_inputFormats(); + QIODevice* ioDevice(QPictureIO* theWrappedObject) const; + QList static_QPictureIO_outputFormats(); + const char* parameters(QPictureIO* theWrappedObject) const; + const QPicture* picture(QPictureIO* theWrappedObject) const; + QByteArray static_QPictureIO_pictureFormat(QIODevice* arg__1); + QByteArray static_QPictureIO_pictureFormat(const QString& fileName); + int quality(QPictureIO* theWrappedObject) const; + bool read(QPictureIO* theWrappedObject); + void setDescription(QPictureIO* theWrappedObject, const QString& arg__1); + void setFileName(QPictureIO* theWrappedObject, const QString& arg__1); + void setFormat(QPictureIO* theWrappedObject, const char* arg__1); + void setGamma(QPictureIO* theWrappedObject, float arg__1); + void setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1); + void setParameters(QPictureIO* theWrappedObject, const char* arg__1); + void setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1); + void setQuality(QPictureIO* theWrappedObject, int arg__1); + void setStatus(QPictureIO* theWrappedObject, int arg__1); + int status(QPictureIO* theWrappedObject) const; + bool write(QPictureIO* theWrappedObject); +}; + + + + + +class PythonQtShell_QPinchGesture : public QPinchGesture +{ +public: + PythonQtShell_QPinchGesture(QObject* parent = nullptr):QPinchGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPinchGesture() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPinchGesture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ChangeFlag ) +Q_FLAGS(ChangeFlags ) +enum ChangeFlag{ + ScaleFactorChanged = QPinchGesture::ScaleFactorChanged, RotationAngleChanged = QPinchGesture::RotationAngleChanged, CenterPointChanged = QPinchGesture::CenterPointChanged}; +Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) +public slots: +QPinchGesture* new_QPinchGesture(QObject* parent = nullptr); +void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } + QPointF centerPoint(QPinchGesture* theWrappedObject) const; + QPinchGesture::ChangeFlags changeFlags(QPinchGesture* theWrappedObject) const; + QPointF lastCenterPoint(QPinchGesture* theWrappedObject) const; + qreal lastRotationAngle(QPinchGesture* theWrappedObject) const; + qreal lastScaleFactor(QPinchGesture* theWrappedObject) const; + qreal rotationAngle(QPinchGesture* theWrappedObject) const; + qreal scaleFactor(QPinchGesture* theWrappedObject) const; + void setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); + void setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value); + void setRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setScaleFactor(QPinchGesture* theWrappedObject, qreal value); + void setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); + void setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value); + QPointF startCenterPoint(QPinchGesture* theWrappedObject) const; + QPinchGesture::ChangeFlags totalChangeFlags(QPinchGesture* theWrappedObject) const; + qreal totalRotationAngle(QPinchGesture* theWrappedObject) const; + qreal totalScaleFactor(QPinchGesture* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPixelFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AlphaPosition AlphaPremultiplied AlphaUsage ByteOrder ColorModel TypeInterpretation YUVLayout ) +enum AlphaPosition{ + AtBeginning = QPixelFormat::AtBeginning, AtEnd = QPixelFormat::AtEnd}; +enum AlphaPremultiplied{ + NotPremultiplied = QPixelFormat::NotPremultiplied, Premultiplied = QPixelFormat::Premultiplied}; +enum AlphaUsage{ + UsesAlpha = QPixelFormat::UsesAlpha, IgnoresAlpha = QPixelFormat::IgnoresAlpha}; +enum ByteOrder{ + LittleEndian = QPixelFormat::LittleEndian, BigEndian = QPixelFormat::BigEndian, CurrentSystemEndian = QPixelFormat::CurrentSystemEndian}; +enum ColorModel{ + RGB = QPixelFormat::RGB, BGR = QPixelFormat::BGR, Indexed = QPixelFormat::Indexed, Grayscale = QPixelFormat::Grayscale, CMYK = QPixelFormat::CMYK, HSL = QPixelFormat::HSL, HSV = QPixelFormat::HSV, YUV = QPixelFormat::YUV, Alpha = QPixelFormat::Alpha}; +enum TypeInterpretation{ + UnsignedInteger = QPixelFormat::UnsignedInteger, UnsignedShort = QPixelFormat::UnsignedShort, UnsignedByte = QPixelFormat::UnsignedByte, FloatingPoint = QPixelFormat::FloatingPoint}; +enum YUVLayout{ + YUV444 = QPixelFormat::YUV444, YUV422 = QPixelFormat::YUV422, YUV411 = QPixelFormat::YUV411, YUV420P = QPixelFormat::YUV420P, YUV420SP = QPixelFormat::YUV420SP, YV12 = QPixelFormat::YV12, UYVY = QPixelFormat::UYVY, YUYV = QPixelFormat::YUYV, NV12 = QPixelFormat::NV12, NV21 = QPixelFormat::NV21, IMC1 = QPixelFormat::IMC1, IMC2 = QPixelFormat::IMC2, IMC3 = QPixelFormat::IMC3, IMC4 = QPixelFormat::IMC4, Y8 = QPixelFormat::Y8, Y16 = QPixelFormat::Y16}; +public slots: +QPixelFormat* new_QPixelFormat(); +QPixelFormat* new_QPixelFormat(QPixelFormat::ColorModel colorModel, uchar firstSize, uchar secondSize, uchar thirdSize, uchar fourthSize, uchar fifthSize, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder = QPixelFormat::CurrentSystemEndian, uchar subEnum = 0); +void delete_QPixelFormat(QPixelFormat* obj) { delete obj; } + QPixelFormat::AlphaPosition alphaPosition(QPixelFormat* theWrappedObject) const; + uchar alphaSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::AlphaUsage alphaUsage(QPixelFormat* theWrappedObject) const; + uchar bitsPerPixel(QPixelFormat* theWrappedObject) const; + uchar blackSize(QPixelFormat* theWrappedObject) const; + uchar blueSize(QPixelFormat* theWrappedObject) const; + uchar brightnessSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::ByteOrder byteOrder(QPixelFormat* theWrappedObject) const; + uchar channelCount(QPixelFormat* theWrappedObject) const; + QPixelFormat::ColorModel colorModel(QPixelFormat* theWrappedObject) const; + uchar cyanSize(QPixelFormat* theWrappedObject) const; + uchar greenSize(QPixelFormat* theWrappedObject) const; + uchar hueSize(QPixelFormat* theWrappedObject) const; + uchar lightnessSize(QPixelFormat* theWrappedObject) const; + uchar magentaSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::AlphaPremultiplied premultiplied(QPixelFormat* theWrappedObject) const; + uchar redSize(QPixelFormat* theWrappedObject) const; + uchar saturationSize(QPixelFormat* theWrappedObject) const; + uchar subEnum(QPixelFormat* theWrappedObject) const; + QPixelFormat::TypeInterpretation typeInterpretation(QPixelFormat* theWrappedObject) const; + uchar yellowSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::YUVLayout yuvLayout(QPixelFormat* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPixmapCache : public QPixmapCache +{ +public: + PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPixmapCache(); + + + 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(); + void static_QPixmapCache_clear(); + bool static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap); + bool static_QPixmapCache_find(const QString& key, QPixmap& pixmap); + QPixmapCache::Key static_QPixmapCache_insert(const QPixmap& pixmap); + bool static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap); + void static_QPixmapCache_remove(const QPixmapCache::Key& key); + void static_QPixmapCache_remove(const QString& key); + bool static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap); + void static_QPixmapCache_setCacheLimit(int arg__1); +}; + + + + + +class PythonQtWrapper_QPixmapCache__Key : public QObject +{ Q_OBJECT +public: +public slots: +QPixmapCache::Key* new_QPixmapCache__Key(); +QPixmapCache::Key* new_QPixmapCache__Key(const QPixmapCache::Key& other); +void delete_QPixmapCache__Key(QPixmapCache::Key* obj) { delete obj; } + bool isValid(QPixmapCache::Key* theWrappedObject) const; + bool __ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; + QPixmapCache::Key* operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other); + bool __eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; + void swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other); + bool __nonzero__(QPixmapCache::Key* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout +{ +public: + PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlainTextDocumentLayout() override; + +QRectF blockBoundingRect(const QTextBlock& block) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void documentChanged(int from, int arg__2, int charsAdded) override; +QSizeF documentSize() const override; +void draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) override; +void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QRectF frameBoundingRect(QTextFrame* arg__1) const override; +int hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const override; +int pageCount() const override; +void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPlainTextDocumentLayout : public QPlainTextDocumentLayout +{ public: +inline void promoted_documentChanged(int from, int arg__2, int charsAdded) { this->documentChanged(from, arg__2, charsAdded); } +inline QRectF py_q_blockBoundingRect(const QTextBlock& block) const { return QPlainTextDocumentLayout::blockBoundingRect(block); } +inline void py_q_documentChanged(int from, int arg__2, int charsAdded) { QPlainTextDocumentLayout::documentChanged(from, arg__2, charsAdded); } +inline QSizeF py_q_documentSize() const { return QPlainTextDocumentLayout::documentSize(); } +inline void py_q_draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { QPlainTextDocumentLayout::draw(arg__1, arg__2); } +inline QRectF py_q_frameBoundingRect(QTextFrame* arg__1) const { return QPlainTextDocumentLayout::frameBoundingRect(arg__1); } +inline int py_q_hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); } +inline int py_q_pageCount() const { return QPlainTextDocumentLayout::pageCount(); } +}; + +class PythonQtWrapper_QPlainTextDocumentLayout : public QObject +{ Q_OBJECT +public: +public slots: +QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); +void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } + QRectF py_q_blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} + int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const; + void py_q_documentChanged(QPlainTextDocumentLayout* theWrappedObject, int from, int arg__2, int charsAdded){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentChanged(from, arg__2, charsAdded));} + QSizeF py_q_documentSize(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentSize());} + void py_q_draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_draw(arg__1, arg__2));} + void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; + QRectF py_q_frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_frameBoundingRect(arg__1));} + int py_q_hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_hitTest(arg__1, arg__2));} + int py_q_pageCount(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_pageCount());} + void requestUpdate(QPlainTextDocumentLayout* theWrappedObject); + void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width); +}; + + + + + +class PythonQtShell_QPlainTextEdit : public QPlainTextEdit +{ +public: + PythonQtShell_QPlainTextEdit(QWidget* parent = nullptr):QPlainTextEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = nullptr):QPlainTextEdit(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlainTextEdit() override; + +void actionEvent(QActionEvent* event) override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit +{ public: +inline QRectF promoted_blockBoundingGeometry(const QTextBlock& block) const { return this->blockBoundingGeometry(block); } +inline QRectF promoted_blockBoundingRect(const QTextBlock& block) const { return this->blockBoundingRect(block); } +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline QPointF promoted_contentOffset() const { return this->contentOffset(); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } +inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline QTextBlock promoted_firstVisibleBlock() const { return this->firstVisibleBlock(); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline QAbstractTextDocumentLayout::PaintContext promoted_getPaintContext() const { return this->getPaintContext(); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void promoted_zoomInF(float range) { this->zoomInF(range); } +inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QPlainTextEdit::canInsertFromMimeData(source); } +inline void py_q_changeEvent(QEvent* e) { QPlainTextEdit::changeEvent(e); } +inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QPlainTextEdit::contextMenuEvent(e); } +inline QMimeData* py_q_createMimeDataFromSelection() const { return QPlainTextEdit::createMimeDataFromSelection(); } +inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QPlainTextEdit::doSetTextCursor(cursor); } +inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QPlainTextEdit::dragEnterEvent(e); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QPlainTextEdit::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QPlainTextEdit::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* e) { QPlainTextEdit::dropEvent(e); } +inline bool py_q_event(QEvent* e) { return QPlainTextEdit::event(e); } +inline void py_q_focusInEvent(QFocusEvent* e) { QPlainTextEdit::focusInEvent(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QPlainTextEdit::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QPlainTextEdit::focusOutEvent(e); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QPlainTextEdit::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QPlainTextEdit::inputMethodQuery(property); } +inline void py_q_insertFromMimeData(const QMimeData* source) { QPlainTextEdit::insertFromMimeData(source); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QPlainTextEdit::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QPlainTextEdit::keyReleaseEvent(e); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QPlainTextEdit::loadResource(type, name); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QPlainTextEdit::mouseDoubleClickEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QPlainTextEdit::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QPlainTextEdit::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QPlainTextEdit::mouseReleaseEvent(e); } +inline void py_q_paintEvent(QPaintEvent* e) { QPlainTextEdit::paintEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QPlainTextEdit::resizeEvent(e); } +inline void py_q_scrollContentsBy(int dx, int dy) { QPlainTextEdit::scrollContentsBy(dx, dy); } +inline void py_q_showEvent(QShowEvent* arg__1) { QPlainTextEdit::showEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* e) { QPlainTextEdit::timerEvent(e); } +inline void py_q_wheelEvent(QWheelEvent* e) { QPlainTextEdit::wheelEvent(e); } +}; + +class PythonQtWrapper_QPlainTextEdit : public QObject +{ Q_OBJECT +public: +public slots: +QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = nullptr); +QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = nullptr); +void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } + QString anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; + bool backgroundVisible(QPlainTextEdit* theWrappedObject) const; + QRectF blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; + QRectF blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; + int blockCount(QPlainTextEdit* theWrappedObject) const; + bool canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const; + bool py_q_canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} + bool canPaste(QPlainTextEdit* theWrappedObject) const; + bool centerOnScroll(QPlainTextEdit* theWrappedObject) const; + void py_q_changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_changeEvent(e));} + QPointF contentOffset(QPlainTextEdit* theWrappedObject) const; + void py_q_contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} + QMimeData* createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const; + QMimeData* py_q_createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} + QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject); + QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position); + QTextCharFormat currentCharFormat(QPlainTextEdit* theWrappedObject) const; + QTextCursor cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; + QRect cursorRect(QPlainTextEdit* theWrappedObject) const; + QRect cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const; + int cursorWidth(QPlainTextEdit* theWrappedObject) const; + void doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); + void py_q_doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} + QTextDocument* document(QPlainTextEdit* theWrappedObject) const; + QString documentTitle(QPlainTextEdit* theWrappedObject) const; + void py_q_dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} + void py_q_dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dropEvent(e));} + void ensureCursorVisible(QPlainTextEdit* theWrappedObject); + bool py_q_event(QPlainTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_event(e));} + QList extraSelections(QPlainTextEdit* theWrappedObject) const; + bool find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QPlainTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + QTextBlock firstVisibleBlock(QPlainTextEdit* theWrappedObject) const; + void py_q_focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} + bool py_q_focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} + QAbstractTextDocumentLayout::PaintContext getPaintContext(QPlainTextEdit* theWrappedObject) const; + void py_q_inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} + QVariant inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; + void insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source); + void py_q_insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} + bool isReadOnly(QPlainTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const; + void py_q_keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} + QPlainTextEdit::LineWrapMode lineWrapMode(QPlainTextEdit* theWrappedObject) const; + QVariant loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name); + QVariant py_q_loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} + int maximumBlockCount(QPlainTextEdit* theWrappedObject) const; + void mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void py_q_mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} + void py_q_mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QPlainTextEdit* theWrappedObject) const; + void py_q_paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_paintEvent(e));} + QString placeholderText(QPlainTextEdit* theWrappedObject) const; + void print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; + void py_q_resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} + void py_q_scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible); + void setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled); + void setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format); + void setCursorWidth(QPlainTextEdit* theWrappedObject, int width); + void setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document); + void setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title); + void setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections); + void setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode); + void setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum); + void setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite); + void setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText); + void setReadOnly(QPlainTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b); + void setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance); + void setTabStopWidth(QPlainTextEdit* theWrappedObject, int width); + void setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); + void setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); + void setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable); + void setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy); + void py_q_showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} + bool tabChangesFocus(QPlainTextEdit* theWrappedObject) const; + qreal tabStopDistance(QPlainTextEdit* theWrappedObject) const; + int tabStopWidth(QPlainTextEdit* theWrappedObject) const; + QTextCursor textCursor(QPlainTextEdit* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QPlainTextEdit* theWrappedObject) const; + void py_q_timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_timerEvent(e));} + QString toPlainText(QPlainTextEdit* theWrappedObject) const; + void py_q_wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} + QTextOption::WrapMode wordWrapMode(QPlainTextEdit* theWrappedObject) const; + void zoomInF(QPlainTextEdit* theWrappedObject, float range); +}; + + + + + +class PythonQtShell_QPlatformSurfaceEvent : public QPlatformSurfaceEvent +{ +public: + PythonQtShell_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType):QPlatformSurfaceEvent(surfaceEventType),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlatformSurfaceEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPlatformSurfaceEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SurfaceEventType ) +enum SurfaceEventType{ + SurfaceCreated = QPlatformSurfaceEvent::SurfaceCreated, SurfaceAboutToBeDestroyed = QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed}; +public slots: +QPlatformSurfaceEvent* new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType); +void delete_QPlatformSurfaceEvent(QPlatformSurfaceEvent* obj) { delete obj; } + QPlatformSurfaceEvent::SurfaceEventType surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const; +}; + + + + + +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; } + void append(QPolygonF* theWrappedObject, const QPointF& t); + void append(QPolygonF* theWrappedObject, const QVector& l); + const QPointF* at(QPolygonF* theWrappedObject, int i) const; + QRectF boundingRect(QPolygonF* theWrappedObject) const; + int capacity(QPolygonF* theWrappedObject) const; + void clear(QPolygonF* theWrappedObject); + const QPointF* constFirst(QPolygonF* theWrappedObject) const; + const QPointF* constLast(QPolygonF* theWrappedObject) const; + bool contains(QPolygonF* theWrappedObject, const QPointF& t) const; + bool containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const; + int count(QPolygonF* theWrappedObject) const; + int count(QPolygonF* theWrappedObject, const QPointF& t) const; + bool empty(QPolygonF* theWrappedObject) const; + bool endsWith(QPolygonF* theWrappedObject, const QPointF& t) const; + QVector* fill(QPolygonF* theWrappedObject, const QPointF& t, int size = -1); + const QPointF* first(QPolygonF* theWrappedObject) const; + QVector static_QPolygonF_fromList(const QList& list); + int indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = 0) const; + QPolygonF intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const; + bool intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const; + bool isClosed(QPolygonF* theWrappedObject) const; + bool isEmpty(QPolygonF* theWrappedObject) const; + bool isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const; + const QPointF* last(QPolygonF* theWrappedObject) const; + int lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = -1) const; + int length(QPolygonF* theWrappedObject) const; + QVector mid(QPolygonF* theWrappedObject, int pos, int len = -1) const; + void move(QPolygonF* theWrappedObject, int from, int to); + bool __ne__(QPolygonF* theWrappedObject, const QVector& v) const; + QPolygonF __mul__(QPolygonF* theWrappedObject, const QMatrix& m); + QPolygonF __mul__(QPolygonF* theWrappedObject, const QTransform& m); + void writeTo(QPolygonF* theWrappedObject, QDataStream& stream); + QPolygonF* operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other); + bool __eq__(QPolygonF* theWrappedObject, const QVector& v) const; + void readFrom(QPolygonF* theWrappedObject, QDataStream& stream); + void pop_back(QPolygonF* theWrappedObject); + void pop_front(QPolygonF* theWrappedObject); + void prepend(QPolygonF* theWrappedObject, const QPointF& t); + void push_back(QPolygonF* theWrappedObject, const QPointF& t); + void push_front(QPolygonF* theWrappedObject, const QPointF& t); + void remove(QPolygonF* theWrappedObject, int i); + void remove(QPolygonF* theWrappedObject, int i, int n); + int removeAll(QPolygonF* theWrappedObject, const QPointF& t); + void removeAt(QPolygonF* theWrappedObject, int i); + void removeFirst(QPolygonF* theWrappedObject); + void removeLast(QPolygonF* theWrappedObject); + bool removeOne(QPolygonF* theWrappedObject, const QPointF& t); + void replace(QPolygonF* theWrappedObject, int i, const QPointF& t); + void reserve(QPolygonF* theWrappedObject, int size); + void resize(QPolygonF* theWrappedObject, int size); + void setSharable(QPolygonF* theWrappedObject, bool sharable); + void shrink_to_fit(QPolygonF* theWrappedObject); + int size(QPolygonF* theWrappedObject) const; + void squeeze(QPolygonF* theWrappedObject); + bool startsWith(QPolygonF* theWrappedObject, const QPointF& t) const; + QPolygonF subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const; + void swap(QPolygonF* theWrappedObject, QPolygonF& other); + void swapItemsAt(QPolygonF* theWrappedObject, int i, int j); + QPointF takeAt(QPolygonF* theWrappedObject, int i); + QPointF takeFirst(QPolygonF* theWrappedObject); + QPointF takeLast(QPolygonF* theWrappedObject); + QList toList(QPolygonF* theWrappedObject) const; + QPolygon toPolygon(QPolygonF* theWrappedObject) const; + void translate(QPolygonF* theWrappedObject, const QPointF& offset); + void translate(QPolygonF* theWrappedObject, qreal dx, qreal dy); + QPolygonF translated(QPolygonF* theWrappedObject, const QPointF& offset) const; + QPolygonF translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const; + QPolygonF united(QPolygonF* theWrappedObject, const QPolygonF& r) const; + QPointF value(QPolygonF* theWrappedObject, int i) const; + QPointF value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const; + QString py_toString(QPolygonF*); + bool __nonzero__(QPolygonF* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QPrintDialog : public QPrintDialog +{ +public: + PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QPrintDialog(printer, parent),_wrapper(nullptr) {}; + PythonQtShell_QPrintDialog(QWidget* parent = nullptr):QPrintDialog(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog +{ public: +inline void py_q_accept() { QPrintDialog::accept(); } +inline void py_q_done(int result) { QPrintDialog::done(result); } +inline int py_q_exec() { return QPrintDialog::exec(); } +inline void py_q_setVisible(bool visible) { QPrintDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr); +QPrintDialog* new_QPrintDialog(QWidget* parent = nullptr); +void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } + void py_q_accept(QPrintDialog* theWrappedObject){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_accept());} + void py_q_done(QPrintDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_done(result));} + int py_q_exec(QPrintDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_exec());} + void open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member); + QAbstractPrintDialog::PrintDialogOptions options(QPrintDialog* theWrappedObject) const; + void setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on = true); + void setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); + void py_q_setVisible(QPrintDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_setVisible(visible));} + bool testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; +}; + + + + + +class PythonQtShell_QPrintEngine : public QPrintEngine +{ +public: + PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintEngine() override; + +bool abort() override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +bool newPage() override; +QPrinter::PrinterState printerState() const override; +QVariant property(QPrintEngine::PrintEnginePropertyKey key) const override; +void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintEngine : public QPrintEngine +{ public: +inline bool py_q_abort() { return this->abort(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline bool py_q_newPage() { return this->newPage(); } +inline QPrinter::PrinterState py_q_printerState() const { return this->printerState(); } +inline QVariant py_q_property(QPrintEngine::PrintEnginePropertyKey key) const { return this->property(key); } +inline void py_q_setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) { this->setProperty(key, value); } +}; + +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_Duplex = QPrintEngine::PPK_Duplex, PPK_PaperSources = QPrintEngine::PPK_PaperSources, PPK_CustomPaperSize = QPrintEngine::PPK_CustomPaperSize, PPK_PageMargins = QPrintEngine::PPK_PageMargins, PPK_CopyCount = QPrintEngine::PPK_CopyCount, PPK_SupportsMultipleCopies = QPrintEngine::PPK_SupportsMultipleCopies, PPK_PaperName = QPrintEngine::PPK_PaperName, PPK_QPageSize = QPrintEngine::PPK_QPageSize, PPK_QPageMargins = QPrintEngine::PPK_QPageMargins, PPK_QPageLayout = QPrintEngine::PPK_QPageLayout, PPK_PaperSize = QPrintEngine::PPK_PaperSize, PPK_CustomBase = QPrintEngine::PPK_CustomBase}; +public slots: +QPrintEngine* new_QPrintEngine(); +void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } + bool abort(QPrintEngine* theWrappedObject); + bool py_q_abort(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_abort());} + int metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; + int py_q_metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_metric(arg__1));} + bool newPage(QPrintEngine* theWrappedObject); + bool py_q_newPage(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_newPage());} + QPrinter::PrinterState printerState(QPrintEngine* theWrappedObject) const; + QPrinter::PrinterState py_q_printerState(QPrintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_printerState());} + QVariant property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const; + QVariant py_q_property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_property(key));} + void setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); + void py_q_setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value){ (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_setProperty(key, value));} +}; + + + + + +class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog +{ +public: + PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(printer, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintPreviewDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintPreviewDialog : public QPrintPreviewDialog +{ public: +inline void py_q_done(int result) { QPrintPreviewDialog::done(result); } +inline void py_q_setVisible(bool visible) { QPrintPreviewDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintPreviewDialog : public QObject +{ Q_OBJECT +public: +public slots: +QPrintPreviewDialog* new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +QPrintPreviewDialog* new_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } + void py_q_done(QPrintPreviewDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_done(result));} + void open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member); + QPrinter* printer(QPrintPreviewDialog* theWrappedObject); + void py_q_setVisible(QPrintPreviewDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_setVisible(visible));} +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp similarity index 68% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index f00e0814..d013e69d 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -1,1403 +1,2130 @@ -#include "com_trolltech_qt_gui6.h" +#include "com_trolltech_qt_gui7.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 +#include +#include #include +#include +#include #include #include #include #include -#include -#include -#include -#include +#include +#include +#include #include #include #include #include -#include -#include #include #include -#include -#include +#include #include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include +#include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include #include -const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->background()); -} - -Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->backgroundMode()); -} - -bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) -{ - return ( theWrappedObject->begin(arg__1)); +PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) +void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) { - ( theWrappedObject->beginNativePainting()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) -{ - return ( theWrappedObject->boundingRect(rect, flags, text)); + QPrintPreviewWidget::actionEvent(event0); } - -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) +void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { - return ( theWrappedObject->boundingRect(rect, text, o)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) -{ - return ( theWrappedObject->boundingRect(rect, flags, text)); + QPrintPreviewWidget::changeEvent(arg__1); } - -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) +void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) { - return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->brush()); + QPrintPreviewWidget::childEvent(event0); } - -QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const +void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) { - return ( theWrappedObject->brushOrigin()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->clipBoundingRect()); + QPrintPreviewWidget::closeEvent(event0); } - -QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const +void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) { - return ( theWrappedObject->clipPath()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->clipRegion()); + QPrintPreviewWidget::contextMenuEvent(event0); } - -QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const +void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) { - return ( theWrappedObject->combinedMatrix()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->combinedTransform()); + QPrintPreviewWidget::customEvent(event0); } - -QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const +int PythonQtShell_QPrintPreviewWidget::devType() const { - return ( theWrappedObject->compositionMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->device()); + return QPrintPreviewWidget::devType(); } - -const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const +void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) { - return &( theWrappedObject->deviceMatrix()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->deviceTransform()); + QPrintPreviewWidget::dragEnterEvent(event0); } - -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->drawArc(arg__1, a, alen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) -{ - ( theWrappedObject->drawArc(rect, a, alen)); + QPrintPreviewWidget::dragLeaveEvent(event0); } - -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->drawArc(x, y, w, h, a, alen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) -{ - ( theWrappedObject->drawChord(arg__1, a, alen)); + QPrintPreviewWidget::dragMoveEvent(event0); } - -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) { - ( theWrappedObject->drawChord(rect, a, alen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -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)); + QPrintPreviewWidget::dropEvent(event0); } - -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) +void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) { - ( theWrappedObject->drawConvexPolygon(polygon)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) -{ - ( theWrappedObject->drawConvexPolygon(polygon)); + QPrintPreviewWidget::enterEvent(event0); } - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) +bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) { - ( theWrappedObject->drawEllipse(center, rx, ry)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) -{ - ( theWrappedObject->drawEllipse(center, rx, ry)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->drawEllipse(x, y, w, h)); -} - -void PythonQtWrapper_QPainter::drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun) -{ - ( theWrappedObject->drawGlyphRun(position, glyphRun)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) -{ - ( theWrappedObject->drawImage(p, image)); + return QPrintPreviewWidget::event(event0); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) +bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->drawImage(p, image, sr, flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) -{ - ( theWrappedObject->drawImage(p, image)); + return QPrintPreviewWidget::eventFilter(watched0, event1); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) +void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) { - ( theWrappedObject->drawImage(p, image, sr, flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) -{ - ( theWrappedObject->drawImage(r, image)); + QPrintPreviewWidget::focusInEvent(event0); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) +bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) -{ - ( theWrappedObject->drawImage(r, image)); + return QPrintPreviewWidget::focusNextPrevChild(next0); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) +void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -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)); + QPrintPreviewWidget::focusOutEvent(event0); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) +bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { - ( theWrappedObject->drawLine(line)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) -{ - ( theWrappedObject->drawLine(line)); + return QPrintPreviewWidget::hasHeightForWidth(); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) +int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { - ( theWrappedObject->drawLine(p1, p2)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) -{ - ( theWrappedObject->drawLine(p1, p2)); + return QPrintPreviewWidget::heightForWidth(arg__1); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) +void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) { - ( theWrappedObject->drawLine(x1, y1, x2, y2)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) -{ - ( theWrappedObject->drawLines(lines)); + QPrintPreviewWidget::hideEvent(event0); } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) +void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { - ( theWrappedObject->drawLines(lines)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) -{ - ( theWrappedObject->drawLines(pointPairs)); + QPrintPreviewWidget::initPainter(painter0); } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) { - ( theWrappedObject->drawLines(pointPairs)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->drawPath(path)); + QPrintPreviewWidget::inputMethodEvent(arg__1); } - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) +QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - ( theWrappedObject->drawPicture(p, picture)); -} - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(p, picture)); -} - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(x, y, picture)); -} - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) -{ - ( theWrappedObject->drawPie(arg__1, a, alen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) -{ - ( theWrappedObject->drawPie(rect, a, alen)); + return QPrintPreviewWidget::inputMethodQuery(arg__1); } - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->drawPie(x, y, w, h, a, alen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(p, pm)); + QPrintPreviewWidget::keyPressEvent(event0); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) +void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->drawPixmap(p, pm, sr)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(p, pm)); + QPrintPreviewWidget::keyReleaseEvent(event0); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) +void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) { - ( theWrappedObject->drawPixmap(p, pm, sr)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(r, pm)); + QPrintPreviewWidget::leaveEvent(event0); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) +int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) -{ - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); + return QPrintPreviewWidget::metric(arg__1); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) +QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { - ( theWrappedObject->drawPixmap(x, y, pm)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -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)); + return QPrintPreviewWidget::minimumSizeHint(); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) +void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* event0) { - ( theWrappedObject->drawPixmap(x, y, w, h, pm)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -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)); + QPrintPreviewWidget::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QPainter::drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints) +void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) { - ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->drawPoint(p)); + QPrintPreviewWidget::mouseMoveEvent(event0); } - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) +void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) { - ( theWrappedObject->drawPoint(pt)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) -{ - ( theWrappedObject->drawPoint(x, y)); + QPrintPreviewWidget::mousePressEvent(event0); } - -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) +void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) { - ( theWrappedObject->drawPoints(points)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) -{ - ( theWrappedObject->drawPoints(points)); + QPrintPreviewWidget::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) +void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->drawPolygon(polygon, fillRule)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) -{ - ( theWrappedObject->drawPolygon(polygon, fillRule)); + QPrintPreviewWidget::moveEvent(event0); } - -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) +bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->drawPolyline(polygon)); -} - -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) -{ - ( theWrappedObject->drawPolyline(polyline)); -} - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->drawRect(rect)); -} - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->drawRect(rect)); -} - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) -{ - ( theWrappedObject->drawRect(x1, y1, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) -{ - ( theWrappedObject->drawRects(rectangles)); + return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { - ( theWrappedObject->drawRects(rectangles)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) -{ - ( theWrappedObject->drawRoundRect(r, xround, yround)); + return QPrintPreviewWidget::paintEngine(); } - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) +void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) { - ( theWrappedObject->drawRoundRect(r, xround, yround)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -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)); + QPrintPreviewWidget::paintEvent(event0); } - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const { - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); + return QPrintPreviewWidget::redirected(offset0); } - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) { - ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) -{ - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); + QPrintPreviewWidget::resizeEvent(event0); } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) +void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) { - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) -{ - ( theWrappedObject->drawStaticText(left, top, staticText)); + QPrintPreviewWidget::setVisible(visible0); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) +QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { - ( theWrappedObject->drawText(p, s)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) -{ - ( theWrappedObject->drawText(p, s)); + return QPrintPreviewWidget::sharedPainter(); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) +void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) { - ( theWrappedObject->drawText(r, flags, text, br)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) -{ - ( theWrappedObject->drawText(r, text, o)); + QPrintPreviewWidget::showEvent(event0); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) +QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { - ( theWrappedObject->drawText(r, flags, text, br)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) -{ - ( theWrappedObject->drawText(x, y, s)); + return QPrintPreviewWidget::sizeHint(); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) +void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) -{ - ( theWrappedObject->drawTextItem(p, ti)); + QPrintPreviewWidget::tabletEvent(event0); } - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) +void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->drawTextItem(p, ti)); -} - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) -{ - ( theWrappedObject->drawTextItem(x, y, ti)); -} - -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::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) -{ - ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -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)); + QPrintPreviewWidget::timerEvent(event0); } - -bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) +void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->end()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) -{ - ( theWrappedObject->endNativePainting()); + QPrintPreviewWidget::wheelEvent(event0); } +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(printer, parent, flags); } -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->eraseRect(arg__1)); -} +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(parent, flags); } -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) -{ - ( theWrappedObject->eraseRect(arg__1)); +const QMetaObject* PythonQtShell_QPrintPreviewWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewWidget::staticMetaObject); + } else { + return &QPrintPreviewWidget::staticMetaObject; + } } - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->eraseRect(x, y, w, h)); +int PythonQtShell_QPrintPreviewWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintPreviewWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) +int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->fillPath(path, brush)); + return ( theWrappedObject->currentPage()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) +QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->fillRect(arg__1, arg__2)); + return ( theWrappedObject->orientation()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) +int PythonQtWrapper_QPrintPreviewWidget::pageCount(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->fillRect(arg__1, color)); + return ( theWrappedObject->pageCount()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) +QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->fillRect(r, style)); + return ( theWrappedObject->viewMode()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) +qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->fillRect(r, c)); + return ( theWrappedObject->zoomFactor()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) +QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->fillRect(arg__1, arg__2)); + return ( theWrappedObject->zoomMode()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) -{ - ( theWrappedObject->fillRect(arg__1, color)); -} -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) -{ - ( theWrappedObject->fillRect(r, style)); -} -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(r, c)); +PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) +int PythonQtShell_QPrinter::devType() const { - ( theWrappedObject->fillRect(x, y, w, h, style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(x, y, w, h, c)); + return QPrinter::devType(); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) +void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { - ( theWrappedObject->fillRect(x, y, w, h, arg__5)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) -{ - ( theWrappedObject->fillRect(x, y, w, h, color)); + QPrinter::initPainter(painter0); } - -const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const +int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return &( theWrappedObject->font()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->fontInfo()); + return QPrinter::metric(arg__1); } - -QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const +bool PythonQtShell_QPrinter::newPage() { - return ( theWrappedObject->fontMetrics()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("newPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->hasClipping()); + return QPrinter::newPage(); } - -void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) +QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { - ( theWrappedObject->initFrom(device)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); + return QPrinter::paintEngine(); } - -Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const +QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { - return ( theWrappedObject->layoutDirection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); + return QPrinter::redirected(offset0); } - -QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const +void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { - return ( theWrappedObject->paintEngine()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&m0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->pen()); + QPrinter::setMargins(m0); } - -QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) +void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { - return (QPainter::redirected(device, offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->renderHints()); + QPrinter::setPageSize(arg__1); } - -void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) +void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { - ( theWrappedObject->resetMatrix()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPageSizeMM"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) + QPrinter::setPageSizeMM(size0); +} +QPainter* PythonQtShell_QPrinter::sharedPainter() const { - ( theWrappedObject->resetTransform()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrinter::sharedPainter(); } +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(QPrinter::PrinterMode mode) +{ +return new PythonQtShell_QPrinter(mode); } -void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode) +{ +return new PythonQtShell_QPrinter(printer, mode); } + +bool PythonQtWrapper_QPrinter::abort(QPrinter* theWrappedObject) { - ( theWrappedObject->restore()); + return ( theWrappedObject->abort()); } -void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) +int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const { - (QPainter::restoreRedirected(device)); + return ( theWrappedObject->actualNumCopies()); } -void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) +bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const { - ( theWrappedObject->rotate(a)); + return ( theWrappedObject->collateCopies()); } -void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) +QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const { - ( theWrappedObject->save()); + return ( theWrappedObject->colorMode()); } -void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) +int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) const { - ( theWrappedObject->scale(sx, sy)); + return ( theWrappedObject->copyCount()); } -void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) +QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const { - ( theWrappedObject->setBackground(bg)); + return ( theWrappedObject->creator()); } -void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) +QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const { - ( theWrappedObject->setBackgroundMode(mode)); + return ( theWrappedObject->docName()); } -void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) +bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const { - ( theWrappedObject->setBrush(brush)); + return ( theWrappedObject->doubleSidedPrinting()); } -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) +QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const { - ( theWrappedObject->setBrushOrigin(arg__1)); + return ( theWrappedObject->duplex()); } -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) +bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const { - ( theWrappedObject->setBrushOrigin(arg__1)); + return ( theWrappedObject->fontEmbeddingEnabled()); } -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) +int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const { - ( theWrappedObject->setBrushOrigin(x, y)); + return ( theWrappedObject->fromPage()); } -void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) +bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const { - ( theWrappedObject->setClipPath(path, op)); + return ( theWrappedObject->fullPage()); } -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) +void PythonQtWrapper_QPrinter::getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const { - ( theWrappedObject->setClipRect(arg__1, op)); + ( theWrappedObject->getPageMargins(left, top, right, bottom, unit)); } -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) +bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const { - ( theWrappedObject->setClipRect(arg__1, op)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) +int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const { - ( theWrappedObject->setClipRect(x, y, w, h, op)); + return ( theWrappedObject->numCopies()); } -void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) +QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const { - ( theWrappedObject->setClipRegion(arg__1, op)); + return ( theWrappedObject->orientation()); } -void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) +QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const { - ( theWrappedObject->setClipping(enable)); + return ( theWrappedObject->outputFileName()); } -void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) +QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const { - ( theWrappedObject->setCompositionMode(mode)); + return ( theWrappedObject->outputFormat()); } -void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) +QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const { - ( theWrappedObject->setFont(f)); + return ( theWrappedObject->pageOrder()); } -void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) +QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const { - ( theWrappedObject->setLayoutDirection(direction)); + return ( theWrappedObject->pageRect()); } -void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) +QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const { - ( theWrappedObject->setOpacity(opacity)); + return ( theWrappedObject->pageRect(arg__1)); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const { - ( theWrappedObject->setPen(style)); + return ( theWrappedObject->pageSize()); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) +QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const { - ( theWrappedObject->setPen(color)); + return ( theWrappedObject->paperName()); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) +QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const { - ( theWrappedObject->setPen(pen)); + return ( theWrappedObject->paperRect()); } -void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) +QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const { - (QPainter::setRedirected(device, replacement, offset)); + return ( theWrappedObject->paperRect(arg__1)); } -void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const { - ( theWrappedObject->setRenderHint(hint, on)); + return ( theWrappedObject->paperSize()); } -void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) +QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const { - ( theWrappedObject->setRenderHints(hints, on)); + return ( theWrappedObject->paperSize(unit)); } -void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) +QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const { - ( theWrappedObject->setTransform(transform, combine)); + return ( theWrappedObject->paperSource()); } -void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPrinter::pdfVersion(QPrinter* theWrappedObject) const { - ( theWrappedObject->setViewTransformEnabled(enable)); + return ( theWrappedObject->pdfVersion()); } -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) +QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const { - ( theWrappedObject->setViewport(viewport)); + return ( theWrappedObject->printEngine()); } -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) +QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const { - ( theWrappedObject->setViewport(x, y, w, h)); + return ( theWrappedObject->printProgram()); } -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const { - ( theWrappedObject->setWindow(window)); + return ( theWrappedObject->printRange()); } -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) +QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) const { - ( theWrappedObject->setWindow(x, y, w, h)); + return ( theWrappedObject->printerName()); } -void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const { - ( theWrappedObject->setWorldMatrix(matrix, combine)); + return ( theWrappedObject->printerState()); } -void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) +int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const { - ( theWrappedObject->setWorldMatrixEnabled(enabled)); + return ( theWrappedObject->resolution()); } -void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) +void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) { - ( theWrappedObject->setWorldTransform(matrix, combine)); + ( theWrappedObject->setCollateCopies(collate)); } -void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) +void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) { - ( theWrappedObject->shear(sh, sv)); + ( theWrappedObject->setColorMode(arg__1)); } -void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) +void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) { - ( theWrappedObject->strokePath(path, pen)); + ( theWrappedObject->setCopyCount(arg__1)); } -bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const +void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->testRenderHint(hint)); + ( theWrappedObject->setCreator(arg__1)); } -const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const +void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) { - return &( theWrappedObject->transform()); + ( theWrappedObject->setDocName(arg__1)); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) +void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) { - ( theWrappedObject->translate(offset)); + ( theWrappedObject->setDoubleSidedPrinting(enable)); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) +void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) { - ( theWrappedObject->translate(offset)); + ( theWrappedObject->setDuplex(duplex)); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) +void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) { - ( theWrappedObject->translate(dx, dy)); + ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); } -bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const +void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) { - return ( theWrappedObject->viewTransformEnabled()); + ( theWrappedObject->setFontEmbeddingEnabled(enable)); } -QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const +void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) { - return ( theWrappedObject->viewport()); + ( theWrappedObject->setFromTo(fromPage, toPage)); } -QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) { - return ( theWrappedObject->window()); + ( theWrappedObject->setFullPage(arg__1)); } -const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const +void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) { - return &( theWrappedObject->worldMatrix()); + ( theWrappedObject->setNumCopies(arg__1)); } -bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) { - return ( theWrappedObject->worldMatrixEnabled()); + ( theWrappedObject->setOrientation(arg__1)); } -const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const +void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) { - return &( theWrappedObject->worldTransform()); + ( theWrappedObject->setOutputFileName(arg__1)); } - - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPainterPath& other) -{ -return new QPainterPath(other); } - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPointF& startPoint) -{ -return new QPainterPath(startPoint); } - -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) { - ( theWrappedObject->addEllipse(center, rx, ry)); + ( theWrappedObject->setOutputFormat(format)); } -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) { - ( theWrappedObject->addEllipse(x, y, w, h)); + ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); } -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) { - ( theWrappedObject->addRect(x, y, w, h)); + ( theWrappedObject->setPageOrder(arg__1)); } -void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) { - ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); + ( theWrappedObject->setPaperName(paperName)); } -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) { - ( theWrappedObject->addText(x, y, f, text)); + ( theWrappedObject->setPaperSize(arg__1)); } -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) { - ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); + ( theWrappedObject->setPaperSize(paperSize, unit)); } -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) +void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) { - ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); + ( theWrappedObject->setPaperSource(arg__1)); } -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) +void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) { - ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); + ( theWrappedObject->setPdfVersion(version)); } -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) +void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) { - ( theWrappedObject->lineTo(x, y)); + ( theWrappedObject->setPrintProgram(arg__1)); } -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) +void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) { - ( theWrappedObject->moveTo(x, y)); + ( theWrappedObject->setPrintRange(range)); } -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) +void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) { - return ( (*theWrappedObject)* m); + ( theWrappedObject->setPrinterName(arg__1)); } -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) +void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) { - return ( (*theWrappedObject)* m); + ( theWrappedObject->setResolution(arg__1)); } -void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) { - arg__1 << (*theWrappedObject); + ( theWrappedObject->setWinPageSize(winPageSize)); } -void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) +QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const { - arg__1 >> (*theWrappedObject); + return ( theWrappedObject->supportedResolutions()); } -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) +bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const { - ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); + return ( theWrappedObject->supportsMultipleCopies()); } -void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) +int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const { - ( theWrappedObject->translate(offset)); + return ( theWrappedObject->toPage()); } -QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const +int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const { - return ( theWrappedObject->translated(offset)); + return ( theWrappedObject->winPageSize()); } -QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo() +{ +return new QPrinterInfo(); } + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinter& printer) +{ +return new QPrinterInfo(printer); } + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinterInfo& other) +{ +return new QPrinterInfo(other); } -Qt::PenCapStyle PythonQtWrapper_QPainterPathStroker::capStyle(QPainterPathStroker* theWrappedObject) const +QStringList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinterNames() { - return ( theWrappedObject->capStyle()); + return (QPrinterInfo::availablePrinterNames()); } -QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const +QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() { - return ( theWrappedObject->createStroke(path)); + return (QPrinterInfo::availablePrinters()); } -qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const +QPrinter::ColorMode PythonQtWrapper_QPrinterInfo::defaultColorMode(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->curveThreshold()); + return ( theWrappedObject->defaultColorMode()); } -qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const +QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->dashOffset()); + return ( theWrappedObject->defaultDuplexMode()); } -QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->dashPattern()); -} - -Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->joinStyle()); -} - -qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const -{ - return ( theWrappedObject->miterLimit()); -} - -void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) -{ - ( theWrappedObject->setCapStyle(style)); -} - -void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) -{ - ( theWrappedObject->setCurveThreshold(threshold)); -} - -void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) +QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setDashOffset(offset)); + return ( theWrappedObject->defaultPageSize()); } -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1) +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() { - ( theWrappedObject->setDashPattern(arg__1)); + return (QPrinterInfo::defaultPrinter()); } -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern) +QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() { - ( theWrappedObject->setDashPattern(dashPattern)); + return (QPrinterInfo::defaultPrinterName()); } -void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) +QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setJoinStyle(style)); + return ( theWrappedObject->description()); } -void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) +bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setMiterLimit(length)); + return ( theWrappedObject->isDefault()); } -void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) +bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setWidth(width)); + return ( theWrappedObject->isNull()); } -qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const +bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->width()); -} - - - -PythonQtShell_QPainterPath__Element::~PythonQtShell_QPainterPath__Element() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->isRemote()); } -QPainterPath::Element* PythonQtWrapper_QPainterPath__Element::new_QPainterPath__Element() -{ -return new PythonQtShell_QPainterPath__Element(); } -bool PythonQtWrapper_QPainterPath__Element::isCurveTo(QPainterPath::Element* theWrappedObject) const +QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->isCurveTo()); + return ( theWrappedObject->location()); } -bool PythonQtWrapper_QPainterPath__Element::isLineTo(QPainterPath::Element* theWrappedObject) const +QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->isLineTo()); + return ( theWrappedObject->makeAndModel()); } -bool PythonQtWrapper_QPainterPath__Element::isMoveTo(QPainterPath::Element* theWrappedObject) const +QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->isMoveTo()); + return ( theWrappedObject->maximumPhysicalPageSize()); } -QPointF PythonQtWrapper_QPainterPath__Element::operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const +QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->operator QPointF()); + return ( theWrappedObject->minimumPhysicalPageSize()); } -bool PythonQtWrapper_QPainterPath__Element::__ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) { - return ( (*theWrappedObject)!= e); + return (QPrinterInfo::printerInfo(printerName)); } -bool PythonQtWrapper_QPainterPath__Element::__eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const { - return ( (*theWrappedObject)== e); -} - - - -PythonQtShell_QPainter__PixmapFragment::~PythonQtShell_QPainter__PixmapFragment() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->printerName()); } -QPainter::PixmapFragment* PythonQtWrapper_QPainter__PixmapFragment::new_QPainter__PixmapFragment() -{ -return new PythonQtShell_QPainter__PixmapFragment(); } -QPainter::PixmapFragment PythonQtWrapper_QPainter__PixmapFragment::static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX, qreal scaleY, qreal rotation, qreal opacity) +QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const { - return (QPainter::PixmapFragment::create(pos, sourceRect, scaleX, scaleY, rotation, opacity)); + return ( theWrappedObject->state()); } - - -QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) -{ -return new QPanGesture(parent); } - -qreal PythonQtWrapper_QPanGesture::acceleration(QPanGesture* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::supportedColorModes(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->acceleration()); + return ( theWrappedObject->supportedColorModes()); } -QPointF PythonQtWrapper_QPanGesture::delta(QPanGesture* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::supportedDuplexModes(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->delta()); + return ( theWrappedObject->supportedDuplexModes()); } -QPointF PythonQtWrapper_QPanGesture::lastOffset(QPanGesture* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::supportedPageSizes(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->lastOffset()); + return ( theWrappedObject->supportedPageSizes()); } -QPointF PythonQtWrapper_QPanGesture::offset(QPanGesture* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::supportedPaperSizes(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->offset()); + return ( theWrappedObject->supportedPaperSizes()); } -void PythonQtWrapper_QPanGesture::setAcceleration(QPanGesture* theWrappedObject, qreal value) +QList PythonQtWrapper_QPrinterInfo::supportedResolutions(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setAcceleration(value)); + return ( theWrappedObject->supportedResolutions()); } -void PythonQtWrapper_QPanGesture::setLastOffset(QPanGesture* theWrappedObject, const QPointF& value) +QList > PythonQtWrapper_QPrinterInfo::supportedSizesWithNames(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setLastOffset(value)); + return ( theWrappedObject->supportedSizesWithNames()); } -void PythonQtWrapper_QPanGesture::setOffset(QPanGesture* theWrappedObject, const QPointF& value) +bool PythonQtWrapper_QPrinterInfo::supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setOffset(value)); + return ( theWrappedObject->supportsCustomPageSizes()); } -PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { +PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const +void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPdfWriter::metric(id0); + QProgressBar::actionEvent(event0); } -bool PythonQtShell_QPdfWriter::newPage() +void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPdfWriter::newPage(); + QProgressBar::changeEvent(arg__1); } -QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const +void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPdfWriter::paintEngine(); + QProgressBar::childEvent(event0); } -void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) +void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMargins"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&m0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1405,21 +2132,21 @@ if (_wrapper) { } } } - QPdfWriter::setMargins(m0); + QProgressBar::closeEvent(event0); } -void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) +void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSize"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1427,21 +2154,21 @@ if (_wrapper) { } } } - QPdfWriter::setPageSize(size0); + QProgressBar::contextMenuEvent(event0); } -void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) +void PythonQtShell_QProgressBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSizeMM"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1449,144 +2176,32 @@ if (_wrapper) { } } } - QPdfWriter::setPageSizeMM(size0); -} -QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(QIODevice* device) -{ -return new PythonQtShell_QPdfWriter(device); } - -QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(const QString& filename) -{ -return new PythonQtShell_QPdfWriter(filename); } - -const QMetaObject* PythonQtShell_QPdfWriter::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPdfWriter::staticMetaObject); - } else { - return &QPdfWriter::staticMetaObject; - } -} -int PythonQtShell_QPdfWriter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPdfWriter::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QPdfWriter::addFileAttachment(QPdfWriter* theWrappedObject, const QString& fileName, const QByteArray& data, const QString& mimeType) -{ - ( theWrappedObject->addFileAttachment(fileName, data, mimeType)); -} - -QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->creator()); -} - -QByteArray PythonQtWrapper_QPdfWriter::documentXmpMetadata(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->documentXmpMetadata()); -} - -int PythonQtWrapper_QPdfWriter::metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const -{ - return ( ((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->promoted_metric(id)); -} - -bool PythonQtWrapper_QPdfWriter::newPage(QPdfWriter* theWrappedObject) -{ - return ( theWrappedObject->newPage()); -} - -QPaintEngine* PythonQtWrapper_QPdfWriter::paintEngine(QPdfWriter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->promoted_paintEngine()); -} - -QPagedPaintDevice::PdfVersion PythonQtWrapper_QPdfWriter::pdfVersion(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->pdfVersion()); -} - -int PythonQtWrapper_QPdfWriter::resolution(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->resolution()); -} - -void PythonQtWrapper_QPdfWriter::setCreator(QPdfWriter* theWrappedObject, const QString& creator) -{ - ( theWrappedObject->setCreator(creator)); -} - -void PythonQtWrapper_QPdfWriter::setDocumentXmpMetadata(QPdfWriter* theWrappedObject, const QByteArray& xmpMetadata) -{ - ( theWrappedObject->setDocumentXmpMetadata(xmpMetadata)); -} - -void PythonQtWrapper_QPdfWriter::setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m) -{ - ( theWrappedObject->setMargins(m)); -} - -void PythonQtWrapper_QPdfWriter::setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size) -{ - ( theWrappedObject->setPageSize(size)); -} - -void PythonQtWrapper_QPdfWriter::setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setPageSizeMM(size)); -} - -void PythonQtWrapper_QPdfWriter::setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version) -{ - ( theWrappedObject->setPdfVersion(version)); -} - -void PythonQtWrapper_QPdfWriter::setResolution(QPdfWriter* theWrappedObject, int resolution) -{ - ( theWrappedObject->setResolution(resolution)); -} - -void PythonQtWrapper_QPdfWriter::setTitle(QPdfWriter* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setTitle(title)); -} - -QString PythonQtWrapper_QPdfWriter::title(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - - - -PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QProgressBar::customEvent(event0); } -bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) +int PythonQtShell_QProgressBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("installIOHandler"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1594,396 +2209,109 @@ if (_wrapper) { } } } - return bool(); + return QProgressBar::devType(); } -bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) +void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadPicture"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&format0, (void*)&filename1, (void*)&pic2}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); + QProgressBar::dragEnterEvent(event0); } -bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) +void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("savePicture"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&format0, (void*)&filename1, (void*)&pic2}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPictureFormatPlugin::savePicture(format0, filename1, pic2); -} -QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) -{ -return new PythonQtShell_QPictureFormatPlugin(parent); } - -const QMetaObject* PythonQtShell_QPictureFormatPlugin::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPictureFormatPlugin::staticMetaObject); - } else { - return &QPictureFormatPlugin::staticMetaObject; - } -} -int PythonQtShell_QPictureFormatPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPictureFormatPlugin::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QPictureFormatPlugin::installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format) -{ - return ( theWrappedObject->installIOHandler(format)); -} - -bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) -{ - return ( theWrappedObject->loadPicture(format, filename, pic)); -} - -bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) -{ - return ( theWrappedObject->savePicture(format, filename, pic)); -} - - - -QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->description()); -} - -QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->gamma()); -} - -QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() -{ - return (QPictureIO::inputFormats()); -} - -QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->ioDevice()); -} - -QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() -{ - return (QPictureIO::outputFormats()); -} - -const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->parameters()); -} - -const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const -{ - return &( theWrappedObject->picture()); -} - -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) -{ - return (QPictureIO::pictureFormat(arg__1)); -} - -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) -{ - return (QPictureIO::pictureFormat(fileName)); -} - -int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->quality()); -} - -bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) -{ - return ( theWrappedObject->read()); -} - -void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setDescription(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setFileName(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) -{ - ( theWrappedObject->setFormat(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) -{ - ( theWrappedObject->setGamma(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) -{ - ( theWrappedObject->setIODevice(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) -{ - ( theWrappedObject->setParameters(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) -{ - ( theWrappedObject->setPicture(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setQuality(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setStatus(arg__1)); -} - -int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->status()); -} - -bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) -{ - return ( theWrappedObject->write()); -} - - - -QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) -{ -return new QPinchGesture(parent); } - -QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->centerPoint()); -} - -QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::changeFlags(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->changeFlags()); -} - -QPointF PythonQtWrapper_QPinchGesture::lastCenterPoint(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->lastCenterPoint()); -} - -qreal PythonQtWrapper_QPinchGesture::lastRotationAngle(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->lastRotationAngle()); -} - -qreal PythonQtWrapper_QPinchGesture::lastScaleFactor(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->lastScaleFactor()); -} - -qreal PythonQtWrapper_QPinchGesture::rotationAngle(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->rotationAngle()); -} - -qreal PythonQtWrapper_QPinchGesture::scaleFactor(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->scaleFactor()); -} - -void PythonQtWrapper_QPinchGesture::setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) -{ - ( theWrappedObject->setCenterPoint(value)); -} - -void PythonQtWrapper_QPinchGesture::setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) -{ - ( theWrappedObject->setChangeFlags(value)); -} - -void PythonQtWrapper_QPinchGesture::setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) -{ - ( theWrappedObject->setLastCenterPoint(value)); -} - -void PythonQtWrapper_QPinchGesture::setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setLastRotationAngle(value)); -} - -void PythonQtWrapper_QPinchGesture::setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setLastScaleFactor(value)); -} - -void PythonQtWrapper_QPinchGesture::setRotationAngle(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setRotationAngle(value)); -} - -void PythonQtWrapper_QPinchGesture::setScaleFactor(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setScaleFactor(value)); -} - -void PythonQtWrapper_QPinchGesture::setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) -{ - ( theWrappedObject->setStartCenterPoint(value)); -} - -void PythonQtWrapper_QPinchGesture::setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) -{ - ( theWrappedObject->setTotalChangeFlags(value)); -} - -void PythonQtWrapper_QPinchGesture::setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setTotalRotationAngle(value)); -} - -void PythonQtWrapper_QPinchGesture::setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setTotalScaleFactor(value)); -} - -QPointF PythonQtWrapper_QPinchGesture::startCenterPoint(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->startCenterPoint()); -} - -QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::totalChangeFlags(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->totalChangeFlags()); -} - -qreal PythonQtWrapper_QPinchGesture::totalRotationAngle(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->totalRotationAngle()); + QProgressBar::dragLeaveEvent(event0); } - -qreal PythonQtWrapper_QPinchGesture::totalScaleFactor(QPinchGesture* theWrappedObject) const +void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->totalScaleFactor()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QProgressBar::dragMoveEvent(event0); } -QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const +void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockBoundingRect"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextDocumentLayout::blockBoundingRect(block0); + QProgressBar::dropEvent(event0); } -void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) +void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("documentChanged"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1991,32 +2319,32 @@ if (_wrapper) { } } } - QPlainTextDocumentLayout::documentChanged(from0, arg__2, charsAdded2); + QProgressBar::enterEvent(event0); } -QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const +bool PythonQtShell_QProgressBar::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("documentSize"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizeF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2024,43 +2352,54 @@ if (_wrapper) { } } } - return QPlainTextDocumentLayout::documentSize(); + return QProgressBar::event(e0); } -void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) +bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextDocumentLayout::draw(arg__1, arg__2); + return QProgressBar::eventFilter(watched0, event1); } -void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) +void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawInlineObject"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2068,32 +2407,32 @@ if (_wrapper) { } } } - QPlainTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); + QProgressBar::focusInEvent(event0); } -QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const +bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("frameBoundingRect"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2101,65 +2440,54 @@ if (_wrapper) { } } } - return QPlainTextDocumentLayout::frameBoundingRect(arg__1); + return QProgressBar::focusNextPrevChild(next0); } -int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const +void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitTest"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); + QProgressBar::focusOutEvent(event0); } -int PythonQtShell_QPlainTextDocumentLayout::pageCount() const +bool PythonQtShell_QProgressBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pageCount"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2167,43 +2495,54 @@ if (_wrapper) { } } } - return QPlainTextDocumentLayout::pageCount(); + return QProgressBar::hasHeightForWidth(); } -void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("positionInlineObject"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); + return QProgressBar::heightForWidth(arg__1); } -void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeInlineObject"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2211,64 +2550,43 @@ if (_wrapper) { } } } - QPlainTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); -} -QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) -{ -return new PythonQtShell_QPlainTextDocumentLayout(document); } - -const QMetaObject* PythonQtShell_QPlainTextDocumentLayout::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextDocumentLayout::staticMetaObject); - } else { - return &QPlainTextDocumentLayout::staticMetaObject; - } -} -int PythonQtShell_QPlainTextDocumentLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPlainTextDocumentLayout::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -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()); + QProgressBar::hideEvent(event0); } - -void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { - ( theWrappedObject->setCursorWidth(width)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QProgressBar::initPainter(painter0); } -void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2276,32 +2594,32 @@ if (_wrapper) { } } } - QPlainTextEdit::actionEvent(event0); + QProgressBar::inputMethodEvent(arg__1); } -bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const +QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canInsertFromMimeData"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&source0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2309,21 +2627,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::canInsertFromMimeData(source0); + return QProgressBar::inputMethodQuery(arg__1); } -void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) +void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2331,21 +2649,21 @@ if (_wrapper) { } } } - QPlainTextEdit::changeEvent(e0); + QProgressBar::keyPressEvent(event0); } -void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2353,21 +2671,21 @@ if (_wrapper) { } } } - QPlainTextEdit::closeEvent(event0); + QProgressBar::keyReleaseEvent(event0); } -void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) +void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2375,32 +2693,32 @@ if (_wrapper) { } } } - QPlainTextEdit::contextMenuEvent(e0); + QProgressBar::leaveEvent(event0); } -QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const +int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createMimeDataFromSelection"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QMimeData**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2408,32 +2726,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::createMimeDataFromSelection(); + return QProgressBar::metric(arg__1); } -int PythonQtShell_QPlainTextEdit::devType() const +QSize PythonQtShell_QProgressBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2441,43 +2759,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::devType(); -} -void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doSetTextCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextEdit::doSetTextCursor(cursor0); + return QProgressBar::minimumSizeHint(); } -void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) +void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2485,21 +2781,21 @@ if (_wrapper) { } } } - QPlainTextEdit::dragEnterEvent(e0); + QProgressBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2507,21 +2803,21 @@ if (_wrapper) { } } } - QPlainTextEdit::dragLeaveEvent(e0); + QProgressBar::mouseMoveEvent(event0); } -void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2529,21 +2825,21 @@ if (_wrapper) { } } } - QPlainTextEdit::dragMoveEvent(e0); + QProgressBar::mousePressEvent(event0); } -void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) +void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2551,21 +2847,21 @@ if (_wrapper) { } } } - QPlainTextEdit::dropEvent(e0); + QProgressBar::mouseReleaseEvent(event0); } -void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) +void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2573,32 +2869,32 @@ if (_wrapper) { } } } - QPlainTextEdit::enterEvent(event0); + QProgressBar::moveEvent(event0); } -bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) +bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2606,32 +2902,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::event(e0); + return QProgressBar::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2639,21 +2935,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::eventFilter(arg__1, arg__2); + return QProgressBar::paintEngine(); } -void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2661,32 +2957,32 @@ if (_wrapper) { } } } - QPlainTextEdit::focusInEvent(e0); + QProgressBar::paintEvent(arg__1); } -bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) +QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2694,21 +2990,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::focusNextPrevChild(next0); + return QProgressBar::redirected(offset0); } -void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2716,65 +3012,54 @@ if (_wrapper) { } } } - QPlainTextEdit::focusOutEvent(e0); + QProgressBar::resizeEvent(event0); } -bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const +void PythonQtShell_QProgressBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::hasHeightForWidth(); + QProgressBar::setVisible(visible0); } -int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const +QPainter* PythonQtShell_QProgressBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2782,21 +3067,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::heightForWidth(arg__1); + return QProgressBar::sharedPainter(); } -void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2804,43 +3089,54 @@ if (_wrapper) { } } } - QPlainTextEdit::hideEvent(event0); + QProgressBar::showEvent(event0); } -void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const +QSize PythonQtShell_QProgressBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::initPainter(painter0); + return QProgressBar::sizeHint(); } -void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2848,32 +3144,32 @@ if (_wrapper) { } } } - QPlainTextEdit::inputMethodEvent(arg__1); + QProgressBar::tabletEvent(event0); } -QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const +QString PythonQtShell_QProgressBar::text() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&property0}; + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2881,21 +3177,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::inputMethodQuery(property0); + return QProgressBar::text(); } -void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) +void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertFromMimeData"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2903,21 +3199,21 @@ if (_wrapper) { } } } - QPlainTextEdit::insertFromMimeData(source0); + QProgressBar::timerEvent(event0); } -void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) +void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2925,43 +3221,139 @@ if (_wrapper) { } } } - QPlainTextEdit::keyPressEvent(e0); + QProgressBar::wheelEvent(event0); } -void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) +{ +return new PythonQtShell_QProgressBar(parent); } + +const QMetaObject* PythonQtShell_QProgressBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressBar::staticMetaObject); + } else { + return &QProgressBar::staticMetaObject; } } - QPlainTextEdit::keyReleaseEvent(e0); +int PythonQtShell_QProgressBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProgressBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QProgressBar::initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const +{ + ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->invertedAppearance()); +} + +bool PythonQtWrapper_QProgressBar::isTextVisible(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->isTextVisible()); +} + +int PythonQtWrapper_QProgressBar::maximum(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QProgressBar::minimum(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +QSize PythonQtWrapper_QProgressBar::minimumSizeHint(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +Qt::Orientation PythonQtWrapper_QProgressBar::orientation(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QProgressBar::resetFormat(QProgressBar* theWrappedObject) +{ + ( theWrappedObject->resetFormat()); +} + +void PythonQtWrapper_QProgressBar::setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QProgressBar::setFormat(QProgressBar* theWrappedObject, const QString& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QProgressBar::setInvertedAppearance(QProgressBar* theWrappedObject, bool invert) +{ + ( theWrappedObject->setInvertedAppearance(invert)); +} + +void PythonQtWrapper_QProgressBar::setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection) +{ + ( theWrappedObject->setTextDirection(textDirection)); +} + +void PythonQtWrapper_QProgressBar::setTextVisible(QProgressBar* theWrappedObject, bool visible) +{ + ( theWrappedObject->setTextVisible(visible)); +} + +QSize PythonQtWrapper_QProgressBar::sizeHint(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QProgressBar::text(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2969,120 +3361,87 @@ if (_wrapper) { } } } - QPlainTextEdit::leaveEvent(event0); + QProgressDialog::accept(); } -QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) +void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadResource"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::loadResource(type0, name1); + QProgressDialog::actionEvent(event0); } -int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::metric(arg__1); + QProgressDialog::changeEvent(event0); } -QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const +void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::minimumSizeHint(); + QProgressDialog::childEvent(event0); } -void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3090,21 +3449,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseDoubleClickEvent(e0); + QProgressDialog::closeEvent(event0); } -void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3112,21 +3471,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseMoveEvent(e0); + QProgressDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3134,43 +3493,54 @@ if (_wrapper) { } } } - QPlainTextEdit::mousePressEvent(e0); + QProgressDialog::customEvent(event0); } -void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) +int PythonQtShell_QProgressDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::mouseReleaseEvent(e0); + return QProgressDialog::devType(); } -void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QProgressDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3178,87 +3548,43 @@ if (_wrapper) { } } } - QPlainTextEdit::moveEvent(event0); -} -bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextEdit::nativeEvent(eventType0, message1, result2); + QProgressDialog::done(arg__1); } -QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const +void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::paintEngine(); + QProgressDialog::dragEnterEvent(event0); } -void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) +void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3266,54 +3592,43 @@ if (_wrapper) { } } } - QPlainTextEdit::paintEvent(e0); + QProgressDialog::dragLeaveEvent(event0); } -QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const +void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::redirected(offset0); + QProgressDialog::dragMoveEvent(event0); } -void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3321,21 +3636,21 @@ if (_wrapper) { } } } - QPlainTextEdit::resizeEvent(e0); + QProgressDialog::dropEvent(event0); } -void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3343,76 +3658,98 @@ if (_wrapper) { } } } - QPlainTextEdit::scrollContentsBy(dx0, dy1); + QProgressDialog::enterEvent(event0); } -void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) +bool PythonQtShell_QProgressDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::setVisible(visible0); + return QProgressDialog::event(event0); } -void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) +bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::setupViewport(viewport0); + return QProgressDialog::eventFilter(arg__1, arg__2); } -QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const +int PythonQtShell_QProgressDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3420,21 +3757,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::sharedPainter(); + return QProgressDialog::exec(); } -void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) +void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3442,32 +3779,32 @@ if (_wrapper) { } } } - QPlainTextEdit::showEvent(arg__1); + QProgressDialog::focusInEvent(event0); } -QSize PythonQtShell_QPlainTextEdit::sizeHint() const +bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3475,21 +3812,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::sizeHint(); + return QProgressDialog::focusNextPrevChild(next0); } -void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3497,54 +3834,65 @@ if (_wrapper) { } } } - QPlainTextEdit::tabletEvent(event0); + QProgressDialog::focusOutEvent(event0); } -void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) +bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::timerEvent(e0); + return QProgressDialog::hasHeightForWidth(); } -bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) +int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3552,54 +3900,43 @@ if (_wrapper) { } } } - return QPlainTextEdit::viewportEvent(arg__1); + return QProgressDialog::heightForWidth(arg__1); } -QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const +void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::viewportSizeHint(); + QProgressDialog::hideEvent(event0); } -void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3607,398 +3944,21 @@ if (_wrapper) { } } } - QPlainTextEdit::wheelEvent(e0); -} -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); } - -const QMetaObject* PythonQtShell_QPlainTextEdit::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextEdit::staticMetaObject); - } else { - return &QPlainTextEdit::staticMetaObject; - } -} -int PythonQtShell_QPlainTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPlainTextEdit::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QPlainTextEdit::anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->anchorAt(pos)); -} - -bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->backgroundVisible()); -} - -QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingGeometry(block)); + QProgressDialog::initPainter(painter0); } - -QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingRect(block)); -} - -int PythonQtWrapper_QPlainTextEdit::blockCount(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->blockCount()); -} - -bool PythonQtWrapper_QPlainTextEdit::canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); -} - -bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->canPaste()); -} - -bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->centerOnScroll()); -} - -QPointF PythonQtWrapper_QPlainTextEdit::contentOffset(QPlainTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contentOffset()); -} - -QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); -} - -QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) -{ - return ( theWrappedObject->createStandardContextMenu()); -} - -QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position) -{ - return ( theWrappedObject->createStandardContextMenu(position)); -} - -QTextCharFormat PythonQtWrapper_QPlainTextEdit::currentCharFormat(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->currentCharFormat()); -} - -QTextCursor PythonQtWrapper_QPlainTextEdit::cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->cursorForPosition(pos)); -} - -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorRect()); -} - -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const -{ - return ( theWrappedObject->cursorRect(cursor)); -} - -int PythonQtWrapper_QPlainTextEdit::cursorWidth(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->cursorWidth()); -} - -void PythonQtWrapper_QPlainTextEdit::doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); -} - -QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->documentTitle()); -} - -void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) -{ - ( theWrappedObject->ensureCursorVisible()); -} - -QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->extraSelections()); -} - -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) -{ - return ( theWrappedObject->find(exp, options)); -} - -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) -{ - return ( theWrappedObject->find(exp, options)); -} - -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) -{ - return ( theWrappedObject->find(exp, options)); -} - -QTextBlock PythonQtWrapper_QPlainTextEdit::firstVisibleBlock(QPlainTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_firstVisibleBlock()); -} - -QAbstractTextDocumentLayout::PaintContext PythonQtWrapper_QPlainTextEdit::getPaintContext(QPlainTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_getPaintContext()); -} - -QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const -{ - return ( theWrappedObject->inputMethodQuery(query, argument)); -} - -void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); -} - -bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); -} - -bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->isUndoRedoEnabled()); -} - -QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->lineWrapMode()); -} - -QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) -{ - return ( theWrappedObject->loadResource(type, name)); -} - -int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->maximumBlockCount()); -} - -void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeCurrentCharFormat(modifier)); -} - -void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) -{ - ( theWrappedObject->moveCursor(operation, mode)); -} - -bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->overwriteMode()); -} - -QString PythonQtWrapper_QPlainTextEdit::placeholderText(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->placeholderText()); -} - -void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const -{ - ( theWrappedObject->print(printer)); -} - -void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) -{ - ( theWrappedObject->setBackgroundVisible(visible)); -} - -void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setCenterOnScroll(enabled)); -} - -void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setCurrentCharFormat(format)); -} - -void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setCursorWidth(width)); -} - -void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); -} - -void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setDocumentTitle(title)); -} - -void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) -{ - ( theWrappedObject->setExtraSelections(selections)); -} - -void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) -{ - ( theWrappedObject->setLineWrapMode(mode)); -} - -void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) -{ - ( theWrappedObject->setMaximumBlockCount(maximum)); -} - -void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) -{ - ( theWrappedObject->setOverwriteMode(overwrite)); -} - -void PythonQtWrapper_QPlainTextEdit::setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText) -{ - ( theWrappedObject->setPlaceholderText(placeholderText)); -} - -void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) -{ - ( theWrappedObject->setReadOnly(ro)); -} - -void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) -{ - ( theWrappedObject->setTabChangesFocus(b)); -} - -void PythonQtWrapper_QPlainTextEdit::setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance) -{ - ( theWrappedObject->setTabStopDistance(distance)); -} - -void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setTabStopWidth(width)); -} - -void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->setTextCursor(cursor)); -} - -void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUndoRedoEnabled(enable)); -} - -void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) -{ - ( theWrappedObject->setWordWrapMode(policy)); -} - -bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabChangesFocus()); -} - -qreal PythonQtWrapper_QPlainTextEdit::tabStopDistance(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabStopDistance()); -} - -int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabStopWidth()); -} - -QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textCursor()); -} - -Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - -void PythonQtWrapper_QPlainTextEdit::timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_timerEvent(e)); -} - -QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->toPlainText()); -} - -QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->wordWrapMode()); -} - -void PythonQtWrapper_QPlainTextEdit::zoomInF(QPlainTextEdit* theWrappedObject, float range) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_zoomInF(range)); -} - - - -PythonQtShell_QPlatformSurfaceEvent::~PythonQtShell_QPlatformSurfaceEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QPlatformSurfaceEvent* PythonQtWrapper_QPlatformSurfaceEvent::new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType) -{ -return new PythonQtShell_QPlatformSurfaceEvent(surfaceEventType); } - -QPlatformSurfaceEvent::SurfaceEventType PythonQtWrapper_QPlatformSurfaceEvent::surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const -{ - return ( theWrappedObject->surfaceEventType()); -} - - - -PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPrintDialog::accept() +void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4006,43 +3966,54 @@ if (_wrapper) { } } } - QPrintDialog::accept(); + QProgressDialog::inputMethodEvent(arg__1); } -void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) +QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::actionEvent(event0); + return QProgressDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4050,21 +4021,21 @@ if (_wrapper) { } } } - QPrintDialog::changeEvent(arg__1); + QProgressDialog::keyPressEvent(arg__1); } -void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4072,21 +4043,21 @@ if (_wrapper) { } } } - QPrintDialog::closeEvent(arg__1); + QProgressDialog::keyReleaseEvent(event0); } -void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4094,32 +4065,32 @@ if (_wrapper) { } } } - QPrintDialog::contextMenuEvent(arg__1); + QProgressDialog::leaveEvent(event0); } -int PythonQtShell_QPrintDialog::devType() const +int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4127,43 +4098,54 @@ if (_wrapper) { } } } - return QPrintDialog::devType(); + return QProgressDialog::metric(arg__1); } -void PythonQtShell_QPrintDialog::done(int result0) +QSize PythonQtShell_QProgressDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::done(result0); + return QProgressDialog::minimumSizeHint(); } -void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4171,21 +4153,21 @@ if (_wrapper) { } } } - QPrintDialog::dragEnterEvent(event0); + QProgressDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4193,21 +4175,21 @@ if (_wrapper) { } } } - QPrintDialog::dragLeaveEvent(event0); + QProgressDialog::mouseMoveEvent(event0); } -void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4215,21 +4197,21 @@ if (_wrapper) { } } } - QPrintDialog::dragMoveEvent(event0); + QProgressDialog::mousePressEvent(event0); } -void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4237,21 +4219,21 @@ if (_wrapper) { } } } - QPrintDialog::dropEvent(event0); + QProgressDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4259,65 +4241,32 @@ if (_wrapper) { } } } - QPrintDialog::enterEvent(event0); -} -bool PythonQtShell_QPrintDialog::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPrintDialog::event(event0); + QProgressDialog::moveEvent(event0); } -bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4325,32 +4274,32 @@ if (_wrapper) { } } } - return QPrintDialog::eventFilter(arg__1, arg__2); + return QProgressDialog::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QPrintDialog::exec() +QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4358,21 +4307,21 @@ if (_wrapper) { } } } - return QPrintDialog::exec(); + return QProgressDialog::paintEngine(); } -void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4380,32 +4329,32 @@ if (_wrapper) { } } } - QPrintDialog::focusInEvent(event0); + QProgressDialog::paintEvent(event0); } -bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) +QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4413,109 +4362,65 @@ if (_wrapper) { } } } - return QPrintDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintDialog::focusOutEvent(event0); + return QProgressDialog::redirected(offset0); } -bool PythonQtShell_QPrintDialog::hasHeightForWidth() const +void PythonQtShell_QProgressDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintDialog::hasHeightForWidth(); + QProgressDialog::reject(); } -int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const +void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintDialog::heightForWidth(arg__1); + QProgressDialog::resizeEvent(event0); } -void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QProgressDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4523,43 +4428,54 @@ if (_wrapper) { } } } - QPrintDialog::hideEvent(event0); + QProgressDialog::setVisible(visible0); } -void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const +QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::initPainter(painter0); + return QProgressDialog::sharedPainter(); } -void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4567,32 +4483,32 @@ if (_wrapper) { } } } - QPrintDialog::inputMethodEvent(arg__1); + QProgressDialog::showEvent(event0); } -QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QSize PythonQtShell_QProgressDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4600,21 +4516,21 @@ if (_wrapper) { } } } - return QPrintDialog::inputMethodQuery(arg__1); + return QProgressDialog::sizeHint(); } -void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4622,21 +4538,21 @@ if (_wrapper) { } } } - QPrintDialog::keyPressEvent(arg__1); + QProgressDialog::tabletEvent(event0); } -void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4644,21 +4560,21 @@ if (_wrapper) { } } } - QPrintDialog::keyReleaseEvent(event0); + QProgressDialog::timerEvent(event0); } -void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4666,87 +4582,162 @@ if (_wrapper) { } } } - QPrintDialog::leaveEvent(event0); + QProgressDialog::wheelEvent(event0); +} +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QProgressDialog(parent, flags); } + +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags); } + +const QMetaObject* PythonQtShell_QProgressDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressDialog::staticMetaObject); + } else { + return &QProgressDialog::staticMetaObject; + } +} +int PythonQtShell_QProgressDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProgressDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + return ( theWrappedObject->autoClose()); +} + +bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->autoReset()); +} + +QString PythonQtWrapper_QProgressDialog::labelText(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->labelText()); +} + +int PythonQtWrapper_QProgressDialog::maximum(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QProgressDialog::minimum(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +int PythonQtWrapper_QProgressDialog::minimumDuration(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->minimumDuration()); +} + +void PythonQtWrapper_QProgressDialog::open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +void PythonQtWrapper_QProgressDialog::setAutoClose(QProgressDialog* theWrappedObject, bool close) +{ + ( theWrappedObject->setAutoClose(close)); +} + +void PythonQtWrapper_QProgressDialog::setAutoReset(QProgressDialog* theWrappedObject, bool reset) +{ + ( theWrappedObject->setAutoReset(reset)); +} + +void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) +{ + ( theWrappedObject->setBar(bar)); +} + +void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) +{ + ( theWrappedObject->setCancelButton(button)); +} + +void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) +{ + ( theWrappedObject->setLabel(label)); +} + +int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const +{ + return ( theWrappedObject->wasCanceled()); +} + + + +PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintDialog::metric(arg__1); + QProxyStyle::childEvent(event0); } -QSize PythonQtShell_QPrintDialog::minimumSizeHint() const +void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintDialog::minimumSizeHint(); + QProxyStyle::customEvent(event0); } -void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&control0, (void*)&option1, (void*)&painter2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4754,21 +4745,21 @@ if (_wrapper) { } } } - QPrintDialog::mouseDoubleClickEvent(event0); + QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); } -void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("drawControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4776,21 +4767,21 @@ if (_wrapper) { } } } - QPrintDialog::mouseMoveEvent(event0); + QProxyStyle::drawControl(element0, option1, painter2, widget3); } -void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("drawItemPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4798,21 +4789,21 @@ if (_wrapper) { } } } - QPrintDialog::mousePressEvent(event0); + QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); } -void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4820,21 +4811,21 @@ if (_wrapper) { } } } - QPrintDialog::mouseReleaseEvent(event0); + QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); } -void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4842,32 +4833,32 @@ if (_wrapper) { } } } - QPrintDialog::moveEvent(event0); + QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); } -bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QProxyStyle::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4875,32 +4866,32 @@ if (_wrapper) { } } } - return QPrintDialog::nativeEvent(eventType0, message1, result2); + return QProxyStyle::event(e0); } -QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const +bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4908,54 +4899,65 @@ if (_wrapper) { } } } - return QPrintDialog::paintEngine(); + return QProxyStyle::eventFilter(watched0, event1); } -void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) +QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("generatedIconPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::paintEvent(event0); + return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); } -QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const +QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hitTestComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + 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] = {nullptr, (void*)&control0, (void*)&option1, (void*)&pos2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QStyle::SubControl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4963,98 +4965,131 @@ if (_wrapper) { } } } - return QPrintDialog::redirected(offset0); + return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); } -void PythonQtShell_QPrintDialog::reject() +QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("itemPixmapRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::reject(); + return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); } -void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) +QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("itemTextRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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] = {nullptr, (void*)&fm0, (void*)&r1, (void*)&flags2, (void*)&enabled3, (void*)&text4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::resizeEvent(arg__1); + return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); } -void PythonQtShell_QPrintDialog::setVisible(bool visible0) +int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("layoutSpacing"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + int returnValue{}; + void* args[6] = {nullptr, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::setVisible(visible0); + return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); } -QPainter* PythonQtShell_QPrintDialog::sharedPainter() const +int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue{}; + void* args[4] = {nullptr, (void*)&metric0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5062,21 +5097,21 @@ if (_wrapper) { } } } - return QPrintDialog::sharedPainter(); + return QProxyStyle::pixelMetric(metric0, option1, widget2); } -void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QProxyStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&app0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5084,54 +5119,21 @@ if (_wrapper) { } } } - QPrintDialog::showEvent(arg__1); -} -QSize PythonQtShell_QPrintDialog::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPrintDialog::sizeHint(); + QProxyStyle::polish(app0); } -void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QPalette&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&pal0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5139,21 +5141,21 @@ if (_wrapper) { } } } - QPrintDialog::tabletEvent(event0); + QProxyStyle::polish(pal0); } -void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5161,84 +5163,32 @@ if (_wrapper) { } } } - QPrintDialog::wheelEvent(event0); -} -QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) -{ -return new PythonQtShell_QPrintDialog(printer, parent); } - -QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) -{ -return new PythonQtShell_QPrintDialog(parent); } - -const QMetaObject* PythonQtShell_QPrintDialog::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintDialog::staticMetaObject); - } else { - return &QPrintDialog::staticMetaObject; - } -} -int PythonQtShell_QPrintDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPrintDialog::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) -{ - ( theWrappedObject->open(receiver, member)); -} - -QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const -{ - return ( theWrappedObject->options()); -} - -void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) -{ - ( theWrappedObject->setOptions(options)); -} - -bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const -{ - return ( theWrappedObject->testOption(option)); -} - - - -PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QProxyStyle::polish(widget0); } -bool PythonQtShell_QPrintEngine::abort() +QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("abort"); + static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + 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] = {nullptr, (void*)&type0, (void*)&option1, (void*)&size2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5246,32 +5196,32 @@ if (_wrapper) { } } } - return bool(); + return QProxyStyle::sizeFromContents(type0, option1, size2, widget3); } -int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("standardIcon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QIcon returnValue{}; + void* args[4] = {nullptr, (void*)&standardIcon0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5279,32 +5229,32 @@ if (_wrapper) { } } } - return int(); + return QProxyStyle::standardIcon(standardIcon0, option1, widget2); } -bool PythonQtShell_QPrintEngine::newPage() +QPalette PythonQtShell_QProxyStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPalette"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QPalette returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPalette*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5312,32 +5262,32 @@ if (_wrapper) { } } } - return bool(); + return QProxyStyle::standardPalette(); } -QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const +QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("printerState"); + static PyObject* name = PyString_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPrinter::PrinterState"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPrinter::PrinterState returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); } else { - returnValue = *((QPrinter::PrinterState*)args[0]); + returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5345,32 +5295,32 @@ if (_wrapper) { } } } - return QPrinter::PrinterState(); + return QProxyStyle::standardPixmap(standardPixmap0, opt1, widget2); } -QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const +int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("property"); + static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + 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] = {nullptr, (void*)&hint0, (void*)&option1, (void*)&widget2, (void*)&returnData3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5378,105 +5328,87 @@ if (_wrapper) { } } } - return QVariant(); + return QProxyStyle::styleHint(hint0, option1, widget2, returnData3); } -void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) +QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setProperty"); + static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&key0, (void*)&value1}; + 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] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - -} -QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() -{ -return new PythonQtShell_QPrintEngine(); } - -bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) -{ - return ( theWrappedObject->abort()); -} - -int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const -{ - return ( theWrappedObject->metric(arg__1)); -} - -bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) -{ - return ( theWrappedObject->newPage()); -} - -QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const -{ - return ( theWrappedObject->printerState()); -} - -QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const -{ - return ( theWrappedObject->property(key)); -} - -void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) -{ - ( theWrappedObject->setProperty(key, value)); -} - - - -PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QProxyStyle::subControlRect(cc0, opt1, sc2, widget3); } -void PythonQtShell_QPrintPreviewDialog::accept() +QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&element0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::accept(); + return QProxyStyle::subElementRect(element0, option1, widget2); } -void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5484,21 +5416,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::actionEvent(event0); + QProxyStyle::timerEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&app0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5506,21 +5438,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::changeEvent(arg__1); + QProxyStyle::unpolish(app0); } -void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5528,21 +5460,63 @@ if (_wrapper) { } } } - QPrintPreviewDialog::closeEvent(arg__1); + QProxyStyle::unpolish(widget0); +} +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(QStyle* style) +{ +return new PythonQtShell_QProxyStyle(style); } + +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(const QString& key) +{ +return new PythonQtShell_QProxyStyle(key); } + +const QMetaObject* PythonQtShell_QProxyStyle::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProxyStyle::staticMetaObject); + } else { + return &QProxyStyle::staticMetaObject; + } +} +int PythonQtShell_QProxyStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProxyStyle::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) +QStyle* PythonQtWrapper_QProxyStyle::baseStyle(QProxyStyle* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE + return ( theWrappedObject->baseStyle()); +} + +QRect PythonQtWrapper_QProxyStyle::itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const +{ + return ( theWrappedObject->itemTextRect(fm, r, flags, enabled, text)); +} + +void PythonQtWrapper_QProxyStyle::setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style) +{ + ( theWrappedObject->setBaseStyle(style)); +} + + + +PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5550,54 +5524,131 @@ if (_wrapper) { } } } - QPrintPreviewDialog::contextMenuEvent(arg__1); + QPushButton::actionEvent(event0); } -int PythonQtShell_QPrintPreviewDialog::devType() const +void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::changeEvent(e0); +} +void PythonQtShell_QPushButton::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("checkStateSet"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::devType(); + QPushButton::checkStateSet(); } -void PythonQtShell_QPrintPreviewDialog::done(int result0) +void PythonQtShell_QPushButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::childEvent(event0); +} +void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::closeEvent(event0); +} +void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::contextMenuEvent(event0); +} +void PythonQtShell_QPushButton::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5605,9 +5656,42 @@ if (_wrapper) { } } } - QPrintPreviewDialog::done(result0); + QPushButton::customEvent(event0); +} +int PythonQtShell_QPushButton::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::devType(); } -void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5617,9 +5701,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5627,9 +5711,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dragEnterEvent(event0); + QPushButton::dragEnterEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5639,9 +5723,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5649,9 +5733,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dragLeaveEvent(event0); + QPushButton::dragLeaveEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5661,9 +5745,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5671,9 +5755,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dragMoveEvent(event0); + QPushButton::dragMoveEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5683,9 +5767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5693,9 +5777,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dropEvent(event0); + QPushButton::dropEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) +void PythonQtShell_QPushButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5705,9 +5789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5715,9 +5799,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::enterEvent(event0); + QPushButton::enterEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) +bool PythonQtShell_QPushButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5728,19 +5812,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5748,9 +5832,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::event(event0); + return QPushButton::event(e0); } -bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QPushButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5761,52 +5845,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrintPreviewDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QPrintPreviewDialog::exec() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5814,9 +5865,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::exec(); + return QPushButton::eventFilter(watched0, event1); } -void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5826,9 +5877,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5836,9 +5887,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::focusInEvent(event0); + QPushButton::focusInEvent(arg__1); } -bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5849,19 +5900,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5869,9 +5920,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::focusNextPrevChild(next0); + return QPushButton::focusNextPrevChild(next0); } -void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5881,9 +5932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5891,9 +5942,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::focusOutEvent(event0); + QPushButton::focusOutEvent(arg__1); } -bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const +bool PythonQtShell_QPushButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5904,19 +5955,52 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::hasHeightForWidth(); +} +int PythonQtShell_QPushButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5924,54 +6008,1197 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::hasHeightForWidth(); + return QPushButton::heightForWidth(arg__1); +} +void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::hideEvent(event0); +} +bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hitButton"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::hitButton(pos0); +} +void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::initPainter(painter0); +} +void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::inputMethodQuery(arg__1); +} +void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::keyPressEvent(arg__1); +} +void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::keyReleaseEvent(e0); +} +void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::leaveEvent(event0); +} +int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::metric(arg__1); +} +QSize PythonQtShell_QPushButton::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::minimumSizeHint(); +} +void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::mouseMoveEvent(e0); +} +void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::mousePressEvent(e0); +} +void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::mouseReleaseEvent(e0); +} +void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::moveEvent(event0); +} +bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QPushButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextCheckState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::nextCheckState(); +} +QPaintEngine* PythonQtShell_QPushButton::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::paintEngine(); +} +void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::redirected(offset0); +} +void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::resizeEvent(event0); +} +void PythonQtShell_QPushButton::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::setVisible(visible0); +} +QPainter* PythonQtShell_QPushButton::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::sharedPainter(); +} +void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::showEvent(event0); +} +QSize PythonQtShell_QPushButton::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::sizeHint(); +} +void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::tabletEvent(event0); +} +void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::timerEvent(e0); +} +void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::wheelEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QPushButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPushButton::staticMetaObject); + } else { + return &QPushButton::staticMetaObject; + } +} +int PythonQtShell_QPushButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPushButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->autoDefault()); +} + +void PythonQtWrapper_QPushButton::initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const +{ + ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QPushButton::isDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +bool PythonQtWrapper_QPushButton::isFlat(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isFlat()); +} + +QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +QSize PythonQtWrapper_QPushButton::minimumSizeHint(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +void PythonQtWrapper_QPushButton::setAutoDefault(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoDefault(arg__1)); +} + +void PythonQtWrapper_QPushButton::setDefault(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setDefault(arg__1)); +} + +void PythonQtWrapper_QPushButton::setFlat(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFlat(arg__1)); +} + +void PythonQtWrapper_QPushButton::setMenu(QPushButton* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); +} + +QSize PythonQtWrapper_QPushButton::sizeHint(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion() +{ +return new QQuaternion(); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(const QVector4D& vector) +{ +return new QQuaternion(vector); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, const QVector3D& vector) +{ +return new QQuaternion(scalar, vector); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, float xpos, float ypos, float zpos) +{ +return new QQuaternion(scalar, xpos, ypos, zpos); } + +QQuaternion PythonQtWrapper_QQuaternion::conjugate(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->conjugate()); +} + +QQuaternion PythonQtWrapper_QQuaternion::conjugated(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->conjugated()); +} + +float PythonQtWrapper_QQuaternion::static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2) +{ + return (QQuaternion::dotProduct(q1, q2)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis) +{ + return (QQuaternion::fromAxes(xAxis, yAxis, zAxis)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle) +{ + return (QQuaternion::fromAxisAndAngle(axis, angle)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle) +{ + return (QQuaternion::fromAxisAndAngle(x, y, z, angle)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up) +{ + return (QQuaternion::fromDirection(direction, up)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles) +{ + return (QQuaternion::fromEulerAngles(eulerAngles)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll) +{ + return (QQuaternion::fromEulerAngles(pitch, yaw, roll)); +} + +void PythonQtWrapper_QQuaternion::getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const +{ + ( theWrappedObject->getAxes(xAxis, yAxis, zAxis)); +} + +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const +{ + ( theWrappedObject->getAxisAndAngle(axis, angle)); +} + +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const +{ + ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); +} + +void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const +{ + ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); +} + +QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->inverted()); +} + +bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) +{ + return (QQuaternion::nlerp(q1, q2, t)); +} + +void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +bool PythonQtWrapper_QQuaternion::__ne__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)!= q2); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)* q2); +} + +QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) +{ + return ( (*theWrappedObject)* vec); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +{ + return &( (*theWrappedObject)*= quaternion); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__add__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)+ q2); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +{ + return &( (*theWrappedObject)+= quaternion); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)- q2); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +{ + return &( (*theWrappedObject)-= quaternion); +} + +const QQuaternion PythonQtWrapper_QQuaternion::__div__(QQuaternion* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QQuaternion::writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QQuaternion::__eq__(QQuaternion* theWrappedObject, const QQuaternion& q2) +{ + return ( (*theWrappedObject)== q2); +} + +void PythonQtWrapper_QQuaternion::readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QVector3D PythonQtWrapper_QQuaternion::rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const +{ + return ( theWrappedObject->rotatedVector(vector)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to) +{ + return (QQuaternion::rotationTo(from, to)); +} + +float PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->scalar()); +} + +void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, float scalar) +{ + ( theWrappedObject->setScalar(scalar)); +} + +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->setVector(vector)); +} + +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, float x, float y, float z) +{ + ( theWrappedObject->setVector(x, y, z)); +} + +void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, float y) +{ + ( theWrappedObject->setY(y)); +} + +void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, float z) +{ + ( theWrappedObject->setZ(z)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t) +{ + return (QQuaternion::slerp(q1, q2, t)); +} + +QVector3D PythonQtWrapper_QQuaternion::toEulerAngles(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->toEulerAngles()); +} + +QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->vector()); +} + +float PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +float PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +float PythonQtWrapper_QQuaternion::z(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QQuaternion::py_toString(QQuaternion* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient() +{ +return new QRadialGradient(); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius) +{ +return new QRadialGradient(center, centerRadius, focalPoint, focalRadius); } + +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 centerRadius, qreal fx, qreal fy, qreal focalRadius) +{ +return new QRadialGradient(cx, cy, centerRadius, fx, fy, focalRadius); } + +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); } + +QPointF PythonQtWrapper_QRadialGradient::center(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->center()); +} + +qreal PythonQtWrapper_QRadialGradient::centerRadius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->centerRadius()); +} + +QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->focalPoint()); +} + +qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->focalRadius()); +} + +qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->radius()); +} + +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) +{ + ( theWrappedObject->setCenter(center)); +} + +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setCenter(x, y)); +} + +void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setCenterRadius(radius)); +} + +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) +{ + ( theWrappedObject->setFocalPoint(focalPoint)); +} + +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setFocalPoint(x, y)); +} + +void PythonQtWrapper_QRadialGradient::setFocalRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setFocalRadius(radius)); } -int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const + +void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRadius(radius)); } - return QPrintPreviewDialog::heightForWidth(arg__1); + + + +PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5979,21 +7206,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::hideEvent(event0); + QRadioButton::actionEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6001,21 +7228,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::initPainter(painter0); + QRadioButton::changeEvent(e0); } -void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QRadioButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6023,54 +7250,43 @@ if (_wrapper) { } } } - QPrintPreviewDialog::inputMethodEvent(arg__1); + QRadioButton::checkStateSet(); } -QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::inputMethodQuery(arg__1); + QRadioButton::childEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6078,21 +7294,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::keyPressEvent(arg__1); + QRadioButton::closeEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6100,21 +7316,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::keyReleaseEvent(event0); + QRadioButton::contextMenuEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QRadioButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6122,32 +7338,32 @@ if (_wrapper) { } } } - QPrintPreviewDialog::leaveEvent(event0); + QRadioButton::customEvent(event0); } -int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QRadioButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6155,54 +7371,43 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::metric(arg__1); + return QRadioButton::devType(); } -QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const +void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::minimumSizeHint(); + QRadioButton::dragEnterEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6210,21 +7415,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseDoubleClickEvent(event0); + QRadioButton::dragLeaveEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6232,21 +7437,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseMoveEvent(event0); + QRadioButton::dragMoveEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6254,21 +7459,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mousePressEvent(event0); + QRadioButton::dropEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6276,54 +7481,65 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseReleaseEvent(event0); + QRadioButton::enterEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QRadioButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::moveEvent(event0); + return QRadioButton::event(e0); } -bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6331,32 +7547,54 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); + return QRadioButton::eventFilter(watched0, event1); } -QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const +void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioButton::focusInEvent(e0); +} +bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6364,21 +7602,21 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::paintEngine(); + return QRadioButton::focusNextPrevChild(next0); } -void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6386,32 +7624,32 @@ if (_wrapper) { } } } - QPrintPreviewDialog::paintEvent(event0); + QRadioButton::focusOutEvent(e0); } -QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const +bool PythonQtShell_QRadioButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6419,43 +7657,54 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::redirected(offset0); + return QRadioButton::hasHeightForWidth(); } -void PythonQtShell_QPrintPreviewDialog::reject() +int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::reject(); + return QRadioButton::heightForWidth(arg__1); } -void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6463,76 +7712,76 @@ if (_wrapper) { } } } - QPrintPreviewDialog::resizeEvent(arg__1); + QRadioButton::hideEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) +bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::setVisible(visible0); + return QRadioButton::hitButton(arg__1); } -QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const +void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::sharedPainter(); + QRadioButton::initPainter(painter0); } -void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6540,32 +7789,32 @@ if (_wrapper) { } } } - QPrintPreviewDialog::showEvent(arg__1); + QRadioButton::inputMethodEvent(arg__1); } -QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const +QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6573,21 +7822,21 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::sizeHint(); + return QRadioButton::inputMethodQuery(arg__1); } -void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6595,21 +7844,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::tabletEvent(event0); + QRadioButton::keyPressEvent(e0); } -void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6617,58 +7866,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::wheelEvent(event0); -} -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); } - -const QMetaObject* PythonQtShell_QPrintPreviewDialog::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewDialog::staticMetaObject); - } else { - return &QPrintPreviewDialog::staticMetaObject; - } -} -int PythonQtShell_QPrintPreviewDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPrintPreviewDialog::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) -{ - ( theWrappedObject->open(receiver, member)); -} - -QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) -{ - return ( theWrappedObject->printer()); -} - - - -PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QRadioButton::keyReleaseEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) +void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6676,65 +7888,87 @@ if (_wrapper) { } } } - QPrintPreviewWidget::actionEvent(event0); + QRadioButton::leaveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) +int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::changeEvent(arg__1); + return QRadioButton::metric(arg__1); } -void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) +QSize PythonQtShell_QRadioButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::closeEvent(event0); + return QRadioButton::minimumSizeHint(); } -void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6742,54 +7976,43 @@ if (_wrapper) { } } } - QPrintPreviewWidget::contextMenuEvent(event0); + QRadioButton::mouseDoubleClickEvent(event0); } -int PythonQtShell_QPrintPreviewWidget::devType() const +void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::devType(); + QRadioButton::mouseMoveEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6797,21 +8020,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragEnterEvent(event0); + QRadioButton::mousePressEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6819,21 +8042,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragLeaveEvent(event0); + QRadioButton::mouseReleaseEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6841,43 +8064,54 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragMoveEvent(event0); + QRadioButton::moveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) +bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::dropEvent(event0); + return QRadioButton::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) +void PythonQtShell_QRadioButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6885,32 +8119,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::enterEvent(event0); + QRadioButton::nextCheckState(); } -bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) +QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6918,21 +8152,21 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::event(event0); + return QRadioButton::paintEngine(); } -void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6940,32 +8174,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusInEvent(event0); + QRadioButton::paintEvent(arg__1); } -bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) +QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6973,21 +8207,21 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::focusNextPrevChild(next0); + return QRadioButton::redirected(offset0); } -void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6995,65 +8229,54 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusOutEvent(event0); + QRadioButton::resizeEvent(event0); } -bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const +void PythonQtShell_QRadioButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::hasHeightForWidth(); + QRadioButton::setVisible(visible0); } -int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const +QPainter* PythonQtShell_QRadioButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7061,21 +8284,21 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::heightForWidth(arg__1); + return QRadioButton::sharedPainter(); } -void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7083,43 +8306,54 @@ if (_wrapper) { } } } - QPrintPreviewWidget::hideEvent(event0); + QRadioButton::showEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const +QSize PythonQtShell_QRadioButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::initPainter(painter0); + return QRadioButton::sizeHint(); } -void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7127,54 +8361,43 @@ if (_wrapper) { } } } - QPrintPreviewWidget::inputMethodEvent(arg__1); + QRadioButton::tabletEvent(event0); } -QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::inputMethodQuery(arg__1); + QRadioButton::timerEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7182,21 +8405,63 @@ if (_wrapper) { } } } - QPrintPreviewWidget::keyPressEvent(event0); + QRadioButton::wheelEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) +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); } + +const QMetaObject* PythonQtShell_QRadioButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioButton::staticMetaObject); + } else { + return &QRadioButton::staticMetaObject; + } +} +int PythonQtShell_QRadioButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRadioButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QRadioButton::initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const +{ + ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_initStyleOption(button)); +} + +QSize PythonQtWrapper_QRadioButton::minimumSizeHint(QRadioButton* theWrappedObject) const +{ + return ( theWrappedObject->minimumSizeHint()); +} + +QSize PythonQtWrapper_QRadioButton::sizeHint(QRadioButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +PythonQtShell_QRasterWindow::~PythonQtShell_QRasterWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRasterWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7204,21 +8469,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::keyReleaseEvent(event0); + QRasterWindow::childEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7226,32 +8491,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::leaveEvent(event0); + QRasterWindow::customEvent(event0); } -int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QRasterWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7259,32 +8524,32 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::metric(arg__1); + return QRasterWindow::devType(); } -QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const +bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7292,43 +8557,54 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::minimumSizeHint(); + return QRasterWindow::event(event0); } -void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* event0) +bool PythonQtShell_QRasterWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::mouseDoubleClickEvent(event0); + return QRasterWindow::eventFilter(watched0, event1); } -void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7336,21 +8612,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mouseMoveEvent(event0); + QRasterWindow::exposeEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7358,43 +8634,54 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mousePressEvent(event0); + QRasterWindow::focusInEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) +QObject* PythonQtShell_QRasterWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::mouseReleaseEvent(event0); + return QRasterWindow::focusObject(); } -void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7402,65 +8689,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::moveEvent(event0); -} -bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); + QRasterWindow::focusOutEvent(arg__1); } -QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const +QSurfaceFormat PythonQtShell_QRasterWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7468,21 +8722,21 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::paintEngine(); + return QRasterWindow::format(); } -void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) +void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7490,54 +8744,43 @@ if (_wrapper) { } } } - QPrintPreviewWidget::paintEvent(event0); + QRasterWindow::hideEvent(arg__1); } -QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const +void PythonQtShell_QRasterWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::redirected(offset0); + QRasterWindow::initPainter(painter0); } -void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7545,21 +8788,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::resizeEvent(event0); + QRasterWindow::keyPressEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) +void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7567,32 +8810,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::setVisible(visible0); + QRasterWindow::keyReleaseEvent(arg__1); } -QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const +int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7600,21 +8843,21 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::sharedPainter(); + return QRasterWindow::metric(metric0); } -void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7622,54 +8865,43 @@ if (_wrapper) { } } } - QPrintPreviewWidget::showEvent(event0); + QRasterWindow::mouseDoubleClickEvent(arg__1); } -QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const +void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::sizeHint(); + QRasterWindow::mouseMoveEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7677,21 +8909,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::tabletEvent(event0); + QRasterWindow::mousePressEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7699,89 +8931,54 @@ if (_wrapper) { } } } - QPrintPreviewWidget::wheelEvent(event0); -} -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); } - -const QMetaObject* PythonQtShell_QPrintPreviewWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewWidget::staticMetaObject); - } else { - return &QPrintPreviewWidget::staticMetaObject; - } -} -int PythonQtShell_QPrintPreviewWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPrintPreviewWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentPage()); -} - -QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -int PythonQtWrapper_QPrintPreviewWidget::pageCount(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->pageCount()); -} - -QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->viewMode()); -} - -qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const -{ - return ( theWrappedObject->zoomFactor()); + QRasterWindow::mouseReleaseEvent(arg__1); } - -QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const +void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) { - return ( theWrappedObject->zoomMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QRasterWindow::moveEvent(arg__1); } -int PythonQtShell_QPrinter::devType() const +bool PythonQtShell_QRasterWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7789,21 +8986,21 @@ if (_wrapper) { } } } - return QPrinter::devType(); + return QRasterWindow::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const +void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7811,32 +9008,32 @@ if (_wrapper) { } } } - QPrinter::initPainter(painter0); + QRasterWindow::paintEvent(event0); } -int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7844,65 +9041,54 @@ if (_wrapper) { } } } - return QPrinter::metric(arg__1); + return QRasterWindow::redirected(arg__1); } -bool PythonQtShell_QPrinter::newPage() +void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrinter::newPage(); + QRasterWindow::resizeEvent(arg__1); } -QPaintEngine* PythonQtShell_QPrinter::paintEngine() const +QPainter* PythonQtShell_QRasterWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7910,98 +9096,109 @@ if (_wrapper) { } } } - return QPrinter::paintEngine(); + return QRasterWindow::sharedPainter(); } -QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const +void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrinter::redirected(offset0); + QRasterWindow::showEvent(arg__1); } -void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) +QSize PythonQtShell_QRasterWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMargins"); + static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&m0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrinter::setMargins(m0); + return QRasterWindow::size(); } -void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) +QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSize"); + static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrinter::setPageSize(arg__1); + return QRasterWindow::surfaceType(); } -void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) +void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSizeMM"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8009,537 +9206,318 @@ if (_wrapper) { } } } - QPrinter::setPageSizeMM(size0); + QRasterWindow::tabletEvent(arg__1); } -QPainter* PythonQtShell_QPrinter::sharedPainter() const +void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); - } - } -} - return QPrinter::sharedPainter(); -} -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); } - -bool PythonQtWrapper_QPrinter::abort(QPrinter* theWrappedObject) -{ - return ( theWrappedObject->abort()); -} - -int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->actualNumCopies()); -} - -bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->collateCopies()); -} - -QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->colorMode()); -} - -int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->copyCount()); -} - -QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->creator()); -} - -QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->docName()); -} - -bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->doubleSidedPrinting()); -} - -QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->duplex()); -} - -bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fontEmbeddingEnabled()); -} - -int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fromPage()); -} - -bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fullPage()); -} - -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)); -} - -bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->numCopies()); -} - -QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->outputFileName()); -} - -QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->outputFormat()); -} - -QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->pageOrder()); -} - -QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->pageRect()); -} - -QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const -{ - return ( theWrappedObject->pageRect(arg__1)); -} - -QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->pageSize()); -} - -QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->paperName()); -} - -QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->paperRect()); -} - -QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const -{ - return ( theWrappedObject->paperRect(arg__1)); -} - -QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->paperSize()); -} - -QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const -{ - return ( theWrappedObject->paperSize(unit)); -} - -QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->paperSource()); -} - -QPagedPaintDevice::PdfVersion PythonQtWrapper_QPrinter::pdfVersion(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->pdfVersion()); -} - -QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printEngine()); -} - -QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printProgram()); -} - -QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printRange()); -} - -QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printerName()); -} - -QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printerState()); -} - -int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->resolution()); -} - -void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) -{ - ( theWrappedObject->setCollateCopies(collate)); -} - -void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) -{ - ( theWrappedObject->setColorMode(arg__1)); -} - -void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setCopyCount(arg__1)); -} - -void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setCreator(arg__1)); -} - -void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setDocName(arg__1)); -} - -void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDoubleSidedPrinting(enable)); + } + } } - -void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) -{ - ( theWrappedObject->setDuplex(duplex)); + QRasterWindow::timerEvent(event0); } - -void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) +void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) { - ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setFontEmbeddingEnabled(enable)); + QRasterWindow::touchEvent(arg__1); } - -void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) +void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) { - ( theWrappedObject->setFromTo(fromPage, toPage)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setFullPage(arg__1)); + QRasterWindow::wheelEvent(arg__1); } +QRasterWindow* PythonQtWrapper_QRasterWindow::new_QRasterWindow(QWindow* parent) +{ +return new PythonQtShell_QRasterWindow(parent); } -void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setNumCopies(arg__1)); +const QMetaObject* PythonQtShell_QRasterWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRasterWindow::staticMetaObject); + } else { + return &QRasterWindow::staticMetaObject; + } } - -void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) -{ - ( theWrappedObject->setOrientation(arg__1)); +int PythonQtShell_QRasterWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRasterWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setOutputFileName(arg__1)); -} -void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) -{ - ( theWrappedObject->setOutputFormat(format)); -} +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont() +{ +return new QRawFont(); } -void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) -{ - ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); -} +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) +{ +return new QRawFont(fontData, pixelSize, hintingPreference); } -void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) -{ - ( theWrappedObject->setPageOrder(arg__1)); -} +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QRawFont& other) +{ +return new QRawFont(other); } -void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) -{ - ( theWrappedObject->setPaperName(paperName)); -} +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) +{ +return new QRawFont(fileName, pixelSize, hintingPreference); } -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) +QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const { - ( theWrappedObject->setPaperSize(arg__1)); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes)); } -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) +QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const { - ( theWrappedObject->setPaperSize(paperSize, unit)); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, layoutFlags)); } -void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) +bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const { - ( theWrappedObject->setPaperSource(arg__1)); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs)); } -void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const { - ( theWrappedObject->setPdfVersion(version)); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs, layoutFlags)); } -void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) +QImage PythonQtWrapper_QRawFont::alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType, const QTransform& transform) const { - ( theWrappedObject->setPrintProgram(arg__1)); + return ( theWrappedObject->alphaMapForGlyph(glyphIndex, antialiasingType, transform)); } -void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) +qreal PythonQtWrapper_QRawFont::ascent(QRawFont* theWrappedObject) const { - ( theWrappedObject->setPrintRange(range)); + return ( theWrappedObject->ascent()); } -void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) +qreal PythonQtWrapper_QRawFont::averageCharWidth(QRawFont* theWrappedObject) const { - ( theWrappedObject->setPrinterName(arg__1)); + return ( theWrappedObject->averageCharWidth()); } -void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) +QRectF PythonQtWrapper_QRawFont::boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const { - ( theWrappedObject->setResolution(arg__1)); + return ( theWrappedObject->boundingRect(glyphIndex)); } -void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) +qreal PythonQtWrapper_QRawFont::capHeight(QRawFont* theWrappedObject) const { - ( theWrappedObject->setWinPageSize(winPageSize)); + return ( theWrappedObject->capHeight()); } -QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::descent(QRawFont* theWrappedObject) const { - return ( theWrappedObject->supportedResolutions()); + return ( theWrappedObject->descent()); } -bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const +QString PythonQtWrapper_QRawFont::familyName(QRawFont* theWrappedObject) const { - return ( theWrappedObject->supportsMultipleCopies()); + return ( theWrappedObject->familyName()); } -int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const +QByteArray PythonQtWrapper_QRawFont::fontTable(QRawFont* theWrappedObject, const char* tagName) const { - return ( theWrappedObject->toPage()); + return ( theWrappedObject->fontTable(tagName)); } -int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const +QRawFont PythonQtWrapper_QRawFont::static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem) { - return ( theWrappedObject->winPageSize()); + return (QRawFont::fromFont(font, writingSystem)); } - - -QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo() -{ -return new QPrinterInfo(); } - -QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinter& printer) -{ -return new QPrinterInfo(printer); } - -QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinterInfo& other) -{ -return new QPrinterInfo(other); } - -QStringList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinterNames() +bool PythonQtWrapper_QRawFont::glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const { - return (QPrinterInfo::availablePrinterNames()); + return ( theWrappedObject->glyphIndexesForChars(chars, numChars, glyphIndexes, numGlyphs)); } -QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() +QVector PythonQtWrapper_QRawFont::glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const { - return (QPrinterInfo::availablePrinters()); + return ( theWrappedObject->glyphIndexesForString(text)); } -QPrinter::ColorMode PythonQtWrapper_QPrinterInfo::defaultColorMode(QPrinterInfo* theWrappedObject) const +QFont::HintingPreference PythonQtWrapper_QRawFont::hintingPreference(QRawFont* theWrappedObject) const { - return ( theWrappedObject->defaultColorMode()); + return ( theWrappedObject->hintingPreference()); } -QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QRawFont::isValid(QRawFont* theWrappedObject) const { - return ( theWrappedObject->defaultDuplexMode()); + return ( theWrappedObject->isValid()); } -QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::leading(QRawFont* theWrappedObject) const { - return ( theWrappedObject->defaultPageSize()); + return ( theWrappedObject->leading()); } -QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() +qreal PythonQtWrapper_QRawFont::lineThickness(QRawFont* theWrappedObject) const { - return (QPrinterInfo::defaultPrinter()); + return ( theWrappedObject->lineThickness()); } -QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() +void PythonQtWrapper_QRawFont::loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) { - return (QPrinterInfo::defaultPrinterName()); + ( theWrappedObject->loadFromData(fontData, pixelSize, hintingPreference)); } -QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const +void PythonQtWrapper_QRawFont::loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) { - return ( theWrappedObject->description()); + ( theWrappedObject->loadFromFile(fileName, pixelSize, hintingPreference)); } -bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::maxCharWidth(QRawFont* theWrappedObject) const { - return ( theWrappedObject->isDefault()); + return ( theWrappedObject->maxCharWidth()); } -bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QRawFont::__ne__(QRawFont* theWrappedObject, const QRawFont& other) const { - return ( theWrappedObject->isNull()); + return ( (*theWrappedObject)!= other); } -bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const +QRawFont* PythonQtWrapper_QRawFont::operator_assign(QRawFont* theWrappedObject, const QRawFont& other) { - return ( theWrappedObject->isRemote()); + return &( (*theWrappedObject)= other); } -QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QRawFont::__eq__(QRawFont* theWrappedObject, const QRawFont& other) const { - return ( theWrappedObject->location()); + return ( (*theWrappedObject)== other); } -QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const +QPainterPath PythonQtWrapper_QRawFont::pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const { - return ( theWrappedObject->makeAndModel()); + return ( theWrappedObject->pathForGlyph(glyphIndex)); } -QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::pixelSize(QRawFont* theWrappedObject) const { - return ( theWrappedObject->maximumPhysicalPageSize()); + return ( theWrappedObject->pixelSize()); } -QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +void PythonQtWrapper_QRawFont::setPixelSize(QRawFont* theWrappedObject, qreal pixelSize) { - return ( theWrappedObject->minimumPhysicalPageSize()); + ( theWrappedObject->setPixelSize(pixelSize)); } -QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) +QFont::Style PythonQtWrapper_QRawFont::style(QRawFont* theWrappedObject) const { - return (QPrinterInfo::printerInfo(printerName)); + return ( theWrappedObject->style()); } -QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const +QString PythonQtWrapper_QRawFont::styleName(QRawFont* theWrappedObject) const { - return ( theWrappedObject->printerName()); + return ( theWrappedObject->styleName()); } -QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const +QList PythonQtWrapper_QRawFont::supportedWritingSystems(QRawFont* theWrappedObject) const { - return ( theWrappedObject->state()); + return ( theWrappedObject->supportedWritingSystems()); } -QList PythonQtWrapper_QPrinterInfo::supportedColorModes(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, QChar character) const { - return ( theWrappedObject->supportedColorModes()); + return ( theWrappedObject->supportsCharacter(character)); } -QList PythonQtWrapper_QPrinterInfo::supportedDuplexModes(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const { - return ( theWrappedObject->supportedDuplexModes()); + return ( theWrappedObject->supportsCharacter(ucs4)); } -QList PythonQtWrapper_QPrinterInfo::supportedPageSizes(QPrinterInfo* theWrappedObject) const +void PythonQtWrapper_QRawFont::swap(QRawFont* theWrappedObject, QRawFont& other) { - return ( theWrappedObject->supportedPageSizes()); + ( theWrappedObject->swap(other)); } -QList PythonQtWrapper_QPrinterInfo::supportedPaperSizes(QPrinterInfo* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::underlinePosition(QRawFont* theWrappedObject) const { - return ( theWrappedObject->supportedPaperSizes()); + return ( theWrappedObject->underlinePosition()); } -QList PythonQtWrapper_QPrinterInfo::supportedResolutions(QPrinterInfo* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::unitsPerEm(QRawFont* theWrappedObject) const { - return ( theWrappedObject->supportedResolutions()); + return ( theWrappedObject->unitsPerEm()); } -QList > PythonQtWrapper_QPrinterInfo::supportedSizesWithNames(QPrinterInfo* theWrappedObject) const +int PythonQtWrapper_QRawFont::weight(QRawFont* theWrappedObject) const { - return ( theWrappedObject->supportedSizesWithNames()); + return ( theWrappedObject->weight()); } -bool PythonQtWrapper_QPrinterInfo::supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::xHeight(QRawFont* theWrappedObject) const { - return ( theWrappedObject->supportsCustomPageSizes()); + return ( theWrappedObject->xHeight()); } -PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { +PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8547,21 +9525,21 @@ if (_wrapper) { } } } - QProgressBar::actionEvent(event0); + QRegExpValidator::childEvent(event0); } -void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) +void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8569,98 +9547,109 @@ if (_wrapper) { } } } - QProgressBar::changeEvent(arg__1); + QRegExpValidator::customEvent(event0); } -void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QRegExpValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::closeEvent(event0); + return QRegExpValidator::event(event0); } -void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) +bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::contextMenuEvent(event0); + return QRegExpValidator::eventFilter(watched0, event1); } -int PythonQtShell_QProgressBar::devType() const +void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::devType(); + QRegExpValidator::fixup(arg__1); } -void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8668,43 +9657,91 @@ if (_wrapper) { } } } - QProgressBar::dragEnterEvent(event0); + QRegExpValidator::timerEvent(event0); } -void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) +QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::dragLeaveEvent(event0); + return QRegExpValidator::validate(input0, pos1); } -void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) +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 QMetaObject* PythonQtShell_QRegExpValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegExpValidator::staticMetaObject); + } else { + return &QRegExpValidator::staticMetaObject; + } +} +int PythonQtShell_QRegExpValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRegExpValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const +{ + return &( theWrappedObject->regExp()); +} + +void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +{ + ( theWrappedObject->setRegExp(rx)); +} + + + +PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8712,21 +9749,21 @@ if (_wrapper) { } } } - QProgressBar::dragMoveEvent(event0); + QRegularExpressionValidator::childEvent(event0); } -void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8734,54 +9771,65 @@ if (_wrapper) { } } } - QProgressBar::dropEvent(event0); + QRegularExpressionValidator::customEvent(event0); } -void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) +bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::enterEvent(event0); + return QRegularExpressionValidator::event(event0); } -bool PythonQtShell_QProgressBar::event(QEvent* e0) +bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8789,21 +9837,21 @@ if (_wrapper) { } } } - return QProgressBar::event(e0); + return QRegularExpressionValidator::eventFilter(watched0, event1); } -void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8811,32 +9859,54 @@ if (_wrapper) { } } } - QProgressBar::focusInEvent(event0); + QRegularExpressionValidator::fixup(arg__1); } -bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) +void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRegularExpressionValidator::timerEvent(event0); +} +QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8844,21 +9914,194 @@ if (_wrapper) { } } } - return QProgressBar::focusNextPrevChild(next0); + return QRegularExpressionValidator::validate(input0, pos1); +} +QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(QObject* parent) +{ +return new PythonQtShell_QRegularExpressionValidator(parent); } + +QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent) +{ +return new PythonQtShell_QRegularExpressionValidator(re, parent); } + +const QMetaObject* PythonQtShell_QRegularExpressionValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegularExpressionValidator::staticMetaObject); + } else { + return &QRegularExpressionValidator::staticMetaObject; + } +} +int PythonQtShell_QRegularExpressionValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRegularExpressionValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QRegularExpression PythonQtWrapper_QRegularExpressionValidator::regularExpression(QRegularExpressionValidator* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} + + + +PythonQtShell_QResizeEvent::~PythonQtShell_QResizeEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QResizeEvent* PythonQtWrapper_QResizeEvent::new_QResizeEvent(const QSize& size, const QSize& oldSize) +{ +return new PythonQtShell_QResizeEvent(size, oldSize); } + +const QSize* PythonQtWrapper_QResizeEvent::oldSize(QResizeEvent* theWrappedObject) const +{ + return &( theWrappedObject->oldSize()); +} + +const QSize* PythonQtWrapper_QResizeEvent::size(QResizeEvent* theWrappedObject) const +{ + return &( theWrappedObject->size()); +} + + + +QRgba64* PythonQtWrapper_QRgba64::new_QRgba64() +{ +return new QRgba64(); } + +unsigned short PythonQtWrapper_QRgba64::alpha(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->alpha()); +} + +unsigned char PythonQtWrapper_QRgba64::alpha8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->alpha8()); +} + +unsigned short PythonQtWrapper_QRgba64::blue(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->blue()); +} + +unsigned char PythonQtWrapper_QRgba64::blue8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->blue8()); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromArgb32(uint rgb) +{ + return (QRgba64::fromArgb32(rgb)); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) +{ + return (QRgba64::fromRgba(red, green, blue, alpha)); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(quint64 c) +{ + return (QRgba64::fromRgba64(c)); +} + +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha) +{ + return (QRgba64::fromRgba64(red, green, blue, alpha)); +} + +unsigned short PythonQtWrapper_QRgba64::green(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->green()); +} + +unsigned char PythonQtWrapper_QRgba64::green8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->green8()); +} + +bool PythonQtWrapper_QRgba64::isOpaque(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->isOpaque()); +} + +bool PythonQtWrapper_QRgba64::isTransparent(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->isTransparent()); +} + +QRgba64 PythonQtWrapper_QRgba64::operator_assign(QRgba64* theWrappedObject, quint64 _rgba) +{ + return ( (*theWrappedObject)= _rgba); +} + +QRgba64 PythonQtWrapper_QRgba64::premultiplied(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->premultiplied()); +} + +unsigned short PythonQtWrapper_QRgba64::red(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->red()); +} + +unsigned char PythonQtWrapper_QRgba64::red8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->red8()); +} + +void PythonQtWrapper_QRgba64::setAlpha(QRgba64* theWrappedObject, unsigned short _alpha) +{ + ( theWrappedObject->setAlpha(_alpha)); +} + +void PythonQtWrapper_QRgba64::setBlue(QRgba64* theWrappedObject, unsigned short _blue) +{ + ( theWrappedObject->setBlue(_blue)); +} + +void PythonQtWrapper_QRgba64::setGreen(QRgba64* theWrappedObject, unsigned short _green) +{ + ( theWrappedObject->setGreen(_green)); +} + +void PythonQtWrapper_QRgba64::setRed(QRgba64* theWrappedObject, unsigned short _red) +{ + ( theWrappedObject->setRed(_red)); +} + +uint PythonQtWrapper_QRgba64::toArgb32(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->toArgb32()); +} + +ushort PythonQtWrapper_QRgba64::toRgb16(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->toRgb16()); +} + +QRgba64 PythonQtWrapper_QRgba64::unpremultiplied(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->unpremultiplied()); +} + + + +PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8866,87 +10109,65 @@ if (_wrapper) { } } } - QProgressBar::focusOutEvent(event0); + QRubberBand::actionEvent(event0); } -bool PythonQtShell_QProgressBar::hasHeightForWidth() const +void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::hasHeightForWidth(); + QRubberBand::changeEvent(arg__1); } -int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const +void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::heightForWidth(arg__1); + QRubberBand::childEvent(event0); } -void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) +void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8954,21 +10175,21 @@ if (_wrapper) { } } } - QProgressBar::hideEvent(event0); + QRubberBand::closeEvent(event0); } -void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const +void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8976,21 +10197,21 @@ if (_wrapper) { } } } - QProgressBar::initPainter(painter0); + QRubberBand::contextMenuEvent(event0); } -void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QRubberBand::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8998,32 +10219,32 @@ if (_wrapper) { } } } - QProgressBar::inputMethodEvent(arg__1); + QRubberBand::customEvent(event0); } -QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QRubberBand::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9031,21 +10252,21 @@ if (_wrapper) { } } } - return QProgressBar::inputMethodQuery(arg__1); + return QRubberBand::devType(); } -void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9053,21 +10274,21 @@ if (_wrapper) { } } } - QProgressBar::keyPressEvent(event0); + QRubberBand::dragEnterEvent(event0); } -void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9075,21 +10296,21 @@ if (_wrapper) { } } } - QProgressBar::keyReleaseEvent(event0); + QRubberBand::dragLeaveEvent(event0); } -void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) +void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9097,131 +10318,131 @@ if (_wrapper) { } } } - QProgressBar::leaveEvent(event0); + QRubberBand::dragMoveEvent(event0); } -int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::metric(arg__1); + QRubberBand::dropEvent(event0); } -QSize PythonQtShell_QProgressBar::minimumSizeHint() const +void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::minimumSizeHint(); + QRubberBand::enterEvent(event0); } -void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) +bool PythonQtShell_QRubberBand::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::mouseDoubleClickEvent(event0); + return QRubberBand::event(e0); } -void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::mouseMoveEvent(event0); + return QRubberBand::eventFilter(watched0, event1); } -void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9229,43 +10450,54 @@ if (_wrapper) { } } } - QProgressBar::mousePressEvent(event0); + QRubberBand::focusInEvent(event0); } -void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) +bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::mouseReleaseEvent(event0); + return QRubberBand::focusNextPrevChild(next0); } -void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9273,32 +10505,32 @@ if (_wrapper) { } } } - QProgressBar::moveEvent(event0); + QRubberBand::focusOutEvent(event0); } -bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QRubberBand::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9306,32 +10538,32 @@ if (_wrapper) { } } } - return QProgressBar::nativeEvent(eventType0, message1, result2); + return QRubberBand::hasHeightForWidth(); } -QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const +int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9339,21 +10571,21 @@ if (_wrapper) { } } } - return QProgressBar::paintEngine(); + return QRubberBand::heightForWidth(arg__1); } -void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9361,54 +10593,21 @@ if (_wrapper) { } } } - QProgressBar::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QProgressBar::redirected(offset0); + QRubberBand::hideEvent(event0); } -void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9416,21 +10615,21 @@ if (_wrapper) { } } } - QProgressBar::resizeEvent(event0); + QRubberBand::initPainter(painter0); } -void PythonQtShell_QProgressBar::setVisible(bool visible0) +void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9438,32 +10637,32 @@ if (_wrapper) { } } } - QProgressBar::setVisible(visible0); + QRubberBand::inputMethodEvent(arg__1); } -QPainter* PythonQtShell_QProgressBar::sharedPainter() const +QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9471,21 +10670,21 @@ if (_wrapper) { } } } - return QProgressBar::sharedPainter(); + return QRubberBand::inputMethodQuery(arg__1); } -void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) +void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9493,54 +10692,43 @@ if (_wrapper) { } } } - QProgressBar::showEvent(event0); + QRubberBand::keyPressEvent(event0); } -QSize PythonQtShell_QProgressBar::sizeHint() const +void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::sizeHint(); + QRubberBand::keyReleaseEvent(event0); } -void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9548,32 +10736,32 @@ if (_wrapper) { } } } - QProgressBar::tabletEvent(event0); + QRubberBand::leaveEvent(event0); } -QString PythonQtShell_QProgressBar::text() const +int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("text"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9581,161 +10769,54 @@ if (_wrapper) { } } } - return QProgressBar::text(); + return QRubberBand::metric(arg__1); } -void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) +QSize PythonQtShell_QRubberBand::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::wheelEvent(event0); -} -QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) -{ -return new PythonQtShell_QProgressBar(parent); } - -const QMetaObject* PythonQtShell_QProgressBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressBar::staticMetaObject); - } else { - return &QProgressBar::staticMetaObject; - } -} -int PythonQtShell_QProgressBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProgressBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QProgressBar::initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const -{ - ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_initStyleOption(option)); -} - -bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->invertedAppearance()); -} - -bool PythonQtWrapper_QProgressBar::isTextVisible(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->isTextVisible()); -} - -int PythonQtWrapper_QProgressBar::maximum(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -int PythonQtWrapper_QProgressBar::minimum(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -QSize PythonQtWrapper_QProgressBar::minimumSizeHint(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -Qt::Orientation PythonQtWrapper_QProgressBar::orientation(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QProgressBar::resetFormat(QProgressBar* theWrappedObject) -{ - ( theWrappedObject->resetFormat()); -} - -void PythonQtWrapper_QProgressBar::setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QProgressBar::setFormat(QProgressBar* theWrappedObject, const QString& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QProgressBar::setInvertedAppearance(QProgressBar* theWrappedObject, bool invert) -{ - ( theWrappedObject->setInvertedAppearance(invert)); -} - -void PythonQtWrapper_QProgressBar::setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection) -{ - ( theWrappedObject->setTextDirection(textDirection)); -} - -void PythonQtWrapper_QProgressBar::setTextVisible(QProgressBar* theWrappedObject, bool visible) -{ - ( theWrappedObject->setTextVisible(visible)); -} - -QSize PythonQtWrapper_QProgressBar::sizeHint(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QString PythonQtWrapper_QProgressBar::text(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); -} - -int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - - - -PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QRubberBand::minimumSizeHint(); } -void PythonQtShell_QProgressDialog::accept() +void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9743,21 +10824,21 @@ if (_wrapper) { } } } - QProgressDialog::accept(); + QRubberBand::mouseDoubleClickEvent(event0); } -void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9765,21 +10846,21 @@ if (_wrapper) { } } } - QProgressDialog::actionEvent(event0); + QRubberBand::mouseMoveEvent(event0); } -void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) +void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9787,21 +10868,21 @@ if (_wrapper) { } } } - QProgressDialog::changeEvent(event0); + QRubberBand::mousePressEvent(event0); } -void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) +void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9809,21 +10890,21 @@ if (_wrapper) { } } } - QProgressDialog::closeEvent(event0); + QRubberBand::mouseReleaseEvent(event0); } -void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9831,32 +10912,32 @@ if (_wrapper) { } } } - QProgressDialog::contextMenuEvent(arg__1); + QRubberBand::moveEvent(arg__1); } -int PythonQtShell_QProgressDialog::devType() const +bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9864,43 +10945,54 @@ if (_wrapper) { } } } - return QProgressDialog::devType(); + return QRubberBand::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QProgressDialog::done(int arg__1) +QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::done(arg__1); + return QRubberBand::paintEngine(); } -void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9908,43 +11000,54 @@ if (_wrapper) { } } } - QProgressDialog::dragEnterEvent(event0); + QRubberBand::paintEvent(arg__1); } -void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) +QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::dragLeaveEvent(event0); + return QRubberBand::redirected(offset0); } -void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9952,21 +11055,21 @@ if (_wrapper) { } } } - QProgressDialog::dragMoveEvent(event0); + QRubberBand::resizeEvent(arg__1); } -void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QRubberBand::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9974,87 +11077,87 @@ if (_wrapper) { } } } - QProgressDialog::dropEvent(event0); + QRubberBand::setVisible(visible0); } -void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) +QPainter* PythonQtShell_QRubberBand::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::enterEvent(event0); + return QRubberBand::sharedPainter(); } -bool PythonQtShell_QProgressDialog::event(QEvent* event0) +void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::event(event0); + QRubberBand::showEvent(arg__1); } -bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +QSize PythonQtShell_QRubberBand::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10062,54 +11165,43 @@ if (_wrapper) { } } } - return QProgressDialog::eventFilter(arg__1, arg__2); + return QRubberBand::sizeHint(); } -int PythonQtShell_QProgressDialog::exec() +void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::exec(); + QRubberBand::tabletEvent(event0); } -void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10117,164 +11209,306 @@ if (_wrapper) { } } } - QProgressDialog::focusInEvent(event0); + QRubberBand::timerEvent(event0); } -bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) +void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::focusNextPrevChild(next0); + QRubberBand::wheelEvent(event0); +} +QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) +{ +return new PythonQtShell_QRubberBand(arg__1, arg__2); } + +const QMetaObject* PythonQtShell_QRubberBand::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRubberBand::staticMetaObject); + } else { + return &QRubberBand::staticMetaObject; + } +} +int PythonQtShell_QRubberBand::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRubberBand::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QRubberBand::initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->move(p)); +} + +void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, int x, int y) +{ + ( theWrappedObject->move(x, y)); +} + +void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, const QSize& s) +{ + ( theWrappedObject->resize(s)); +} + +void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->setGeometry(r)); +} + +void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setGeometry(x, y, w, h)); +} + +QRubberBand::Shape PythonQtWrapper_QRubberBand::shape(QRubberBand* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + + + +int PythonQtWrapper_QScreen::angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const +{ + return ( theWrappedObject->angleBetween(a, b)); +} + +QRect PythonQtWrapper_QScreen::availableGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableGeometry()); +} + +QSize PythonQtWrapper_QScreen::availableSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableSize()); +} + +QRect PythonQtWrapper_QScreen::availableVirtualGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableVirtualGeometry()); +} + +QSize PythonQtWrapper_QScreen::availableVirtualSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableVirtualSize()); +} + +int PythonQtWrapper_QScreen::depth(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +qreal PythonQtWrapper_QScreen::devicePixelRatio(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +QRect PythonQtWrapper_QScreen::geometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +QPixmap PythonQtWrapper_QScreen::grabWindow(QScreen* theWrappedObject, WId window, int x, int y, int w, int h) +{ + return ( theWrappedObject->grabWindow(window, x, y, w, h)); +} + +bool PythonQtWrapper_QScreen::isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +{ + return ( theWrappedObject->isLandscape(orientation)); +} + +bool PythonQtWrapper_QScreen::isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +{ + return ( theWrappedObject->isPortrait(orientation)); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInch(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInch()); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInchX(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInchX()); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInchY(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInchY()); +} + +QString PythonQtWrapper_QScreen::manufacturer(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->manufacturer()); +} + +QRect PythonQtWrapper_QScreen::mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const +{ + return ( theWrappedObject->mapBetween(a, b, rect)); +} + +QString PythonQtWrapper_QScreen::model(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QString PythonQtWrapper_QScreen::name(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::nativeOrientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->nativeOrientation()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::orientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +Qt::ScreenOrientations PythonQtWrapper_QScreen::orientationUpdateMask(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->orientationUpdateMask()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInch(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInch()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInchX(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInchX()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInchY(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInchY()); +} + +QSizeF PythonQtWrapper_QScreen::physicalSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalSize()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::primaryOrientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->primaryOrientation()); +} + +qreal PythonQtWrapper_QScreen::refreshRate(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->refreshRate()); +} + +QString PythonQtWrapper_QScreen::serialNumber(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->serialNumber()); } -void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) + +void PythonQtWrapper_QScreen::setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setOrientationUpdateMask(mask)); } - QProgressDialog::focusOutEvent(event0); + +QSize PythonQtWrapper_QScreen::size(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->size()); } -bool PythonQtShell_QProgressDialog::hasHeightForWidth() const + +QTransform PythonQtWrapper_QScreen::transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->transformBetween(a, b, target)); } - return QProgressDialog::hasHeightForWidth(); + +QRect PythonQtWrapper_QScreen::virtualGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualGeometry()); } -int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const + +QScreen* PythonQtWrapper_QScreen::virtualSiblingAt(QScreen* theWrappedObject, QPoint point) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->virtualSiblingAt(point)); } - return QProgressDialog::heightForWidth(arg__1); + +QList PythonQtWrapper_QScreen::virtualSiblings(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualSiblings()); } -void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) + +QSize PythonQtWrapper_QScreen::virtualSize(QScreen* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->virtualSize()); } - QProgressDialog::hideEvent(event0); + +QString PythonQtWrapper_QScreen::py_toString(QScreen* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const + + + +QScreenOrientationChangeEvent* PythonQtWrapper_QScreenOrientationChangeEvent::new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation) +{ +return new QScreenOrientationChangeEvent(screen, orientation); } + +Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QScreen* PythonQtWrapper_QScreenOrientationChangeEvent::screen(QScreenOrientationChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + + + +PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10282,21 +11516,21 @@ if (_wrapper) { } } } - QProgressDialog::initPainter(painter0); + QScrollArea::actionEvent(event0); } -void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10304,54 +11538,43 @@ if (_wrapper) { } } } - QProgressDialog::inputMethodEvent(arg__1); + QScrollArea::changeEvent(arg__1); } -QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::inputMethodQuery(arg__1); + QScrollArea::childEvent(event0); } -void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10359,21 +11582,21 @@ if (_wrapper) { } } } - QProgressDialog::keyPressEvent(arg__1); + QScrollArea::closeEvent(event0); } -void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10381,21 +11604,21 @@ if (_wrapper) { } } } - QProgressDialog::keyReleaseEvent(event0); + QScrollArea::contextMenuEvent(arg__1); } -void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10403,32 +11626,32 @@ if (_wrapper) { } } } - QProgressDialog::leaveEvent(event0); + QScrollArea::customEvent(event0); } -int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10436,54 +11659,43 @@ if (_wrapper) { } } } - return QProgressDialog::metric(arg__1); + return QScrollArea::devType(); } -QSize PythonQtShell_QProgressDialog::minimumSizeHint() const +void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::minimumSizeHint(); + QScrollArea::dragEnterEvent(arg__1); } -void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10491,21 +11703,21 @@ if (_wrapper) { } } } - QProgressDialog::mouseDoubleClickEvent(event0); + QScrollArea::dragLeaveEvent(arg__1); } -void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10513,21 +11725,21 @@ if (_wrapper) { } } } - QProgressDialog::mouseMoveEvent(event0); + QScrollArea::dragMoveEvent(arg__1); } -void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10535,21 +11747,21 @@ if (_wrapper) { } } } - QProgressDialog::mousePressEvent(event0); + QScrollArea::dropEvent(arg__1); } -void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10557,87 +11769,120 @@ if (_wrapper) { } } } - QProgressDialog::mouseReleaseEvent(event0); + QScrollArea::enterEvent(event0); } -void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::moveEvent(event0); + return QScrollArea::event(arg__1); } -bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::nativeEvent(eventType0, message1, result2); + QScrollArea::focusInEvent(event0); } -QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const +bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10645,21 +11890,21 @@ if (_wrapper) { } } } - return QProgressDialog::paintEngine(); + return QScrollArea::focusNextPrevChild(next0); } -void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10667,32 +11912,32 @@ if (_wrapper) { } } } - QProgressDialog::paintEvent(event0); + QScrollArea::focusOutEvent(event0); } -QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const +bool PythonQtShell_QScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10700,43 +11945,54 @@ if (_wrapper) { } } } - return QProgressDialog::redirected(offset0); + return QScrollArea::hasHeightForWidth(); } -void PythonQtShell_QProgressDialog::reject() +int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::reject(); + return QScrollArea::heightForWidth(arg__1); } -void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10744,21 +12000,21 @@ if (_wrapper) { } } } - QProgressDialog::resizeEvent(event0); + QScrollArea::hideEvent(event0); } -void PythonQtShell_QProgressDialog::setVisible(bool visible0) +void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10766,109 +12022,98 @@ if (_wrapper) { } } } - QProgressDialog::setVisible(visible0); + QScrollArea::initPainter(painter0); } -QPainter* PythonQtShell_QProgressDialog::sharedPainter() const +void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::sharedPainter(); + QScrollArea::inputMethodEvent(arg__1); } -void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) +QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::showEvent(event0); + return QScrollArea::inputMethodQuery(arg__1); } -QSize PythonQtShell_QProgressDialog::sizeHint() const +void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::sizeHint(); + QScrollArea::keyPressEvent(arg__1); } -void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10876,21 +12121,21 @@ if (_wrapper) { } } } - QProgressDialog::tabletEvent(event0); + QScrollArea::keyReleaseEvent(event0); } -void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10898,162 +12143,87 @@ if (_wrapper) { } } } - QProgressDialog::wheelEvent(event0); -} -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QProgressDialog(parent, flags); } - -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags); } - -const QMetaObject* PythonQtShell_QProgressDialog::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressDialog::staticMetaObject); - } else { - return &QProgressDialog::staticMetaObject; - } -} -int PythonQtShell_QProgressDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProgressDialog::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->autoClose()); -} - -bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->autoReset()); -} - -QString PythonQtWrapper_QProgressDialog::labelText(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->labelText()); -} - -int PythonQtWrapper_QProgressDialog::maximum(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -int PythonQtWrapper_QProgressDialog::minimum(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -int PythonQtWrapper_QProgressDialog::minimumDuration(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->minimumDuration()); -} - -void PythonQtWrapper_QProgressDialog::open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member) -{ - ( theWrappedObject->open(receiver, member)); -} - -void PythonQtWrapper_QProgressDialog::setAutoClose(QProgressDialog* theWrappedObject, bool close) -{ - ( theWrappedObject->setAutoClose(close)); -} - -void PythonQtWrapper_QProgressDialog::setAutoReset(QProgressDialog* theWrappedObject, bool reset) -{ - ( theWrappedObject->setAutoReset(reset)); -} - -void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) -{ - ( theWrappedObject->setBar(bar)); -} - -void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) -{ - ( theWrappedObject->setCancelButton(button)); -} - -void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) -{ - ( theWrappedObject->setLabel(label)); -} - -int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->wasCanceled()); -} - - - -PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QScrollArea::leaveEvent(event0); } -void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const +int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawComplexControl"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&control0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); + return QScrollArea::metric(arg__1); } -void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +QSize PythonQtShell_QScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawControl"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::drawControl(element0, option1, painter2, widget3); + return QScrollArea::minimumSizeHint(); } -void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const +void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItemPixmap"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11061,21 +12231,21 @@ if (_wrapper) { } } } - QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); + QScrollArea::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const +void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItemText"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11083,21 +12253,21 @@ if (_wrapper) { } } } - QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); + QScrollArea::mouseMoveEvent(arg__1); } -void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPrimitive"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11105,98 +12275,76 @@ if (_wrapper) { } } } - QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); + QScrollArea::mousePressEvent(arg__1); } -bool PythonQtShell_QProxyStyle::event(QEvent* e0) +void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::event(e0); + QScrollArea::mouseReleaseEvent(arg__1); } -QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const +void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("generatedIconPixmap"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); + QScrollArea::moveEvent(event0); } -QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const +bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitTestComplexControl"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&control0, (void*)&option1, (void*)&pos2, (void*)&widget3}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QStyle::SubControl*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11204,32 +12352,32 @@ if (_wrapper) { } } } - return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); + return QScrollArea::nativeEvent(eventType0, message1, result2); } -QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const +QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemPixmapRect"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&r0, (void*)&flags1, (void*)&pixmap2}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11237,65 +12385,54 @@ if (_wrapper) { } } } - return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); + return QScrollArea::paintEngine(); } -QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const +void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemTextRect"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&fm0, (void*)&r1, (void*)&flags2, (void*)&enabled3, (void*)&text4}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); + QScrollArea::paintEvent(arg__1); } -int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const +QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("layoutSpacing"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - int returnValue{}; - void* args[6] = {NULL, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11303,54 +12440,43 @@ if (_wrapper) { } } } - return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); + return QScrollArea::redirected(offset0); } -int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const +void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pixelMetric"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&metric0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::pixelMetric(metric0, option1, widget2); + QScrollArea::resizeEvent(arg__1); } -void PythonQtShell_QProxyStyle::polish(QApplication* app0) +void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polish"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11358,21 +12484,21 @@ if (_wrapper) { } } } - QProxyStyle::polish(app0); + QScrollArea::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QProxyStyle::polish(QPalette& pal0) +void PythonQtShell_QScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polish"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPalette&"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pal0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11380,21 +12506,21 @@ if (_wrapper) { } } } - QProxyStyle::polish(pal0); + QScrollArea::setVisible(visible0); } -void PythonQtShell_QProxyStyle::polish(QWidget* widget0) +void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polish"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11402,32 +12528,32 @@ if (_wrapper) { } } } - QProxyStyle::polish(widget0); + QScrollArea::setupViewport(viewport0); } -QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const +QPainter* PythonQtShell_QScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeFromContents"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&type0, (void*)&option1, (void*)&size2, (void*)&widget3}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11435,65 +12561,54 @@ if (_wrapper) { } } } - return QProxyStyle::sizeFromContents(type0, option1, size2, widget3); + return QScrollArea::sharedPainter(); } -QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const +void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("standardIcon"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QIcon returnValue{}; - void* args[4] = {NULL, (void*)&standardIcon0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); - } else { - returnValue = *((QIcon*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardIcon(standardIcon0, option1, widget2); + QScrollArea::showEvent(event0); } -QPalette PythonQtShell_QProxyStyle::standardPalette() const +QSize PythonQtShell_QScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("standardPalette"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPalette"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QPalette*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11501,98 +12616,76 @@ if (_wrapper) { } } } - return QProxyStyle::standardPalette(); + return QScrollArea::sizeHint(); } -QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const +void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("standardPixmap"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardPixmap(standardPixmap0, opt1, widget2); + QScrollArea::tabletEvent(event0); } -int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const +void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("styleHint"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&hint0, (void*)&option1, (void*)&widget2, (void*)&returnData3}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::styleHint(hint0, option1, widget2, returnData3); + QScrollArea::timerEvent(event0); } -QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const +bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("subControlRect"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&widget3}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11600,32 +12693,32 @@ if (_wrapper) { } } } - return QProxyStyle::subControlRect(cc0, opt1, sc2, widget3); + return QScrollArea::viewportEvent(arg__1); } -QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const +QSize PythonQtShell_QScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("subElementRect"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&element0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11633,43 +12726,21 @@ if (_wrapper) { } } } - return QProxyStyle::subElementRect(element0, option1, widget2); -} -void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unpolish"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QProxyStyle::unpolish(app0); + return QScrollArea::viewportSizeHint(); } -void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) +void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unpolish"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11677,56 +12748,77 @@ if (_wrapper) { } } } - QProxyStyle::unpolish(widget0); + QScrollArea::wheelEvent(arg__1); } -QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(QStyle* style) -{ -return new PythonQtShell_QProxyStyle(style); } - -QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(const QString& key) +QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) { -return new PythonQtShell_QProxyStyle(key); } +return new PythonQtShell_QScrollArea(parent); } -const QMetaObject* PythonQtShell_QProxyStyle::metaObject() const { +const QMetaObject* PythonQtShell_QScrollArea::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProxyStyle::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollArea::staticMetaObject); } else { - return &QProxyStyle::staticMetaObject; + return &QScrollArea::staticMetaObject; } } -int PythonQtShell_QProxyStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProxyStyle::qt_metacall(call, id, args); +int PythonQtShell_QScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QScrollArea::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QStyle* PythonQtWrapper_QProxyStyle::baseStyle(QProxyStyle* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QScrollArea::alignment(QScrollArea* theWrappedObject) const { - return ( theWrappedObject->baseStyle()); + return ( theWrappedObject->alignment()); } -bool PythonQtWrapper_QProxyStyle::event(QProxyStyle* theWrappedObject, QEvent* e) +void PythonQtWrapper_QScrollArea::ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin, int ymargin) { - return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_event(e)); + ( theWrappedObject->ensureVisible(x, y, xmargin, ymargin)); } -QRect PythonQtWrapper_QProxyStyle::itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const +void PythonQtWrapper_QScrollArea::ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin, int ymargin) { - return ( theWrappedObject->itemTextRect(fm, r, flags, enabled, text)); + ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); } -void PythonQtWrapper_QProxyStyle::setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style) +void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) { - ( theWrappedObject->setBaseStyle(style)); + ( theWrappedObject->setAlignment(arg__1)); } +void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setWidget(widget)); +} +void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) +{ + ( theWrappedObject->setWidgetResizable(resizable)); +} -PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { +QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) +{ + return ( theWrappedObject->takeWidget()); +} + +QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->widgetResizable()); +} + + + +PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) +void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11736,9 +12828,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11746,9 +12838,9 @@ if (_wrapper) { } } } - QPushButton::actionEvent(event0); + QScrollBar::actionEvent(event0); } -void PythonQtShell_QPushButton::changeEvent(QEvent* e0) +void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11758,9 +12850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11768,21 +12860,21 @@ if (_wrapper) { } } } - QPushButton::changeEvent(e0); + QScrollBar::changeEvent(e0); } -void PythonQtShell_QPushButton::checkStateSet() +void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("checkStateSet"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11790,9 +12882,9 @@ if (_wrapper) { } } } - QPushButton::checkStateSet(); + QScrollBar::childEvent(event0); } -void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11802,9 +12894,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11812,9 +12904,9 @@ if (_wrapper) { } } } - QPushButton::closeEvent(event0); + QScrollBar::closeEvent(event0); } -void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11824,9 +12916,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11834,9 +12926,31 @@ if (_wrapper) { } } } - QPushButton::contextMenuEvent(event0); + QScrollBar::contextMenuEvent(arg__1); } -int PythonQtShell_QPushButton::devType() const +void PythonQtShell_QScrollBar::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::customEvent(event0); +} +int PythonQtShell_QScrollBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11847,19 +12961,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11867,9 +12981,9 @@ if (_wrapper) { } } } - return QPushButton::devType(); + return QScrollBar::devType(); } -void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11879,9 +12993,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11889,9 +13003,9 @@ if (_wrapper) { } } } - QPushButton::dragEnterEvent(event0); + QScrollBar::dragEnterEvent(event0); } -void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11901,9 +13015,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11911,9 +13025,9 @@ if (_wrapper) { } } } - QPushButton::dragLeaveEvent(event0); + QScrollBar::dragLeaveEvent(event0); } -void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11923,9 +13037,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11933,9 +13047,9 @@ if (_wrapper) { } } } - QPushButton::dragMoveEvent(event0); + QScrollBar::dragMoveEvent(event0); } -void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11945,9 +13059,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11955,9 +13069,9 @@ if (_wrapper) { } } } - QPushButton::dropEvent(event0); + QScrollBar::dropEvent(event0); } -void PythonQtShell_QPushButton::enterEvent(QEvent* event0) +void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11967,9 +13081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11977,9 +13091,9 @@ if (_wrapper) { } } } - QPushButton::enterEvent(event0); + QScrollBar::enterEvent(event0); } -bool PythonQtShell_QPushButton::event(QEvent* e0) +bool PythonQtShell_QScrollBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11990,19 +13104,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12010,9 +13124,42 @@ if (_wrapper) { } } } - return QPushButton::event(e0); + return QScrollBar::event(event0); } -void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) +bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::eventFilter(watched0, event1); +} +void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12022,9 +13169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12032,9 +13179,9 @@ if (_wrapper) { } } } - QPushButton::focusInEvent(arg__1); + QScrollBar::focusInEvent(event0); } -bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) +bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12045,19 +13192,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12065,9 +13212,9 @@ if (_wrapper) { } } } - return QPushButton::focusNextPrevChild(next0); + return QScrollBar::focusNextPrevChild(next0); } -void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12077,9 +13224,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12087,9 +13234,9 @@ if (_wrapper) { } } } - QPushButton::focusOutEvent(arg__1); + QScrollBar::focusOutEvent(event0); } -bool PythonQtShell_QPushButton::hasHeightForWidth() const +bool PythonQtShell_QScrollBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12100,19 +13247,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12120,9 +13267,9 @@ if (_wrapper) { } } } - return QPushButton::hasHeightForWidth(); + return QScrollBar::hasHeightForWidth(); } -int PythonQtShell_QPushButton::heightForWidth(int arg__1) const +int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12133,19 +13280,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12153,9 +13300,9 @@ if (_wrapper) { } } } - return QPushButton::heightForWidth(arg__1); + return QScrollBar::heightForWidth(arg__1); } -void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) +void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12165,9 +13312,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12175,42 +13322,9 @@ if (_wrapper) { } } } - QPushButton::hideEvent(event0); -} -bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitButton"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPushButton::hitButton(pos0); + QScrollBar::hideEvent(arg__1); } -void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const +void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12220,9 +13334,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12230,9 +13344,9 @@ if (_wrapper) { } } } - QPushButton::initPainter(painter0); + QScrollBar::initPainter(painter0); } -void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12242,9 +13356,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12252,9 +13366,9 @@ if (_wrapper) { } } } - QPushButton::inputMethodEvent(arg__1); + QScrollBar::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12265,19 +13379,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12285,9 +13399,9 @@ if (_wrapper) { } } } - return QPushButton::inputMethodQuery(arg__1); + return QScrollBar::inputMethodQuery(arg__1); } -void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12297,9 +13411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12307,9 +13421,9 @@ if (_wrapper) { } } } - QPushButton::keyPressEvent(arg__1); + QScrollBar::keyPressEvent(ev0); } -void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12319,9 +13433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12329,9 +13443,9 @@ if (_wrapper) { } } } - QPushButton::keyReleaseEvent(e0); + QScrollBar::keyReleaseEvent(event0); } -void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) +void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12341,9 +13455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12351,9 +13465,9 @@ if (_wrapper) { } } } - QPushButton::leaveEvent(event0); + QScrollBar::leaveEvent(event0); } -int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12364,19 +13478,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12384,32 +13498,32 @@ if (_wrapper) { } } } - return QPushButton::metric(arg__1); + return QScrollBar::metric(arg__1); } -QSize PythonQtShell_QPushButton::minimumSizeHint() const +QSize PythonQtShell_QScrollBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12417,9 +13531,9 @@ if (_wrapper) { } } } - return QPushButton::minimumSizeHint(); + return QScrollBar::minimumSizeHint(); } -void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12429,9 +13543,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12439,9 +13553,9 @@ if (_wrapper) { } } } - QPushButton::mouseDoubleClickEvent(event0); + QScrollBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12451,9 +13565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12461,9 +13575,9 @@ if (_wrapper) { } } } - QPushButton::mouseMoveEvent(e0); + QScrollBar::mouseMoveEvent(arg__1); } -void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12473,9 +13587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12483,9 +13597,9 @@ if (_wrapper) { } } } - QPushButton::mousePressEvent(e0); + QScrollBar::mousePressEvent(arg__1); } -void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12495,9 +13609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12505,9 +13619,9 @@ if (_wrapper) { } } } - QPushButton::mouseReleaseEvent(e0); + QScrollBar::mouseReleaseEvent(arg__1); } -void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12517,9 +13631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12527,9 +13641,9 @@ if (_wrapper) { } } } - QPushButton::moveEvent(event0); + QScrollBar::moveEvent(event0); } -bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12540,19 +13654,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12560,31 +13674,9 @@ if (_wrapper) { } } } - return QPushButton::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QPushButton::nextCheckState() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextCheckState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPushButton::nextCheckState(); + return QScrollBar::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QPushButton::paintEngine() const +QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12595,19 +13687,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12615,9 +13707,9 @@ if (_wrapper) { } } } - return QPushButton::paintEngine(); + return QScrollBar::paintEngine(); } -void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12627,9 +13719,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12637,9 +13729,9 @@ if (_wrapper) { } } } - QPushButton::paintEvent(arg__1); + QScrollBar::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12650,19 +13742,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12670,9 +13762,9 @@ if (_wrapper) { } } } - return QPushButton::redirected(offset0); + return QScrollBar::redirected(offset0); } -void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12682,9 +13774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12692,9 +13784,9 @@ if (_wrapper) { } } } - QPushButton::resizeEvent(event0); + QScrollBar::resizeEvent(event0); } -void PythonQtShell_QPushButton::setVisible(bool visible0) +void PythonQtShell_QScrollBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12704,9 +13796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12714,9 +13806,9 @@ if (_wrapper) { } } } - QPushButton::setVisible(visible0); + QScrollBar::setVisible(visible0); } -QPainter* PythonQtShell_QPushButton::sharedPainter() const +QPainter* PythonQtShell_QScrollBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12727,19 +13819,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12747,9 +13839,9 @@ if (_wrapper) { } } } - return QPushButton::sharedPainter(); + return QScrollBar::sharedPainter(); } -void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) +void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12759,9 +13851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12769,9 +13861,9 @@ if (_wrapper) { } } } - QPushButton::showEvent(event0); + QScrollBar::showEvent(event0); } -QSize PythonQtShell_QPushButton::sizeHint() const +QSize PythonQtShell_QScrollBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12782,19 +13874,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12802,9 +13894,31 @@ if (_wrapper) { } } } - return QPushButton::sizeHint(); + return QScrollBar::sizeHint(); } -void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sliderChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&change0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::sliderChange(change0); +} +void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12814,9 +13928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12824,9 +13938,9 @@ if (_wrapper) { } } } - QPushButton::tabletEvent(event0); + QScrollBar::tabletEvent(event0); } -void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) +void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12836,9 +13950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12846,9 +13960,9 @@ if (_wrapper) { } } } - QPushButton::timerEvent(e0); + QScrollBar::timerEvent(arg__1); } -void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12858,9 +13972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12868,465 +13982,586 @@ if (_wrapper) { } } } - QPushButton::wheelEvent(event0); + QScrollBar::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) +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) { -return new PythonQtShell_QPushButton(icon, text, parent); } +return new PythonQtShell_QScrollBar(parent); } -QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QString& text, QWidget* parent) +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) { -return new PythonQtShell_QPushButton(text, parent); } +return new PythonQtShell_QScrollBar(arg__1, parent); } -const QMetaObject* PythonQtShell_QPushButton::metaObject() const { +const QMetaObject* PythonQtShell_QScrollBar::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPushButton::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollBar::staticMetaObject); } else { - return &QPushButton::staticMetaObject; + return &QScrollBar::staticMetaObject; } } -int PythonQtShell_QPushButton::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPushButton::qt_metacall(call, id, args); +int PythonQtShell_QScrollBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QScrollBar::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const +void PythonQtWrapper_QScrollBar::initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const { - return ( theWrappedObject->autoDefault()); + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QPushButton::initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const +QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_initStyleOption(option)); + return ( theWrappedObject->sizeHint()); } -bool PythonQtWrapper_QPushButton::isDefault(QPushButton* theWrappedObject) const + + +QScrollEvent* PythonQtWrapper_QScrollEvent::new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState) +{ +return new QScrollEvent(contentPos, overshoot, scrollState); } + +QPointF PythonQtWrapper_QScrollEvent::contentPos(QScrollEvent* theWrappedObject) const { - return ( theWrappedObject->isDefault()); + return ( theWrappedObject->contentPos()); } -bool PythonQtWrapper_QPushButton::isFlat(QPushButton* theWrappedObject) const +QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) const { - return ( theWrappedObject->isFlat()); + return ( theWrappedObject->overshootDistance()); } -QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const +QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const { - return ( theWrappedObject->menu()); + return ( theWrappedObject->scrollState()); } -QSize PythonQtWrapper_QPushButton::minimumSizeHint(QPushButton* theWrappedObject) const + + +QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) +{ +return new QScrollPrepareEvent(startPos); } + +QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) const { - return ( theWrappedObject->minimumSizeHint()); + return ( theWrappedObject->contentPos()); } -void PythonQtWrapper_QPushButton::setAutoDefault(QPushButton* theWrappedObject, bool arg__1) +QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const { - ( theWrappedObject->setAutoDefault(arg__1)); + return ( theWrappedObject->contentPosRange()); } -void PythonQtWrapper_QPushButton::setDefault(QPushButton* theWrappedObject, bool arg__1) +void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->setDefault(arg__1)); + ( theWrappedObject->setContentPos(pos)); } -void PythonQtWrapper_QPushButton::setFlat(QPushButton* theWrappedObject, bool arg__1) +void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) { - ( theWrappedObject->setFlat(arg__1)); + ( theWrappedObject->setContentPosRange(rect)); } -void PythonQtWrapper_QPushButton::setMenu(QPushButton* theWrappedObject, QMenu* menu) +void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) { - ( theWrappedObject->setMenu(menu)); + ( theWrappedObject->setViewportSize(size)); } -QSize PythonQtWrapper_QPushButton::sizeHint(QPushButton* theWrappedObject) const +QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->startPos()); } +QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->viewportSize()); +} -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion() -{ -return new QQuaternion(); } -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(const QVector4D& vector) -{ -return new QQuaternion(vector); } +QList PythonQtWrapper_QScroller::static_QScroller_activeScrollers() +{ + return (QScroller::activeScrollers()); +} -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, const QVector3D& vector) -{ -return new QQuaternion(scalar, vector); } +QPointF PythonQtWrapper_QScroller::finalPosition(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->finalPosition()); +} -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, float xpos, float ypos, float zpos) -{ -return new QQuaternion(scalar, xpos, ypos, zpos); } +Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType) +{ + return (QScroller::grabGesture(target, gestureType)); +} -QQuaternion PythonQtWrapper_QQuaternion::conjugate(QQuaternion* theWrappedObject) const +Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabbedGesture(QObject* target) { - return ( theWrappedObject->conjugate()); + return (QScroller::grabbedGesture(target)); } -QQuaternion PythonQtWrapper_QQuaternion::conjugated(QQuaternion* theWrappedObject) const +bool PythonQtWrapper_QScroller::handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp) { - return ( theWrappedObject->conjugated()); + return ( theWrappedObject->handleInput(input, position, timestamp)); } -float PythonQtWrapper_QQuaternion::static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2) +bool PythonQtWrapper_QScroller::static_QScroller_hasScroller(QObject* target) { - return (QQuaternion::dotProduct(q1, q2)); + return (QScroller::hasScroller(target)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis) +QPointF PythonQtWrapper_QScroller::pixelPerMeter(QScroller* theWrappedObject) const { - return (QQuaternion::fromAxes(xAxis, yAxis, zAxis)); + return ( theWrappedObject->pixelPerMeter()); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle) +QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(QObject* target) { - return (QQuaternion::fromAxisAndAngle(axis, angle)); + return (QScroller::scroller(target)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle) +const QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(const QObject* target) { - return (QQuaternion::fromAxisAndAngle(x, y, z, angle)); + return (QScroller::scroller(target)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up) +QScrollerProperties PythonQtWrapper_QScroller::scrollerProperties(QScroller* theWrappedObject) const { - return (QQuaternion::fromDirection(direction, up)); + return ( theWrappedObject->scrollerProperties()); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles) +void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, const QList& positions) { - return (QQuaternion::fromEulerAngles(eulerAngles)); + ( theWrappedObject->setSnapPositionsX(positions)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll) +void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval) { - return (QQuaternion::fromEulerAngles(pitch, yaw, roll)); + ( theWrappedObject->setSnapPositionsX(first, interval)); } -void PythonQtWrapper_QQuaternion::getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const +void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, const QList& positions) { - ( theWrappedObject->getAxes(xAxis, yAxis, zAxis)); + ( theWrappedObject->setSnapPositionsY(positions)); } -void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const +void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval) { - ( theWrappedObject->getAxisAndAngle(axis, angle)); + ( theWrappedObject->setSnapPositionsY(first, interval)); } -void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const +QScroller::State PythonQtWrapper_QScroller::state(QScroller* theWrappedObject) const { - ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); + return ( theWrappedObject->state()); } -void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const +void PythonQtWrapper_QScroller::stop(QScroller* theWrappedObject) { - ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); + ( theWrappedObject->stop()); } -QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const +QObject* PythonQtWrapper_QScroller::target(QScroller* theWrappedObject) const { - return ( theWrappedObject->inverted()); + return ( theWrappedObject->target()); } -bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QScroller::static_QScroller_ungrabGesture(QObject* target) { - return ( theWrappedObject->isIdentity()); + (QScroller::ungrabGesture(target)); } -bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const +QPointF PythonQtWrapper_QScroller::velocity(QScroller* theWrappedObject) const { - return ( theWrappedObject->isNull()); + return ( theWrappedObject->velocity()); } -float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const + + +PythonQtShell_QScrollerProperties::~PythonQtShell_QScrollerProperties() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties() +{ +return new PythonQtShell_QScrollerProperties(); } + +QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties(const QScrollerProperties& sp) +{ +return new PythonQtShell_QScrollerProperties(sp); } + +bool PythonQtWrapper_QScrollerProperties::__ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const { - return ( theWrappedObject->length()); + return ( (*theWrappedObject)!= sp); } -float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const +QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) { - return ( theWrappedObject->lengthSquared()); + return &( (*theWrappedObject)= sp); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) +bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const { - return (QQuaternion::nlerp(q1, q2, t)); + return ( (*theWrappedObject)== sp); } -void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) +QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const { - ( theWrappedObject->normalize()); + return ( theWrappedObject->scrollMetric(metric)); } -QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) { - return ( theWrappedObject->normalized()); + (QScrollerProperties::setDefaultScrollerProperties(sp)); } -const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) +void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) { - return ( (*theWrappedObject)* q2); + ( theWrappedObject->setScrollMetric(metric, value)); } -QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() { - return ( (*theWrappedObject)* vec); + (QScrollerProperties::unsetDefaultScrollerProperties()); } -const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) + + +bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) { - return ( (*theWrappedObject)* factor); + return ( theWrappedObject->allowsErrorInteraction()); } -QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) { - return &( (*theWrappedObject)*= quaternion); + return ( theWrappedObject->allowsInteraction()); } -QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, float factor) +void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) { - return &( (*theWrappedObject)*= factor); + ( theWrappedObject->cancel()); } -const QQuaternion PythonQtWrapper_QQuaternion::__add__(QQuaternion* theWrappedObject, const QQuaternion& q2) +QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const { - return ( (*theWrappedObject)+ q2); + return ( theWrappedObject->discardCommand()); } -QQuaternion* PythonQtWrapper_QQuaternion::__iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const { - return &( (*theWrappedObject)+= quaternion); + return ( theWrappedObject->isPhase2()); } -const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject, const QQuaternion& q2) +void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) { - return ( (*theWrappedObject)- q2); + ( theWrappedObject->release()); } -QQuaternion* PythonQtWrapper_QQuaternion::__isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) { - return &( (*theWrappedObject)-= quaternion); + ( theWrappedObject->requestPhase2()); } -const QQuaternion PythonQtWrapper_QQuaternion::__div__(QQuaternion* theWrappedObject, float divisor) +QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const { - return ( (*theWrappedObject)/ divisor); + return ( theWrappedObject->restartCommand()); } -QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, float divisor) +QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const { - return &( (*theWrappedObject)/= divisor); + return ( theWrappedObject->restartHint()); } -void PythonQtWrapper_QQuaternion::writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1) +QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const { - arg__1 << (*theWrappedObject); + return ( theWrappedObject->sessionId()); } -bool PythonQtWrapper_QQuaternion::__eq__(QQuaternion* theWrappedObject, const QQuaternion& q2) +QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) const { - return ( (*theWrappedObject)== q2); + return ( theWrappedObject->sessionKey()); +} + +void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setDiscardCommand(arg__1)); +} + +void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setManagerProperty(name, value)); +} + +void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) +{ + ( theWrappedObject->setManagerProperty(name, value)); +} + +void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setRestartCommand(arg__1)); +} + +void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) +{ + ( theWrappedObject->setRestartHint(arg__1)); +} + + + +PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QShortcut::childEvent(event0); +} +void PythonQtShell_QShortcut::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QShortcut::customEvent(event0); +} +bool PythonQtShell_QShortcut::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QQuaternion::readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); + return QShortcut::event(e0); } - -QVector3D PythonQtWrapper_QQuaternion::rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const +bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->rotatedVector(vector)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to) -{ - return (QQuaternion::rotationTo(from, to)); + return QShortcut::eventFilter(watched0, event1); } - -float PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const +void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->scalar()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, float scalar) -{ - ( theWrappedObject->setScalar(scalar)); + QShortcut::timerEvent(event0); } +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(QWidget* parent) +{ +return new PythonQtShell_QShortcut(parent); } -void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) -{ - ( theWrappedObject->setVector(vector)); -} +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext shortcutContext) +{ +return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, shortcutContext); } -void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, float x, float y, float z) -{ - ( theWrappedObject->setVector(x, y, z)); +const QMetaObject* PythonQtShell_QShortcut::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QShortcut::staticMetaObject); + } else { + return &QShortcut::staticMetaObject; + } } - -void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, float x) -{ - ( theWrappedObject->setX(x)); +int PythonQtShell_QShortcut::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QShortcut::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, float y) +bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const { - ( theWrappedObject->setY(y)); + return ( theWrappedObject->autoRepeat()); } -void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, float z) +Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) const { - ( theWrappedObject->setZ(z)); + return ( theWrappedObject->context()); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t) +int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const { - return (QQuaternion::slerp(q1, q2, t)); + return ( theWrappedObject->id()); } -QVector3D PythonQtWrapper_QQuaternion::toEulerAngles(QQuaternion* theWrappedObject) const +bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const { - return ( theWrappedObject->toEulerAngles()); + return ( theWrappedObject->isEnabled()); } -QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const +QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const { - return ( theWrappedObject->toVector4D()); + return ( theWrappedObject->key()); } -QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const +QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const { - return ( theWrappedObject->vector()); + return ( theWrappedObject->parentWidget()); } -float PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) { - return ( theWrappedObject->x()); + ( theWrappedObject->setAutoRepeat(on)); } -float PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QShortcut::setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context) { - return ( theWrappedObject->y()); + ( theWrappedObject->setContext(context)); } -float PythonQtWrapper_QQuaternion::z(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QShortcut::setEnabled(QShortcut* theWrappedObject, bool enable) { - return ( theWrappedObject->z()); -} - -QString PythonQtWrapper_QQuaternion::py_toString(QQuaternion* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + ( theWrappedObject->setEnabled(enable)); } - - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient() -{ -return new QRadialGradient(); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius) -{ -return new QRadialGradient(center, centerRadius, focalPoint, focalRadius); } - -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 centerRadius, qreal fx, qreal fy, qreal focalRadius) -{ -return new QRadialGradient(cx, cy, centerRadius, fx, fy, focalRadius); } - -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); } - -QPointF PythonQtWrapper_QRadialGradient::center(QRadialGradient* theWrappedObject) const +void PythonQtWrapper_QShortcut::setKey(QShortcut* theWrappedObject, const QKeySequence& key) { - return ( theWrappedObject->center()); + ( theWrappedObject->setKey(key)); } -qreal PythonQtWrapper_QRadialGradient::centerRadius(QRadialGradient* theWrappedObject) const +void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) { - return ( theWrappedObject->centerRadius()); + ( theWrappedObject->setWhatsThis(text)); } -QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const +QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const { - return ( theWrappedObject->focalPoint()); + return ( theWrappedObject->whatsThis()); } -qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->focalRadius()); -} -qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->radius()); -} -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) -{ - ( theWrappedObject->setCenter(center)); +PythonQtShell_QShortcutEvent::~PythonQtShell_QShortcutEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QShortcutEvent* PythonQtWrapper_QShortcutEvent::new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous) +{ +return new PythonQtShell_QShortcutEvent(key, id, ambiguous); } -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) +bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const { - ( theWrappedObject->setCenter(x, y)); + return ( theWrappedObject->isAmbiguous()); } -void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) +const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const { - ( theWrappedObject->setCenterRadius(radius)); + return &( theWrappedObject->key()); } -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) +int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const { - ( theWrappedObject->setFocalPoint(focalPoint)); + return ( theWrappedObject->shortcutId()); } -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->setFocalPoint(x, y)); -} -void PythonQtWrapper_QRadialGradient::setFocalRadius(QRadialGradient* theWrappedObject, qreal radius) -{ - ( theWrappedObject->setFocalRadius(radius)); -} -void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) -{ - ( theWrappedObject->setRadius(radius)); -} +QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() +{ +return new QShowEvent(); } -PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { +PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) +void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13336,9 +14571,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13346,9 +14581,9 @@ if (_wrapper) { } } } - QRadioButton::actionEvent(event0); + QSizeGrip::actionEvent(event0); } -void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) +void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13358,9 +14593,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13368,21 +14603,21 @@ if (_wrapper) { } } } - QRadioButton::changeEvent(e0); + QSizeGrip::changeEvent(arg__1); } -void PythonQtShell_QRadioButton::checkStateSet() +void PythonQtShell_QSizeGrip::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("checkStateSet"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13390,9 +14625,9 @@ if (_wrapper) { } } } - QRadioButton::checkStateSet(); + QSizeGrip::childEvent(event0); } -void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13402,9 +14637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13412,9 +14647,9 @@ if (_wrapper) { } } } - QRadioButton::closeEvent(event0); + QSizeGrip::closeEvent(event0); } -void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13424,9 +14659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13434,9 +14669,31 @@ if (_wrapper) { } } } - QRadioButton::contextMenuEvent(event0); + QSizeGrip::contextMenuEvent(event0); } -int PythonQtShell_QRadioButton::devType() const +void PythonQtShell_QSizeGrip::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSizeGrip::customEvent(event0); +} +int PythonQtShell_QSizeGrip::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13447,19 +14704,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13467,9 +14724,9 @@ if (_wrapper) { } } } - return QRadioButton::devType(); + return QSizeGrip::devType(); } -void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13479,9 +14736,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13489,9 +14746,9 @@ if (_wrapper) { } } } - QRadioButton::dragEnterEvent(event0); + QSizeGrip::dragEnterEvent(event0); } -void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13501,9 +14758,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13511,9 +14768,9 @@ if (_wrapper) { } } } - QRadioButton::dragLeaveEvent(event0); + QSizeGrip::dragLeaveEvent(event0); } -void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13523,9 +14780,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13533,9 +14790,9 @@ if (_wrapper) { } } } - QRadioButton::dragMoveEvent(event0); + QSizeGrip::dragMoveEvent(event0); } -void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13545,9 +14802,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13555,9 +14812,9 @@ if (_wrapper) { } } } - QRadioButton::dropEvent(event0); + QSizeGrip::dropEvent(event0); } -void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) +void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13567,9 +14824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13577,9 +14834,9 @@ if (_wrapper) { } } } - QRadioButton::enterEvent(event0); + QSizeGrip::enterEvent(event0); } -bool PythonQtShell_QRadioButton::event(QEvent* e0) +bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13590,19 +14847,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13610,9 +14867,42 @@ if (_wrapper) { } } } - return QRadioButton::event(e0); + return QSizeGrip::event(arg__1); } -void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) +bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSizeGrip::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13622,9 +14912,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13632,9 +14922,9 @@ if (_wrapper) { } } } - QRadioButton::focusInEvent(e0); + QSizeGrip::focusInEvent(event0); } -bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) +bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13645,19 +14935,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13665,9 +14955,9 @@ if (_wrapper) { } } } - return QRadioButton::focusNextPrevChild(next0); + return QSizeGrip::focusNextPrevChild(next0); } -void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13677,9 +14967,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13687,9 +14977,9 @@ if (_wrapper) { } } } - QRadioButton::focusOutEvent(e0); + QSizeGrip::focusOutEvent(event0); } -bool PythonQtShell_QRadioButton::hasHeightForWidth() const +bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13700,19 +14990,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13720,9 +15010,9 @@ if (_wrapper) { } } } - return QRadioButton::hasHeightForWidth(); + return QSizeGrip::hasHeightForWidth(); } -int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const +int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13733,19 +15023,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13753,9 +15043,9 @@ if (_wrapper) { } } } - return QRadioButton::heightForWidth(arg__1); + return QSizeGrip::heightForWidth(arg__1); } -void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) +void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13765,9 +15055,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&hideEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13775,42 +15065,9 @@ if (_wrapper) { } } } - QRadioButton::hideEvent(event0); -} -bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitButton"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QRadioButton::hitButton(arg__1); + QSizeGrip::hideEvent(hideEvent0); } -void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const +void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13820,9 +15077,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13830,9 +15087,9 @@ if (_wrapper) { } } } - QRadioButton::initPainter(painter0); + QSizeGrip::initPainter(painter0); } -void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13842,9 +15099,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13852,9 +15109,9 @@ if (_wrapper) { } } } - QRadioButton::inputMethodEvent(arg__1); + QSizeGrip::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13865,19 +15122,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13885,9 +15142,9 @@ if (_wrapper) { } } } - return QRadioButton::inputMethodQuery(arg__1); + return QSizeGrip::inputMethodQuery(arg__1); } -void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) +void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13897,9 +15154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13907,9 +15164,9 @@ if (_wrapper) { } } } - QRadioButton::keyPressEvent(e0); + QSizeGrip::keyPressEvent(event0); } -void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13919,9 +15176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13929,9 +15186,9 @@ if (_wrapper) { } } } - QRadioButton::keyReleaseEvent(e0); + QSizeGrip::keyReleaseEvent(event0); } -void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) +void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13941,9 +15198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13951,9 +15208,9 @@ if (_wrapper) { } } } - QRadioButton::leaveEvent(event0); + QSizeGrip::leaveEvent(event0); } -int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13964,19 +15221,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13984,32 +15241,32 @@ if (_wrapper) { } } } - return QRadioButton::metric(arg__1); + return QSizeGrip::metric(arg__1); } -QSize PythonQtShell_QRadioButton::minimumSizeHint() const +QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14017,9 +15274,9 @@ if (_wrapper) { } } } - return QRadioButton::minimumSizeHint(); + return QSizeGrip::minimumSizeHint(); } -void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14029,9 +15286,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14039,9 +15296,9 @@ if (_wrapper) { } } } - QRadioButton::mouseDoubleClickEvent(event0); + QSizeGrip::mouseDoubleClickEvent(event0); } -void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14051,9 +15308,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14061,9 +15318,9 @@ if (_wrapper) { } } } - QRadioButton::mouseMoveEvent(arg__1); + QSizeGrip::mouseMoveEvent(arg__1); } -void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14073,9 +15330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14083,9 +15340,9 @@ if (_wrapper) { } } } - QRadioButton::mousePressEvent(e0); + QSizeGrip::mousePressEvent(arg__1); } -void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14095,9 +15352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14105,9 +15362,9 @@ if (_wrapper) { } } } - QRadioButton::mouseReleaseEvent(e0); + QSizeGrip::mouseReleaseEvent(mouseEvent0); } -void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14117,9 +15374,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&moveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14127,9 +15384,9 @@ if (_wrapper) { } } } - QRadioButton::moveEvent(event0); + QSizeGrip::moveEvent(moveEvent0); } -bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14140,19 +15397,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14160,31 +15417,9 @@ if (_wrapper) { } } } - return QRadioButton::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QRadioButton::nextCheckState() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextCheckState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QRadioButton::nextCheckState(); + return QSizeGrip::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const +QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14195,19 +15430,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14215,9 +15450,9 @@ if (_wrapper) { } } } - return QRadioButton::paintEngine(); + return QSizeGrip::paintEngine(); } -void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14225,198 +15460,11 @@ if (_wrapper) { static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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; - } else { - PyErr_Clear(); - } - } -} - QRadioButton::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QRadioButton::redirected(offset0); -} -void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QRadioButton::resizeEvent(event0); -} -void PythonQtShell_QRadioButton::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QRadioButton::setVisible(visible0); -} -QPainter* PythonQtShell_QRadioButton::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QRadioButton::sharedPainter(); -} -void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QRadioButton::showEvent(event0); -} -QSize PythonQtShell_QRadioButton::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QRadioButton::sizeHint(); -} -void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14424,43 +15472,54 @@ if (_wrapper) { } } } - QRadioButton::tabletEvent(event0); + QSizeGrip::paintEvent(arg__1); } -void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) +QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::timerEvent(e0); + return QSizeGrip::redirected(offset0); } -void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14468,107 +15527,54 @@ if (_wrapper) { } } } - QRadioButton::wheelEvent(event0); -} -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); } - -const QMetaObject* PythonQtShell_QRadioButton::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioButton::staticMetaObject); - } else { - return &QRadioButton::staticMetaObject; - } -} -int PythonQtShell_QRadioButton::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRadioButton::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QRadioButton::initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const -{ - ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_initStyleOption(button)); -} - -QSize PythonQtWrapper_QRadioButton::minimumSizeHint(QRadioButton* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -QSize PythonQtWrapper_QRadioButton::sizeHint(QRadioButton* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - - - -PythonQtShell_QRasterWindow::~PythonQtShell_QRasterWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QSizeGrip::resizeEvent(event0); } -int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const +void PythonQtShell_QSizeGrip::setVisible(bool arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRasterWindow::metric(metric0); + QSizeGrip::setVisible(arg__1); } -QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const +QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14576,54 +15582,21 @@ if (_wrapper) { } } } - return QRasterWindow::redirected(arg__1); -} -QRasterWindow* PythonQtWrapper_QRasterWindow::new_QRasterWindow(QWindow* parent) -{ -return new PythonQtShell_QRasterWindow(parent); } - -const QMetaObject* PythonQtShell_QRasterWindow::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRasterWindow::staticMetaObject); - } else { - return &QRasterWindow::staticMetaObject; - } -} -int PythonQtShell_QRasterWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRasterWindow::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QRasterWindow::metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->promoted_metric(metric)); -} - -QPaintDevice* PythonQtWrapper_QRasterWindow::redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->promoted_redirected(arg__1)); -} - - - -PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QSizeGrip::sharedPainter(); } -void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const +void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14631,32 +15604,32 @@ if (_wrapper) { } } } - QRegExpValidator::fixup(arg__1); + QSizeGrip::showEvent(showEvent0); } -QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const +QSize PythonQtShell_QSizeGrip::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&input0, (void*)&pos1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14664,58 +15637,43 @@ if (_wrapper) { } } } - return QRegExpValidator::validate(input0, pos1); -} -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 QMetaObject* PythonQtShell_QRegExpValidator::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegExpValidator::staticMetaObject); - } else { - return &QRegExpValidator::staticMetaObject; - } -} -int PythonQtShell_QRegExpValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRegExpValidator::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const -{ - return &( theWrappedObject->regExp()); + return QSizeGrip::sizeHint(); } - -void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setRegExp(rx)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QSizeGrip::tabletEvent(event0); } -void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const +void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14723,85 +15681,50 @@ if (_wrapper) { } } } - QRegularExpressionValidator::fixup(arg__1); + QSizeGrip::timerEvent(event0); } -QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const +void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&input0, (void*)&pos1}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRegularExpressionValidator::validate(input0, pos1); + QSizeGrip::wheelEvent(event0); } -QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(QObject* parent) -{ -return new PythonQtShell_QRegularExpressionValidator(parent); } - -QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent) +QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) { -return new PythonQtShell_QRegularExpressionValidator(re, parent); } +return new PythonQtShell_QSizeGrip(parent); } -const QMetaObject* PythonQtShell_QRegularExpressionValidator::metaObject() const { +const QMetaObject* PythonQtShell_QSizeGrip::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegularExpressionValidator::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSizeGrip::staticMetaObject); } else { - return &QRegularExpressionValidator::staticMetaObject; + return &QSizeGrip::staticMetaObject; } } -int PythonQtShell_QRegularExpressionValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRegularExpressionValidator::qt_metacall(call, id, args); +int PythonQtShell_QSizeGrip::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSizeGrip::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QRegularExpression PythonQtWrapper_QRegularExpressionValidator::regularExpression(QRegularExpressionValidator* theWrappedObject) const -{ - return ( theWrappedObject->regularExpression()); -} - - - -PythonQtShell_QResizeEvent::~PythonQtShell_QResizeEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QResizeEvent* PythonQtWrapper_QResizeEvent::new_QResizeEvent(const QSize& size, const QSize& oldSize) -{ -return new PythonQtShell_QResizeEvent(size, oldSize); } - -const QSize* PythonQtWrapper_QResizeEvent::oldSize(QResizeEvent* theWrappedObject) const -{ - return &( theWrappedObject->oldSize()); -} - -const QSize* PythonQtWrapper_QResizeEvent::size(QResizeEvent* theWrappedObject) const +QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const { - return &( theWrappedObject->size()); + return ( theWrappedObject->sizeHint()); } diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.h new file mode 100644 index 00000000..0a8c5b48 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.h @@ -0,0 +1,1990 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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 = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(printer, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintPreviewWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintPreviewWidget : public QPrintPreviewWidget +{ public: +inline void py_q_setVisible(bool visible) { QPrintPreviewWidget::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintPreviewWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ViewMode ZoomMode ) +enum ViewMode{ + SinglePageView = QPrintPreviewWidget::SinglePageView, FacingPagesView = QPrintPreviewWidget::FacingPagesView, AllPagesView = QPrintPreviewWidget::AllPagesView}; +enum ZoomMode{ + CustomZoom = QPrintPreviewWidget::CustomZoom, FitToWidth = QPrintPreviewWidget::FitToWidth, FitInView = QPrintPreviewWidget::FitInView}; +public slots: +QPrintPreviewWidget* new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +QPrintPreviewWidget* new_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QPrintPreviewWidget(QPrintPreviewWidget* obj) { delete obj; } + int currentPage(QPrintPreviewWidget* theWrappedObject) const; + QPrinter::Orientation orientation(QPrintPreviewWidget* theWrappedObject) const; + int pageCount(QPrintPreviewWidget* theWrappedObject) const; + void py_q_setVisible(QPrintPreviewWidget* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewWidget*)theWrappedObject)->py_q_setVisible(visible));} + QPrintPreviewWidget::ViewMode viewMode(QPrintPreviewWidget* theWrappedObject) const; + qreal zoomFactor(QPrintPreviewWidget* theWrappedObject) const; + QPrintPreviewWidget::ZoomMode zoomMode(QPrintPreviewWidget* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPrinter : public QPrinter +{ +public: + PythonQtShell_QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(mode),_wrapper(nullptr) {}; + PythonQtShell_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(printer, mode),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrinter() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +bool newPage() override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +void setMargins(const QPagedPaintDevice::Margins& m) override; +void setPageSize(QPagedPaintDevice::PageSize arg__1) override; +void setPageSizeMM(const QSizeF& size) override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrinter : public QPrinter +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline void promoted_setEngines(QPrintEngine* printEngine, QPaintEngine* paintEngine) { this->setEngines(printEngine, paintEngine); } +inline int py_q_devType() const { return QPrinter::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPrinter::metric(arg__1); } +inline bool py_q_newPage() { return QPrinter::newPage(); } +inline QPaintEngine* py_q_paintEngine() const { return QPrinter::paintEngine(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPrinter::setMargins(m); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize arg__1) { QPrinter::setPageSize(arg__1); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPrinter::setPageSizeMM(size); } +}; + +class PythonQtWrapper_QPrinter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ColorMode DuplexMode Orientation OutputFormat PageOrder PaperSource PrintRange PrinterMode PrinterState Unit ) +enum ColorMode{ + GrayScale = QPrinter::GrayScale, Color = QPrinter::Color}; +enum DuplexMode{ + DuplexNone = QPrinter::DuplexNone, DuplexAuto = QPrinter::DuplexAuto, DuplexLongSide = QPrinter::DuplexLongSide, DuplexShortSide = QPrinter::DuplexShortSide}; +enum Orientation{ + Portrait = QPrinter::Portrait, Landscape = QPrinter::Landscape}; +enum OutputFormat{ + NativeFormat = QPrinter::NativeFormat, PdfFormat = QPrinter::PdfFormat}; +enum PageOrder{ + FirstPageFirst = QPrinter::FirstPageFirst, LastPageFirst = QPrinter::LastPageFirst}; +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, CustomSource = QPrinter::CustomSource, LastPaperSource = QPrinter::LastPaperSource, Upper = QPrinter::Upper}; +enum PrintRange{ + AllPages = QPrinter::AllPages, Selection = QPrinter::Selection, PageRange = QPrinter::PageRange, CurrentPage = QPrinter::CurrentPage}; +enum PrinterMode{ + ScreenResolution = QPrinter::ScreenResolution, PrinterResolution = QPrinter::PrinterResolution, HighResolution = QPrinter::HighResolution}; +enum PrinterState{ + Idle = QPrinter::Idle, Active = QPrinter::Active, Aborted = QPrinter::Aborted, Error = QPrinter::Error}; +enum Unit{ + Millimeter = QPrinter::Millimeter, Point = QPrinter::Point, Inch = QPrinter::Inch, Pica = QPrinter::Pica, Didot = QPrinter::Didot, Cicero = QPrinter::Cicero, DevicePixel = QPrinter::DevicePixel}; +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; } + bool abort(QPrinter* theWrappedObject); + int actualNumCopies(QPrinter* theWrappedObject) const; + bool collateCopies(QPrinter* theWrappedObject) const; + QPrinter::ColorMode colorMode(QPrinter* theWrappedObject) const; + int copyCount(QPrinter* theWrappedObject) const; + QString creator(QPrinter* theWrappedObject) const; + int py_q_devType(QPrinter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_devType());} + QString docName(QPrinter* theWrappedObject) const; + bool doubleSidedPrinting(QPrinter* theWrappedObject) const; + QPrinter::DuplexMode duplex(QPrinter* theWrappedObject) const; + bool fontEmbeddingEnabled(QPrinter* theWrappedObject) const; + int fromPage(QPrinter* theWrappedObject) const; + bool fullPage(QPrinter* theWrappedObject) const; + void getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const; + bool isValid(QPrinter* theWrappedObject) const; + int py_q_metric(QPrinter* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_metric(arg__1));} + bool py_q_newPage(QPrinter* theWrappedObject){ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_newPage());} + int numCopies(QPrinter* theWrappedObject) const; + QPrinter::Orientation orientation(QPrinter* theWrappedObject) const; + QString outputFileName(QPrinter* theWrappedObject) const; + QPrinter::OutputFormat outputFormat(QPrinter* theWrappedObject) const; + QPrinter::PageOrder pageOrder(QPrinter* theWrappedObject) const; + QRect pageRect(QPrinter* theWrappedObject) const; + QRectF pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; + QPagedPaintDevice::PageSize pageSize(QPrinter* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QPrinter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_paintEngine());} + QString paperName(QPrinter* theWrappedObject) const; + QRect paperRect(QPrinter* theWrappedObject) const; + QRectF paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; + QPagedPaintDevice::PageSize paperSize(QPrinter* theWrappedObject) const; + QSizeF paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const; + QPrinter::PaperSource paperSource(QPrinter* theWrappedObject) const; + QPagedPaintDevice::PdfVersion pdfVersion(QPrinter* theWrappedObject) const; + QPrintEngine* printEngine(QPrinter* theWrappedObject) const; + QString printProgram(QPrinter* theWrappedObject) const; + QPrinter::PrintRange printRange(QPrinter* theWrappedObject) const; + QString printerName(QPrinter* theWrappedObject) const; + QPrinter::PrinterState printerState(QPrinter* theWrappedObject) const; + int resolution(QPrinter* theWrappedObject) const; + void setCollateCopies(QPrinter* theWrappedObject, bool collate); + void setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1); + void setCopyCount(QPrinter* theWrappedObject, int arg__1); + void setCreator(QPrinter* theWrappedObject, const QString& arg__1); + void setDocName(QPrinter* theWrappedObject, const QString& arg__1); + void setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable); + void setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex); + void setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine); + void setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable); + void setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage); + void setFullPage(QPrinter* theWrappedObject, bool arg__1); + void py_q_setMargins(QPrinter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setMargins(m));} + void setNumCopies(QPrinter* theWrappedObject, int arg__1); + void setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1); + void setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1); + void setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format); + void setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit); + void setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1); + void py_q_setPageSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setPageSize(arg__1));} + void py_q_setPageSizeMM(QPrinter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setPageSizeMM(size));} + void setPaperName(QPrinter* theWrappedObject, const QString& paperName); + void setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1); + void setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit); + void setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1); + void setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version); + void setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1); + void setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range); + void setPrinterName(QPrinter* theWrappedObject, const QString& arg__1); + void setResolution(QPrinter* theWrappedObject, int arg__1); + void setWinPageSize(QPrinter* theWrappedObject, int winPageSize); + QList supportedResolutions(QPrinter* theWrappedObject) const; + bool supportsMultipleCopies(QPrinter* theWrappedObject) const; + int toPage(QPrinter* theWrappedObject) const; + int winPageSize(QPrinter* theWrappedObject) const; + bool __nonzero__(QPrinter* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QPrinterInfo : public QObject +{ Q_OBJECT +public: +public slots: +QPrinterInfo* new_QPrinterInfo(); +QPrinterInfo* new_QPrinterInfo(const QPrinter& printer); +QPrinterInfo* new_QPrinterInfo(const QPrinterInfo& other); +void delete_QPrinterInfo(QPrinterInfo* obj) { delete obj; } + QStringList static_QPrinterInfo_availablePrinterNames(); + QList static_QPrinterInfo_availablePrinters(); + QPrinter::ColorMode defaultColorMode(QPrinterInfo* theWrappedObject) const; + QPrinter::DuplexMode defaultDuplexMode(QPrinterInfo* theWrappedObject) const; + QPageSize defaultPageSize(QPrinterInfo* theWrappedObject) const; + QPrinterInfo static_QPrinterInfo_defaultPrinter(); + QString static_QPrinterInfo_defaultPrinterName(); + QString description(QPrinterInfo* theWrappedObject) const; + bool isDefault(QPrinterInfo* theWrappedObject) const; + bool isNull(QPrinterInfo* theWrappedObject) const; + bool isRemote(QPrinterInfo* theWrappedObject) const; + QString location(QPrinterInfo* theWrappedObject) const; + QString makeAndModel(QPrinterInfo* theWrappedObject) const; + QPageSize maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const; + QPageSize minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const; + QPrinterInfo static_QPrinterInfo_printerInfo(const QString& printerName); + QString printerName(QPrinterInfo* theWrappedObject) const; + QPrinter::PrinterState state(QPrinterInfo* theWrappedObject) const; + QList supportedColorModes(QPrinterInfo* theWrappedObject) const; + QList supportedDuplexModes(QPrinterInfo* theWrappedObject) const; + QList supportedPageSizes(QPrinterInfo* theWrappedObject) const; + QList supportedPaperSizes(QPrinterInfo* theWrappedObject) const; + QList supportedResolutions(QPrinterInfo* theWrappedObject) const; + QList > supportedSizesWithNames(QPrinterInfo* theWrappedObject) const; + bool supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const; + bool __nonzero__(QPrinterInfo* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QProgressBar : public QProgressBar +{ +public: + PythonQtShell_QProgressBar(QWidget* parent = nullptr):QProgressBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QProgressBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +QString text() const override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProgressBar : public QProgressBar +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initStyleOption(QStyleOptionProgressBar* option) const { this->initStyleOption(option); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QProgressBar::event(e); } +inline QSize py_q_minimumSizeHint() const { return QProgressBar::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QProgressBar::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QProgressBar::sizeHint(); } +inline QString py_q_text() const { return QProgressBar::text(); } +}; + +class PythonQtWrapper_QProgressBar : public QObject +{ Q_OBJECT +public: +public slots: +QProgressBar* new_QProgressBar(QWidget* parent = nullptr); +void delete_QProgressBar(QProgressBar* obj) { delete obj; } + Qt::Alignment alignment(QProgressBar* theWrappedObject) const; + bool py_q_event(QProgressBar* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_event(e));} + QString format(QProgressBar* theWrappedObject) const; + void initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const; + bool invertedAppearance(QProgressBar* theWrappedObject) const; + bool isTextVisible(QProgressBar* theWrappedObject) const; + int maximum(QProgressBar* theWrappedObject) const; + int minimum(QProgressBar* theWrappedObject) const; + QSize minimumSizeHint(QProgressBar* theWrappedObject) const; + QSize py_q_minimumSizeHint(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_minimumSizeHint());} + Qt::Orientation orientation(QProgressBar* theWrappedObject) const; + void py_q_paintEvent(QProgressBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + void resetFormat(QProgressBar* theWrappedObject); + void setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment); + void setFormat(QProgressBar* theWrappedObject, const QString& format); + void setInvertedAppearance(QProgressBar* theWrappedObject, bool invert); + void setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection); + void setTextVisible(QProgressBar* theWrappedObject, bool visible); + QSize sizeHint(QProgressBar* theWrappedObject) const; + QSize py_q_sizeHint(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_sizeHint());} + QString text(QProgressBar* theWrappedObject) const; + QString py_q_text(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_text());} + QProgressBar::Direction textDirection(QProgressBar* theWrappedObject) const; + int value(QProgressBar* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QProgressDialog : public QProgressDialog +{ +public: + PythonQtShell_QProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QProgressDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProgressDialog : public QProgressDialog +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline void promoted_forceShow() { this->forceShow(); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QProgressDialog::changeEvent(event); } +inline void py_q_closeEvent(QCloseEvent* event) { QProgressDialog::closeEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QProgressDialog::resizeEvent(event); } +inline void py_q_showEvent(QShowEvent* event) { QProgressDialog::showEvent(event); } +inline QSize py_q_sizeHint() const { return QProgressDialog::sizeHint(); } +}; + +class PythonQtWrapper_QProgressDialog : public QObject +{ Q_OBJECT +public: +public slots: +QProgressDialog* new_QProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +QProgressDialog* new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } + bool autoClose(QProgressDialog* theWrappedObject) const; + bool autoReset(QProgressDialog* theWrappedObject) const; + void py_q_changeEvent(QProgressDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_changeEvent(event));} + void py_q_closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_closeEvent(event));} + QString labelText(QProgressDialog* theWrappedObject) const; + int maximum(QProgressDialog* theWrappedObject) const; + int minimum(QProgressDialog* theWrappedObject) const; + int minimumDuration(QProgressDialog* theWrappedObject) const; + void open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member); + void py_q_resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_resizeEvent(event));} + void setAutoClose(QProgressDialog* theWrappedObject, bool close); + void setAutoReset(QProgressDialog* theWrappedObject, bool reset); + void setBar(QProgressDialog* theWrappedObject, QProgressBar* bar); + void setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button); + void setLabel(QProgressDialog* theWrappedObject, QLabel* label); + void py_q_showEvent(QProgressDialog* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_showEvent(event));} + QSize py_q_sizeHint(QProgressDialog* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_sizeHint());} + int value(QProgressDialog* theWrappedObject) const; + bool wasCanceled(QProgressDialog* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QProxyStyle : public QProxyStyle +{ +public: + PythonQtShell_QProxyStyle(QStyle* style = nullptr):QProxyStyle(style),_wrapper(nullptr) {}; + PythonQtShell_QProxyStyle(const QString& key):QProxyStyle(key),_wrapper(nullptr) {}; + + ~PythonQtShell_QProxyStyle() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const override; +void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const override; +void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const override; +void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const override; +void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const override; +QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const override; +QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const override; +QRect itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const override; +int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +void polish(QApplication* app) override; +void polish(QPalette& pal) override; +void polish(QWidget* widget) override; +QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const override; +QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const override; +QPalette standardPalette() const override; +QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const override; +int styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const override; +QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const override; +QRect subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const override; +void timerEvent(QTimerEvent* event) override; +void unpolish(QApplication* app) override; +void unpolish(QWidget* widget) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QProxyStyle : public QProxyStyle +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void py_q_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawComplexControl(control, option, painter, widget); } +inline void py_q_drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawControl(element, option, painter, widget); } +inline void py_q_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QProxyStyle::drawItemPixmap(painter, rect, alignment, pixmap); } +inline void py_q_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QProxyStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } +inline void py_q_drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawPrimitive(element, option, painter, widget); } +inline bool py_q_event(QEvent* e) { return QProxyStyle::event(e); } +inline QPixmap py_q_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QProxyStyle::generatedIconPixmap(iconMode, pixmap, opt); } +inline QStyle::SubControl py_q_hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const { return QProxyStyle::hitTestComplexControl(control, option, pos, widget); } +inline QRect py_q_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QProxyStyle::itemPixmapRect(r, flags, pixmap); } +inline QRect py_q_itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const { return QProxyStyle::itemTextRect(fm, r, flags, enabled, text); } +inline int py_q_layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::layoutSpacing(control1, control2, orientation, option, widget); } +inline int py_q_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::pixelMetric(metric, option, widget); } +inline void py_q_polish(QApplication* app) { QProxyStyle::polish(app); } +inline void py_q_polish(QPalette& pal) { QProxyStyle::polish(pal); } +inline void py_q_polish(QWidget* widget) { QProxyStyle::polish(widget); } +inline QSize py_q_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QProxyStyle::sizeFromContents(type, option, size, widget); } +inline QIcon py_q_standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::standardIcon(standardIcon, option, widget); } +inline QPalette py_q_standardPalette() const { return QProxyStyle::standardPalette(); } +inline QPixmap py_q_standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const { return QProxyStyle::standardPixmap(standardPixmap, opt, widget); } +inline int py_q_styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const { return QProxyStyle::styleHint(hint, option, widget, returnData); } +inline QRect py_q_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QProxyStyle::subControlRect(cc, opt, sc, widget); } +inline QRect py_q_subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const { return QProxyStyle::subElementRect(element, option, widget); } +inline void py_q_unpolish(QApplication* app) { QProxyStyle::unpolish(app); } +inline void py_q_unpolish(QWidget* widget) { QProxyStyle::unpolish(widget); } +}; + +class PythonQtWrapper_QProxyStyle : public QObject +{ Q_OBJECT +public: +public slots: +QProxyStyle* new_QProxyStyle(QStyle* style = nullptr); +QProxyStyle* new_QProxyStyle(const QString& key); +void delete_QProxyStyle(QProxyStyle* obj) { delete obj; } + QStyle* baseStyle(QProxyStyle* theWrappedObject) const; + void py_q_drawComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawComplexControl(control, option, painter, widget));} + void py_q_drawControl(QProxyStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawControl(element, option, painter, widget));} + void py_q_drawItemPixmap(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawItemPixmap(painter, rect, alignment, pixmap));} + void py_q_drawItemText(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawItemText(painter, rect, flags, pal, enabled, text, textRole));} + void py_q_drawPrimitive(QProxyStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawPrimitive(element, option, painter, widget));} + bool py_q_event(QProxyStyle* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_event(e));} + QPixmap py_q_generatedIconPixmap(QProxyStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_generatedIconPixmap(iconMode, pixmap, opt));} + QStyle::SubControl py_q_hitTestComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_hitTestComplexControl(control, option, pos, widget));} + QRect py_q_itemPixmapRect(QProxyStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_itemPixmapRect(r, flags, pixmap));} + QRect itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; + QRect py_q_itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_itemTextRect(fm, r, flags, enabled, text));} + int py_q_layoutSpacing(QProxyStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_layoutSpacing(control1, control2, orientation, option, widget));} + int py_q_pixelMetric(QProxyStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_pixelMetric(metric, option, widget));} + void py_q_polish(QProxyStyle* theWrappedObject, QApplication* app){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(app));} + void py_q_polish(QProxyStyle* theWrappedObject, QPalette& pal){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(pal));} + void py_q_polish(QProxyStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(widget));} + void setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style); + QSize py_q_sizeFromContents(QProxyStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_sizeFromContents(type, option, size, widget));} + QIcon py_q_standardIcon(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardIcon(standardIcon, option, widget));} + QPalette py_q_standardPalette(QProxyStyle* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardPalette());} + QPixmap py_q_standardPixmap(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardPixmap(standardPixmap, opt, widget));} + int py_q_styleHint(QProxyStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_styleHint(hint, option, widget, returnData));} + QRect py_q_subControlRect(QProxyStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_subControlRect(cc, opt, sc, widget));} + QRect py_q_subElementRect(QProxyStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_subElementRect(element, option, widget));} + void py_q_unpolish(QProxyStyle* theWrappedObject, QApplication* app){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_unpolish(app));} + void py_q_unpolish(QProxyStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_unpolish(widget));} +}; + + + + + +class PythonQtShell_QPushButton : public QPushButton +{ +public: + PythonQtShell_QPushButton(QWidget* parent = nullptr):QPushButton(parent),_wrapper(nullptr) {}; + PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr):QPushButton(icon, text, parent),_wrapper(nullptr) {}; + PythonQtShell_QPushButton(const QString& text, QWidget* parent = nullptr):QPushButton(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPushButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPushButton : public QPushButton +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } +inline void promoted_initStyleOption(QStyleOptionButton* option) const { this->initStyleOption(option); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QPushButton::event(e); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QPushButton::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QPushButton::focusOutEvent(arg__1); } +inline bool py_q_hitButton(const QPoint& pos) const { return QPushButton::hitButton(pos); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QPushButton::keyPressEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QPushButton::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QPushButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QPushButton::sizeHint(); } +}; + +class PythonQtWrapper_QPushButton : public QObject +{ Q_OBJECT +public: +public slots: +QPushButton* new_QPushButton(QWidget* parent = nullptr); +QPushButton* new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr); +QPushButton* new_QPushButton(const QString& text, QWidget* parent = nullptr); +void delete_QPushButton(QPushButton* obj) { delete obj; } + bool autoDefault(QPushButton* theWrappedObject) const; + bool py_q_event(QPushButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_event(e));} + void py_q_focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_focusInEvent(arg__1));} + void py_q_focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + bool py_q_hitButton(QPushButton* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_hitButton(pos));} + void initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const; + bool isDefault(QPushButton* theWrappedObject) const; + bool isFlat(QPushButton* theWrappedObject) const; + void py_q_keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + QMenu* menu(QPushButton* theWrappedObject) const; + QSize minimumSizeHint(QPushButton* theWrappedObject) const; + QSize py_q_minimumSizeHint(QPushButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_paintEvent(QPushButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_paintEvent(arg__1));} + void setAutoDefault(QPushButton* theWrappedObject, bool arg__1); + void setDefault(QPushButton* theWrappedObject, bool arg__1); + void setFlat(QPushButton* theWrappedObject, bool arg__1); + void setMenu(QPushButton* theWrappedObject, QMenu* menu); + QSize sizeHint(QPushButton* theWrappedObject) const; + QSize py_q_sizeHint(QPushButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtWrapper_QQuaternion : public QObject +{ Q_OBJECT +public: +public slots: +QQuaternion* new_QQuaternion(); +QQuaternion* new_QQuaternion(const QVector4D& vector); +QQuaternion* new_QQuaternion(float scalar, const QVector3D& vector); +QQuaternion* new_QQuaternion(float scalar, float xpos, float ypos, float zpos); +QQuaternion* new_QQuaternion(const QQuaternion& other) { +QQuaternion* a = new QQuaternion(); +*((QQuaternion*)a) = other; +return a; } +void delete_QQuaternion(QQuaternion* obj) { delete obj; } + QQuaternion conjugate(QQuaternion* theWrappedObject) const; + QQuaternion conjugated(QQuaternion* theWrappedObject) const; + float static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2); + QQuaternion static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis); + QQuaternion static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle); + QQuaternion static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle); + QQuaternion static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up); + QQuaternion static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles); + QQuaternion static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll); + void getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const; + void getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const; + void getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const; + void getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const; + QQuaternion inverted(QQuaternion* theWrappedObject) const; + bool isIdentity(QQuaternion* theWrappedObject) const; + bool isNull(QQuaternion* theWrappedObject) const; + float length(QQuaternion* theWrappedObject) const; + float lengthSquared(QQuaternion* theWrappedObject) const; + QQuaternion static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t); + void normalize(QQuaternion* theWrappedObject); + QQuaternion normalized(QQuaternion* theWrappedObject) const; + bool __ne__(QQuaternion* theWrappedObject, const QQuaternion& q2); + const QQuaternion __mul__(QQuaternion* theWrappedObject, const QQuaternion& q2); + QVector3D __mul__(QQuaternion* theWrappedObject, const QVector3D& vec); + const QQuaternion __mul__(QQuaternion* theWrappedObject, float factor); + QQuaternion* __imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); + QQuaternion* __imul__(QQuaternion* theWrappedObject, float factor); + const QQuaternion __add__(QQuaternion* theWrappedObject, const QQuaternion& q2); + QQuaternion* __iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); + const QQuaternion __sub__(QQuaternion* theWrappedObject, const QQuaternion& q2); + QQuaternion* __isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); + const QQuaternion __div__(QQuaternion* theWrappedObject, float divisor); + QQuaternion* __idiv__(QQuaternion* theWrappedObject, float divisor); + void writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1); + bool __eq__(QQuaternion* theWrappedObject, const QQuaternion& q2); + void readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1); + QVector3D rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const; + QQuaternion static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to); + float scalar(QQuaternion* theWrappedObject) const; + void setScalar(QQuaternion* theWrappedObject, float scalar); + void setVector(QQuaternion* theWrappedObject, const QVector3D& vector); + void setVector(QQuaternion* theWrappedObject, float x, float y, float z); + void setX(QQuaternion* theWrappedObject, float x); + void setY(QQuaternion* theWrappedObject, float y); + void setZ(QQuaternion* theWrappedObject, float z); + QQuaternion static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t); + QVector3D toEulerAngles(QQuaternion* theWrappedObject) const; + QVector4D toVector4D(QQuaternion* theWrappedObject) const; + QVector3D vector(QQuaternion* theWrappedObject) const; + float x(QQuaternion* theWrappedObject) const; + float y(QQuaternion* theWrappedObject) const; + float z(QQuaternion* theWrappedObject) const; + QString py_toString(QQuaternion*); + bool __nonzero__(QQuaternion* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QRadialGradient : public QObject +{ Q_OBJECT +public: +public slots: +QRadialGradient* new_QRadialGradient(); +QRadialGradient* new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius); +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 centerRadius, qreal fx, qreal fy, qreal focalRadius); +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; } + QPointF center(QRadialGradient* theWrappedObject) const; + qreal centerRadius(QRadialGradient* theWrappedObject) const; + QPointF focalPoint(QRadialGradient* theWrappedObject) const; + qreal focalRadius(QRadialGradient* theWrappedObject) const; + qreal radius(QRadialGradient* theWrappedObject) const; + void setCenter(QRadialGradient* theWrappedObject, const QPointF& center); + void setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setCenterRadius(QRadialGradient* theWrappedObject, qreal radius); + void setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint); + void setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setFocalRadius(QRadialGradient* theWrappedObject, qreal radius); + void setRadius(QRadialGradient* theWrappedObject, qreal radius); +}; + + + + + +class PythonQtShell_QRadioButton : public QRadioButton +{ +public: + PythonQtShell_QRadioButton(QWidget* parent = nullptr):QRadioButton(parent),_wrapper(nullptr) {}; + PythonQtShell_QRadioButton(const QString& text, QWidget* parent = nullptr):QRadioButton(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& arg__1) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRadioButton : public QRadioButton +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_hitButton(const QPoint& arg__1) const { return this->hitButton(arg__1); } +inline void promoted_initStyleOption(QStyleOptionButton* button) const { this->initStyleOption(button); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QRadioButton::event(e); } +inline bool py_q_hitButton(const QPoint& arg__1) const { return QRadioButton::hitButton(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QRadioButton::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QRadioButton::mouseMoveEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QRadioButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QRadioButton::sizeHint(); } +}; + +class PythonQtWrapper_QRadioButton : public QObject +{ Q_OBJECT +public: +public slots: +QRadioButton* new_QRadioButton(QWidget* parent = nullptr); +QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = nullptr); +void delete_QRadioButton(QRadioButton* obj) { delete obj; } + bool py_q_event(QRadioButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_event(e));} + bool py_q_hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_hitButton(arg__1));} + void initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const; + QSize minimumSizeHint(QRadioButton* theWrappedObject) const; + QSize py_q_minimumSizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_paintEvent(arg__1));} + QSize sizeHint(QRadioButton* theWrappedObject) const; + QSize py_q_sizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtShell_QRasterWindow : public QRasterWindow +{ +public: + PythonQtShell_QRasterWindow(QWindow* parent = nullptr):QRasterWindow(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRasterWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* arg__1) const override; +void resizeEvent(QResizeEvent* arg__1) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRasterWindow : public QRasterWindow +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintDevice* promoted_redirected(QPoint* arg__1) const { return this->redirected(arg__1); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QRasterWindow::metric(metric); } +inline QPaintDevice* py_q_redirected(QPoint* arg__1) const { return QRasterWindow::redirected(arg__1); } +}; + +class PythonQtWrapper_QRasterWindow : public QObject +{ Q_OBJECT +public: +public slots: +QRasterWindow* new_QRasterWindow(QWindow* parent = nullptr); +void delete_QRasterWindow(QRasterWindow* obj) { delete obj; } + int py_q_metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_metric(metric));} + QPaintDevice* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} +}; + + + + + +class PythonQtWrapper_QRawFont : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AntialiasingType LayoutFlag ) +Q_FLAGS(LayoutFlags ) +enum AntialiasingType{ + PixelAntialiasing = QRawFont::PixelAntialiasing, SubPixelAntialiasing = QRawFont::SubPixelAntialiasing}; +enum LayoutFlag{ + SeparateAdvances = QRawFont::SeparateAdvances, KernedAdvances = QRawFont::KernedAdvances, UseDesignMetrics = QRawFont::UseDesignMetrics}; +Q_DECLARE_FLAGS(LayoutFlags, LayoutFlag) +public slots: +QRawFont* new_QRawFont(); +QRawFont* new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); +QRawFont* new_QRawFont(const QRawFont& other); +QRawFont* new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); +void delete_QRawFont(QRawFont* obj) { delete obj; } + QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const; + QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const; + bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const; + bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const; + QImage alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType = QRawFont::SubPixelAntialiasing, const QTransform& transform = QTransform()) const; + qreal ascent(QRawFont* theWrappedObject) const; + qreal averageCharWidth(QRawFont* theWrappedObject) const; + QRectF boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const; + qreal capHeight(QRawFont* theWrappedObject) const; + qreal descent(QRawFont* theWrappedObject) const; + QString familyName(QRawFont* theWrappedObject) const; + QByteArray fontTable(QRawFont* theWrappedObject, const char* tagName) const; + QRawFont static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any); + bool glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const; + QVector glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const; + QFont::HintingPreference hintingPreference(QRawFont* theWrappedObject) const; + bool isValid(QRawFont* theWrappedObject) const; + qreal leading(QRawFont* theWrappedObject) const; + qreal lineThickness(QRawFont* theWrappedObject) const; + void loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference); + void loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference); + qreal maxCharWidth(QRawFont* theWrappedObject) const; + bool __ne__(QRawFont* theWrappedObject, const QRawFont& other) const; + QRawFont* operator_assign(QRawFont* theWrappedObject, const QRawFont& other); + bool __eq__(QRawFont* theWrappedObject, const QRawFont& other) const; + QPainterPath pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const; + qreal pixelSize(QRawFont* theWrappedObject) const; + void setPixelSize(QRawFont* theWrappedObject, qreal pixelSize); + QFont::Style style(QRawFont* theWrappedObject) const; + QString styleName(QRawFont* theWrappedObject) const; + QList supportedWritingSystems(QRawFont* theWrappedObject) const; + bool supportsCharacter(QRawFont* theWrappedObject, QChar character) const; + bool supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const; + void swap(QRawFont* theWrappedObject, QRawFont& other); + qreal underlinePosition(QRawFont* theWrappedObject) const; + qreal unitsPerEm(QRawFont* theWrappedObject) const; + int weight(QRawFont* theWrappedObject) const; + qreal xHeight(QRawFont* theWrappedObject) const; + bool __nonzero__(QRawFont* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QRegExpValidator : public QRegExpValidator +{ +public: + PythonQtShell_QRegExpValidator(QObject* parent = nullptr):QRegExpValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr):QRegExpValidator(rx, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRegExpValidator() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator +{ public: +inline QValidator::State py_q_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 = nullptr); +QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr); +void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } + const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; + void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); + QValidator::State py_q_validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegExpValidator*)theWrappedObject)->py_q_validate(input, pos));} +}; + + + + + +class PythonQtShell_QRegularExpressionValidator : public QRegularExpressionValidator +{ +public: + PythonQtShell_QRegularExpressionValidator(QObject* parent = nullptr):QRegularExpressionValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr):QRegularExpressionValidator(re, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRegularExpressionValidator() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRegularExpressionValidator : public QRegularExpressionValidator +{ public: +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegularExpressionValidator::validate(input, pos); } +}; + +class PythonQtWrapper_QRegularExpressionValidator : public QObject +{ Q_OBJECT +public: +public slots: +QRegularExpressionValidator* new_QRegularExpressionValidator(QObject* parent = nullptr); +QRegularExpressionValidator* new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr); +void delete_QRegularExpressionValidator(QRegularExpressionValidator* obj) { delete obj; } + QRegularExpression regularExpression(QRegularExpressionValidator* theWrappedObject) const; + QValidator::State py_q_validate(QRegularExpressionValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegularExpressionValidator*)theWrappedObject)->py_q_validate(input, pos));} +}; + + + + + +class PythonQtShell_QResizeEvent : public QResizeEvent +{ +public: + PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(nullptr) {}; + + ~PythonQtShell_QResizeEvent() override; + + + 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* oldSize(QResizeEvent* theWrappedObject) const; + const QSize* size(QResizeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QRgba64 : public QObject +{ Q_OBJECT +public: +public slots: +QRgba64* new_QRgba64(); +QRgba64* new_QRgba64(const QRgba64& other) { +QRgba64* a = new QRgba64(); +*((QRgba64*)a) = other; +return a; } +void delete_QRgba64(QRgba64* obj) { delete obj; } + unsigned short alpha(QRgba64* theWrappedObject) const; + unsigned char alpha8(QRgba64* theWrappedObject) const; + unsigned short blue(QRgba64* theWrappedObject) const; + unsigned char blue8(QRgba64* theWrappedObject) const; + QRgba64 static_QRgba64_fromArgb32(uint rgb); + QRgba64 static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha); + QRgba64 static_QRgba64_fromRgba64(quint64 c); + QRgba64 static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha); + unsigned short green(QRgba64* theWrappedObject) const; + unsigned char green8(QRgba64* theWrappedObject) const; + bool isOpaque(QRgba64* theWrappedObject) const; + bool isTransparent(QRgba64* theWrappedObject) const; + QRgba64 operator_assign(QRgba64* theWrappedObject, quint64 _rgba); + QRgba64 premultiplied(QRgba64* theWrappedObject) const; + unsigned short red(QRgba64* theWrappedObject) const; + unsigned char red8(QRgba64* theWrappedObject) const; + void setAlpha(QRgba64* theWrappedObject, unsigned short _alpha); + void setBlue(QRgba64* theWrappedObject, unsigned short _blue); + void setGreen(QRgba64* theWrappedObject, unsigned short _green); + void setRed(QRgba64* theWrappedObject, unsigned short _red); + uint toArgb32(QRgba64* theWrappedObject) const; + ushort toRgb16(QRgba64* theWrappedObject) const; + QRgba64 unpremultiplied(QRgba64* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QRubberBand : public QRubberBand +{ +public: + PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr):QRubberBand(arg__1, arg__2),_wrapper(nullptr) {}; + + ~PythonQtShell_QRubberBand() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRubberBand : public QRubberBand +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initStyleOption(QStyleOptionRubberBand* option) const { this->initStyleOption(option); } +inline void promoted_moveEvent(QMoveEvent* arg__1) { this->moveEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QRubberBand::changeEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QRubberBand::event(e); } +inline void py_q_moveEvent(QMoveEvent* arg__1) { QRubberBand::moveEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QRubberBand::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QRubberBand::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QRubberBand::showEvent(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 = nullptr); +void delete_QRubberBand(QRubberBand* obj) { delete obj; } + void py_q_changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_changeEvent(arg__1));} + bool py_q_event(QRubberBand* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_event(e));} + void initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const; + void move(QRubberBand* theWrappedObject, const QPoint& p); + void move(QRubberBand* theWrappedObject, int x, int y); + void py_q_moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_moveEvent(arg__1));} + void py_q_paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_paintEvent(arg__1));} + void resize(QRubberBand* theWrappedObject, const QSize& s); + void resize(QRubberBand* theWrappedObject, int w, int h); + void py_q_resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setGeometry(QRubberBand* theWrappedObject, const QRect& r); + void setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h); + QRubberBand::Shape shape(QRubberBand* theWrappedObject) const; + void py_q_showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_showEvent(arg__1));} +}; + + + + + +class PythonQtWrapper_QScreen : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QScreen(QScreen* obj) { delete obj; } + int angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const; + QRect availableGeometry(QScreen* theWrappedObject) const; + QSize availableSize(QScreen* theWrappedObject) const; + QRect availableVirtualGeometry(QScreen* theWrappedObject) const; + QSize availableVirtualSize(QScreen* theWrappedObject) const; + int depth(QScreen* theWrappedObject) const; + qreal devicePixelRatio(QScreen* theWrappedObject) const; + QRect geometry(QScreen* theWrappedObject) const; + QPixmap grabWindow(QScreen* theWrappedObject, WId window, int x = 0, int y = 0, int w = -1, int h = -1); + bool isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; + bool isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; + qreal logicalDotsPerInch(QScreen* theWrappedObject) const; + qreal logicalDotsPerInchX(QScreen* theWrappedObject) const; + qreal logicalDotsPerInchY(QScreen* theWrappedObject) const; + QString manufacturer(QScreen* theWrappedObject) const; + QRect mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const; + QString model(QScreen* theWrappedObject) const; + QString name(QScreen* theWrappedObject) const; + Qt::ScreenOrientation nativeOrientation(QScreen* theWrappedObject) const; + Qt::ScreenOrientation orientation(QScreen* theWrappedObject) const; + Qt::ScreenOrientations orientationUpdateMask(QScreen* theWrappedObject) const; + qreal physicalDotsPerInch(QScreen* theWrappedObject) const; + qreal physicalDotsPerInchX(QScreen* theWrappedObject) const; + qreal physicalDotsPerInchY(QScreen* theWrappedObject) const; + QSizeF physicalSize(QScreen* theWrappedObject) const; + Qt::ScreenOrientation primaryOrientation(QScreen* theWrappedObject) const; + qreal refreshRate(QScreen* theWrappedObject) const; + QString serialNumber(QScreen* theWrappedObject) const; + void setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask); + QSize size(QScreen* theWrappedObject) const; + QTransform transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const; + QRect virtualGeometry(QScreen* theWrappedObject) const; + QScreen* virtualSiblingAt(QScreen* theWrappedObject, QPoint point); + QList virtualSiblings(QScreen* theWrappedObject) const; + QSize virtualSize(QScreen* theWrappedObject) const; + QString py_toString(QScreen*); +}; + + + + + +class PythonQtWrapper_QScreenOrientationChangeEvent : public QObject +{ Q_OBJECT +public: +public slots: +QScreenOrientationChangeEvent* new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation); +void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } + Qt::ScreenOrientation orientation(QScreenOrientationChangeEvent* theWrappedObject) const; + QScreen* screen(QScreenOrientationChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollArea : public QScrollArea +{ +public: + PythonQtShell_QScrollArea(QWidget* parent = nullptr):QScrollArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QScrollArea : public QScrollArea +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline bool py_q_event(QEvent* arg__1) { return QScrollArea::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); } +inline bool py_q_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); } +inline void py_q_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); } +inline QSize py_q_sizeHint() const { return QScrollArea::sizeHint(); } +inline QSize py_q_viewportSizeHint() const { return QScrollArea::viewportSizeHint(); } +}; + +class PythonQtWrapper_QScrollArea : public QObject +{ Q_OBJECT +public: +public slots: +QScrollArea* new_QScrollArea(QWidget* parent = nullptr); +void delete_QScrollArea(QScrollArea* obj) { delete obj; } + Qt::Alignment alignment(QScrollArea* theWrappedObject) const; + void ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin = 50, int ymargin = 50); + void ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin = 50, int ymargin = 50); + bool py_q_event(QScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + bool py_q_focusNextPrevChild(QScrollArea* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void py_q_scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1); + void setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable); + QSize py_q_sizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_sizeHint());} + QWidget* takeWidget(QScrollArea* theWrappedObject); + QSize py_q_viewportSizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_viewportSizeHint());} + QWidget* widget(QScrollArea* theWrappedObject) const; + bool widgetResizable(QScrollArea* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollBar : public QScrollBar +{ +public: + PythonQtShell_QScrollBar(QWidget* parent = nullptr):QScrollBar(parent),_wrapper(nullptr) {}; + PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr):QScrollBar(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QScrollBar : public QScrollBar +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionSlider* option) const { this->initStyleOption(option); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_sliderChange(int change) { this->sliderChange((QAbstractSlider::SliderChange)change); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QScrollBar::contextMenuEvent(arg__1); } +inline bool py_q_event(QEvent* event) { return QScrollBar::event(event); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QScrollBar::hideEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QScrollBar::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QScrollBar::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QScrollBar::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QScrollBar::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QScrollBar::sizeHint(); } +inline void py_q_sliderChange(int change) { QScrollBar::sliderChange((QAbstractSlider::SliderChange)change); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QScrollBar::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QScrollBar : public QObject +{ Q_OBJECT +public: +public slots: +QScrollBar* new_QScrollBar(QWidget* parent = nullptr); +QScrollBar* new_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr); +void delete_QScrollBar(QScrollBar* obj) { delete obj; } + void py_q_contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} + bool py_q_event(QScrollBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_event(event));} + void py_q_hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_hideEvent(arg__1));} + void initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const; + void py_q_mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + QSize sizeHint(QScrollBar* theWrappedObject) const; + QSize py_q_sizeHint(QScrollBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sizeHint());} + void py_q_sliderChange(QScrollBar* theWrappedObject, int change){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sliderChange(change));} + void py_q_wheelEvent(QScrollBar* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_wheelEvent(arg__1));} +}; + + + + + +class PythonQtWrapper_QScrollEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ScrollState ) +enum ScrollState{ + ScrollStarted = QScrollEvent::ScrollStarted, ScrollUpdated = QScrollEvent::ScrollUpdated, ScrollFinished = QScrollEvent::ScrollFinished}; +public slots: +QScrollEvent* new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState); +void delete_QScrollEvent(QScrollEvent* obj) { delete obj; } + QPointF contentPos(QScrollEvent* theWrappedObject) const; + QPointF overshootDistance(QScrollEvent* theWrappedObject) const; + QScrollEvent::ScrollState scrollState(QScrollEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QScrollPrepareEvent : public QObject +{ Q_OBJECT +public: +public slots: +QScrollPrepareEvent* new_QScrollPrepareEvent(const QPointF& startPos); +void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } + QPointF contentPos(QScrollPrepareEvent* theWrappedObject) const; + QRectF contentPosRange(QScrollPrepareEvent* theWrappedObject) const; + void setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos); + void setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect); + void setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size); + QPointF startPos(QScrollPrepareEvent* theWrappedObject) const; + QSizeF viewportSize(QScrollPrepareEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QScroller : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Input ScrollerGestureType ) +enum Input{ + InputPress = QScroller::InputPress, InputMove = QScroller::InputMove, InputRelease = QScroller::InputRelease}; +enum ScrollerGestureType{ + TouchGesture = QScroller::TouchGesture, LeftMouseButtonGesture = QScroller::LeftMouseButtonGesture, RightMouseButtonGesture = QScroller::RightMouseButtonGesture, MiddleMouseButtonGesture = QScroller::MiddleMouseButtonGesture}; +public slots: + QList static_QScroller_activeScrollers(); + QPointF finalPosition(QScroller* theWrappedObject) const; + Qt::GestureType static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType = QScroller::TouchGesture); + Qt::GestureType static_QScroller_grabbedGesture(QObject* target); + bool handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp = 0); + bool static_QScroller_hasScroller(QObject* target); + QPointF pixelPerMeter(QScroller* theWrappedObject) const; + QScroller* static_QScroller_scroller(QObject* target); + const QScroller* static_QScroller_scroller(const QObject* target); + QScrollerProperties scrollerProperties(QScroller* theWrappedObject) const; + void setSnapPositionsX(QScroller* theWrappedObject, const QList& positions); + void setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval); + void setSnapPositionsY(QScroller* theWrappedObject, const QList& positions); + void setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval); + QScroller::State state(QScroller* theWrappedObject) const; + void stop(QScroller* theWrappedObject); + QObject* target(QScroller* theWrappedObject) const; + void static_QScroller_ungrabGesture(QObject* target); + QPointF velocity(QScroller* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollerProperties : public QScrollerProperties +{ +public: + PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(nullptr) {}; + PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollerProperties() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QScrollerProperties : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FrameRates OvershootPolicy ScrollMetric ) +enum FrameRates{ + Standard = QScrollerProperties::Standard, Fps60 = QScrollerProperties::Fps60, Fps30 = QScrollerProperties::Fps30, Fps20 = QScrollerProperties::Fps20}; +enum OvershootPolicy{ + OvershootWhenScrollable = QScrollerProperties::OvershootWhenScrollable, OvershootAlwaysOff = QScrollerProperties::OvershootAlwaysOff, OvershootAlwaysOn = QScrollerProperties::OvershootAlwaysOn}; +enum ScrollMetric{ + MousePressEventDelay = QScrollerProperties::MousePressEventDelay, DragStartDistance = QScrollerProperties::DragStartDistance, DragVelocitySmoothingFactor = QScrollerProperties::DragVelocitySmoothingFactor, AxisLockThreshold = QScrollerProperties::AxisLockThreshold, ScrollingCurve = QScrollerProperties::ScrollingCurve, DecelerationFactor = QScrollerProperties::DecelerationFactor, MinimumVelocity = QScrollerProperties::MinimumVelocity, MaximumVelocity = QScrollerProperties::MaximumVelocity, MaximumClickThroughVelocity = QScrollerProperties::MaximumClickThroughVelocity, AcceleratingFlickMaximumTime = QScrollerProperties::AcceleratingFlickMaximumTime, AcceleratingFlickSpeedupFactor = QScrollerProperties::AcceleratingFlickSpeedupFactor, SnapPositionRatio = QScrollerProperties::SnapPositionRatio, SnapTime = QScrollerProperties::SnapTime, OvershootDragResistanceFactor = QScrollerProperties::OvershootDragResistanceFactor, OvershootDragDistanceFactor = QScrollerProperties::OvershootDragDistanceFactor, OvershootScrollDistanceFactor = QScrollerProperties::OvershootScrollDistanceFactor, OvershootScrollTime = QScrollerProperties::OvershootScrollTime, HorizontalOvershootPolicy = QScrollerProperties::HorizontalOvershootPolicy, VerticalOvershootPolicy = QScrollerProperties::VerticalOvershootPolicy, FrameRate = QScrollerProperties::FrameRate, ScrollMetricCount = QScrollerProperties::ScrollMetricCount}; +public slots: +QScrollerProperties* new_QScrollerProperties(); +QScrollerProperties* new_QScrollerProperties(const QScrollerProperties& sp); +void delete_QScrollerProperties(QScrollerProperties* obj) { delete obj; } + bool __ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; + QScrollerProperties* operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp); + bool __eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; + QVariant scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const; + void static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp); + void setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value); + void static_QScrollerProperties_unsetDefaultScrollerProperties(); +}; + + + + + +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: + bool allowsErrorInteraction(QSessionManager* theWrappedObject); + bool allowsInteraction(QSessionManager* theWrappedObject); + void cancel(QSessionManager* theWrappedObject); + QStringList discardCommand(QSessionManager* theWrappedObject) const; + bool isPhase2(QSessionManager* theWrappedObject) const; + void release(QSessionManager* theWrappedObject); + void requestPhase2(QSessionManager* theWrappedObject); + QStringList restartCommand(QSessionManager* theWrappedObject) const; + QSessionManager::RestartHint restartHint(QSessionManager* theWrappedObject) const; + QString sessionId(QSessionManager* theWrappedObject) const; + QString sessionKey(QSessionManager* theWrappedObject) const; + void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); + void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value); + void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value); + void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); + void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1); +}; + + + + + +class PythonQtShell_QShortcut : public QShortcut +{ +public: + PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(nullptr) {}; + PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext shortcutContext = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, shortcutContext),_wrapper(nullptr) {}; + + ~PythonQtShell_QShortcut() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QShortcut : public QShortcut +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool py_q_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 = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext shortcutContext = Qt::WindowShortcut); +void delete_QShortcut(QShortcut* obj) { delete obj; } + bool autoRepeat(QShortcut* theWrappedObject) const; + Qt::ShortcutContext context(QShortcut* theWrappedObject) const; + bool py_q_event(QShortcut* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->py_q_event(e));} + int id(QShortcut* theWrappedObject) const; + bool isEnabled(QShortcut* theWrappedObject) const; + QKeySequence key(QShortcut* theWrappedObject) const; + QWidget* parentWidget(QShortcut* theWrappedObject) const; + void setAutoRepeat(QShortcut* theWrappedObject, bool on); + void setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context); + void setEnabled(QShortcut* theWrappedObject, bool enable); + void setKey(QShortcut* theWrappedObject, const QKeySequence& key); + void setWhatsThis(QShortcut* theWrappedObject, const QString& text); + QString whatsThis(QShortcut* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QShortcutEvent : public QShortcutEvent +{ +public: + PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(nullptr) {}; + + ~PythonQtShell_QShortcutEvent() override; + + + 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; +}; + + + + + +class PythonQtWrapper_QShowEvent : public QObject +{ Q_OBJECT +public: +public slots: +QShowEvent* new_QShowEvent(); +void delete_QShowEvent(QShowEvent* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QSizeGrip : public QSizeGrip +{ +public: + PythonQtShell_QSizeGrip(QWidget* parent):QSizeGrip(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSizeGrip() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* hideEvent) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* mouseEvent) override; +void moveEvent(QMoveEvent* moveEvent) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool arg__1) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSizeGrip : public QSizeGrip +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } +inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline bool py_q_event(QEvent* arg__1) { return QSizeGrip::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QSizeGrip::eventFilter(arg__1, arg__2); } +inline void py_q_hideEvent(QHideEvent* hideEvent) { QSizeGrip::hideEvent(hideEvent); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QSizeGrip::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QSizeGrip::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QSizeGrip::mouseReleaseEvent(mouseEvent); } +inline void py_q_moveEvent(QMoveEvent* moveEvent) { QSizeGrip::moveEvent(moveEvent); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QSizeGrip::paintEvent(arg__1); } +inline void py_q_setVisible(bool arg__1) { QSizeGrip::setVisible(arg__1); } +inline void py_q_showEvent(QShowEvent* showEvent) { QSizeGrip::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QSizeGrip::sizeHint(); } +}; + +class PythonQtWrapper_QSizeGrip : public QObject +{ Q_OBJECT +public: +public slots: +QSizeGrip* new_QSizeGrip(QWidget* parent); +void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } + bool py_q_event(QSizeGrip* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + void py_q_hideEvent(QSizeGrip* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_hideEvent(hideEvent));} + void py_q_mouseMoveEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QSizeGrip* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} + void py_q_moveEvent(QSizeGrip* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_moveEvent(moveEvent));} + void py_q_paintEvent(QSizeGrip* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_paintEvent(arg__1));} + void py_q_setVisible(QSizeGrip* theWrappedObject, bool arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_setVisible(arg__1));} + void py_q_showEvent(QSizeGrip* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize sizeHint(QSizeGrip* theWrappedObject) const; + QSize py_q_sizeHint(QSizeGrip* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_sizeHint());} +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp similarity index 70% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index 8c54e3ec..d7235da0 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -1,4 +1,4 @@ -#include "com_trolltech_qt_gui7.h" +#include "com_trolltech_qt_gui8.h" #include #include #include @@ -11,164 +11,62 @@ #include #include #include +#include +#include +#include #include +#include #include #include +#include #include +#include #include #include +#include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include -#include -#include #include -#include -#include +#include +#include #include #include +#include #include +#include +#include +#include #include #include -unsigned short PythonQtWrapper_QRgba64::alpha(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->alpha()); -} - -unsigned char PythonQtWrapper_QRgba64::alpha8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->alpha8()); -} - -unsigned short PythonQtWrapper_QRgba64::blue(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->blue()); -} - -unsigned char PythonQtWrapper_QRgba64::blue8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->blue8()); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromArgb32(uint rgb) -{ - return (QRgba64::fromArgb32(rgb)); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) -{ - return (QRgba64::fromRgba(red, green, blue, alpha)); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(quint64 c) -{ - return (QRgba64::fromRgba64(c)); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha) -{ - return (QRgba64::fromRgba64(red, green, blue, alpha)); -} - -unsigned short PythonQtWrapper_QRgba64::green(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->green()); -} - -unsigned char PythonQtWrapper_QRgba64::green8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->green8()); -} - -bool PythonQtWrapper_QRgba64::isOpaque(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->isOpaque()); -} - -bool PythonQtWrapper_QRgba64::isTransparent(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->isTransparent()); -} - -QRgba64 PythonQtWrapper_QRgba64::operator_assign(QRgba64* theWrappedObject, quint64 _rgba) -{ - return ( (*theWrappedObject)= _rgba); -} - -QRgba64 PythonQtWrapper_QRgba64::premultiplied(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->premultiplied()); -} - -unsigned short PythonQtWrapper_QRgba64::red(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->red()); -} - -unsigned char PythonQtWrapper_QRgba64::red8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->red8()); -} - -void PythonQtWrapper_QRgba64::setAlpha(QRgba64* theWrappedObject, unsigned short _alpha) -{ - ( theWrappedObject->setAlpha(_alpha)); -} - -void PythonQtWrapper_QRgba64::setBlue(QRgba64* theWrappedObject, unsigned short _blue) -{ - ( theWrappedObject->setBlue(_blue)); -} - -void PythonQtWrapper_QRgba64::setGreen(QRgba64* theWrappedObject, unsigned short _green) -{ - ( theWrappedObject->setGreen(_green)); -} - -void PythonQtWrapper_QRgba64::setRed(QRgba64* theWrappedObject, unsigned short _red) -{ - ( theWrappedObject->setRed(_red)); -} - -uint PythonQtWrapper_QRgba64::toArgb32(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->toArgb32()); -} - -ushort PythonQtWrapper_QRgba64::toRgb16(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->toRgb16()); -} - -QRgba64 PythonQtWrapper_QRgba64::unpremultiplied(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->unpremultiplied()); -} - - - -PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { +PythonQtShell_QSlider::~PythonQtShell_QSlider() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) +void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -178,9 +76,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -188,9 +86,9 @@ if (_wrapper) { } } } - QRubberBand::actionEvent(event0); + QSlider::actionEvent(event0); } -void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) +void PythonQtShell_QSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -200,9 +98,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::changeEvent(e0); +} +void PythonQtShell_QSlider::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -210,9 +130,9 @@ if (_wrapper) { } } } - QRubberBand::changeEvent(arg__1); + QSlider::childEvent(event0); } -void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -222,9 +142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -232,9 +152,9 @@ if (_wrapper) { } } } - QRubberBand::closeEvent(event0); + QSlider::closeEvent(event0); } -void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -244,9 +164,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSlider::contextMenuEvent(event0); +} +void PythonQtShell_QSlider::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -254,9 +196,9 @@ if (_wrapper) { } } } - QRubberBand::contextMenuEvent(event0); + QSlider::customEvent(event0); } -int PythonQtShell_QRubberBand::devType() const +int PythonQtShell_QSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -267,19 +209,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -287,9 +229,9 @@ if (_wrapper) { } } } - return QRubberBand::devType(); + return QSlider::devType(); } -void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -299,9 +241,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -309,9 +251,9 @@ if (_wrapper) { } } } - QRubberBand::dragEnterEvent(event0); + QSlider::dragEnterEvent(event0); } -void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -321,9 +263,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -331,9 +273,9 @@ if (_wrapper) { } } } - QRubberBand::dragLeaveEvent(event0); + QSlider::dragLeaveEvent(event0); } -void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -343,9 +285,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -353,9 +295,9 @@ if (_wrapper) { } } } - QRubberBand::dragMoveEvent(event0); + QSlider::dragMoveEvent(event0); } -void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) +void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -365,9 +307,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -375,9 +317,9 @@ if (_wrapper) { } } } - QRubberBand::dropEvent(event0); + QSlider::dropEvent(event0); } -void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) +void PythonQtShell_QSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -387,9 +329,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -397,9 +339,9 @@ if (_wrapper) { } } } - QRubberBand::enterEvent(event0); + QSlider::enterEvent(event0); } -bool PythonQtShell_QRubberBand::event(QEvent* e0) +bool PythonQtShell_QSlider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -410,19 +352,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -430,9 +372,42 @@ if (_wrapper) { } } } - return QRubberBand::event(e0); + return QSlider::event(event0); +} +bool PythonQtShell_QSlider::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSlider::eventFilter(watched0, event1); } -void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -442,9 +417,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -452,9 +427,9 @@ if (_wrapper) { } } } - QRubberBand::focusInEvent(event0); + QSlider::focusInEvent(event0); } -bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) +bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -465,19 +440,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -485,9 +460,9 @@ if (_wrapper) { } } } - return QRubberBand::focusNextPrevChild(next0); + return QSlider::focusNextPrevChild(next0); } -void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -497,9 +472,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -507,9 +482,9 @@ if (_wrapper) { } } } - QRubberBand::focusOutEvent(event0); + QSlider::focusOutEvent(event0); } -bool PythonQtShell_QRubberBand::hasHeightForWidth() const +bool PythonQtShell_QSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -520,19 +495,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -540,9 +515,9 @@ if (_wrapper) { } } } - return QRubberBand::hasHeightForWidth(); + return QSlider::hasHeightForWidth(); } -int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const +int PythonQtShell_QSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -553,19 +528,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -573,9 +548,9 @@ if (_wrapper) { } } } - return QRubberBand::heightForWidth(arg__1); + return QSlider::heightForWidth(arg__1); } -void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) +void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -585,9 +560,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -595,9 +570,9 @@ if (_wrapper) { } } } - QRubberBand::hideEvent(event0); + QSlider::hideEvent(event0); } -void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const +void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -607,9 +582,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -617,9 +592,9 @@ if (_wrapper) { } } } - QRubberBand::initPainter(painter0); + QSlider::initPainter(painter0); } -void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -629,9 +604,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -639,9 +614,9 @@ if (_wrapper) { } } } - QRubberBand::inputMethodEvent(arg__1); + QSlider::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -652,19 +627,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -672,9 +647,9 @@ if (_wrapper) { } } } - return QRubberBand::inputMethodQuery(arg__1); + return QSlider::inputMethodQuery(arg__1); } -void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -684,9 +659,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -694,9 +669,9 @@ if (_wrapper) { } } } - QRubberBand::keyPressEvent(event0); + QSlider::keyPressEvent(ev0); } -void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -706,9 +681,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -716,9 +691,9 @@ if (_wrapper) { } } } - QRubberBand::keyReleaseEvent(event0); + QSlider::keyReleaseEvent(event0); } -void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) +void PythonQtShell_QSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -728,9 +703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -738,9 +713,9 @@ if (_wrapper) { } } } - QRubberBand::leaveEvent(event0); + QSlider::leaveEvent(event0); } -int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -751,19 +726,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -771,32 +746,32 @@ if (_wrapper) { } } } - return QRubberBand::metric(arg__1); + return QSlider::metric(arg__1); } -QSize PythonQtShell_QRubberBand::minimumSizeHint() const +QSize PythonQtShell_QSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -804,9 +779,9 @@ if (_wrapper) { } } } - return QRubberBand::minimumSizeHint(); + return QSlider::minimumSizeHint(); } -void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -816,9 +791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -826,9 +801,9 @@ if (_wrapper) { } } } - QRubberBand::mouseDoubleClickEvent(event0); + QSlider::mouseDoubleClickEvent(event0); } -void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -838,9 +813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -848,9 +823,9 @@ if (_wrapper) { } } } - QRubberBand::mouseMoveEvent(event0); + QSlider::mouseMoveEvent(ev0); } -void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -860,9 +835,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -870,9 +845,9 @@ if (_wrapper) { } } } - QRubberBand::mousePressEvent(event0); + QSlider::mousePressEvent(ev0); } -void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -882,9 +857,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -892,9 +867,9 @@ if (_wrapper) { } } } - QRubberBand::mouseReleaseEvent(event0); + QSlider::mouseReleaseEvent(ev0); } -void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) +void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -904,9 +879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -914,9 +889,9 @@ if (_wrapper) { } } } - QRubberBand::moveEvent(arg__1); + QSlider::moveEvent(event0); } -bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -927,19 +902,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -947,9 +922,9 @@ if (_wrapper) { } } } - return QRubberBand::nativeEvent(eventType0, message1, result2); + return QSlider::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const +QPaintEngine* PythonQtShell_QSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -960,19 +935,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -980,9 +955,9 @@ if (_wrapper) { } } } - return QRubberBand::paintEngine(); + return QSlider::paintEngine(); } -void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -992,9 +967,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1002,9 +977,9 @@ if (_wrapper) { } } } - QRubberBand::paintEvent(arg__1); + QSlider::paintEvent(ev0); } -QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1015,19 +990,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1035,9 +1010,9 @@ if (_wrapper) { } } } - return QRubberBand::redirected(offset0); + return QSlider::redirected(offset0); } -void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1047,9 +1022,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1057,9 +1032,9 @@ if (_wrapper) { } } } - QRubberBand::resizeEvent(arg__1); + QSlider::resizeEvent(event0); } -void PythonQtShell_QRubberBand::setVisible(bool visible0) +void PythonQtShell_QSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1069,9 +1044,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1079,9 +1054,9 @@ if (_wrapper) { } } } - QRubberBand::setVisible(visible0); + QSlider::setVisible(visible0); } -QPainter* PythonQtShell_QRubberBand::sharedPainter() const +QPainter* PythonQtShell_QSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1092,19 +1067,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1112,9 +1087,9 @@ if (_wrapper) { } } } - return QRubberBand::sharedPainter(); + return QSlider::sharedPainter(); } -void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) +void PythonQtShell_QSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1124,9 +1099,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1134,32 +1109,32 @@ if (_wrapper) { } } } - QRubberBand::showEvent(arg__1); + QSlider::showEvent(event0); } -QSize PythonQtShell_QRubberBand::sizeHint() const +QSize PythonQtShell_QSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1167,21 +1142,21 @@ if (_wrapper) { } } } - return QRubberBand::sizeHint(); + return QSlider::sizeHint(); } -void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1189,21 +1164,21 @@ if (_wrapper) { } } } - QRubberBand::tabletEvent(event0); + QSlider::sliderChange(change0); } -void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1211,157 +1186,226 @@ if (_wrapper) { } } } - QRubberBand::wheelEvent(event0); + QSlider::tabletEvent(event0); } -QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) -{ -return new PythonQtShell_QRubberBand(arg__1, arg__2); } - -const QMetaObject* PythonQtShell_QRubberBand::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRubberBand::staticMetaObject); - } else { - return &QRubberBand::staticMetaObject; +void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QRubberBand::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRubberBand::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + QSlider::timerEvent(arg__1); } -void PythonQtWrapper_QRubberBand::initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const +void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { - ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_initStyleOption(option)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->move(p)); + QSlider::wheelEvent(e0); } +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_QRubberBand::move(QRubberBand* theWrappedObject, int x, int y) +const QMetaObject* PythonQtShell_QSlider::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSlider::staticMetaObject); + } else { + return &QSlider::staticMetaObject; + } +} +int PythonQtShell_QSlider::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSlider::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QSlider::initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const { - ( theWrappedObject->move(x, y)); + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, const QSize& s) +QSize PythonQtWrapper_QSlider::minimumSizeHint(QSlider* theWrappedObject) const { - ( theWrappedObject->resize(s)); + return ( theWrappedObject->minimumSizeHint()); } -void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, int w, int h) +void PythonQtWrapper_QSlider::setTickInterval(QSlider* theWrappedObject, int ti) { - ( theWrappedObject->resize(w, h)); + ( theWrappedObject->setTickInterval(ti)); } -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, const QRect& r) +void PythonQtWrapper_QSlider::setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position) { - ( theWrappedObject->setGeometry(r)); + ( theWrappedObject->setTickPosition(position)); } -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h) +QSize PythonQtWrapper_QSlider::sizeHint(QSlider* theWrappedObject) const { - ( theWrappedObject->setGeometry(x, y, w, h)); + return ( theWrappedObject->sizeHint()); } -QRubberBand::Shape PythonQtWrapper_QRubberBand::shape(QRubberBand* theWrappedObject) const +int PythonQtWrapper_QSlider::tickInterval(QSlider* theWrappedObject) const { - return ( theWrappedObject->shape()); + return ( theWrappedObject->tickInterval()); } - - -Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) const +QSlider::TickPosition PythonQtWrapper_QSlider::tickPosition(QSlider* theWrappedObject) const { - return ( theWrappedObject->orientation()); + return ( theWrappedObject->tickPosition()); } -PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { +PythonQtShell_QSortFilterProxyModel::~PythonQtShell_QSortFilterProxyModel() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) +QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::actionEvent(event0); + return QSortFilterProxyModel::buddy(index0); } -void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) +bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::changeEvent(arg__1); + return QSortFilterProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::closeEvent(event0); + return QSortFilterProxyModel::canFetchMore(parent0); } -void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1369,32 +1413,32 @@ if (_wrapper) { } } } - QScrollArea::contextMenuEvent(arg__1); + QSortFilterProxyModel::childEvent(event0); } -int PythonQtShell_QScrollArea::devType() const +int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1402,65 +1446,21 @@ if (_wrapper) { } } } - return QScrollArea::devType(); -} -void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::dragEnterEvent(arg__1); -} -void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::dragLeaveEvent(arg__1); + return QSortFilterProxyModel::columnCount(parent0); } -void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1468,53 +1468,75 @@ if (_wrapper) { } } } - QScrollArea::dragMoveEvent(arg__1); + QSortFilterProxyModel::customEvent(event0); } -void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) +QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::dropEvent(arg__1); + return QSortFilterProxyModel::data(index0, role1); } -void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) +bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::enterEvent(event0); + return QSortFilterProxyModel::dropMimeData(data0, action1, row2, column3, parent4); } -bool PythonQtShell_QScrollArea::event(QEvent* arg__1) +bool PythonQtShell_QSortFilterProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1525,19 +1547,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1545,9 +1567,9 @@ if (_wrapper) { } } } - return QScrollArea::event(arg__1); + return QSortFilterProxyModel::event(event0); } -bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1558,19 +1580,19 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1578,21 +1600,21 @@ if (_wrapper) { } } } - return QScrollArea::eventFilter(arg__1, arg__2); + return QSortFilterProxyModel::eventFilter(watched0, event1); } -void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1600,32 +1622,32 @@ if (_wrapper) { } } } - QScrollArea::focusInEvent(event0); + QSortFilterProxyModel::fetchMore(parent0); } -bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) +bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[3] = {nullptr, (void*)&source_column0, (void*)&source_parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsColumn", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1633,54 +1655,32 @@ if (_wrapper) { } } } - return QScrollArea::focusNextPrevChild(next0); -} -void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::focusOutEvent(event0); + return QSortFilterProxyModel::filterAcceptsColumn(source_column0, source_parent1); } -bool PythonQtShell_QScrollArea::hasHeightForWidth() const +bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("filterAcceptsRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[3] = {nullptr, (void*)&source_row0, (void*)&source_parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1688,32 +1688,32 @@ if (_wrapper) { } } } - return QScrollArea::hasHeightForWidth(); + return QSortFilterProxyModel::filterAcceptsRow(source_row0, source_parent1); } -int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const +Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1721,98 +1721,131 @@ if (_wrapper) { } } } - return QScrollArea::heightForWidth(arg__1); + return QSortFilterProxyModel::flags(index0); } -void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) +bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::hideEvent(event0); + return QSortFilterProxyModel::hasChildren(parent0); } -void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const +QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::initPainter(painter0); + return QSortFilterProxyModel::headerData(section0, orientation1, role2); } -void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::inputMethodEvent(arg__1); + return QSortFilterProxyModel::index(row0, column1, parent2); } -QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1820,98 +1853,131 @@ if (_wrapper) { } } } - return QScrollArea::inputMethodQuery(arg__1); + return QSortFilterProxyModel::insertColumns(column0, count1, parent2); } -void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) +bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::keyPressEvent(arg__1); + return QSortFilterProxyModel::insertRows(row0, count1, parent2); } -void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) +QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::keyReleaseEvent(event0); + return QSortFilterProxyModel::itemData(index0); } -void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) +bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_left0, const QModelIndex& source_right1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&source_left0, (void*)&source_right1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lessThan", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::leaveEvent(event0); + return QSortFilterProxyModel::lessThan(source_left0, source_right1); } -int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1919,32 +1985,32 @@ if (_wrapper) { } } } - return QScrollArea::metric(arg__1); + return QSortFilterProxyModel::mapFromSource(sourceIndex0); } -QSize PythonQtShell_QScrollArea::minimumSizeHint() const +QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&sourceSelection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1952,142 +2018,197 @@ if (_wrapper) { } } } - return QScrollArea::minimumSizeHint(); + return QSortFilterProxyModel::mapSelectionFromSource(sourceSelection0); } -void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&proxySelection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mouseDoubleClickEvent(arg__1); + return QSortFilterProxyModel::mapSelectionToSource(proxySelection0); } -void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mouseMoveEvent(arg__1); + return QSortFilterProxyModel::mapToSource(proxyIndex0); } -void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) +QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mousePressEvent(arg__1); + return QSortFilterProxyModel::match(start0, role1, value2, hits3, flags4); } -void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mouseReleaseEvent(arg__1); + return QSortFilterProxyModel::mimeData(indexes0); } -void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) +QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::moveEvent(event0); + return QSortFilterProxyModel::mimeTypes(); } -bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2095,32 +2216,32 @@ if (_wrapper) { } } } - return QScrollArea::nativeEvent(eventType0, message1, result2); + return QSortFilterProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); } -QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const +bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + bool returnValue{}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2128,54 +2249,65 @@ if (_wrapper) { } } } - return QScrollArea::paintEngine(); + return QSortFilterProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); } -void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) +QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::paintEvent(arg__1); + return QSortFilterProxyModel::parent(child0); } -QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const +bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2183,43 +2315,54 @@ if (_wrapper) { } } } - return QScrollArea::redirected(offset0); + return QSortFilterProxyModel::removeColumns(column0, count1, parent2); } -void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) +bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::resizeEvent(arg__1); + return QSortFilterProxyModel::removeRows(row0, count1, parent2); } -void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QSortFilterProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2227,76 +2370,98 @@ if (_wrapper) { } } } - QScrollArea::scrollContentsBy(dx0, dy1); + QSortFilterProxyModel::revert(); } -void PythonQtShell_QScrollArea::setVisible(bool visible0) +QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"QHash"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::setVisible(visible0); + return QSortFilterProxyModel::roleNames(); } -void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) +int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::setupViewport(viewport0); + return QSortFilterProxyModel::rowCount(parent0); } -QPainter* PythonQtShell_QScrollArea::sharedPainter() const +bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2304,54 +2469,65 @@ if (_wrapper) { } } } - return QScrollArea::sharedPainter(); + return QSortFilterProxyModel::setData(index0, value1, role2); } -void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) +bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("setHeaderData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::showEvent(event0); + return QSortFilterProxyModel::setHeaderData(section0, orientation1, value2, role3); } -QSize PythonQtShell_QScrollArea::sizeHint() const +bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2359,21 +2535,21 @@ if (_wrapper) { } } } - return QScrollArea::sizeHint(); + return QSortFilterProxyModel::setItemData(index0, roles1); } -void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2381,32 +2557,32 @@ if (_wrapper) { } } } - QScrollArea::tabletEvent(event0); + QSortFilterProxyModel::setSourceModel(sourceModel0); } -bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) +QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QModelIndex returnValue{}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2414,32 +2590,54 @@ if (_wrapper) { } } } - return QScrollArea::viewportEvent(arg__1); + return QSortFilterProxyModel::sibling(row0, column1, idx2); } -QSize PythonQtShell_QScrollArea::viewportSizeHint() const +void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("sort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSortFilterProxyModel::sort(column0, order1); +} +QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("span"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2447,155 +2645,120 @@ if (_wrapper) { } } } - return QScrollArea::viewportSizeHint(); + return QSortFilterProxyModel::span(index0); } -void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) +bool PythonQtShell_QSortFilterProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::wheelEvent(arg__1); -} -QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) -{ -return new PythonQtShell_QScrollArea(parent); } - -const QMetaObject* PythonQtShell_QScrollArea::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollArea::staticMetaObject); - } else { - return &QScrollArea::staticMetaObject; - } -} -int PythonQtShell_QScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QScrollArea::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::Alignment PythonQtWrapper_QScrollArea::alignment(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QScrollArea::ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(x, y, xmargin, ymargin)); -} - -void PythonQtWrapper_QScrollArea::ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); -} - -void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) -{ - ( theWrappedObject->setAlignment(arg__1)); -} - -void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) -{ - ( theWrappedObject->setWidgetResizable(resizable)); -} - -QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) -{ - return ( theWrappedObject->takeWidget()); -} - -QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->widgetResizable()); -} - - - -PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QSortFilterProxyModel::submit(); } -void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) +Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::actionEvent(event0); + return QSortFilterProxyModel::supportedDragActions(); } -void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) +Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::changeEvent(e0); + return QSortFilterProxyModel::supportedDropActions(); } -void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2603,54 +2766,208 @@ if (_wrapper) { } } } - QScrollBar::closeEvent(event0); + QSortFilterProxyModel::timerEvent(event0); +} +QSortFilterProxyModel* PythonQtWrapper_QSortFilterProxyModel::new_QSortFilterProxyModel(QObject* parent) +{ +return new PythonQtShell_QSortFilterProxyModel(parent); } + +const QMetaObject* PythonQtShell_QSortFilterProxyModel::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSortFilterProxyModel::staticMetaObject); + } else { + return &QSortFilterProxyModel::staticMetaObject; + } +} +int PythonQtShell_QSortFilterProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSortFilterProxyModel::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSortFilterProxyModel::dynamicSortFilter(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->dynamicSortFilter()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsColumn(QSortFilterProxyModel* theWrappedObject, int source_column, const QModelIndex& source_parent) const +{ + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsColumn(source_column, source_parent)); +} + +bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsRow(QSortFilterProxyModel* theWrappedObject, int source_row, const QModelIndex& source_parent) const +{ + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsRow(source_row, source_parent)); +} + +Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::filterCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterCaseSensitivity()); +} + +int PythonQtWrapper_QSortFilterProxyModel::filterKeyColumn(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterKeyColumn()); +} + +QRegExp PythonQtWrapper_QSortFilterProxyModel::filterRegExp(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterRegExp()); +} + +QRegularExpression PythonQtWrapper_QSortFilterProxyModel::filterRegularExpression(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterRegularExpression()); +} + +int PythonQtWrapper_QSortFilterProxyModel::filterRole(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->filterRole()); +} + +void PythonQtWrapper_QSortFilterProxyModel::invalidateFilter(QSortFilterProxyModel* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_invalidateFilter()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::isRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->isRecursiveFilteringEnabled()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::isSortLocaleAware(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->isSortLocaleAware()); +} + +bool PythonQtWrapper_QSortFilterProxyModel::lessThan(QSortFilterProxyModel* theWrappedObject, const QModelIndex& source_left, const QModelIndex& source_right) const +{ + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_lessThan(source_left, source_right)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setDynamicSortFilter(QSortFilterProxyModel* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDynamicSortFilter(enable)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setFilterCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setFilterCaseSensitivity(cs)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setFilterKeyColumn(QSortFilterProxyModel* theWrappedObject, int column) +{ + ( theWrappedObject->setFilterKeyColumn(column)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setFilterRole(QSortFilterProxyModel* theWrappedObject, int role) +{ + ( theWrappedObject->setFilterRole(role)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject, bool recursive) +{ + ( theWrappedObject->setRecursiveFilteringEnabled(recursive)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setSortCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +{ + ( theWrappedObject->setSortCaseSensitivity(cs)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setSortLocaleAware(QSortFilterProxyModel* theWrappedObject, bool on) +{ + ( theWrappedObject->setSortLocaleAware(on)); +} + +void PythonQtWrapper_QSortFilterProxyModel::setSortRole(QSortFilterProxyModel* theWrappedObject, int role) +{ + ( theWrappedObject->setSortRole(role)); +} + +Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::sortCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortCaseSensitivity()); +} + +int PythonQtWrapper_QSortFilterProxyModel::sortColumn(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortColumn()); +} + +Qt::SortOrder PythonQtWrapper_QSortFilterProxyModel::sortOrder(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortOrder()); +} + +int PythonQtWrapper_QSortFilterProxyModel::sortRole(QSortFilterProxyModel* theWrappedObject) const +{ + return ( theWrappedObject->sortRole()); +} + + + +PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) +QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::contextMenuEvent(arg__1); + return QSpacerItem::controlTypes(); } -int PythonQtShell_QScrollBar::devType() const +Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2658,87 +2975,120 @@ if (_wrapper) { } } } - return QScrollBar::devType(); + return QSpacerItem::expandingDirections(); } -void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) +QRect PythonQtShell_QSpacerItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::dragEnterEvent(event0); + return QSpacerItem::geometry(); } -void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::dragLeaveEvent(event0); + return QSpacerItem::hasHeightForWidth(); } -void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) +int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::dragMoveEvent(event0); + return QSpacerItem::heightForWidth(arg__1); } -void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QSpacerItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2746,54 +3096,65 @@ if (_wrapper) { } } } - QScrollBar::dropEvent(event0); + QSpacerItem::invalidate(); } -void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) +bool PythonQtShell_QSpacerItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::enterEvent(event0); + return QSpacerItem::isEmpty(); } -bool PythonQtShell_QScrollBar::event(QEvent* event0) +QLayout* PythonQtShell_QSpacerItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2801,54 +3162,65 @@ if (_wrapper) { } } } - return QScrollBar::event(event0); + return QSpacerItem::layout(); } -void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) +QSize PythonQtShell_QSpacerItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::focusInEvent(event0); + return QSpacerItem::maximumSize(); } -bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) +int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2856,21 +3228,54 @@ if (_wrapper) { } } } - return QScrollBar::focusNextPrevChild(next0); + return QSpacerItem::minimumHeightForWidth(arg__1); } -void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) +QSize PythonQtShell_QSpacerItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSpacerItem::minimumSize(); +} +void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2878,32 +3283,32 @@ if (_wrapper) { } } } - QScrollBar::focusOutEvent(event0); + QSpacerItem::setGeometry(arg__1); } -bool PythonQtShell_QScrollBar::hasHeightForWidth() const +QSize PythonQtShell_QSpacerItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2911,32 +3316,32 @@ if (_wrapper) { } } } - return QScrollBar::hasHeightForWidth(); + return QSpacerItem::sizeHint(); } -int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const +QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2944,43 +3349,74 @@ if (_wrapper) { } } } - return QScrollBar::heightForWidth(arg__1); + return QSpacerItem::spacerItem(); } -void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) +QWidget* PythonQtShell_QSpacerItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::hideEvent(arg__1); + 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); } + +void PythonQtWrapper_QSpacerItem::changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) +{ + ( theWrappedObject->changeSize(w, h, hData, vData)); +} + +QSizePolicy PythonQtWrapper_QSpacerItem::sizePolicy(QSpacerItem* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); +} + + + +PythonQtShell_QSpinBox::~PythonQtShell_QSpinBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const +void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2988,21 +3424,21 @@ if (_wrapper) { } } } - QScrollBar::initPainter(painter0); + QSpinBox::actionEvent(event0); } -void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3010,54 +3446,43 @@ if (_wrapper) { } } } - QScrollBar::inputMethodEvent(arg__1); + QSpinBox::changeEvent(event0); } -QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollBar::inputMethodQuery(arg__1); + QSpinBox::childEvent(event0); } -void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3065,21 +3490,21 @@ if (_wrapper) { } } } - QScrollBar::keyPressEvent(ev0); + QSpinBox::clear(); } -void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3087,21 +3512,21 @@ if (_wrapper) { } } } - QScrollBar::keyReleaseEvent(event0); + QSpinBox::closeEvent(event0); } -void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) +void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3109,65 +3534,54 @@ if (_wrapper) { } } } - QScrollBar::leaveEvent(event0); + QSpinBox::contextMenuEvent(event0); } -int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollBar::metric(arg__1); + QSpinBox::customEvent(event0); } -QSize PythonQtShell_QScrollBar::minimumSizeHint() const +int PythonQtShell_QSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3175,21 +3589,21 @@ if (_wrapper) { } } } - return QScrollBar::minimumSizeHint(); + return QSpinBox::devType(); } -void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3197,21 +3611,21 @@ if (_wrapper) { } } } - QScrollBar::mouseDoubleClickEvent(event0); + QSpinBox::dragEnterEvent(event0); } -void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3219,21 +3633,21 @@ if (_wrapper) { } } } - QScrollBar::mouseMoveEvent(arg__1); + QSpinBox::dragLeaveEvent(event0); } -void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3241,21 +3655,21 @@ if (_wrapper) { } } } - QScrollBar::mousePressEvent(arg__1); + QSpinBox::dragMoveEvent(event0); } -void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3263,21 +3677,21 @@ if (_wrapper) { } } } - QScrollBar::mouseReleaseEvent(arg__1); + QSpinBox::dropEvent(event0); } -void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3285,32 +3699,32 @@ if (_wrapper) { } } } - QScrollBar::moveEvent(event0); + QSpinBox::enterEvent(event0); } -bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3318,32 +3732,32 @@ if (_wrapper) { } } } - return QScrollBar::nativeEvent(eventType0, message1, result2); + return QSpinBox::event(event0); } -QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const +bool PythonQtShell_QSpinBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3351,21 +3765,21 @@ if (_wrapper) { } } } - return QScrollBar::paintEngine(); + return QSpinBox::eventFilter(watched0, event1); } -void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&str0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3373,32 +3787,54 @@ if (_wrapper) { } } } - QScrollBar::paintEvent(arg__1); + QSpinBox::fixup(str0); } -QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const +void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::focusInEvent(event0); +} +bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3406,21 +3842,21 @@ if (_wrapper) { } } } - return QScrollBar::redirected(offset0); + return QSpinBox::focusNextPrevChild(next0); } -void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3428,54 +3864,65 @@ if (_wrapper) { } } } - QScrollBar::resizeEvent(event0); + QSpinBox::focusOutEvent(event0); } -void PythonQtShell_QScrollBar::setVisible(bool visible0) +bool PythonQtShell_QSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::setVisible(visible0); + return QSpinBox::hasHeightForWidth(); } -QPainter* PythonQtShell_QScrollBar::sharedPainter() const +int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3483,21 +3930,43 @@ if (_wrapper) { } } } - return QScrollBar::sharedPainter(); + return QSpinBox::heightForWidth(arg__1); } -void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) +void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::hideEvent(event0); +} +void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3505,32 +3974,54 @@ if (_wrapper) { } } } - QScrollBar::showEvent(event0); + QSpinBox::initPainter(painter0); } -QSize PythonQtShell_QScrollBar::sizeHint() const +void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSpinBox::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3538,21 +4029,21 @@ if (_wrapper) { } } } - return QScrollBar::sizeHint(); + return QSpinBox::inputMethodQuery(arg__1); } -void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) +void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sliderChange"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3560,21 +4051,21 @@ if (_wrapper) { } } } - QScrollBar::sliderChange(change0); + QSpinBox::keyPressEvent(event0); } -void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3582,21 +4073,21 @@ if (_wrapper) { } } } - QScrollBar::tabletEvent(event0); + QSpinBox::keyReleaseEvent(event0); } -void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3604,429 +4095,109 @@ if (_wrapper) { } } } - QScrollBar::timerEvent(arg__1); + QSpinBox::leaveEvent(event0); } -void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) +int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::wheelEvent(arg__1); + return QSpinBox::metric(arg__1); } -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); } - -const QMetaObject* PythonQtShell_QScrollBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollBar::staticMetaObject); - } else { - return &QScrollBar::staticMetaObject; +QSize PythonQtShell_QSpinBox::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QScrollBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QScrollBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QScrollBar::initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_initStyleOption(option)); + return QSpinBox::minimumSizeHint(); } - -QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - - - -QScrollEvent* PythonQtWrapper_QScrollEvent::new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState) -{ -return new QScrollEvent(contentPos, overshoot, scrollState); } - -QPointF PythonQtWrapper_QScrollEvent::contentPos(QScrollEvent* theWrappedObject) const -{ - return ( theWrappedObject->contentPos()); -} - -QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) const -{ - return ( theWrappedObject->overshootDistance()); -} - -QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const -{ - return ( theWrappedObject->scrollState()); -} - - - -QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) -{ -return new QScrollPrepareEvent(startPos); } - -QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) const -{ - return ( theWrappedObject->contentPos()); -} - -QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const -{ - return ( theWrappedObject->contentPosRange()); -} - -void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setContentPos(pos)); -} - -void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setContentPosRange(rect)); -} - -void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setViewportSize(size)); -} - -QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const -{ - return ( theWrappedObject->startPos()); -} - -QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const -{ - return ( theWrappedObject->viewportSize()); -} - - - -PythonQtShell_QScrollerProperties::~PythonQtShell_QScrollerProperties() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties() -{ -return new PythonQtShell_QScrollerProperties(); } - -QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties(const QScrollerProperties& sp) -{ -return new PythonQtShell_QScrollerProperties(sp); } - -bool PythonQtWrapper_QScrollerProperties::__ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const -{ - return ( (*theWrappedObject)!= sp); -} - -QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) -{ - return &( (*theWrappedObject)= sp); -} - -bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const -{ - return ( (*theWrappedObject)== sp); -} - -QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const -{ - return ( theWrappedObject->scrollMetric(metric)); -} - -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) -{ - (QScrollerProperties::setDefaultScrollerProperties(sp)); -} - -void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) -{ - ( theWrappedObject->setScrollMetric(metric, value)); -} - -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() -{ - (QScrollerProperties::unsetDefaultScrollerProperties()); -} - - - -bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) -{ - return ( theWrappedObject->allowsErrorInteraction()); -} - -bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) -{ - return ( theWrappedObject->allowsInteraction()); -} - -void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) -{ - ( theWrappedObject->cancel()); -} - -QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->discardCommand()); -} - -bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->isPhase2()); -} - -void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) -{ - ( theWrappedObject->requestPhase2()); -} - -QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->restartCommand()); -} - -QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->restartHint()); -} - -QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->sessionId()); -} - -QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->sessionKey()); -} - -void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) -{ - ( theWrappedObject->setDiscardCommand(arg__1)); -} - -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) -{ - ( theWrappedObject->setManagerProperty(name, value)); -} - -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) -{ - ( theWrappedObject->setManagerProperty(name, value)); -} - -void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) -{ - ( theWrappedObject->setRestartCommand(arg__1)); -} - -void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) -{ - ( theWrappedObject->setRestartHint(arg__1)); -} - - - -PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QShortcut::event(QEvent* e0) +void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QShortcut::event(e0); -} -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 shortcutContext) -{ -return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, shortcutContext); } - -const QMetaObject* PythonQtShell_QShortcut::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QShortcut::staticMetaObject); - } else { - return &QShortcut::staticMetaObject; - } -} -int PythonQtShell_QShortcut::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QShortcut::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->autoRepeat()); -} - -Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -bool PythonQtWrapper_QShortcut::event(QShortcut* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->promoted_event(e)); -} - -int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->id()); -} - -bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) -{ - ( theWrappedObject->setAutoRepeat(on)); -} - -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::setKey(QShortcut* theWrappedObject, const QKeySequence& key) -{ - ( theWrappedObject->setKey(key)); -} - -void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setWhatsThis(text)); -} - -QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - - - -PythonQtShell_QShortcutEvent::~PythonQtShell_QShortcutEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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()); -} - - - -QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() -{ -return new QShowEvent(); } - - - -PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QSpinBox::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) +void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4034,21 +4205,21 @@ if (_wrapper) { } } } - QSizeGrip::actionEvent(event0); + QSpinBox::mouseMoveEvent(event0); } -void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) +void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4056,21 +4227,21 @@ if (_wrapper) { } } } - QSizeGrip::changeEvent(arg__1); + QSpinBox::mousePressEvent(event0); } -void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4078,21 +4249,21 @@ if (_wrapper) { } } } - QSizeGrip::closeEvent(event0); + QSpinBox::mouseReleaseEvent(event0); } -void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4100,32 +4271,32 @@ if (_wrapper) { } } } - QSizeGrip::contextMenuEvent(event0); + QSpinBox::moveEvent(event0); } -int PythonQtShell_QSizeGrip::devType() const +bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4133,43 +4304,54 @@ if (_wrapper) { } } } - return QSizeGrip::devType(); + return QSpinBox::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) +QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::dragEnterEvent(event0); + return QSpinBox::paintEngine(); } -void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4177,43 +4359,54 @@ if (_wrapper) { } } } - QSizeGrip::dragLeaveEvent(event0); + QSpinBox::paintEvent(event0); } -void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) +QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::dragMoveEvent(event0); + return QSpinBox::redirected(offset0); } -void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) +void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4221,21 +4414,21 @@ if (_wrapper) { } } } - QSizeGrip::dropEvent(event0); + QSpinBox::resizeEvent(event0); } -void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) +void PythonQtShell_QSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4243,65 +4436,32 @@ if (_wrapper) { } } } - QSizeGrip::enterEvent(event0); -} -bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSizeGrip::event(arg__1); + QSpinBox::setVisible(visible0); } -bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) +QPainter* PythonQtShell_QSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4309,21 +4469,21 @@ if (_wrapper) { } } } - return QSizeGrip::eventFilter(arg__1, arg__2); + return QSpinBox::sharedPainter(); } -void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4331,32 +4491,32 @@ if (_wrapper) { } } } - QSizeGrip::focusInEvent(event0); + QSpinBox::showEvent(event0); } -bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) +QSize PythonQtShell_QSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4364,21 +4524,21 @@ if (_wrapper) { } } } - return QSizeGrip::focusNextPrevChild(next0); + return QSpinBox::sizeHint(); } -void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4386,32 +4546,32 @@ if (_wrapper) { } } } - QSizeGrip::focusOutEvent(event0); + QSpinBox::stepBy(steps0); } -bool PythonQtShell_QSizeGrip::hasHeightForWidth() const +QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4419,76 +4579,76 @@ if (_wrapper) { } } } - return QSizeGrip::hasHeightForWidth(); + return QSpinBox::stepEnabled(); } -int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const +void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::heightForWidth(arg__1); + QSpinBox::tabletEvent(event0); } -void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) +QString PythonQtShell_QSpinBox::textFromValue(int val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&val0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::hideEvent(hideEvent0); + return QSpinBox::textFromValue(val0); } -void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const +void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4496,54 +4656,65 @@ if (_wrapper) { } } } - QSizeGrip::initPainter(painter0); + QSpinBox::timerEvent(event0); } -void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) +QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::inputMethodEvent(arg__1); + return QSpinBox::validate(input0, pos1); } -QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4551,21 +4722,21 @@ if (_wrapper) { } } } - return QSizeGrip::inputMethodQuery(arg__1); + return QSpinBox::valueFromText(text0); } -void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4573,131 +4744,183 @@ if (_wrapper) { } } } - QSizeGrip::keyPressEvent(event0); + QSpinBox::wheelEvent(event0); } -void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QSpinBox* PythonQtWrapper_QSpinBox::new_QSpinBox(QWidget* parent) +{ +return new PythonQtShell_QSpinBox(parent); } + +const QMetaObject* PythonQtShell_QSpinBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSpinBox::staticMetaObject); + } else { + return &QSpinBox::staticMetaObject; } } - QSizeGrip::keyReleaseEvent(event0); +int PythonQtShell_QSpinBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSpinBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) +QString PythonQtWrapper_QSpinBox::cleanText(QSpinBox* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->cleanText()); +} + +int PythonQtWrapper_QSpinBox::displayIntegerBase(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->displayIntegerBase()); +} + +int PythonQtWrapper_QSpinBox::maximum(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QSpinBox::minimum(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +QString PythonQtWrapper_QSpinBox::prefix(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +void PythonQtWrapper_QSpinBox::setDisplayIntegerBase(QSpinBox* theWrappedObject, int base) +{ + ( theWrappedObject->setDisplayIntegerBase(base)); +} + +void PythonQtWrapper_QSpinBox::setMaximum(QSpinBox* theWrappedObject, int max) +{ + ( theWrappedObject->setMaximum(max)); +} + +void PythonQtWrapper_QSpinBox::setMinimum(QSpinBox* theWrappedObject, int min) +{ + ( theWrappedObject->setMinimum(min)); +} + +void PythonQtWrapper_QSpinBox::setPrefix(QSpinBox* theWrappedObject, const QString& prefix) +{ + ( theWrappedObject->setPrefix(prefix)); +} + +void PythonQtWrapper_QSpinBox::setRange(QSpinBox* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setRange(min, max)); +} + +void PythonQtWrapper_QSpinBox::setSingleStep(QSpinBox* theWrappedObject, int val) +{ + ( theWrappedObject->setSingleStep(val)); +} + +void PythonQtWrapper_QSpinBox::setStepType(QSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType) +{ + ( theWrappedObject->setStepType(stepType)); +} + +void PythonQtWrapper_QSpinBox::setSuffix(QSpinBox* theWrappedObject, const QString& suffix) +{ + ( theWrappedObject->setSuffix(suffix)); +} + +int PythonQtWrapper_QSpinBox::singleStep(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->singleStep()); +} + +QAbstractSpinBox::StepType PythonQtWrapper_QSpinBox::stepType(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->stepType()); +} + +QString PythonQtWrapper_QSpinBox::suffix(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->suffix()); +} + +QString PythonQtWrapper_QSpinBox::textFromValue(QSpinBox* theWrappedObject, int val) const +{ + return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_textFromValue(val)); +} + +int PythonQtWrapper_QSpinBox::value(QSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +int PythonQtWrapper_QSpinBox::valueFromText(QSpinBox* theWrappedObject, const QString& text) const +{ + return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_valueFromText(text)); } - QSizeGrip::leaveEvent(event0); + + + +PythonQtShell_QSplashScreen::~PythonQtShell_QSplashScreen() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::metric(arg__1); + QSplashScreen::actionEvent(event0); } -QSize PythonQtShell_QSizeGrip::minimumSizeHint() const +void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::minimumSizeHint(); + QSplashScreen::changeEvent(arg__1); } -void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSplashScreen::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4705,21 +4928,21 @@ if (_wrapper) { } } } - QSizeGrip::mouseDoubleClickEvent(event0); + QSplashScreen::childEvent(event0); } -void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4727,21 +4950,21 @@ if (_wrapper) { } } } - QSizeGrip::mouseMoveEvent(arg__1); + QSplashScreen::closeEvent(event0); } -void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4749,21 +4972,21 @@ if (_wrapper) { } } } - QSizeGrip::mousePressEvent(arg__1); + QSplashScreen::contextMenuEvent(event0); } -void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) +void PythonQtShell_QSplashScreen::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4771,109 +4994,98 @@ if (_wrapper) { } } } - QSizeGrip::mouseReleaseEvent(mouseEvent0); + QSplashScreen::customEvent(event0); } -void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) +int PythonQtShell_QSplashScreen::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&moveEvent0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::moveEvent(moveEvent0); + return QSplashScreen::devType(); } -bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::nativeEvent(eventType0, message1, result2); + QSplashScreen::dragEnterEvent(event0); } -QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const +void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::paintEngine(); + QSplashScreen::dragLeaveEvent(event0); } -void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4881,54 +5093,43 @@ if (_wrapper) { } } } - QSizeGrip::paintEvent(arg__1); + QSplashScreen::dragMoveEvent(event0); } -QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const +void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("drawContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::redirected(offset0); + QSplashScreen::drawContents(painter0); } -void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4936,21 +5137,21 @@ if (_wrapper) { } } } - QSizeGrip::resizeEvent(event0); + QSplashScreen::dropEvent(event0); } -void PythonQtShell_QSizeGrip::setVisible(bool arg__1) +void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4958,32 +5159,32 @@ if (_wrapper) { } } } - QSizeGrip::setVisible(arg__1); + QSplashScreen::enterEvent(event0); } -QPainter* PythonQtShell_QSizeGrip::sharedPainter() const +bool PythonQtShell_QSplashScreen::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4991,21 +5192,54 @@ if (_wrapper) { } } } - return QSizeGrip::sharedPainter(); + return QSplashScreen::event(e0); } -void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) +bool PythonQtShell_QSplashScreen::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSplashScreen::eventFilter(watched0, event1); +} +void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5013,32 +5247,32 @@ if (_wrapper) { } } } - QSizeGrip::showEvent(showEvent0); + QSplashScreen::focusInEvent(event0); } -QSize PythonQtShell_QSizeGrip::sizeHint() const +bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5046,21 +5280,21 @@ if (_wrapper) { } } } - return QSizeGrip::sizeHint(); + return QSplashScreen::focusNextPrevChild(next0); } -void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5068,98 +5302,87 @@ if (_wrapper) { } } } - QSizeGrip::tabletEvent(event0); + QSplashScreen::focusOutEvent(event0); } -void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) +bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::wheelEvent(event0); -} -QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) -{ -return new PythonQtShell_QSizeGrip(parent); } - -const QMetaObject* PythonQtShell_QSizeGrip::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSizeGrip::staticMetaObject); - } else { - return &QSizeGrip::staticMetaObject; - } -} -int PythonQtShell_QSizeGrip::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSizeGrip::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QSizeGrip::eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - -QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - - - -PythonQtShell_QSlider::~PythonQtShell_QSlider() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QSplashScreen::hasHeightForWidth(); } -void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) +int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::actionEvent(event0); + return QSplashScreen::heightForWidth(arg__1); } -void PythonQtShell_QSlider::changeEvent(QEvent* e0) +void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5167,21 +5390,21 @@ if (_wrapper) { } } } - QSlider::changeEvent(e0); + QSplashScreen::hideEvent(event0); } -void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5189,21 +5412,21 @@ if (_wrapper) { } } } - QSlider::closeEvent(event0); + QSplashScreen::initPainter(painter0); } -void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5211,32 +5434,32 @@ if (_wrapper) { } } } - QSlider::contextMenuEvent(event0); + QSplashScreen::inputMethodEvent(arg__1); } -int PythonQtShell_QSlider::devType() const +QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5244,21 +5467,21 @@ if (_wrapper) { } } } - return QSlider::devType(); + return QSplashScreen::inputMethodQuery(arg__1); } -void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5266,21 +5489,21 @@ if (_wrapper) { } } } - QSlider::dragEnterEvent(event0); + QSplashScreen::keyPressEvent(event0); } -void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5288,21 +5511,21 @@ if (_wrapper) { } } } - QSlider::dragLeaveEvent(event0); + QSplashScreen::keyReleaseEvent(event0); } -void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5310,98 +5533,109 @@ if (_wrapper) { } } } - QSlider::dragMoveEvent(event0); + QSplashScreen::leaveEvent(event0); } -void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) +int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::dropEvent(event0); + return QSplashScreen::metric(arg__1); } -void PythonQtShell_QSlider::enterEvent(QEvent* event0) +QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::enterEvent(event0); + return QSplashScreen::minimumSizeHint(); } -bool PythonQtShell_QSlider::event(QEvent* event0) +void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::event(event0); + QSplashScreen::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5409,54 +5643,43 @@ if (_wrapper) { } } } - QSlider::focusInEvent(event0); + QSplashScreen::mouseMoveEvent(event0); } -bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) +void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::focusNextPrevChild(next0); + QSplashScreen::mousePressEvent(arg__1); } -void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5464,65 +5687,54 @@ if (_wrapper) { } } } - QSlider::focusOutEvent(event0); + QSplashScreen::mouseReleaseEvent(event0); } -bool PythonQtShell_QSlider::hasHeightForWidth() const +void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::hasHeightForWidth(); + QSplashScreen::moveEvent(event0); } -int PythonQtShell_QSlider::heightForWidth(int arg__1) const +bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5530,65 +5742,54 @@ if (_wrapper) { } } } - return QSlider::heightForWidth(arg__1); -} -void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSlider::hideEvent(event0); + return QSplashScreen::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QSlider::initPainter(QPainter* painter0) const +QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::initPainter(painter0); + return QSplashScreen::paintEngine(); } -void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5596,32 +5797,32 @@ if (_wrapper) { } } } - QSlider::inputMethodEvent(arg__1); + QSplashScreen::paintEvent(event0); } -QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5629,21 +5830,21 @@ if (_wrapper) { } } } - return QSlider::inputMethodQuery(arg__1); + return QSplashScreen::redirected(offset0); } -void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5651,21 +5852,21 @@ if (_wrapper) { } } } - QSlider::keyPressEvent(ev0); + QSplashScreen::resizeEvent(event0); } -void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSplashScreen::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5673,87 +5874,87 @@ if (_wrapper) { } } } - QSlider::keyReleaseEvent(event0); + QSplashScreen::setVisible(visible0); } -void PythonQtShell_QSlider::leaveEvent(QEvent* event0) +QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::leaveEvent(event0); + return QSplashScreen::sharedPainter(); } -int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QSplashScreen::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::metric(arg__1); + QSplashScreen::showEvent(event0); } -QSize PythonQtShell_QSlider::minimumSizeHint() const +QSize PythonQtShell_QSplashScreen::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5761,21 +5962,21 @@ if (_wrapper) { } } } - return QSlider::minimumSizeHint(); + return QSplashScreen::sizeHint(); } -void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5783,21 +5984,21 @@ if (_wrapper) { } } } - QSlider::mouseDoubleClickEvent(event0); + QSplashScreen::tabletEvent(event0); } -void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) +void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5805,21 +6006,21 @@ if (_wrapper) { } } } - QSlider::mouseMoveEvent(ev0); + QSplashScreen::timerEvent(event0); } -void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) +void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5827,131 +6028,99 @@ if (_wrapper) { } } } - QSlider::mousePressEvent(ev0); + QSplashScreen::wheelEvent(event0); } -void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(QScreen* screen, const QPixmap& pixmap, Qt::WindowFlags f) +{ +return new PythonQtShell_QSplashScreen(screen, pixmap, f); } + +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); } + +const QMetaObject* PythonQtShell_QSplashScreen::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplashScreen::staticMetaObject); + } else { + return &QSplashScreen::staticMetaObject; } } - QSlider::mouseReleaseEvent(ev0); +int PythonQtShell_QSplashScreen::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSplashScreen::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) +void PythonQtWrapper_QSplashScreen::drawContents(QSplashScreen* theWrappedObject, QPainter* painter) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_drawContents(painter)); } - QSlider::moveEvent(event0); + +void PythonQtWrapper_QSplashScreen::finish(QSplashScreen* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->finish(w)); } -bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +QString PythonQtWrapper_QSplashScreen::message(QSplashScreen* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->message()); } - return QSlider::nativeEvent(eventType0, message1, result2); + +const QPixmap PythonQtWrapper_QSplashScreen::pixmap(QSplashScreen* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); } -QPaintEngine* PythonQtShell_QSlider::paintEngine() const + +void PythonQtWrapper_QSplashScreen::setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setPixmap(pixmap)); +} + + + +PythonQtShell_QSplitter::~PythonQtShell_QSplitter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSplitter::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::paintEngine(); + QSplitter::actionEvent(event0); } -void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) +void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5959,54 +6128,43 @@ if (_wrapper) { } } } - QSlider::paintEvent(ev0); + QSplitter::changeEvent(arg__1); } -QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const +void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::redirected(offset0); + QSplitter::childEvent(arg__1); } -void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6014,21 +6172,21 @@ if (_wrapper) { } } } - QSlider::resizeEvent(event0); + QSplitter::closeEvent(event0); } -void PythonQtShell_QSlider::setVisible(bool visible0) +void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6036,32 +6194,32 @@ if (_wrapper) { } } } - QSlider::setVisible(visible0); + QSplitter::contextMenuEvent(event0); } -QPainter* PythonQtShell_QSlider::sharedPainter() const +QSplitterHandle* PythonQtShell_QSplitter::createHandle() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("createHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSplitterHandle*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QSplitterHandle* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createHandle", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSplitterHandle**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6069,21 +6227,21 @@ if (_wrapper) { } } } - return QSlider::sharedPainter(); + return QSplitter::createHandle(); } -void PythonQtShell_QSlider::showEvent(QShowEvent* event0) +void PythonQtShell_QSplitter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6091,32 +6249,32 @@ if (_wrapper) { } } } - QSlider::showEvent(event0); + QSplitter::customEvent(event0); } -QSize PythonQtShell_QSlider::sizeHint() const +int PythonQtShell_QSplitter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6124,21 +6282,21 @@ if (_wrapper) { } } } - return QSlider::sizeHint(); + return QSplitter::devType(); } -void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) +void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sliderChange"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6146,21 +6304,21 @@ if (_wrapper) { } } } - QSlider::sliderChange(change0); + QSplitter::dragEnterEvent(event0); } -void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6168,21 +6326,21 @@ if (_wrapper) { } } } - QSlider::tabletEvent(event0); + QSplitter::dragLeaveEvent(event0); } -void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6190,21 +6348,21 @@ if (_wrapper) { } } } - QSlider::timerEvent(arg__1); + QSplitter::dragMoveEvent(event0); } -void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QSplitter::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6212,127 +6370,54 @@ if (_wrapper) { } } } - QSlider::wheelEvent(e0); -} -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); } - -const QMetaObject* PythonQtShell_QSlider::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSlider::staticMetaObject); - } else { - return &QSlider::staticMetaObject; - } -} -int PythonQtShell_QSlider::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSlider::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QSlider::initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const -{ - ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_initStyleOption(option)); -} - -QSize PythonQtWrapper_QSlider::minimumSizeHint(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QSlider::setTickInterval(QSlider* theWrappedObject, int ti) -{ - ( theWrappedObject->setTickInterval(ti)); -} - -void PythonQtWrapper_QSlider::setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position) -{ - ( theWrappedObject->setTickPosition(position)); -} - -QSize PythonQtWrapper_QSlider::sizeHint(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QSlider::tickInterval(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->tickInterval()); -} - -QSlider::TickPosition PythonQtWrapper_QSlider::tickPosition(QSlider* theWrappedObject) const -{ - return ( theWrappedObject->tickPosition()); -} - - - -PythonQtShell_QSortFilterProxyModel::~PythonQtShell_QSortFilterProxyModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QSplitter::dropEvent(event0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const +void PythonQtShell_QSplitter::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("buddy"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::buddy(index0); + QSplitter::enterEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +bool PythonQtShell_QSplitter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canDropMimeData"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6340,32 +6425,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); + return QSplitter::event(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const +bool PythonQtShell_QSplitter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canFetchMore"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6373,98 +6458,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::canFetchMore(parent0); + return QSplitter::eventFilter(watched0, event1); } -int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const +void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("columnCount"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSortFilterProxyModel::columnCount(parent0); -} -QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::data(index0, role1); + QSplitter::focusInEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6472,21 +6513,21 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::dropMimeData(data0, action1, row2, column3, parent4); + return QSplitter::focusNextPrevChild(next0); } -void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) +void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6494,32 +6535,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::fetchMore(parent0); + QSplitter::focusOutEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const +bool PythonQtShell_QSplitter::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("filterAcceptsColumn"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&source_column0, (void*)&source_parent1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6527,32 +6568,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::filterAcceptsColumn(source_column0, source_parent1); + return QSplitter::hasHeightForWidth(); } -bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const +int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("filterAcceptsRow"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&source_row0, (void*)&source_parent1}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6560,131 +6601,98 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::filterAcceptsRow(source_row0, source_parent1); + return QSplitter::heightForWidth(arg__1); } -Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const +void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::flags(index0); + QSplitter::hideEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const +void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasChildren"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::hasChildren(parent0); + QSplitter::initPainter(painter0); } -QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)§ion0, (void*)&orientation1, (void*)&role2}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::headerData(section0, orientation1, role2); + QSplitter::inputMethodEvent(arg__1); } -QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&row0, (void*)&column1, (void*)&parent2}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6692,131 +6700,98 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::index(row0, column1, parent2); + return QSplitter::inputMethodQuery(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&column0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::insertColumns(column0, count1, parent2); + QSplitter::keyPressEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertRows"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&row0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::insertRows(row0, count1, parent2); + QSplitter::keyReleaseEvent(event0); } -QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const +void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemData"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::itemData(index0); + QSplitter::leaveEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_left0, const QModelIndex& source_right1) const +int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("lessThan"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&source_left0, (void*)&source_right1}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lessThan", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6824,32 +6799,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::lessThan(source_left0, source_right1); + return QSplitter::metric(arg__1); } -QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +QSize PythonQtShell_QSplitter::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapFromSource"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&sourceIndex0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6857,164 +6832,142 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mapFromSource(sourceIndex0); + return QSplitter::minimumSizeHint(); } -QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const +void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionFromSource"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&sourceSelection0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mapSelectionFromSource(sourceSelection0); + QSplitter::mouseDoubleClickEvent(event0); } -QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const +void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionToSource"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&proxySelection0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mapSelectionToSource(proxySelection0); + QSplitter::mouseMoveEvent(event0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapToSource"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&proxyIndex0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mapToSource(proxyIndex0); + QSplitter::mousePressEvent(event0); } -QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("match"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::match(start0, role1, value2, hits3, flags4); + QSplitter::mouseReleaseEvent(event0); } -QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const +void PythonQtShell_QSplitter::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSplitter::moveEvent(event0); +} +bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QMimeData**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7022,32 +6975,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mimeData(indexes0); + return QSplitter::nativeEvent(eventType0, message1, result2); } -QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const +QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStringList"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7055,65 +7008,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mimeTypes(); + return QSplitter::paintEngine(); } -bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveColumns"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + QSplitter::paintEvent(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveRows"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7121,98 +7063,76 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + return QSplitter::redirected(offset0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const +void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("parent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::parent(child0); + QSplitter::resizeEvent(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +void PythonQtShell_QSplitter::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeColumns"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&column0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::removeColumns(column0, count1, parent2); + QSplitter::setVisible(visible0); } -bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +QPainter* PythonQtShell_QSplitter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeRows"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&row0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7220,21 +7140,21 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::removeRows(row0, count1, parent2); + return QSplitter::sharedPainter(); } -void PythonQtShell_QSortFilterProxyModel::revert() +void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("revert"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7242,32 +7162,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::revert(); + QSplitter::showEvent(event0); } -QHash PythonQtShell_QSortFilterProxyModel::roleNames() const +QSize PythonQtShell_QSplitter::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QHash"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QHash*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7275,670 +7195,374 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::roleNames(); + return QSplitter::sizeHint(); } -int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::rowCount(parent0); + QSplitter::tabletEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +void PythonQtShell_QSplitter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&index0, (void*)&value1, (void*)&role2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::setData(index0, value1, role2); + QSplitter::timerEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::setHeaderData(section0, orientation1, value2, role3); + QSplitter::wheelEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setItemData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } +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); } + +const QMetaObject* PythonQtShell_QSplitter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplitter::staticMetaObject); + } else { + return &QSplitter::staticMetaObject; } } - return QSortFilterProxyModel::setItemData(index0, roles1); +int PythonQtShell_QSplitter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSplitter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +void PythonQtWrapper_QSplitter::addWidget(QSplitter* theWrappedObject, PythonQtPassOwnershipToCPP widget) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSourceModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addWidget(widget)); } - QSortFilterProxyModel::setSourceModel(sourceModel0); + +bool PythonQtWrapper_QSplitter::childrenCollapsible(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->childrenCollapsible()); } -QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const + +int PythonQtWrapper_QSplitter::closestLegalPosition(QSplitter* theWrappedObject, int arg__1, int arg__2) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sibling"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_closestLegalPosition(arg__1, arg__2)); } - return QSortFilterProxyModel::sibling(row0, column1, idx2); + +int PythonQtWrapper_QSplitter::count(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->count()); } -void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) + +QSplitterHandle* PythonQtWrapper_QSplitter::createHandle(QSplitter* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_createHandle()); } - QSortFilterProxyModel::sort(column0, order1); + +QSplitterHandle* PythonQtWrapper_QSplitter::handle(QSplitter* theWrappedObject, int index) const +{ + return ( theWrappedObject->handle(index)); } -QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const + +int PythonQtWrapper_QSplitter::handleWidth(QSplitter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("span"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->handleWidth()); } - return QSortFilterProxyModel::span(index0); + +int PythonQtWrapper_QSplitter::indexOf(QSplitter* theWrappedObject, QWidget* w) const +{ + return ( theWrappedObject->indexOf(w)); } -bool PythonQtShell_QSortFilterProxyModel::submit() + +void PythonQtWrapper_QSplitter::insertWidget(QSplitter* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("submit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSortFilterProxyModel::submit(); -} -Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSortFilterProxyModel::supportedDragActions(); -} -Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSortFilterProxyModel::supportedDropActions(); -} -QSortFilterProxyModel* PythonQtWrapper_QSortFilterProxyModel::new_QSortFilterProxyModel(QObject* parent) -{ -return new PythonQtShell_QSortFilterProxyModel(parent); } - -const QMetaObject* PythonQtShell_QSortFilterProxyModel::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSortFilterProxyModel::staticMetaObject); - } else { - return &QSortFilterProxyModel::staticMetaObject; - } -} -int PythonQtShell_QSortFilterProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSortFilterProxyModel::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QSortFilterProxyModel::dynamicSortFilter(QSortFilterProxyModel* theWrappedObject) const -{ - return ( theWrappedObject->dynamicSortFilter()); -} - -bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsColumn(QSortFilterProxyModel* theWrappedObject, int source_column, const QModelIndex& source_parent) const -{ - return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsColumn(source_column, source_parent)); -} - -bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsRow(QSortFilterProxyModel* theWrappedObject, int source_row, const QModelIndex& source_parent) const -{ - return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsRow(source_row, source_parent)); + ( theWrappedObject->insertWidget(index, widget)); } -Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::filterCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +bool PythonQtWrapper_QSplitter::isCollapsible(QSplitter* theWrappedObject, int index) const { - return ( theWrappedObject->filterCaseSensitivity()); + return ( theWrappedObject->isCollapsible(index)); } -int PythonQtWrapper_QSortFilterProxyModel::filterKeyColumn(QSortFilterProxyModel* theWrappedObject) const +QSize PythonQtWrapper_QSplitter::minimumSizeHint(QSplitter* theWrappedObject) const { - return ( theWrappedObject->filterKeyColumn()); + return ( theWrappedObject->minimumSizeHint()); } -QRegExp PythonQtWrapper_QSortFilterProxyModel::filterRegExp(QSortFilterProxyModel* theWrappedObject) const +void PythonQtWrapper_QSplitter::moveSplitter(QSplitter* theWrappedObject, int pos, int index) { - return ( theWrappedObject->filterRegExp()); + ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_moveSplitter(pos, index)); } -QRegularExpression PythonQtWrapper_QSortFilterProxyModel::filterRegularExpression(QSortFilterProxyModel* theWrappedObject) const +bool PythonQtWrapper_QSplitter::opaqueResize(QSplitter* theWrappedObject) const { - return ( theWrappedObject->filterRegularExpression()); + return ( theWrappedObject->opaqueResize()); } -int PythonQtWrapper_QSortFilterProxyModel::filterRole(QSortFilterProxyModel* theWrappedObject) const +void PythonQtWrapper_QSplitter::writeTo(QSplitter* theWrappedObject, QTextStream& arg__1) { - return ( theWrappedObject->filterRole()); + arg__1 << (*theWrappedObject); } -void PythonQtWrapper_QSortFilterProxyModel::invalidateFilter(QSortFilterProxyModel* theWrappedObject) +void PythonQtWrapper_QSplitter::readFrom(QSplitter* theWrappedObject, QTextStream& arg__1) { - ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_invalidateFilter()); + arg__1 >> (*theWrappedObject); } -bool PythonQtWrapper_QSortFilterProxyModel::isRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject) const +Qt::Orientation PythonQtWrapper_QSplitter::orientation(QSplitter* theWrappedObject) const { - return ( theWrappedObject->isRecursiveFilteringEnabled()); + return ( theWrappedObject->orientation()); } -bool PythonQtWrapper_QSortFilterProxyModel::isSortLocaleAware(QSortFilterProxyModel* theWrappedObject) const +void PythonQtWrapper_QSplitter::refresh(QSplitter* theWrappedObject) { - return ( theWrappedObject->isSortLocaleAware()); + ( theWrappedObject->refresh()); } -bool PythonQtWrapper_QSortFilterProxyModel::lessThan(QSortFilterProxyModel* theWrappedObject, const QModelIndex& source_left, const QModelIndex& source_right) const +QWidget* PythonQtWrapper_QSplitter::replaceWidget(QSplitter* theWrappedObject, int index, QWidget* widget) { - return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_lessThan(source_left, source_right)); + return ( theWrappedObject->replaceWidget(index, widget)); } -void PythonQtWrapper_QSortFilterProxyModel::setDynamicSortFilter(QSortFilterProxyModel* theWrappedObject, bool enable) +bool PythonQtWrapper_QSplitter::restoreState(QSplitter* theWrappedObject, const QByteArray& state) { - ( theWrappedObject->setDynamicSortFilter(enable)); + return ( theWrappedObject->restoreState(state)); } -void PythonQtWrapper_QSortFilterProxyModel::setFilterCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +QByteArray PythonQtWrapper_QSplitter::saveState(QSplitter* theWrappedObject) const { - ( theWrappedObject->setFilterCaseSensitivity(cs)); + return ( theWrappedObject->saveState()); } -void PythonQtWrapper_QSortFilterProxyModel::setFilterKeyColumn(QSortFilterProxyModel* theWrappedObject, int column) +void PythonQtWrapper_QSplitter::setChildrenCollapsible(QSplitter* theWrappedObject, bool arg__1) { - ( theWrappedObject->setFilterKeyColumn(column)); + ( theWrappedObject->setChildrenCollapsible(arg__1)); } -void PythonQtWrapper_QSortFilterProxyModel::setFilterRole(QSortFilterProxyModel* theWrappedObject, int role) +void PythonQtWrapper_QSplitter::setCollapsible(QSplitter* theWrappedObject, int index, bool arg__2) { - ( theWrappedObject->setFilterRole(role)); + ( theWrappedObject->setCollapsible(index, arg__2)); } -void PythonQtWrapper_QSortFilterProxyModel::setRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject, bool recursive) +void PythonQtWrapper_QSplitter::setHandleWidth(QSplitter* theWrappedObject, int arg__1) { - ( theWrappedObject->setRecursiveFilteringEnabled(recursive)); + ( theWrappedObject->setHandleWidth(arg__1)); } -void PythonQtWrapper_QSortFilterProxyModel::setSortCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +void PythonQtWrapper_QSplitter::setOpaqueResize(QSplitter* theWrappedObject, bool opaque) { - ( theWrappedObject->setSortCaseSensitivity(cs)); + ( theWrappedObject->setOpaqueResize(opaque)); } -void PythonQtWrapper_QSortFilterProxyModel::setSortLocaleAware(QSortFilterProxyModel* theWrappedObject, bool on) +void PythonQtWrapper_QSplitter::setOrientation(QSplitter* theWrappedObject, Qt::Orientation arg__1) { - ( theWrappedObject->setSortLocaleAware(on)); + ( theWrappedObject->setOrientation(arg__1)); } -void PythonQtWrapper_QSortFilterProxyModel::setSortRole(QSortFilterProxyModel* theWrappedObject, int role) +void PythonQtWrapper_QSplitter::setRubberBand(QSplitter* theWrappedObject, int position) { - ( theWrappedObject->setSortRole(role)); + ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_setRubberBand(position)); } -Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::sortCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +void PythonQtWrapper_QSplitter::setSizes(QSplitter* theWrappedObject, const QList& list) { - return ( theWrappedObject->sortCaseSensitivity()); + ( theWrappedObject->setSizes(list)); } -int PythonQtWrapper_QSortFilterProxyModel::sortColumn(QSortFilterProxyModel* theWrappedObject) const +void PythonQtWrapper_QSplitter::setStretchFactor(QSplitter* theWrappedObject, int index, int stretch) { - return ( theWrappedObject->sortColumn()); + ( theWrappedObject->setStretchFactor(index, stretch)); } -Qt::SortOrder PythonQtWrapper_QSortFilterProxyModel::sortOrder(QSortFilterProxyModel* theWrappedObject) const +QList PythonQtWrapper_QSplitter::sizes(QSplitter* theWrappedObject) const { - return ( theWrappedObject->sortOrder()); + return ( theWrappedObject->sizes()); } -int PythonQtWrapper_QSortFilterProxyModel::sortRole(QSortFilterProxyModel* theWrappedObject) const +QWidget* PythonQtWrapper_QSplitter::widget(QSplitter* theWrappedObject, int index) const { - return ( theWrappedObject->sortRole()); + return ( theWrappedObject->widget(index)); } -PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { +PythonQtShell_QSplitterHandle::~PythonQtShell_QSplitterHandle() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const +void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("controlTypes"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::controlTypes(); + QSplitterHandle::actionEvent(event0); } -Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const +void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::expandingDirections(); + QSplitterHandle::changeEvent(arg__1); } -QRect PythonQtShell_QSpacerItem::geometry() const +void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("geometry"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::geometry(); + QSplitterHandle::childEvent(event0); } -bool PythonQtShell_QSpacerItem::hasHeightForWidth() const +void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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); } + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::hasHeightForWidth(); + QSplitterHandle::closeEvent(event0); } -int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const +void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::heightForWidth(arg__1); + QSplitterHandle::contextMenuEvent(event0); } -void PythonQtShell_QSpacerItem::invalidate() +void PythonQtShell_QSplitterHandle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7946,32 +7570,32 @@ if (_wrapper) { } } } - QSpacerItem::invalidate(); + QSplitterHandle::customEvent(event0); } -bool PythonQtShell_QSpacerItem::isEmpty() const +int PythonQtShell_QSplitterHandle::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isEmpty"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7979,120 +7603,87 @@ if (_wrapper) { } } } - return QSpacerItem::isEmpty(); + return QSplitterHandle::devType(); } -QSize PythonQtShell_QSpacerItem::maximumSize() const +void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::maximumSize(); + QSplitterHandle::dragEnterEvent(event0); } -int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::minimumHeightForWidth(arg__1); + QSplitterHandle::dragLeaveEvent(event0); } -QSize PythonQtShell_QSpacerItem::minimumSize() const +void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::minimumSize(); + QSplitterHandle::dragMoveEvent(event0); } -void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) +void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8100,65 +7691,54 @@ if (_wrapper) { } } } - QSpacerItem::setGeometry(arg__1); + QSplitterHandle::dropEvent(event0); } -QSize PythonQtShell_QSpacerItem::sizeHint() const +void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::sizeHint(); + QSplitterHandle::enterEvent(event0); } -QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() +bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("spacerItem"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSpacerItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8166,32 +7746,32 @@ if (_wrapper) { } } } - return QSpacerItem::spacerItem(); + return QSplitterHandle::event(arg__1); } -QWidget* PythonQtShell_QSpacerItem::widget() +bool PythonQtShell_QSplitterHandle::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widget"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QWidget**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8199,41 +7779,21 @@ if (_wrapper) { } } } - 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); } - -void PythonQtWrapper_QSpacerItem::changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) -{ - ( theWrappedObject->changeSize(w, h, hData, vData)); -} - -QSizePolicy PythonQtWrapper_QSpacerItem::sizePolicy(QSpacerItem* theWrappedObject) const -{ - return ( theWrappedObject->sizePolicy()); -} - - - -PythonQtShell_QSpinBox::~PythonQtShell_QSpinBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QSplitterHandle::eventFilter(watched0, event1); } -void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) +void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8241,65 +7801,54 @@ if (_wrapper) { } } } - QSpinBox::actionEvent(event0); + QSplitterHandle::focusInEvent(event0); } -void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) +bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::changeEvent(event0); -} -void PythonQtShell_QSpinBox::clear() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSpinBox::clear(); + return QSplitterHandle::focusNextPrevChild(next0); } -void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8307,3751 +7856,87 @@ if (_wrapper) { } } } - QSpinBox::closeEvent(event0); -} -void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::contextMenuEvent(event0); -} -int PythonQtShell_QSpinBox::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::devType(); -} -void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::dragEnterEvent(event0); -} -void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::dragLeaveEvent(event0); -} -void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::dragMoveEvent(event0); -} -void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::dropEvent(event0); -} -void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::enterEvent(event0); -} -bool PythonQtShell_QSpinBox::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::event(event0); -} -void PythonQtShell_QSpinBox::fixup(QString& str0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::fixup(str0); -} -void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::focusInEvent(event0); -} -bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::focusNextPrevChild(next0); -} -void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::focusOutEvent(event0); -} -bool PythonQtShell_QSpinBox::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::hasHeightForWidth(); -} -int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::heightForWidth(arg__1); -} -void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::hideEvent(event0); -} -void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::initPainter(painter0); -} -void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::keyPressEvent(event0); -} -void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::keyReleaseEvent(event0); -} -void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::leaveEvent(event0); -} -int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::metric(arg__1); -} -QSize PythonQtShell_QSpinBox::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::minimumSizeHint(); -} -void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::mouseMoveEvent(event0); -} -void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::mousePressEvent(event0); -} -void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::mouseReleaseEvent(event0); -} -void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::moveEvent(event0); -} -bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::paintEngine(); -} -void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::redirected(offset0); -} -void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::resizeEvent(event0); -} -void PythonQtShell_QSpinBox::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::setVisible(visible0); -} -QPainter* PythonQtShell_QSpinBox::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::sharedPainter(); -} -void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::showEvent(event0); -} -QSize PythonQtShell_QSpinBox::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::sizeHint(); -} -void PythonQtShell_QSpinBox::stepBy(int steps0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::stepBy(steps0); -} -QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepEnabled"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::stepEnabled(); -} -void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::tabletEvent(event0); -} -QString PythonQtShell_QSpinBox::textFromValue(int val0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("textFromValue"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&val0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::textFromValue(val0); -} -void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::timerEvent(event0); -} -QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::validate(input0, pos1); -} -int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valueFromText"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&text0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::valueFromText(text0); -} -void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::wheelEvent(event0); -} -QSpinBox* PythonQtWrapper_QSpinBox::new_QSpinBox(QWidget* parent) -{ -return new PythonQtShell_QSpinBox(parent); } - -const QMetaObject* PythonQtShell_QSpinBox::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSpinBox::staticMetaObject); - } else { - return &QSpinBox::staticMetaObject; - } -} -int PythonQtShell_QSpinBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSpinBox::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QSpinBox::cleanText(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->cleanText()); -} - -int PythonQtWrapper_QSpinBox::displayIntegerBase(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->displayIntegerBase()); -} - -int PythonQtWrapper_QSpinBox::maximum(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -int PythonQtWrapper_QSpinBox::minimum(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -QString PythonQtWrapper_QSpinBox::prefix(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->prefix()); -} - -void PythonQtWrapper_QSpinBox::setDisplayIntegerBase(QSpinBox* theWrappedObject, int base) -{ - ( theWrappedObject->setDisplayIntegerBase(base)); -} - -void PythonQtWrapper_QSpinBox::setMaximum(QSpinBox* theWrappedObject, int max) -{ - ( theWrappedObject->setMaximum(max)); -} - -void PythonQtWrapper_QSpinBox::setMinimum(QSpinBox* theWrappedObject, int min) -{ - ( theWrappedObject->setMinimum(min)); -} - -void PythonQtWrapper_QSpinBox::setPrefix(QSpinBox* theWrappedObject, const QString& prefix) -{ - ( theWrappedObject->setPrefix(prefix)); -} - -void PythonQtWrapper_QSpinBox::setRange(QSpinBox* theWrappedObject, int min, int max) -{ - ( theWrappedObject->setRange(min, max)); -} - -void PythonQtWrapper_QSpinBox::setSingleStep(QSpinBox* theWrappedObject, int val) -{ - ( theWrappedObject->setSingleStep(val)); -} - -void PythonQtWrapper_QSpinBox::setSuffix(QSpinBox* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setSuffix(suffix)); -} - -int PythonQtWrapper_QSpinBox::singleStep(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->singleStep()); -} - -QString PythonQtWrapper_QSpinBox::suffix(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->suffix()); -} - -QString PythonQtWrapper_QSpinBox::textFromValue(QSpinBox* theWrappedObject, int val) const -{ - return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_textFromValue(val)); -} - -int PythonQtWrapper_QSpinBox::value(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -int PythonQtWrapper_QSpinBox::valueFromText(QSpinBox* theWrappedObject, const QString& text) const -{ - return ( ((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->promoted_valueFromText(text)); -} - - - -PythonQtShell_QSplashScreen::~PythonQtShell_QSplashScreen() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::actionEvent(event0); -} -void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::changeEvent(arg__1); -} -void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::closeEvent(event0); -} -void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::contextMenuEvent(event0); -} -int PythonQtShell_QSplashScreen::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::devType(); -} -void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::dragEnterEvent(event0); -} -void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::dragLeaveEvent(event0); -} -void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::dragMoveEvent(event0); -} -void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawContents"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::drawContents(painter0); -} -void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::dropEvent(event0); -} -void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::enterEvent(event0); -} -bool PythonQtShell_QSplashScreen::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::event(e0); -} -void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::focusInEvent(event0); -} -bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::focusNextPrevChild(next0); -} -void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::focusOutEvent(event0); -} -bool PythonQtShell_QSplashScreen::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::hasHeightForWidth(); -} -int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::heightForWidth(arg__1); -} -void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::hideEvent(event0); -} -void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::initPainter(painter0); -} -void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::inputMethodQuery(arg__1); -} -void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::keyPressEvent(event0); -} -void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::keyReleaseEvent(event0); -} -void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::leaveEvent(event0); -} -int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::metric(arg__1); -} -QSize PythonQtShell_QSplashScreen::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::minimumSizeHint(); -} -void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::mouseMoveEvent(event0); -} -void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::mousePressEvent(arg__1); -} -void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::mouseReleaseEvent(event0); -} -void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::moveEvent(event0); -} -bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::paintEngine(); -} -void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::redirected(offset0); -} -void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::resizeEvent(event0); -} -void PythonQtShell_QSplashScreen::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::setVisible(visible0); -} -QPainter* PythonQtShell_QSplashScreen::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::sharedPainter(); -} -void PythonQtShell_QSplashScreen::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::showEvent(event0); -} -QSize PythonQtShell_QSplashScreen::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::sizeHint(); -} -void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::tabletEvent(event0); -} -void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplashScreen::wheelEvent(event0); -} -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); } - -const QMetaObject* PythonQtShell_QSplashScreen::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplashScreen::staticMetaObject); - } else { - return &QSplashScreen::staticMetaObject; - } -} -int PythonQtShell_QSplashScreen::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSplashScreen::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QSplashScreen::drawContents(QSplashScreen* theWrappedObject, QPainter* painter) -{ - ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_drawContents(painter)); -} - -void PythonQtWrapper_QSplashScreen::finish(QSplashScreen* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->finish(w)); -} - -QString PythonQtWrapper_QSplashScreen::message(QSplashScreen* theWrappedObject) const -{ - return ( theWrappedObject->message()); -} - -const QPixmap PythonQtWrapper_QSplashScreen::pixmap(QSplashScreen* theWrappedObject) const -{ - return ( theWrappedObject->pixmap()); -} - -void PythonQtWrapper_QSplashScreen::setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(pixmap)); -} - - - -PythonQtShell_QSplitter::~PythonQtShell_QSplitter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSplitter::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::actionEvent(event0); -} -void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::changeEvent(arg__1); -} -void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSplitter::childEvent(arg__1); -} -void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::closeEvent(event0); -} -void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::contextMenuEvent(event0); -} -QSplitterHandle* PythonQtShell_QSplitter::createHandle() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createHandle"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::createHandle(); -} -int PythonQtShell_QSplitter::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::devType(); -} -void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::dragEnterEvent(event0); -} -void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::dragLeaveEvent(event0); -} -void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::dragMoveEvent(event0); -} -void PythonQtShell_QSplitter::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::dropEvent(event0); -} -void PythonQtShell_QSplitter::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::enterEvent(event0); -} -bool PythonQtShell_QSplitter::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::event(arg__1); -} -void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::focusInEvent(event0); -} -bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::focusNextPrevChild(next0); -} -void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::focusOutEvent(event0); -} -bool PythonQtShell_QSplitter::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::hasHeightForWidth(); -} -int PythonQtShell_QSplitter::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::heightForWidth(arg__1); -} -void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::hideEvent(event0); -} -void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::initPainter(painter0); -} -void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSplitter::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::inputMethodQuery(arg__1); -} -void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::keyPressEvent(event0); -} -void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::keyReleaseEvent(event0); -} -void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::leaveEvent(event0); -} -int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::metric(arg__1); -} -QSize PythonQtShell_QSplitter::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::minimumSizeHint(); -} -void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::mouseMoveEvent(event0); -} -void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::mousePressEvent(event0); -} -void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::mouseReleaseEvent(event0); -} -void PythonQtShell_QSplitter::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::moveEvent(event0); -} -bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QSplitter::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::paintEngine(); -} -void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSplitter::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::redirected(offset0); -} -void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSplitter::resizeEvent(arg__1); -} -void PythonQtShell_QSplitter::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::setVisible(visible0); -} -QPainter* PythonQtShell_QSplitter::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::sharedPainter(); -} -void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::showEvent(event0); -} -QSize PythonQtShell_QSplitter::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::sizeHint(); -} -void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::tabletEvent(event0); -} -void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSplitter::wheelEvent(event0); -} -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); } - -const QMetaObject* PythonQtShell_QSplitter::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplitter::staticMetaObject); - } else { - return &QSplitter::staticMetaObject; - } -} -int PythonQtShell_QSplitter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSplitter::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QSplitter::addWidget(QSplitter* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->addWidget(widget)); -} - -void PythonQtWrapper_QSplitter::childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_childEvent(arg__1)); -} - -bool PythonQtWrapper_QSplitter::childrenCollapsible(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->childrenCollapsible()); -} - -int PythonQtWrapper_QSplitter::closestLegalPosition(QSplitter* theWrappedObject, int arg__1, int arg__2) -{ - return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_closestLegalPosition(arg__1, arg__2)); -} - -int PythonQtWrapper_QSplitter::count(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QSplitterHandle* PythonQtWrapper_QSplitter::createHandle(QSplitter* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_createHandle()); -} - -QSplitterHandle* PythonQtWrapper_QSplitter::handle(QSplitter* theWrappedObject, int index) const -{ - return ( theWrappedObject->handle(index)); -} - -int PythonQtWrapper_QSplitter::handleWidth(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->handleWidth()); -} - -int PythonQtWrapper_QSplitter::indexOf(QSplitter* theWrappedObject, QWidget* w) const -{ - return ( theWrappedObject->indexOf(w)); -} - -void PythonQtWrapper_QSplitter::insertWidget(QSplitter* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->insertWidget(index, widget)); -} - -bool PythonQtWrapper_QSplitter::isCollapsible(QSplitter* theWrappedObject, int index) const -{ - return ( theWrappedObject->isCollapsible(index)); -} - -QSize PythonQtWrapper_QSplitter::minimumSizeHint(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -void PythonQtWrapper_QSplitter::moveSplitter(QSplitter* theWrappedObject, int pos, int index) -{ - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_moveSplitter(pos, index)); -} - -bool PythonQtWrapper_QSplitter::opaqueResize(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->opaqueResize()); -} - -void PythonQtWrapper_QSplitter::writeTo(QSplitter* theWrappedObject, QTextStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QSplitter::readFrom(QSplitter* theWrappedObject, QTextStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -Qt::Orientation PythonQtWrapper_QSplitter::orientation(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QSplitter::refresh(QSplitter* theWrappedObject) -{ - ( theWrappedObject->refresh()); -} - -QWidget* PythonQtWrapper_QSplitter::replaceWidget(QSplitter* theWrappedObject, int index, QWidget* widget) -{ - return ( theWrappedObject->replaceWidget(index, widget)); -} - -bool PythonQtWrapper_QSplitter::restoreState(QSplitter* theWrappedObject, const QByteArray& state) -{ - return ( theWrappedObject->restoreState(state)); -} - -QByteArray PythonQtWrapper_QSplitter::saveState(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->saveState()); -} - -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)); -} - -void PythonQtWrapper_QSplitter::setHandleWidth(QSplitter* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setHandleWidth(arg__1)); -} - -void PythonQtWrapper_QSplitter::setOpaqueResize(QSplitter* theWrappedObject, bool opaque) -{ - ( theWrappedObject->setOpaqueResize(opaque)); -} - -void PythonQtWrapper_QSplitter::setOrientation(QSplitter* theWrappedObject, Qt::Orientation arg__1) -{ - ( theWrappedObject->setOrientation(arg__1)); -} - -void PythonQtWrapper_QSplitter::setRubberBand(QSplitter* theWrappedObject, int position) -{ - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_setRubberBand(position)); -} - -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)); -} - -QList PythonQtWrapper_QSplitter::sizes(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->sizes()); -} - -QWidget* PythonQtWrapper_QSplitter::widget(QSplitter* theWrappedObject, int index) const -{ - return ( theWrappedObject->widget(index)); -} - - - -PythonQtShell_QSplitterHandle::~PythonQtShell_QSplitterHandle() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QSplitterHandle::focusOutEvent(event0); } -void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* event0) +bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::actionEvent(event0); + return QSplitterHandle::hasHeightForWidth(); } -void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) +int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::changeEvent(arg__1); + return QSplitterHandle::heightForWidth(arg__1); } -void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12059,21 +7944,21 @@ if (_wrapper) { } } } - QSplitterHandle::closeEvent(event0); + QSplitterHandle::hideEvent(event0); } -void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12081,76 +7966,76 @@ if (_wrapper) { } } } - QSplitterHandle::contextMenuEvent(event0); + QSplitterHandle::initPainter(painter0); } -int PythonQtShell_QSplitterHandle::devType() const +void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::devType(); + QSplitterHandle::inputMethodEvent(arg__1); } -void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) +QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::dragEnterEvent(event0); + return QSplitterHandle::inputMethodQuery(arg__1); } -void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12158,21 +8043,21 @@ if (_wrapper) { } } } - QSplitterHandle::dragLeaveEvent(event0); + QSplitterHandle::keyPressEvent(event0); } -void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12180,21 +8065,21 @@ if (_wrapper) { } } } - QSplitterHandle::dragMoveEvent(event0); + QSplitterHandle::keyReleaseEvent(event0); } -void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) +void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12202,54 +8087,65 @@ if (_wrapper) { } } } - QSplitterHandle::dropEvent(event0); + QSplitterHandle::leaveEvent(event0); } -void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) +int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::enterEvent(event0); + return QSplitterHandle::metric(arg__1); } -bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) +QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12257,21 +8153,21 @@ if (_wrapper) { } } } - return QSplitterHandle::event(arg__1); + return QSplitterHandle::minimumSizeHint(); } -void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12279,54 +8175,43 @@ if (_wrapper) { } } } - QSplitterHandle::focusInEvent(event0); + QSplitterHandle::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) +void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::focusNextPrevChild(next0); + QSplitterHandle::mouseMoveEvent(arg__1); } -void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12334,131 +8219,131 @@ if (_wrapper) { } } } - QSplitterHandle::focusOutEvent(event0); + QSplitterHandle::mousePressEvent(arg__1); } -bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const +void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::hasHeightForWidth(); + QSplitterHandle::mouseReleaseEvent(arg__1); } -int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const +void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::heightForWidth(arg__1); + QSplitterHandle::moveEvent(event0); } -void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) +bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::hideEvent(event0); + return QSplitterHandle::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const +QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::initPainter(painter0); + return QSplitterHandle::paintEngine(); } -void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12466,32 +8351,32 @@ if (_wrapper) { } } } - QSplitterHandle::inputMethodEvent(arg__1); + QSplitterHandle::paintEvent(arg__1); } -QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12499,21 +8384,21 @@ if (_wrapper) { } } } - return QSplitterHandle::inputMethodQuery(arg__1); + return QSplitterHandle::redirected(offset0); } -void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12521,21 +8406,21 @@ if (_wrapper) { } } } - QSplitterHandle::keyPressEvent(event0); + QSplitterHandle::resizeEvent(arg__1); } -void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSplitterHandle::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12543,87 +8428,87 @@ if (_wrapper) { } } } - QSplitterHandle::keyReleaseEvent(event0); + QSplitterHandle::setVisible(visible0); } -void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) +QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::leaveEvent(event0); + return QSplitterHandle::sharedPainter(); } -int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::metric(arg__1); + QSplitterHandle::showEvent(event0); } -QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const +QSize PythonQtShell_QSplitterHandle::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12631,21 +8516,21 @@ if (_wrapper) { } } } - return QSplitterHandle::minimumSizeHint(); + return QSplitterHandle::sizeHint(); } -void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12653,21 +8538,21 @@ if (_wrapper) { } } } - QSplitterHandle::mouseDoubleClickEvent(event0); + QSplitterHandle::tabletEvent(event0); } -void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12675,21 +8560,21 @@ if (_wrapper) { } } } - QSplitterHandle::mouseMoveEvent(arg__1); + QSplitterHandle::timerEvent(event0); } -void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12697,21 +8582,79 @@ if (_wrapper) { } } } - QSplitterHandle::mousePressEvent(arg__1); + QSplitterHandle::wheelEvent(event0); } -void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) +QSplitterHandle* PythonQtWrapper_QSplitterHandle::new_QSplitterHandle(Qt::Orientation o, QSplitter* parent) +{ +return new PythonQtShell_QSplitterHandle(o, parent); } + +const QMetaObject* PythonQtShell_QSplitterHandle::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplitterHandle::staticMetaObject); + } else { + return &QSplitterHandle::staticMetaObject; + } +} +int PythonQtShell_QSplitterHandle::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSplitterHandle::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QSplitterHandle::closestLegalPosition(QSplitterHandle* theWrappedObject, int p) +{ + return ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_closestLegalPosition(p)); +} + +void PythonQtWrapper_QSplitterHandle::moveSplitter(QSplitterHandle* theWrappedObject, int p) +{ + ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_moveSplitter(p)); +} + +bool PythonQtWrapper_QSplitterHandle::opaqueResize(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->opaqueResize()); +} + +Qt::Orientation PythonQtWrapper_QSplitterHandle::orientation(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QSplitterHandle::setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o) +{ + ( theWrappedObject->setOrientation(o)); +} + +QSize PythonQtWrapper_QSplitterHandle::sizeHint(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QSplitter* PythonQtWrapper_QSplitterHandle::splitter(QSplitterHandle* theWrappedObject) const +{ + return ( theWrappedObject->splitter()); +} + + + +PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12719,21 +8662,21 @@ if (_wrapper) { } } } - QSplitterHandle::mouseReleaseEvent(arg__1); + QStackedLayout::addItem(item0); } -void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) +void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12741,32 +8684,32 @@ if (_wrapper) { } } } - QSplitterHandle::moveEvent(event0); + QStackedLayout::childEvent(e0); } -bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12774,32 +8717,32 @@ if (_wrapper) { } } } - return QSplitterHandle::nativeEvent(eventType0, message1, result2); + return QStackedLayout::controlTypes(); } -QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const +int PythonQtShell_QStackedLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12807,21 +8750,21 @@ if (_wrapper) { } } } - return QSplitterHandle::paintEngine(); + return QStackedLayout::count(); } -void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QStackedLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12829,32 +8772,32 @@ if (_wrapper) { } } } - QSplitterHandle::paintEvent(arg__1); + QStackedLayout::customEvent(event0); } -QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const +bool PythonQtShell_QStackedLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12862,76 +8805,98 @@ if (_wrapper) { } } } - return QSplitterHandle::redirected(offset0); + return QStackedLayout::event(event0); } -void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) +bool PythonQtShell_QStackedLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::resizeEvent(arg__1); + return QStackedLayout::eventFilter(watched0, event1); } -void PythonQtShell_QSplitterHandle::setVisible(bool visible0) +Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::setVisible(visible0); + return QStackedLayout::expandingDirections(); } -QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const +QRect PythonQtShell_QStackedLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12939,54 +8904,65 @@ if (_wrapper) { } } } - return QSplitterHandle::sharedPainter(); + return QStackedLayout::geometry(); } -void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) +bool PythonQtShell_QStackedLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::showEvent(event0); + return QStackedLayout::hasHeightForWidth(); } -QSize PythonQtShell_QSplitterHandle::sizeHint() const +int PythonQtShell_QStackedLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12994,43 +8970,54 @@ if (_wrapper) { } } } - return QSplitterHandle::sizeHint(); + return QStackedLayout::heightForWidth(width0); } -void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) +int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::tabletEvent(event0); + return QStackedLayout::indexOf(arg__1); } -void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QStackedLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13038,112 +9025,65 @@ if (_wrapper) { } } } - QSplitterHandle::wheelEvent(event0); -} -QSplitterHandle* PythonQtWrapper_QSplitterHandle::new_QSplitterHandle(Qt::Orientation o, QSplitter* parent) -{ -return new PythonQtShell_QSplitterHandle(o, parent); } - -const QMetaObject* PythonQtShell_QSplitterHandle::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplitterHandle::staticMetaObject); - } else { - return &QSplitterHandle::staticMetaObject; - } -} -int PythonQtShell_QSplitterHandle::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSplitterHandle::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QSplitterHandle::closestLegalPosition(QSplitterHandle* theWrappedObject, int p) -{ - return ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_closestLegalPosition(p)); -} - -void PythonQtWrapper_QSplitterHandle::moveSplitter(QSplitterHandle* theWrappedObject, int p) -{ - ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_moveSplitter(p)); -} - -bool PythonQtWrapper_QSplitterHandle::opaqueResize(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->opaqueResize()); -} - -Qt::Orientation PythonQtWrapper_QSplitterHandle::orientation(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QSplitterHandle::setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o) -{ - ( theWrappedObject->setOrientation(o)); -} - -QSize PythonQtWrapper_QSplitterHandle::sizeHint(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QSplitter* PythonQtWrapper_QSplitterHandle::splitter(QSplitterHandle* theWrappedObject) const -{ - return ( theWrappedObject->splitter()); + QStackedLayout::invalidate(); } - - - -PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) +bool PythonQtShell_QStackedLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QStackedLayout::addItem(item0); + return QStackedLayout::isEmpty(); } -int PythonQtShell_QStackedLayout::count() const +QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13151,32 +9091,32 @@ if (_wrapper) { } } } - return QStackedLayout::count(); + return QStackedLayout::itemAt(arg__1); } -bool PythonQtShell_QStackedLayout::hasHeightForWidth() const +QLayout* PythonQtShell_QStackedLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13184,32 +9124,32 @@ if (_wrapper) { } } } - return QStackedLayout::hasHeightForWidth(); + return QStackedLayout::layout(); } -int PythonQtShell_QStackedLayout::heightForWidth(int width0) const +QSize PythonQtShell_QStackedLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&width0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13217,32 +9157,32 @@ if (_wrapper) { } } } - return QStackedLayout::heightForWidth(width0); + return QStackedLayout::maximumSize(); } -QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const +int PythonQtShell_QStackedLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13250,7 +9190,7 @@ if (_wrapper) { } } } - return QStackedLayout::itemAt(arg__1); + return QStackedLayout::minimumHeightForWidth(arg__1); } QSize PythonQtShell_QStackedLayout::minimumSize() const { @@ -13263,19 +9203,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13295,9 +9235,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13305,32 +9245,65 @@ if (_wrapper) { } } } - QStackedLayout::setGeometry(rect0); + QStackedLayout::setGeometry(rect0); +} +QSize PythonQtShell_QStackedLayout::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::sizeHint(); } -QSize PythonQtShell_QStackedLayout::sizeHint() const +QSpacerItem* PythonQtShell_QStackedLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13338,7 +9311,7 @@ if (_wrapper) { } } } - return QStackedLayout::sizeHint(); + return QStackedLayout::spacerItem(); } QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { @@ -13351,19 +9324,19 @@ if (_wrapper) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13373,10 +9346,36 @@ if (_wrapper) { } return QStackedLayout::takeAt(arg__1); } +void PythonQtShell_QStackedLayout::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedLayout::timerEvent(event0); +} 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); } @@ -13394,21 +9393,11 @@ int PythonQtShell_QStackedLayout::qt_metacall(QMetaObject::Call call, int id, vo int result = QStackedLayout::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QStackedLayout::addItem(QStackedLayout* theWrappedObject, QLayoutItem* item) -{ - ( theWrappedObject->addItem(item)); -} - int PythonQtWrapper_QStackedLayout::addWidget(QStackedLayout* theWrappedObject, QWidget* w) { return ( theWrappedObject->addWidget(w)); } -int PythonQtWrapper_QStackedLayout::count(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - int PythonQtWrapper_QStackedLayout::currentIndex(QStackedLayout* theWrappedObject) const { return ( theWrappedObject->currentIndex()); @@ -13419,56 +9408,21 @@ QWidget* PythonQtWrapper_QStackedLayout::currentWidget(QStackedLayout* theWrapp return ( theWrappedObject->currentWidget()); } -bool PythonQtWrapper_QStackedLayout::hasHeightForWidth(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QStackedLayout::heightForWidth(QStackedLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - int PythonQtWrapper_QStackedLayout::insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w) { return ( theWrappedObject->insertWidget(index, w)); } -QLayoutItem* PythonQtWrapper_QStackedLayout::itemAt(QStackedLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->itemAt(arg__1)); -} - -QSize PythonQtWrapper_QStackedLayout::minimumSize(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -void PythonQtWrapper_QStackedLayout::setGeometry(QStackedLayout* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - void PythonQtWrapper_QStackedLayout::setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode) { ( theWrappedObject->setStackingMode(stackingMode)); } -QSize PythonQtWrapper_QStackedLayout::sizeHint(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - QStackedLayout::StackingMode PythonQtWrapper_QStackedLayout::stackingMode(QStackedLayout* theWrappedObject) const { return ( theWrappedObject->stackingMode()); } -QLayoutItem* PythonQtWrapper_QStackedLayout::takeAt(QStackedLayout* theWrappedObject, int arg__1) -{ - return ( theWrappedObject->takeAt(arg__1)); -} - QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject, int arg__1) const { return ( theWrappedObject->widget(arg__1)); @@ -13490,9 +9444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13512,9 +9466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13524,6 +9478,28 @@ if (_wrapper) { } QStackedWidget::changeEvent(arg__1); } +void PythonQtShell_QStackedWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::childEvent(event0); +} void PythonQtShell_QStackedWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -13534,9 +9510,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13556,9 +9532,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13568,6 +9544,28 @@ if (_wrapper) { } QStackedWidget::contextMenuEvent(event0); } +void PythonQtShell_QStackedWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::customEvent(event0); +} int PythonQtShell_QStackedWidget::devType() const { if (_wrapper) { @@ -13579,19 +9577,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13611,9 +9609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13633,9 +9631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13655,9 +9653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13677,9 +9675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13699,9 +9697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13722,19 +9720,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13744,6 +9742,39 @@ if (_wrapper) { } return QStackedWidget::event(e0); } +bool PythonQtShell_QStackedWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedWidget::eventFilter(watched0, event1); +} void PythonQtShell_QStackedWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -13754,9 +9785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13777,19 +9808,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13809,9 +9840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13832,19 +9863,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13865,19 +9896,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13897,9 +9928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13919,9 +9950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13941,9 +9972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13964,19 +9995,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13996,9 +10027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14018,9 +10049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14040,9 +10071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14063,19 +10094,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14096,19 +10127,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14128,9 +10159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14150,9 +10181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14172,9 +10203,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14194,9 +10225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14216,9 +10247,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14239,19 +10270,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14272,19 +10303,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14304,9 +10335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14327,19 +10358,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14359,9 +10390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14381,9 +10412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14404,19 +10435,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14436,9 +10467,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14459,19 +10490,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14491,9 +10522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14503,6 +10534,28 @@ if (_wrapper) { } QStackedWidget::tabletEvent(event0); } +void PythonQtShell_QStackedWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStackedWidget::timerEvent(event0); +} void PythonQtShell_QStackedWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -14513,9 +10566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14599,19 +10652,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStandardItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStandardItem* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { returnValue = *((QStandardItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14632,19 +10685,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&role0}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14654,39 +10707,6 @@ if (_wrapper) { } return QStandardItem::data(role0); } -bool PythonQtShell_QStandardItem::__lt__(const QStandardItem& other0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QStandardItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStandardItem::operator<(other0); -} void PythonQtShell_QStandardItem::read(QDataStream& in0) { if (_wrapper) { @@ -14697,9 +10717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14719,9 +10739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&value0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&value0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14742,19 +10762,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14774,9 +10794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15258,19 +11278,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15291,19 +11311,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15324,19 +11344,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15346,6 +11366,28 @@ if (_wrapper) { } return QStandardItemModel::canFetchMore(parent0); } +void PythonQtShell_QStandardItemModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItemModel::childEvent(event0); +} int PythonQtShell_QStandardItemModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { @@ -15357,19 +11399,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15379,6 +11421,28 @@ if (_wrapper) { } return QStandardItemModel::columnCount(parent0); } +void PythonQtShell_QStandardItemModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItemModel::customEvent(event0); +} QVariant PythonQtShell_QStandardItemModel::data(const QModelIndex& index0, int role1) const { if (_wrapper) { @@ -15390,19 +11454,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15420,22 +11484,88 @@ if (_wrapper) { static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + 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] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QStandardItemModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStandardItemModel::event(event0); +} +bool PythonQtShell_QStandardItemModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15443,7 +11573,7 @@ if (_wrapper) { } } } - return QStandardItemModel::dropMimeData(data0, action1, row2, column3, parent4); + return QStandardItemModel::eventFilter(watched0, event1); } void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { @@ -15455,9 +11585,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15478,19 +11608,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15511,19 +11641,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15544,19 +11674,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15577,19 +11707,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15610,19 +11740,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15643,19 +11773,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15676,19 +11806,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15709,19 +11839,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15742,19 +11872,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15775,19 +11905,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15808,19 +11938,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15841,19 +11971,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15874,19 +12004,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15907,19 +12037,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15940,19 +12070,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15972,9 +12102,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15995,19 +12125,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16028,19 +12158,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16061,19 +12191,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16094,19 +12224,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16127,19 +12257,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16160,19 +12290,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16192,9 +12322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16215,19 +12345,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16248,19 +12378,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16281,19 +12411,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16314,19 +12444,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16336,6 +12466,28 @@ if (_wrapper) { } return QStandardItemModel::supportedDropActions(); } +void PythonQtShell_QStandardItemModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStandardItemModel::timerEvent(event0); +} QStandardItemModel* PythonQtWrapper_QStandardItemModel::new_QStandardItemModel(QObject* parent) { return new PythonQtShell_QStandardItemModel(parent); } @@ -16524,6 +12676,100 @@ QStandardItem* PythonQtWrapper_QStandardItemModel::verticalHeaderItem(QStandard +QStaticText* PythonQtWrapper_QStaticText::new_QStaticText() +{ +return new QStaticText(); } + +QStaticText* PythonQtWrapper_QStaticText::new_QStaticText(const QStaticText& other) +{ +return new QStaticText(other); } + +QStaticText* PythonQtWrapper_QStaticText::new_QStaticText(const QString& text) +{ +return new QStaticText(text); } + +bool PythonQtWrapper_QStaticText::__ne__(QStaticText* theWrappedObject, const QStaticText& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QStaticText* PythonQtWrapper_QStaticText::operator_assign(QStaticText* theWrappedObject, const QStaticText& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QStaticText::__eq__(QStaticText* theWrappedObject, const QStaticText& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QStaticText::PerformanceHint PythonQtWrapper_QStaticText::performanceHint(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->performanceHint()); +} + +void PythonQtWrapper_QStaticText::prepare(QStaticText* theWrappedObject, const QTransform& matrix, const QFont& font) +{ + ( theWrappedObject->prepare(matrix, font)); +} + +void PythonQtWrapper_QStaticText::setPerformanceHint(QStaticText* theWrappedObject, QStaticText::PerformanceHint performanceHint) +{ + ( theWrappedObject->setPerformanceHint(performanceHint)); +} + +void PythonQtWrapper_QStaticText::setText(QStaticText* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QStaticText::setTextFormat(QStaticText* theWrappedObject, Qt::TextFormat textFormat) +{ + ( theWrappedObject->setTextFormat(textFormat)); +} + +void PythonQtWrapper_QStaticText::setTextOption(QStaticText* theWrappedObject, const QTextOption& textOption) +{ + ( theWrappedObject->setTextOption(textOption)); +} + +void PythonQtWrapper_QStaticText::setTextWidth(QStaticText* theWrappedObject, qreal textWidth) +{ + ( theWrappedObject->setTextWidth(textWidth)); +} + +QSizeF PythonQtWrapper_QStaticText::size(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QStaticText::swap(QStaticText* theWrappedObject, QStaticText& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QStaticText::text(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +Qt::TextFormat PythonQtWrapper_QStaticText::textFormat(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->textFormat()); +} + +QTextOption PythonQtWrapper_QStaticText::textOption(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->textOption()); +} + +qreal PythonQtWrapper_QStaticText::textWidth(QStaticText* theWrappedObject) const +{ + return ( theWrappedObject->textWidth()); +} + + + PythonQtShell_QStatusBar::~PythonQtShell_QStatusBar() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -16538,9 +12784,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16560,9 +12806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16572,6 +12818,28 @@ if (_wrapper) { } QStatusBar::changeEvent(arg__1); } +void PythonQtShell_QStatusBar::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::childEvent(event0); +} void PythonQtShell_QStatusBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -16582,9 +12850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16604,9 +12872,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16616,6 +12884,28 @@ if (_wrapper) { } QStatusBar::contextMenuEvent(event0); } +void PythonQtShell_QStatusBar::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::customEvent(event0); +} int PythonQtShell_QStatusBar::devType() const { if (_wrapper) { @@ -16627,19 +12917,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16659,9 +12949,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16681,9 +12971,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16703,9 +12993,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16725,9 +13015,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16747,9 +13037,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16770,19 +13060,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16792,6 +13082,39 @@ if (_wrapper) { } return QStatusBar::event(arg__1); } +bool PythonQtShell_QStatusBar::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStatusBar::eventFilter(watched0, event1); +} void PythonQtShell_QStatusBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -16802,9 +13125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16825,19 +13148,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16857,9 +13180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16880,19 +13203,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16913,19 +13236,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16945,9 +13268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16967,9 +13290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16989,9 +13312,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17012,19 +13335,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17044,9 +13367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17066,9 +13389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17088,9 +13411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17111,19 +13434,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17144,19 +13467,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17176,9 +13499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17198,9 +13521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17220,9 +13543,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17242,9 +13565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17264,9 +13587,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17287,19 +13610,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17320,19 +13643,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17352,9 +13675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17375,19 +13698,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17407,9 +13730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17429,9 +13752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17452,19 +13775,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17484,9 +13807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17507,19 +13830,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17539,9 +13862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17551,6 +13874,28 @@ if (_wrapper) { } QStatusBar::tabletEvent(event0); } +void PythonQtShell_QStatusBar::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStatusBar::timerEvent(event0); +} void PythonQtShell_QStatusBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -17561,9 +13906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17668,19 +14013,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17701,19 +14046,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17734,19 +14079,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17756,6 +14101,50 @@ if (_wrapper) { } return QStringListModel::canFetchMore(parent0); } +void PythonQtShell_QStringListModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStringListModel::childEvent(event0); +} +void PythonQtShell_QStringListModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStringListModel::customEvent(event0); +} QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int role1) const { if (_wrapper) { @@ -17767,19 +14156,85 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::data(index0, role1); +} +bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringListModel::dropMimeData(data0, action1, row2, column3, parent4); +} +bool PythonQtShell_QStringListModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17787,32 +14242,32 @@ if (_wrapper) { } } } - return QStringListModel::data(index0, role1); + return QStringListModel::event(event0); } -bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +bool PythonQtShell_QStringListModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*" , "Qt::DropAction" , "int" , "int" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17820,7 +14275,7 @@ if (_wrapper) { } } } - return QStringListModel::dropMimeData(data0, action1, row2, column3, parent4); + return QStringListModel::eventFilter(watched0, event1); } void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { @@ -17832,9 +14287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17855,19 +14310,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17888,19 +14343,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17921,19 +14376,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17954,19 +14409,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17987,19 +14442,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18020,19 +14475,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18053,19 +14508,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18086,19 +14541,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18119,19 +14574,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18152,19 +14607,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18185,19 +14640,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18218,19 +14673,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18251,19 +14706,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18283,9 +14738,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18306,19 +14761,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18339,19 +14794,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18372,19 +14827,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18405,19 +14860,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18438,19 +14893,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18471,19 +14926,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18503,9 +14958,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18526,19 +14981,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18559,19 +15014,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18592,19 +15047,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18625,19 +15080,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18647,6 +15102,28 @@ if (_wrapper) { } return QStringListModel::supportedDropActions(); } +void PythonQtShell_QStringListModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStringListModel::timerEvent(event0); +} QStringListModel* PythonQtWrapper_QStringListModel::new_QStringListModel(QObject* parent) { return new PythonQtShell_QStringListModel(parent); } @@ -18861,3 +15338,366 @@ QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int ve return new PythonQtShell_QStyleHintReturn(version, type); } + +PythonQtShell_QStyleHintReturnMask::~PythonQtShell_QStyleHintReturnMask() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() +{ +return new PythonQtShell_QStyleHintReturnMask(); } + + + +PythonQtShell_QStyleHintReturnVariant::~PythonQtShell_QStyleHintReturnVariant() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() +{ +return new PythonQtShell_QStyleHintReturnVariant(); } + + + +int PythonQtWrapper_QStyleHints::cursorFlashTime(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->cursorFlashTime()); +} + +qreal PythonQtWrapper_QStyleHints::fontSmoothingGamma(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->fontSmoothingGamma()); +} + +int PythonQtWrapper_QStyleHints::keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->keyboardAutoRepeatRate()); +} + +int PythonQtWrapper_QStyleHints::keyboardInputInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->keyboardInputInterval()); +} + +int PythonQtWrapper_QStyleHints::mouseDoubleClickDistance(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mouseDoubleClickDistance()); +} + +int PythonQtWrapper_QStyleHints::mouseDoubleClickInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mouseDoubleClickInterval()); +} + +int PythonQtWrapper_QStyleHints::mousePressAndHoldInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mousePressAndHoldInterval()); +} + +int PythonQtWrapper_QStyleHints::mouseQuickSelectionThreshold(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mouseQuickSelectionThreshold()); +} + +QChar PythonQtWrapper_QStyleHints::passwordMaskCharacter(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->passwordMaskCharacter()); +} + +int PythonQtWrapper_QStyleHints::passwordMaskDelay(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->passwordMaskDelay()); +} + +void PythonQtWrapper_QStyleHints::setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime) +{ + ( theWrappedObject->setCursorFlashTime(cursorFlashTime)); +} + +bool PythonQtWrapper_QStyleHints::setFocusOnTouchRelease(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->setFocusOnTouchRelease()); +} + +void PythonQtWrapper_QStyleHints::setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval) +{ + ( theWrappedObject->setKeyboardInputInterval(keyboardInputInterval)); +} + +void PythonQtWrapper_QStyleHints::setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval) +{ + ( theWrappedObject->setMouseDoubleClickInterval(mouseDoubleClickInterval)); +} + +void PythonQtWrapper_QStyleHints::setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval) +{ + ( theWrappedObject->setMousePressAndHoldInterval(mousePressAndHoldInterval)); +} + +void PythonQtWrapper_QStyleHints::setMouseQuickSelectionThreshold(QStyleHints* theWrappedObject, int threshold) +{ + ( theWrappedObject->setMouseQuickSelectionThreshold(threshold)); +} + +void PythonQtWrapper_QStyleHints::setShowShortcutsInContextMenus(QStyleHints* theWrappedObject, bool showShortcutsInContextMenus) +{ + ( theWrappedObject->setShowShortcutsInContextMenus(showShortcutsInContextMenus)); +} + +void PythonQtWrapper_QStyleHints::setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance) +{ + ( theWrappedObject->setStartDragDistance(startDragDistance)); +} + +void PythonQtWrapper_QStyleHints::setStartDragTime(QStyleHints* theWrappedObject, int startDragTime) +{ + ( theWrappedObject->setStartDragTime(startDragTime)); +} + +void PythonQtWrapper_QStyleHints::setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior) +{ + ( theWrappedObject->setTabFocusBehavior(tabFocusBehavior)); +} + +void PythonQtWrapper_QStyleHints::setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects) +{ + ( theWrappedObject->setUseHoverEffects(useHoverEffects)); +} + +void PythonQtWrapper_QStyleHints::setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines) +{ + ( theWrappedObject->setWheelScrollLines(scrollLines)); +} + +bool PythonQtWrapper_QStyleHints::showIsFullScreen(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showIsFullScreen()); +} + +bool PythonQtWrapper_QStyleHints::showIsMaximized(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showIsMaximized()); +} + +bool PythonQtWrapper_QStyleHints::showShortcutsInContextMenus(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showShortcutsInContextMenus()); +} + +bool PythonQtWrapper_QStyleHints::singleClickActivation(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->singleClickActivation()); +} + +int PythonQtWrapper_QStyleHints::startDragDistance(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragDistance()); +} + +int PythonQtWrapper_QStyleHints::startDragTime(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragTime()); +} + +int PythonQtWrapper_QStyleHints::startDragVelocity(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragVelocity()); +} + +Qt::TabFocusBehavior PythonQtWrapper_QStyleHints::tabFocusBehavior(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->tabFocusBehavior()); +} + +int PythonQtWrapper_QStyleHints::touchDoubleTapDistance(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->touchDoubleTapDistance()); +} + +bool PythonQtWrapper_QStyleHints::useHoverEffects(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->useHoverEffects()); +} + +bool PythonQtWrapper_QStyleHints::useRtlExtensions(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->useRtlExtensions()); +} + +int PythonQtWrapper_QStyleHints::wheelScrollLines(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->wheelScrollLines()); +} + + + +PythonQtShell_QStyleOption::~PythonQtShell_QStyleOption() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +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)); +} + +QString PythonQtWrapper_QStyleOption::py_toString(QStyleOption* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QStyleOptionButton::~PythonQtShell_QStyleOptionButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() +{ +return new PythonQtShell_QStyleOptionButton(); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) +{ +return new PythonQtShell_QStyleOptionButton(other); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(int version) +{ +return new PythonQtShell_QStyleOptionButton(version); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::operator_assign(QStyleOptionButton* theWrappedObject, const QStyleOptionButton& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionComboBox::~PythonQtShell_QStyleOptionComboBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox() +{ +return new PythonQtShell_QStyleOptionComboBox(); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(const QStyleOptionComboBox& other) +{ +return new PythonQtShell_QStyleOptionComboBox(other); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(int version) +{ +return new PythonQtShell_QStyleOptionComboBox(version); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::operator_assign(QStyleOptionComboBox* theWrappedObject, const QStyleOptionComboBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionDockWidget::~PythonQtShell_QStyleOptionDockWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() +{ +return new PythonQtShell_QStyleOptionDockWidget(); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) +{ +return new PythonQtShell_QStyleOptionDockWidget(other); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(int version) +{ +return new PythonQtShell_QStyleOptionDockWidget(version); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::operator_assign(QStyleOptionDockWidget* theWrappedObject, const QStyleOptionDockWidget& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionDockWidgetV2::~PythonQtShell_QStyleOptionDockWidgetV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() +{ +return new PythonQtShell_QStyleOptionDockWidgetV2(); } + + + +PythonQtShell_QStyleOptionFocusRect::~PythonQtShell_QStyleOptionFocusRect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() +{ +return new PythonQtShell_QStyleOptionFocusRect(); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) +{ +return new PythonQtShell_QStyleOptionFocusRect(other); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(int version) +{ +return new PythonQtShell_QStyleOptionFocusRect(version); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::operator_assign(QStyleOptionFocusRect* theWrappedObject, const QStyleOptionFocusRect& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionFrame::~PythonQtShell_QStyleOptionFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() +{ +return new PythonQtShell_QStyleOptionFrame(); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) +{ +return new PythonQtShell_QStyleOptionFrame(other); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(int version) +{ +return new PythonQtShell_QStyleOptionFrame(version); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::operator_assign(QStyleOptionFrame* theWrappedObject, const QStyleOptionFrame& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionFrameV2::~PythonQtShell_QStyleOptionFrameV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() +{ +return new PythonQtShell_QStyleOptionFrameV2(); } + + + +PythonQtShell_QStyleOptionFrameV3::~PythonQtShell_QStyleOptionFrameV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3() +{ +return new PythonQtShell_QStyleOptionFrameV3(); } + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.h similarity index 58% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.h index 1481bb4d..ec847a68 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.h @@ -9,29 +9,43 @@ #include #include #include +#include +#include +#include #include +#include #include #include +#include #include +#include #include #include +#include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include @@ -40,721 +54,82 @@ #include #include #include +#include #include +#include #include #include #include +#include #include +#include #include +#include +#include +#include #include #include -class PythonQtWrapper_QRgba64 : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QRgba64(QRgba64* obj) { delete obj; } - unsigned short alpha(QRgba64* theWrappedObject) const; - unsigned char alpha8(QRgba64* theWrappedObject) const; - unsigned short blue(QRgba64* theWrappedObject) const; - unsigned char blue8(QRgba64* theWrappedObject) const; - QRgba64 static_QRgba64_fromArgb32(uint rgb); - QRgba64 static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha); - QRgba64 static_QRgba64_fromRgba64(quint64 c); - QRgba64 static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha); - unsigned short green(QRgba64* theWrappedObject) const; - unsigned char green8(QRgba64* theWrappedObject) const; - bool isOpaque(QRgba64* theWrappedObject) const; - bool isTransparent(QRgba64* theWrappedObject) const; - QRgba64 operator_assign(QRgba64* theWrappedObject, quint64 _rgba); - QRgba64 premultiplied(QRgba64* theWrappedObject) const; - unsigned short red(QRgba64* theWrappedObject) const; - unsigned char red8(QRgba64* theWrappedObject) const; - void setAlpha(QRgba64* theWrappedObject, unsigned short _alpha); - void setBlue(QRgba64* theWrappedObject, unsigned short _blue); - void setGreen(QRgba64* theWrappedObject, unsigned short _green); - void setRed(QRgba64* theWrappedObject, unsigned short _red); - uint toArgb32(QRgba64* theWrappedObject) const; - ushort toRgb16(QRgba64* theWrappedObject) const; - QRgba64 unpremultiplied(QRgba64* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QRubberBand : public QRubberBand -{ -public: - PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr):QRubberBand(arg__1, arg__2),_wrapper(NULL) {}; - - ~PythonQtShell_QRubberBand(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRubberBand : public QRubberBand -{ public: -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_initStyleOption(QStyleOptionRubberBand* option) const { this->initStyleOption(option); } -inline void promoted_moveEvent(QMoveEvent* arg__1) { this->moveEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } -inline void py_q_changeEvent(QEvent* arg__1) { QRubberBand::changeEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QRubberBand::event(e); } -inline void py_q_moveEvent(QMoveEvent* arg__1) { QRubberBand::moveEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QRubberBand::paintEvent(arg__1); } -inline void py_q_resizeEvent(QResizeEvent* arg__1) { QRubberBand::resizeEvent(arg__1); } -inline void py_q_showEvent(QShowEvent* arg__1) { QRubberBand::showEvent(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 = nullptr); -void delete_QRubberBand(QRubberBand* obj) { delete obj; } - void py_q_changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_changeEvent(arg__1));} - bool py_q_event(QRubberBand* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_event(e));} - void initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const; - void move(QRubberBand* theWrappedObject, const QPoint& p); - void move(QRubberBand* theWrappedObject, int x, int y); - void py_q_moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_moveEvent(arg__1));} - void py_q_paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_paintEvent(arg__1));} - void resize(QRubberBand* theWrappedObject, const QSize& s); - void resize(QRubberBand* theWrappedObject, int w, int h); - void py_q_resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_resizeEvent(arg__1));} - void setGeometry(QRubberBand* theWrappedObject, const QRect& r); - void setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h); - QRubberBand::Shape shape(QRubberBand* theWrappedObject) const; - void py_q_showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_showEvent(arg__1));} -}; - - - - - -class PythonQtWrapper_QScreenOrientationChangeEvent : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } - Qt::ScreenOrientation orientation(QScreenOrientationChangeEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QScrollArea : public QScrollArea -{ -public: - PythonQtShell_QScrollArea(QWidget* parent = nullptr):QScrollArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* 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* event); -virtual bool event(QEvent* arg__1); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QScrollArea : public QScrollArea -{ public: -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } -inline bool py_q_event(QEvent* arg__1) { return QScrollArea::event(arg__1); } -inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); } -inline bool py_q_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } -inline void py_q_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); } -inline void py_q_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); } -inline QSize py_q_sizeHint() const { return QScrollArea::sizeHint(); } -inline QSize py_q_viewportSizeHint() const { return QScrollArea::viewportSizeHint(); } -}; - -class PythonQtWrapper_QScrollArea : public QObject -{ Q_OBJECT -public: -public slots: -QScrollArea* new_QScrollArea(QWidget* parent = nullptr); -void delete_QScrollArea(QScrollArea* obj) { delete obj; } - Qt::Alignment alignment(QScrollArea* theWrappedObject) const; - void ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin = 50, int ymargin = 50); - void ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin = 50, int ymargin = 50); - bool py_q_event(QScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_event(arg__1));} - bool py_q_eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} - bool py_q_focusNextPrevChild(QScrollArea* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_resizeEvent(arg__1));} - void py_q_scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1); - void setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); - void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable); - QSize py_q_sizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_sizeHint());} - QWidget* takeWidget(QScrollArea* theWrappedObject); - QSize py_q_viewportSizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_viewportSizeHint());} - QWidget* widget(QScrollArea* theWrappedObject) const; - bool widgetResizable(QScrollArea* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QScrollBar : public QScrollBar -{ -public: - PythonQtShell_QScrollBar(QWidget* parent = nullptr):QScrollBar(parent),_wrapper(NULL) {}; - PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr):QScrollBar(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QScrollBar : public QScrollBar -{ public: -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } -inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } -inline void promoted_initStyleOption(QStyleOptionSlider* option) const { this->initStyleOption(option); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_sliderChange(int change) { this->sliderChange((QAbstractSlider::SliderChange)change); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } -inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QScrollBar::contextMenuEvent(arg__1); } -inline bool py_q_event(QEvent* event) { return QScrollBar::event(event); } -inline void py_q_hideEvent(QHideEvent* arg__1) { QScrollBar::hideEvent(arg__1); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QScrollBar::mouseMoveEvent(arg__1); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QScrollBar::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QScrollBar::mouseReleaseEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QScrollBar::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QScrollBar::sizeHint(); } -inline void py_q_sliderChange(int change) { QScrollBar::sliderChange((QAbstractSlider::SliderChange)change); } -inline void py_q_wheelEvent(QWheelEvent* arg__1) { QScrollBar::wheelEvent(arg__1); } -}; - -class PythonQtWrapper_QScrollBar : public QObject -{ Q_OBJECT -public: -public slots: -QScrollBar* new_QScrollBar(QWidget* parent = nullptr); -QScrollBar* new_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr); -void delete_QScrollBar(QScrollBar* obj) { delete obj; } - void py_q_contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} - bool py_q_event(QScrollBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_event(event));} - void py_q_hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_hideEvent(arg__1));} - void initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const; - void py_q_mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} - void py_q_paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_paintEvent(arg__1));} - QSize sizeHint(QScrollBar* theWrappedObject) const; - QSize py_q_sizeHint(QScrollBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sizeHint());} - void py_q_sliderChange(QScrollBar* theWrappedObject, int change){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sliderChange(change));} - void py_q_wheelEvent(QScrollBar* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_wheelEvent(arg__1));} -}; - - - - - -class PythonQtWrapper_QScrollEvent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ScrollState ) -enum ScrollState{ - ScrollStarted = QScrollEvent::ScrollStarted, ScrollUpdated = QScrollEvent::ScrollUpdated, ScrollFinished = QScrollEvent::ScrollFinished}; -public slots: -QScrollEvent* new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState); -void delete_QScrollEvent(QScrollEvent* obj) { delete obj; } - QPointF contentPos(QScrollEvent* theWrappedObject) const; - QPointF overshootDistance(QScrollEvent* theWrappedObject) const; - QScrollEvent::ScrollState scrollState(QScrollEvent* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QScrollPrepareEvent : public QObject -{ Q_OBJECT -public: -public slots: -QScrollPrepareEvent* new_QScrollPrepareEvent(const QPointF& startPos); -void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } - QPointF contentPos(QScrollPrepareEvent* theWrappedObject) const; - QRectF contentPosRange(QScrollPrepareEvent* theWrappedObject) const; - void setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos); - void setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect); - void setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size); - QPointF startPos(QScrollPrepareEvent* theWrappedObject) const; - QSizeF viewportSize(QScrollPrepareEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QScrollerProperties : public QScrollerProperties -{ -public: - PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(NULL) {}; - PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollerProperties(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QScrollerProperties : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FrameRates OvershootPolicy ScrollMetric ) -enum FrameRates{ - Standard = QScrollerProperties::Standard, Fps60 = QScrollerProperties::Fps60, Fps30 = QScrollerProperties::Fps30, Fps20 = QScrollerProperties::Fps20}; -enum OvershootPolicy{ - OvershootWhenScrollable = QScrollerProperties::OvershootWhenScrollable, OvershootAlwaysOff = QScrollerProperties::OvershootAlwaysOff, OvershootAlwaysOn = QScrollerProperties::OvershootAlwaysOn}; -enum ScrollMetric{ - MousePressEventDelay = QScrollerProperties::MousePressEventDelay, DragStartDistance = QScrollerProperties::DragStartDistance, DragVelocitySmoothingFactor = QScrollerProperties::DragVelocitySmoothingFactor, AxisLockThreshold = QScrollerProperties::AxisLockThreshold, ScrollingCurve = QScrollerProperties::ScrollingCurve, DecelerationFactor = QScrollerProperties::DecelerationFactor, MinimumVelocity = QScrollerProperties::MinimumVelocity, MaximumVelocity = QScrollerProperties::MaximumVelocity, MaximumClickThroughVelocity = QScrollerProperties::MaximumClickThroughVelocity, AcceleratingFlickMaximumTime = QScrollerProperties::AcceleratingFlickMaximumTime, AcceleratingFlickSpeedupFactor = QScrollerProperties::AcceleratingFlickSpeedupFactor, SnapPositionRatio = QScrollerProperties::SnapPositionRatio, SnapTime = QScrollerProperties::SnapTime, OvershootDragResistanceFactor = QScrollerProperties::OvershootDragResistanceFactor, OvershootDragDistanceFactor = QScrollerProperties::OvershootDragDistanceFactor, OvershootScrollDistanceFactor = QScrollerProperties::OvershootScrollDistanceFactor, OvershootScrollTime = QScrollerProperties::OvershootScrollTime, HorizontalOvershootPolicy = QScrollerProperties::HorizontalOvershootPolicy, VerticalOvershootPolicy = QScrollerProperties::VerticalOvershootPolicy, FrameRate = QScrollerProperties::FrameRate, ScrollMetricCount = QScrollerProperties::ScrollMetricCount}; -public slots: -QScrollerProperties* new_QScrollerProperties(); -QScrollerProperties* new_QScrollerProperties(const QScrollerProperties& sp); -void delete_QScrollerProperties(QScrollerProperties* obj) { delete obj; } - bool __ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; - QScrollerProperties* operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp); - bool __eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; - QVariant scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const; - void static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp); - void setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value); - void static_QScrollerProperties_unsetDefaultScrollerProperties(); -}; - - - - - -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: - bool allowsErrorInteraction(QSessionManager* theWrappedObject); - bool allowsInteraction(QSessionManager* theWrappedObject); - void cancel(QSessionManager* theWrappedObject); - QStringList discardCommand(QSessionManager* theWrappedObject) const; - bool isPhase2(QSessionManager* theWrappedObject) const; - void release(QSessionManager* theWrappedObject); - void requestPhase2(QSessionManager* theWrappedObject); - QStringList restartCommand(QSessionManager* theWrappedObject) const; - QSessionManager::RestartHint restartHint(QSessionManager* theWrappedObject) const; - QString sessionId(QSessionManager* theWrappedObject) const; - QString sessionKey(QSessionManager* theWrappedObject) const; - void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value); - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value); - void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1); -}; - - - - - -class PythonQtShell_QShortcut : public QShortcut -{ -public: - PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(NULL) {}; - PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext shortcutContext = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, shortcutContext),_wrapper(NULL) {}; - - ~PythonQtShell_QShortcut(); - -virtual bool event(QEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QShortcut : public QShortcut -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline bool py_q_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 = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext shortcutContext = Qt::WindowShortcut); -void delete_QShortcut(QShortcut* obj) { delete obj; } - bool autoRepeat(QShortcut* theWrappedObject) const; - Qt::ShortcutContext context(QShortcut* theWrappedObject) const; - bool event(QShortcut* theWrappedObject, QEvent* e); - bool py_q_event(QShortcut* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->py_q_event(e));} - int id(QShortcut* theWrappedObject) const; - bool isEnabled(QShortcut* theWrappedObject) const; - QKeySequence key(QShortcut* theWrappedObject) const; - QWidget* parentWidget(QShortcut* theWrappedObject) const; - void setAutoRepeat(QShortcut* theWrappedObject, bool on); - void setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context); - void setEnabled(QShortcut* theWrappedObject, bool enable); - void setKey(QShortcut* theWrappedObject, const QKeySequence& key); - void setWhatsThis(QShortcut* theWrappedObject, const QString& text); - QString whatsThis(QShortcut* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QShortcutEvent : public QShortcutEvent -{ -public: - PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(NULL) {}; - - ~PythonQtShell_QShortcutEvent(); - - - 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; -}; - - - - - -class PythonQtWrapper_QShowEvent : public QObject -{ Q_OBJECT -public: -public slots: -QShowEvent* new_QShowEvent(); -void delete_QShowEvent(QShowEvent* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QSizeGrip : public QSizeGrip -{ -public: - PythonQtShell_QSizeGrip(QWidget* parent):QSizeGrip(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSizeGrip(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); -virtual void moveEvent(QMoveEvent* moveEvent); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool arg__1); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSizeGrip : public QSizeGrip -{ public: -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } -inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } -inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } -inline bool py_q_event(QEvent* arg__1) { return QSizeGrip::event(arg__1); } -inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QSizeGrip::eventFilter(arg__1, arg__2); } -inline void py_q_hideEvent(QHideEvent* hideEvent) { QSizeGrip::hideEvent(hideEvent); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QSizeGrip::mouseMoveEvent(arg__1); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QSizeGrip::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QSizeGrip::mouseReleaseEvent(mouseEvent); } -inline void py_q_moveEvent(QMoveEvent* moveEvent) { QSizeGrip::moveEvent(moveEvent); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QSizeGrip::paintEvent(arg__1); } -inline void py_q_setVisible(bool arg__1) { QSizeGrip::setVisible(arg__1); } -inline void py_q_showEvent(QShowEvent* showEvent) { QSizeGrip::showEvent(showEvent); } -inline QSize py_q_sizeHint() const { return QSizeGrip::sizeHint(); } -}; - -class PythonQtWrapper_QSizeGrip : public QObject -{ Q_OBJECT -public: -public slots: -QSizeGrip* new_QSizeGrip(QWidget* parent); -void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } - bool py_q_event(QSizeGrip* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_event(arg__1));} - bool eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2); - bool py_q_eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} - void py_q_hideEvent(QSizeGrip* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_hideEvent(hideEvent));} - void py_q_mouseMoveEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_mousePressEvent(QSizeGrip* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QSizeGrip* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} - void py_q_moveEvent(QSizeGrip* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_moveEvent(moveEvent));} - void py_q_paintEvent(QSizeGrip* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_paintEvent(arg__1));} - void py_q_setVisible(QSizeGrip* theWrappedObject, bool arg__1){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_setVisible(arg__1));} - void py_q_showEvent(QSizeGrip* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_showEvent(showEvent));} - QSize sizeHint(QSizeGrip* theWrappedObject) const; - QSize py_q_sizeHint(QSizeGrip* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_sizeHint());} -}; - - - - - class PythonQtShell_QSlider : public QSlider { public: - PythonQtShell_QSlider(QWidget* parent = nullptr):QSlider(parent),_wrapper(NULL) {}; - PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr):QSlider(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSlider(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* ev); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSlider(QWidget* parent = nullptr):QSlider(parent),_wrapper(nullptr) {}; + PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr):QSlider(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSlider() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* ev) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSlider : public QSlider @@ -779,7 +154,7 @@ class PythonQtWrapper_QSlider : public QObject public slots: QSlider* new_QSlider(QWidget* parent = nullptr); QSlider* new_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QSlider(QSlider* obj) { delete obj; } +void delete_QSlider(QSlider* obj) { delete obj; } bool py_q_event(QSlider* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_event(event));} void initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const; QSize minimumSizeHint(QSlider* theWrappedObject) const; @@ -803,56 +178,61 @@ void delete_QSlider(QSlider* obj) { delete obj; } class PythonQtShell_QSortFilterProxyModel : public QSortFilterProxyModel { public: - PythonQtShell_QSortFilterProxyModel(QObject* parent = nullptr):QSortFilterProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSortFilterProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 void fetchMore(const QModelIndex& parent); -virtual bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const; -virtual bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const; -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 bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& sourceSelection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& proxySelection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSortFilterProxyModel(QObject* parent = nullptr):QSortFilterProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSortFilterProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const override; +bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& sourceSelection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& proxySelection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSortFilterProxyModel : public QSortFilterProxyModel @@ -901,7 +281,7 @@ class PythonQtWrapper_QSortFilterProxyModel : public QObject public: public slots: QSortFilterProxyModel* new_QSortFilterProxyModel(QObject* parent = nullptr); -void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } +void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } QModelIndex py_q_buddy(QSortFilterProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_buddy(index));} bool py_q_canFetchMore(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_canFetchMore(parent));} int py_q_columnCount(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_columnCount(parent));} @@ -968,26 +348,27 @@ void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } 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) {}; + PythonQtShell_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum):QSpacerItem(w, h, hData, vData),_wrapper(nullptr) {}; - ~PythonQtShell_QSpacerItem(); + ~PythonQtShell_QSpacerItem() override; -virtual QSizePolicy::ControlTypes controlTypes() const; -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 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(); +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSpacerItem : public QSpacerItem @@ -1007,7 +388,7 @@ class PythonQtWrapper_QSpacerItem : public QObject 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; } +void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } void changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); Qt::Orientations py_q_expandingDirections(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_expandingDirections());} QRect py_q_geometry(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_geometry());} @@ -1028,63 +409,66 @@ void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } class PythonQtShell_QSpinBox : public QSpinBox { public: - PythonQtShell_QSpinBox(QWidget* parent = nullptr):QSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -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); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSpinBox(QWidget* parent = nullptr):QSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& str) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromValue(int val) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +int valueFromText(const QString& text) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSpinBox : public QSpinBox @@ -1106,7 +490,7 @@ class PythonQtWrapper_QSpinBox : public QObject public: public slots: QSpinBox* new_QSpinBox(QWidget* parent = nullptr); -void delete_QSpinBox(QSpinBox* obj) { delete obj; } +void delete_QSpinBox(QSpinBox* obj) { delete obj; } QString cleanText(QSpinBox* theWrappedObject) const; int displayIntegerBase(QSpinBox* theWrappedObject) const; bool py_q_event(QSpinBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_event(event));} @@ -1120,8 +504,10 @@ void delete_QSpinBox(QSpinBox* obj) { delete obj; } void setPrefix(QSpinBox* theWrappedObject, const QString& prefix); void setRange(QSpinBox* theWrappedObject, int min, int max); void setSingleStep(QSpinBox* theWrappedObject, int val); + void setStepType(QSpinBox* theWrappedObject, QAbstractSpinBox::StepType stepType); void setSuffix(QSpinBox* theWrappedObject, const QString& suffix); int singleStep(QSpinBox* theWrappedObject) const; + QAbstractSpinBox::StepType stepType(QSpinBox* theWrappedObject) const; QString suffix(QSpinBox* theWrappedObject) const; QString textFromValue(QSpinBox* theWrappedObject, int val) const; QString py_q_textFromValue(QSpinBox* theWrappedObject, int val) const{ return (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_textFromValue(val));} @@ -1138,57 +524,62 @@ void delete_QSpinBox(QSpinBox* obj) { delete obj; } class PythonQtShell_QSplashScreen : public QSplashScreen { public: - PythonQtShell_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(parent, pixmap, f),_wrapper(NULL) {}; - PythonQtShell_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(pixmap, f),_wrapper(NULL) {}; - - ~PythonQtShell_QSplashScreen(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawContents(QPainter* painter); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplashScreen(QScreen* screen, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(screen, pixmap, f),_wrapper(nullptr) {}; + PythonQtShell_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(parent, pixmap, f),_wrapper(nullptr) {}; + PythonQtShell_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(pixmap, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplashScreen() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawContents(QPainter* painter) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplashScreen : public QSplashScreen @@ -1205,9 +596,10 @@ class PythonQtWrapper_QSplashScreen : public QObject { Q_OBJECT public: public slots: +QSplashScreen* new_QSplashScreen(QScreen* screen, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()); QSplashScreen* new_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()); QSplashScreen* new_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } +void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } void drawContents(QSplashScreen* theWrappedObject, QPainter* painter); void py_q_drawContents(QSplashScreen* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->py_q_drawContents(painter));} bool py_q_event(QSplashScreen* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->py_q_event(e));} @@ -1225,58 +617,61 @@ void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } class PythonQtShell_QSplitter : public QSplitter { public: - PythonQtShell_QSplitter(QWidget* parent = nullptr):QSplitter(parent),_wrapper(NULL) {}; - PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr):QSplitter(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSplitter(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QSplitterHandle* createHandle(); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplitter(QWidget* parent = nullptr):QSplitter(parent),_wrapper(nullptr) {}; + PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr):QSplitter(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplitter() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* arg__1) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +QSplitterHandle* createHandle() override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitter : public QSplitter @@ -1304,10 +699,9 @@ class PythonQtWrapper_QSplitter : public QObject public slots: QSplitter* new_QSplitter(QWidget* parent = nullptr); QSplitter* new_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr); -void delete_QSplitter(QSplitter* obj) { delete obj; } +void delete_QSplitter(QSplitter* obj) { delete obj; } void addWidget(QSplitter* theWrappedObject, PythonQtPassOwnershipToCPP widget); void py_q_changeEvent(QSplitter* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_changeEvent(arg__1));} - void childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1); void py_q_childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1){ (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_childEvent(arg__1));} bool childrenCollapsible(QSplitter* theWrappedObject) const; int closestLegalPosition(QSplitter* theWrappedObject, int arg__1, int arg__2); @@ -1352,55 +746,59 @@ void delete_QSplitter(QSplitter* obj) { delete obj; } class PythonQtShell_QSplitterHandle : public QSplitterHandle { public: - PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSplitterHandle(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplitterHandle() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitterHandle : public QSplitterHandle @@ -1427,7 +825,7 @@ class PythonQtWrapper_QSplitterHandle : public QObject public: public slots: QSplitterHandle* new_QSplitterHandle(Qt::Orientation o, QSplitter* parent); -void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } +void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } int closestLegalPosition(QSplitterHandle* theWrappedObject, int p); bool py_q_event(QSplitterHandle* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_event(arg__1));} void py_q_mouseMoveEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} @@ -1451,24 +849,40 @@ void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } class PythonQtShell_QStackedLayout : public QStackedLayout { public: - PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(NULL) {}; - PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStackedLayout(); - -virtual void addItem(QLayoutItem* item); -virtual int count() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(nullptr) {}; + PythonQtShell_QStackedLayout(QLayout* parentLayout):QStackedLayout(parentLayout),_wrapper(nullptr) {}; + PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStackedLayout() override; + +void addItem(QLayoutItem* item) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& rect) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedLayout : public QStackedLayout @@ -1489,33 +903,26 @@ class PythonQtWrapper_QStackedLayout : public QObject public: public slots: QStackedLayout* new_QStackedLayout(); +QStackedLayout* new_QStackedLayout(QLayout* parentLayout); QStackedLayout* new_QStackedLayout(QWidget* parent); -void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } - void addItem(QStackedLayout* theWrappedObject, QLayoutItem* item); +void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } void py_q_addItem(QStackedLayout* theWrappedObject, QLayoutItem* item){ (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_addItem(item));} int addWidget(QStackedLayout* theWrappedObject, QWidget* w); - int count(QStackedLayout* theWrappedObject) const; int py_q_count(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_count());} int currentIndex(QStackedLayout* theWrappedObject) const; QWidget* currentWidget(QStackedLayout* theWrappedObject) const; - bool hasHeightForWidth(QStackedLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QStackedLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QStackedLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_heightForWidth(width));} int insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w); - QLayoutItem* itemAt(QStackedLayout* theWrappedObject, int arg__1) const; QLayoutItem* py_q_itemAt(QStackedLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_itemAt(arg__1));} - QSize minimumSize(QStackedLayout* theWrappedObject) const; QSize py_q_minimumSize(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_minimumSize());} - void setGeometry(QStackedLayout* theWrappedObject, const QRect& rect); void py_q_setGeometry(QStackedLayout* theWrappedObject, const QRect& rect){ (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode); - QSize sizeHint(QStackedLayout* theWrappedObject) const; QSize py_q_sizeHint(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_sizeHint());} QStackedLayout::StackingMode stackingMode(QStackedLayout* theWrappedObject) const; - QLayoutItem* takeAt(QStackedLayout* theWrappedObject, int arg__1); QLayoutItem* py_q_takeAt(QStackedLayout* theWrappedObject, int arg__1){ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_takeAt(arg__1));} QWidget* widget(QStackedLayout* theWrappedObject, int arg__1) const; + bool __nonzero__(QStackedLayout* obj) { return !obj->isEmpty(); } }; @@ -1525,55 +932,59 @@ void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } class PythonQtShell_QStackedWidget : public QStackedWidget { public: - PythonQtShell_QStackedWidget(QWidget* parent = nullptr):QStackedWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStackedWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStackedWidget(QWidget* parent = nullptr):QStackedWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStackedWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedWidget : public QStackedWidget @@ -1587,7 +998,7 @@ class PythonQtWrapper_QStackedWidget : public QObject public: public slots: QStackedWidget* new_QStackedWidget(QWidget* parent = nullptr); -void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } +void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } int addWidget(QStackedWidget* theWrappedObject, PythonQtPassOwnershipToCPP w); int count(QStackedWidget* theWrappedObject) const; int currentIndex(QStackedWidget* theWrappedObject) const; @@ -1606,23 +1017,22 @@ void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } 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) {}; + PythonQtShell_QStandardItem():QStandardItem(),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QIcon& icon, const QString& text):QStandardItem(icon, text),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QStandardItem& other):QStandardItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QString& text):QStandardItem(text),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(int rows, int columns = 1):QStandardItem(rows, columns),_wrapper(nullptr) {}; - ~PythonQtShell_QStandardItem(); + ~PythonQtShell_QStandardItem() override; -virtual QStandardItem* clone() const; -virtual QVariant data(int role = Qt::UserRole + 1) const; -virtual bool __lt__(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; +QStandardItem* clone() const override; +QVariant data(int role = Qt::UserRole + 1) const override; +void read(QDataStream& in) override; +void setData(const QVariant& value, int role = Qt::UserRole + 1) override; +int type() const override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItem : public QStandardItem @@ -1648,7 +1058,7 @@ QStandardItem* new_QStandardItem(const QIcon& icon, const QString& text); QStandardItem* new_QStandardItem(const QStandardItem& other); QStandardItem* new_QStandardItem(const QString& text); QStandardItem* new_QStandardItem(int rows, int columns = 1); -void delete_QStandardItem(QStandardItem* obj) { delete obj; } +void delete_QStandardItem(QStandardItem* obj) { delete obj; } QString accessibleDescription(QStandardItem* theWrappedObject) const; QString accessibleText(QStandardItem* theWrappedObject) const; void appendColumn(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items); @@ -1751,49 +1161,54 @@ void delete_QStandardItem(QStandardItem* obj) { delete obj; } class PythonQtShell_QStandardItemModel : public QStandardItemModel { public: - PythonQtShell_QStandardItemModel(QObject* parent = nullptr):QStandardItemModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = nullptr):QStandardItemModel(rows, columns, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStandardItemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStandardItemModel(QObject* parent = nullptr):QStandardItemModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = nullptr):QStandardItemModel(rows, columns, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStandardItemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItemModel : public QStandardItemModel @@ -1828,7 +1243,7 @@ class PythonQtWrapper_QStandardItemModel : public QObject public slots: QStandardItemModel* new_QStandardItemModel(QObject* parent = nullptr); QStandardItemModel* new_QStandardItemModel(int rows, int columns, QObject* parent = nullptr); -void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } +void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } void appendColumn(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP item); void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); @@ -1890,58 +1305,95 @@ void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } +class PythonQtWrapper_QStaticText : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PerformanceHint ) +enum PerformanceHint{ + ModerateCaching = QStaticText::ModerateCaching, AggressiveCaching = QStaticText::AggressiveCaching}; +public slots: +QStaticText* new_QStaticText(); +QStaticText* new_QStaticText(const QStaticText& other); +QStaticText* new_QStaticText(const QString& text); +void delete_QStaticText(QStaticText* obj) { delete obj; } + bool __ne__(QStaticText* theWrappedObject, const QStaticText& arg__1) const; + QStaticText* operator_assign(QStaticText* theWrappedObject, const QStaticText& arg__1); + bool __eq__(QStaticText* theWrappedObject, const QStaticText& arg__1) const; + QStaticText::PerformanceHint performanceHint(QStaticText* theWrappedObject) const; + void prepare(QStaticText* theWrappedObject, const QTransform& matrix = QTransform(), const QFont& font = QFont()); + void setPerformanceHint(QStaticText* theWrappedObject, QStaticText::PerformanceHint performanceHint); + void setText(QStaticText* theWrappedObject, const QString& text); + void setTextFormat(QStaticText* theWrappedObject, Qt::TextFormat textFormat); + void setTextOption(QStaticText* theWrappedObject, const QTextOption& textOption); + void setTextWidth(QStaticText* theWrappedObject, qreal textWidth); + QSizeF size(QStaticText* theWrappedObject) const; + void swap(QStaticText* theWrappedObject, QStaticText& other); + QString text(QStaticText* theWrappedObject) const; + Qt::TextFormat textFormat(QStaticText* theWrappedObject) const; + QTextOption textOption(QStaticText* theWrappedObject) const; + qreal textWidth(QStaticText* theWrappedObject) const; +}; + + + + + class PythonQtShell_QStatusBar : public QStatusBar { public: - PythonQtShell_QStatusBar(QWidget* parent = nullptr):QStatusBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStatusBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStatusBar(QWidget* parent = nullptr):QStatusBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStatusBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStatusBar : public QStatusBar @@ -1963,7 +1415,7 @@ class PythonQtWrapper_QStatusBar : public QObject public: public slots: QStatusBar* new_QStatusBar(QWidget* parent = nullptr); -void delete_QStatusBar(QStatusBar* obj) { delete obj; } +void delete_QStatusBar(QStatusBar* obj) { delete obj; } void addPermanentWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch = 0); void addWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch = 0); QString currentMessage(QStatusBar* theWrappedObject) const; @@ -1989,7 +1441,7 @@ class PythonQtWrapper_QStatusTipEvent : public QObject public: public slots: QStatusTipEvent* new_QStatusTipEvent(const QString& tip); -void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } +void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } QString tip(QStatusTipEvent* theWrappedObject) const; }; @@ -2000,46 +1452,51 @@ void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } class PythonQtShell_QStringListModel : public QStringListModel { public: - PythonQtShell_QStringListModel(QObject* parent = nullptr):QStringListModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = nullptr):QStringListModel(strings, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStringListModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -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 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 = 0, 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStringListModel(QObject* parent = nullptr):QStringListModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = nullptr):QStringListModel(strings, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStringListModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStringListModel : public QStringListModel @@ -2064,7 +1521,7 @@ class PythonQtWrapper_QStringListModel : public QObject public slots: QStringListModel* new_QStringListModel(QObject* parent = nullptr); QStringListModel* new_QStringListModel(const QStringList& strings, QObject* parent = nullptr); -void delete_QStringListModel(QStringListModel* obj) { delete obj; } +void delete_QStringListModel(QStringListModel* obj) { delete obj; } QVariant py_q_data(QStringListModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_data(index, role));} Qt::ItemFlags py_q_flags(QStringListModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_flags(index));} bool py_q_insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} @@ -2123,7 +1580,7 @@ enum SubControl{ Q_DECLARE_FLAGS(State, StateFlag) Q_DECLARE_FLAGS(SubControls, SubControl) public slots: -void delete_QStyle(QStyle* obj) { delete obj; } +void delete_QStyle(QStyle* obj) { delete obj; } QRect static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle); int combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option = nullptr, QWidget* widget = nullptr) const; void drawComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget = nullptr) const; @@ -2185,12 +1642,12 @@ void delete_QStyle(QStyle* obj) { delete obj; } class PythonQtShell_QStyleFactory : public QStyleFactory { public: - PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(NULL) {}; + PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleFactory(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleFactory : public QObject @@ -2198,7 +1655,7 @@ class PythonQtWrapper_QStyleFactory : public QObject public: public slots: QStyleFactory* new_QStyleFactory(); -void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } +void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } QStyle* static_QStyleFactory_create(const QString& arg__1); QStringList static_QStyleFactory_keys(); }; @@ -2210,12 +1667,12 @@ void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } class PythonQtShell_QStyleHintReturn : public QStyleHintReturn { public: - PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(NULL) {}; + PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(nullptr) {}; ~PythonQtShell_QStyleHintReturn(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturn : public QObject @@ -2230,7 +1687,7 @@ enum StyleOptionVersion{ Version = QStyleHintReturn::Version}; public slots: QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default); -void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } +void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } void py_set_type(QStyleHintReturn* theWrappedObject, int type){ theWrappedObject->type = type; } int py_get_type(QStyleHintReturn* theWrappedObject){ return theWrappedObject->type; } void py_set_version(QStyleHintReturn* theWrappedObject, int version){ theWrappedObject->version = version; } @@ -2238,3 +1695,452 @@ int py_get_version(QStyleHintReturn* theWrappedObject){ return theWrappedObject }; + + + +class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask +{ +public: + PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturnMask(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnMask : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleHintReturnMask::Type}; +enum StyleOptionVersion{ + Version = QStyleHintReturnMask::Version}; +public slots: +QStyleHintReturnMask* new_QStyleHintReturnMask(); +void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } +void py_set_region(QStyleHintReturnMask* theWrappedObject, QRegion region){ theWrappedObject->region = region; } +QRegion py_get_region(QStyleHintReturnMask* theWrappedObject){ return theWrappedObject->region; } +}; + + + + + +class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant +{ +public: + PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturnVariant(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnVariant : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleHintReturnVariant::Type}; +enum StyleOptionVersion{ + Version = QStyleHintReturnVariant::Version}; +public slots: +QStyleHintReturnVariant* new_QStyleHintReturnVariant(); +void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } +void py_set_variant(QStyleHintReturnVariant* theWrappedObject, QVariant variant){ theWrappedObject->variant = variant; } +QVariant py_get_variant(QStyleHintReturnVariant* theWrappedObject){ return theWrappedObject->variant; } +}; + + + + + +class PythonQtWrapper_QStyleHints : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QStyleHints(QStyleHints* obj) { delete obj; } + int cursorFlashTime(QStyleHints* theWrappedObject) const; + qreal fontSmoothingGamma(QStyleHints* theWrappedObject) const; + int keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const; + int keyboardInputInterval(QStyleHints* theWrappedObject) const; + int mouseDoubleClickDistance(QStyleHints* theWrappedObject) const; + int mouseDoubleClickInterval(QStyleHints* theWrappedObject) const; + int mousePressAndHoldInterval(QStyleHints* theWrappedObject) const; + int mouseQuickSelectionThreshold(QStyleHints* theWrappedObject) const; + QChar passwordMaskCharacter(QStyleHints* theWrappedObject) const; + int passwordMaskDelay(QStyleHints* theWrappedObject) const; + void setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime); + bool setFocusOnTouchRelease(QStyleHints* theWrappedObject) const; + void setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval); + void setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval); + void setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval); + void setMouseQuickSelectionThreshold(QStyleHints* theWrappedObject, int threshold); + void setShowShortcutsInContextMenus(QStyleHints* theWrappedObject, bool showShortcutsInContextMenus); + void setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance); + void setStartDragTime(QStyleHints* theWrappedObject, int startDragTime); + void setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior); + void setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects); + void setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines); + bool showIsFullScreen(QStyleHints* theWrappedObject) const; + bool showIsMaximized(QStyleHints* theWrappedObject) const; + bool showShortcutsInContextMenus(QStyleHints* theWrappedObject) const; + bool singleClickActivation(QStyleHints* theWrappedObject) const; + int startDragDistance(QStyleHints* theWrappedObject) const; + int startDragTime(QStyleHints* theWrappedObject) const; + int startDragVelocity(QStyleHints* theWrappedObject) const; + Qt::TabFocusBehavior tabFocusBehavior(QStyleHints* theWrappedObject) const; + int touchDoubleTapDistance(QStyleHints* theWrappedObject) const; + bool useHoverEffects(QStyleHints* theWrappedObject) const; + bool useRtlExtensions(QStyleHints* theWrappedObject) const; + int wheelScrollLines(QStyleHints* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStyleOption : public QStyleOption +{ +public: + PythonQtShell_QStyleOption(const QStyleOption& other):QStyleOption(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOption(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OptionType StyleOptionType StyleOptionVersion ) +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_DockWidget = QStyleOption::SO_DockWidget, 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_TitleBar = QStyleOption::SO_TitleBar, SO_GroupBox = QStyleOption::SO_GroupBox, SO_SizeGrip = QStyleOption::SO_SizeGrip, SO_CustomBase = QStyleOption::SO_CustomBase, SO_ComplexCustomBase = QStyleOption::SO_ComplexCustomBase}; +enum StyleOptionType{ + Type = QStyleOption::Type}; +enum StyleOptionVersion{ + Version = QStyleOption::Version}; +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); + QString py_toString(QStyleOption*); +void py_set_direction(QStyleOption* theWrappedObject, Qt::LayoutDirection direction){ theWrappedObject->direction = direction; } +Qt::LayoutDirection py_get_direction(QStyleOption* theWrappedObject){ return theWrappedObject->direction; } +void py_set_fontMetrics(QStyleOption* theWrappedObject, QFontMetrics fontMetrics){ theWrappedObject->fontMetrics = fontMetrics; } +QFontMetrics py_get_fontMetrics(QStyleOption* theWrappedObject){ return theWrappedObject->fontMetrics; } +void py_set_palette(QStyleOption* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } +QPalette py_get_palette(QStyleOption* theWrappedObject){ return theWrappedObject->palette; } +void py_set_rect(QStyleOption* theWrappedObject, QRect rect){ theWrappedObject->rect = rect; } +QRect py_get_rect(QStyleOption* theWrappedObject){ return theWrappedObject->rect; } +void py_set_state(QStyleOption* theWrappedObject, QStyle::State state){ theWrappedObject->state = state; } +QStyle::State py_get_state(QStyleOption* theWrappedObject){ return theWrappedObject->state; } +void py_set_styleObject(QStyleOption* theWrappedObject, QObject* styleObject){ theWrappedObject->styleObject = styleObject; } +QObject* py_get_styleObject(QStyleOption* theWrappedObject){ return theWrappedObject->styleObject; } +void py_set_type(QStyleOption* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QStyleOption* theWrappedObject){ return theWrappedObject->type; } +void py_set_version(QStyleOption* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QStyleOption* theWrappedObject){ return theWrappedObject->version; } +}; + + + + + +class PythonQtShell_QStyleOptionButton : public QStyleOptionButton +{ +public: + PythonQtShell_QStyleOptionButton():QStyleOptionButton(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionButton(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonFeature StyleOptionType StyleOptionVersion ) +Q_FLAGS(ButtonFeatures ) +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}; +enum StyleOptionVersion{ + Version = QStyleOptionButton::Version}; +Q_DECLARE_FLAGS(ButtonFeatures, ButtonFeature) +public slots: +QStyleOptionButton* new_QStyleOptionButton(); +QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); +QStyleOptionButton* new_QStyleOptionButton(int version); +void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } + QStyleOptionButton* operator_assign(QStyleOptionButton* theWrappedObject, const QStyleOptionButton& arg__1); +void py_set_features(QStyleOptionButton* theWrappedObject, QStyleOptionButton::ButtonFeatures features){ theWrappedObject->features = features; } +QStyleOptionButton::ButtonFeatures py_get_features(QStyleOptionButton* theWrappedObject){ return theWrappedObject->features; } +void py_set_icon(QStyleOptionButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionButton* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionButton* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_text(QStyleOptionButton* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionButton* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionComboBox : public QStyleOptionComboBox +{ +public: + PythonQtShell_QStyleOptionComboBox():QStyleOptionComboBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionComboBox(const QStyleOptionComboBox& other):QStyleOptionComboBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionComboBox(int version):QStyleOptionComboBox(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionComboBox(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionComboBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionComboBox::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionComboBox::Version}; +public slots: +QStyleOptionComboBox* new_QStyleOptionComboBox(); +QStyleOptionComboBox* new_QStyleOptionComboBox(const QStyleOptionComboBox& other); +QStyleOptionComboBox* new_QStyleOptionComboBox(int version); +void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } + QStyleOptionComboBox* operator_assign(QStyleOptionComboBox* theWrappedObject, const QStyleOptionComboBox& arg__1); +void py_set_currentIcon(QStyleOptionComboBox* theWrappedObject, QIcon currentIcon){ theWrappedObject->currentIcon = currentIcon; } +QIcon py_get_currentIcon(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentIcon; } +void py_set_currentText(QStyleOptionComboBox* theWrappedObject, QString currentText){ theWrappedObject->currentText = currentText; } +QString py_get_currentText(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentText; } +void py_set_editable(QStyleOptionComboBox* theWrappedObject, bool editable){ theWrappedObject->editable = editable; } +bool py_get_editable(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->editable; } +void py_set_frame(QStyleOptionComboBox* theWrappedObject, bool frame){ theWrappedObject->frame = frame; } +bool py_get_frame(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->frame; } +void py_set_iconSize(QStyleOptionComboBox* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_popupRect(QStyleOptionComboBox* theWrappedObject, QRect popupRect){ theWrappedObject->popupRect = popupRect; } +QRect py_get_popupRect(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->popupRect; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget +{ +public: + PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionDockWidget(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionDockWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionDockWidget::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionDockWidget::Version}; +public slots: +QStyleOptionDockWidget* new_QStyleOptionDockWidget(); +QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); +QStyleOptionDockWidget* new_QStyleOptionDockWidget(int version); +void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } + QStyleOptionDockWidget* operator_assign(QStyleOptionDockWidget* theWrappedObject, const QStyleOptionDockWidget& arg__1); +void py_set_closable(QStyleOptionDockWidget* theWrappedObject, bool closable){ theWrappedObject->closable = closable; } +bool py_get_closable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->closable; } +void py_set_floatable(QStyleOptionDockWidget* theWrappedObject, bool floatable){ theWrappedObject->floatable = floatable; } +bool py_get_floatable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->floatable; } +void py_set_movable(QStyleOptionDockWidget* theWrappedObject, bool movable){ theWrappedObject->movable = movable; } +bool py_get_movable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->movable; } +void py_set_title(QStyleOptionDockWidget* theWrappedObject, QString title){ theWrappedObject->title = title; } +QString py_get_title(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->title; } +void py_set_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject, bool verticalTitleBar){ theWrappedObject->verticalTitleBar = verticalTitleBar; } +bool py_get_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->verticalTitleBar; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 +{ +public: + PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionDockWidgetV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(); +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) { +PythonQtShell_QStyleOptionDockWidgetV2* a = new PythonQtShell_QStyleOptionDockWidgetV2(); +*((QStyleOptionDockWidgetV2*)a) = other; +return a; } +void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect +{ +public: + PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFocusRect(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFocusRect : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionFocusRect::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionFocusRect::Version}; +public slots: +QStyleOptionFocusRect* new_QStyleOptionFocusRect(); +QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); +QStyleOptionFocusRect* new_QStyleOptionFocusRect(int version); +void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } + QStyleOptionFocusRect* operator_assign(QStyleOptionFocusRect* theWrappedObject, const QStyleOptionFocusRect& arg__1); +void py_set_backgroundColor(QStyleOptionFocusRect* theWrappedObject, QColor backgroundColor){ theWrappedObject->backgroundColor = backgroundColor; } +QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return theWrappedObject->backgroundColor; } +}; + + + + + +class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame +{ +public: + PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFrame(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FrameFeature StyleOptionType StyleOptionVersion ) +Q_FLAGS(FrameFeatures ) +enum FrameFeature{ + None = QStyleOptionFrame::None, Flat = QStyleOptionFrame::Flat, Rounded = QStyleOptionFrame::Rounded}; +enum StyleOptionType{ + Type = QStyleOptionFrame::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionFrame::Version}; +Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) +public slots: +QStyleOptionFrame* new_QStyleOptionFrame(); +QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); +QStyleOptionFrame* new_QStyleOptionFrame(int version); +void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } + QStyleOptionFrame* operator_assign(QStyleOptionFrame* theWrappedObject, const QStyleOptionFrame& arg__1); +void py_set_features(QStyleOptionFrame* theWrappedObject, QStyleOptionFrame::FrameFeatures features){ theWrappedObject->features = features; } +QStyleOptionFrame::FrameFeatures py_get_features(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->features; } +void py_set_frameShape(QStyleOptionFrame* theWrappedObject, QFrame::Shape frameShape){ theWrappedObject->frameShape = frameShape; } +QFrame::Shape py_get_frameShape(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->frameShape; } +void py_set_lineWidth(QStyleOptionFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } +int py_get_lineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_midLineWidth(QStyleOptionFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } +}; + + + + + +class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 +{ +public: + PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFrameV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrameV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionFrameV2* new_QStyleOptionFrameV2(); +QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) { +PythonQtShell_QStyleOptionFrameV2* a = new PythonQtShell_QStyleOptionFrameV2(); +*((QStyleOptionFrameV2*)a) = other; +return a; } +void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionFrameV3 : public QStyleOptionFrameV3 +{ +public: + PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFrameV3(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrameV3 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionFrameV3* new_QStyleOptionFrameV3(); +QStyleOptionFrameV3* new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other) { +PythonQtShell_QStyleOptionFrameV3* a = new PythonQtShell_QStyleOptionFrameV3(); +*((QStyleOptionFrameV3*)a) = other; +return a; } +void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp new file mode 100644 index 00000000..35c5d87c --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -0,0 +1,1456 @@ +#include "com_trolltech_qt_gui9.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 +#include +#include +#include +#include + +PythonQtShell_QStyleOptionGraphicsItem::~PythonQtShell_QStyleOptionGraphicsItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() +{ +return new PythonQtShell_QStyleOptionGraphicsItem(); } + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) +{ +return new PythonQtShell_QStyleOptionGraphicsItem(other); } + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(int version) +{ +return new PythonQtShell_QStyleOptionGraphicsItem(version); } + +qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform) +{ + return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); +} + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::operator_assign(QStyleOptionGraphicsItem* theWrappedObject, const QStyleOptionGraphicsItem& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionGroupBox::~PythonQtShell_QStyleOptionGroupBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() +{ +return new PythonQtShell_QStyleOptionGroupBox(); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) +{ +return new PythonQtShell_QStyleOptionGroupBox(other); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(int version) +{ +return new PythonQtShell_QStyleOptionGroupBox(version); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::operator_assign(QStyleOptionGroupBox* theWrappedObject, const QStyleOptionGroupBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionHeader::~PythonQtShell_QStyleOptionHeader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() +{ +return new PythonQtShell_QStyleOptionHeader(); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) +{ +return new PythonQtShell_QStyleOptionHeader(other); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(int version) +{ +return new PythonQtShell_QStyleOptionHeader(version); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::operator_assign(QStyleOptionHeader* theWrappedObject, const QStyleOptionHeader& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionMenuItem::~PythonQtShell_QStyleOptionMenuItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() +{ +return new PythonQtShell_QStyleOptionMenuItem(); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) +{ +return new PythonQtShell_QStyleOptionMenuItem(other); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(int version) +{ +return new PythonQtShell_QStyleOptionMenuItem(version); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::operator_assign(QStyleOptionMenuItem* theWrappedObject, const QStyleOptionMenuItem& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionProgressBar::~PythonQtShell_QStyleOptionProgressBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar() +{ +return new PythonQtShell_QStyleOptionProgressBar(); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other) +{ +return new PythonQtShell_QStyleOptionProgressBar(other); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(int version) +{ +return new PythonQtShell_QStyleOptionProgressBar(version); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::operator_assign(QStyleOptionProgressBar* theWrappedObject, const QStyleOptionProgressBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionProgressBarV2::~PythonQtShell_QStyleOptionProgressBarV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() +{ +return new PythonQtShell_QStyleOptionProgressBarV2(); } + + + +PythonQtShell_QStyleOptionRubberBand::~PythonQtShell_QStyleOptionRubberBand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() +{ +return new PythonQtShell_QStyleOptionRubberBand(); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) +{ +return new PythonQtShell_QStyleOptionRubberBand(other); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(int version) +{ +return new PythonQtShell_QStyleOptionRubberBand(version); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::operator_assign(QStyleOptionRubberBand* theWrappedObject, const QStyleOptionRubberBand& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionSizeGrip::~PythonQtShell_QStyleOptionSizeGrip() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() +{ +return new PythonQtShell_QStyleOptionSizeGrip(); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) +{ +return new PythonQtShell_QStyleOptionSizeGrip(other); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(int version) +{ +return new PythonQtShell_QStyleOptionSizeGrip(version); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::operator_assign(QStyleOptionSizeGrip* theWrappedObject, const QStyleOptionSizeGrip& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionSlider::~PythonQtShell_QStyleOptionSlider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() +{ +return new PythonQtShell_QStyleOptionSlider(); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) +{ +return new PythonQtShell_QStyleOptionSlider(other); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(int version) +{ +return new PythonQtShell_QStyleOptionSlider(version); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::operator_assign(QStyleOptionSlider* theWrappedObject, const QStyleOptionSlider& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionSpinBox::~PythonQtShell_QStyleOptionSpinBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() +{ +return new PythonQtShell_QStyleOptionSpinBox(); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) +{ +return new PythonQtShell_QStyleOptionSpinBox(other); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(int version) +{ +return new PythonQtShell_QStyleOptionSpinBox(version); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::operator_assign(QStyleOptionSpinBox* theWrappedObject, const QStyleOptionSpinBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTab::~PythonQtShell_QStyleOptionTab() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab() +{ +return new PythonQtShell_QStyleOptionTab(); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(const QStyleOptionTab& other) +{ +return new PythonQtShell_QStyleOptionTab(other); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(int version) +{ +return new PythonQtShell_QStyleOptionTab(version); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::operator_assign(QStyleOptionTab* theWrappedObject, const QStyleOptionTab& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTabBarBase::~PythonQtShell_QStyleOptionTabBarBase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase() +{ +return new PythonQtShell_QStyleOptionTabBarBase(); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other) +{ +return new PythonQtShell_QStyleOptionTabBarBase(other); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(int version) +{ +return new PythonQtShell_QStyleOptionTabBarBase(version); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::operator_assign(QStyleOptionTabBarBase* theWrappedObject, const QStyleOptionTabBarBase& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTabBarBaseV2::~PythonQtShell_QStyleOptionTabBarBaseV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2() +{ +return new PythonQtShell_QStyleOptionTabBarBaseV2(); } + + + +PythonQtShell_QStyleOptionTabV2::~PythonQtShell_QStyleOptionTabV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2() +{ +return new PythonQtShell_QStyleOptionTabV2(); } + + + +PythonQtShell_QStyleOptionTabV3::~PythonQtShell_QStyleOptionTabV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3() +{ +return new PythonQtShell_QStyleOptionTabV3(); } + + + +PythonQtShell_QStyleOptionTabWidgetFrame::~PythonQtShell_QStyleOptionTabWidgetFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame() +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other) +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(other); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(int version) +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(version); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::operator_assign(QStyleOptionTabWidgetFrame* theWrappedObject, const QStyleOptionTabWidgetFrame& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionTabWidgetFrameV2::~PythonQtShell_QStyleOptionTabWidgetFrameV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabWidgetFrameV2* PythonQtWrapper_QStyleOptionTabWidgetFrameV2::new_QStyleOptionTabWidgetFrameV2() +{ +return new PythonQtShell_QStyleOptionTabWidgetFrameV2(); } + + + +PythonQtShell_QStyleOptionTitleBar::~PythonQtShell_QStyleOptionTitleBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar() +{ +return new PythonQtShell_QStyleOptionTitleBar(); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other) +{ +return new PythonQtShell_QStyleOptionTitleBar(other); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(int version) +{ +return new PythonQtShell_QStyleOptionTitleBar(version); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::operator_assign(QStyleOptionTitleBar* theWrappedObject, const QStyleOptionTitleBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionToolBar::~PythonQtShell_QStyleOptionToolBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar() +{ +return new PythonQtShell_QStyleOptionToolBar(); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(const QStyleOptionToolBar& other) +{ +return new PythonQtShell_QStyleOptionToolBar(other); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(int version) +{ +return new PythonQtShell_QStyleOptionToolBar(version); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::operator_assign(QStyleOptionToolBar* theWrappedObject, const QStyleOptionToolBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionToolBox::~PythonQtShell_QStyleOptionToolBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox() +{ +return new PythonQtShell_QStyleOptionToolBox(); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(const QStyleOptionToolBox& other) +{ +return new PythonQtShell_QStyleOptionToolBox(other); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(int version) +{ +return new PythonQtShell_QStyleOptionToolBox(version); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::operator_assign(QStyleOptionToolBox* theWrappedObject, const QStyleOptionToolBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionToolBoxV2::~PythonQtShell_QStyleOptionToolBoxV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2() +{ +return new PythonQtShell_QStyleOptionToolBoxV2(); } + + + +PythonQtShell_QStyleOptionToolButton::~PythonQtShell_QStyleOptionToolButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton() +{ +return new PythonQtShell_QStyleOptionToolButton(); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(const QStyleOptionToolButton& other) +{ +return new PythonQtShell_QStyleOptionToolButton(other); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(int version) +{ +return new PythonQtShell_QStyleOptionToolButton(version); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::operator_assign(QStyleOptionToolButton* theWrappedObject, const QStyleOptionToolButton& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionViewItem::~PythonQtShell_QStyleOptionViewItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem() +{ +return new PythonQtShell_QStyleOptionViewItem(); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(const QStyleOptionViewItem& other) +{ +return new PythonQtShell_QStyleOptionViewItem(other); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(int version) +{ +return new PythonQtShell_QStyleOptionViewItem(version); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::operator_assign(QStyleOptionViewItem* theWrappedObject, const QStyleOptionViewItem& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + + + +PythonQtShell_QStyleOptionViewItemV2::~PythonQtShell_QStyleOptionViewItemV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2() +{ +return new PythonQtShell_QStyleOptionViewItemV2(); } + + + +PythonQtShell_QStyleOptionViewItemV3::~PythonQtShell_QStyleOptionViewItemV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3() +{ +return new PythonQtShell_QStyleOptionViewItemV3(); } + + + +PythonQtShell_QStyleOptionViewItemV4::~PythonQtShell_QStyleOptionViewItemV4() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() +{ +return new PythonQtShell_QStyleOptionViewItemV4(); } + + + +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); } + +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::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt) +{ + ( theWrappedObject->drawControl(ce, opt)); +} + +void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) +{ + ( theWrappedObject->drawItemPixmap(r, flags, pixmap)); +} + +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)); +} + +QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + + + +PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStylePlugin::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStylePlugin::childEvent(event0); +} +QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyle*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStyle* returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QStyle**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QStylePlugin::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStylePlugin::customEvent(event0); +} +bool PythonQtShell_QStylePlugin::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStylePlugin::event(event0); +} +bool PythonQtShell_QStylePlugin::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStylePlugin::eventFilter(watched0, event1); +} +void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStylePlugin::timerEvent(event0); +} +QStylePlugin* PythonQtWrapper_QStylePlugin::new_QStylePlugin(QObject* parent) +{ +return new PythonQtShell_QStylePlugin(parent); } + +const QMetaObject* PythonQtShell_QStylePlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStylePlugin::staticMetaObject); + } else { + return &QStylePlugin::staticMetaObject; + } +} +int PythonQtShell_QStylePlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStylePlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QStyle* PythonQtWrapper_QStylePlugin::create(QStylePlugin* theWrappedObject, const QString& key) +{ + return ( theWrappedObject->create(key)); +} + + + +PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::childEvent(event0); +} +QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::createEditor(parent0, option1, index2); +} +void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::customEvent(event0); +} +void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("destroyEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::destroyEditor(editor0, index1); +} +QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("displayText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue{}; + void* args[3] = {nullptr, (void*)&value0, (void*)&locale1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::displayText(value0, locale1); +} +bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("editorEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (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] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::editorEvent(event0, model1, option2, index3); +} +bool PythonQtShell_QStyledItemDelegate::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::event(event0); +} +bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::eventFilter(object0, event1); +} +bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("helpEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::helpEvent(event0, view1, option2, index3); +} +void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initStyleOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::initStyleOption(option0, index1); +} +void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::paint(painter0, option1, index2); +} +QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintingRoles"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QVector returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::paintingRoles(); +} +void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::setEditorData(editor0, index1); +} +void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setModelData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::setModelData(editor0, model1, index2); +} +QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSize returnValue{}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::sizeHint(option0, index1); +} +void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::timerEvent(event0); +} +void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateEditorGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::updateEditorGeometry(editor0, option1, index2); +} +QStyledItemDelegate* PythonQtWrapper_QStyledItemDelegate::new_QStyledItemDelegate(QObject* parent) +{ +return new PythonQtShell_QStyledItemDelegate(parent); } + +const QMetaObject* PythonQtShell_QStyledItemDelegate::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStyledItemDelegate::staticMetaObject); + } else { + return &QStyledItemDelegate::staticMetaObject; + } +} +int PythonQtShell_QStyledItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStyledItemDelegate::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const +{ + return ( theWrappedObject->displayText(value, locale)); +} + +void PythonQtWrapper_QStyledItemDelegate::initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_initStyleOption(option, index)); +} + +QItemEditorFactory* PythonQtWrapper_QStyledItemDelegate::itemEditorFactory(QStyledItemDelegate* theWrappedObject) const +{ + return ( theWrappedObject->itemEditorFactory()); +} + +void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory) +{ + ( theWrappedObject->setItemEditorFactory(factory)); +} + + + +PythonQtShell_QSurface::~PythonQtShell_QSurface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSurfaceFormat PythonQtShell_QSurface::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSurfaceFormat(); +} +QSize PythonQtShell_QSurface::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceHandle"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPlatformSurface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPlatformSurface* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); + } else { + returnValue = *((QPlatformSurface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSurface::SurfaceType(); +} +QSurface* PythonQtWrapper_QSurface::new_QSurface(QSurface::SurfaceClass type) +{ +return new PythonQtShell_QSurface(type); } + +QSurfaceFormat PythonQtWrapper_QSurface::format(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QSize PythonQtWrapper_QSurface::size(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +bool PythonQtWrapper_QSurface::supportsOpenGL(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->supportsOpenGL()); +} + +QSurface::SurfaceClass PythonQtWrapper_QSurface::surfaceClass(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceClass()); +} + +QPlatformSurface* PythonQtWrapper_QSurface::surfaceHandle(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceHandle()); +} + +QSurface::SurfaceType PythonQtWrapper_QSurface::surfaceType(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceType()); +} + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.h similarity index 50% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.h index df49ead9..a3affd55 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.h @@ -1,423 +1,65 @@ #include #include #include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QStyleHintReturnMask : public QStyleHintReturnMask -{ -public: - PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleHintReturnMask(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturnMask : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleHintReturnMask::Type}; -enum StyleOptionVersion{ - Version = QStyleHintReturnMask::Version}; -public slots: -QStyleHintReturnMask* new_QStyleHintReturnMask(); -void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } -void py_set_region(QStyleHintReturnMask* theWrappedObject, QRegion region){ theWrappedObject->region = region; } -QRegion py_get_region(QStyleHintReturnMask* theWrappedObject){ return theWrappedObject->region; } -}; - - - - - -class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant -{ -public: - PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleHintReturnVariant(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturnVariant : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleHintReturnVariant::Type}; -enum StyleOptionVersion{ - Version = QStyleHintReturnVariant::Version}; -public slots: -QStyleHintReturnVariant* new_QStyleHintReturnVariant(); -void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } -void py_set_variant(QStyleHintReturnVariant* theWrappedObject, QVariant variant){ theWrappedObject->variant = variant; } -QVariant py_get_variant(QStyleHintReturnVariant* theWrappedObject){ return theWrappedObject->variant; } -}; - - - - - -class PythonQtWrapper_QStyleHints : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QStyleHints(QStyleHints* obj) { delete obj; } - int cursorFlashTime(QStyleHints* theWrappedObject) const; - qreal fontSmoothingGamma(QStyleHints* theWrappedObject) const; - int keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const; - int keyboardInputInterval(QStyleHints* theWrappedObject) const; - int mouseDoubleClickDistance(QStyleHints* theWrappedObject) const; - int mouseDoubleClickInterval(QStyleHints* theWrappedObject) const; - int mousePressAndHoldInterval(QStyleHints* theWrappedObject) const; - int mouseQuickSelectionThreshold(QStyleHints* theWrappedObject) const; - QChar passwordMaskCharacter(QStyleHints* theWrappedObject) const; - int passwordMaskDelay(QStyleHints* theWrappedObject) const; - void setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime); - bool setFocusOnTouchRelease(QStyleHints* theWrappedObject) const; - void setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval); - void setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval); - void setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval); - void setMouseQuickSelectionThreshold(QStyleHints* theWrappedObject, int threshold); - void setShowShortcutsInContextMenus(QStyleHints* theWrappedObject, bool showShortcutsInContextMenus); - void setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance); - void setStartDragTime(QStyleHints* theWrappedObject, int startDragTime); - void setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior); - void setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects); - void setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines); - bool showIsFullScreen(QStyleHints* theWrappedObject) const; - bool showIsMaximized(QStyleHints* theWrappedObject) const; - bool showShortcutsInContextMenus(QStyleHints* theWrappedObject) const; - bool singleClickActivation(QStyleHints* theWrappedObject) const; - int startDragDistance(QStyleHints* theWrappedObject) const; - int startDragTime(QStyleHints* theWrappedObject) const; - int startDragVelocity(QStyleHints* theWrappedObject) const; - Qt::TabFocusBehavior tabFocusBehavior(QStyleHints* theWrappedObject) const; - int touchDoubleTapDistance(QStyleHints* theWrappedObject) const; - bool useHoverEffects(QStyleHints* theWrappedObject) const; - bool useRtlExtensions(QStyleHints* theWrappedObject) const; - int wheelScrollLines(QStyleHints* theWrappedObject) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QStyleOption(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOption : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OptionType StyleOptionType StyleOptionVersion ) -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_DockWidget = QStyleOption::SO_DockWidget, 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_TitleBar = QStyleOption::SO_TitleBar, SO_GroupBox = QStyleOption::SO_GroupBox, SO_SizeGrip = QStyleOption::SO_SizeGrip, SO_CustomBase = QStyleOption::SO_CustomBase, SO_ComplexCustomBase = QStyleOption::SO_ComplexCustomBase}; -enum StyleOptionType{ - Type = QStyleOption::Type}; -enum StyleOptionVersion{ - Version = QStyleOption::Version}; -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); - QString py_toString(QStyleOption*); -void py_set_direction(QStyleOption* theWrappedObject, Qt::LayoutDirection direction){ theWrappedObject->direction = direction; } -Qt::LayoutDirection py_get_direction(QStyleOption* theWrappedObject){ return theWrappedObject->direction; } -void py_set_fontMetrics(QStyleOption* theWrappedObject, QFontMetrics fontMetrics){ theWrappedObject->fontMetrics = fontMetrics; } -QFontMetrics py_get_fontMetrics(QStyleOption* theWrappedObject){ return theWrappedObject->fontMetrics; } -void py_set_palette(QStyleOption* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } -QPalette py_get_palette(QStyleOption* theWrappedObject){ return theWrappedObject->palette; } -void py_set_rect(QStyleOption* theWrappedObject, QRect rect){ theWrappedObject->rect = rect; } -QRect py_get_rect(QStyleOption* theWrappedObject){ return theWrappedObject->rect; } -void py_set_state(QStyleOption* theWrappedObject, QStyle::State state){ theWrappedObject->state = state; } -QStyle::State py_get_state(QStyleOption* theWrappedObject){ return theWrappedObject->state; } -void py_set_styleObject(QStyleOption* theWrappedObject, QObject* styleObject){ theWrappedObject->styleObject = styleObject; } -QObject* py_get_styleObject(QStyleOption* theWrappedObject){ return theWrappedObject->styleObject; } -void py_set_type(QStyleOption* theWrappedObject, int type){ theWrappedObject->type = type; } -int py_get_type(QStyleOption* theWrappedObject){ return theWrappedObject->type; } -void py_set_version(QStyleOption* theWrappedObject, int version){ theWrappedObject->version = version; } -int py_get_version(QStyleOption* theWrappedObject){ return theWrappedObject->version; } -}; - - - - - -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) {}; - - ~PythonQtShell_QStyleOptionButton(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionButton : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ButtonFeature StyleOptionType StyleOptionVersion ) -Q_FLAGS(ButtonFeatures ) -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}; -enum StyleOptionVersion{ - Version = QStyleOptionButton::Version}; -Q_DECLARE_FLAGS(ButtonFeatures, ButtonFeature) -public slots: -QStyleOptionButton* new_QStyleOptionButton(); -QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); -QStyleOptionButton* new_QStyleOptionButton(int version); -void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } -void py_set_features(QStyleOptionButton* theWrappedObject, QStyleOptionButton::ButtonFeatures features){ theWrappedObject->features = features; } -QStyleOptionButton::ButtonFeatures py_get_features(QStyleOptionButton* theWrappedObject){ return theWrappedObject->features; } -void py_set_icon(QStyleOptionButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionButton* theWrappedObject){ return theWrappedObject->icon; } -void py_set_iconSize(QStyleOptionButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } -QSize py_get_iconSize(QStyleOptionButton* theWrappedObject){ return theWrappedObject->iconSize; } -void py_set_text(QStyleOptionButton* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionButton* theWrappedObject){ return theWrappedObject->text; } -}; - - - - - -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) {}; - - ~PythonQtShell_QStyleOptionDockWidget(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionDockWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleOptionDockWidget::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionDockWidget::Version}; -public slots: -QStyleOptionDockWidget* new_QStyleOptionDockWidget(); -QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); -QStyleOptionDockWidget* new_QStyleOptionDockWidget(int version); -void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } -void py_set_closable(QStyleOptionDockWidget* theWrappedObject, bool closable){ theWrappedObject->closable = closable; } -bool py_get_closable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->closable; } -void py_set_floatable(QStyleOptionDockWidget* theWrappedObject, bool floatable){ theWrappedObject->floatable = floatable; } -bool py_get_floatable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->floatable; } -void py_set_movable(QStyleOptionDockWidget* theWrappedObject, bool movable){ theWrappedObject->movable = movable; } -bool py_get_movable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->movable; } -void py_set_title(QStyleOptionDockWidget* theWrappedObject, QString title){ theWrappedObject->title = title; } -QString py_get_title(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->title; } -void py_set_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject, bool verticalTitleBar){ theWrappedObject->verticalTitleBar = verticalTitleBar; } -bool py_get_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->verticalTitleBar; } -}; - - - - - -class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 -{ -public: - PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionDockWidgetV2(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject -{ Q_OBJECT -public: -public slots: -QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(); -QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) { -PythonQtShell_QStyleOptionDockWidgetV2* a = new PythonQtShell_QStyleOptionDockWidgetV2(); -*((QStyleOptionDockWidgetV2*)a) = other; -return a; } -void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } -}; - - - - - -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) {}; - - ~PythonQtShell_QStyleOptionFocusRect(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFocusRect : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleOptionFocusRect::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionFocusRect::Version}; -public slots: -QStyleOptionFocusRect* new_QStyleOptionFocusRect(); -QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); -QStyleOptionFocusRect* new_QStyleOptionFocusRect(int version); -void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } -void py_set_backgroundColor(QStyleOptionFocusRect* theWrappedObject, QColor backgroundColor){ theWrappedObject->backgroundColor = backgroundColor; } -QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return theWrappedObject->backgroundColor; } -}; - - - - - -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) {}; - - ~PythonQtShell_QStyleOptionFrame(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFrame : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FrameFeature StyleOptionType StyleOptionVersion ) -Q_FLAGS(FrameFeatures ) -enum FrameFeature{ - None = QStyleOptionFrame::None, Flat = QStyleOptionFrame::Flat, Rounded = QStyleOptionFrame::Rounded}; -enum StyleOptionType{ - Type = QStyleOptionFrame::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionFrame::Version}; -Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) -public slots: -QStyleOptionFrame* new_QStyleOptionFrame(); -QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); -QStyleOptionFrame* new_QStyleOptionFrame(int version); -void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } -void py_set_features(QStyleOptionFrame* theWrappedObject, QStyleOptionFrame::FrameFeatures features){ theWrappedObject->features = features; } -QStyleOptionFrame::FrameFeatures py_get_features(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->features; } -void py_set_frameShape(QStyleOptionFrame* theWrappedObject, QFrame::Shape frameShape){ theWrappedObject->frameShape = frameShape; } -QFrame::Shape py_get_frameShape(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->frameShape; } -void py_set_lineWidth(QStyleOptionFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } -int py_get_lineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->lineWidth; } -void py_set_midLineWidth(QStyleOptionFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } -int py_get_midLineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } -}; - - - - - -class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 -{ -public: - PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionFrameV2(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFrameV2 : public QObject -{ Q_OBJECT -public: -public slots: -QStyleOptionFrameV2* new_QStyleOptionFrameV2(); -QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) { -PythonQtShell_QStyleOptionFrameV2* a = new PythonQtShell_QStyleOptionFrameV2(); -*((QStyleOptionFrameV2*)a) = other; -return a; } -void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QStyleOptionFrameV3 : public QStyleOptionFrameV3 -{ -public: - PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionFrameV3(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFrameV3 : public QObject -{ Q_OBJECT -public: -public slots: -QStyleOptionFrameV3* new_QStyleOptionFrameV3(); -QStyleOptionFrameV3* new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other) { -PythonQtShell_QStyleOptionFrameV3* a = new PythonQtShell_QStyleOptionFrameV3(); -*((QStyleOptionFrameV3*)a) = other; -return a; } -void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } -}; - - - - - 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) {}; + PythonQtShell_QStyleOptionGraphicsItem():QStyleOptionGraphicsItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other):QStyleOptionGraphicsItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGraphicsItem(int version):QStyleOptionGraphicsItem(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionGraphicsItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionGraphicsItem : public QObject @@ -432,8 +74,9 @@ public slots: QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(); QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other); QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(int version); -void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } +void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } qreal static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform); + QStyleOptionGraphicsItem* operator_assign(QStyleOptionGraphicsItem* theWrappedObject, const QStyleOptionGraphicsItem& arg__1); void py_set_exposedRect(QStyleOptionGraphicsItem* theWrappedObject, QRectF exposedRect){ theWrappedObject->exposedRect = exposedRect; } QRectF py_get_exposedRect(QStyleOptionGraphicsItem* theWrappedObject){ return theWrappedObject->exposedRect; } void py_set_levelOfDetail(QStyleOptionGraphicsItem* theWrappedObject, qreal levelOfDetail){ theWrappedObject->levelOfDetail = levelOfDetail; } @@ -449,14 +92,14 @@ QMatrix py_get_matrix(QStyleOptionGraphicsItem* theWrappedObject){ return theWr 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) {}; + PythonQtShell_QStyleOptionGroupBox():QStyleOptionGroupBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGroupBox(const QStyleOptionGroupBox& other):QStyleOptionGroupBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGroupBox(int version):QStyleOptionGroupBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionGroupBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionGroupBox : public QObject @@ -471,7 +114,8 @@ public slots: QStyleOptionGroupBox* new_QStyleOptionGroupBox(); QStyleOptionGroupBox* new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other); QStyleOptionGroupBox* new_QStyleOptionGroupBox(int version); -void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } +void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } + QStyleOptionGroupBox* operator_assign(QStyleOptionGroupBox* theWrappedObject, const QStyleOptionGroupBox& arg__1); void py_set_features(QStyleOptionGroupBox* theWrappedObject, QStyleOptionFrame::FrameFeatures features){ theWrappedObject->features = features; } QStyleOptionFrame::FrameFeatures py_get_features(QStyleOptionGroupBox* theWrappedObject){ return theWrappedObject->features; } void py_set_lineWidth(QStyleOptionGroupBox* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } @@ -493,14 +137,14 @@ QColor py_get_textColor(QStyleOptionGroupBox* theWrappedObject){ return theWrap 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) {}; + PythonQtShell_QStyleOptionHeader():QStyleOptionHeader(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionHeader(const QStyleOptionHeader& other):QStyleOptionHeader(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionHeader(int version):QStyleOptionHeader(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionHeader(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionHeader : public QObject @@ -521,7 +165,8 @@ public slots: QStyleOptionHeader* new_QStyleOptionHeader(); QStyleOptionHeader* new_QStyleOptionHeader(const QStyleOptionHeader& other); QStyleOptionHeader* new_QStyleOptionHeader(int version); -void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } +void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } + QStyleOptionHeader* operator_assign(QStyleOptionHeader* theWrappedObject, const QStyleOptionHeader& arg__1); void py_set_icon(QStyleOptionHeader* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } QIcon py_get_icon(QStyleOptionHeader* theWrappedObject){ return theWrappedObject->icon; } void py_set_iconAlignment(QStyleOptionHeader* theWrappedObject, Qt::Alignment iconAlignment){ theWrappedObject->iconAlignment = iconAlignment; } @@ -548,14 +193,14 @@ Qt::Alignment py_get_textAlignment(QStyleOptionHeader* theWrappedObject){ retur 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) {}; + PythonQtShell_QStyleOptionMenuItem():QStyleOptionMenuItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionMenuItem(const QStyleOptionMenuItem& other):QStyleOptionMenuItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionMenuItem(int version):QStyleOptionMenuItem(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionMenuItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionMenuItem : public QObject @@ -574,7 +219,8 @@ public slots: QStyleOptionMenuItem* new_QStyleOptionMenuItem(); QStyleOptionMenuItem* new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other); QStyleOptionMenuItem* new_QStyleOptionMenuItem(int version); -void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } +void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } + QStyleOptionMenuItem* operator_assign(QStyleOptionMenuItem* theWrappedObject, const QStyleOptionMenuItem& arg__1); void py_set_checkType(QStyleOptionMenuItem* theWrappedObject, QStyleOptionMenuItem::CheckType checkType){ theWrappedObject->checkType = checkType; } QStyleOptionMenuItem::CheckType py_get_checkType(QStyleOptionMenuItem* theWrappedObject){ return theWrappedObject->checkType; } void py_set_checked(QStyleOptionMenuItem* theWrappedObject, bool checked){ theWrappedObject->checked = checked; } @@ -601,15 +247,66 @@ QString py_get_text(QStyleOptionMenuItem* theWrappedObject){ return theWrappedO +class PythonQtShell_QStyleOptionProgressBar : public QStyleOptionProgressBar +{ +public: + PythonQtShell_QStyleOptionProgressBar():QStyleOptionProgressBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionProgressBar(const QStyleOptionProgressBar& other):QStyleOptionProgressBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionProgressBar(int version):QStyleOptionProgressBar(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionProgressBar(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionProgressBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionProgressBar::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionProgressBar::Version}; +public slots: +QStyleOptionProgressBar* new_QStyleOptionProgressBar(); +QStyleOptionProgressBar* new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other); +QStyleOptionProgressBar* new_QStyleOptionProgressBar(int version); +void delete_QStyleOptionProgressBar(QStyleOptionProgressBar* obj) { delete obj; } + QStyleOptionProgressBar* operator_assign(QStyleOptionProgressBar* theWrappedObject, const QStyleOptionProgressBar& arg__1); +void py_set_bottomToTop(QStyleOptionProgressBar* theWrappedObject, bool bottomToTop){ theWrappedObject->bottomToTop = bottomToTop; } +bool py_get_bottomToTop(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->bottomToTop; } +void py_set_invertedAppearance(QStyleOptionProgressBar* theWrappedObject, bool invertedAppearance){ theWrappedObject->invertedAppearance = invertedAppearance; } +bool py_get_invertedAppearance(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->invertedAppearance; } +void py_set_maximum(QStyleOptionProgressBar* theWrappedObject, int maximum){ theWrappedObject->maximum = maximum; } +int py_get_maximum(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->maximum; } +void py_set_minimum(QStyleOptionProgressBar* theWrappedObject, int minimum){ theWrappedObject->minimum = minimum; } +int py_get_minimum(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->minimum; } +void py_set_orientation(QStyleOptionProgressBar* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; } +Qt::Orientation py_get_orientation(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->orientation; } +void py_set_progress(QStyleOptionProgressBar* theWrappedObject, int progress){ theWrappedObject->progress = progress; } +int py_get_progress(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->progress; } +void py_set_text(QStyleOptionProgressBar* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->text; } +void py_set_textAlignment(QStyleOptionProgressBar* theWrappedObject, Qt::Alignment textAlignment){ theWrappedObject->textAlignment = textAlignment; } +Qt::Alignment py_get_textAlignment(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->textAlignment; } +void py_set_textVisible(QStyleOptionProgressBar* theWrappedObject, bool textVisible){ theWrappedObject->textVisible = textVisible; } +bool py_get_textVisible(QStyleOptionProgressBar* theWrappedObject){ return theWrappedObject->textVisible; } +}; + + + + + class PythonQtShell_QStyleOptionProgressBarV2 : public QStyleOptionProgressBarV2 { public: - PythonQtShell_QStyleOptionProgressBarV2():QStyleOptionProgressBarV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionProgressBarV2():QStyleOptionProgressBarV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionProgressBarV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionProgressBarV2 : public QObject @@ -621,7 +318,7 @@ QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgr PythonQtShell_QStyleOptionProgressBarV2* a = new PythonQtShell_QStyleOptionProgressBarV2(); *((QStyleOptionProgressBarV2*)a) = other; return a; } -void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } +void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } }; @@ -631,14 +328,14 @@ void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete o 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) {}; + PythonQtShell_QStyleOptionRubberBand():QStyleOptionRubberBand(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionRubberBand(const QStyleOptionRubberBand& other):QStyleOptionRubberBand(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionRubberBand(int version):QStyleOptionRubberBand(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionRubberBand(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionRubberBand : public QObject @@ -653,7 +350,8 @@ public slots: QStyleOptionRubberBand* new_QStyleOptionRubberBand(); QStyleOptionRubberBand* new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other); QStyleOptionRubberBand* new_QStyleOptionRubberBand(int version); -void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } +void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } + QStyleOptionRubberBand* operator_assign(QStyleOptionRubberBand* theWrappedObject, const QStyleOptionRubberBand& arg__1); void py_set_opaque(QStyleOptionRubberBand* theWrappedObject, bool opaque){ theWrappedObject->opaque = opaque; } bool py_get_opaque(QStyleOptionRubberBand* theWrappedObject){ return theWrappedObject->opaque; } void py_set_shape(QStyleOptionRubberBand* theWrappedObject, QRubberBand::Shape shape){ theWrappedObject->shape = shape; } @@ -667,14 +365,14 @@ QRubberBand::Shape py_get_shape(QStyleOptionRubberBand* theWrappedObject){ retu 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) {}; + PythonQtShell_QStyleOptionSizeGrip():QStyleOptionSizeGrip(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other):QStyleOptionSizeGrip(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSizeGrip(int version):QStyleOptionSizeGrip(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSizeGrip(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSizeGrip : public QObject @@ -689,7 +387,8 @@ public slots: QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(); QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other); QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(int version); -void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } +void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } + QStyleOptionSizeGrip* operator_assign(QStyleOptionSizeGrip* theWrappedObject, const QStyleOptionSizeGrip& arg__1); void py_set_corner(QStyleOptionSizeGrip* theWrappedObject, Qt::Corner corner){ theWrappedObject->corner = corner; } Qt::Corner py_get_corner(QStyleOptionSizeGrip* theWrappedObject){ return theWrappedObject->corner; } }; @@ -701,14 +400,14 @@ Qt::Corner py_get_corner(QStyleOptionSizeGrip* theWrappedObject){ return theWra 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) {}; + PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSlider(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSlider : public QObject @@ -723,7 +422,8 @@ public slots: QStyleOptionSlider* new_QStyleOptionSlider(); QStyleOptionSlider* new_QStyleOptionSlider(const QStyleOptionSlider& other); QStyleOptionSlider* new_QStyleOptionSlider(int version); -void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } +void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } + QStyleOptionSlider* operator_assign(QStyleOptionSlider* theWrappedObject, const QStyleOptionSlider& arg__1); void py_set_dialWrapping(QStyleOptionSlider* theWrappedObject, bool dialWrapping){ theWrappedObject->dialWrapping = dialWrapping; } bool py_get_dialWrapping(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->dialWrapping; } void py_set_maximum(QStyleOptionSlider* theWrappedObject, int maximum){ theWrappedObject->maximum = maximum; } @@ -757,14 +457,14 @@ bool py_get_upsideDown(QStyleOptionSlider* theWrappedObject){ return theWrapped 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) {}; + PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSpinBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSpinBox : public QObject @@ -779,7 +479,8 @@ public slots: QStyleOptionSpinBox* new_QStyleOptionSpinBox(); QStyleOptionSpinBox* new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other); QStyleOptionSpinBox* new_QStyleOptionSpinBox(int version); -void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } +void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } + QStyleOptionSpinBox* operator_assign(QStyleOptionSpinBox* theWrappedObject, const QStyleOptionSpinBox& arg__1); void py_set_buttonSymbols(QStyleOptionSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols buttonSymbols){ theWrappedObject->buttonSymbols = buttonSymbols; } QAbstractSpinBox::ButtonSymbols py_get_buttonSymbols(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->buttonSymbols; } void py_set_frame(QStyleOptionSpinBox* theWrappedObject, bool frame){ theWrappedObject->frame = frame; } @@ -792,17 +493,85 @@ QAbstractSpinBox::StepEnabled py_get_stepEnabled(QStyleOptionSpinBox* theWrappe +class PythonQtShell_QStyleOptionTab : public QStyleOptionTab +{ +public: + PythonQtShell_QStyleOptionTab():QStyleOptionTab(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTab(const QStyleOptionTab& other):QStyleOptionTab(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTab(int version):QStyleOptionTab(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionTab(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTab : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CornerWidget SelectedPosition StyleOptionType StyleOptionVersion TabFeature TabPosition ) +Q_FLAGS(CornerWidgets TabFeatures ) +enum CornerWidget{ + NoCornerWidgets = QStyleOptionTab::NoCornerWidgets, LeftCornerWidget = QStyleOptionTab::LeftCornerWidget, RightCornerWidget = QStyleOptionTab::RightCornerWidget}; +enum SelectedPosition{ + NotAdjacent = QStyleOptionTab::NotAdjacent, NextIsSelected = QStyleOptionTab::NextIsSelected, PreviousIsSelected = QStyleOptionTab::PreviousIsSelected}; +enum StyleOptionType{ + Type = QStyleOptionTab::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionTab::Version}; +enum TabFeature{ + None = QStyleOptionTab::None, HasFrame = QStyleOptionTab::HasFrame}; +enum TabPosition{ + Beginning = QStyleOptionTab::Beginning, Middle = QStyleOptionTab::Middle, End = QStyleOptionTab::End, OnlyOneTab = QStyleOptionTab::OnlyOneTab}; +Q_DECLARE_FLAGS(CornerWidgets, CornerWidget) +Q_DECLARE_FLAGS(TabFeatures, TabFeature) +public slots: +QStyleOptionTab* new_QStyleOptionTab(); +QStyleOptionTab* new_QStyleOptionTab(const QStyleOptionTab& other); +QStyleOptionTab* new_QStyleOptionTab(int version); +void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; } + QStyleOptionTab* operator_assign(QStyleOptionTab* theWrappedObject, const QStyleOptionTab& arg__1); +void py_set_cornerWidgets(QStyleOptionTab* theWrappedObject, QStyleOptionTab::CornerWidgets cornerWidgets){ theWrappedObject->cornerWidgets = cornerWidgets; } +QStyleOptionTab::CornerWidgets py_get_cornerWidgets(QStyleOptionTab* theWrappedObject){ return theWrappedObject->cornerWidgets; } +void py_set_documentMode(QStyleOptionTab* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } +bool py_get_documentMode(QStyleOptionTab* theWrappedObject){ return theWrappedObject->documentMode; } +void py_set_features(QStyleOptionTab* theWrappedObject, QStyleOptionTab::TabFeatures features){ theWrappedObject->features = features; } +QStyleOptionTab::TabFeatures py_get_features(QStyleOptionTab* theWrappedObject){ return theWrappedObject->features; } +void py_set_icon(QStyleOptionTab* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionTab* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionTab* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_leftButtonSize(QStyleOptionTab* theWrappedObject, QSize leftButtonSize){ theWrappedObject->leftButtonSize = leftButtonSize; } +QSize py_get_leftButtonSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->leftButtonSize; } +void py_set_position(QStyleOptionTab* theWrappedObject, QStyleOptionTab::TabPosition position){ theWrappedObject->position = position; } +QStyleOptionTab::TabPosition py_get_position(QStyleOptionTab* theWrappedObject){ return theWrappedObject->position; } +void py_set_rightButtonSize(QStyleOptionTab* theWrappedObject, QSize rightButtonSize){ theWrappedObject->rightButtonSize = rightButtonSize; } +QSize py_get_rightButtonSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->rightButtonSize; } +void py_set_row(QStyleOptionTab* theWrappedObject, int row){ theWrappedObject->row = row; } +int py_get_row(QStyleOptionTab* theWrappedObject){ return theWrappedObject->row; } +void py_set_selectedPosition(QStyleOptionTab* theWrappedObject, QStyleOptionTab::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionTab::SelectedPosition py_get_selectedPosition(QStyleOptionTab* theWrappedObject){ return theWrappedObject->selectedPosition; } +void py_set_shape(QStyleOptionTab* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } +QTabBar::Shape py_get_shape(QStyleOptionTab* theWrappedObject){ return theWrappedObject->shape; } +void py_set_text(QStyleOptionTab* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionTab* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + 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) {}; + PythonQtShell_QStyleOptionTabBarBase():QStyleOptionTabBarBase(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabBarBase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBase : public QObject @@ -817,7 +586,8 @@ public slots: QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(); QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other); QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(int version); -void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } +void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } + QStyleOptionTabBarBase* operator_assign(QStyleOptionTabBarBase* theWrappedObject, const QStyleOptionTabBarBase& arg__1); void py_set_documentMode(QStyleOptionTabBarBase* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } bool py_get_documentMode(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->documentMode; } void py_set_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject, QRect selectedTabRect){ theWrappedObject->selectedTabRect = selectedTabRect; } @@ -835,12 +605,12 @@ QRect py_get_tabBarRect(QStyleOptionTabBarBase* theWrappedObject){ return theWr class PythonQtShell_QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBaseV2 { public: - PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabBarBaseV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBaseV2 : public QObject @@ -852,7 +622,7 @@ QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarB PythonQtShell_QStyleOptionTabBarBaseV2* a = new PythonQtShell_QStyleOptionTabBarBaseV2(); *((QStyleOptionTabBarBaseV2*)a) = other; return a; } -void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } +void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } }; @@ -862,12 +632,12 @@ void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 { public: - PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV2 : public QObject @@ -879,7 +649,7 @@ QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTabV2& other) { PythonQtShell_QStyleOptionTabV2* a = new PythonQtShell_QStyleOptionTabV2(); *((QStyleOptionTabV2*)a) = other; return a; } -void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } +void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } }; @@ -889,12 +659,12 @@ void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } class PythonQtShell_QStyleOptionTabV3 : public QStyleOptionTabV3 { public: - PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV3 : public QObject @@ -906,7 +676,7 @@ QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV3& other) { PythonQtShell_QStyleOptionTabV3* a = new PythonQtShell_QStyleOptionTabV3(); *((QStyleOptionTabV3*)a) = other; return a; } -void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } +void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } }; @@ -916,14 +686,14 @@ void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } 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) {}; + PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabWidgetFrame(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject @@ -938,7 +708,8 @@ public slots: QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(); QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other); QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(int version); -void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } +void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } + QStyleOptionTabWidgetFrame* operator_assign(QStyleOptionTabWidgetFrame* theWrappedObject, const QStyleOptionTabWidgetFrame& arg__1); void py_set_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize leftCornerWidgetSize){ theWrappedObject->leftCornerWidgetSize = leftCornerWidgetSize; } QSize py_get_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->leftCornerWidgetSize; } void py_set_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } @@ -964,12 +735,12 @@ QSize py_get_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return t class PythonQtShell_QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrameV2 { public: - PythonQtShell_QStyleOptionTabWidgetFrameV2():QStyleOptionTabWidgetFrameV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabWidgetFrameV2():QStyleOptionTabWidgetFrameV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabWidgetFrameV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrameV2 : public QObject @@ -981,7 +752,7 @@ QStyleOptionTabWidgetFrameV2* new_QStyleOptionTabWidgetFrameV2(const QStyleOptio PythonQtShell_QStyleOptionTabWidgetFrameV2* a = new PythonQtShell_QStyleOptionTabWidgetFrameV2(); *((QStyleOptionTabWidgetFrameV2*)a) = other; return a; } -void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { delete obj; } +void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { delete obj; } }; @@ -991,14 +762,14 @@ void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { de 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) {}; + PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTitleBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTitleBar : public QObject @@ -1013,7 +784,8 @@ public slots: QStyleOptionTitleBar* new_QStyleOptionTitleBar(); QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); QStyleOptionTitleBar* new_QStyleOptionTitleBar(int version); -void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } +void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } + QStyleOptionTitleBar* operator_assign(QStyleOptionTitleBar* theWrappedObject, const QStyleOptionTitleBar& arg__1); void py_set_icon(QStyleOptionTitleBar* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } QIcon py_get_icon(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->icon; } void py_set_text(QStyleOptionTitleBar* theWrappedObject, QString text){ theWrappedObject->text = text; } @@ -1031,14 +803,14 @@ int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWra 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) {}; + PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBar : public QObject @@ -1059,7 +831,8 @@ public slots: QStyleOptionToolBar* new_QStyleOptionToolBar(); QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); QStyleOptionToolBar* new_QStyleOptionToolBar(int version); -void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } +void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } + QStyleOptionToolBar* operator_assign(QStyleOptionToolBar* theWrappedObject, const QStyleOptionToolBar& arg__1); void py_set_features(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarFeatures features){ theWrappedObject->features = features; } QStyleOptionToolBar::ToolBarFeatures py_get_features(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->features; } void py_set_lineWidth(QStyleOptionToolBar* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } @@ -1081,14 +854,14 @@ Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ retu 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) {}; + PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBox : public QObject @@ -1107,7 +880,8 @@ public slots: QStyleOptionToolBox* new_QStyleOptionToolBox(); QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); QStyleOptionToolBox* new_QStyleOptionToolBox(int version); -void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } +void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } + QStyleOptionToolBox* operator_assign(QStyleOptionToolBox* theWrappedObject, const QStyleOptionToolBox& arg__1); void py_set_icon(QStyleOptionToolBox* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } QIcon py_get_icon(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->icon; } void py_set_position(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::TabPosition position){ theWrappedObject->position = position; } @@ -1125,12 +899,12 @@ QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedOb class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 { public: - PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBoxV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject @@ -1142,7 +916,396 @@ QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& ot PythonQtShell_QStyleOptionToolBoxV2* a = new PythonQtShell_QStyleOptionToolBoxV2(); *((QStyleOptionToolBoxV2*)a) = other; return a; } -void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton +{ +public: + PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionToolButton(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ToolButtonFeature ) +Q_FLAGS(ToolButtonFeatures ) +enum StyleOptionType{ + Type = QStyleOptionToolButton::Type}; +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}; +Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) +public slots: +QStyleOptionToolButton* new_QStyleOptionToolButton(); +QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); +QStyleOptionToolButton* new_QStyleOptionToolButton(int version); +void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } + QStyleOptionToolButton* operator_assign(QStyleOptionToolButton* theWrappedObject, const QStyleOptionToolButton& arg__1); +void py_set_arrowType(QStyleOptionToolButton* theWrappedObject, Qt::ArrowType arrowType){ theWrappedObject->arrowType = arrowType; } +Qt::ArrowType py_get_arrowType(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->arrowType; } +void py_set_features(QStyleOptionToolButton* theWrappedObject, QStyleOptionToolButton::ToolButtonFeatures features){ theWrappedObject->features = features; } +QStyleOptionToolButton::ToolButtonFeatures py_get_features(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->features; } +void py_set_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; } +void py_set_icon(QStyleOptionToolButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_pos(QStyleOptionToolButton* theWrappedObject, QPoint pos){ theWrappedObject->pos = pos; } +QPoint py_get_pos(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->pos; } +void py_set_text(QStyleOptionToolButton* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->text; } +void py_set_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; } +Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem +{ +public: + PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItem(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Position StyleOptionType StyleOptionVersion ViewItemFeature ViewItemPosition ) +Q_FLAGS(ViewItemFeatures ) +enum Position{ + Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; +enum StyleOptionType{ + Type = QStyleOptionViewItem::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionViewItem::Version}; +enum ViewItemFeature{ + None = QStyleOptionViewItem::None, WrapText = QStyleOptionViewItem::WrapText, Alternate = QStyleOptionViewItem::Alternate, HasCheckIndicator = QStyleOptionViewItem::HasCheckIndicator, HasDisplay = QStyleOptionViewItem::HasDisplay, HasDecoration = QStyleOptionViewItem::HasDecoration}; +enum ViewItemPosition{ + Invalid = QStyleOptionViewItem::Invalid, Beginning = QStyleOptionViewItem::Beginning, Middle = QStyleOptionViewItem::Middle, End = QStyleOptionViewItem::End, OnlyOne = QStyleOptionViewItem::OnlyOne}; +Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) +public slots: +QStyleOptionViewItem* new_QStyleOptionViewItem(); +QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); +QStyleOptionViewItem* new_QStyleOptionViewItem(int version); +void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } + QStyleOptionViewItem* operator_assign(QStyleOptionViewItem* theWrappedObject, const QStyleOptionViewItem& arg__1); +void py_set_backgroundBrush(QStyleOptionViewItem* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; } +QBrush py_get_backgroundBrush(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->backgroundBrush; } +void py_set_checkState(QStyleOptionViewItem* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; } +Qt::CheckState py_get_checkState(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->checkState; } +void py_set_decorationAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment decorationAlignment){ theWrappedObject->decorationAlignment = decorationAlignment; } +Qt::Alignment py_get_decorationAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationAlignment; } +void py_set_decorationPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::Position decorationPosition){ theWrappedObject->decorationPosition = decorationPosition; } +QStyleOptionViewItem::Position py_get_decorationPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationPosition; } +void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; } +QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; } +void py_set_displayAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment displayAlignment){ theWrappedObject->displayAlignment = displayAlignment; } +Qt::Alignment py_get_displayAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->displayAlignment; } +void py_set_features(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemFeatures features){ theWrappedObject->features = features; } +QStyleOptionViewItem::ViewItemFeatures py_get_features(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->features; } +void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; } +void py_set_icon(QStyleOptionViewItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->icon; } +void py_set_index(QStyleOptionViewItem* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; } +QModelIndex py_get_index(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->index; } +void py_set_locale(QStyleOptionViewItem* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; } +QLocale py_get_locale(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->locale; } +void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; } +bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; } +void py_set_text(QStyleOptionViewItem* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->text; } +void py_set_textElideMode(QStyleOptionViewItem* theWrappedObject, Qt::TextElideMode textElideMode){ theWrappedObject->textElideMode = textElideMode; } +Qt::TextElideMode py_get_textElideMode(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->textElideMode; } +void py_set_viewItemPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; } +QStyleOptionViewItem::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->viewItemPosition; } +const QWidget* py_get_widget(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->widget; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 +{ +public: + PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other) { +PythonQtShell_QStyleOptionViewItemV2* a = new PythonQtShell_QStyleOptionViewItemV2(); +*((QStyleOptionViewItemV2*)a) = other; +return a; } +void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 +{ +public: + PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV3(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other) { +PythonQtShell_QStyleOptionViewItemV3* a = new PythonQtShell_QStyleOptionViewItemV3(); +*((QStyleOptionViewItemV3*)a) = other; +return a; } +void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 +{ +public: + PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV4(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject +{ Q_OBJECT +public: +public slots: +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other) { +PythonQtShell_QStyleOptionViewItemV4* a = new PythonQtShell_QStyleOptionViewItemV4(); +*((QStyleOptionViewItemV4*)a) = other; +return a; } +void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } +}; + + + + + +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; } + 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 drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt); + void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap); + 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); + QStyle* style(QStylePainter* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStylePlugin : public QStylePlugin +{ +public: + PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStylePlugin() override; + +void childEvent(QChildEvent* event) override; +QStyle* create(const QString& key) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin +{ public: +inline QStyle* py_q_create(const QString& key) { return this->create(key); } +}; + +class PythonQtWrapper_QStylePlugin : public QObject +{ Q_OBJECT +public: +public slots: +QStylePlugin* new_QStylePlugin(QObject* parent = nullptr); +void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } + QStyle* create(QStylePlugin* theWrappedObject, const QString& key); + QStyle* py_q_create(QStylePlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QStylePlugin*)theWrappedObject)->py_q_create(key));} +}; + + + + + +class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate +{ +public: + PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyledItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +QString displayText(const QVariant& value, const QLocale& locale) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate +{ public: +inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return this->editorEvent(event, model, option, index); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { this->initStyleOption(option, index); } +inline QWidget* py_q_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } +inline QString py_q_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } +inline bool py_q_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } +inline void py_q_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } +inline void py_q_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } +inline void py_q_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } +inline void py_q_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } +inline QSize py_q_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } +inline void py_q_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QStyledItemDelegate : public QObject +{ Q_OBJECT +public: +public slots: +QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = nullptr); +void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } + QWidget* py_q_createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} + QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; + QString py_q_displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_displayText(value, locale));} + bool py_q_editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} + bool py_q_eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_eventFilter(object, event));} + void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; + void py_q_initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_initStyleOption(option, index));} + QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; + void py_q_paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_paint(painter, option, index));} + void py_q_setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setEditorData(editor, index));} + void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); + void py_q_setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setModelData(editor, model, index));} + QSize py_q_sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_sizeHint(option, index));} + void py_q_updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_updateEditorGeometry(editor, option, index));} +}; + + + + + +class PythonQtShell_QSurface : public QSurface +{ +public: + PythonQtShell_QSurface(QSurface::SurfaceClass type):QSurface(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QSurface() override; + +QSurfaceFormat format() const override; +QSize size() const override; +QPlatformSurface* surfaceHandle() const override; +QSurface::SurfaceType surfaceType() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSurface : public QSurface +{ public: +inline QSurfaceFormat py_q_format() const { return this->format(); } +inline QSize py_q_size() const { return this->size(); } +inline QPlatformSurface* py_q_surfaceHandle() const { return this->surfaceHandle(); } +inline QSurface::SurfaceType py_q_surfaceType() const { return this->surfaceType(); } +}; + +class PythonQtWrapper_QSurface : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SurfaceClass SurfaceType ) +enum SurfaceClass{ + Window = QSurface::Window, Offscreen = QSurface::Offscreen}; +enum SurfaceType{ + RasterSurface = QSurface::RasterSurface, OpenGLSurface = QSurface::OpenGLSurface, RasterGLSurface = QSurface::RasterGLSurface, OpenVGSurface = QSurface::OpenVGSurface, VulkanSurface = QSurface::VulkanSurface, MetalSurface = QSurface::MetalSurface}; +public slots: +QSurface* new_QSurface(QSurface::SurfaceClass type); +void delete_QSurface(QSurface* obj) { delete obj; } + QSurfaceFormat format(QSurface* theWrappedObject) const; + QSurfaceFormat py_q_format(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_format());} + QSize size(QSurface* theWrappedObject) const; + QSize py_q_size(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_size());} + bool supportsOpenGL(QSurface* theWrappedObject) const; + QSurface::SurfaceClass surfaceClass(QSurface* theWrappedObject) const; + QPlatformSurface* surfaceHandle(QSurface* theWrappedObject) const; + QPlatformSurface* py_q_surfaceHandle(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_surfaceHandle());} + QSurface::SurfaceType surfaceType(QSurface* theWrappedObject) const; + QSurface::SurfaceType py_q_surfaceType(QSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSurface*)theWrappedObject)->py_q_surfaceType());} }; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp similarity index 82% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp index 532d2cb2..a0f88a65 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp @@ -12,10 +12,11 @@ #include "com_trolltech_qt_gui9.h" #include "com_trolltech_qt_gui10.h" #include "com_trolltech_qt_gui11.h" +#include "com_trolltech_qt_gui12.h" static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QEvent *object = (QEvent *)ptr; if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) { *class_name = "QActionEvent"; @@ -181,6 +182,10 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QToolBarChangeEvent"; return (QToolBarChangeEvent*)object; } + if (object->type() == QEvent::TouchBegin || object->type() == QEvent::TouchUpdate || object->type() == QEvent::TouchEnd) { + *class_name = "QTouchEvent"; + return (QTouchEvent*)object; + } if (object->type() == QEvent::WhatsThisClicked) { *class_name = "QWhatsThisClickedEvent"; return (QWhatsThisClickedEvent*)object; @@ -193,11 +198,11 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QWindowStateChangeEvent"; return (QWindowStateChangeEvent*)object; } - return NULL; + return nullptr; } static void* polymorphichandler_QGradient(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QGradient *object = (QGradient *)ptr; if (object->type() == QGradient::ConicalGradient) { *class_name = "QConicalGradient"; @@ -215,11 +220,11 @@ static void* polymorphichandler_QGradient(const void *ptr, const char **class_na *class_name = "QRadialGradient"; return (QRadialGradient*)object; } - return NULL; + return nullptr; } static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QGraphicsItem *object = (QGraphicsItem *)ptr; if (object->type() == QGraphicsEllipseItem::Type) { *class_name = "QGraphicsEllipseItem"; @@ -253,11 +258,19 @@ static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **clas *class_name = "QGraphicsSimpleTextItem"; return (QGraphicsSimpleTextItem*)object; } - return NULL; + if (object->type() == QGraphicsTextItem::Type) { + *class_name = "QGraphicsTextItem"; + return (QGraphicsTextItem*)object; + } + if (object->isWidget()) { + *class_name = "QGraphicsWidget"; + return (QGraphicsWidget*)object; + } + return nullptr; } static void* polymorphichandler_QStyleOption(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QStyleOption *object = (QStyleOption *)ptr; if (object->type == QStyleOption::SO_Default) { *class_name = "QStyleOption"; @@ -267,6 +280,10 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *class_name = "QStyleOptionButton"; return (QStyleOptionButton*)object; } + if (object->type == QStyleOptionComboBox::Type && object->version == QStyleOptionComboBox::Version) { + *class_name = "QStyleOptionComboBox"; + return (QStyleOptionComboBox*)object; + } if (object->type == QStyleOptionDockWidget::Type && object->version == QStyleOptionDockWidget::Version) { *class_name = "QStyleOptionDockWidget"; return (QStyleOptionDockWidget*)object; @@ -307,6 +324,14 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *class_name = "QStyleOptionMenuItem"; return (QStyleOptionMenuItem*)object; } + if (object->type == QStyleOptionProgressBar::Type && object->version == QStyleOptionProgressBar::Version) { + *class_name = "QStyleOptionProgressBar"; + return (QStyleOptionProgressBar*)object; + } + if (object->type == QStyleOptionProgressBarV2::Type && object->version == QStyleOptionProgressBarV2::Version) { + *class_name = "QStyleOptionProgressBarV2"; + return (QStyleOptionProgressBarV2*)object; + } if (object->type == QStyleOptionRubberBand::Type && object->version == QStyleOptionRubberBand::Version) { *class_name = "QStyleOptionRubberBand"; return (QStyleOptionRubberBand*)object; @@ -323,6 +348,10 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *class_name = "QStyleOptionSpinBox"; return (QStyleOptionSpinBox*)object; } + if (object->type == QStyleOptionTab::Type && object->version == QStyleOptionTab::Version) { + *class_name = "QStyleOptionTab"; + return (QStyleOptionTab*)object; + } if (object->type == QStyleOptionTabBarBase::Type && object->version == QStyleOptionTabBarBase::Version) { *class_name = "QStyleOptionTabBarBase"; return (QStyleOptionTabBarBase*)object; @@ -331,6 +360,14 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *class_name = "QStyleOptionTabBarBaseV2"; return (QStyleOptionTabBarBaseV2*)object; } + if (object->type == QStyleOptionTabV2::Type && object->version == QStyleOptionTabV2::Version) { + *class_name = "QStyleOptionTabV2"; + return (QStyleOptionTabV2*)object; + } + if (object->type == QStyleOptionTabV3::Type && object->version == QStyleOptionTabV3::Version) { + *class_name = "QStyleOptionTabV3"; + return (QStyleOptionTabV3*)object; + } if (object->type == QStyleOptionTabWidgetFrame::Type && object->version == QStyleOptionTabWidgetFrame::Version) { *class_name = "QStyleOptionTabWidgetFrame"; return (QStyleOptionTabWidgetFrame*)object; @@ -375,7 +412,7 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *class_name = "QStyleOptionViewItemV4"; return (QStyleOptionViewItemV4*)object; } - return NULL; + return nullptr; } @@ -396,22 +433,23 @@ PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::PaintContext", PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::Selection", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAccessibleEvent", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QBackingStore", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QBackingStore", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QButtonGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCalendarWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCheckBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QColorDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QColumnView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCommandLinkButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCommonStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCompleter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QContextMenuEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDataWidgetMapper::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDateEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -426,8 +464,8 @@ PythonQt::priv()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQ PythonQt::priv()->registerClass(&QDoubleSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDoubleValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDrag::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QDragMoveEvent", "QDropEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QDropEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QEnterEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -435,21 +473,24 @@ PythonQt::priv()->registerClass(&QErrorMessage::staticMetaObject, "QtGui", Pytho PythonQt::priv()->registerCPPClass("QExposeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFileDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QFileIconProvider", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFileSystemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFocusFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFontComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFontDatabase", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFontDatabase", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QFormLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QFontMetrics", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QFontMetricsF", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QFormLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGestureEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QGestureEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGestureRecognizer", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QGraphicsAnchor::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGlyphRun", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QGraphicsAnchor::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsAnchorLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsBlurEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsColorizeEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -467,6 +508,8 @@ PythonQt::priv()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtC PythonQt::priv()->registerCPPClass("QGraphicsLineItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QGraphicsLineItem", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QGraphicsLinearLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGraphicsObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsObject", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QGraphicsOpacityEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsPathItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsPixmapItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -477,60 +520,63 @@ PythonQt::priv()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeI PythonQt::priv()->registerClass(&QGraphicsRotation::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsScale::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsScene::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneDragDropEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneDragDropEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsSimpleTextItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsTextItem::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsTransform::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QGridLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsWidget", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); +PythonQt::priv()->registerClass(&QGridLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QGroupBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QGuiApplication::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QHBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGuiApplication::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QHBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QHeaderView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QHoverEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QIconEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QImageIOHandler", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QImageIOPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QInputDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QInputEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QInputMethod::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QInputMethodEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QInputMethod::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QInputMethodEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QInputMethodEvent::Attribute", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QInputMethodQueryEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QInputMethodQueryEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QIntValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QItemEditorCreatorBase", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QItemEditorFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QItemSelectionModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QItemSelectionRange", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QKeyEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QKeyEventTransition::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QKeySequenceEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QLCDNumber::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QLabel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::self()->addParentClass("QLayout", "QLayoutItem",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QLineEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QListView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QListWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QListWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMainWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMargins", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide); -PythonQt::priv()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMargins", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QMdiArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMdiSubWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMenu::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); @@ -542,44 +588,57 @@ PythonQt::priv()->registerCPPClass("QMoveEvent", "QEvent", "QtGui", PythonQtCrea PythonQt::priv()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QNativeGestureEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOffscreenSurface::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QOpenGLBuffer", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::self()->addParentClass("QOffscreenSurface", "QSurface",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QOpenGLBuffer", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QOpenGLContext::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerClass(&QOpenGLContextGroup::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QOpenGLContextGroup::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObject", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObjectFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObjectFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QOpenGLPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QOpenGLPaintDevice", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerClass(&QOpenGLShader::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QOpenGLShader::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOpenGLShaderProgram::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTexture", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTextureBlitter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QOpenGLTimeMonitor::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QOpenGLTimerQuery::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLVersionProfile", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QOpenGLVertexArrayObject::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLTexture", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLTextureBlitter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QOpenGLTimeMonitor::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QOpenGLTimerQuery::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLVersionProfile", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QOpenGLVertexArrayObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOpenGLWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QOpenGLWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QPageLayout", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPageSize", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QPagedPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QPagedPaintDevice", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QPagedPaintDevice::Margins", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QPaintDeviceWindow::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::self()->addParentClass("QPaintDeviceWindow", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QPaintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPaintEngineState", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPaintEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply); -PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QPainterPath::Element", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QPainter::PixmapFragment", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QPanGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QPanGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPdfWriter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QPdfWriter", "QPagedPaintDevice",PythonQtUpcastingOffset()); +PythonQt::self()->addParentClass("QPdfWriter", "QPaintDevice",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QPicture", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::self()->addParentClass("QPicture", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QPictureFormatPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QPinchGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QPinchGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPixelFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QPixmapCache", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPixmapCache::Key", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPlainTextDocumentLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPlainTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPlatformSurfaceEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPolygonF", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPrintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPrintPreviewDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -587,30 +646,33 @@ PythonQt::priv()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQt::priv()->registerCPPClass("QPrinter", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QPrinter", "QPagedPaintDevice",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QPrinter", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QPrinterInfo", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QPrinterInfo", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QProgressBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QProgressDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QProxyStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPushButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQuaternion", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QQuaternion", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QRadioButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRasterWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QRawFont", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QRegExpValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRegularExpressionValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QResizeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QRgba64", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QRgba64", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QScreenOrientationChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QScreen::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QScreenOrientationChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QScrollBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QScrollEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QScrollPrepareEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QScrollEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QScrollPrepareEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QScroller::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QScrollerProperties", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSizeGrip::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSortFilterProxyModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -620,21 +682,23 @@ PythonQt::priv()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCr PythonQt::priv()->registerClass(&QSplashScreen::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSplitter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSplitterHandle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QStackedLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QStackedLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QStackedWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStandardItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QStandardItemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStaticText", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QStatusBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QStringListModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QStyleFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturn", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturnMask", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturnVariant", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QStyleHints::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStyleHints::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QStyleOption", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionButton", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionComboBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionDockWidget", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionDockWidgetV2", "QStyleOptionDockWidget", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionFocusRect", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -645,15 +709,17 @@ PythonQt::priv()->registerCPPClass("QStyleOptionGraphicsItem", "QStyleOption", " PythonQt::priv()->registerCPPClass("QStyleOptionGroupBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionHeader", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionMenuItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStyleOptionProgressBarV2", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionProgressBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionProgressBarV2", "QStyleOptionProgressBar", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionRubberBand", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionSizeGrip", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionSlider", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionSpinBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTab", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionTabBarBase", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionTabBarBaseV2", "QStyleOptionTabBarBase", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStyleOptionTabV2", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStyleOptionTabV3", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabV2", "QStyleOptionTab", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionTabV3", "QStyleOptionTab", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionTabWidgetFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionTabWidgetFrameV2", "QStyleOptionTabWidgetFrame", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionTitleBar", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -665,12 +731,12 @@ PythonQt::priv()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGu PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV2", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV3", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV4", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QStylePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QStyledItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSurface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSurfaceFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QSwipeGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSurfaceFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QSwipeGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSyntaxHighlighter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSystemTrayIcon::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTabBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -678,45 +744,50 @@ PythonQt::priv()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQt PythonQt::priv()->registerClass(&QTableView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTableWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTableWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTabletEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QTapAndHoldGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QTapGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QTapAndHoldGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QTapGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTextBlockFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextBlockGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextBlockUserData", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTextBrowser::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextCharFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextCursor", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextDocument::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextEdit::ExtraSelection", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QTextFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextFrameFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextImageFormat", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextImageFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextLayout", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextLayout", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextLayout::FormatRange", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QTextList::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextListFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextOption", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextOption", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextOption::Tab", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextTable", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextTableCellFormat", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QTextTable::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextTableCellFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTextTableFormat", "QTextFrameFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QTileRules", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QToolBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QToolBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QToolButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTouchDevice", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTouchDevice", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTouchEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTouchEvent::TouchPoint", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QTreeView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTreeWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTreeWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); @@ -724,20 +795,22 @@ PythonQt::priv()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateOb PythonQt::priv()->registerClass(&QUndoGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QUndoStack::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QUndoView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QVBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QVBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QWheelEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QWidget", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QWidgetAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QWidgetItem", "QLayoutItem",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::self()->addParentClass("QWindow", "QSurface",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QWizard::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QWizardPage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -753,14 +826,18 @@ PythonQtMethodInfo::addParameterTypeAlias("QList", "QList< PythonQtMethodInfo::addParameterTypeAlias("QList", "QList"); PythonQtRegisterListTemplateConverterForKnownClass(QList, QGlyphRun); PythonQtRegisterListTemplateConverterForKnownClass(QList, QInputMethodEvent::Attribute); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QItemSelectionRange); PythonQtRegisterListTemplateConverterForKnownClass(QList, QModelIndex); PythonQtRegisterListTemplateConverterForKnownClass(QList, QPageSize); PythonQtRegisterListTemplateConverterForKnownClass(QList, QPersistentModelIndex); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QPolygonF); PythonQtRegisterListTemplateConverterForKnownClass(QList, QPrinterInfo); PythonQtRegisterListTemplateConverterForKnownClass(QList, QTableWidgetSelectionRange); PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextBlock); PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextEdit::ExtraSelection); PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextLayout::FormatRange); PythonQtRegisterListTemplateConverterForKnownClass(QList, QTextOption::Tab); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QTouchEvent::TouchPoint); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QItemSelectionRange); PythonQtRegisterListTemplateConverterForKnownClass(QVector, QTextLayout::FormatRange); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri rename to generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp new file mode 100644 index 00000000..f66cf865 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -0,0 +1,5177 @@ +#include "com_trolltech_qt_gui_builtin0.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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QBitmap::~PythonQtShell_QBitmap() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QBitmap::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::devType(); +} +void PythonQtShell_QBitmap::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QBitmap::initPainter(painter0); +} +int PythonQtShell_QBitmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::metric(arg__1); +} +QPaintEngine* PythonQtShell_QBitmap::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::paintEngine(); +} +QPaintDevice* PythonQtShell_QBitmap::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::redirected(offset0); +} +QPainter* PythonQtShell_QBitmap::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBitmap::sharedPainter(); +} +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap() +{ +return new PythonQtShell_QBitmap(); } + +QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QBitmap& other) +{ +return new PythonQtShell_QBitmap(other); } + +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::static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) +{ + return (QBitmap::fromImage(image, flags)); +} + +QBitmap* PythonQtWrapper_QBitmap::operator_assign(QBitmap* theWrappedObject, const QBitmap& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QBitmap::swap(QBitmap* theWrappedObject, QBitmap& other) +{ + ( theWrappedObject->swap(other)); +} + +QBitmap PythonQtWrapper_QBitmap::transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const +{ + return ( theWrappedObject->transformed(arg__1)); +} + +QBitmap PythonQtWrapper_QBitmap::transformed(QBitmap* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->transformed(matrix)); +} + + + +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); } + +const QColor* PythonQtWrapper_QBrush::color(QBrush* theWrappedObject) const +{ + return &( theWrappedObject->color()); +} + +const QGradient* PythonQtWrapper_QBrush::gradient(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->gradient()); +} + +bool PythonQtWrapper_QBrush::isOpaque(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->isOpaque()); +} + +const QMatrix* PythonQtWrapper_QBrush::matrix(QBrush* theWrappedObject) const +{ + return &( theWrappedObject->matrix()); +} + +bool PythonQtWrapper_QBrush::__ne__(QBrush* theWrappedObject, const QBrush& b) const +{ + return ( (*theWrappedObject)!= b); +} + +void PythonQtWrapper_QBrush::writeTo(QBrush* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QBrush::__eq__(QBrush* theWrappedObject, const QBrush& b) const +{ + return ( (*theWrappedObject)== b); +} + +void PythonQtWrapper_QBrush::readFrom(QBrush* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QBrush::setColor(QBrush* theWrappedObject, Qt::GlobalColor color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QBrush::setColor(QBrush* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QBrush::setMatrix(QBrush* theWrappedObject, const QMatrix& mat) +{ + ( theWrappedObject->setMatrix(mat)); +} + +void PythonQtWrapper_QBrush::setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1) +{ + ( theWrappedObject->setStyle(arg__1)); +} + +void PythonQtWrapper_QBrush::setTexture(QBrush* theWrappedObject, const QPixmap& pixmap) +{ + ( theWrappedObject->setTexture(pixmap)); +} + +void PythonQtWrapper_QBrush::setTextureImage(QBrush* theWrappedObject, const QImage& image) +{ + ( theWrappedObject->setTextureImage(image)); +} + +void PythonQtWrapper_QBrush::setTransform(QBrush* theWrappedObject, const QTransform& arg__1) +{ + ( theWrappedObject->setTransform(arg__1)); +} + +Qt::BrushStyle PythonQtWrapper_QBrush::style(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +void PythonQtWrapper_QBrush::swap(QBrush* theWrappedObject, QBrush& other) +{ + ( theWrappedObject->swap(other)); +} + +QPixmap PythonQtWrapper_QBrush::texture(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + +QImage PythonQtWrapper_QBrush::textureImage(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->textureImage()); +} + +QTransform PythonQtWrapper_QBrush::transform(QBrush* theWrappedObject) const +{ + return ( theWrappedObject->transform()); +} + +QString PythonQtWrapper_QBrush::py_toString(QBrush* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QColor* PythonQtWrapper_QColor::new_QColor() +{ +return new QColor(); } + +QColor* PythonQtWrapper_QColor::new_QColor(QLatin1String name) +{ +return new QColor(name); } + +QColor* PythonQtWrapper_QColor::new_QColor(QRgba64 rgba64) +{ +return new QColor(rgba64); } + +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); } + +int PythonQtWrapper_QColor::alpha(QColor* theWrappedObject) const +{ + return ( theWrappedObject->alpha()); +} + +qreal PythonQtWrapper_QColor::alphaF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->alphaF()); +} + +int PythonQtWrapper_QColor::black(QColor* theWrappedObject) const +{ + return ( theWrappedObject->black()); +} + +qreal PythonQtWrapper_QColor::blackF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->blackF()); +} + +int PythonQtWrapper_QColor::blue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->blue()); +} + +qreal PythonQtWrapper_QColor::blueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->blueF()); +} + +QStringList PythonQtWrapper_QColor::static_QColor_colorNames() +{ + return (QColor::colorNames()); +} + +QColor PythonQtWrapper_QColor::convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const +{ + return ( theWrappedObject->convertTo(colorSpec)); +} + +int PythonQtWrapper_QColor::cyan(QColor* theWrappedObject) const +{ + return ( theWrappedObject->cyan()); +} + +qreal PythonQtWrapper_QColor::cyanF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->cyanF()); +} + +QColor PythonQtWrapper_QColor::darker(QColor* theWrappedObject, int f) const +{ + return ( theWrappedObject->darker(f)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromCmyk(int c, int m, int y, int k, int a) +{ + return (QColor::fromCmyk(c, m, y, k, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a) +{ + return (QColor::fromCmykF(c, m, y, k, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromHsl(int h, int s, int l, int a) +{ + return (QColor::fromHsl(h, s, l, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromHslF(qreal h, qreal s, qreal l, qreal a) +{ + return (QColor::fromHslF(h, s, l, a)); +} + +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_fromHsvF(qreal h, qreal s, qreal v, qreal a) +{ + return (QColor::fromHsvF(h, s, v, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgb(int r, int g, int b, int a) +{ + return (QColor::fromRgb(r, g, b, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgb(unsigned int rgb) +{ + return (QColor::fromRgb(rgb)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a) +{ + return (QColor::fromRgbF(r, g, b, a)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgba(unsigned int rgba) +{ + return (QColor::fromRgba(rgba)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgba64(QRgba64 rgba) +{ + return (QColor::fromRgba64(rgba)); +} + +QColor PythonQtWrapper_QColor::static_QColor_fromRgba64(ushort r, ushort g, ushort b, ushort a) +{ + return (QColor::fromRgba64(r, g, b, a)); +} + +void PythonQtWrapper_QColor::getCmyk(QColor* theWrappedObject, int* c, int* m, int* y, int* k, int* a) const +{ + ( theWrappedObject->getCmyk(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::getCmykF(QColor* theWrappedObject, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a) const +{ + ( theWrappedObject->getCmykF(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::getHsl(QColor* theWrappedObject, int* h, int* s, int* l, int* a) const +{ + ( theWrappedObject->getHsl(h, s, l, a)); +} + +void PythonQtWrapper_QColor::getHslF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* l, qreal* a) const +{ + ( theWrappedObject->getHslF(h, s, l, a)); +} + +int PythonQtWrapper_QColor::green(QColor* theWrappedObject) const +{ + return ( theWrappedObject->green()); +} + +qreal PythonQtWrapper_QColor::greenF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->greenF()); +} + +int PythonQtWrapper_QColor::hslHue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslHue()); +} + +qreal PythonQtWrapper_QColor::hslHueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslHueF()); +} + +int PythonQtWrapper_QColor::hslSaturation(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslSaturation()); +} + +qreal PythonQtWrapper_QColor::hslSaturationF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hslSaturationF()); +} + +int PythonQtWrapper_QColor::hsvHue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvHue()); +} + +qreal PythonQtWrapper_QColor::hsvHueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvHueF()); +} + +int PythonQtWrapper_QColor::hsvSaturation(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvSaturation()); +} + +qreal PythonQtWrapper_QColor::hsvSaturationF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hsvSaturationF()); +} + +int PythonQtWrapper_QColor::hue(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hue()); +} + +qreal PythonQtWrapper_QColor::hueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->hueF()); +} + +bool PythonQtWrapper_QColor::isValid(QColor* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QColor::static_QColor_isValidColor(QLatin1String arg__1) +{ + return (QColor::isValidColor(arg__1)); +} + +bool PythonQtWrapper_QColor::static_QColor_isValidColor(const QString& name) +{ + return (QColor::isValidColor(name)); +} + +QColor PythonQtWrapper_QColor::lighter(QColor* theWrappedObject, int f) const +{ + return ( theWrappedObject->lighter(f)); +} + +int PythonQtWrapper_QColor::lightness(QColor* theWrappedObject) const +{ + return ( theWrappedObject->lightness()); +} + +qreal PythonQtWrapper_QColor::lightnessF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->lightnessF()); +} + +int PythonQtWrapper_QColor::magenta(QColor* theWrappedObject) const +{ + return ( theWrappedObject->magenta()); +} + +qreal PythonQtWrapper_QColor::magentaF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->magentaF()); +} + +QString PythonQtWrapper_QColor::name(QColor* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QString PythonQtWrapper_QColor::name(QColor* theWrappedObject, QColor::NameFormat format) const +{ + return ( theWrappedObject->name(format)); +} + +bool PythonQtWrapper_QColor::__ne__(QColor* theWrappedObject, const QColor& c) const +{ + return ( (*theWrappedObject)!= c); +} + +void PythonQtWrapper_QColor::writeTo(QColor* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QColor::__eq__(QColor* theWrappedObject, const QColor& c) const +{ + return ( (*theWrappedObject)== c); +} + +void PythonQtWrapper_QColor::readFrom(QColor* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QColor::red(QColor* theWrappedObject) const +{ + return ( theWrappedObject->red()); +} + +qreal PythonQtWrapper_QColor::redF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->redF()); +} + +unsigned int PythonQtWrapper_QColor::rgb(QColor* theWrappedObject) const +{ + return ( theWrappedObject->rgb()); +} + +unsigned int PythonQtWrapper_QColor::rgba(QColor* theWrappedObject) const +{ + return ( theWrappedObject->rgba()); +} + +QRgba64 PythonQtWrapper_QColor::rgba64(QColor* theWrappedObject) const +{ + return ( theWrappedObject->rgba64()); +} + +int PythonQtWrapper_QColor::saturation(QColor* theWrappedObject) const +{ + return ( theWrappedObject->saturation()); +} + +qreal PythonQtWrapper_QColor::saturationF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->saturationF()); +} + +void PythonQtWrapper_QColor::setAlpha(QColor* theWrappedObject, int alpha) +{ + ( theWrappedObject->setAlpha(alpha)); +} + +void PythonQtWrapper_QColor::setAlphaF(QColor* theWrappedObject, qreal alpha) +{ + ( theWrappedObject->setAlphaF(alpha)); +} + +void PythonQtWrapper_QColor::setBlue(QColor* theWrappedObject, int blue) +{ + ( theWrappedObject->setBlue(blue)); +} + +void PythonQtWrapper_QColor::setBlueF(QColor* theWrappedObject, qreal blue) +{ + ( theWrappedObject->setBlueF(blue)); +} + +void PythonQtWrapper_QColor::setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a) +{ + ( theWrappedObject->setCmyk(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a) +{ + ( theWrappedObject->setCmykF(c, m, y, k, a)); +} + +void PythonQtWrapper_QColor::setGreen(QColor* theWrappedObject, int green) +{ + ( theWrappedObject->setGreen(green)); +} + +void PythonQtWrapper_QColor::setGreenF(QColor* theWrappedObject, qreal green) +{ + ( theWrappedObject->setGreenF(green)); +} + +void PythonQtWrapper_QColor::setHsl(QColor* theWrappedObject, int h, int s, int l, int a) +{ + ( theWrappedObject->setHsl(h, s, l, a)); +} + +void PythonQtWrapper_QColor::setHslF(QColor* theWrappedObject, qreal h, qreal s, qreal l, qreal a) +{ + ( theWrappedObject->setHslF(h, s, l, a)); +} + +void PythonQtWrapper_QColor::setHsv(QColor* theWrappedObject, int h, int s, int v, int a) +{ + ( theWrappedObject->setHsv(h, s, v, a)); +} + +void PythonQtWrapper_QColor::setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a) +{ + ( theWrappedObject->setHsvF(h, s, v, a)); +} + +void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, QLatin1String name) +{ + ( theWrappedObject->setNamedColor(name)); +} + +void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setNamedColor(name)); +} + +void PythonQtWrapper_QColor::setRed(QColor* theWrappedObject, int red) +{ + ( theWrappedObject->setRed(red)); +} + +void PythonQtWrapper_QColor::setRedF(QColor* theWrappedObject, qreal red) +{ + ( theWrappedObject->setRedF(red)); +} + +void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, int r, int g, int b, int a) +{ + ( theWrappedObject->setRgb(r, g, b, a)); +} + +void PythonQtWrapper_QColor::setRgb(QColor* theWrappedObject, unsigned int rgb) +{ + ( theWrappedObject->setRgb(rgb)); +} + +void PythonQtWrapper_QColor::setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a) +{ + ( theWrappedObject->setRgbF(r, g, b, a)); +} + +void PythonQtWrapper_QColor::setRgba(QColor* theWrappedObject, unsigned int rgba) +{ + ( theWrappedObject->setRgba(rgba)); +} + +void PythonQtWrapper_QColor::setRgba64(QColor* theWrappedObject, QRgba64 rgba) +{ + ( theWrappedObject->setRgba64(rgba)); +} + +QColor::Spec PythonQtWrapper_QColor::spec(QColor* theWrappedObject) const +{ + return ( theWrappedObject->spec()); +} + +QColor PythonQtWrapper_QColor::toCmyk(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toCmyk()); +} + +QColor PythonQtWrapper_QColor::toExtendedRgb(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toExtendedRgb()); +} + +QColor PythonQtWrapper_QColor::toHsl(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toHsl()); +} + +QColor PythonQtWrapper_QColor::toHsv(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toHsv()); +} + +QColor PythonQtWrapper_QColor::toRgb(QColor* theWrappedObject) const +{ + return ( theWrappedObject->toRgb()); +} + +int PythonQtWrapper_QColor::value(QColor* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +qreal PythonQtWrapper_QColor::valueF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->valueF()); +} + +int PythonQtWrapper_QColor::yellow(QColor* theWrappedObject) const +{ + return ( theWrappedObject->yellow()); +} + +qreal PythonQtWrapper_QColor::yellowF(QColor* theWrappedObject) const +{ + return ( theWrappedObject->yellowF()); +} + +QString PythonQtWrapper_QColor::py_toString(QColor* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +const QBitmap* PythonQtWrapper_QCursor::bitmap(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->bitmap()); +} + +QPoint PythonQtWrapper_QCursor::hotSpot(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->hotSpot()); +} + +const QBitmap* PythonQtWrapper_QCursor::mask(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->mask()); +} + +bool PythonQtWrapper_QCursor::__ne__(QCursor* theWrappedObject, const QCursor& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +void PythonQtWrapper_QCursor::writeTo(QCursor* theWrappedObject, QDataStream& outS) +{ + outS << (*theWrappedObject); +} + +bool PythonQtWrapper_QCursor::__eq__(QCursor* theWrappedObject, const QCursor& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QCursor::readFrom(QCursor* theWrappedObject, QDataStream& inS) +{ + inS >> (*theWrappedObject); +} + +QPixmap PythonQtWrapper_QCursor::pixmap(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +QPoint PythonQtWrapper_QCursor::static_QCursor_pos() +{ + return (QCursor::pos()); +} + +QPoint PythonQtWrapper_QCursor::static_QCursor_pos(const QScreen* screen) +{ + return (QCursor::pos(screen)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(QScreen* screen, const QPoint& p) +{ + (QCursor::setPos(screen, p)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(QScreen* screen, int x, int y) +{ + (QCursor::setPos(screen, x, y)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(const QPoint& p) +{ + (QCursor::setPos(p)); +} + +void PythonQtWrapper_QCursor::static_QCursor_setPos(int x, int y) +{ + (QCursor::setPos(x, y)); +} + +void PythonQtWrapper_QCursor::setShape(QCursor* theWrappedObject, Qt::CursorShape newShape) +{ + ( theWrappedObject->setShape(newShape)); +} + +Qt::CursorShape PythonQtWrapper_QCursor::shape(QCursor* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + +void PythonQtWrapper_QCursor::swap(QCursor* theWrappedObject, QCursor& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QCursor::py_toString(QCursor* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QFont* PythonQtWrapper_QFont::new_QFont() +{ +return new QFont(); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& font) +{ +return new QFont(font); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& font, QPaintDevice* pd) +{ +return new QFont(font, pd); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QFont& font, const QPaintDevice* pd) +{ +return new QFont(font, pd); } + +QFont* PythonQtWrapper_QFont::new_QFont(const QString& family, int pointSize, int weight, bool italic) +{ +return new QFont(family, pointSize, weight, italic); } + +bool PythonQtWrapper_QFont::bold(QFont* theWrappedObject) const +{ + return ( theWrappedObject->bold()); +} + +void PythonQtWrapper_QFont::static_QFont_cacheStatistics() +{ + (QFont::cacheStatistics()); +} + +QFont::Capitalization PythonQtWrapper_QFont::capitalization(QFont* theWrappedObject) const +{ + return ( theWrappedObject->capitalization()); +} + +void PythonQtWrapper_QFont::static_QFont_cleanup() +{ + (QFont::cleanup()); +} + +QString PythonQtWrapper_QFont::defaultFamily(QFont* theWrappedObject) const +{ + return ( theWrappedObject->defaultFamily()); +} + +bool PythonQtWrapper_QFont::exactMatch(QFont* theWrappedObject) const +{ + return ( theWrappedObject->exactMatch()); +} + +QStringList PythonQtWrapper_QFont::families(QFont* theWrappedObject) const +{ + return ( theWrappedObject->families()); +} + +QString PythonQtWrapper_QFont::family(QFont* theWrappedObject) const +{ + return ( theWrappedObject->family()); +} + +bool PythonQtWrapper_QFont::fixedPitch(QFont* theWrappedObject) const +{ + return ( theWrappedObject->fixedPitch()); +} + +bool PythonQtWrapper_QFont::fromString(QFont* theWrappedObject, const QString& arg__1) +{ + return ( theWrappedObject->fromString(arg__1)); +} + +QFont::HintingPreference PythonQtWrapper_QFont::hintingPreference(QFont* theWrappedObject) const +{ + return ( theWrappedObject->hintingPreference()); +} + +void PythonQtWrapper_QFont::static_QFont_initialize() +{ + (QFont::initialize()); +} + +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_insertSubstitutions(const QString& arg__1, const QStringList& arg__2) +{ + (QFont::insertSubstitutions(arg__1, arg__2)); +} + +bool PythonQtWrapper_QFont::isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( theWrappedObject->isCopyOf(arg__1)); +} + +bool PythonQtWrapper_QFont::italic(QFont* theWrappedObject) const +{ + return ( theWrappedObject->italic()); +} + +bool PythonQtWrapper_QFont::kerning(QFont* theWrappedObject) const +{ + return ( theWrappedObject->kerning()); +} + +QString PythonQtWrapper_QFont::key(QFont* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +QString PythonQtWrapper_QFont::lastResortFamily(QFont* theWrappedObject) const +{ + return ( theWrappedObject->lastResortFamily()); +} + +QString PythonQtWrapper_QFont::lastResortFont(QFont* theWrappedObject) const +{ + return ( theWrappedObject->lastResortFont()); +} + +qreal PythonQtWrapper_QFont::letterSpacing(QFont* theWrappedObject) const +{ + return ( theWrappedObject->letterSpacing()); +} + +QFont::SpacingType PythonQtWrapper_QFont::letterSpacingType(QFont* theWrappedObject) const +{ + return ( theWrappedObject->letterSpacingType()); +} + +bool PythonQtWrapper_QFont::__ne__(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +bool PythonQtWrapper_QFont::__lt__(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( (*theWrappedObject)< arg__1); +} + +void PythonQtWrapper_QFont::writeTo(QFont* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QFont::__eq__(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QFont::readFrom(QFont* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QFont::overline(QFont* theWrappedObject) const +{ + return ( theWrappedObject->overline()); +} + +int PythonQtWrapper_QFont::pixelSize(QFont* theWrappedObject) const +{ + return ( theWrappedObject->pixelSize()); +} + +int PythonQtWrapper_QFont::pointSize(QFont* theWrappedObject) const +{ + return ( theWrappedObject->pointSize()); +} + +qreal PythonQtWrapper_QFont::pointSizeF(QFont* theWrappedObject) const +{ + return ( theWrappedObject->pointSizeF()); +} + +bool PythonQtWrapper_QFont::rawMode(QFont* theWrappedObject) const +{ + return ( theWrappedObject->rawMode()); +} + +QString PythonQtWrapper_QFont::rawName(QFont* theWrappedObject) const +{ + return ( theWrappedObject->rawName()); +} + +void PythonQtWrapper_QFont::static_QFont_removeSubstitutions(const QString& arg__1) +{ + (QFont::removeSubstitutions(arg__1)); +} + +uint PythonQtWrapper_QFont::resolve(QFont* theWrappedObject) const +{ + return ( theWrappedObject->resolve()); +} + +QFont PythonQtWrapper_QFont::resolve(QFont* theWrappedObject, const QFont& arg__1) const +{ + return ( theWrappedObject->resolve(arg__1)); +} + +void PythonQtWrapper_QFont::resolve(QFont* theWrappedObject, uint mask) +{ + ( theWrappedObject->resolve(mask)); +} + +void PythonQtWrapper_QFont::setBold(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setBold(arg__1)); +} + +void PythonQtWrapper_QFont::setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1) +{ + ( theWrappedObject->setCapitalization(arg__1)); +} + +void PythonQtWrapper_QFont::setFamilies(QFont* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setFamilies(arg__1)); +} + +void PythonQtWrapper_QFont::setFamily(QFont* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setFamily(arg__1)); +} + +void PythonQtWrapper_QFont::setFixedPitch(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFixedPitch(arg__1)); +} + +void PythonQtWrapper_QFont::setHintingPreference(QFont* theWrappedObject, QFont::HintingPreference hintingPreference) +{ + ( theWrappedObject->setHintingPreference(hintingPreference)); +} + +void PythonQtWrapper_QFont::setItalic(QFont* theWrappedObject, bool b) +{ + ( theWrappedObject->setItalic(b)); +} + +void PythonQtWrapper_QFont::setKerning(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setKerning(arg__1)); +} + +void PythonQtWrapper_QFont::setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing) +{ + ( theWrappedObject->setLetterSpacing(type, spacing)); +} + +void PythonQtWrapper_QFont::setOverline(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setOverline(arg__1)); +} + +void PythonQtWrapper_QFont::setPixelSize(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setPixelSize(arg__1)); +} + +void PythonQtWrapper_QFont::setPointSize(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setPointSize(arg__1)); +} + +void PythonQtWrapper_QFont::setPointSizeF(QFont* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setPointSizeF(arg__1)); +} + +void PythonQtWrapper_QFont::setRawMode(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setRawMode(arg__1)); +} + +void PythonQtWrapper_QFont::setRawName(QFont* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setRawName(arg__1)); +} + +void PythonQtWrapper_QFont::setStretch(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setStretch(arg__1)); +} + +void PythonQtWrapper_QFont::setStrikeOut(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setStrikeOut(arg__1)); +} + +void PythonQtWrapper_QFont::setStyle(QFont* theWrappedObject, QFont::Style style) +{ + ( theWrappedObject->setStyle(style)); +} + +void PythonQtWrapper_QFont::setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2) +{ + ( theWrappedObject->setStyleHint(arg__1, arg__2)); +} + +void PythonQtWrapper_QFont::setStyleName(QFont* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setStyleName(arg__1)); +} + +void PythonQtWrapper_QFont::setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s) +{ + ( theWrappedObject->setStyleStrategy(s)); +} + +void PythonQtWrapper_QFont::setUnderline(QFont* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setUnderline(arg__1)); +} + +void PythonQtWrapper_QFont::setWeight(QFont* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setWeight(arg__1)); +} + +void PythonQtWrapper_QFont::setWordSpacing(QFont* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setWordSpacing(spacing)); +} + +int PythonQtWrapper_QFont::stretch(QFont* theWrappedObject) const +{ + return ( theWrappedObject->stretch()); +} + +bool PythonQtWrapper_QFont::strikeOut(QFont* theWrappedObject) const +{ + return ( theWrappedObject->strikeOut()); +} + +QFont::Style PythonQtWrapper_QFont::style(QFont* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +QFont::StyleHint PythonQtWrapper_QFont::styleHint(QFont* theWrappedObject) const +{ + return ( theWrappedObject->styleHint()); +} + +QString PythonQtWrapper_QFont::styleName(QFont* theWrappedObject) const +{ + return ( theWrappedObject->styleName()); +} + +QFont::StyleStrategy PythonQtWrapper_QFont::styleStrategy(QFont* theWrappedObject) const +{ + return ( theWrappedObject->styleStrategy()); +} + +QString PythonQtWrapper_QFont::static_QFont_substitute(const QString& arg__1) +{ + return (QFont::substitute(arg__1)); +} + +QStringList PythonQtWrapper_QFont::static_QFont_substitutes(const QString& arg__1) +{ + return (QFont::substitutes(arg__1)); +} + +QStringList PythonQtWrapper_QFont::static_QFont_substitutions() +{ + return (QFont::substitutions()); +} + +void PythonQtWrapper_QFont::swap(QFont* theWrappedObject, QFont& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QFont::toString(QFont* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +bool PythonQtWrapper_QFont::underline(QFont* theWrappedObject) const +{ + return ( theWrappedObject->underline()); +} + +int PythonQtWrapper_QFont::weight(QFont* theWrappedObject) const +{ + return ( theWrappedObject->weight()); +} + +qreal PythonQtWrapper_QFont::wordSpacing(QFont* theWrappedObject) const +{ + return ( theWrappedObject->wordSpacing()); +} + +QString PythonQtWrapper_QFont::py_toString(QFont* obj) { return obj->toString(); } + + +QIcon* PythonQtWrapper_QIcon::new_QIcon() +{ +return new QIcon(); } + +QIcon* PythonQtWrapper_QIcon::new_QIcon(PythonQtPassOwnershipToCPP 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); } + +QSize PythonQtWrapper_QIcon::actualSize(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->actualSize(window, 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::addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addFile(fileName, size, mode, state)); +} + +void PythonQtWrapper_QIcon::addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) +{ + ( theWrappedObject->addPixmap(pixmap, mode, state)); +} + +QList PythonQtWrapper_QIcon::availableSizes(QIcon* theWrappedObject, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->availableSizes(mode, state)); +} + +qint64 PythonQtWrapper_QIcon::cacheKey(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +QStringList PythonQtWrapper_QIcon::static_QIcon_fallbackSearchPaths() +{ + return (QIcon::fallbackSearchPaths()); +} + +QString PythonQtWrapper_QIcon::static_QIcon_fallbackThemeName() +{ + return (QIcon::fallbackThemeName()); +} + +QIcon PythonQtWrapper_QIcon::static_QIcon_fromTheme(const QString& name) +{ + return (QIcon::fromTheme(name)); +} + +QIcon PythonQtWrapper_QIcon::static_QIcon_fromTheme(const QString& name, const QIcon& fallback) +{ + return (QIcon::fromTheme(name, fallback)); +} + +bool PythonQtWrapper_QIcon::static_QIcon_hasThemeIcon(const QString& name) +{ + return (QIcon::hasThemeIcon(name)); +} + +bool PythonQtWrapper_QIcon::isMask(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->isMask()); +} + +bool PythonQtWrapper_QIcon::isNull(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QIcon::name(QIcon* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QIcon::writeTo(QIcon* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QIcon::readFrom(QIcon* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +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::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)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(window, size, mode, state)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(size, mode, state)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(extent, mode, state)); +} + +QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode, QIcon::State state) const +{ + return ( theWrappedObject->pixmap(w, h, mode, state)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setFallbackSearchPaths(const QStringList& paths) +{ + (QIcon::setFallbackSearchPaths(paths)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setFallbackThemeName(const QString& name) +{ + (QIcon::setFallbackThemeName(name)); +} + +void PythonQtWrapper_QIcon::setIsMask(QIcon* theWrappedObject, bool isMask) +{ + ( theWrappedObject->setIsMask(isMask)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setThemeName(const QString& path) +{ + (QIcon::setThemeName(path)); +} + +void PythonQtWrapper_QIcon::static_QIcon_setThemeSearchPaths(const QStringList& searchpath) +{ + (QIcon::setThemeSearchPaths(searchpath)); +} + +void PythonQtWrapper_QIcon::swap(QIcon* theWrappedObject, QIcon& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QIcon::static_QIcon_themeName() +{ + return (QIcon::themeName()); +} + +QStringList PythonQtWrapper_QIcon::static_QIcon_themeSearchPaths() +{ + return (QIcon::themeSearchPaths()); +} + +QString PythonQtWrapper_QIcon::py_toString(QIcon* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QImage::~PythonQtShell_QImage() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QImage::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImage::devType(); +} +void PythonQtShell_QImage::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QImage::initPainter(painter0); +} +int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImage::metric(metric0); +} +QPaintEngine* PythonQtShell_QImage::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImage::paintEngine(); +} +QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImage::redirected(offset0); +} +QPainter* PythonQtShell_QImage::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImage::sharedPainter(); +} +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); } + +bool PythonQtWrapper_QImage::allGray(QImage* theWrappedObject) const +{ + return ( theWrappedObject->allGray()); +} + +QImage PythonQtWrapper_QImage::alphaChannel(QImage* theWrappedObject) const +{ + return ( theWrappedObject->alphaChannel()); +} + +int PythonQtWrapper_QImage::bitPlaneCount(QImage* theWrappedObject) const +{ + return ( theWrappedObject->bitPlaneCount()); +} + +int PythonQtWrapper_QImage::byteCount(QImage* theWrappedObject) const +{ + return ( theWrappedObject->byteCount()); +} + +int PythonQtWrapper_QImage::bytesPerLine(QImage* theWrappedObject) const +{ + return ( theWrappedObject->bytesPerLine()); +} + +qint64 PythonQtWrapper_QImage::cacheKey(QImage* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +unsigned int PythonQtWrapper_QImage::color(QImage* theWrappedObject, int i) const +{ + return ( theWrappedObject->color(i)); +} + +int PythonQtWrapper_QImage::colorCount(QImage* theWrappedObject) const +{ + return ( theWrappedObject->colorCount()); +} + +QVector PythonQtWrapper_QImage::colorTable(QImage* theWrappedObject) const +{ + return ( theWrappedObject->colorTable()); +} + +void PythonQtWrapper_QImage::convertTo(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags) +{ + ( theWrappedObject->convertTo(f, flags)); +} + +QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags) const +{ + return ( theWrappedObject->convertToFormat(f, flags)); +} + +QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector& colorTable, Qt::ImageConversionFlags flags) const +{ + return ( theWrappedObject->convertToFormat(f, colorTable, flags)); +} + +QImage PythonQtWrapper_QImage::convertToFormat_helper(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_convertToFormat_helper(format, flags)); +} + +bool PythonQtWrapper_QImage::convertToFormat_inplace(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags) +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_convertToFormat_inplace(format, flags)); +} + +QImage PythonQtWrapper_QImage::copy(QImage* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->copy(rect)); +} + +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::createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags) const +{ + return ( theWrappedObject->createAlphaMask(flags)); +} + +QImage PythonQtWrapper_QImage::createHeuristicMask(QImage* theWrappedObject, bool clipTight) const +{ + return ( theWrappedObject->createHeuristicMask(clipTight)); +} + +QImage PythonQtWrapper_QImage::createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode) const +{ + return ( theWrappedObject->createMaskFromColor(color, mode)); +} + +int PythonQtWrapper_QImage::depth(QImage* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +qreal PythonQtWrapper_QImage::devicePixelRatio(QImage* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +int PythonQtWrapper_QImage::dotsPerMeterX(QImage* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterX()); +} + +int PythonQtWrapper_QImage::dotsPerMeterY(QImage* theWrappedObject) const +{ + return ( theWrappedObject->dotsPerMeterY()); +} + +void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, Qt::GlobalColor color) +{ + ( theWrappedObject->fill(color)); +} + +void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->fill(color)); +} + +void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, uint pixel) +{ + ( theWrappedObject->fill(pixel)); +} + +QImage::Format PythonQtWrapper_QImage::format(QImage* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QImage PythonQtWrapper_QImage::static_QImage_fromData(const QByteArray& data, const char* format) +{ + return (QImage::fromData(data, format)); +} + +bool PythonQtWrapper_QImage::hasAlphaChannel(QImage* theWrappedObject) const +{ + return ( theWrappedObject->hasAlphaChannel()); +} + +int PythonQtWrapper_QImage::height(QImage* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +void PythonQtWrapper_QImage::invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1) +{ + ( theWrappedObject->invertPixels(arg__1)); +} + +bool PythonQtWrapper_QImage::isGrayscale(QImage* theWrappedObject) const +{ + return ( theWrappedObject->isGrayscale()); +} + +bool PythonQtWrapper_QImage::isNull(QImage* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, QIODevice* device, const char* format) +{ + return ( theWrappedObject->load(device, format)); +} + +bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, const QString& fileName, const char* format) +{ + return ( theWrappedObject->load(fileName, format)); +} + +bool PythonQtWrapper_QImage::loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat) +{ + return ( theWrappedObject->loadFromData(data, aformat)); +} + +QImage PythonQtWrapper_QImage::mirrored(QImage* theWrappedObject, bool horizontally, bool vertically) const +{ + return ( theWrappedObject->mirrored(horizontally, vertically)); +} + +QImage PythonQtWrapper_QImage::mirrored_helper(QImage* theWrappedObject, bool horizontal, bool vertical) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_mirrored_helper(horizontal, vertical)); +} + +void PythonQtWrapper_QImage::mirrored_inplace(QImage* theWrappedObject, bool horizontal, bool vertical) +{ + ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_mirrored_inplace(horizontal, vertical)); +} + +QPoint PythonQtWrapper_QImage::offset(QImage* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +bool PythonQtWrapper_QImage::__ne__(QImage* theWrappedObject, const QImage& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +void PythonQtWrapper_QImage::writeTo(QImage* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QImage::__eq__(QImage* theWrappedObject, const QImage& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QImage::readFrom(QImage* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->pixel(pt)); +} + +unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->pixel(x, y)); +} + +QColor PythonQtWrapper_QImage::pixelColor(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->pixelColor(pt)); +} + +QColor PythonQtWrapper_QImage::pixelColor(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->pixelColor(x, y)); +} + +QPixelFormat PythonQtWrapper_QImage::pixelFormat(QImage* theWrappedObject) const +{ + return ( theWrappedObject->pixelFormat()); +} + +int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->pixelIndex(pt)); +} + +int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->pixelIndex(x, y)); +} + +QRect PythonQtWrapper_QImage::rect(QImage* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +bool PythonQtWrapper_QImage::reinterpretAsFormat(QImage* theWrappedObject, QImage::Format f) +{ + return ( theWrappedObject->reinterpretAsFormat(f)); +} + +QImage PythonQtWrapper_QImage::rgbSwapped(QImage* theWrappedObject) const +{ + return ( theWrappedObject->rgbSwapped()); +} + +QImage PythonQtWrapper_QImage::rgbSwapped_helper(QImage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_rgbSwapped_helper()); +} + +void PythonQtWrapper_QImage::rgbSwapped_inplace(QImage* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_rgbSwapped_inplace()); +} + +bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, QIODevice* device, const char* format, int quality) const +{ + return ( theWrappedObject->save(device, format, quality)); +} + +bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, const QString& fileName, const char* format, int quality) const +{ + return ( theWrappedObject->save(fileName, format, quality)); +} + +QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaled(s, aspectMode, mode)); +} + +QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaled(w, h, aspectMode, mode)); +} + +QImage PythonQtWrapper_QImage::scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToHeight(h, mode)); +} + +QImage PythonQtWrapper_QImage::scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToWidth(w, mode)); +} + +void PythonQtWrapper_QImage::setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel) +{ + ( theWrappedObject->setAlphaChannel(alphaChannel)); +} + +void PythonQtWrapper_QImage::setColor(QImage* theWrappedObject, int i, unsigned int c) +{ + ( theWrappedObject->setColor(i, c)); +} + +void PythonQtWrapper_QImage::setColorCount(QImage* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setColorCount(arg__1)); +} + +void PythonQtWrapper_QImage::setDevicePixelRatio(QImage* theWrappedObject, qreal scaleFactor) +{ + ( theWrappedObject->setDevicePixelRatio(scaleFactor)); +} + +void PythonQtWrapper_QImage::setDotsPerMeterX(QImage* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setDotsPerMeterX(arg__1)); +} + +void PythonQtWrapper_QImage::setDotsPerMeterY(QImage* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setDotsPerMeterY(arg__1)); +} + +void PythonQtWrapper_QImage::setOffset(QImage* theWrappedObject, const QPoint& arg__1) +{ + ( theWrappedObject->setOffset(arg__1)); +} + +void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb) +{ + ( theWrappedObject->setPixel(pt, index_or_rgb)); +} + +void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb) +{ + ( theWrappedObject->setPixel(x, y, index_or_rgb)); +} + +void PythonQtWrapper_QImage::setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c) +{ + ( theWrappedObject->setPixelColor(pt, c)); +} + +void PythonQtWrapper_QImage::setPixelColor(QImage* theWrappedObject, int x, int y, const QColor& c) +{ + ( theWrappedObject->setPixelColor(x, y, c)); +} + +void PythonQtWrapper_QImage::setText(QImage* theWrappedObject, const QString& key, const QString& value) +{ + ( theWrappedObject->setText(key, value)); +} + +QSize PythonQtWrapper_QImage::size(QImage* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +qsizetype PythonQtWrapper_QImage::sizeInBytes(QImage* theWrappedObject) const +{ + return ( theWrappedObject->sizeInBytes()); +} + +QImage PythonQtWrapper_QImage::smoothScaled(QImage* theWrappedObject, int w, int h) const +{ + return ( ((PythonQtPublicPromoter_QImage*)theWrappedObject)->promoted_smoothScaled(w, h)); +} + +void PythonQtWrapper_QImage::swap(QImage* theWrappedObject, QImage& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QImage::text(QImage* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->text(key)); +} + +QStringList PythonQtWrapper_QImage::textKeys(QImage* theWrappedObject) const +{ + return ( theWrappedObject->textKeys()); +} + +QImage::Format PythonQtWrapper_QImage::static_QImage_toImageFormat(QPixelFormat format) +{ + return (QImage::toImageFormat(format)); +} + +QPixelFormat PythonQtWrapper_QImage::static_QImage_toPixelFormat(QImage::Format format) +{ + return (QImage::toPixelFormat(format)); +} + +QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->transformed(matrix, mode)); +} + +QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->transformed(matrix, mode)); +} + +QMatrix PythonQtWrapper_QImage::static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h) +{ + return (QImage::trueMatrix(arg__1, w, h)); +} + +QTransform PythonQtWrapper_QImage::static_QImage_trueMatrix(const QTransform& arg__1, int w, int h) +{ + return (QImage::trueMatrix(arg__1, w, h)); +} + +bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, const QPoint& pt) const +{ + return ( theWrappedObject->valid(pt)); +} + +bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->valid(x, y)); +} + +int PythonQtWrapper_QImage::width(QImage* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QImage::py_toString(QImage* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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, QKeySequence::SequenceFormat format) +{ +return new QKeySequence(key, format); } + +QKeySequence* PythonQtWrapper_QKeySequence::new_QKeySequence(int k1, int k2, int k3, int k4) +{ +return new QKeySequence(k1, k2, k3, k4); } + +int PythonQtWrapper_QKeySequence::count(QKeySequence* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QKeySequence PythonQtWrapper_QKeySequence::static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format) +{ + return (QKeySequence::fromString(str, format)); +} + +bool PythonQtWrapper_QKeySequence::isEmpty(QKeySequence* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QList PythonQtWrapper_QKeySequence::static_QKeySequence_keyBindings(QKeySequence::StandardKey key) +{ + return (QKeySequence::keyBindings(key)); +} + +QList PythonQtWrapper_QKeySequence::static_QKeySequence_listFromString(const QString& str, QKeySequence::SequenceFormat format) +{ + return (QKeySequence::listFromString(str, format)); +} + +QString PythonQtWrapper_QKeySequence::static_QKeySequence_listToString(const QList& list, QKeySequence::SequenceFormat format) +{ + return (QKeySequence::listToString(list, format)); +} + +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::__ne__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QKeySequence::__lt__(QKeySequence* theWrappedObject, const QKeySequence& ks) const +{ + return ( (*theWrappedObject)< ks); +} + +void PythonQtWrapper_QKeySequence::writeTo(QKeySequence* theWrappedObject, QDataStream& in) +{ + in << (*theWrappedObject); +} + +bool PythonQtWrapper_QKeySequence::__le__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)<= other); +} + +bool PythonQtWrapper_QKeySequence::__eq__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)== other); +} + +bool PythonQtWrapper_QKeySequence::__gt__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)> other); +} + +bool PythonQtWrapper_QKeySequence::__ge__(QKeySequence* theWrappedObject, const QKeySequence& other) const +{ + return ( (*theWrappedObject)>= other); +} + +void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& out) +{ + out >> (*theWrappedObject); +} + +int PythonQtWrapper_QKeySequence::operator_subscript(QKeySequence* theWrappedObject, uint i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QKeySequence::swap(QKeySequence* theWrappedObject, QKeySequence& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QKeySequence::toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format) const +{ + return ( theWrappedObject->toString(format)); +} + +QString PythonQtWrapper_QKeySequence::py_toString(QKeySequence* obj) { return obj->toString(); } + + +QMatrix* PythonQtWrapper_QMatrix::new_QMatrix() +{ +return new QMatrix(); } + +QMatrix* PythonQtWrapper_QMatrix::new_QMatrix(const QMatrix& other) +{ +return new QMatrix(other); } + +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); } + +qreal PythonQtWrapper_QMatrix::determinant(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->determinant()); +} + +qreal PythonQtWrapper_QMatrix::dx(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +qreal PythonQtWrapper_QMatrix::dy(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +QMatrix PythonQtWrapper_QMatrix::inverted(QMatrix* theWrappedObject, bool* invertible) const +{ + return ( theWrappedObject->inverted(invertible)); +} + +bool PythonQtWrapper_QMatrix::isIdentity(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +bool PythonQtWrapper_QMatrix::isInvertible(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->isInvertible()); +} + +qreal PythonQtWrapper_QMatrix::m11(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m11()); +} + +qreal PythonQtWrapper_QMatrix::m12(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m12()); +} + +qreal PythonQtWrapper_QMatrix::m21(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m21()); +} + +qreal PythonQtWrapper_QMatrix::m22(QMatrix* theWrappedObject) const +{ + return ( theWrappedObject->m22()); +} + +QLine PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QLine& l) const +{ + return ( theWrappedObject->map(l)); +} + +QLineF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QLineF& l) const +{ + return ( theWrappedObject->map(l)); +} + +QPainterPath PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPoint PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPointF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPolygon PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPolygon& a) const +{ + return ( theWrappedObject->map(a)); +} + +QPolygonF PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QPolygonF& a) const +{ + return ( theWrappedObject->map(a)); +} + +QRegion PythonQtWrapper_QMatrix::map(QMatrix* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->map(r)); +} + +QRect PythonQtWrapper_QMatrix::mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QRectF PythonQtWrapper_QMatrix::mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QPolygon PythonQtWrapper_QMatrix::mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->mapToPolygon(r)); +} + +bool PythonQtWrapper_QMatrix::__ne__(QMatrix* theWrappedObject, const QMatrix& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QMatrix PythonQtWrapper_QMatrix::__mul__(QMatrix* theWrappedObject, const QMatrix& o) const +{ + return ( (*theWrappedObject)* o); +} + +QMatrix* PythonQtWrapper_QMatrix::__imul__(QMatrix* theWrappedObject, const QMatrix& arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +void PythonQtWrapper_QMatrix::writeTo(QMatrix* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMatrix::__eq__(QMatrix* theWrappedObject, const QMatrix& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QMatrix::readFrom(QMatrix* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QMatrix::reset(QMatrix* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QMatrix* PythonQtWrapper_QMatrix::rotate(QMatrix* theWrappedObject, qreal a) +{ + return &( theWrappedObject->rotate(a)); +} + +QMatrix* PythonQtWrapper_QMatrix::scale(QMatrix* theWrappedObject, qreal sx, qreal sy) +{ + return &( theWrappedObject->scale(sx, sy)); +} + +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::shear(QMatrix* theWrappedObject, qreal sh, qreal sv) +{ + return &( theWrappedObject->shear(sh, sv)); +} + +QMatrix* PythonQtWrapper_QMatrix::translate(QMatrix* theWrappedObject, qreal dx, qreal dy) +{ + return &( theWrappedObject->translate(dx, dy)); +} + +QString PythonQtWrapper_QMatrix::py_toString(QMatrix* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4() +{ +return new QMatrix4x4(); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const QMatrix& matrix) +{ +return new QMatrix4x4(matrix); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const QTransform& transform) +{ +return new QMatrix4x4(transform); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const float* values) +{ +return new QMatrix4x4(values); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(const float* values, int cols, int rows) +{ +return new QMatrix4x4(values, cols, rows); } + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::new_QMatrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44) +{ +return new QMatrix4x4(m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44); } + +QVector4D PythonQtWrapper_QMatrix4x4::column(QMatrix4x4* theWrappedObject, int index) const +{ + return ( theWrappedObject->column(index)); +} + +const float* PythonQtWrapper_QMatrix4x4::constData(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->constData()); +} + +void PythonQtWrapper_QMatrix4x4::copyDataTo(QMatrix4x4* theWrappedObject, float* values) const +{ + ( theWrappedObject->copyDataTo(values)); +} + +float* PythonQtWrapper_QMatrix4x4::data(QMatrix4x4* theWrappedObject) +{ + return ( theWrappedObject->data()); +} + +double PythonQtWrapper_QMatrix4x4::determinant(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->determinant()); +} + +void PythonQtWrapper_QMatrix4x4::fill(QMatrix4x4* theWrappedObject, float value) +{ + ( theWrappedObject->fill(value)); +} + +void PythonQtWrapper_QMatrix4x4::flipCoordinates(QMatrix4x4* theWrappedObject) +{ + ( theWrappedObject->flipCoordinates()); +} + +void PythonQtWrapper_QMatrix4x4::frustum(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +{ + ( theWrappedObject->frustum(left, right, bottom, top, nearPlane, farPlane)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::inverted(QMatrix4x4* theWrappedObject, bool* invertible) const +{ + return ( theWrappedObject->inverted(invertible)); +} + +bool PythonQtWrapper_QMatrix4x4::isAffine(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->isAffine()); +} + +bool PythonQtWrapper_QMatrix4x4::isIdentity(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +void PythonQtWrapper_QMatrix4x4::lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up) +{ + ( theWrappedObject->lookAt(eye, center, up)); +} + +QPoint PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPoint& point) const +{ + return ( theWrappedObject->map(point)); +} + +QPointF PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->map(point)); +} + +QVector3D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector3D& point) const +{ + return ( theWrappedObject->map(point)); +} + +QVector4D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector4D& point) const +{ + return ( theWrappedObject->map(point)); +} + +QRect PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->mapRect(rect)); +} + +QRectF PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRect(rect)); +} + +QVector3D PythonQtWrapper_QMatrix4x4::mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const +{ + return ( theWrappedObject->mapVector(vector)); +} + +bool PythonQtWrapper_QMatrix4x4::__ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +{ + return ( (*theWrappedObject)!= other); +} + +float* PythonQtWrapper_QMatrix4x4::operator_cast_(QMatrix4x4* theWrappedObject, int row, int column) +{ + return &( theWrappedObject->operator()(row, column)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +{ + return ( (*theWrappedObject)* m2); +} + +QPoint PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPoint& point) +{ + return ( (*theWrappedObject)* point); +} + +QPointF PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPointF& point) +{ + return ( (*theWrappedObject)* point); +} + +QVector3D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector) +{ + return ( (*theWrappedObject)* vector); +} + +QVector4D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector) +{ + return ( (*theWrappedObject)* vector); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +{ + return &( (*theWrappedObject)*= other); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +{ + return ( (*theWrappedObject)+ m2); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +{ + return &( (*theWrappedObject)+= other); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +{ + return ( (*theWrappedObject)- m2); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +{ + return &( (*theWrappedObject)-= other); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::__div__(QMatrix4x4* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QMatrix4x4* PythonQtWrapper_QMatrix4x4::__idiv__(QMatrix4x4* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QMatrix4x4::writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QMatrix4x4::__eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QMatrix4x4::readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QMatrix4x4::optimize(QMatrix4x4* theWrappedObject) +{ + ( theWrappedObject->optimize()); +} + +void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->ortho(rect)); +} + +void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->ortho(rect)); +} + +void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +{ + ( theWrappedObject->ortho(left, right, bottom, top, nearPlane, farPlane)); +} + +void PythonQtWrapper_QMatrix4x4::perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane) +{ + ( theWrappedObject->perspective(verticalAngle, aspectRatio, nearPlane, farPlane)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion) +{ + ( theWrappedObject->rotate(quaternion)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector) +{ + ( theWrappedObject->rotate(angle, vector)); +} + +void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z) +{ + ( theWrappedObject->rotate(angle, x, y, z)); +} + +QVector4D PythonQtWrapper_QMatrix4x4::row(QMatrix4x4* theWrappedObject, int index) const +{ + return ( theWrappedObject->row(index)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->scale(vector)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float factor) +{ + ( theWrappedObject->scale(factor)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y) +{ + ( theWrappedObject->scale(x, y)); +} + +void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y, float z) +{ + ( theWrappedObject->scale(x, y, z)); +} + +void PythonQtWrapper_QMatrix4x4::setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +{ + ( theWrappedObject->setColumn(index, value)); +} + +void PythonQtWrapper_QMatrix4x4::setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +{ + ( theWrappedObject->setRow(index, value)); +} + +void PythonQtWrapper_QMatrix4x4::setToIdentity(QMatrix4x4* theWrappedObject) +{ + ( theWrappedObject->setToIdentity()); +} + +QMatrix PythonQtWrapper_QMatrix4x4::toAffine(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->toAffine()); +} + +QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->toTransform()); +} + +QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const +{ + return ( theWrappedObject->toTransform(distanceToPlane)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->translate(vector)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y) +{ + ( theWrappedObject->translate(x, y)); +} + +void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y, float z) +{ + ( theWrappedObject->translate(x, y, z)); +} + +QMatrix4x4 PythonQtWrapper_QMatrix4x4::transposed(QMatrix4x4* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->viewport(rect)); +} + +void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane, float farPlane) +{ + ( theWrappedObject->viewport(left, bottom, width, height, nearPlane, farPlane)); +} + +QString PythonQtWrapper_QMatrix4x4::py_toString(QMatrix4x4* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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::base(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->base()); +} + +const QBrush* PythonQtWrapper_QPalette::brightText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->brightText()); +} + +const QBrush* PythonQtWrapper_QPalette::brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->brush(cg, cr)); +} + +const QBrush* PythonQtWrapper_QPalette::brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->brush(cr)); +} + +const QBrush* PythonQtWrapper_QPalette::button(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->button()); +} + +const QBrush* PythonQtWrapper_QPalette::buttonText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->buttonText()); +} + +qint64 PythonQtWrapper_QPalette::cacheKey(QPalette* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +const QColor* PythonQtWrapper_QPalette::color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->color(cg, cr)); +} + +const QColor* PythonQtWrapper_QPalette::color(QPalette* theWrappedObject, QPalette::ColorRole cr) const +{ + return &( theWrappedObject->color(cr)); +} + +QPalette::ColorGroup PythonQtWrapper_QPalette::currentColorGroup(QPalette* theWrappedObject) const +{ + return ( theWrappedObject->currentColorGroup()); +} + +const QBrush* PythonQtWrapper_QPalette::dark(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->dark()); +} + +const QBrush* PythonQtWrapper_QPalette::highlight(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->highlight()); +} + +const QBrush* PythonQtWrapper_QPalette::highlightedText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->highlightedText()); +} + +bool PythonQtWrapper_QPalette::isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const +{ + return ( theWrappedObject->isBrushSet(cg, cr)); +} + +bool PythonQtWrapper_QPalette::isCopyOf(QPalette* theWrappedObject, const QPalette& p) const +{ + return ( theWrappedObject->isCopyOf(p)); +} + +bool PythonQtWrapper_QPalette::isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const +{ + return ( theWrappedObject->isEqual(cr1, cr2)); +} + +const QBrush* PythonQtWrapper_QPalette::light(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->light()); +} + +const QBrush* PythonQtWrapper_QPalette::link(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->link()); +} + +const QBrush* PythonQtWrapper_QPalette::linkVisited(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->linkVisited()); +} + +const QBrush* PythonQtWrapper_QPalette::mid(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->mid()); +} + +const QBrush* PythonQtWrapper_QPalette::midlight(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->midlight()); +} + +bool PythonQtWrapper_QPalette::__ne__(QPalette* theWrappedObject, const QPalette& p) const +{ + return ( (*theWrappedObject)!= p); +} + +void PythonQtWrapper_QPalette::writeTo(QPalette* theWrappedObject, QDataStream& ds) +{ + ds << (*theWrappedObject); +} + +bool PythonQtWrapper_QPalette::__eq__(QPalette* theWrappedObject, const QPalette& p) const +{ + return ( (*theWrappedObject)== p); +} + +void PythonQtWrapper_QPalette::readFrom(QPalette* theWrappedObject, QDataStream& ds) +{ + ds >> (*theWrappedObject); +} + +const QBrush* PythonQtWrapper_QPalette::placeholderText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->placeholderText()); +} + +uint PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject) const +{ + return ( theWrappedObject->resolve()); +} + +QPalette PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject, const QPalette& arg__1) const +{ + return ( theWrappedObject->resolve(arg__1)); +} + +void PythonQtWrapper_QPalette::resolve(QPalette* theWrappedObject, uint mask) +{ + ( theWrappedObject->resolve(mask)); +} + +void PythonQtWrapper_QPalette::setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush) +{ + ( theWrappedObject->setBrush(cg, cr, brush)); +} + +void PythonQtWrapper_QPalette::setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush) +{ + ( theWrappedObject->setBrush(cr, brush)); +} + +void PythonQtWrapper_QPalette::setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color) +{ + ( theWrappedObject->setColor(cg, cr, color)); +} + +void PythonQtWrapper_QPalette::setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color) +{ + ( theWrappedObject->setColor(cr, color)); +} + +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::setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg) +{ + ( theWrappedObject->setCurrentColorGroup(cg)); +} + +const QBrush* PythonQtWrapper_QPalette::shadow(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->shadow()); +} + +void PythonQtWrapper_QPalette::swap(QPalette* theWrappedObject, QPalette& other) +{ + ( theWrappedObject->swap(other)); +} + +const QBrush* PythonQtWrapper_QPalette::text(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->text()); +} + +const QBrush* PythonQtWrapper_QPalette::toolTipBase(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->toolTipBase()); +} + +const QBrush* PythonQtWrapper_QPalette::toolTipText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->toolTipText()); +} + +const QBrush* PythonQtWrapper_QPalette::window(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->window()); +} + +const QBrush* PythonQtWrapper_QPalette::windowText(QPalette* theWrappedObject) const +{ + return &( theWrappedObject->windowText()); +} + +QString PythonQtWrapper_QPalette::py_toString(QPalette* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +QBrush PythonQtWrapper_QPen::brush(QPen* theWrappedObject) const +{ + return ( theWrappedObject->brush()); +} + +Qt::PenCapStyle PythonQtWrapper_QPen::capStyle(QPen* theWrappedObject) const +{ + return ( theWrappedObject->capStyle()); +} + +QColor PythonQtWrapper_QPen::color(QPen* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +qreal PythonQtWrapper_QPen::dashOffset(QPen* theWrappedObject) const +{ + return ( theWrappedObject->dashOffset()); +} + +QVector PythonQtWrapper_QPen::dashPattern(QPen* theWrappedObject) const +{ + return ( theWrappedObject->dashPattern()); +} + +bool PythonQtWrapper_QPen::isCosmetic(QPen* theWrappedObject) const +{ + return ( theWrappedObject->isCosmetic()); +} + +bool PythonQtWrapper_QPen::isSolid(QPen* theWrappedObject) const +{ + return ( theWrappedObject->isSolid()); +} + +Qt::PenJoinStyle PythonQtWrapper_QPen::joinStyle(QPen* theWrappedObject) const +{ + return ( theWrappedObject->joinStyle()); +} + +qreal PythonQtWrapper_QPen::miterLimit(QPen* theWrappedObject) const +{ + return ( theWrappedObject->miterLimit()); +} + +bool PythonQtWrapper_QPen::__ne__(QPen* theWrappedObject, const QPen& p) const +{ + return ( (*theWrappedObject)!= p); +} + +void PythonQtWrapper_QPen::writeTo(QPen* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QPen::__eq__(QPen* theWrappedObject, const QPen& p) const +{ + return ( (*theWrappedObject)== p); +} + +void PythonQtWrapper_QPen::readFrom(QPen* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +void PythonQtWrapper_QPen::setBrush(QPen* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBrush(brush)); +} + +void PythonQtWrapper_QPen::setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs) +{ + ( theWrappedObject->setCapStyle(pcs)); +} + +void PythonQtWrapper_QPen::setColor(QPen* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QPen::setCosmetic(QPen* theWrappedObject, bool cosmetic) +{ + ( theWrappedObject->setCosmetic(cosmetic)); +} + +void PythonQtWrapper_QPen::setDashOffset(QPen* theWrappedObject, qreal doffset) +{ + ( theWrappedObject->setDashOffset(doffset)); +} + +void PythonQtWrapper_QPen::setDashPattern(QPen* theWrappedObject, const QVector& pattern) +{ + ( theWrappedObject->setDashPattern(pattern)); +} + +void PythonQtWrapper_QPen::setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs) +{ + ( theWrappedObject->setJoinStyle(pcs)); +} + +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)); +} + +void PythonQtWrapper_QPen::setWidth(QPen* theWrappedObject, int width) +{ + ( theWrappedObject->setWidth(width)); +} + +void PythonQtWrapper_QPen::setWidthF(QPen* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidthF(width)); +} + +Qt::PenStyle PythonQtWrapper_QPen::style(QPen* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + +void PythonQtWrapper_QPen::swap(QPen* theWrappedObject, QPen& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QPen::width(QPen* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +qreal PythonQtWrapper_QPen::widthF(QPen* theWrappedObject) const +{ + return ( theWrappedObject->widthF()); +} + +QString PythonQtWrapper_QPen::py_toString(QPen* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QPixmap::~PythonQtShell_QPixmap() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPixmap::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPixmap::devType(); +} +void PythonQtShell_QPixmap::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPixmap::initPainter(painter0); +} +int PythonQtShell_QPixmap::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPixmap::metric(arg__1); +} +QPaintEngine* PythonQtShell_QPixmap::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPixmap::paintEngine(); +} +QPaintDevice* PythonQtShell_QPixmap::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPixmap::redirected(offset0); +} +QPainter* PythonQtShell_QPixmap::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPixmap::sharedPainter(); +} +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(int w, int h) +{ +return new PythonQtShell_QPixmap(w, h); } + +qint64 PythonQtWrapper_QPixmap::cacheKey(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->cacheKey()); +} + +bool PythonQtWrapper_QPixmap::convertFromImage(QPixmap* theWrappedObject, const QImage& img, Qt::ImageConversionFlags flags) +{ + return ( theWrappedObject->convertFromImage(img, flags)); +} + +QPixmap PythonQtWrapper_QPixmap::copy(QPixmap* theWrappedObject, const QRect& rect) const +{ + return ( theWrappedObject->copy(rect)); +} + +QPixmap PythonQtWrapper_QPixmap::copy(QPixmap* theWrappedObject, int x, int y, int width, int height) const +{ + return ( theWrappedObject->copy(x, y, width, height)); +} + +QBitmap PythonQtWrapper_QPixmap::createHeuristicMask(QPixmap* theWrappedObject, bool clipTight) const +{ + return ( theWrappedObject->createHeuristicMask(clipTight)); +} + +QBitmap PythonQtWrapper_QPixmap::createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode) const +{ + return ( theWrappedObject->createMaskFromColor(maskColor, mode)); +} + +int PythonQtWrapper_QPixmap::static_QPixmap_defaultDepth() +{ + return (QPixmap::defaultDepth()); +} + +int PythonQtWrapper_QPixmap::depth(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +qreal PythonQtWrapper_QPixmap::devicePixelRatio(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QColor& fillColor) +{ + ( theWrappedObject->fill(fillColor)); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QPaintDevice* device, const QPoint& ofs) +{ + ( theWrappedObject->fill(device, ofs)); +} + +void PythonQtWrapper_QPixmap::fill(QPixmap* theWrappedObject, const QPaintDevice* device, int xofs, int yofs) +{ + ( theWrappedObject->fill(device, xofs, yofs)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) +{ + return (QPixmap::fromImage(image, flags)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_fromImageReader(QImageReader* imageReader, Qt::ImageConversionFlags flags) +{ + return (QPixmap::fromImageReader(imageReader, flags)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QObject* widget, const QRect& rect) +{ + return (QPixmap::grabWidget(widget, rect)); +} + +QPixmap PythonQtWrapper_QPixmap::static_QPixmap_grabWidget(QObject* widget, int x, int y, int w, int h) +{ + return (QPixmap::grabWidget(widget, x, y, w, h)); +} + +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)); +} + +bool PythonQtWrapper_QPixmap::hasAlpha(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->hasAlpha()); +} + +bool PythonQtWrapper_QPixmap::hasAlphaChannel(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->hasAlphaChannel()); +} + +int PythonQtWrapper_QPixmap::height(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QPixmap::isNull(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QPixmap::isQBitmap(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->isQBitmap()); +} + +bool PythonQtWrapper_QPixmap::load(QPixmap* theWrappedObject, const QString& fileName, const char* format, Qt::ImageConversionFlags flags) +{ + return ( theWrappedObject->load(fileName, format, flags)); +} + +bool PythonQtWrapper_QPixmap::loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format, Qt::ImageConversionFlags flags) +{ + return ( theWrappedObject->loadFromData(data, format, flags)); +} + +QBitmap PythonQtWrapper_QPixmap::mask(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->mask()); +} + +void PythonQtWrapper_QPixmap::writeTo(QPixmap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QPixmap::readFrom(QPixmap* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QRect PythonQtWrapper_QPixmap::rect(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +bool PythonQtWrapper_QPixmap::save(QPixmap* theWrappedObject, QIODevice* device, const char* format, int quality) const +{ + return ( theWrappedObject->save(device, format, quality)); +} + +bool PythonQtWrapper_QPixmap::save(QPixmap* theWrappedObject, const QString& fileName, const char* format, int quality) const +{ + return ( theWrappedObject->save(fileName, format, quality)); +} + +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::scaled(QPixmap* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaled(w, h, aspectMode, mode)); +} + +QPixmap PythonQtWrapper_QPixmap::scaledToHeight(QPixmap* theWrappedObject, int h, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToHeight(h, mode)); +} + +QPixmap PythonQtWrapper_QPixmap::scaledToWidth(QPixmap* theWrappedObject, int w, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->scaledToWidth(w, mode)); +} + +void PythonQtWrapper_QPixmap::scroll(QPixmap* theWrappedObject, int dx, int dy, const QRect& rect, QRegion* exposed) +{ + ( theWrappedObject->scroll(dx, dy, rect, exposed)); +} + +void PythonQtWrapper_QPixmap::scroll(QPixmap* theWrappedObject, int dx, int dy, int x, int y, int width, int height, QRegion* exposed) +{ + ( theWrappedObject->scroll(dx, dy, x, y, width, height, exposed)); +} + +void PythonQtWrapper_QPixmap::setDevicePixelRatio(QPixmap* theWrappedObject, qreal scaleFactor) +{ + ( theWrappedObject->setDevicePixelRatio(scaleFactor)); +} + +void PythonQtWrapper_QPixmap::setMask(QPixmap* theWrappedObject, const QBitmap& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); +} + +QSize PythonQtWrapper_QPixmap::size(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPixmap::swap(QPixmap* theWrappedObject, QPixmap& other) +{ + ( theWrappedObject->swap(other)); +} + +QImage PythonQtWrapper_QPixmap::toImage(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->toImage()); +} + +QPixmap PythonQtWrapper_QPixmap::transformed(QPixmap* theWrappedObject, const QMatrix& arg__1, Qt::TransformationMode mode) const +{ + return ( theWrappedObject->transformed(arg__1, mode)); +} + +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)); +} + +int PythonQtWrapper_QPixmap::width(QPixmap* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +QString PythonQtWrapper_QPixmap::py_toString(QPixmap* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon() +{ +return new QPolygon(); } + +QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QPolygon& other) +{ +return new QPolygon(other); } + +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::append(QPolygon* theWrappedObject, const QPoint& t) +{ + ( theWrappedObject->append(t)); +} + +void PythonQtWrapper_QPolygon::append(QPolygon* theWrappedObject, const QVector& l) +{ + ( theWrappedObject->append(l)); +} + +const QPoint* PythonQtWrapper_QPolygon::at(QPolygon* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +QRect PythonQtWrapper_QPolygon::boundingRect(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +int PythonQtWrapper_QPolygon::capacity(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QPolygon::clear(QPolygon* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QPoint* PythonQtWrapper_QPolygon::constFirst(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QPoint* PythonQtWrapper_QPolygon::constLast(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QPolygon::contains(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->contains(t)); +} + +bool PythonQtWrapper_QPolygon::containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const +{ + return ( theWrappedObject->containsPoint(pt, fillRule)); +} + +int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->count(t)); +} + +bool PythonQtWrapper_QPolygon::empty(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QPolygon::endsWith(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +QVector* PythonQtWrapper_QPolygon::fill(QPolygon* theWrappedObject, const QPoint& t, int size) +{ + return &( theWrappedObject->fill(t, size)); +} + +const QPoint* PythonQtWrapper_QPolygon::first(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QVector PythonQtWrapper_QPolygon::static_QPolygon_fromList(const QList& list) +{ + return (QPolygon::fromList(list)); +} + +int PythonQtWrapper_QPolygon::indexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +QPolygon PythonQtWrapper_QPolygon::intersected(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QPolygon::intersects(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QPolygon::isEmpty(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QPolygon::isSharedWith(QPolygon* theWrappedObject, const QVector& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QPoint* PythonQtWrapper_QPolygon::last(QPolygon* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QPolygon::lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QPolygon::length(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QVector PythonQtWrapper_QPolygon::mid(QPolygon* theWrappedObject, int pos, int len) const +{ + return ( theWrappedObject->mid(pos, len)); +} + +void PythonQtWrapper_QPolygon::move(QPolygon* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QPolygon::__ne__(QPolygon* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)!= v); +} + +QPolygon PythonQtWrapper_QPolygon::__mul__(QPolygon* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QPolygon PythonQtWrapper_QPolygon::__mul__(QPolygon* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +void PythonQtWrapper_QPolygon::writeTo(QPolygon* theWrappedObject, QDataStream& stream) +{ + stream << (*theWrappedObject); +} + +QPolygon* PythonQtWrapper_QPolygon::operator_assign(QPolygon* theWrappedObject, const QPolygon& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPolygon::__eq__(QPolygon* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)== v); +} + +void PythonQtWrapper_QPolygon::readFrom(QPolygon* theWrappedObject, QDataStream& stream) +{ + stream >> (*theWrappedObject); +} + +void PythonQtWrapper_QPolygon::pop_back(QPolygon* theWrappedObject) +{ + ( theWrappedObject->pop_back()); +} + +void PythonQtWrapper_QPolygon::pop_front(QPolygon* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} + +void PythonQtWrapper_QPolygon::prepend(QPolygon* theWrappedObject, const QPoint& t) +{ + ( theWrappedObject->prepend(t)); +} + +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)); +} + +void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); +} + +void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i, int n) +{ + ( theWrappedObject->remove(i, n)); +} + +int PythonQtWrapper_QPolygon::removeAll(QPolygon* theWrappedObject, const QPoint& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QPolygon::removeAt(QPolygon* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QPolygon::removeFirst(QPolygon* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QPolygon::removeLast(QPolygon* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QPolygon::removeOne(QPolygon* theWrappedObject, const QPoint& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QPolygon::replace(QPolygon* theWrappedObject, int i, const QPoint& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QPolygon::reserve(QPolygon* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QPolygon::resize(QPolygon* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QPolygon::setSharable(QPolygon* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +void PythonQtWrapper_QPolygon::shrink_to_fit(QPolygon* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +int PythonQtWrapper_QPolygon::size(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPolygon::squeeze(QPolygon* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QPolygon::startsWith(QPolygon* theWrappedObject, const QPoint& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +QPolygon PythonQtWrapper_QPolygon::subtracted(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +void PythonQtWrapper_QPolygon::swap(QPolygon* theWrappedObject, QPolygon& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QPolygon::swapItemsAt(QPolygon* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swapItemsAt(i, j)); +} + +QPoint PythonQtWrapper_QPolygon::takeAt(QPolygon* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QPoint PythonQtWrapper_QPolygon::takeFirst(QPolygon* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QPoint PythonQtWrapper_QPolygon::takeLast(QPolygon* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QList PythonQtWrapper_QPolygon::toList(QPolygon* theWrappedObject) const +{ + return ( theWrappedObject->toList()); +} + +void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, const QPoint& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QPolygon PythonQtWrapper_QPolygon::translated(QPolygon* theWrappedObject, const QPoint& offset) const +{ + return ( theWrappedObject->translated(offset)); +} + +QPolygon PythonQtWrapper_QPolygon::translated(QPolygon* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +QPolygon PythonQtWrapper_QPolygon::united(QPolygon* theWrappedObject, const QPolygon& r) const +{ + return ( theWrappedObject->united(r)); +} + +QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); +} + +QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const +{ + return ( theWrappedObject->value(i, defaultValue)); +} + +QString PythonQtWrapper_QPolygon::py_toString(QPolygon* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +const QRect* PythonQtWrapper_QRegion::begin(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->begin()); +} + +QRect PythonQtWrapper_QRegion::boundingRect(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +const QRect* PythonQtWrapper_QRegion::cbegin(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->cbegin()); +} + +const QRect* PythonQtWrapper_QRegion::cend(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->cend()); +} + +bool PythonQtWrapper_QRegion::contains(QRegion* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->contains(p)); +} + +bool PythonQtWrapper_QRegion::contains(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->contains(r)); +} + +const QRect* PythonQtWrapper_QRegion::end(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->end()); +} + +QRegion PythonQtWrapper_QRegion::intersected(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +QRegion PythonQtWrapper_QRegion::intersected(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->intersected(r)); +} + +bool PythonQtWrapper_QRegion::intersects(QRegion* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRegion::intersects(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->intersects(r)); +} + +bool PythonQtWrapper_QRegion::isEmpty(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QRegion::isNull(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QRegion::__ne__(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( (*theWrappedObject)!= r); +} + +QRegion PythonQtWrapper_QRegion::__and__(QRegion* theWrappedObject, const QRect& r) const +{ + return ( (*theWrappedObject)& r); +} + +QRegion PythonQtWrapper_QRegion::__mul__(QRegion* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); +} + +QRegion PythonQtWrapper_QRegion::__mul__(QRegion* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); +} + +QRegion PythonQtWrapper_QRegion::__add__(QRegion* theWrappedObject, const QRect& r) const +{ + return ( (*theWrappedObject)+ r); +} + +void PythonQtWrapper_QRegion::writeTo(QRegion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QRegion::__eq__(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( (*theWrappedObject)== r); +} + +void PythonQtWrapper_QRegion::readFrom(QRegion* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +int PythonQtWrapper_QRegion::rectCount(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->rectCount()); +} + +QVector PythonQtWrapper_QRegion::rects(QRegion* theWrappedObject) const +{ + return ( theWrappedObject->rects()); +} + +void PythonQtWrapper_QRegion::setRects(QRegion* theWrappedObject, const QRect* rect, int num) +{ + ( theWrappedObject->setRects(rect, num)); +} + +QRegion PythonQtWrapper_QRegion::subtracted(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +void PythonQtWrapper_QRegion::swap(QRegion* theWrappedObject, QRegion& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QRegion::translate(QRegion* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->translate(p)); +} + +void PythonQtWrapper_QRegion::translate(QRegion* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +QRegion PythonQtWrapper_QRegion::translated(QRegion* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->translated(p)); +} + +QRegion PythonQtWrapper_QRegion::translated(QRegion* theWrappedObject, int dx, int dy) const +{ + return ( theWrappedObject->translated(dx, dy)); +} + +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)); +} + +QRegion PythonQtWrapper_QRegion::xored(QRegion* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->xored(r)); +} + +QString PythonQtWrapper_QRegion::py_toString(QRegion* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QSizePolicy* PythonQtWrapper_QSizePolicy::new_QSizePolicy() +{ +return new QSizePolicy(); } + +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()); +} + +Qt::Orientations PythonQtWrapper_QSizePolicy::expandingDirections(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->expandingDirections()); +} + +bool PythonQtWrapper_QSizePolicy::hasHeightForWidth(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +bool PythonQtWrapper_QSizePolicy::hasWidthForHeight(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->hasWidthForHeight()); +} + +QSizePolicy::Policy PythonQtWrapper_QSizePolicy::horizontalPolicy(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->horizontalPolicy()); +} + +int PythonQtWrapper_QSizePolicy::horizontalStretch(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->horizontalStretch()); +} + +bool PythonQtWrapper_QSizePolicy::__ne__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const +{ + return ( (*theWrappedObject)!= s); +} + +void PythonQtWrapper_QSizePolicy::writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QSizePolicy::__eq__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const +{ + return ( (*theWrappedObject)== s); +} + +void PythonQtWrapper_QSizePolicy::readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QSizePolicy::retainSizeWhenHidden(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->retainSizeWhenHidden()); +} + +void PythonQtWrapper_QSizePolicy::setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type) +{ + ( theWrappedObject->setControlType(type)); +} + +void PythonQtWrapper_QSizePolicy::setHeightForWidth(QSizePolicy* theWrappedObject, bool b) +{ + ( theWrappedObject->setHeightForWidth(b)); +} + +void PythonQtWrapper_QSizePolicy::setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d) +{ + ( theWrappedObject->setHorizontalPolicy(d)); +} + +void PythonQtWrapper_QSizePolicy::setHorizontalStretch(QSizePolicy* theWrappedObject, int stretchFactor) +{ + ( theWrappedObject->setHorizontalStretch(stretchFactor)); +} + +void PythonQtWrapper_QSizePolicy::setRetainSizeWhenHidden(QSizePolicy* theWrappedObject, bool retainSize) +{ + ( theWrappedObject->setRetainSizeWhenHidden(retainSize)); +} + +void PythonQtWrapper_QSizePolicy::setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d) +{ + ( theWrappedObject->setVerticalPolicy(d)); +} + +void PythonQtWrapper_QSizePolicy::setVerticalStretch(QSizePolicy* theWrappedObject, int stretchFactor) +{ + ( theWrappedObject->setVerticalStretch(stretchFactor)); +} + +void PythonQtWrapper_QSizePolicy::setWidthForHeight(QSizePolicy* theWrappedObject, bool b) +{ + ( theWrappedObject->setWidthForHeight(b)); +} + +void PythonQtWrapper_QSizePolicy::transpose(QSizePolicy* theWrappedObject) +{ + ( theWrappedObject->transpose()); +} + +QSizePolicy PythonQtWrapper_QSizePolicy::transposed(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QSizePolicy::Policy PythonQtWrapper_QSizePolicy::verticalPolicy(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->verticalPolicy()); +} + +int PythonQtWrapper_QSizePolicy::verticalStretch(QSizePolicy* theWrappedObject) const +{ + return ( theWrappedObject->verticalStretch()); +} + +QString PythonQtWrapper_QSizePolicy::py_toString(QSizePolicy* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +QBrush PythonQtWrapper_QTextFormat::background(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +bool PythonQtWrapper_QTextFormat::boolProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->boolProperty(propertyId)); +} + +QBrush PythonQtWrapper_QTextFormat::brushProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->brushProperty(propertyId)); +} + +void PythonQtWrapper_QTextFormat::clearBackground(QTextFormat* theWrappedObject) +{ + ( theWrappedObject->clearBackground()); +} + +void PythonQtWrapper_QTextFormat::clearForeground(QTextFormat* theWrappedObject) +{ + ( theWrappedObject->clearForeground()); +} + +void PythonQtWrapper_QTextFormat::clearProperty(QTextFormat* theWrappedObject, int propertyId) +{ + ( theWrappedObject->clearProperty(propertyId)); +} + +QColor PythonQtWrapper_QTextFormat::colorProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->colorProperty(propertyId)); +} + +qreal PythonQtWrapper_QTextFormat::doubleProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->doubleProperty(propertyId)); +} + +QBrush PythonQtWrapper_QTextFormat::foreground(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +bool PythonQtWrapper_QTextFormat::hasProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->hasProperty(propertyId)); +} + +int PythonQtWrapper_QTextFormat::intProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->intProperty(propertyId)); +} + +bool PythonQtWrapper_QTextFormat::isBlockFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isBlockFormat()); +} + +bool PythonQtWrapper_QTextFormat::isCharFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isCharFormat()); +} + +bool PythonQtWrapper_QTextFormat::isEmpty(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QTextFormat::isFrameFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isFrameFormat()); +} + +bool PythonQtWrapper_QTextFormat::isImageFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isImageFormat()); +} + +bool PythonQtWrapper_QTextFormat::isListFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isListFormat()); +} + +bool PythonQtWrapper_QTextFormat::isTableCellFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isTableCellFormat()); +} + +bool PythonQtWrapper_QTextFormat::isTableFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isTableFormat()); +} + +bool PythonQtWrapper_QTextFormat::isValid(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +Qt::LayoutDirection PythonQtWrapper_QTextFormat::layoutDirection(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->layoutDirection()); +} + +QTextLength PythonQtWrapper_QTextFormat::lengthProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->lengthProperty(propertyId)); +} + +QVector PythonQtWrapper_QTextFormat::lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->lengthVectorProperty(propertyId)); +} + +void PythonQtWrapper_QTextFormat::merge(QTextFormat* theWrappedObject, const QTextFormat& other) +{ + ( theWrappedObject->merge(other)); +} + +int PythonQtWrapper_QTextFormat::objectIndex(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->objectIndex()); +} + +int PythonQtWrapper_QTextFormat::objectType(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->objectType()); +} + +bool PythonQtWrapper_QTextFormat::__ne__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const +{ + return ( (*theWrappedObject)!= rhs); +} + +void PythonQtWrapper_QTextFormat::writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTextFormat::__eq__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QTextFormat::readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPen PythonQtWrapper_QTextFormat::penProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->penProperty(propertyId)); +} + +QMap PythonQtWrapper_QTextFormat::properties(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->properties()); +} + +QVariant PythonQtWrapper_QTextFormat::property(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->property(propertyId)); +} + +int PythonQtWrapper_QTextFormat::propertyCount(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->propertyCount()); +} + +void PythonQtWrapper_QTextFormat::setBackground(QTextFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QTextFormat::setForeground(QTextFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QTextFormat::setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); +} + +void PythonQtWrapper_QTextFormat::setObjectIndex(QTextFormat* theWrappedObject, int object) +{ + ( theWrappedObject->setObjectIndex(object)); +} + +void PythonQtWrapper_QTextFormat::setObjectType(QTextFormat* theWrappedObject, int type) +{ + ( theWrappedObject->setObjectType(type)); +} + +void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value) +{ + ( theWrappedObject->setProperty(propertyId, value)); +} + +void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths) +{ + ( theWrappedObject->setProperty(propertyId, lengths)); +} + +QString PythonQtWrapper_QTextFormat::stringProperty(QTextFormat* theWrappedObject, int propertyId) const +{ + return ( theWrappedObject->stringProperty(propertyId)); +} + +void PythonQtWrapper_QTextFormat::swap(QTextFormat* theWrappedObject, QTextFormat& other) +{ + ( theWrappedObject->swap(other)); +} + +QTextBlockFormat PythonQtWrapper_QTextFormat::toBlockFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toBlockFormat()); +} + +QTextCharFormat PythonQtWrapper_QTextFormat::toCharFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toCharFormat()); +} + +QTextFrameFormat PythonQtWrapper_QTextFormat::toFrameFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toFrameFormat()); +} + +QTextImageFormat PythonQtWrapper_QTextFormat::toImageFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toImageFormat()); +} + +QTextListFormat PythonQtWrapper_QTextFormat::toListFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toListFormat()); +} + +QTextTableCellFormat PythonQtWrapper_QTextFormat::toTableCellFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toTableCellFormat()); +} + +QTextTableFormat PythonQtWrapper_QTextFormat::toTableFormat(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->toTableFormat()); +} + +int PythonQtWrapper_QTextFormat::type(QTextFormat* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTextFormat::py_toString(QTextFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QTextLength* PythonQtWrapper_QTextLength::new_QTextLength() +{ +return new QTextLength(); } + +QTextLength* PythonQtWrapper_QTextLength::new_QTextLength(QTextLength::Type type, qreal value) +{ +return new QTextLength(type, value); } + +bool PythonQtWrapper_QTextLength::__ne__(QTextLength* theWrappedObject, const QTextLength& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QTextLength::writeTo(QTextLength* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTextLength::__eq__(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()); +} + +QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const +{ + return ( theWrappedObject->value(maximumLength)); +} + +QString PythonQtWrapper_QTextLength::py_toString(QTextLength* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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(const QTransform& other) +{ +return new QTransform(other); } + +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); } + +QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy) +{ +return new QTransform(h11, h12, h21, h22, dx, dy); } + +QTransform PythonQtWrapper_QTransform::adjoint(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->adjoint()); +} + +qreal PythonQtWrapper_QTransform::det(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->det()); +} + +qreal PythonQtWrapper_QTransform::determinant(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->determinant()); +} + +qreal PythonQtWrapper_QTransform::dx(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->dx()); +} + +qreal PythonQtWrapper_QTransform::dy(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->dy()); +} + +QTransform PythonQtWrapper_QTransform::static_QTransform_fromScale(qreal dx, qreal dy) +{ + return (QTransform::fromScale(dx, dy)); +} + +QTransform PythonQtWrapper_QTransform::static_QTransform_fromTranslate(qreal dx, qreal dy) +{ + return (QTransform::fromTranslate(dx, dy)); +} + +QTransform PythonQtWrapper_QTransform::inverted(QTransform* theWrappedObject, bool* invertible) const +{ + return ( theWrappedObject->inverted(invertible)); +} + +bool PythonQtWrapper_QTransform::isAffine(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isAffine()); +} + +bool PythonQtWrapper_QTransform::isIdentity(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isIdentity()); +} + +bool PythonQtWrapper_QTransform::isInvertible(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isInvertible()); +} + +bool PythonQtWrapper_QTransform::isRotating(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isRotating()); +} + +bool PythonQtWrapper_QTransform::isScaling(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isScaling()); +} + +bool PythonQtWrapper_QTransform::isTranslating(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->isTranslating()); +} + +qreal PythonQtWrapper_QTransform::m11(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m11()); +} + +qreal PythonQtWrapper_QTransform::m12(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m12()); +} + +qreal PythonQtWrapper_QTransform::m13(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m13()); +} + +qreal PythonQtWrapper_QTransform::m21(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m21()); +} + +qreal PythonQtWrapper_QTransform::m22(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m22()); +} + +qreal PythonQtWrapper_QTransform::m23(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m23()); +} + +qreal PythonQtWrapper_QTransform::m31(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m31()); +} + +qreal PythonQtWrapper_QTransform::m32(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m32()); +} + +qreal PythonQtWrapper_QTransform::m33(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->m33()); +} + +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)); +} + +QPainterPath PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPoint PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPointF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPointF& p) const +{ + return ( theWrappedObject->map(p)); +} + +QPolygon PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygon& a) const +{ + return ( theWrappedObject->map(a)); +} + +QPolygonF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygonF& a) const +{ + return ( theWrappedObject->map(a)); +} + +QRegion PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QRegion& r) const +{ + return ( theWrappedObject->map(r)); +} + +QRect PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRect& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QRectF PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const +{ + return ( theWrappedObject->mapRect(arg__1)); +} + +QPolygon PythonQtWrapper_QTransform::mapToPolygon(QTransform* theWrappedObject, const QRect& r) const +{ + return ( theWrappedObject->mapToPolygon(r)); +} + +bool PythonQtWrapper_QTransform::__ne__(QTransform* theWrappedObject, const QTransform& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QTransform PythonQtWrapper_QTransform::multiplied(QTransform* theWrappedObject, const QTransform& o) const +{ + return ( (*theWrappedObject)* o); +} + +QTransform PythonQtWrapper_QTransform::__mul__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)* n); +} + +QTransform* PythonQtWrapper_QTransform::__imul__(QTransform* theWrappedObject, const QTransform& arg__1) +{ + return &( (*theWrappedObject)*= arg__1); +} + +QTransform* PythonQtWrapper_QTransform::__imul__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)*= div); +} + +QTransform PythonQtWrapper_QTransform::__add__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)+ n); +} + +QTransform* PythonQtWrapper_QTransform::__iadd__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)+= div); +} + +QTransform PythonQtWrapper_QTransform::__sub__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)- n); +} + +QTransform* PythonQtWrapper_QTransform::__isub__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)-= div); +} + +QTransform PythonQtWrapper_QTransform::__div__(QTransform* theWrappedObject, qreal n) +{ + return ( (*theWrappedObject)/ n); +} + +QTransform* PythonQtWrapper_QTransform::__idiv__(QTransform* theWrappedObject, qreal div) +{ + return &( (*theWrappedObject)/= div); +} + +void PythonQtWrapper_QTransform::writeTo(QTransform* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QTransform::__eq__(QTransform* theWrappedObject, const QTransform& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +void PythonQtWrapper_QTransform::readFrom(QTransform* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QTransform::static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result) +{ + return (QTransform::quadToQuad(one, two, result)); +} + +bool PythonQtWrapper_QTransform::static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result) +{ + return (QTransform::quadToSquare(quad, result)); +} + +void PythonQtWrapper_QTransform::reset(QTransform* theWrappedObject) +{ + ( theWrappedObject->reset()); +} + +QTransform* PythonQtWrapper_QTransform::rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis) +{ + return &( theWrappedObject->rotate(a, axis)); +} + +QTransform* PythonQtWrapper_QTransform::rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis) +{ + return &( theWrappedObject->rotateRadians(a, axis)); +} + +QTransform* PythonQtWrapper_QTransform::scale(QTransform* theWrappedObject, qreal sx, qreal sy) +{ + return &( theWrappedObject->scale(sx, sy)); +} + +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)); +} + +QTransform* PythonQtWrapper_QTransform::shear(QTransform* theWrappedObject, qreal sh, qreal sv) +{ + return &( theWrappedObject->shear(sh, sv)); +} + +bool PythonQtWrapper_QTransform::static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result) +{ + return (QTransform::squareToQuad(square, result)); +} + +const QMatrix* PythonQtWrapper_QTransform::toAffine(QTransform* theWrappedObject) const +{ + return &( theWrappedObject->toAffine()); +} + +QTransform* PythonQtWrapper_QTransform::translate(QTransform* theWrappedObject, qreal dx, qreal dy) +{ + return &( theWrappedObject->translate(dx, dy)); +} + +QTransform PythonQtWrapper_QTransform::transposed(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->transposed()); +} + +QTransform::TransformationType PythonQtWrapper_QTransform::type(QTransform* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTransform::py_toString(QTransform* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h new file mode 100644 index 00000000..2701cc33 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h @@ -0,0 +1,1393 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QBitmap : public QBitmap +{ +public: + PythonQtShell_QBitmap():QBitmap(),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QBitmap& other):QBitmap(other),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QPixmap& arg__1):QBitmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QSize& arg__1):QBitmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(const QString& fileName, const char* format = nullptr):QBitmap(fileName, format),_wrapper(nullptr) {}; + PythonQtShell_QBitmap(int w, int h):QBitmap(w, h),_wrapper(nullptr) {}; + + ~PythonQtShell_QBitmap() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QBitmap : public QObject +{ Q_OBJECT +public: +public slots: +QBitmap* new_QBitmap(); +QBitmap* new_QBitmap(const QBitmap& other); +QBitmap* new_QBitmap(const QPixmap& arg__1); +QBitmap* new_QBitmap(const QSize& arg__1); +QBitmap* new_QBitmap(const QString& fileName, const char* format = nullptr); +QBitmap* new_QBitmap(int w, int h); +void delete_QBitmap(QBitmap* obj) { delete obj; } + void clear(QBitmap* theWrappedObject); + QBitmap static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); + QBitmap* operator_assign(QBitmap* theWrappedObject, const QBitmap& other); + void swap(QBitmap* theWrappedObject, QBitmap& other); + QBitmap transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const; + QBitmap transformed(QBitmap* theWrappedObject, const QTransform& matrix) const; + bool __nonzero__(QBitmap* obj) { return !obj->isNull(); } +}; + + + + + +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; } + const QColor* color(QBrush* theWrappedObject) const; + const QGradient* gradient(QBrush* theWrappedObject) const; + bool isOpaque(QBrush* theWrappedObject) const; + const QMatrix* matrix(QBrush* theWrappedObject) const; + bool __ne__(QBrush* theWrappedObject, const QBrush& b) const; + void writeTo(QBrush* theWrappedObject, QDataStream& arg__1); + bool __eq__(QBrush* theWrappedObject, const QBrush& b) const; + void readFrom(QBrush* theWrappedObject, QDataStream& arg__1); + void setColor(QBrush* theWrappedObject, Qt::GlobalColor color); + void setColor(QBrush* theWrappedObject, const QColor& color); + void setMatrix(QBrush* theWrappedObject, const QMatrix& mat); + void setStyle(QBrush* theWrappedObject, Qt::BrushStyle arg__1); + void setTexture(QBrush* theWrappedObject, const QPixmap& pixmap); + void setTextureImage(QBrush* theWrappedObject, const QImage& image); + void setTransform(QBrush* theWrappedObject, const QTransform& arg__1); + Qt::BrushStyle style(QBrush* theWrappedObject) const; + void swap(QBrush* theWrappedObject, QBrush& other); + QPixmap texture(QBrush* theWrappedObject) const; + QImage textureImage(QBrush* theWrappedObject) const; + QTransform transform(QBrush* theWrappedObject) const; + QString py_toString(QBrush*); +}; + + + + + +class PythonQtWrapper_QColor : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NameFormat Spec ) +enum NameFormat{ + HexRgb = QColor::HexRgb, HexArgb = QColor::HexArgb}; +enum Spec{ + Invalid = QColor::Invalid, Rgb = QColor::Rgb, Hsv = QColor::Hsv, Cmyk = QColor::Cmyk, Hsl = QColor::Hsl, ExtendedRgb = QColor::ExtendedRgb}; +public slots: +QColor* new_QColor(); +QColor* new_QColor(QLatin1String name); +QColor* new_QColor(QRgba64 rgba64); +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; } + int alpha(QColor* theWrappedObject) const; + qreal alphaF(QColor* theWrappedObject) const; + int black(QColor* theWrappedObject) const; + qreal blackF(QColor* theWrappedObject) const; + int blue(QColor* theWrappedObject) const; + qreal blueF(QColor* theWrappedObject) const; + QStringList static_QColor_colorNames(); + QColor convertTo(QColor* theWrappedObject, QColor::Spec colorSpec) const; + int cyan(QColor* theWrappedObject) const; + qreal cyanF(QColor* theWrappedObject) const; + QColor darker(QColor* theWrappedObject, int f = 200) const; + QColor static_QColor_fromCmyk(int c, int m, int y, int k, int a = 255); + QColor static_QColor_fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal a = 1.0); + QColor static_QColor_fromHsl(int h, int s, int l, int a = 255); + QColor static_QColor_fromHslF(qreal h, qreal s, qreal l, qreal a = 1.0); + QColor static_QColor_fromHsv(int h, int s, int v, int a = 255); + QColor static_QColor_fromHsvF(qreal h, qreal s, qreal v, qreal a = 1.0); + QColor static_QColor_fromRgb(int r, int g, int b, int a = 255); + QColor static_QColor_fromRgb(unsigned int rgb); + QColor static_QColor_fromRgbF(qreal r, qreal g, qreal b, qreal a = 1.0); + QColor static_QColor_fromRgba(unsigned int rgba); + QColor static_QColor_fromRgba64(QRgba64 rgba); + QColor static_QColor_fromRgba64(ushort r, ushort g, ushort b, ushort a = USHRT_MAX); + void getCmyk(QColor* theWrappedObject, int* c, int* m, int* y, int* k, int* a = nullptr) const; + void getCmykF(QColor* theWrappedObject, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a = nullptr) const; + void getHsl(QColor* theWrappedObject, int* h, int* s, int* l, int* a = nullptr) const; + void getHslF(QColor* theWrappedObject, qreal* h, qreal* s, qreal* l, qreal* a = nullptr) const; + int green(QColor* theWrappedObject) const; + qreal greenF(QColor* theWrappedObject) const; + int hslHue(QColor* theWrappedObject) const; + qreal hslHueF(QColor* theWrappedObject) const; + int hslSaturation(QColor* theWrappedObject) const; + qreal hslSaturationF(QColor* theWrappedObject) const; + int hsvHue(QColor* theWrappedObject) const; + qreal hsvHueF(QColor* theWrappedObject) const; + int hsvSaturation(QColor* theWrappedObject) const; + qreal hsvSaturationF(QColor* theWrappedObject) const; + int hue(QColor* theWrappedObject) const; + qreal hueF(QColor* theWrappedObject) const; + bool isValid(QColor* theWrappedObject) const; + bool static_QColor_isValidColor(QLatin1String arg__1); + bool static_QColor_isValidColor(const QString& name); + QColor lighter(QColor* theWrappedObject, int f = 150) const; + int lightness(QColor* theWrappedObject) const; + qreal lightnessF(QColor* theWrappedObject) const; + int magenta(QColor* theWrappedObject) const; + qreal magentaF(QColor* theWrappedObject) const; + QString name(QColor* theWrappedObject) const; + QString name(QColor* theWrappedObject, QColor::NameFormat format) const; + bool __ne__(QColor* theWrappedObject, const QColor& c) const; + void writeTo(QColor* theWrappedObject, QDataStream& arg__1); + bool __eq__(QColor* theWrappedObject, const QColor& c) const; + void readFrom(QColor* theWrappedObject, QDataStream& arg__1); + int red(QColor* theWrappedObject) const; + qreal redF(QColor* theWrappedObject) const; + unsigned int rgb(QColor* theWrappedObject) const; + unsigned int rgba(QColor* theWrappedObject) const; + QRgba64 rgba64(QColor* theWrappedObject) const; + int saturation(QColor* theWrappedObject) const; + qreal saturationF(QColor* theWrappedObject) const; + void setAlpha(QColor* theWrappedObject, int alpha); + void setAlphaF(QColor* theWrappedObject, qreal alpha); + void setBlue(QColor* theWrappedObject, int blue); + void setBlueF(QColor* theWrappedObject, qreal blue); + void setCmyk(QColor* theWrappedObject, int c, int m, int y, int k, int a = 255); + void setCmykF(QColor* theWrappedObject, qreal c, qreal m, qreal y, qreal k, qreal a = 1.0); + void setGreen(QColor* theWrappedObject, int green); + void setGreenF(QColor* theWrappedObject, qreal green); + void setHsl(QColor* theWrappedObject, int h, int s, int l, int a = 255); + void setHslF(QColor* theWrappedObject, qreal h, qreal s, qreal l, qreal a = 1.0); + void setHsv(QColor* theWrappedObject, int h, int s, int v, int a = 255); + void setHsvF(QColor* theWrappedObject, qreal h, qreal s, qreal v, qreal a = 1.0); + void setNamedColor(QColor* theWrappedObject, QLatin1String name); + void setNamedColor(QColor* theWrappedObject, const QString& name); + void setRed(QColor* theWrappedObject, int red); + void setRedF(QColor* theWrappedObject, qreal red); + void setRgb(QColor* theWrappedObject, int r, int g, int b, int a = 255); + void setRgb(QColor* theWrappedObject, unsigned int rgb); + void setRgbF(QColor* theWrappedObject, qreal r, qreal g, qreal b, qreal a = 1.0); + void setRgba(QColor* theWrappedObject, unsigned int rgba); + void setRgba64(QColor* theWrappedObject, QRgba64 rgba); + QColor::Spec spec(QColor* theWrappedObject) const; + QColor toCmyk(QColor* theWrappedObject) const; + QColor toExtendedRgb(QColor* theWrappedObject) const; + QColor toHsl(QColor* theWrappedObject) const; + QColor toHsv(QColor* theWrappedObject) const; + QColor toRgb(QColor* theWrappedObject) const; + int value(QColor* theWrappedObject) const; + qreal valueF(QColor* theWrappedObject) const; + int yellow(QColor* theWrappedObject) const; + qreal yellowF(QColor* theWrappedObject) const; + QString py_toString(QColor*); + bool __nonzero__(QColor* obj) { return obj->isValid(); } +}; + + + + + +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; } + const QBitmap* bitmap(QCursor* theWrappedObject) const; + QPoint hotSpot(QCursor* theWrappedObject) const; + const QBitmap* mask(QCursor* theWrappedObject) const; + bool __ne__(QCursor* theWrappedObject, const QCursor& rhs); + void writeTo(QCursor* theWrappedObject, QDataStream& outS); + bool __eq__(QCursor* theWrappedObject, const QCursor& rhs); + void readFrom(QCursor* theWrappedObject, QDataStream& inS); + QPixmap pixmap(QCursor* theWrappedObject) const; + QPoint static_QCursor_pos(); + QPoint static_QCursor_pos(const QScreen* screen); + void static_QCursor_setPos(QScreen* screen, const QPoint& p); + void static_QCursor_setPos(QScreen* screen, int x, int y); + void static_QCursor_setPos(const QPoint& p); + void static_QCursor_setPos(int x, int y); + void setShape(QCursor* theWrappedObject, Qt::CursorShape newShape); + Qt::CursorShape shape(QCursor* theWrappedObject) const; + void swap(QCursor* theWrappedObject, QCursor& other); + QString py_toString(QCursor*); +}; + + + + + +class PythonQtWrapper_QFont : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Capitalization HintingPreference SpacingType Stretch Style StyleHint StyleStrategy Weight ) +enum Capitalization{ + MixedCase = QFont::MixedCase, AllUppercase = QFont::AllUppercase, AllLowercase = QFont::AllLowercase, SmallCaps = QFont::SmallCaps, Capitalize = QFont::Capitalize}; +enum HintingPreference{ + PreferDefaultHinting = QFont::PreferDefaultHinting, PreferNoHinting = QFont::PreferNoHinting, PreferVerticalHinting = QFont::PreferVerticalHinting, PreferFullHinting = QFont::PreferFullHinting}; +enum SpacingType{ + PercentageSpacing = QFont::PercentageSpacing, AbsoluteSpacing = QFont::AbsoluteSpacing}; +enum Stretch{ + AnyStretch = QFont::AnyStretch, 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}; +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, Cursive = QFont::Cursive, Monospace = QFont::Monospace, Fantasy = QFont::Fantasy}; +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, ForceIntegerMetrics = QFont::ForceIntegerMetrics, NoSubpixelAntialias = QFont::NoSubpixelAntialias, PreferNoShaping = QFont::PreferNoShaping, NoFontMerging = QFont::NoFontMerging}; +enum Weight{ + Thin = QFont::Thin, ExtraLight = QFont::ExtraLight, Light = QFont::Light, Normal = QFont::Normal, Medium = QFont::Medium, DemiBold = QFont::DemiBold, Bold = QFont::Bold, ExtraBold = QFont::ExtraBold, Black = QFont::Black}; +public slots: +QFont* new_QFont(); +QFont* new_QFont(const QFont& font); +QFont* new_QFont(const QFont& font, QPaintDevice* pd); +QFont* new_QFont(const QFont& font, const QPaintDevice* pd); +QFont* new_QFont(const QString& family, int pointSize = -1, int weight = -1, bool italic = false); +void delete_QFont(QFont* obj) { delete obj; } + bool bold(QFont* theWrappedObject) const; + void static_QFont_cacheStatistics(); + QFont::Capitalization capitalization(QFont* theWrappedObject) const; + void static_QFont_cleanup(); + QString defaultFamily(QFont* theWrappedObject) const; + bool exactMatch(QFont* theWrappedObject) const; + QStringList families(QFont* theWrappedObject) const; + QString family(QFont* theWrappedObject) const; + bool fixedPitch(QFont* theWrappedObject) const; + bool fromString(QFont* theWrappedObject, const QString& arg__1); + QFont::HintingPreference hintingPreference(QFont* theWrappedObject) const; + void static_QFont_initialize(); + void static_QFont_insertSubstitution(const QString& arg__1, const QString& arg__2); + void static_QFont_insertSubstitutions(const QString& arg__1, const QStringList& arg__2); + bool isCopyOf(QFont* theWrappedObject, const QFont& arg__1) const; + bool italic(QFont* theWrappedObject) const; + bool kerning(QFont* theWrappedObject) const; + QString key(QFont* theWrappedObject) const; + QString lastResortFamily(QFont* theWrappedObject) const; + QString lastResortFont(QFont* theWrappedObject) const; + qreal letterSpacing(QFont* theWrappedObject) const; + QFont::SpacingType letterSpacingType(QFont* theWrappedObject) const; + bool __ne__(QFont* theWrappedObject, const QFont& arg__1) const; + bool __lt__(QFont* theWrappedObject, const QFont& arg__1) const; + void writeTo(QFont* theWrappedObject, QDataStream& arg__1); + bool __eq__(QFont* theWrappedObject, const QFont& arg__1) const; + void readFrom(QFont* theWrappedObject, QDataStream& arg__1); + bool overline(QFont* theWrappedObject) const; + int pixelSize(QFont* theWrappedObject) const; + int pointSize(QFont* theWrappedObject) const; + qreal pointSizeF(QFont* theWrappedObject) const; + bool rawMode(QFont* theWrappedObject) const; + QString rawName(QFont* theWrappedObject) const; + void static_QFont_removeSubstitutions(const QString& arg__1); + uint resolve(QFont* theWrappedObject) const; + QFont resolve(QFont* theWrappedObject, const QFont& arg__1) const; + void resolve(QFont* theWrappedObject, uint mask); + void setBold(QFont* theWrappedObject, bool arg__1); + void setCapitalization(QFont* theWrappedObject, QFont::Capitalization arg__1); + void setFamilies(QFont* theWrappedObject, const QStringList& arg__1); + void setFamily(QFont* theWrappedObject, const QString& arg__1); + void setFixedPitch(QFont* theWrappedObject, bool arg__1); + void setHintingPreference(QFont* theWrappedObject, QFont::HintingPreference hintingPreference); + void setItalic(QFont* theWrappedObject, bool b); + void setKerning(QFont* theWrappedObject, bool arg__1); + void setLetterSpacing(QFont* theWrappedObject, QFont::SpacingType type, qreal spacing); + void setOverline(QFont* theWrappedObject, bool arg__1); + void setPixelSize(QFont* theWrappedObject, int arg__1); + void setPointSize(QFont* theWrappedObject, int arg__1); + void setPointSizeF(QFont* theWrappedObject, qreal arg__1); + void setRawMode(QFont* theWrappedObject, bool arg__1); + void setRawName(QFont* theWrappedObject, const QString& arg__1); + void setStretch(QFont* theWrappedObject, int arg__1); + void setStrikeOut(QFont* theWrappedObject, bool arg__1); + void setStyle(QFont* theWrappedObject, QFont::Style style); + void setStyleHint(QFont* theWrappedObject, QFont::StyleHint arg__1, QFont::StyleStrategy arg__2 = QFont::PreferDefault); + void setStyleName(QFont* theWrappedObject, const QString& arg__1); + void setStyleStrategy(QFont* theWrappedObject, QFont::StyleStrategy s); + void setUnderline(QFont* theWrappedObject, bool arg__1); + void setWeight(QFont* theWrappedObject, int arg__1); + void setWordSpacing(QFont* theWrappedObject, qreal spacing); + int stretch(QFont* theWrappedObject) const; + bool strikeOut(QFont* theWrappedObject) const; + QFont::Style style(QFont* theWrappedObject) const; + QFont::StyleHint styleHint(QFont* theWrappedObject) const; + QString styleName(QFont* theWrappedObject) const; + QFont::StyleStrategy styleStrategy(QFont* theWrappedObject) const; + QString static_QFont_substitute(const QString& arg__1); + QStringList static_QFont_substitutes(const QString& arg__1); + QStringList static_QFont_substitutions(); + void swap(QFont* theWrappedObject, QFont& other); + QString toString(QFont* theWrappedObject) const; + bool underline(QFont* theWrappedObject) const; + int weight(QFont* theWrappedObject) const; + qreal wordSpacing(QFont* theWrappedObject) const; + QString py_toString(QFont*); +}; + + + + + +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(PythonQtPassOwnershipToCPP 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; } + QSize actualSize(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QSize actualSize(QIcon* theWrappedObject, const QSize& size, 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); + void addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off); + QList availableSizes(QIcon* theWrappedObject, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + qint64 cacheKey(QIcon* theWrappedObject) const; + QStringList static_QIcon_fallbackSearchPaths(); + QString static_QIcon_fallbackThemeName(); + QIcon static_QIcon_fromTheme(const QString& name); + QIcon static_QIcon_fromTheme(const QString& name, const QIcon& fallback); + bool static_QIcon_hasThemeIcon(const QString& name); + bool isMask(QIcon* theWrappedObject) const; + bool isNull(QIcon* theWrappedObject) const; + QString name(QIcon* theWrappedObject) const; + void writeTo(QIcon* theWrappedObject, QDataStream& arg__1); + void readFrom(QIcon* theWrappedObject, QDataStream& arg__1); + 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 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; + QPixmap pixmap(QIcon* theWrappedObject, QWindow* window, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + void static_QIcon_setFallbackSearchPaths(const QStringList& paths); + void static_QIcon_setFallbackThemeName(const QString& name); + void setIsMask(QIcon* theWrappedObject, bool isMask); + void static_QIcon_setThemeName(const QString& path); + void static_QIcon_setThemeSearchPaths(const QStringList& searchpath); + void swap(QIcon* theWrappedObject, QIcon& other); + QString static_QIcon_themeName(); + QStringList static_QIcon_themeSearchPaths(); + QString py_toString(QIcon*); + bool __nonzero__(QIcon* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QImage : public QImage +{ +public: + PythonQtShell_QImage():QImage(),_wrapper(nullptr) {}; + PythonQtShell_QImage(const QImage& arg__1):QImage(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QImage(const QSize& size, QImage::Format format):QImage(size, format),_wrapper(nullptr) {}; + PythonQtShell_QImage(const QString& fileName, const char* format = nullptr):QImage(fileName, format),_wrapper(nullptr) {}; + PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(nullptr) {}; + + ~PythonQtShell_QImage() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QImage : public QImage +{ public: +inline QImage promoted_convertToFormat_helper(QImage::Format format, Qt::ImageConversionFlags flags) const { return this->convertToFormat_helper(format, flags); } +inline bool promoted_convertToFormat_inplace(QImage::Format format, Qt::ImageConversionFlags flags) { return this->convertToFormat_inplace(format, flags); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QImage promoted_mirrored_helper(bool horizontal, bool vertical) const { return this->mirrored_helper(horizontal, vertical); } +inline void promoted_mirrored_inplace(bool horizontal, bool vertical) { this->mirrored_inplace(horizontal, vertical); } +inline QImage promoted_rgbSwapped_helper() const { return this->rgbSwapped_helper(); } +inline void promoted_rgbSwapped_inplace() { this->rgbSwapped_inplace(); } +inline QImage promoted_smoothScaled(int w, int h) const { return this->smoothScaled(w, h); } +inline int py_q_devType() const { return QImage::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QImage::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return QImage::paintEngine(); } +}; + +class PythonQtWrapper_QImage : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Format InvertMode ) +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, Format_RGBX8888 = QImage::Format_RGBX8888, Format_RGBA8888 = QImage::Format_RGBA8888, Format_RGBA8888_Premultiplied = QImage::Format_RGBA8888_Premultiplied, Format_BGR30 = QImage::Format_BGR30, Format_A2BGR30_Premultiplied = QImage::Format_A2BGR30_Premultiplied, Format_RGB30 = QImage::Format_RGB30, Format_A2RGB30_Premultiplied = QImage::Format_A2RGB30_Premultiplied, Format_Alpha8 = QImage::Format_Alpha8, Format_Grayscale8 = QImage::Format_Grayscale8, Format_RGBX64 = QImage::Format_RGBX64, Format_RGBA64 = QImage::Format_RGBA64, Format_RGBA64_Premultiplied = QImage::Format_RGBA64_Premultiplied, Format_Grayscale16 = QImage::Format_Grayscale16, Format_BGR888 = QImage::Format_BGR888, NImageFormats = QImage::NImageFormats}; +enum InvertMode{ + InvertRgb = QImage::InvertRgb, InvertRgba = QImage::InvertRgba}; +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 = nullptr); +QImage* new_QImage(int width, int height, QImage::Format format); +void delete_QImage(QImage* obj) { delete obj; } + bool allGray(QImage* theWrappedObject) const; + QImage alphaChannel(QImage* theWrappedObject) const; + int bitPlaneCount(QImage* theWrappedObject) const; + int byteCount(QImage* theWrappedObject) const; + int bytesPerLine(QImage* theWrappedObject) const; + qint64 cacheKey(QImage* theWrappedObject) const; + unsigned int color(QImage* theWrappedObject, int i) const; + int colorCount(QImage* theWrappedObject) const; + QVector colorTable(QImage* theWrappedObject) const; + void convertTo(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags = Qt::AutoColor); + QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const; + QImage convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector& colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const; + QImage convertToFormat_helper(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags) const; + bool convertToFormat_inplace(QImage* theWrappedObject, QImage::Format format, Qt::ImageConversionFlags flags); + QImage copy(QImage* theWrappedObject, const QRect& rect = QRect()) const; + QImage copy(QImage* theWrappedObject, int x, int y, int w, int h) const; + QImage createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags = Qt::AutoColor) const; + QImage createHeuristicMask(QImage* theWrappedObject, bool clipTight = true) const; + QImage createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode = Qt::MaskInColor) const; + int depth(QImage* theWrappedObject) const; + int py_q_devType(QImage* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImage*)theWrappedObject)->py_q_devType());} + qreal devicePixelRatio(QImage* theWrappedObject) const; + int dotsPerMeterX(QImage* theWrappedObject) const; + int dotsPerMeterY(QImage* theWrappedObject) const; + void fill(QImage* theWrappedObject, Qt::GlobalColor color); + void fill(QImage* theWrappedObject, const QColor& color); + void fill(QImage* theWrappedObject, uint pixel); + QImage::Format format(QImage* theWrappedObject) const; + QImage static_QImage_fromData(const QByteArray& data, const char* format = nullptr); + bool hasAlphaChannel(QImage* theWrappedObject) const; + int height(QImage* theWrappedObject) const; + void invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1 = QImage::InvertRgb); + bool isGrayscale(QImage* theWrappedObject) const; + bool isNull(QImage* theWrappedObject) const; + bool load(QImage* theWrappedObject, QIODevice* device, const char* format); + bool load(QImage* theWrappedObject, const QString& fileName, const char* format = nullptr); + bool loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat = nullptr); + int py_q_metric(QImage* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QImage*)theWrappedObject)->py_q_metric(metric));} + QImage mirrored(QImage* theWrappedObject, bool horizontally = false, bool vertically = true) const; + QImage mirrored_helper(QImage* theWrappedObject, bool horizontal, bool vertical) const; + void mirrored_inplace(QImage* theWrappedObject, bool horizontal, bool vertical); + QPoint offset(QImage* theWrappedObject) const; + bool __ne__(QImage* theWrappedObject, const QImage& arg__1) const; + void writeTo(QImage* theWrappedObject, QDataStream& arg__1); + bool __eq__(QImage* theWrappedObject, const QImage& arg__1) const; + void readFrom(QImage* theWrappedObject, QDataStream& arg__1); + QPaintEngine* py_q_paintEngine(QImage* theWrappedObject) const{ return (((PythonQtPublicPromoter_QImage*)theWrappedObject)->py_q_paintEngine());} + unsigned int pixel(QImage* theWrappedObject, const QPoint& pt) const; + unsigned int pixel(QImage* theWrappedObject, int x, int y) const; + QColor pixelColor(QImage* theWrappedObject, const QPoint& pt) const; + QColor pixelColor(QImage* theWrappedObject, int x, int y) const; + QPixelFormat pixelFormat(QImage* theWrappedObject) const; + int pixelIndex(QImage* theWrappedObject, const QPoint& pt) const; + int pixelIndex(QImage* theWrappedObject, int x, int y) const; + QRect rect(QImage* theWrappedObject) const; + bool reinterpretAsFormat(QImage* theWrappedObject, QImage::Format f); + QImage rgbSwapped(QImage* theWrappedObject) const; + QImage rgbSwapped_helper(QImage* theWrappedObject) const; + void rgbSwapped_inplace(QImage* theWrappedObject); + bool save(QImage* theWrappedObject, QIODevice* device, const char* format = nullptr, int quality = -1) const; + bool save(QImage* theWrappedObject, const QString& fileName, const char* format = nullptr, int quality = -1) const; + QImage scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const; + void setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel); + void setColor(QImage* theWrappedObject, int i, unsigned int c); + void setColorCount(QImage* theWrappedObject, int arg__1); + void setDevicePixelRatio(QImage* theWrappedObject, qreal scaleFactor); + void setDotsPerMeterX(QImage* theWrappedObject, int arg__1); + void setDotsPerMeterY(QImage* theWrappedObject, int arg__1); + void setOffset(QImage* theWrappedObject, const QPoint& arg__1); + void setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb); + void setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb); + void setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c); + void setPixelColor(QImage* theWrappedObject, int x, int y, const QColor& c); + void setText(QImage* theWrappedObject, const QString& key, const QString& value); + QSize size(QImage* theWrappedObject) const; + qsizetype sizeInBytes(QImage* theWrappedObject) const; + QImage smoothScaled(QImage* theWrappedObject, int w, int h) const; + void swap(QImage* theWrappedObject, QImage& other); + QString text(QImage* theWrappedObject, const QString& key = QString()) const; + QStringList textKeys(QImage* theWrappedObject) const; + QImage::Format static_QImage_toImageFormat(QPixelFormat format); + QPixelFormat static_QImage_toPixelFormat(QImage::Format format); + QImage transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; + QMatrix static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h); + QTransform static_QImage_trueMatrix(const QTransform& arg__1, int w, int h); + bool valid(QImage* theWrappedObject, const QPoint& pt) const; + bool valid(QImage* theWrappedObject, int x, int y) const; + int width(QImage* theWrappedObject) const; + QString py_toString(QImage*); + bool __nonzero__(QImage* obj) { return !obj->isNull(); } + +QImage* new_QImage( const uchar * data, int width, int height, QImage::Format format ) +{ + QImage* image = new QImage(width, height, format); + memcpy(image->bits(), data, image->byteCount()); + return image; +} + +PyObject* bits(QImage* image) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->bits(), image->bytesPerLine()* image->height()); +} + +#if QT_VERSION >= QT_VERSION_CHECK(4,7,0) +PyObject* constBits(QImage* image) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->constBits(), image->byteCount()); +} +#endif + +PyObject* scanLine(QImage* image, int line) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->scanLine(line), image->bytesPerLine()); +} + +#if QT_VERSION >= QT_VERSION_CHECK(4,7,0) +PyObject* constScanLine(QImage* image, int line) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->constScanLine(line), image->bytesPerLine()); +} +#endif + + +}; + + + + + +class PythonQtWrapper_QKeySequence : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SequenceFormat SequenceMatch StandardKey ) +enum SequenceFormat{ + NativeText = QKeySequence::NativeText, PortableText = QKeySequence::PortableText}; +enum SequenceMatch{ + NoMatch = QKeySequence::NoMatch, PartialMatch = QKeySequence::PartialMatch, ExactMatch = QKeySequence::ExactMatch}; +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, InsertParagraphSeparator = QKeySequence::InsertParagraphSeparator, InsertLineSeparator = QKeySequence::InsertLineSeparator, SaveAs = QKeySequence::SaveAs, Preferences = QKeySequence::Preferences, Quit = QKeySequence::Quit, FullScreen = QKeySequence::FullScreen, Deselect = QKeySequence::Deselect, DeleteCompleteLine = QKeySequence::DeleteCompleteLine, Backspace = QKeySequence::Backspace, Cancel = QKeySequence::Cancel}; +public slots: +QKeySequence* new_QKeySequence(); +QKeySequence* new_QKeySequence(QKeySequence::StandardKey key); +QKeySequence* new_QKeySequence(const QKeySequence& ks); +QKeySequence* new_QKeySequence(const QString& key, QKeySequence::SequenceFormat format = QKeySequence::NativeText); +QKeySequence* new_QKeySequence(int k1, int k2 = 0, int k3 = 0, int k4 = 0); +void delete_QKeySequence(QKeySequence* obj) { delete obj; } + int count(QKeySequence* theWrappedObject) const; + QKeySequence static_QKeySequence_fromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); + bool isEmpty(QKeySequence* theWrappedObject) const; + QList static_QKeySequence_keyBindings(QKeySequence::StandardKey key); + QList static_QKeySequence_listFromString(const QString& str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); + QString static_QKeySequence_listToString(const QList& list, QKeySequence::SequenceFormat format = QKeySequence::PortableText); + QKeySequence::SequenceMatch matches(QKeySequence* theWrappedObject, const QKeySequence& seq) const; + QKeySequence static_QKeySequence_mnemonic(const QString& text); + bool __ne__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __lt__(QKeySequence* theWrappedObject, const QKeySequence& ks) const; + void writeTo(QKeySequence* theWrappedObject, QDataStream& in); + bool __le__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __eq__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __gt__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + bool __ge__(QKeySequence* theWrappedObject, const QKeySequence& other) const; + void readFrom(QKeySequence* theWrappedObject, QDataStream& out); + int operator_subscript(QKeySequence* theWrappedObject, uint i) const; + void swap(QKeySequence* theWrappedObject, QKeySequence& other); + QString toString(QKeySequence* theWrappedObject, QKeySequence::SequenceFormat format = QKeySequence::PortableText) const; + QString py_toString(QKeySequence*); + bool __nonzero__(QKeySequence* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QMatrix : public QObject +{ Q_OBJECT +public: +public slots: +QMatrix* new_QMatrix(); +QMatrix* new_QMatrix(const QMatrix& other); +QMatrix* new_QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); +void delete_QMatrix(QMatrix* obj) { delete obj; } + qreal determinant(QMatrix* theWrappedObject) const; + qreal dx(QMatrix* theWrappedObject) const; + qreal dy(QMatrix* theWrappedObject) const; + QMatrix inverted(QMatrix* theWrappedObject, bool* invertible = nullptr) const; + bool isIdentity(QMatrix* theWrappedObject) const; + bool isInvertible(QMatrix* theWrappedObject) const; + qreal m11(QMatrix* theWrappedObject) const; + qreal m12(QMatrix* theWrappedObject) const; + qreal m21(QMatrix* theWrappedObject) const; + qreal m22(QMatrix* theWrappedObject) const; + QLine map(QMatrix* theWrappedObject, const QLine& l) const; + QLineF map(QMatrix* theWrappedObject, const QLineF& l) const; + QPainterPath map(QMatrix* theWrappedObject, const QPainterPath& p) const; + QPoint map(QMatrix* theWrappedObject, const QPoint& p) const; + QPointF map(QMatrix* theWrappedObject, const QPointF& p) const; + QPolygon map(QMatrix* theWrappedObject, const QPolygon& a) const; + QPolygonF map(QMatrix* theWrappedObject, const QPolygonF& a) const; + QRegion map(QMatrix* theWrappedObject, const QRegion& r) const; + QRect mapRect(QMatrix* theWrappedObject, const QRect& arg__1) const; + QRectF mapRect(QMatrix* theWrappedObject, const QRectF& arg__1) const; + QPolygon mapToPolygon(QMatrix* theWrappedObject, const QRect& r) const; + bool __ne__(QMatrix* theWrappedObject, const QMatrix& arg__1) const; + QMatrix __mul__(QMatrix* theWrappedObject, const QMatrix& o) const; + QMatrix* __imul__(QMatrix* theWrappedObject, const QMatrix& arg__1); + void writeTo(QMatrix* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMatrix* theWrappedObject, const QMatrix& arg__1) const; + void readFrom(QMatrix* theWrappedObject, QDataStream& arg__1); + void reset(QMatrix* theWrappedObject); + QMatrix* rotate(QMatrix* theWrappedObject, qreal a); + QMatrix* scale(QMatrix* theWrappedObject, qreal sx, qreal sy); + void setMatrix(QMatrix* theWrappedObject, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); + QMatrix* shear(QMatrix* theWrappedObject, qreal sh, qreal sv); + QMatrix* translate(QMatrix* theWrappedObject, qreal dx, qreal dy); + QString py_toString(QMatrix*); +}; + + + + + +class PythonQtWrapper_QMatrix4x4 : public QObject +{ Q_OBJECT +public: +public slots: +QMatrix4x4* new_QMatrix4x4(); +QMatrix4x4* new_QMatrix4x4(const QMatrix& matrix); +QMatrix4x4* new_QMatrix4x4(const QTransform& transform); +QMatrix4x4* new_QMatrix4x4(const float* values); +QMatrix4x4* new_QMatrix4x4(const float* values, int cols, int rows); +QMatrix4x4* new_QMatrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44); +QMatrix4x4* new_QMatrix4x4(const QMatrix4x4& other) { +QMatrix4x4* a = new QMatrix4x4(); +*((QMatrix4x4*)a) = other; +return a; } +void delete_QMatrix4x4(QMatrix4x4* obj) { delete obj; } + QVector4D column(QMatrix4x4* theWrappedObject, int index) const; + const float* constData(QMatrix4x4* theWrappedObject) const; + void copyDataTo(QMatrix4x4* theWrappedObject, float* values) const; + float* data(QMatrix4x4* theWrappedObject); + double determinant(QMatrix4x4* theWrappedObject) const; + void fill(QMatrix4x4* theWrappedObject, float value); + void flipCoordinates(QMatrix4x4* theWrappedObject); + void frustum(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane); + QMatrix4x4 inverted(QMatrix4x4* theWrappedObject, bool* invertible = nullptr) const; + bool isAffine(QMatrix4x4* theWrappedObject) const; + bool isIdentity(QMatrix4x4* theWrappedObject) const; + void lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up); + QPoint map(QMatrix4x4* theWrappedObject, const QPoint& point) const; + QPointF map(QMatrix4x4* theWrappedObject, const QPointF& point) const; + QVector3D map(QMatrix4x4* theWrappedObject, const QVector3D& point) const; + QVector4D map(QMatrix4x4* theWrappedObject, const QVector4D& point) const; + QRect mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const; + QRectF mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const; + QVector3D mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const; + bool __ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const; + float* operator_cast_(QMatrix4x4* theWrappedObject, int row, int column); + QMatrix4x4 __mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); + QPoint __mul__(QMatrix4x4* theWrappedObject, const QPoint& point); + QPointF __mul__(QMatrix4x4* theWrappedObject, const QPointF& point); + QVector3D __mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector); + QVector4D __mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector); + QMatrix4x4 __mul__(QMatrix4x4* theWrappedObject, float factor); + QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); + QMatrix4x4* __imul__(QMatrix4x4* theWrappedObject, float factor); + QMatrix4x4 __add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); + QMatrix4x4* __iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); + QMatrix4x4 __sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2); + QMatrix4x4* __isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other); + QMatrix4x4 __div__(QMatrix4x4* theWrappedObject, float divisor); + QMatrix4x4* __idiv__(QMatrix4x4* theWrappedObject, float divisor); + void writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const; + void readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1); + void optimize(QMatrix4x4* theWrappedObject); + void ortho(QMatrix4x4* theWrappedObject, const QRect& rect); + void ortho(QMatrix4x4* theWrappedObject, const QRectF& rect); + void ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane); + void perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane); + void rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion); + void rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector); + void rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z = 0.0f); + QVector4D row(QMatrix4x4* theWrappedObject, int index) const; + void scale(QMatrix4x4* theWrappedObject, const QVector3D& vector); + void scale(QMatrix4x4* theWrappedObject, float factor); + void scale(QMatrix4x4* theWrappedObject, float x, float y); + void scale(QMatrix4x4* theWrappedObject, float x, float y, float z); + void setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value); + void setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value); + void setToIdentity(QMatrix4x4* theWrappedObject); + QMatrix toAffine(QMatrix4x4* theWrappedObject) const; + QTransform toTransform(QMatrix4x4* theWrappedObject) const; + QTransform toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const; + void translate(QMatrix4x4* theWrappedObject, const QVector3D& vector); + void translate(QMatrix4x4* theWrappedObject, float x, float y); + void translate(QMatrix4x4* theWrappedObject, float x, float y, float z); + QMatrix4x4 transposed(QMatrix4x4* theWrappedObject) const; + void viewport(QMatrix4x4* theWrappedObject, const QRectF& rect); + void viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane = 0.0f, float farPlane = 1.0f); + QString py_toString(QMatrix4x4*); +}; + + + + + +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, PlaceholderText = QPalette::PlaceholderText, 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* base(QPalette* theWrappedObject) const; + const QBrush* brightText(QPalette* theWrappedObject) const; + const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + const QBrush* brush(QPalette* theWrappedObject, QPalette::ColorRole cr) const; + const QBrush* button(QPalette* theWrappedObject) const; + const QBrush* buttonText(QPalette* theWrappedObject) const; + qint64 cacheKey(QPalette* theWrappedObject) const; + const QColor* color(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + const QColor* color(QPalette* theWrappedObject, QPalette::ColorRole cr) const; + QPalette::ColorGroup currentColorGroup(QPalette* theWrappedObject) const; + const QBrush* dark(QPalette* theWrappedObject) const; + const QBrush* highlight(QPalette* theWrappedObject) const; + const QBrush* highlightedText(QPalette* theWrappedObject) const; + bool isBrushSet(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + bool isCopyOf(QPalette* theWrappedObject, const QPalette& p) const; + bool isEqual(QPalette* theWrappedObject, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const; + const QBrush* light(QPalette* theWrappedObject) const; + const QBrush* link(QPalette* theWrappedObject) const; + const QBrush* linkVisited(QPalette* theWrappedObject) const; + const QBrush* mid(QPalette* theWrappedObject) const; + const QBrush* midlight(QPalette* theWrappedObject) const; + bool __ne__(QPalette* theWrappedObject, const QPalette& p) const; + void writeTo(QPalette* theWrappedObject, QDataStream& ds); + bool __eq__(QPalette* theWrappedObject, const QPalette& p) const; + void readFrom(QPalette* theWrappedObject, QDataStream& ds); + const QBrush* placeholderText(QPalette* theWrappedObject) const; + uint resolve(QPalette* theWrappedObject) const; + QPalette resolve(QPalette* theWrappedObject, const QPalette& arg__1) const; + void resolve(QPalette* theWrappedObject, uint mask); + void setBrush(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush& brush); + void setBrush(QPalette* theWrappedObject, QPalette::ColorRole cr, const QBrush& brush); + void setColor(QPalette* theWrappedObject, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColor& color); + void setColor(QPalette* theWrappedObject, QPalette::ColorRole cr, const QColor& color); + 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 setCurrentColorGroup(QPalette* theWrappedObject, QPalette::ColorGroup cg); + const QBrush* shadow(QPalette* theWrappedObject) const; + void swap(QPalette* theWrappedObject, QPalette& other); + const QBrush* text(QPalette* theWrappedObject) const; + const QBrush* toolTipBase(QPalette* theWrappedObject) const; + const QBrush* toolTipText(QPalette* theWrappedObject) const; + const QBrush* window(QPalette* theWrappedObject) const; + const QBrush* windowText(QPalette* theWrappedObject) const; + QString py_toString(QPalette*); +}; + + + + + +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; } + QBrush brush(QPen* theWrappedObject) const; + Qt::PenCapStyle capStyle(QPen* theWrappedObject) const; + QColor color(QPen* theWrappedObject) const; + qreal dashOffset(QPen* theWrappedObject) const; + QVector dashPattern(QPen* theWrappedObject) const; + bool isCosmetic(QPen* theWrappedObject) const; + bool isSolid(QPen* theWrappedObject) const; + Qt::PenJoinStyle joinStyle(QPen* theWrappedObject) const; + qreal miterLimit(QPen* theWrappedObject) const; + bool __ne__(QPen* theWrappedObject, const QPen& p) const; + void writeTo(QPen* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPen* theWrappedObject, const QPen& p) const; + void readFrom(QPen* theWrappedObject, QDataStream& arg__1); + void setBrush(QPen* theWrappedObject, const QBrush& brush); + void setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs); + void setColor(QPen* theWrappedObject, const QColor& color); + void setCosmetic(QPen* theWrappedObject, bool cosmetic); + void setDashOffset(QPen* theWrappedObject, qreal doffset); + void setDashPattern(QPen* theWrappedObject, const QVector& pattern); + void setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs); + void setMiterLimit(QPen* theWrappedObject, qreal limit); + void setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1); + void setWidth(QPen* theWrappedObject, int width); + void setWidthF(QPen* theWrappedObject, qreal width); + Qt::PenStyle style(QPen* theWrappedObject) const; + void swap(QPen* theWrappedObject, QPen& other); + int width(QPen* theWrappedObject) const; + qreal widthF(QPen* theWrappedObject) const; + QString py_toString(QPen*); +}; + + + + + +class PythonQtShell_QPixmap : public QPixmap +{ +public: + PythonQtShell_QPixmap():QPixmap(),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(const QPixmap& arg__1):QPixmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(const QSize& arg__1):QPixmap(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(const QString& fileName, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor):QPixmap(fileName, format, flags),_wrapper(nullptr) {}; + PythonQtShell_QPixmap(int w, int h):QPixmap(w, h),_wrapper(nullptr) {}; + + ~PythonQtShell_QPixmap() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPixmap : public QPixmap +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline int py_q_devType() const { return QPixmap::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPixmap::metric(arg__1); } +inline QPaintEngine* py_q_paintEngine() const { return QPixmap::paintEngine(); } +}; + +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 = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); +QPixmap* new_QPixmap(int w, int h); +void delete_QPixmap(QPixmap* obj) { delete obj; } + qint64 cacheKey(QPixmap* theWrappedObject) const; + bool convertFromImage(QPixmap* theWrappedObject, const QImage& img, Qt::ImageConversionFlags flags = Qt::AutoColor); + QPixmap copy(QPixmap* theWrappedObject, const QRect& rect = QRect()) const; + QPixmap copy(QPixmap* theWrappedObject, int x, int y, int width, int height) const; + QBitmap createHeuristicMask(QPixmap* theWrappedObject, bool clipTight = true) const; + QBitmap createMaskFromColor(QPixmap* theWrappedObject, const QColor& maskColor, Qt::MaskMode mode = Qt::MaskInColor) const; + int static_QPixmap_defaultDepth(); + int depth(QPixmap* theWrappedObject) const; + int py_q_devType(QPixmap* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->py_q_devType());} + qreal devicePixelRatio(QPixmap* theWrappedObject) const; + void fill(QPixmap* theWrappedObject, const QColor& fillColor = Qt::white); + void fill(QPixmap* theWrappedObject, const QPaintDevice* device, const QPoint& ofs); + void fill(QPixmap* theWrappedObject, const QPaintDevice* device, int xofs, int yofs); + QPixmap static_QPixmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); + QPixmap static_QPixmap_fromImageReader(QImageReader* imageReader, Qt::ImageConversionFlags flags = Qt::AutoColor); + QPixmap static_QPixmap_grabWidget(QObject* widget, const QRect& rect); + QPixmap static_QPixmap_grabWidget(QObject* widget, int x = 0, int y = 0, int w = -1, int h = -1); + QPixmap static_QPixmap_grabWindow(WId arg__1, int x = 0, int y = 0, int w = -1, int h = -1); + bool hasAlpha(QPixmap* theWrappedObject) const; + bool hasAlphaChannel(QPixmap* theWrappedObject) const; + int height(QPixmap* theWrappedObject) const; + bool isNull(QPixmap* theWrappedObject) const; + bool isQBitmap(QPixmap* theWrappedObject) const; + bool load(QPixmap* theWrappedObject, const QString& fileName, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool loadFromData(QPixmap* theWrappedObject, const QByteArray& data, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); + QBitmap mask(QPixmap* theWrappedObject) const; + int py_q_metric(QPixmap* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->py_q_metric(arg__1));} + void writeTo(QPixmap* theWrappedObject, QDataStream& arg__1); + void readFrom(QPixmap* theWrappedObject, QDataStream& arg__1); + QPaintEngine* py_q_paintEngine(QPixmap* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPixmap*)theWrappedObject)->py_q_paintEngine());} + QRect rect(QPixmap* theWrappedObject) const; + bool save(QPixmap* theWrappedObject, QIODevice* device, const char* format = nullptr, int quality = -1) const; + bool save(QPixmap* theWrappedObject, const QString& fileName, const char* format = nullptr, int quality = -1) const; + QPixmap scaled(QPixmap* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap scaled(QPixmap* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode = Qt::IgnoreAspectRatio, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap scaledToHeight(QPixmap* theWrappedObject, int h, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap scaledToWidth(QPixmap* theWrappedObject, int w, Qt::TransformationMode mode = Qt::FastTransformation) const; + void scroll(QPixmap* theWrappedObject, int dx, int dy, const QRect& rect, QRegion* exposed = nullptr); + void scroll(QPixmap* theWrappedObject, int dx, int dy, int x, int y, int width, int height, QRegion* exposed = nullptr); + void setDevicePixelRatio(QPixmap* theWrappedObject, qreal scaleFactor); + void setMask(QPixmap* theWrappedObject, const QBitmap& arg__1); + QSize size(QPixmap* theWrappedObject) const; + void swap(QPixmap* theWrappedObject, QPixmap& other); + QImage toImage(QPixmap* theWrappedObject) const; + QPixmap transformed(QPixmap* theWrappedObject, const QMatrix& arg__1, Qt::TransformationMode mode = Qt::FastTransformation) 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); + int width(QPixmap* theWrappedObject) const; + QString py_toString(QPixmap*); + bool __nonzero__(QPixmap* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QPolygon : public QObject +{ Q_OBJECT +public: +public slots: +QPolygon* new_QPolygon(); +QPolygon* new_QPolygon(const QPolygon& other); +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 append(QPolygon* theWrappedObject, const QPoint& t); + void append(QPolygon* theWrappedObject, const QVector& l); + const QPoint* at(QPolygon* theWrappedObject, int i) const; + QRect boundingRect(QPolygon* theWrappedObject) const; + int capacity(QPolygon* theWrappedObject) const; + void clear(QPolygon* theWrappedObject); + const QPoint* constFirst(QPolygon* theWrappedObject) const; + const QPoint* constLast(QPolygon* theWrappedObject) const; + bool contains(QPolygon* theWrappedObject, const QPoint& t) const; + bool containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const; + int count(QPolygon* theWrappedObject) const; + int count(QPolygon* theWrappedObject, const QPoint& t) const; + bool empty(QPolygon* theWrappedObject) const; + bool endsWith(QPolygon* theWrappedObject, const QPoint& t) const; + QVector* fill(QPolygon* theWrappedObject, const QPoint& t, int size = -1); + const QPoint* first(QPolygon* theWrappedObject) const; + QVector static_QPolygon_fromList(const QList& list); + int indexOf(QPolygon* theWrappedObject, const QPoint& t, int from = 0) const; + QPolygon intersected(QPolygon* theWrappedObject, const QPolygon& r) const; + bool intersects(QPolygon* theWrappedObject, const QPolygon& r) const; + bool isEmpty(QPolygon* theWrappedObject) const; + bool isSharedWith(QPolygon* theWrappedObject, const QVector& other) const; + const QPoint* last(QPolygon* theWrappedObject) const; + int lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from = -1) const; + int length(QPolygon* theWrappedObject) const; + QVector mid(QPolygon* theWrappedObject, int pos, int len = -1) const; + void move(QPolygon* theWrappedObject, int from, int to); + bool __ne__(QPolygon* theWrappedObject, const QVector& v) const; + QPolygon __mul__(QPolygon* theWrappedObject, const QMatrix& m); + QPolygon __mul__(QPolygon* theWrappedObject, const QTransform& m); + void writeTo(QPolygon* theWrappedObject, QDataStream& stream); + QPolygon* operator_assign(QPolygon* theWrappedObject, const QPolygon& other); + bool __eq__(QPolygon* theWrappedObject, const QVector& v) const; + void readFrom(QPolygon* theWrappedObject, QDataStream& stream); + void pop_back(QPolygon* theWrappedObject); + void pop_front(QPolygon* theWrappedObject); + void prepend(QPolygon* theWrappedObject, const QPoint& t); + void push_back(QPolygon* theWrappedObject, const QPoint& t); + void push_front(QPolygon* theWrappedObject, const QPoint& t); + void remove(QPolygon* theWrappedObject, int i); + void remove(QPolygon* theWrappedObject, int i, int n); + int removeAll(QPolygon* theWrappedObject, const QPoint& t); + void removeAt(QPolygon* theWrappedObject, int i); + void removeFirst(QPolygon* theWrappedObject); + void removeLast(QPolygon* theWrappedObject); + bool removeOne(QPolygon* theWrappedObject, const QPoint& t); + void replace(QPolygon* theWrappedObject, int i, const QPoint& t); + void reserve(QPolygon* theWrappedObject, int size); + void resize(QPolygon* theWrappedObject, int size); + void setSharable(QPolygon* theWrappedObject, bool sharable); + void shrink_to_fit(QPolygon* theWrappedObject); + int size(QPolygon* theWrappedObject) const; + void squeeze(QPolygon* theWrappedObject); + bool startsWith(QPolygon* theWrappedObject, const QPoint& t) const; + QPolygon subtracted(QPolygon* theWrappedObject, const QPolygon& r) const; + void swap(QPolygon* theWrappedObject, QPolygon& other); + void swapItemsAt(QPolygon* theWrappedObject, int i, int j); + QPoint takeAt(QPolygon* theWrappedObject, int i); + QPoint takeFirst(QPolygon* theWrappedObject); + QPoint takeLast(QPolygon* theWrappedObject); + QList toList(QPolygon* theWrappedObject) const; + void translate(QPolygon* theWrappedObject, const QPoint& offset); + void translate(QPolygon* theWrappedObject, int dx, int dy); + QPolygon translated(QPolygon* theWrappedObject, const QPoint& offset) const; + QPolygon translated(QPolygon* theWrappedObject, int dx, int dy) const; + QPolygon united(QPolygon* theWrappedObject, const QPolygon& r) const; + QPoint value(QPolygon* theWrappedObject, int i) const; + QPoint value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const; + QString py_toString(QPolygon*); + bool __nonzero__(QPolygon* obj) { return !obj->isEmpty(); } +}; + + + + + +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; } + const QRect* begin(QRegion* theWrappedObject) const; + QRect boundingRect(QRegion* theWrappedObject) const; + const QRect* cbegin(QRegion* theWrappedObject) const; + const QRect* cend(QRegion* theWrappedObject) const; + bool contains(QRegion* theWrappedObject, const QPoint& p) const; + bool contains(QRegion* theWrappedObject, const QRect& r) const; + const QRect* end(QRegion* theWrappedObject) const; + QRegion intersected(QRegion* theWrappedObject, const QRect& r) const; + QRegion intersected(QRegion* theWrappedObject, const QRegion& r) const; + bool intersects(QRegion* theWrappedObject, const QRect& r) const; + bool intersects(QRegion* theWrappedObject, const QRegion& r) const; + bool isEmpty(QRegion* theWrappedObject) const; + bool isNull(QRegion* theWrappedObject) const; + bool __ne__(QRegion* theWrappedObject, const QRegion& r) const; + QRegion __and__(QRegion* theWrappedObject, const QRect& r) const; + QRegion __mul__(QRegion* theWrappedObject, const QMatrix& m); + QRegion __mul__(QRegion* theWrappedObject, const QTransform& m); + QRegion __add__(QRegion* theWrappedObject, const QRect& r) const; + void writeTo(QRegion* theWrappedObject, QDataStream& arg__1); + bool __eq__(QRegion* theWrappedObject, const QRegion& r) const; + void readFrom(QRegion* theWrappedObject, QDataStream& arg__1); + int rectCount(QRegion* theWrappedObject) const; + QVector rects(QRegion* theWrappedObject) const; + void setRects(QRegion* theWrappedObject, const QRect* rect, int num); + QRegion subtracted(QRegion* theWrappedObject, const QRegion& r) const; + void swap(QRegion* theWrappedObject, QRegion& other); + void translate(QRegion* theWrappedObject, const QPoint& p); + void translate(QRegion* theWrappedObject, int dx, int dy); + QRegion translated(QRegion* theWrappedObject, const QPoint& p) const; + QRegion translated(QRegion* theWrappedObject, int dx, int dy) const; + QRegion united(QRegion* theWrappedObject, const QRect& r) const; + QRegion united(QRegion* theWrappedObject, const QRegion& r) const; + QRegion xored(QRegion* theWrappedObject, const QRegion& r) const; + QString py_toString(QRegion*); + bool __nonzero__(QRegion* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QSizePolicy : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ControlType Policy PolicyFlag ) +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 Policy{ + Fixed = QSizePolicy::Fixed, Minimum = QSizePolicy::Minimum, Maximum = QSizePolicy::Maximum, Preferred = QSizePolicy::Preferred, MinimumExpanding = QSizePolicy::MinimumExpanding, Expanding = QSizePolicy::Expanding, Ignored = QSizePolicy::Ignored}; +enum PolicyFlag{ + GrowFlag = QSizePolicy::GrowFlag, ExpandFlag = QSizePolicy::ExpandFlag, ShrinkFlag = QSizePolicy::ShrinkFlag, IgnoreFlag = QSizePolicy::IgnoreFlag}; +Q_DECLARE_FLAGS(ControlTypes, ControlType) +public slots: +QSizePolicy* new_QSizePolicy(); +QSizePolicy* new_QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type = QSizePolicy::DefaultType); +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; + Qt::Orientations expandingDirections(QSizePolicy* theWrappedObject) const; + bool hasHeightForWidth(QSizePolicy* theWrappedObject) const; + bool hasWidthForHeight(QSizePolicy* theWrappedObject) const; + QSizePolicy::Policy horizontalPolicy(QSizePolicy* theWrappedObject) const; + int horizontalStretch(QSizePolicy* theWrappedObject) const; + bool __ne__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const; + void writeTo(QSizePolicy* theWrappedObject, QDataStream& arg__1); + bool __eq__(QSizePolicy* theWrappedObject, const QSizePolicy& s) const; + void readFrom(QSizePolicy* theWrappedObject, QDataStream& arg__1); + bool retainSizeWhenHidden(QSizePolicy* theWrappedObject) const; + void setControlType(QSizePolicy* theWrappedObject, QSizePolicy::ControlType type); + void setHeightForWidth(QSizePolicy* theWrappedObject, bool b); + void setHorizontalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); + void setHorizontalStretch(QSizePolicy* theWrappedObject, int stretchFactor); + void setRetainSizeWhenHidden(QSizePolicy* theWrappedObject, bool retainSize); + void setVerticalPolicy(QSizePolicy* theWrappedObject, QSizePolicy::Policy d); + void setVerticalStretch(QSizePolicy* theWrappedObject, int stretchFactor); + void setWidthForHeight(QSizePolicy* theWrappedObject, bool b); + void transpose(QSizePolicy* theWrappedObject); + QSizePolicy transposed(QSizePolicy* theWrappedObject) const; + QSizePolicy::Policy verticalPolicy(QSizePolicy* theWrappedObject) const; + int verticalStretch(QSizePolicy* theWrappedObject) const; + QString py_toString(QSizePolicy*); +}; + + + + + +class PythonQtWrapper_QTextFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FormatType ObjectTypes PageBreakFlag Property ) +Q_FLAGS(PageBreakFlags ) +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}; +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, LineHeight = QTextFormat::LineHeight, LineHeightType = QTextFormat::LineHeightType, BlockNonBreakableLines = QTextFormat::BlockNonBreakableLines, BlockTrailingHorizontalRulerWidth = QTextFormat::BlockTrailingHorizontalRulerWidth, HeadingLevel = QTextFormat::HeadingLevel, BlockQuoteLevel = QTextFormat::BlockQuoteLevel, BlockCodeLanguage = QTextFormat::BlockCodeLanguage, BlockCodeFence = QTextFormat::BlockCodeFence, BlockMarker = QTextFormat::BlockMarker, FirstFontProperty = QTextFormat::FirstFontProperty, FontCapitalization = QTextFormat::FontCapitalization, FontLetterSpacingType = QTextFormat::FontLetterSpacingType, FontLetterSpacing = QTextFormat::FontLetterSpacing, FontWordSpacing = QTextFormat::FontWordSpacing, FontStretch = QTextFormat::FontStretch, FontStyleHint = QTextFormat::FontStyleHint, FontStyleStrategy = QTextFormat::FontStyleStrategy, FontKerning = QTextFormat::FontKerning, FontHintingPreference = QTextFormat::FontHintingPreference, FontFamilies = QTextFormat::FontFamilies, FontStyleName = QTextFormat::FontStyleName, 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, ListNumberPrefix = QTextFormat::ListNumberPrefix, ListNumberSuffix = QTextFormat::ListNumberSuffix, 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, TableBorderCollapse = QTextFormat::TableBorderCollapse, TableCellRowSpan = QTextFormat::TableCellRowSpan, TableCellColumnSpan = QTextFormat::TableCellColumnSpan, TableCellTopPadding = QTextFormat::TableCellTopPadding, TableCellBottomPadding = QTextFormat::TableCellBottomPadding, TableCellLeftPadding = QTextFormat::TableCellLeftPadding, TableCellRightPadding = QTextFormat::TableCellRightPadding, TableCellTopBorder = QTextFormat::TableCellTopBorder, TableCellBottomBorder = QTextFormat::TableCellBottomBorder, TableCellLeftBorder = QTextFormat::TableCellLeftBorder, TableCellRightBorder = QTextFormat::TableCellRightBorder, TableCellTopBorderStyle = QTextFormat::TableCellTopBorderStyle, TableCellBottomBorderStyle = QTextFormat::TableCellBottomBorderStyle, TableCellLeftBorderStyle = QTextFormat::TableCellLeftBorderStyle, TableCellRightBorderStyle = QTextFormat::TableCellRightBorderStyle, TableCellTopBorderBrush = QTextFormat::TableCellTopBorderBrush, TableCellBottomBorderBrush = QTextFormat::TableCellBottomBorderBrush, TableCellLeftBorderBrush = QTextFormat::TableCellLeftBorderBrush, TableCellRightBorderBrush = QTextFormat::TableCellRightBorderBrush, ImageName = QTextFormat::ImageName, ImageTitle = QTextFormat::ImageTitle, ImageAltText = QTextFormat::ImageAltText, ImageWidth = QTextFormat::ImageWidth, ImageHeight = QTextFormat::ImageHeight, ImageQuality = QTextFormat::ImageQuality, FullWidthSelection = QTextFormat::FullWidthSelection, PageBreakPolicy = QTextFormat::PageBreakPolicy, UserProperty = QTextFormat::UserProperty}; +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; } + QBrush background(QTextFormat* theWrappedObject) const; + bool boolProperty(QTextFormat* theWrappedObject, int propertyId) const; + QBrush brushProperty(QTextFormat* theWrappedObject, int propertyId) const; + void clearBackground(QTextFormat* theWrappedObject); + void clearForeground(QTextFormat* theWrappedObject); + void clearProperty(QTextFormat* theWrappedObject, int propertyId); + QColor colorProperty(QTextFormat* theWrappedObject, int propertyId) const; + qreal doubleProperty(QTextFormat* theWrappedObject, int propertyId) const; + QBrush foreground(QTextFormat* theWrappedObject) const; + bool hasProperty(QTextFormat* theWrappedObject, int propertyId) const; + int intProperty(QTextFormat* theWrappedObject, int propertyId) const; + bool isBlockFormat(QTextFormat* theWrappedObject) const; + bool isCharFormat(QTextFormat* theWrappedObject) const; + bool isEmpty(QTextFormat* theWrappedObject) const; + bool isFrameFormat(QTextFormat* theWrappedObject) const; + bool isImageFormat(QTextFormat* theWrappedObject) const; + bool isListFormat(QTextFormat* theWrappedObject) const; + bool isTableCellFormat(QTextFormat* theWrappedObject) const; + bool isTableFormat(QTextFormat* theWrappedObject) const; + bool isValid(QTextFormat* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QTextFormat* theWrappedObject) const; + QTextLength lengthProperty(QTextFormat* theWrappedObject, int propertyId) const; + QVector lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const; + void merge(QTextFormat* theWrappedObject, const QTextFormat& other); + int objectIndex(QTextFormat* theWrappedObject) const; + int objectType(QTextFormat* theWrappedObject) const; + bool __ne__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const; + void writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1); + bool __eq__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const; + void readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1); + QPen penProperty(QTextFormat* theWrappedObject, int propertyId) const; + QMap properties(QTextFormat* theWrappedObject) const; + QVariant property(QTextFormat* theWrappedObject, int propertyId) const; + int propertyCount(QTextFormat* theWrappedObject) const; + void setBackground(QTextFormat* theWrappedObject, const QBrush& brush); + void setForeground(QTextFormat* theWrappedObject, const QBrush& brush); + void setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction); + void setObjectIndex(QTextFormat* theWrappedObject, int object); + void setObjectType(QTextFormat* theWrappedObject, int type); + void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value); + void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths); + QString stringProperty(QTextFormat* theWrappedObject, int propertyId) const; + void swap(QTextFormat* theWrappedObject, QTextFormat& other); + QTextBlockFormat toBlockFormat(QTextFormat* theWrappedObject) const; + QTextCharFormat toCharFormat(QTextFormat* theWrappedObject) const; + QTextFrameFormat toFrameFormat(QTextFormat* theWrappedObject) const; + QTextImageFormat toImageFormat(QTextFormat* theWrappedObject) const; + QTextListFormat toListFormat(QTextFormat* theWrappedObject) const; + QTextTableCellFormat toTableCellFormat(QTextFormat* theWrappedObject) const; + QTextTableFormat toTableFormat(QTextFormat* theWrappedObject) const; + int type(QTextFormat* theWrappedObject) const; + QString py_toString(QTextFormat*); + bool __nonzero__(QTextFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +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; } + bool __ne__(QTextLength* theWrappedObject, const QTextLength& other) const; + void writeTo(QTextLength* theWrappedObject, QDataStream& arg__1); + bool __eq__(QTextLength* theWrappedObject, const QTextLength& other) const; + void readFrom(QTextLength* theWrappedObject, QDataStream& arg__1); + qreal rawValue(QTextLength* theWrappedObject) const; + QTextLength::Type type(QTextLength* theWrappedObject) const; + qreal value(QTextLength* theWrappedObject, qreal maximumLength) const; + QString py_toString(QTextLength*); +}; + + + + + +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(const QTransform& other); +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(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy); +void delete_QTransform(QTransform* obj) { delete obj; } + QTransform adjoint(QTransform* theWrappedObject) const; + qreal det(QTransform* theWrappedObject) const; + qreal determinant(QTransform* theWrappedObject) const; + qreal dx(QTransform* theWrappedObject) const; + qreal dy(QTransform* theWrappedObject) const; + QTransform static_QTransform_fromScale(qreal dx, qreal dy); + QTransform static_QTransform_fromTranslate(qreal dx, qreal dy); + QTransform inverted(QTransform* theWrappedObject, bool* invertible = nullptr) const; + bool isAffine(QTransform* theWrappedObject) const; + bool isIdentity(QTransform* theWrappedObject) const; + bool isInvertible(QTransform* theWrappedObject) const; + bool isRotating(QTransform* theWrappedObject) const; + bool isScaling(QTransform* theWrappedObject) const; + bool isTranslating(QTransform* theWrappedObject) const; + qreal m11(QTransform* theWrappedObject) const; + qreal m12(QTransform* theWrappedObject) const; + qreal m13(QTransform* theWrappedObject) const; + qreal m21(QTransform* theWrappedObject) const; + qreal m22(QTransform* theWrappedObject) const; + qreal m23(QTransform* theWrappedObject) const; + qreal m31(QTransform* theWrappedObject) const; + qreal m32(QTransform* theWrappedObject) const; + qreal m33(QTransform* theWrappedObject) const; + QLine map(QTransform* theWrappedObject, const QLine& l) const; + QLineF map(QTransform* theWrappedObject, const QLineF& l) const; + QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const; + QPoint map(QTransform* theWrappedObject, const QPoint& p) const; + QPointF map(QTransform* theWrappedObject, const QPointF& p) const; + QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const; + QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const; + QRegion map(QTransform* theWrappedObject, const QRegion& r) const; + QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const; + QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const; + QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const; + bool __ne__(QTransform* theWrappedObject, const QTransform& arg__1) const; + QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const; + QTransform __mul__(QTransform* theWrappedObject, qreal n); + QTransform* __imul__(QTransform* theWrappedObject, const QTransform& arg__1); + QTransform* __imul__(QTransform* theWrappedObject, qreal div); + QTransform __add__(QTransform* theWrappedObject, qreal n); + QTransform* __iadd__(QTransform* theWrappedObject, qreal div); + QTransform __sub__(QTransform* theWrappedObject, qreal n); + QTransform* __isub__(QTransform* theWrappedObject, qreal div); + QTransform __div__(QTransform* theWrappedObject, qreal n); + QTransform* __idiv__(QTransform* theWrappedObject, qreal div); + void writeTo(QTransform* theWrappedObject, QDataStream& arg__1); + bool __eq__(QTransform* theWrappedObject, const QTransform& arg__1) const; + void readFrom(QTransform* theWrappedObject, QDataStream& arg__1); + bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result); + bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result); + void reset(QTransform* theWrappedObject); + QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); + QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); + QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy); + void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); + QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv); + bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result); + const QMatrix* toAffine(QTransform* theWrappedObject) const; + QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy); + QTransform transposed(QTransform* theWrappedObject) const; + QTransform::TransformationType type(QTransform* theWrappedObject) const; + QString py_toString(QTransform*); +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp new file mode 100644 index 00000000..4e48e23b --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp @@ -0,0 +1,30 @@ +#include +#include +#include "com_trolltech_qt_gui_builtin0.h" + + +void PythonQt_init_QtGuiBuiltin(PyObject* module) { +PythonQt::priv()->registerCPPClass("QBitmap", "QPixmap", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QBrush", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QColor", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCursor", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QFont", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QIcon", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QImage", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::self()->addParentClass("QImage", "QPaintDevice",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QKeySequence", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMatrix", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QPalette", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPen", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QPixmap", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::self()->addParentClass("QPixmap", "QPaintDevice",PythonQtUpcastingOffset()); +PythonQt::priv()->registerCPPClass("QPolygon", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QRegion", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceXor|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_Xor); +PythonQt::priv()->registerCPPClass("QSizePolicy", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextLength", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); + + +} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp similarity index 62% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index bbe8f820..038a858c 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -3,29 +3,32 @@ #include #include #include -#include #include #include -#include #include #include -#include -#include -#include #include +#include #include #include #include #include #include #include -#include +#include #include #include +#include #include #include #include #include +#include +#include +#include +#include +#include +#include #include #include #include @@ -35,6 +38,50 @@ PythonQtShell_QAbstractAudioDeviceInfo::~PythonQtShell_QAbstractAudioDeviceInfo( PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QAbstractAudioDeviceInfo::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioDeviceInfo::childEvent(event0); +} +void PythonQtShell_QAbstractAudioDeviceInfo::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioDeviceInfo::customEvent(event0); +} QString PythonQtShell_QAbstractAudioDeviceInfo::deviceName() const { if (_wrapper) { @@ -46,19 +93,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -68,6 +115,72 @@ if (_wrapper) { } return QString(); } +bool PythonQtShell_QAbstractAudioDeviceInfo::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractAudioDeviceInfo::event(event0); +} +bool PythonQtShell_QAbstractAudioDeviceInfo::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractAudioDeviceInfo::eventFilter(watched0, event1); +} bool PythonQtShell_QAbstractAudioDeviceInfo::isFormatSupported(const QAudioFormat& format0) const { if (_wrapper) { @@ -79,19 +192,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -112,19 +225,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("preferredFormat", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -145,19 +258,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedByteOrders", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -178,19 +291,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedChannelCounts", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -211,19 +324,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -244,19 +357,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -277,19 +390,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleSizes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -310,19 +423,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleTypes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -332,6 +445,28 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QAbstractAudioDeviceInfo::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioDeviceInfo::timerEvent(event0); +} QAbstractAudioDeviceInfo* PythonQtWrapper_QAbstractAudioDeviceInfo::new_QAbstractAudioDeviceInfo() { return new PythonQtShell_QAbstractAudioDeviceInfo(); } @@ -411,19 +546,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -444,19 +579,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesReady", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -466,6 +601,50 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QAbstractAudioInput::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioInput::childEvent(event0); +} +void PythonQtShell_QAbstractAudioInput::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioInput::customEvent(event0); +} qint64 PythonQtShell_QAbstractAudioInput::elapsedUSecs() const { if (_wrapper) { @@ -477,19 +656,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -510,19 +689,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QAudio::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -532,6 +711,72 @@ if (_wrapper) { } return QAudio::Error(); } +bool PythonQtShell_QAbstractAudioInput::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractAudioInput::event(event0); +} +bool PythonQtShell_QAbstractAudioInput::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractAudioInput::eventFilter(watched0, event1); +} QAudioFormat PythonQtShell_QAbstractAudioInput::format() const { if (_wrapper) { @@ -543,19 +788,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -576,19 +821,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notifyInterval", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -609,19 +854,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("periodSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -642,19 +887,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -674,9 +919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -696,9 +941,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -718,9 +963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -740,9 +985,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fmt0}; + void* args[2] = {nullptr, (void*)&fmt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -762,9 +1007,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&milliSeconds0}; + void* args[2] = {nullptr, (void*)&milliSeconds0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -784,9 +1029,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -807,19 +1052,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -827,7 +1072,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QAbstractAudioInput::start(QIODevice* device0) { @@ -839,9 +1084,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -862,19 +1107,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudio::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -894,9 +1139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -916,9 +1161,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -927,6 +1172,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QAbstractAudioInput::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioInput::timerEvent(event0); } qreal PythonQtShell_QAbstractAudioInput::volume() const { @@ -939,19 +1206,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1095,19 +1362,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1128,19 +1395,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesFree", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1161,19 +1428,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("category", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1183,6 +1450,50 @@ if (_wrapper) { } return QAbstractAudioOutput::category(); } +void PythonQtShell_QAbstractAudioOutput::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioOutput::childEvent(event0); +} +void PythonQtShell_QAbstractAudioOutput::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioOutput::customEvent(event0); +} qint64 PythonQtShell_QAbstractAudioOutput::elapsedUSecs() const { if (_wrapper) { @@ -1194,19 +1505,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1227,19 +1538,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QAudio::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1249,30 +1560,30 @@ if (_wrapper) { } return QAudio::Error(); } -QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const +bool PythonQtShell_QAbstractAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("format"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QAudioFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAudioFormat returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QAudioFormat*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1280,32 +1591,32 @@ if (_wrapper) { } } } - return QAudioFormat(); + return QAbstractAudioOutput::event(event0); } -int PythonQtShell_QAbstractAudioOutput::notifyInterval() const +bool PythonQtShell_QAbstractAudioOutput::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("notifyInterval"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("notifyInterval", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1313,32 +1624,98 @@ if (_wrapper) { } } } - return int(); + return QAbstractAudioOutput::eventFilter(watched0, event1); } -int PythonQtShell_QAbstractAudioOutput::periodSize() const +QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("periodSize"); + static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QAudioFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("periodSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QAudioFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioFormat(); +} +int PythonQtShell_QAbstractAudioOutput::notifyInterval() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("notifyInterval"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("notifyInterval", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +int PythonQtShell_QAbstractAudioOutput::periodSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("periodSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("periodSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1359,19 +1736,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1391,9 +1768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1413,9 +1790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1435,9 +1812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1457,9 +1834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1479,9 +1856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fmt0}; + void* args[2] = {nullptr, (void*)&fmt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1501,9 +1878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&milliSeconds0}; + void* args[2] = {nullptr, (void*)&milliSeconds0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1523,9 +1900,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1546,19 +1923,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1566,7 +1943,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QAbstractAudioOutput::start(QIODevice* device0) { @@ -1578,9 +1955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1601,19 +1978,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudio::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1633,9 +2010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1655,9 +2032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1666,6 +2043,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QAbstractAudioOutput::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractAudioOutput::timerEvent(event0); } qreal PythonQtShell_QAbstractAudioOutput::volume() const { @@ -1678,19 +2077,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1844,19 +2243,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1877,19 +2276,19 @@ if (_wrapper) { static const char* argumentList[] ={"uchar*" , "QAbstractVideoBuffer::MapMode" , "int*" , "int*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); uchar* returnValue{}; - void* args[4] = {NULL, (void*)&mode0, (void*)&numBytes1, (void*)&bytesPerLine2}; + void* args[4] = {nullptr, (void*)&mode0, (void*)&numBytes1, (void*)&bytesPerLine2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("map", methodInfo, result); } else { returnValue = *((uchar**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1897,7 +2296,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() const { @@ -1910,19 +2309,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractVideoBuffer::MapMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractVideoBuffer::MapMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapMode", methodInfo, result); } else { returnValue = *((QAbstractVideoBuffer::MapMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1942,9 +2341,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1964,9 +2363,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2016,6 +2415,116 @@ PythonQtShell_QAbstractVideoSurface::~PythonQtShell_QAbstractVideoSurface() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QAbstractVideoSurface::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractVideoSurface::childEvent(event0); +} +void PythonQtShell_QAbstractVideoSurface::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractVideoSurface::customEvent(event0); +} +bool PythonQtShell_QAbstractVideoSurface::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractVideoSurface::event(event0); +} +bool PythonQtShell_QAbstractVideoSurface::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractVideoSurface::eventFilter(watched0, event1); +} bool PythonQtShell_QAbstractVideoSurface::isFormatSupported(const QVideoSurfaceFormat& format0) const { if (_wrapper) { @@ -2027,19 +2536,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2060,19 +2569,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVideoSurfaceFormat" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVideoSurfaceFormat returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nearestFormat", methodInfo, result); } else { returnValue = *((QVideoSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2093,19 +2602,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QVideoFrame&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&frame0}; + void* args[2] = {nullptr, (void*)&frame0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("present", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2126,19 +2635,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2158,9 +2667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2181,19 +2690,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QAbstractVideoBuffer::HandleType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&type0}; + void* args[2] = {nullptr, (void*)&type0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedPixelFormats", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2203,6 +2712,28 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QAbstractVideoSurface::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractVideoSurface::timerEvent(event0); +} QAbstractVideoSurface* PythonQtWrapper_QAbstractVideoSurface::new_QAbstractVideoSurface(QObject* parent) { return new PythonQtShell_QAbstractVideoSurface(parent); } @@ -2377,19 +2908,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2410,19 +2941,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2432,6 +2963,116 @@ if (_wrapper) { } return QAudioDecoder::bind(arg__1); } +void PythonQtShell_QAudioDecoder::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioDecoder::childEvent(event0); +} +void PythonQtShell_QAudioDecoder::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioDecoder::customEvent(event0); +} +bool PythonQtShell_QAudioDecoder::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoder::event(event0); +} +bool PythonQtShell_QAudioDecoder::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoder::eventFilter(watched0, event1); +} bool PythonQtShell_QAudioDecoder::isAvailable() const { if (_wrapper) { @@ -2443,19 +3084,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2476,19 +3117,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2498,19 +3139,19 @@ if (_wrapper) { } return QAudioDecoder::service(); } -void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) +void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unbind"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2518,10 +3159,32 @@ if (_wrapper) { } } } - QAudioDecoder::unbind(arg__1); + QAudioDecoder::timerEvent(event0); } -QAudioDecoder* PythonQtWrapper_QAudioDecoder::new_QAudioDecoder(QObject* parent) -{ +void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("unbind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioDecoder::unbind(arg__1); +} +QAudioDecoder* PythonQtWrapper_QAudioDecoder::new_QAudioDecoder(QObject* parent) +{ return new PythonQtShell_QAudioDecoder(parent); } const QMetaObject* PythonQtShell_QAudioDecoder::metaObject() const { @@ -2624,19 +3287,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioFormat", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2657,19 +3320,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2679,6 +3342,50 @@ if (_wrapper) { } return bool(); } +void PythonQtShell_QAudioDecoderControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioDecoderControl::childEvent(event0); +} +void PythonQtShell_QAudioDecoderControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioDecoderControl::customEvent(event0); +} qint64 PythonQtShell_QAudioDecoderControl::duration() const { if (_wrapper) { @@ -2690,19 +3397,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2712,6 +3419,72 @@ if (_wrapper) { } return qint64(); } +bool PythonQtShell_QAudioDecoderControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoderControl::event(event0); +} +bool PythonQtShell_QAudioDecoderControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioDecoderControl::eventFilter(watched0, event1); +} qint64 PythonQtShell_QAudioDecoderControl::position() const { if (_wrapper) { @@ -2723,19 +3496,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2756,19 +3529,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioBuffer"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioBuffer returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); } else { returnValue = *((QAudioBuffer*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2788,9 +3561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2810,9 +3583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2832,9 +3605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fileName0}; + void* args[2] = {nullptr, (void*)&fileName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2855,19 +3628,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sourceDevice", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2875,7 +3648,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QString PythonQtShell_QAudioDecoderControl::sourceFilename() const { @@ -2888,19 +3661,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sourceFilename", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2920,9 +3693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2943,19 +3716,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioDecoder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioDecoder::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudioDecoder::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2975,9 +3748,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2986,6 +3759,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QAudioDecoderControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioDecoderControl::timerEvent(event0); } QAudioDecoderControl* PythonQtWrapper_QAudioDecoderControl::new_QAudioDecoderControl(QObject* parent) { @@ -3296,19 +4091,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioEncoderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioEncoderSettings returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioSettings", methodInfo, result); } else { returnValue = *((QAudioEncoderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3318,6 +4113,28 @@ if (_wrapper) { } return QAudioEncoderSettings(); } +void PythonQtShell_QAudioEncoderSettingsControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioEncoderSettingsControl::childEvent(event0); +} QString PythonQtShell_QAudioEncoderSettingsControl::codecDescription(const QString& codecName0) const { if (_wrapper) { @@ -3329,19 +4146,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&codecName0}; + void* args[2] = {nullptr, (void*)&codecName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("codecDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3351,6 +4168,94 @@ if (_wrapper) { } return QString(); } +void PythonQtShell_QAudioEncoderSettingsControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioEncoderSettingsControl::customEvent(event0); +} +bool PythonQtShell_QAudioEncoderSettingsControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioEncoderSettingsControl::event(event0); +} +bool PythonQtShell_QAudioEncoderSettingsControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioEncoderSettingsControl::eventFilter(watched0, event1); +} void PythonQtShell_QAudioEncoderSettingsControl::setAudioSettings(const QAudioEncoderSettings& settings0) { if (_wrapper) { @@ -3361,9 +4266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioEncoderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3384,19 +4289,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3417,19 +4322,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QAudioEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3439,6 +4344,28 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QAudioEncoderSettingsControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioEncoderSettingsControl::timerEvent(event0); +} QAudioEncoderSettingsControl* PythonQtWrapper_QAudioEncoderSettingsControl::new_QAudioEncoderSettingsControl(QObject* parent) { return new PythonQtShell_QAudioEncoderSettingsControl(parent); } @@ -3619,38 +4546,170 @@ PythonQtShell_QAudioInput::~PythonQtShell_QAudioInput() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QAudioInput* PythonQtWrapper_QAudioInput::new_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format, QObject* parent) -{ -return new PythonQtShell_QAudioInput(audioDeviceInfo, format, parent); } - -QAudioInput* PythonQtWrapper_QAudioInput::new_QAudioInput(const QAudioFormat& format, QObject* parent) -{ -return new PythonQtShell_QAudioInput(format, parent); } - -const QMetaObject* PythonQtShell_QAudioInput::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioInput::staticMetaObject); - } else { - return &QAudioInput::staticMetaObject; - } -} -int PythonQtShell_QAudioInput::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QAudioInput::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QAudioInput::bufferSize(QAudioInput* theWrappedObject) const +void PythonQtShell_QAudioInput::childEvent(QChildEvent* event0) { - return ( theWrappedObject->bufferSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QAudioInput::bytesReady(QAudioInput* theWrappedObject) const -{ - return ( theWrappedObject->bytesReady()); + QAudioInput::childEvent(event0); } - -qint64 PythonQtWrapper_QAudioInput::elapsedUSecs(QAudioInput* theWrappedObject) const +void PythonQtShell_QAudioInput::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioInput::customEvent(event0); +} +bool PythonQtShell_QAudioInput::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioInput::event(event0); +} +bool PythonQtShell_QAudioInput::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioInput::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioInput::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioInput::timerEvent(event0); +} +QAudioInput* PythonQtWrapper_QAudioInput::new_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format, QObject* parent) +{ +return new PythonQtShell_QAudioInput(audioDeviceInfo, format, parent); } + +QAudioInput* PythonQtWrapper_QAudioInput::new_QAudioInput(const QAudioFormat& format, QObject* parent) +{ +return new PythonQtShell_QAudioInput(format, parent); } + +const QMetaObject* PythonQtShell_QAudioInput::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAudioInput::staticMetaObject); + } else { + return &QAudioInput::staticMetaObject; + } +} +int PythonQtShell_QAudioInput::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAudioInput::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QAudioInput::bufferSize(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->bufferSize()); +} + +int PythonQtWrapper_QAudioInput::bytesReady(QAudioInput* theWrappedObject) const +{ + return ( theWrappedObject->bytesReady()); +} + +qint64 PythonQtWrapper_QAudioInput::elapsedUSecs(QAudioInput* theWrappedObject) const { return ( theWrappedObject->elapsedUSecs()); } @@ -3752,19 +4811,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("activeInput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3785,19 +4844,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableInputs", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3807,6 +4866,50 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QAudioInputSelectorControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioInputSelectorControl::childEvent(event0); +} +void PythonQtShell_QAudioInputSelectorControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioInputSelectorControl::customEvent(event0); +} QString PythonQtShell_QAudioInputSelectorControl::defaultInput() const { if (_wrapper) { @@ -3818,19 +4921,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultInput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3840,6 +4943,72 @@ if (_wrapper) { } return QString(); } +bool PythonQtShell_QAudioInputSelectorControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioInputSelectorControl::event(event0); +} +bool PythonQtShell_QAudioInputSelectorControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioInputSelectorControl::eventFilter(watched0, event1); +} QString PythonQtShell_QAudioInputSelectorControl::inputDescription(const QString& name0) const { if (_wrapper) { @@ -3851,19 +5020,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3883,9 +5052,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3894,6 +5063,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QAudioInputSelectorControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioInputSelectorControl::timerEvent(event0); } QAudioInputSelectorControl* PythonQtWrapper_QAudioInputSelectorControl::new_QAudioInputSelectorControl(QObject* parent) { @@ -3931,12 +5122,144 @@ QString PythonQtWrapper_QAudioInputSelectorControl::inputDescription(QAudioInpu { return ( theWrappedObject->inputDescription(name)); } - - - -PythonQtShell_QAudioOutput::~PythonQtShell_QAudioOutput() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + + + +PythonQtShell_QAudioOutput::~PythonQtShell_QAudioOutput() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAudioOutput::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioOutput::childEvent(event0); +} +void PythonQtShell_QAudioOutput::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioOutput::customEvent(event0); +} +bool PythonQtShell_QAudioOutput::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioOutput::event(event0); +} +bool PythonQtShell_QAudioOutput::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioOutput::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioOutput::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioOutput::timerEvent(event0); } QAudioOutput* PythonQtWrapper_QAudioOutput::new_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format, QObject* parent) { @@ -4081,19 +5404,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("activeOutput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4114,19 +5437,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableOutputs", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4136,6 +5459,50 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QAudioOutputSelectorControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioOutputSelectorControl::childEvent(event0); +} +void PythonQtShell_QAudioOutputSelectorControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioOutputSelectorControl::customEvent(event0); +} QString PythonQtShell_QAudioOutputSelectorControl::defaultOutput() const { if (_wrapper) { @@ -4147,19 +5514,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultOutput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4169,6 +5536,72 @@ if (_wrapper) { } return QString(); } +bool PythonQtShell_QAudioOutputSelectorControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioOutputSelectorControl::event(event0); +} +bool PythonQtShell_QAudioOutputSelectorControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioOutputSelectorControl::eventFilter(watched0, event1); +} QString PythonQtShell_QAudioOutputSelectorControl::outputDescription(const QString& name0) const { if (_wrapper) { @@ -4180,19 +5613,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("outputDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4212,9 +5645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4223,6 +5656,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QAudioOutputSelectorControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioOutputSelectorControl::timerEvent(event0); } QAudioOutputSelectorControl* PythonQtWrapper_QAudioOutputSelectorControl::new_QAudioOutputSelectorControl(QObject* parent) { @@ -4267,6 +5722,138 @@ PythonQtShell_QAudioProbe::~PythonQtShell_QAudioProbe() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QAudioProbe::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioProbe::childEvent(event0); +} +void PythonQtShell_QAudioProbe::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioProbe::customEvent(event0); +} +bool PythonQtShell_QAudioProbe::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioProbe::event(event0); +} +bool PythonQtShell_QAudioProbe::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioProbe::eventFilter(watched0, event1); +} +void PythonQtShell_QAudioProbe::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioProbe::timerEvent(event0); +} QAudioProbe* PythonQtWrapper_QAudioProbe::new_QAudioProbe(QObject* parent) { return new PythonQtShell_QAudioProbe(parent); } @@ -4284,26 +5871,136 @@ int PythonQtShell_QAudioProbe::qt_metacall(QMetaObject::Call call, int id, void* int result = QAudioProbe::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -bool PythonQtWrapper_QAudioProbe::isActive(QAudioProbe* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); +bool PythonQtWrapper_QAudioProbe::isActive(QAudioProbe* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaObject* source) +{ + return ( theWrappedObject->setSource(source)); +} + +bool PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source) +{ + return ( theWrappedObject->setSource(source)); +} + + + +PythonQtShell_QAudioRecorder::~PythonQtShell_QAudioRecorder() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAudioRecorder::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioRecorder::childEvent(event0); +} +void PythonQtShell_QAudioRecorder::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioRecorder::customEvent(event0); } - -bool PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaObject* source) +bool PythonQtShell_QAudioRecorder::event(QEvent* event0) { - return ( theWrappedObject->setSource(source)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source) + return QAudioRecorder::event(event0); +} +bool PythonQtShell_QAudioRecorder::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->setSource(source)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QAudioRecorder::~PythonQtShell_QAudioRecorder() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QAudioRecorder::eventFilter(watched0, event1); } QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { @@ -4316,19 +6013,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4349,19 +6046,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4371,6 +6068,28 @@ if (_wrapper) { } return QAudioRecorder::setMediaObject(object0); } +void PythonQtShell_QAudioRecorder::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioRecorder::timerEvent(event0); +} QAudioRecorder* PythonQtWrapper_QAudioRecorder::new_QAudioRecorder(QObject* parent) { return new PythonQtShell_QAudioRecorder(parent); } @@ -4425,19 +6144,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::Role"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::Role returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioRole", methodInfo, result); } else { returnValue = *((QAudio::Role*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4447,6 +6166,116 @@ if (_wrapper) { } return QAudio::Role(); } +void PythonQtShell_QAudioRoleControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioRoleControl::childEvent(event0); +} +void PythonQtShell_QAudioRoleControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioRoleControl::customEvent(event0); +} +bool PythonQtShell_QAudioRoleControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioRoleControl::event(event0); +} +bool PythonQtShell_QAudioRoleControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAudioRoleControl::eventFilter(watched0, event1); +} void PythonQtShell_QAudioRoleControl::setAudioRole(QAudio::Role role0) { if (_wrapper) { @@ -4457,9 +6286,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAudio::Role"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&role0}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4480,19 +6309,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioRoles", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4502,6 +6331,28 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QAudioRoleControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAudioRoleControl::timerEvent(event0); +} QAudioRoleControl* PythonQtWrapper_QAudioRoleControl::new_QAudioRoleControl(QObject* parent) { return new PythonQtShell_QAudioRoleControl(parent); } @@ -4551,19 +6402,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4584,19 +6435,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QAbstractAudioDeviceInfo* returnValue{}; - void* args[3] = {NULL, (void*)&device0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&device0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); } else { returnValue = *((QAbstractAudioDeviceInfo**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4604,7 +6455,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioInput* PythonQtShell_QAudioSystemFactoryInterface::createInput(const QByteArray& device0) { @@ -4617,19 +6468,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioInput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); } else { returnValue = *((QAbstractAudioInput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4637,7 +6488,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioOutput* PythonQtShell_QAudioSystemFactoryInterface::createOutput(const QByteArray& device0) { @@ -4650,19 +6501,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioOutput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); } else { returnValue = *((QAbstractAudioOutput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4670,7 +6521,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAudioSystemFactoryInterface* PythonQtWrapper_QAudioSystemFactoryInterface::new_QAudioSystemFactoryInterface() { @@ -4713,19 +6564,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4746,19 +6597,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QAbstractAudioDeviceInfo* returnValue{}; - void* args[3] = {NULL, (void*)&device0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&device0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); } else { returnValue = *((QAbstractAudioDeviceInfo**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4766,7 +6617,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioInput* PythonQtShell_QAudioSystemPlugin::createInput(const QByteArray& device0) { @@ -4779,19 +6630,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioInput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); } else { returnValue = *((QAbstractAudioInput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4799,7 +6650,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioOutput* PythonQtShell_QAudioSystemPlugin::createOutput(const QByteArray& device0) { @@ -4812,19 +6663,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioOutput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); } else { returnValue = *((QAbstractAudioOutput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4832,7 +6683,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAudioSystemPlugin* PythonQtWrapper_QAudioSystemPlugin::new_QAudioSystemPlugin(QObject* parent) { @@ -4888,19 +6739,129 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::availability(); +} +bool PythonQtShell_QCamera::bind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCamera::bind(arg__1); +} +void PythonQtShell_QCamera::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCamera::childEvent(event0); +} +void PythonQtShell_QCamera::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCamera::customEvent(event0); +} +bool PythonQtShell_QCamera::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4908,32 +6869,32 @@ if (_wrapper) { } } } - return QCamera::availability(); + return QCamera::event(event0); } -bool PythonQtShell_QCamera::bind(QObject* arg__1) +bool PythonQtShell_QCamera::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bind"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4941,7 +6902,7 @@ if (_wrapper) { } } } - return QCamera::bind(arg__1); + return QCamera::eventFilter(watched0, event1); } bool PythonQtShell_QCamera::isAvailable() const { @@ -4954,19 +6915,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4987,19 +6948,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5009,6 +6970,28 @@ if (_wrapper) { } return QCamera::service(); } +void PythonQtShell_QCamera::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCamera::timerEvent(event0); +} void PythonQtShell_QCamera::unbind(QObject* arg__1) { if (_wrapper) { @@ -5019,9 +7002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5197,19 +7180,277 @@ if (_wrapper) { static const char* argumentList[] ={"QVideoFrame::PixelFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVideoFrame::PixelFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferFormat", methodInfo, result); } else { returnValue = *((QVideoFrame::PixelFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoFrame::PixelFormat(); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraCaptureBufferFormatControl::childEvent(event0); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraCaptureBufferFormatControl::customEvent(event0); +} +bool PythonQtShell_QCameraCaptureBufferFormatControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraCaptureBufferFormatControl::event(event0); +} +bool PythonQtShell_QCameraCaptureBufferFormatControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraCaptureBufferFormatControl::eventFilter(watched0, event1); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFrame::PixelFormat format0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBufferFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QVideoFrame::PixelFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&format0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QList PythonQtShell_QCameraCaptureBufferFormatControl::supportedBufferFormats() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedBufferFormats"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedBufferFormats", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QCameraCaptureBufferFormatControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraCaptureBufferFormatControl::timerEvent(event0); +} +QCameraCaptureBufferFormatControl* PythonQtWrapper_QCameraCaptureBufferFormatControl::new_QCameraCaptureBufferFormatControl(QObject* parent) +{ +return new PythonQtShell_QCameraCaptureBufferFormatControl(parent); } + +const QMetaObject* PythonQtShell_QCameraCaptureBufferFormatControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraCaptureBufferFormatControl::staticMetaObject); + } else { + return &QCameraCaptureBufferFormatControl::staticMetaObject; + } +} +int PythonQtShell_QCameraCaptureBufferFormatControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraCaptureBufferFormatControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QVideoFrame::PixelFormat PythonQtWrapper_QCameraCaptureBufferFormatControl::bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const +{ + return ( theWrappedObject->bufferFormat()); +} + +void PythonQtWrapper_QCameraCaptureBufferFormatControl::setBufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject, QVideoFrame::PixelFormat format) +{ + ( theWrappedObject->setBufferFormat(format)); +} + +QList PythonQtWrapper_QCameraCaptureBufferFormatControl::supportedBufferFormats(QCameraCaptureBufferFormatControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedBufferFormats()); +} + + + +PythonQtShell_QCameraCaptureDestinationControl::~PythonQtShell_QCameraCaptureDestinationControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QCameraImageCapture::CaptureDestinations PythonQtShell_QCameraCaptureDestinationControl::captureDestination() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("captureDestination"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QCameraImageCapture::CaptureDestinations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QCameraImageCapture::CaptureDestinations returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("captureDestination", methodInfo, result); + } else { + returnValue = *((QCameraImageCapture::CaptureDestinations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5217,21 +7458,43 @@ if (_wrapper) { } } } - return QVideoFrame::PixelFormat(); + return QCameraImageCapture::CaptureDestinations(); +} +void PythonQtShell_QCameraCaptureDestinationControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraCaptureDestinationControl::childEvent(event0); } -void PythonQtShell_QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFrame::PixelFormat format0) +void PythonQtShell_QCameraCaptureDestinationControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setBufferFormat"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QVideoFrame::PixelFormat"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5239,32 +7502,32 @@ if (_wrapper) { } } } - + QCameraCaptureDestinationControl::customEvent(event0); } -QList PythonQtShell_QCameraCaptureBufferFormatControl::supportedBufferFormats() const +bool PythonQtShell_QCameraCaptureDestinationControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedBufferFormats"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedBufferFormats", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5272,70 +7535,32 @@ if (_wrapper) { } } } - return QList(); -} -QCameraCaptureBufferFormatControl* PythonQtWrapper_QCameraCaptureBufferFormatControl::new_QCameraCaptureBufferFormatControl(QObject* parent) -{ -return new PythonQtShell_QCameraCaptureBufferFormatControl(parent); } - -const QMetaObject* PythonQtShell_QCameraCaptureBufferFormatControl::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraCaptureBufferFormatControl::staticMetaObject); - } else { - return &QCameraCaptureBufferFormatControl::staticMetaObject; - } -} -int PythonQtShell_QCameraCaptureBufferFormatControl::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCameraCaptureBufferFormatControl::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QVideoFrame::PixelFormat PythonQtWrapper_QCameraCaptureBufferFormatControl::bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const -{ - return ( theWrappedObject->bufferFormat()); -} - -void PythonQtWrapper_QCameraCaptureBufferFormatControl::setBufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject, QVideoFrame::PixelFormat format) -{ - ( theWrappedObject->setBufferFormat(format)); -} - -QList PythonQtWrapper_QCameraCaptureBufferFormatControl::supportedBufferFormats(QCameraCaptureBufferFormatControl* theWrappedObject) const -{ - return ( theWrappedObject->supportedBufferFormats()); -} - - - -PythonQtShell_QCameraCaptureDestinationControl::~PythonQtShell_QCameraCaptureDestinationControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QCameraCaptureDestinationControl::event(event0); } -QCameraImageCapture::CaptureDestinations PythonQtShell_QCameraCaptureDestinationControl::captureDestination() const +bool PythonQtShell_QCameraCaptureDestinationControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("captureDestination"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QCameraImageCapture::CaptureDestinations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCameraImageCapture::CaptureDestinations returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("captureDestination", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QCameraImageCapture::CaptureDestinations*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5343,7 +7568,7 @@ if (_wrapper) { } } } - return QCameraImageCapture::CaptureDestinations(); + return QCameraCaptureDestinationControl::eventFilter(watched0, event1); } bool PythonQtShell_QCameraCaptureDestinationControl::isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination0) const { @@ -5356,19 +7581,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraImageCapture::CaptureDestinations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&destination0}; + void* args[2] = {nullptr, (void*)&destination0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureDestinationSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5388,9 +7613,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageCapture::CaptureDestinations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&destination0}; + void* args[2] = {nullptr, (void*)&destination0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5399,6 +7624,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QCameraCaptureDestinationControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraCaptureDestinationControl::timerEvent(event0); } QCameraCaptureDestinationControl* PythonQtWrapper_QCameraCaptureDestinationControl::new_QCameraCaptureDestinationControl(QObject* parent) { @@ -5449,19 +7696,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraControl::PropertyChangeType" , "QCamera::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&changeType0, (void*)&status1}; + void* args[3] = {nullptr, (void*)&changeType0, (void*)&status1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canChangeProperty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5482,19 +7729,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCamera::CaptureModes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("captureMode", methodInfo, result); } else { returnValue = *((QCamera::CaptureModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5504,6 +7751,116 @@ if (_wrapper) { } return QCamera::CaptureModes(); } +void PythonQtShell_QCameraControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraControl::childEvent(event0); +} +void PythonQtShell_QCameraControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraControl::customEvent(event0); +} +bool PythonQtShell_QCameraControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraControl::event(event0); +} +bool PythonQtShell_QCameraControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraControl::eventFilter(watched0, event1); +} bool PythonQtShell_QCameraControl::isCaptureModeSupported(QCamera::CaptureModes mode0) const { if (_wrapper) { @@ -5515,19 +7872,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5547,9 +7904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5569,9 +7926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5592,19 +7949,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCamera::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QCamera::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5625,19 +7982,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCamera::Status returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); } else { returnValue = *((QCamera::Status*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5647,6 +8004,28 @@ if (_wrapper) { } return QCamera::Status(); } +void PythonQtShell_QCameraControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraControl::timerEvent(event0); +} QCameraControl* PythonQtWrapper_QCameraControl::new_QCameraControl(QObject* parent) { return new PythonQtShell_QCameraControl(parent); } @@ -5699,6 +8078,8 @@ QCamera::Status PythonQtWrapper_QCameraControl::status(QCameraControl* theWrapp return ( theWrappedObject->status()); } + + qreal PythonQtWrapper_QCameraExposure::aperture(QCameraExposure* theWrappedObject) const { return ( theWrappedObject->aperture()); @@ -5788,47 +8169,157 @@ QList PythonQtWrapper_QCameraExposure::supportedApertures(QCameraExposu { return ( theWrappedObject->supportedApertures(continuous)); } - -QList PythonQtWrapper_QCameraExposure::supportedIsoSensitivities(QCameraExposure* theWrappedObject, bool* continuous) const -{ - return ( theWrappedObject->supportedIsoSensitivities(continuous)); + +QList PythonQtWrapper_QCameraExposure::supportedIsoSensitivities(QCameraExposure* theWrappedObject, bool* continuous) const +{ + return ( theWrappedObject->supportedIsoSensitivities(continuous)); +} + +QList PythonQtWrapper_QCameraExposure::supportedShutterSpeeds(QCameraExposure* theWrappedObject, bool* continuous) const +{ + return ( theWrappedObject->supportedShutterSpeeds(continuous)); +} + + + +PythonQtShell_QCameraExposureControl::~PythonQtShell_QCameraExposureControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVariant PythonQtShell_QCameraExposureControl::actualValue(QCameraExposureControl::ExposureParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actualValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("actualValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +void PythonQtShell_QCameraExposureControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraExposureControl::childEvent(event0); +} +void PythonQtShell_QCameraExposureControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraExposureControl::customEvent(event0); } - -QList PythonQtWrapper_QCameraExposure::supportedShutterSpeeds(QCameraExposure* theWrappedObject, bool* continuous) const +bool PythonQtShell_QCameraExposureControl::event(QEvent* event0) { - return ( theWrappedObject->supportedShutterSpeeds(continuous)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QCameraExposureControl::~PythonQtShell_QCameraExposureControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QCameraExposureControl::event(event0); } -QVariant PythonQtShell_QCameraExposureControl::actualValue(QCameraExposureControl::ExposureParameter parameter0) const +bool PythonQtShell_QCameraExposureControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actualValue"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("actualValue", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5836,7 +8327,7 @@ if (_wrapper) { } } } - return QVariant(); + return QCameraExposureControl::eventFilter(watched0, event1); } bool PythonQtShell_QCameraExposureControl::isParameterSupported(QCameraExposureControl::ExposureParameter parameter0) const { @@ -5849,19 +8340,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5882,19 +8373,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedValue", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5915,19 +8406,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setValue", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5948,19 +8439,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QCameraExposureControl::ExposureParameter" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)¶meter0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedParameterRange", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5970,6 +8461,28 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QCameraExposureControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraExposureControl::timerEvent(event0); +} QCameraExposureControl* PythonQtWrapper_QCameraExposureControl::new_QCameraExposureControl(QObject* parent) { return new PythonQtShell_QCameraExposureControl(parent); } @@ -6012,10 +8525,122 @@ QList PythonQtWrapper_QCameraExposureControl::supportedParameterRang return ( theWrappedObject->supportedParameterRange(parameter, continuous)); } + + PythonQtShell_QCameraFeedbackControl::~PythonQtShell_QCameraFeedbackControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCameraFeedbackControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFeedbackControl::childEvent(event0); +} +void PythonQtShell_QCameraFeedbackControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFeedbackControl::customEvent(event0); +} +bool PythonQtShell_QCameraFeedbackControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFeedbackControl::event(event0); +} +bool PythonQtShell_QCameraFeedbackControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFeedbackControl::eventFilter(watched0, event1); +} bool PythonQtShell_QCameraFeedbackControl::isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const { if (_wrapper) { @@ -6027,19 +8652,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6060,19 +8685,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackLocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6092,9 +8717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6115,19 +8740,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (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); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6148,19 +8773,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&filePath1}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&filePath1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackSound", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6170,6 +8795,28 @@ if (_wrapper) { } return bool(); } +void PythonQtShell_QCameraFeedbackControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFeedbackControl::timerEvent(event0); +} QCameraFeedbackControl* PythonQtWrapper_QCameraFeedbackControl::new_QCameraFeedbackControl(QObject* parent) { return new PythonQtShell_QCameraFeedbackControl(parent); } @@ -6218,6 +8865,116 @@ PythonQtShell_QCameraFlashControl::~PythonQtShell_QCameraFlashControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCameraFlashControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFlashControl::childEvent(event0); +} +void PythonQtShell_QCameraFlashControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFlashControl::customEvent(event0); +} +bool PythonQtShell_QCameraFlashControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFlashControl::event(event0); +} +bool PythonQtShell_QCameraFlashControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFlashControl::eventFilter(watched0, event1); +} QCameraExposure::FlashModes PythonQtShell_QCameraFlashControl::flashMode() const { if (_wrapper) { @@ -6229,19 +8986,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraExposure::FlashModes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flashMode", methodInfo, result); } else { returnValue = *((QCameraExposure::FlashModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6262,19 +9019,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFlashModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6295,19 +9052,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFlashReady", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6327,9 +9084,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6338,6 +9095,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QCameraFlashControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFlashControl::timerEvent(event0); } QCameraFlashControl* PythonQtWrapper_QCameraFlashControl::new_QCameraFlashControl(QObject* parent) { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h similarity index 80% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h index 244693fe..3ca22c55 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -31,13 +32,20 @@ #include #include #include -#include +#include #include #include +#include #include #include #include #include +#include +#include +#include +#include +#include +#include #include #include #include @@ -48,23 +56,28 @@ class PythonQtShell_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo { public: - PythonQtShell_QAbstractAudioDeviceInfo():QAbstractAudioDeviceInfo(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioDeviceInfo(); - -virtual QString deviceName() const; -virtual bool isFormatSupported(const QAudioFormat& format) const; -virtual QAudioFormat preferredFormat() const; -virtual QList supportedByteOrders(); -virtual QList supportedChannelCounts(); -virtual QStringList supportedCodecs(); -virtual QList supportedSampleRates(); -virtual QList supportedSampleSizes(); -virtual QList supportedSampleTypes(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioDeviceInfo():QAbstractAudioDeviceInfo(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioDeviceInfo() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString deviceName() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isFormatSupported(const QAudioFormat& format) const override; +QAudioFormat preferredFormat() const override; +QList supportedByteOrders() override; +QList supportedChannelCounts() override; +QStringList supportedCodecs() override; +QList supportedSampleRates() override; +QList supportedSampleSizes() override; +QList supportedSampleTypes() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo @@ -85,7 +98,7 @@ class PythonQtWrapper_QAbstractAudioDeviceInfo : public QObject public: public slots: QAbstractAudioDeviceInfo* new_QAbstractAudioDeviceInfo(); -void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj; } +void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj; } QString deviceName(QAbstractAudioDeviceInfo* theWrappedObject) const; QString py_q_deviceName(QAbstractAudioDeviceInfo* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_deviceName());} bool isFormatSupported(QAbstractAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const; @@ -113,34 +126,39 @@ void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj class PythonQtShell_QAbstractAudioInput : public QAbstractAudioInput { public: - PythonQtShell_QAbstractAudioInput():QAbstractAudioInput(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioInput(); - -virtual int bufferSize() const; -virtual int bytesReady() const; -virtual qint64 elapsedUSecs() const; -virtual QAudio::Error error() const; -virtual QAudioFormat format() const; -virtual int notifyInterval() const; -virtual int periodSize() const; -virtual qint64 processedUSecs() const; -virtual void reset(); -virtual void resume(); -virtual void setBufferSize(int value); -virtual void setFormat(const QAudioFormat& fmt); -virtual void setNotifyInterval(int milliSeconds); -virtual void setVolume(qreal arg__1); -virtual QIODevice* start(); -virtual void start(QIODevice* device); -virtual QAudio::State state() const; -virtual void stop(); -virtual void suspend(); -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioInput():QAbstractAudioInput(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioInput() override; + +int bufferSize() const override; +int bytesReady() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 elapsedUSecs() const override; +QAudio::Error error() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QAudioFormat format() const override; +int notifyInterval() const override; +int periodSize() const override; +qint64 processedUSecs() const override; +void reset() override; +void resume() override; +void setBufferSize(int value) override; +void setFormat(const QAudioFormat& fmt) override; +void setNotifyInterval(int milliSeconds) override; +void setVolume(qreal arg__1) override; +QIODevice* start() override; +void start(QIODevice* device) override; +QAudio::State state() const override; +void stop() override; +void suspend() override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioInput : public QAbstractAudioInput @@ -172,7 +190,7 @@ class PythonQtWrapper_QAbstractAudioInput : public QObject public: public slots: QAbstractAudioInput* new_QAbstractAudioInput(); -void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } +void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } int bufferSize(QAbstractAudioInput* theWrappedObject) const; int py_q_bufferSize(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_bufferSize());} int bytesReady(QAbstractAudioInput* theWrappedObject) const; @@ -222,36 +240,41 @@ void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } class PythonQtShell_QAbstractAudioOutput : public QAbstractAudioOutput { public: - PythonQtShell_QAbstractAudioOutput():QAbstractAudioOutput(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioOutput(); - -virtual int bufferSize() const; -virtual int bytesFree() const; -virtual QString category() const; -virtual qint64 elapsedUSecs() const; -virtual QAudio::Error error() const; -virtual QAudioFormat format() const; -virtual int notifyInterval() const; -virtual int periodSize() const; -virtual qint64 processedUSecs() const; -virtual void reset(); -virtual void resume(); -virtual void setBufferSize(int value); -virtual void setCategory(const QString& arg__1); -virtual void setFormat(const QAudioFormat& fmt); -virtual void setNotifyInterval(int milliSeconds); -virtual void setVolume(qreal arg__1); -virtual QIODevice* start(); -virtual void start(QIODevice* device); -virtual QAudio::State state() const; -virtual void stop(); -virtual void suspend(); -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioOutput():QAbstractAudioOutput(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioOutput() override; + +int bufferSize() const override; +int bytesFree() const override; +QString category() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 elapsedUSecs() const override; +QAudio::Error error() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QAudioFormat format() const override; +int notifyInterval() const override; +int periodSize() const override; +qint64 processedUSecs() const override; +void reset() override; +void resume() override; +void setBufferSize(int value) override; +void setCategory(const QString& arg__1) override; +void setFormat(const QAudioFormat& fmt) override; +void setNotifyInterval(int milliSeconds) override; +void setVolume(qreal arg__1) override; +QIODevice* start() override; +void start(QIODevice* device) override; +QAudio::State state() const override; +void stop() override; +void suspend() override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioOutput : public QAbstractAudioOutput @@ -285,7 +308,7 @@ class PythonQtWrapper_QAbstractAudioOutput : public QObject public: public slots: QAbstractAudioOutput* new_QAbstractAudioOutput(); -void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } +void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } int bufferSize(QAbstractAudioOutput* theWrappedObject) const; int py_q_bufferSize(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_bufferSize());} int bytesFree(QAbstractAudioOutput* theWrappedObject) const; @@ -339,17 +362,17 @@ void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } class PythonQtShell_QAbstractVideoBuffer : public QAbstractVideoBuffer { public: - PythonQtShell_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type):QAbstractVideoBuffer(type),_wrapper(NULL) {}; + PythonQtShell_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type):QAbstractVideoBuffer(type),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractVideoBuffer(); + ~PythonQtShell_QAbstractVideoBuffer() override; -virtual QVariant handle() const; -virtual uchar* map(QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine); -virtual QAbstractVideoBuffer::MapMode mapMode() const; -virtual void release(); -virtual void unmap(); +QVariant handle() const override; +uchar* map(QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine) override; +QAbstractVideoBuffer::MapMode mapMode() const override; +void release() override; +void unmap() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoBuffer : public QAbstractVideoBuffer @@ -371,7 +394,7 @@ enum MapMode{ NotMapped = QAbstractVideoBuffer::NotMapped, ReadOnly = QAbstractVideoBuffer::ReadOnly, WriteOnly = QAbstractVideoBuffer::WriteOnly, ReadWrite = QAbstractVideoBuffer::ReadWrite}; public slots: QAbstractVideoBuffer* new_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type); -void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } +void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } QVariant handle(QAbstractVideoBuffer* theWrappedObject) const; QVariant py_q_handle(QAbstractVideoBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractVideoBuffer*)theWrappedObject)->py_q_handle());} QAbstractVideoBuffer::HandleType handleType(QAbstractVideoBuffer* theWrappedObject) const; @@ -392,20 +415,25 @@ void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } class PythonQtShell_QAbstractVideoSurface : public QAbstractVideoSurface { public: - PythonQtShell_QAbstractVideoSurface(QObject* parent = nullptr):QAbstractVideoSurface(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractVideoSurface(QObject* parent = nullptr):QAbstractVideoSurface(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractVideoSurface(); + ~PythonQtShell_QAbstractVideoSurface() override; -virtual bool isFormatSupported(const QVideoSurfaceFormat& format) const; -virtual QVideoSurfaceFormat nearestFormat(const QVideoSurfaceFormat& format) const; -virtual bool present(const QVideoFrame& frame); -virtual bool start(const QVideoSurfaceFormat& format); -virtual void stop(); -virtual QList supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isFormatSupported(const QVideoSurfaceFormat& format) const override; +QVideoSurfaceFormat nearestFormat(const QVideoSurfaceFormat& format) const override; +bool present(const QVideoFrame& frame) override; +bool start(const QVideoSurfaceFormat& format) override; +void stop() override; +QList supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoSurface : public QAbstractVideoSurface @@ -428,7 +456,7 @@ enum Error{ NoError = QAbstractVideoSurface::NoError, UnsupportedFormatError = QAbstractVideoSurface::UnsupportedFormatError, IncorrectFormatError = QAbstractVideoSurface::IncorrectFormatError, StoppedError = QAbstractVideoSurface::StoppedError, ResourceError = QAbstractVideoSurface::ResourceError}; public slots: QAbstractVideoSurface* new_QAbstractVideoSurface(QObject* parent = nullptr); -void delete_QAbstractVideoSurface(QAbstractVideoSurface* obj) { delete obj; } +void delete_QAbstractVideoSurface(QAbstractVideoSurface* obj) { delete obj; } QAbstractVideoSurface::Error error(QAbstractVideoSurface* theWrappedObject) const; bool isActive(QAbstractVideoSurface* theWrappedObject) const; bool isFormatSupported(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const; @@ -483,7 +511,7 @@ QAudioBuffer* new_QAudioBuffer(); QAudioBuffer* new_QAudioBuffer(const QAudioBuffer& other); QAudioBuffer* new_QAudioBuffer(const QByteArray& data, const QAudioFormat& format, qint64 startTime = -1); QAudioBuffer* new_QAudioBuffer(int numFrames, const QAudioFormat& format, qint64 startTime = -1); -void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } +void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } int byteCount(QAudioBuffer* theWrappedObject) const; const void* constData(QAudioBuffer* theWrappedObject) const; void* data(QAudioBuffer* theWrappedObject); @@ -505,19 +533,24 @@ void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } class PythonQtShell_QAudioDecoder : public QAudioDecoder { public: - PythonQtShell_QAudioDecoder(QObject* parent = nullptr):QAudioDecoder(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioDecoder(QObject* parent = nullptr):QAudioDecoder(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioDecoder(); + ~PythonQtShell_QAudioDecoder() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoder : public QAudioDecoder @@ -531,7 +564,7 @@ class PythonQtWrapper_QAudioDecoder : public QObject public: public slots: QAudioDecoder* new_QAudioDecoder(QObject* parent = nullptr); -void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } +void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } QAudioFormat audioFormat(QAudioDecoder* theWrappedObject) const; bool py_q_bind(QAudioDecoder* theWrappedObject, QObject* arg__1){ return (((PythonQtPublicPromoter_QAudioDecoder*)theWrappedObject)->py_q_bind(arg__1));} bool bufferAvailable(QAudioDecoder* theWrappedObject) const; @@ -557,27 +590,32 @@ void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } class PythonQtShell_QAudioDecoderControl : public QAudioDecoderControl { public: - PythonQtShell_QAudioDecoderControl(QObject* parent = nullptr):QAudioDecoderControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAudioDecoderControl(); - -virtual QAudioFormat audioFormat() const; -virtual bool bufferAvailable() const; -virtual qint64 duration() const; -virtual qint64 position() const; -virtual QAudioBuffer read(); -virtual void setAudioFormat(const QAudioFormat& format); -virtual void setSourceDevice(QIODevice* device); -virtual void setSourceFilename(const QString& fileName); -virtual QIODevice* sourceDevice() const; -virtual QString sourceFilename() const; -virtual void start(); -virtual QAudioDecoder::State state() const; -virtual void stop(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAudioDecoderControl(QObject* parent = nullptr):QAudioDecoderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioDecoderControl() override; + +QAudioFormat audioFormat() const override; +bool bufferAvailable() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qint64 position() const override; +QAudioBuffer read() override; +void setAudioFormat(const QAudioFormat& format) override; +void setSourceDevice(QIODevice* device) override; +void setSourceFilename(const QString& fileName) override; +QIODevice* sourceDevice() const override; +QString sourceFilename() const override; +void start() override; +QAudioDecoder::State state() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoderControl : public QAudioDecoderControl @@ -602,7 +640,7 @@ class PythonQtWrapper_QAudioDecoderControl : public QObject public: public slots: QAudioDecoderControl* new_QAudioDecoderControl(QObject* parent = nullptr); -void delete_QAudioDecoderControl(QAudioDecoderControl* obj) { delete obj; } +void delete_QAudioDecoderControl(QAudioDecoderControl* obj) { delete obj; } QAudioFormat audioFormat(QAudioDecoderControl* theWrappedObject) const; QAudioFormat py_q_audioFormat(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_audioFormat());} bool bufferAvailable(QAudioDecoderControl* theWrappedObject) const; @@ -641,7 +679,7 @@ class PythonQtWrapper_QAudioDeviceInfo : public QObject public slots: QAudioDeviceInfo* new_QAudioDeviceInfo(); QAudioDeviceInfo* new_QAudioDeviceInfo(const QAudioDeviceInfo& other); -void delete_QAudioDeviceInfo(QAudioDeviceInfo* obj) { delete obj; } +void delete_QAudioDeviceInfo(QAudioDeviceInfo* obj) { delete obj; } QList static_QAudioDeviceInfo_availableDevices(QAudio::Mode mode); QAudioDeviceInfo static_QAudioDeviceInfo_defaultInputDevice(); QAudioDeviceInfo static_QAudioDeviceInfo_defaultOutputDevice(); @@ -673,7 +711,7 @@ class PythonQtWrapper_QAudioEncoderSettings : public QObject public slots: QAudioEncoderSettings* new_QAudioEncoderSettings(); QAudioEncoderSettings* new_QAudioEncoderSettings(const QAudioEncoderSettings& other); -void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } +void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } int bitRate(QAudioEncoderSettings* theWrappedObject) const; int channelCount(QAudioEncoderSettings* theWrappedObject) const; QString codec(QAudioEncoderSettings* theWrappedObject) const; @@ -704,19 +742,24 @@ void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } class PythonQtShell_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl { public: - PythonQtShell_QAudioEncoderSettingsControl(QObject* parent = nullptr):QAudioEncoderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioEncoderSettingsControl(QObject* parent = nullptr):QAudioEncoderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioEncoderSettingsControl(); + ~PythonQtShell_QAudioEncoderSettingsControl() override; -virtual QAudioEncoderSettings audioSettings() const; -virtual QString codecDescription(const QString& codecName) const; -virtual void setAudioSettings(const QAudioEncoderSettings& settings); -virtual QStringList supportedAudioCodecs() const; -virtual QList supportedSampleRates(const QAudioEncoderSettings& settings, bool* continuous = nullptr) const; +QAudioEncoderSettings audioSettings() const override; +void childEvent(QChildEvent* event) override; +QString codecDescription(const QString& codecName) const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setAudioSettings(const QAudioEncoderSettings& settings) override; +QStringList supportedAudioCodecs() const override; +QList supportedSampleRates(const QAudioEncoderSettings& settings, bool* continuous = nullptr) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl @@ -733,7 +776,7 @@ class PythonQtWrapper_QAudioEncoderSettingsControl : public QObject public: public slots: QAudioEncoderSettingsControl* new_QAudioEncoderSettingsControl(QObject* parent = nullptr); -void delete_QAudioEncoderSettingsControl(QAudioEncoderSettingsControl* obj) { delete obj; } +void delete_QAudioEncoderSettingsControl(QAudioEncoderSettingsControl* obj) { delete obj; } QAudioEncoderSettings audioSettings(QAudioEncoderSettingsControl* theWrappedObject) const; QAudioEncoderSettings py_q_audioSettings(QAudioEncoderSettingsControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioEncoderSettingsControl*)theWrappedObject)->py_q_audioSettings());} QString codecDescription(QAudioEncoderSettingsControl* theWrappedObject, const QString& codecName) const; @@ -761,7 +804,7 @@ enum SampleType{ public slots: QAudioFormat* new_QAudioFormat(); QAudioFormat* new_QAudioFormat(const QAudioFormat& other); -void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } +void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } QAudioFormat::Endian byteOrder(QAudioFormat* theWrappedObject) const; int bytesForDuration(QAudioFormat* theWrappedObject, qint64 duration) const; int bytesForFrames(QAudioFormat* theWrappedObject, int frameCount) const; @@ -796,15 +839,20 @@ void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } class PythonQtShell_QAudioInput : public QAudioInput { public: - PythonQtShell_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(audioDeviceInfo, format, parent),_wrapper(NULL) {}; - PythonQtShell_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(format, parent),_wrapper(NULL) {}; + PythonQtShell_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(audioDeviceInfo, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioInput(); + ~PythonQtShell_QAudioInput() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioInput : public QObject @@ -813,7 +861,7 @@ class PythonQtWrapper_QAudioInput : public QObject public slots: QAudioInput* new_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); QAudioInput* new_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); -void delete_QAudioInput(QAudioInput* obj) { delete obj; } +void delete_QAudioInput(QAudioInput* obj) { delete obj; } int bufferSize(QAudioInput* theWrappedObject) const; int bytesReady(QAudioInput* theWrappedObject) const; qint64 elapsedUSecs(QAudioInput* theWrappedObject) const; @@ -842,19 +890,24 @@ void delete_QAudioInput(QAudioInput* obj) { delete obj; } class PythonQtShell_QAudioInputSelectorControl : public QAudioInputSelectorControl { public: - PythonQtShell_QAudioInputSelectorControl(QObject* parent = nullptr):QAudioInputSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioInputSelectorControl(QObject* parent = nullptr):QAudioInputSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioInputSelectorControl(); + ~PythonQtShell_QAudioInputSelectorControl() override; -virtual QString activeInput() const; -virtual QList availableInputs() const; -virtual QString defaultInput() const; -virtual QString inputDescription(const QString& name) const; -virtual void setActiveInput(const QString& name); +QString activeInput() const override; +QList availableInputs() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString defaultInput() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString inputDescription(const QString& name) const override; +void setActiveInput(const QString& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioInputSelectorControl : public QAudioInputSelectorControl @@ -871,7 +924,7 @@ class PythonQtWrapper_QAudioInputSelectorControl : public QObject public: public slots: QAudioInputSelectorControl* new_QAudioInputSelectorControl(QObject* parent = nullptr); -void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete obj; } +void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete obj; } QString activeInput(QAudioInputSelectorControl* theWrappedObject) const; QString py_q_activeInput(QAudioInputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioInputSelectorControl*)theWrappedObject)->py_q_activeInput());} QList availableInputs(QAudioInputSelectorControl* theWrappedObject) const; @@ -890,15 +943,20 @@ void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete class PythonQtShell_QAudioOutput : public QAudioOutput { public: - PythonQtShell_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(audioDeviceInfo, format, parent),_wrapper(NULL) {}; - PythonQtShell_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(format, parent),_wrapper(NULL) {}; + PythonQtShell_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(audioDeviceInfo, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioOutput(); + ~PythonQtShell_QAudioOutput() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioOutput : public QObject @@ -907,7 +965,7 @@ class PythonQtWrapper_QAudioOutput : public QObject public slots: QAudioOutput* new_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); QAudioOutput* new_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); -void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } +void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } int bufferSize(QAudioOutput* theWrappedObject) const; int bytesFree(QAudioOutput* theWrappedObject) const; QString category(QAudioOutput* theWrappedObject) const; @@ -938,19 +996,24 @@ void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } class PythonQtShell_QAudioOutputSelectorControl : public QAudioOutputSelectorControl { public: - PythonQtShell_QAudioOutputSelectorControl(QObject* parent = nullptr):QAudioOutputSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioOutputSelectorControl(QObject* parent = nullptr):QAudioOutputSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioOutputSelectorControl(); + ~PythonQtShell_QAudioOutputSelectorControl() override; -virtual QString activeOutput() const; -virtual QList availableOutputs() const; -virtual QString defaultOutput() const; -virtual QString outputDescription(const QString& name) const; -virtual void setActiveOutput(const QString& name); +QString activeOutput() const override; +QList availableOutputs() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString defaultOutput() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString outputDescription(const QString& name) const override; +void setActiveOutput(const QString& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioOutputSelectorControl : public QAudioOutputSelectorControl @@ -967,7 +1030,7 @@ class PythonQtWrapper_QAudioOutputSelectorControl : public QObject public: public slots: QAudioOutputSelectorControl* new_QAudioOutputSelectorControl(QObject* parent = nullptr); -void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { delete obj; } +void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { delete obj; } QString activeOutput(QAudioOutputSelectorControl* theWrappedObject) const; QString py_q_activeOutput(QAudioOutputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioOutputSelectorControl*)theWrappedObject)->py_q_activeOutput());} QList availableOutputs(QAudioOutputSelectorControl* theWrappedObject) const; @@ -986,14 +1049,19 @@ void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { dele class PythonQtShell_QAudioProbe : public QAudioProbe { public: - PythonQtShell_QAudioProbe(QObject* parent = nullptr):QAudioProbe(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioProbe(QObject* parent = nullptr):QAudioProbe(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioProbe(); + ~PythonQtShell_QAudioProbe() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioProbe : public QObject @@ -1001,7 +1069,7 @@ class PythonQtWrapper_QAudioProbe : public QObject public: public slots: QAudioProbe* new_QAudioProbe(QObject* parent = nullptr); -void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } +void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } bool isActive(QAudioProbe* theWrappedObject) const; bool setSource(QAudioProbe* theWrappedObject, QMediaObject* source); bool setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source); @@ -1014,16 +1082,21 @@ void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } class PythonQtShell_QAudioRecorder : public QAudioRecorder { public: - PythonQtShell_QAudioRecorder(QObject* parent = nullptr):QAudioRecorder(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioRecorder(QObject* parent = nullptr):QAudioRecorder(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioRecorder(); + ~PythonQtShell_QAudioRecorder() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioRecorder : public QObject @@ -1031,7 +1104,7 @@ class PythonQtWrapper_QAudioRecorder : public QObject public: public slots: QAudioRecorder* new_QAudioRecorder(QObject* parent = nullptr); -void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } +void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } QString audioInput(QAudioRecorder* theWrappedObject) const; QString audioInputDescription(QAudioRecorder* theWrappedObject, const QString& name) const; QStringList audioInputs(QAudioRecorder* theWrappedObject) const; @@ -1045,17 +1118,22 @@ void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } class PythonQtShell_QAudioRoleControl : public QAudioRoleControl { public: - PythonQtShell_QAudioRoleControl(QObject* parent = nullptr):QAudioRoleControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioRoleControl(QObject* parent = nullptr):QAudioRoleControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioRoleControl(); + ~PythonQtShell_QAudioRoleControl() override; -virtual QAudio::Role audioRole() const; -virtual void setAudioRole(QAudio::Role role); -virtual QList supportedAudioRoles() const; +QAudio::Role audioRole() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setAudioRole(QAudio::Role role) override; +QList supportedAudioRoles() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioRoleControl : public QAudioRoleControl @@ -1070,7 +1148,7 @@ class PythonQtWrapper_QAudioRoleControl : public QObject public: public slots: QAudioRoleControl* new_QAudioRoleControl(QObject* parent = nullptr); -void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } +void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } QAudio::Role audioRole(QAudioRoleControl* theWrappedObject) const; QAudio::Role py_q_audioRole(QAudioRoleControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioRoleControl*)theWrappedObject)->py_q_audioRole());} void setAudioRole(QAudioRoleControl* theWrappedObject, QAudio::Role role); @@ -1086,16 +1164,16 @@ void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } class PythonQtShell_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface { public: - PythonQtShell_QAudioSystemFactoryInterface():QAudioSystemFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QAudioSystemFactoryInterface():QAudioSystemFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioSystemFactoryInterface(); + ~PythonQtShell_QAudioSystemFactoryInterface() override; -virtual QList availableDevices(QAudio::Mode arg__1) const; -virtual QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode); -virtual QAbstractAudioInput* createInput(const QByteArray& device); -virtual QAbstractAudioOutput* createOutput(const QByteArray& device); +QList availableDevices(QAudio::Mode arg__1) const override; +QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode) override; +QAbstractAudioInput* createInput(const QByteArray& device) override; +QAbstractAudioOutput* createOutput(const QByteArray& device) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface @@ -1111,7 +1189,7 @@ class PythonQtWrapper_QAudioSystemFactoryInterface : public QObject public: public slots: QAudioSystemFactoryInterface* new_QAudioSystemFactoryInterface(); -void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { delete obj; } +void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { delete obj; } QList availableDevices(QAudioSystemFactoryInterface* theWrappedObject, QAudio::Mode arg__1) const; QList py_q_availableDevices(QAudioSystemFactoryInterface* theWrappedObject, QAudio::Mode arg__1) const{ return (((PythonQtPublicPromoter_QAudioSystemFactoryInterface*)theWrappedObject)->py_q_availableDevices(arg__1));} QAbstractAudioDeviceInfo* createDeviceInfo(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device, QAudio::Mode mode); @@ -1129,18 +1207,18 @@ void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { de class PythonQtShell_QAudioSystemPlugin : public QAudioSystemPlugin { public: - PythonQtShell_QAudioSystemPlugin(QObject* parent = nullptr):QAudioSystemPlugin(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioSystemPlugin(QObject* parent = nullptr):QAudioSystemPlugin(parent),_wrapper(nullptr) {}; ~PythonQtShell_QAudioSystemPlugin(); -virtual QList availableDevices(QAudio::Mode arg__1) const; -virtual QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode); -virtual QAbstractAudioInput* createInput(const QByteArray& device); -virtual QAbstractAudioOutput* createOutput(const QByteArray& device); +QList availableDevices(QAudio::Mode arg__1) const override; +QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode) override; +QAbstractAudioInput* createInput(const QByteArray& device) override; +QAbstractAudioOutput* createOutput(const QByteArray& device) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemPlugin : public QAudioSystemPlugin @@ -1156,7 +1234,7 @@ class PythonQtWrapper_QAudioSystemPlugin : public QObject public: public slots: QAudioSystemPlugin* new_QAudioSystemPlugin(QObject* parent = nullptr); -void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } +void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } QList availableDevices(QAudioSystemPlugin* theWrappedObject, QAudio::Mode arg__1) const; QList py_q_availableDevices(QAudioSystemPlugin* theWrappedObject, QAudio::Mode arg__1) const{ return (((PythonQtPublicPromoter_QAudioSystemPlugin*)theWrappedObject)->py_q_availableDevices(arg__1));} QAbstractAudioDeviceInfo* createDeviceInfo(QAudioSystemPlugin* theWrappedObject, const QByteArray& device, QAudio::Mode mode); @@ -1174,22 +1252,27 @@ void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } class PythonQtShell_QCamera : public QCamera { public: - PythonQtShell_QCamera(QCamera::Position position, QObject* parent = nullptr):QCamera(position, parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(QObject* parent = nullptr):QCamera(parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(const QByteArray& deviceName, QObject* parent = nullptr):QCamera(deviceName, parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr):QCamera(cameraInfo, parent),_wrapper(NULL) {}; + PythonQtShell_QCamera(QCamera::Position position, QObject* parent = nullptr):QCamera(position, parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(QObject* parent = nullptr):QCamera(parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(const QByteArray& deviceName, QObject* parent = nullptr):QCamera(deviceName, parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr):QCamera(cameraInfo, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCamera(); + ~PythonQtShell_QCamera() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCamera : public QCamera @@ -1213,7 +1296,7 @@ QCamera* new_QCamera(QCamera::Position position, QObject* parent = nullptr); QCamera* new_QCamera(QObject* parent = nullptr); QCamera* new_QCamera(const QByteArray& deviceName, QObject* parent = nullptr); QCamera* new_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr); -void delete_QCamera(QCamera* obj) { delete obj; } +void delete_QCamera(QCamera* obj) { delete obj; } QMultimedia::AvailabilityStatus py_q_availability(QCamera* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCamera*)theWrappedObject)->py_q_availability());} QList static_QCamera_availableDevices(); QCamera::CaptureModes captureMode(QCamera* theWrappedObject) const; @@ -1248,17 +1331,22 @@ void delete_QCamera(QCamera* obj) { delete obj; } class PythonQtShell_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl { public: - PythonQtShell_QCameraCaptureBufferFormatControl(QObject* parent = nullptr):QCameraCaptureBufferFormatControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraCaptureBufferFormatControl(QObject* parent = nullptr):QCameraCaptureBufferFormatControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraCaptureBufferFormatControl(); + ~PythonQtShell_QCameraCaptureBufferFormatControl() override; -virtual QVideoFrame::PixelFormat bufferFormat() const; -virtual void setBufferFormat(QVideoFrame::PixelFormat format); -virtual QList supportedBufferFormats() const; +QVideoFrame::PixelFormat bufferFormat() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setBufferFormat(QVideoFrame::PixelFormat format) override; +QList supportedBufferFormats() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl @@ -1273,7 +1361,7 @@ class PythonQtWrapper_QCameraCaptureBufferFormatControl : public QObject public: public slots: QCameraCaptureBufferFormatControl* new_QCameraCaptureBufferFormatControl(QObject* parent = nullptr); -void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* obj) { delete obj; } +void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* obj) { delete obj; } QVideoFrame::PixelFormat bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const; QVideoFrame::PixelFormat py_q_bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraCaptureBufferFormatControl*)theWrappedObject)->py_q_bufferFormat());} void setBufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject, QVideoFrame::PixelFormat format); @@ -1289,17 +1377,22 @@ void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* class PythonQtShell_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl { public: - PythonQtShell_QCameraCaptureDestinationControl(QObject* parent = nullptr):QCameraCaptureDestinationControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraCaptureDestinationControl(QObject* parent = nullptr):QCameraCaptureDestinationControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraCaptureDestinationControl(); + ~PythonQtShell_QCameraCaptureDestinationControl() override; -virtual QCameraImageCapture::CaptureDestinations captureDestination() const; -virtual bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const; -virtual void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination); +QCameraImageCapture::CaptureDestinations captureDestination() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const override; +void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl @@ -1314,7 +1407,7 @@ class PythonQtWrapper_QCameraCaptureDestinationControl : public QObject public: public slots: QCameraCaptureDestinationControl* new_QCameraCaptureDestinationControl(QObject* parent = nullptr); -void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* obj) { delete obj; } +void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* obj) { delete obj; } QCameraImageCapture::CaptureDestinations captureDestination(QCameraCaptureDestinationControl* theWrappedObject) const; QCameraImageCapture::CaptureDestinations py_q_captureDestination(QCameraCaptureDestinationControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraCaptureDestinationControl*)theWrappedObject)->py_q_captureDestination());} bool isCaptureDestinationSupported(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const; @@ -1330,21 +1423,26 @@ void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* o class PythonQtShell_QCameraControl : public QCameraControl { public: - PythonQtShell_QCameraControl(QObject* parent = nullptr):QCameraControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraControl(QObject* parent = nullptr):QCameraControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraControl(); + ~PythonQtShell_QCameraControl() override; -virtual bool canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const; -virtual QCamera::CaptureModes captureMode() const; -virtual bool isCaptureModeSupported(QCamera::CaptureModes mode) const; -virtual void setCaptureMode(QCamera::CaptureModes arg__1); -virtual void setState(QCamera::State state); -virtual QCamera::State state() const; -virtual QCamera::Status status() const; +bool canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const override; +QCamera::CaptureModes captureMode() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCaptureModeSupported(QCamera::CaptureModes mode) const override; +void setCaptureMode(QCamera::CaptureModes arg__1) override; +void setState(QCamera::State state) override; +QCamera::State state() const override; +QCamera::Status status() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraControl : public QCameraControl @@ -1366,7 +1464,7 @@ enum PropertyChangeType{ CaptureMode = QCameraControl::CaptureMode, ImageEncodingSettings = QCameraControl::ImageEncodingSettings, VideoEncodingSettings = QCameraControl::VideoEncodingSettings, Viewfinder = QCameraControl::Viewfinder, ViewfinderSettings = QCameraControl::ViewfinderSettings}; public slots: QCameraControl* new_QCameraControl(QObject* parent = nullptr); -void delete_QCameraControl(QCameraControl* obj) { delete obj; } +void delete_QCameraControl(QCameraControl* obj) { delete obj; } bool canChangeProperty(QCameraControl* theWrappedObject, QCameraControl::PropertyChangeType changeType, QCamera::Status status) const; bool py_q_canChangeProperty(QCameraControl* theWrappedObject, QCameraControl::PropertyChangeType changeType, QCamera::Status status) const{ return (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_canChangeProperty(changeType, status));} QCamera::CaptureModes captureMode(QCameraControl* theWrappedObject) const; @@ -1384,6 +1482,9 @@ void delete_QCameraControl(QCameraControl* obj) { delete obj; } }; + + + class PythonQtWrapper_QCameraExposure : public QObject { Q_OBJECT public: @@ -1422,19 +1523,24 @@ public slots: class PythonQtShell_QCameraExposureControl : public QCameraExposureControl { public: - PythonQtShell_QCameraExposureControl(QObject* parent = nullptr):QCameraExposureControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraExposureControl(QObject* parent = nullptr):QCameraExposureControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraExposureControl(); + ~PythonQtShell_QCameraExposureControl() override; -virtual QVariant actualValue(QCameraExposureControl::ExposureParameter parameter) const; -virtual bool isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const; -virtual QVariant requestedValue(QCameraExposureControl::ExposureParameter parameter) const; -virtual bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant& value); -virtual QList supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool* continuous) const; +QVariant actualValue(QCameraExposureControl::ExposureParameter parameter) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const override; +QVariant requestedValue(QCameraExposureControl::ExposureParameter parameter) const override; +bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant& value) override; +QList supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool* continuous) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraExposureControl : public QCameraExposureControl @@ -1451,7 +1557,7 @@ class PythonQtWrapper_QCameraExposureControl : public QObject public: public slots: QCameraExposureControl* new_QCameraExposureControl(QObject* parent = nullptr); -void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } +void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } QVariant actualValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const; QVariant py_q_actualValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_actualValue(parameter));} bool isParameterSupported(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const; @@ -1464,22 +1570,31 @@ void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } QList py_q_supportedParameterRange(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter, bool* continuous) const{ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_supportedParameterRange(parameter, continuous));} }; + + + + class PythonQtShell_QCameraFeedbackControl : public QCameraFeedbackControl { public: - PythonQtShell_QCameraFeedbackControl(QObject* parent = nullptr):QCameraFeedbackControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraFeedbackControl(QObject* parent = nullptr):QCameraFeedbackControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraFeedbackControl(); + ~PythonQtShell_QCameraFeedbackControl() override; -virtual bool isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const; -virtual bool isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const; -virtual void resetEventFeedback(QCameraFeedbackControl::EventType arg__1); -virtual bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2); -virtual bool setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const override; +bool isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const override; +void resetEventFeedback(QCameraFeedbackControl::EventType arg__1) override; +bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2) override; +bool setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFeedbackControl : public QCameraFeedbackControl @@ -1499,7 +1614,7 @@ enum EventType{ ViewfinderStarted = QCameraFeedbackControl::ViewfinderStarted, ViewfinderStopped = QCameraFeedbackControl::ViewfinderStopped, ImageCaptured = QCameraFeedbackControl::ImageCaptured, ImageSaved = QCameraFeedbackControl::ImageSaved, ImageError = QCameraFeedbackControl::ImageError, RecordingStarted = QCameraFeedbackControl::RecordingStarted, RecordingInProgress = QCameraFeedbackControl::RecordingInProgress, RecordingStopped = QCameraFeedbackControl::RecordingStopped, AutoFocusInProgress = QCameraFeedbackControl::AutoFocusInProgress, AutoFocusLocked = QCameraFeedbackControl::AutoFocusLocked, AutoFocusFailed = QCameraFeedbackControl::AutoFocusFailed}; public slots: QCameraFeedbackControl* new_QCameraFeedbackControl(QObject* parent = nullptr); -void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } +void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } bool isEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const; bool py_q_isEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const{ return (((PythonQtPublicPromoter_QCameraFeedbackControl*)theWrappedObject)->py_q_isEventFeedbackEnabled(arg__1));} bool isEventFeedbackLocked(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const; @@ -1519,18 +1634,23 @@ void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } class PythonQtShell_QCameraFlashControl : public QCameraFlashControl { public: - PythonQtShell_QCameraFlashControl(QObject* parent = nullptr):QCameraFlashControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraFlashControl(QObject* parent = nullptr):QCameraFlashControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraFlashControl(); + ~PythonQtShell_QCameraFlashControl() override; -virtual QCameraExposure::FlashModes flashMode() const; -virtual bool isFlashModeSupported(QCameraExposure::FlashModes mode) const; -virtual bool isFlashReady() const; -virtual void setFlashMode(QCameraExposure::FlashModes mode); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCameraExposure::FlashModes flashMode() const override; +bool isFlashModeSupported(QCameraExposure::FlashModes mode) const override; +bool isFlashReady() const override; +void setFlashMode(QCameraExposure::FlashModes mode) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFlashControl : public QCameraFlashControl @@ -1546,7 +1666,7 @@ class PythonQtWrapper_QCameraFlashControl : public QObject public: public slots: QCameraFlashControl* new_QCameraFlashControl(QObject* parent = nullptr); -void delete_QCameraFlashControl(QCameraFlashControl* obj) { delete obj; } +void delete_QCameraFlashControl(QCameraFlashControl* obj) { delete obj; } QCameraExposure::FlashModes flashMode(QCameraFlashControl* theWrappedObject) const; QCameraExposure::FlashModes py_q_flashMode(QCameraFlashControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFlashControl*)theWrappedObject)->py_q_flashMode());} bool isFlashModeSupported(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp similarity index 55% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index 6e7331e1..c8cae632 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -8,44 +8,69 @@ #include #include #include +#include #include #include -#include -#include #include -#include #include #include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include +#include +#include #include #include +#include +#include +#include +#include #include #include #include #include -#include #include #include #include #include +#include +#include +#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include +#include #include #include +#include +#include #include +#include #include #include #include #include - QPointF PythonQtWrapper_QCameraFocus::customFocusPoint(QCameraFocus* theWrappedObject) const { return ( theWrappedObject->customFocusPoint()); @@ -122,10 +147,55 @@ void PythonQtWrapper_QCameraFocus::zoomTo(QCameraFocus* theWrappedObject, qreal } + PythonQtShell_QCameraFocusControl::~PythonQtShell_QCameraFocusControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCameraFocusControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFocusControl::childEvent(event0); +} +void PythonQtShell_QCameraFocusControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFocusControl::customEvent(event0); +} QPointF PythonQtShell_QCameraFocusControl::customFocusPoint() const { if (_wrapper) { @@ -137,19 +207,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPointF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPointF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("customFocusPoint", methodInfo, result); } else { returnValue = *((QPointF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -159,6 +229,72 @@ if (_wrapper) { } return QPointF(); } +bool PythonQtShell_QCameraFocusControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFocusControl::event(event0); +} +bool PythonQtShell_QCameraFocusControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraFocusControl::eventFilter(watched0, event1); +} QCameraFocus::FocusModes PythonQtShell_QCameraFocusControl::focusMode() const { if (_wrapper) { @@ -170,19 +306,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraFocus::FocusModes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusMode", methodInfo, result); } else { returnValue = *((QCameraFocus::FocusModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -203,19 +339,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraFocus::FocusPointMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusPointMode", methodInfo, result); } else { returnValue = *((QCameraFocus::FocusPointMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -236,19 +372,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusZones", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -269,19 +405,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFocusModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -302,19 +438,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFocusPointModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -334,9 +470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -356,9 +492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -378,9 +514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -389,6 +525,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QCameraFocusControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraFocusControl::timerEvent(event0); } QCameraFocusControl* PythonQtWrapper_QCameraFocusControl::new_QCameraFocusControl(QObject* parent) { @@ -507,6 +665,116 @@ PythonQtShell_QCameraImageCapture::~PythonQtShell_QCameraImageCapture() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCameraImageCapture::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageCapture::childEvent(event0); +} +void PythonQtShell_QCameraImageCapture::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageCapture::customEvent(event0); +} +bool PythonQtShell_QCameraImageCapture::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageCapture::event(event0); +} +bool PythonQtShell_QCameraImageCapture::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageCapture::eventFilter(watched0, event1); +} QMediaObject* PythonQtShell_QCameraImageCapture::mediaObject() const { if (_wrapper) { @@ -518,19 +786,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -551,19 +819,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -573,6 +841,28 @@ if (_wrapper) { } return QCameraImageCapture::setMediaObject(arg__1); } +void PythonQtShell_QCameraImageCapture::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageCapture::timerEvent(event0); +} QCameraImageCapture* PythonQtWrapper_QCameraImageCapture::new_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent) { return new PythonQtShell_QCameraImageCapture(mediaObject, parent); } @@ -640,11 +930,6 @@ bool PythonQtWrapper_QCameraImageCapture::isReadyForCapture(QCameraImageCapture return ( theWrappedObject->isReadyForCapture()); } -QMediaObject* PythonQtWrapper_QCameraImageCapture::mediaObject(QCameraImageCapture* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - void PythonQtWrapper_QCameraImageCapture::setBufferFormat(QCameraImageCapture* theWrappedObject, const QVideoFrame::PixelFormat format) { ( theWrappedObject->setBufferFormat(format)); @@ -660,11 +945,6 @@ void PythonQtWrapper_QCameraImageCapture::setEncodingSettings(QCameraImageCaptur ( theWrappedObject->setEncodingSettings(settings)); } -bool PythonQtWrapper_QCameraImageCapture::setMediaObject(QCameraImageCapture* theWrappedObject, QMediaObject* arg__1) -{ - return ( ((PythonQtPublicPromoter_QCameraImageCapture*)theWrappedObject)->promoted_setMediaObject(arg__1)); -} - QList PythonQtWrapper_QCameraImageCapture::supportedBufferFormats(QCameraImageCapture* theWrappedObject) const { return ( theWrappedObject->supportedBufferFormats()); @@ -696,9 +976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -719,19 +999,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&fileName0}; + void* args[2] = {nullptr, (void*)&fileName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("capture", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -741,6 +1021,50 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QCameraImageCaptureControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageCaptureControl::childEvent(event0); +} +void PythonQtShell_QCameraImageCaptureControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageCaptureControl::customEvent(event0); +} QCameraImageCapture::DriveMode PythonQtShell_QCameraImageCaptureControl::driveMode() const { if (_wrapper) { @@ -752,19 +1076,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraImageCapture::DriveMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraImageCapture::DriveMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("driveMode", methodInfo, result); } else { returnValue = *((QCameraImageCapture::DriveMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -774,30 +1098,30 @@ if (_wrapper) { } return QCameraImageCapture::DriveMode(); } -bool PythonQtShell_QCameraImageCaptureControl::isReadyForCapture() const +bool PythonQtShell_QCameraImageCaptureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isReadyForCapture"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isReadyForCapture", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -805,7 +1129,73 @@ if (_wrapper) { } } } - return bool(); + return QCameraImageCaptureControl::event(event0); +} +bool PythonQtShell_QCameraImageCaptureControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageCaptureControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraImageCaptureControl::isReadyForCapture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isReadyForCapture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isReadyForCapture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); } void PythonQtShell_QCameraImageCaptureControl::setDriveMode(QCameraImageCapture::DriveMode mode0) { @@ -817,9 +1207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageCapture::DriveMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -828,6 +1218,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QCameraImageCaptureControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageCaptureControl::timerEvent(event0); } QCameraImageCaptureControl* PythonQtWrapper_QCameraImageCaptureControl::new_QCameraImageCaptureControl(QObject* parent) { @@ -872,6 +1284,7 @@ void PythonQtWrapper_QCameraImageCaptureControl::setDriveMode(QCameraImageCaptur } + qreal PythonQtWrapper_QCameraImageProcessing::brightness(QCameraImageProcessing* theWrappedObject) const { return ( theWrappedObject->brightness()); @@ -968,10 +1381,121 @@ QCameraImageProcessing::WhiteBalanceMode PythonQtWrapper_QCameraImageProcessing } + PythonQtShell_QCameraImageProcessingControl::~PythonQtShell_QCameraImageProcessingControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCameraImageProcessingControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageProcessingControl::childEvent(event0); +} +void PythonQtShell_QCameraImageProcessingControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageProcessingControl::customEvent(event0); +} +bool PythonQtShell_QCameraImageProcessingControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageProcessingControl::event(event0); +} +bool PythonQtShell_QCameraImageProcessingControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraImageProcessingControl::eventFilter(watched0, event1); +} bool PythonQtShell_QCameraImageProcessingControl::isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const { if (_wrapper) { @@ -983,19 +1507,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1016,19 +1540,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterValueSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1049,19 +1573,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QCameraImageProcessingControl::ProcessingParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parameter", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1081,9 +1605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1092,6 +1616,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QCameraImageProcessingControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraImageProcessingControl::timerEvent(event0); } QCameraImageProcessingControl* PythonQtWrapper_QCameraImageProcessingControl::new_QCameraImageProcessingControl(QObject* parent) { @@ -1218,19 +1764,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&deviceName0}; + void* args[2] = {nullptr, (void*)&deviceName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1251,19 +1797,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::Position" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QCamera::Position returnValue{}; - void* args[2] = {NULL, (void*)&deviceName0}; + void* args[2] = {nullptr, (void*)&deviceName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); } else { returnValue = *((QCamera::Position*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1273,85 +1819,41 @@ if (_wrapper) { } return QCamera::Position(); } -QCameraInfoControl* PythonQtWrapper_QCameraInfoControl::new_QCameraInfoControl(QObject* parent) -{ -return new PythonQtShell_QCameraInfoControl(parent); } - -const QMetaObject* PythonQtShell_QCameraInfoControl::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraInfoControl::staticMetaObject); - } else { - return &QCameraInfoControl::staticMetaObject; - } -} -int PythonQtShell_QCameraInfoControl::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCameraInfoControl::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QCameraInfoControl::cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const -{ - return ( theWrappedObject->cameraOrientation(deviceName)); -} - -QCamera::Position PythonQtWrapper_QCameraInfoControl::cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const -{ - return ( theWrappedObject->cameraPosition(deviceName)); -} - - - -PythonQtShell_QCameraLocksControl::~PythonQtShell_QCameraLocksControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QCamera::LockStatus PythonQtShell_QCameraLocksControl::lockStatus(QCamera::LockType lock0) const +void PythonQtShell_QCameraInfoControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("lockStatus"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QCamera::LockStatus" , "QCamera::LockType"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QCamera::LockStatus returnValue{}; - void* args[2] = {NULL, (void*)&lock0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lockStatus", methodInfo, result); - } else { - returnValue = *((QCamera::LockStatus*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCamera::LockStatus(); + QCameraInfoControl::childEvent(event0); } -void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0) +void PythonQtShell_QCameraInfoControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("searchAndLock"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCamera::LockTypes"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locks0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1359,32 +1861,32 @@ if (_wrapper) { } } } - + QCameraInfoControl::customEvent(event0); } -QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const +bool PythonQtShell_QCameraInfoControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedLocks"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QCamera::LockTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QCamera::LockTypes returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedLocks", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QCamera::LockTypes*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1392,86 +1894,109 @@ if (_wrapper) { } } } - return QCamera::LockTypes(); + return QCameraInfoControl::event(event0); } -void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) +bool PythonQtShell_QCameraInfoControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unlock"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCamera::LockTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locks0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - + return QCameraInfoControl::eventFilter(watched0, event1); } -QCameraLocksControl* PythonQtWrapper_QCameraLocksControl::new_QCameraLocksControl(QObject* parent) +void PythonQtShell_QCameraInfoControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraInfoControl::timerEvent(event0); +} +QCameraInfoControl* PythonQtWrapper_QCameraInfoControl::new_QCameraInfoControl(QObject* parent) { -return new PythonQtShell_QCameraLocksControl(parent); } +return new PythonQtShell_QCameraInfoControl(parent); } -const QMetaObject* PythonQtShell_QCameraLocksControl::metaObject() const { +const QMetaObject* PythonQtShell_QCameraInfoControl::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraLocksControl::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraInfoControl::staticMetaObject); } else { - return &QCameraLocksControl::staticMetaObject; + return &QCameraInfoControl::staticMetaObject; } } -int PythonQtShell_QCameraLocksControl::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCameraLocksControl::qt_metacall(call, id, args); +int PythonQtShell_QCameraInfoControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraInfoControl::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QCamera::LockStatus PythonQtWrapper_QCameraLocksControl::lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const -{ - return ( theWrappedObject->lockStatus(lock)); -} - -void PythonQtWrapper_QCameraLocksControl::searchAndLock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks) -{ - ( theWrappedObject->searchAndLock(locks)); -} - -QCamera::LockTypes PythonQtWrapper_QCameraLocksControl::supportedLocks(QCameraLocksControl* theWrappedObject) const +int PythonQtWrapper_QCameraInfoControl::cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const { - return ( theWrappedObject->supportedLocks()); + return ( theWrappedObject->cameraOrientation(deviceName)); } -void PythonQtWrapper_QCameraLocksControl::unlock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks) +QCamera::Position PythonQtWrapper_QCameraInfoControl::cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const { - ( theWrappedObject->unlock(locks)); + return ( theWrappedObject->cameraPosition(deviceName)); } -PythonQtShell_QCameraViewfinder::~PythonQtShell_QCameraViewfinder() { +PythonQtShell_QCameraLocksControl::~PythonQtShell_QCameraLocksControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* event0) +void PythonQtShell_QCameraLocksControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1479,21 +2004,21 @@ if (_wrapper) { } } } - QCameraViewfinder::actionEvent(event0); + QCameraLocksControl::childEvent(event0); } -void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) +void PythonQtShell_QCameraLocksControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1501,76 +2026,98 @@ if (_wrapper) { } } } - QCameraViewfinder::changeEvent(arg__1); + QCameraLocksControl::customEvent(event0); } -void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QCameraLocksControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::closeEvent(event0); + return QCameraLocksControl::event(event0); } -void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* event0) +bool PythonQtShell_QCameraLocksControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::contextMenuEvent(event0); + return QCameraLocksControl::eventFilter(watched0, event1); } -int PythonQtShell_QCameraViewfinder::devType() const +QCamera::LockStatus PythonQtShell_QCameraLocksControl::lockStatus(QCamera::LockType lock0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("lockStatus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QCamera::LockStatus" , "QCamera::LockType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QCamera::LockStatus returnValue{}; + void* args[2] = {nullptr, (void*)&lock0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lockStatus", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QCamera::LockStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1578,21 +2125,21 @@ if (_wrapper) { } } } - return QCameraViewfinder::devType(); + return QCamera::LockStatus(); } -void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("searchAndLock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QCamera::LockTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&locks0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1600,43 +2147,54 @@ if (_wrapper) { } } } - QCameraViewfinder::dragEnterEvent(event0); + } -void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* event0) +QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("supportedLocks"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QCamera::LockTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QCamera::LockTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedLocks", methodInfo, result); + } else { + returnValue = *((QCamera::LockTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::dragLeaveEvent(event0); + return QCamera::LockTypes(); } -void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QCameraLocksControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1644,21 +2202,21 @@ if (_wrapper) { } } } - QCameraViewfinder::dragMoveEvent(event0); + QCameraLocksControl::timerEvent(event0); } -void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* event0) +void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("unlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QCamera::LockTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&locks0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1666,21 +2224,64 @@ if (_wrapper) { } } } - QCameraViewfinder::dropEvent(event0); + } -void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) +QCameraLocksControl* PythonQtWrapper_QCameraLocksControl::new_QCameraLocksControl(QObject* parent) +{ +return new PythonQtShell_QCameraLocksControl(parent); } + +const QMetaObject* PythonQtShell_QCameraLocksControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraLocksControl::staticMetaObject); + } else { + return &QCameraLocksControl::staticMetaObject; + } +} +int PythonQtShell_QCameraLocksControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraLocksControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QCamera::LockStatus PythonQtWrapper_QCameraLocksControl::lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const +{ + return ( theWrappedObject->lockStatus(lock)); +} + +void PythonQtWrapper_QCameraLocksControl::searchAndLock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks) +{ + ( theWrappedObject->searchAndLock(locks)); +} + +QCamera::LockTypes PythonQtWrapper_QCameraLocksControl::supportedLocks(QCameraLocksControl* theWrappedObject) const +{ + return ( theWrappedObject->supportedLocks()); +} + +void PythonQtWrapper_QCameraLocksControl::unlock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks) +{ + ( theWrappedObject->unlock(locks)); +} + + + +PythonQtShell_QCameraViewfinder::~PythonQtShell_QCameraViewfinder() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1688,54 +2289,43 @@ if (_wrapper) { } } } - QCameraViewfinder::enterEvent(event0); + QCameraViewfinder::actionEvent(event0); } -bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) +void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::event(event0); + QCameraViewfinder::changeEvent(arg__1); } -void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1743,54 +2333,43 @@ if (_wrapper) { } } } - QCameraViewfinder::focusInEvent(event0); + QCameraViewfinder::childEvent(event0); } -bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) +void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::focusNextPrevChild(next0); + QCameraViewfinder::closeEvent(event0); } -void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1798,65 +2377,54 @@ if (_wrapper) { } } } - QCameraViewfinder::focusOutEvent(event0); + QCameraViewfinder::contextMenuEvent(event0); } -bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const +void PythonQtShell_QCameraViewfinder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::hasHeightForWidth(); + QCameraViewfinder::customEvent(event0); } -int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const +int PythonQtShell_QCameraViewfinder::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1864,21 +2432,21 @@ if (_wrapper) { } } } - return QCameraViewfinder::heightForWidth(arg__1); + return QCameraViewfinder::devType(); } -void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) +void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1886,21 +2454,21 @@ if (_wrapper) { } } } - QCameraViewfinder::hideEvent(event0); + QCameraViewfinder::dragEnterEvent(event0); } -void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const +void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1908,21 +2476,21 @@ if (_wrapper) { } } } - QCameraViewfinder::initPainter(painter0); + QCameraViewfinder::dragLeaveEvent(event0); } -void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1930,54 +2498,43 @@ if (_wrapper) { } } } - QCameraViewfinder::inputMethodEvent(arg__1); + QCameraViewfinder::dragMoveEvent(event0); } -QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::inputMethodQuery(arg__1); + QCameraViewfinder::dropEvent(event0); } -void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1985,109 +2542,120 @@ if (_wrapper) { } } } - QCameraViewfinder::keyPressEvent(event0); + QCameraViewfinder::enterEvent(event0); } -void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::keyReleaseEvent(event0); + return QCameraViewfinder::event(event0); } -void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* event0) +bool PythonQtShell_QCameraViewfinder::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::leaveEvent(event0); + return QCameraViewfinder::eventFilter(watched0, event1); } -QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const +void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mediaObject"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMediaObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); - } else { - returnValue = *((QMediaObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::mediaObject(); + QCameraViewfinder::focusInEvent(event0); } -int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2095,98 +2663,109 @@ if (_wrapper) { } } } - return QCameraViewfinder::metric(arg__1); + return QCameraViewfinder::focusNextPrevChild(next0); } -QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const +void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::minimumSizeHint(); + QCameraViewfinder::focusOutEvent(event0); } -void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* event0) +bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::mouseDoubleClickEvent(event0); + return QCameraViewfinder::hasHeightForWidth(); } -void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* event0) +int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::mouseMoveEvent(event0); + return QCameraViewfinder::heightForWidth(arg__1); } -void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2194,21 +2773,21 @@ if (_wrapper) { } } } - QCameraViewfinder::mousePressEvent(event0); + QCameraViewfinder::hideEvent(event0); } -void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2216,21 +2795,21 @@ if (_wrapper) { } } } - QCameraViewfinder::mouseReleaseEvent(event0); + QCameraViewfinder::initPainter(painter0); } -void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) +void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2238,32 +2817,32 @@ if (_wrapper) { } } } - QCameraViewfinder::moveEvent(event0); + QCameraViewfinder::inputMethodEvent(arg__1); } -bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2271,54 +2850,43 @@ if (_wrapper) { } } } - return QCameraViewfinder::nativeEvent(eventType0, message1, result2); + return QCameraViewfinder::inputMethodQuery(arg__1); } -QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const +void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::paintEngine(); + QCameraViewfinder::keyPressEvent(event0); } -void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) +void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2326,32 +2894,54 @@ if (_wrapper) { } } } - QCameraViewfinder::paintEvent(event0); + QCameraViewfinder::keyReleaseEvent(event0); } -QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) const +void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::leaveEvent(event0); +} +QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mediaObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2359,54 +2949,65 @@ if (_wrapper) { } } } - return QCameraViewfinder::redirected(offset0); + return QCameraViewfinder::mediaObject(); } -void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) +int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::resizeEvent(event0); + return QCameraViewfinder::metric(arg__1); } -bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) +QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QMediaObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2414,21 +3015,21 @@ if (_wrapper) { } } } - return QCameraViewfinder::setMediaObject(object0); + return QCameraViewfinder::minimumSizeHint(); } -void PythonQtShell_QCameraViewfinder::setVisible(bool visible0) +void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2436,54 +3037,43 @@ if (_wrapper) { } } } - QCameraViewfinder::setVisible(visible0); + QCameraViewfinder::mouseDoubleClickEvent(event0); } -QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const +void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::sharedPainter(); + QCameraViewfinder::mouseMoveEvent(event0); } -void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) +void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2491,32 +3081,76 @@ if (_wrapper) { } } } - QCameraViewfinder::showEvent(event0); + QCameraViewfinder::mousePressEvent(event0); } -QSize PythonQtShell_QCameraViewfinder::sizeHint() const +void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::mouseReleaseEvent(event0); +} +void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::moveEvent(event0); +} +bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2524,43 +3158,54 @@ if (_wrapper) { } } } - return QCameraViewfinder::sizeHint(); + return QCameraViewfinder::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* event0) +QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::tabletEvent(event0); + return QCameraViewfinder::paintEngine(); } -void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2568,27 +3213,291 @@ if (_wrapper) { } } } - QCameraViewfinder::wheelEvent(event0); + QCameraViewfinder::paintEvent(event0); } -QCameraViewfinder* PythonQtWrapper_QCameraViewfinder::new_QCameraViewfinder(QWidget* parent) -{ -return new PythonQtShell_QCameraViewfinder(parent); } - -const QMetaObject* PythonQtShell_QCameraViewfinder::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraViewfinder::staticMetaObject); - } else { - return &QCameraViewfinder::staticMetaObject; +QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QCameraViewfinder::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCameraViewfinder::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + return QCameraViewfinder::redirected(offset0); } - - +void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::resizeEvent(event0); +} +bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMediaObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::setMediaObject(object0); +} +void PythonQtShell_QCameraViewfinder::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::setVisible(visible0); +} +QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::sharedPainter(); +} +void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::showEvent(event0); +} +QSize PythonQtShell_QCameraViewfinder::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinder::sizeHint(); +} +void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::tabletEvent(event0); +} +void PythonQtShell_QCameraViewfinder::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::timerEvent(event0); +} +void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinder::wheelEvent(event0); +} +QCameraViewfinder* PythonQtWrapper_QCameraViewfinder::new_QCameraViewfinder(QWidget* parent) +{ +return new PythonQtShell_QCameraViewfinder(parent); } + +const QMetaObject* PythonQtShell_QCameraViewfinder::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraViewfinder::staticMetaObject); + } else { + return &QCameraViewfinder::staticMetaObject; + } +} +int PythonQtShell_QCameraViewfinder::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCameraViewfinder::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + QCameraViewfinderSettings* PythonQtWrapper_QCameraViewfinderSettings::new_QCameraViewfinderSettings() { return new QCameraViewfinderSettings(); } @@ -2612,6 +3521,11 @@ qreal PythonQtWrapper_QCameraViewfinderSettings::minimumFrameRate(QCameraViewfi return ( theWrappedObject->minimumFrameRate()); } +bool PythonQtWrapper_QCameraViewfinderSettings::__ne__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QCameraViewfinderSettings* PythonQtWrapper_QCameraViewfinderSettings::operator_assign(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& other) { return &( (*theWrappedObject)= other); @@ -2678,52 +3592,41 @@ PythonQtShell_QCameraViewfinderSettingsControl::~PythonQtShell_QCameraViewfinder PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QCameraViewfinderSettingsControl::isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +void PythonQtShell_QCameraViewfinderSettingsControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isViewfinderParameterSupported"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isViewfinderParameterSupported", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); + QCameraViewfinderSettingsControl::childEvent(event0); } -void PythonQtShell_QCameraViewfinderSettingsControl::setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0, const QVariant& value1) +void PythonQtShell_QCameraViewfinderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setViewfinderParameter"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCameraViewfinderSettingsControl::ViewfinderParameter" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2731,32 +3634,175 @@ if (_wrapper) { } } } - + QCameraViewfinderSettingsControl::customEvent(event0); } -QVariant PythonQtShell_QCameraViewfinderSettingsControl::viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +bool PythonQtShell_QCameraViewfinderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewfinderParameter"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinderSettingsControl::event(event0); +} +bool PythonQtShell_QCameraViewfinderSettingsControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinderSettingsControl::eventFilter(watched0, event1); +} +bool PythonQtShell_QCameraViewfinderSettingsControl::isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isViewfinderParameterSupported"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isViewfinderParameterSupported", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QCameraViewfinderSettingsControl::setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setViewfinderParameter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCameraViewfinderSettingsControl::ViewfinderParameter" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QCameraViewfinderSettingsControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinderSettingsControl::timerEvent(event0); +} +QVariant PythonQtShell_QCameraViewfinderSettingsControl::viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("viewfinderParameter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)¶meter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderParameter", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2804,6 +3850,116 @@ PythonQtShell_QCameraViewfinderSettingsControl2::~PythonQtShell_QCameraViewfinde PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCameraViewfinderSettingsControl2::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinderSettingsControl2::childEvent(event0); +} +void PythonQtShell_QCameraViewfinderSettingsControl2::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinderSettingsControl2::customEvent(event0); +} +bool PythonQtShell_QCameraViewfinderSettingsControl2::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinderSettingsControl2::event(event0); +} +bool PythonQtShell_QCameraViewfinderSettingsControl2::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraViewfinderSettingsControl2::eventFilter(watched0, event1); +} void PythonQtShell_QCameraViewfinderSettingsControl2::setViewfinderSettings(const QCameraViewfinderSettings& settings0) { if (_wrapper) { @@ -2814,9 +3970,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QCameraViewfinderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2837,19 +3993,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedViewfinderSettings", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2859,6 +4015,28 @@ if (_wrapper) { } return QList(); } +void PythonQtShell_QCameraViewfinderSettingsControl2::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraViewfinderSettingsControl2::timerEvent(event0); +} QCameraViewfinderSettings PythonQtShell_QCameraViewfinderSettingsControl2::viewfinderSettings() const { if (_wrapper) { @@ -2870,19 +4048,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraViewfinderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraViewfinderSettings returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderSettings", methodInfo, result); } else { returnValue = *((QCameraViewfinderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2930,6 +4108,28 @@ PythonQtShell_QCameraZoomControl::~PythonQtShell_QCameraZoomControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QCameraZoomControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraZoomControl::childEvent(event0); +} qreal PythonQtShell_QCameraZoomControl::currentDigitalZoom() const { if (_wrapper) { @@ -2941,19 +4141,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentDigitalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2974,19 +4174,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2996,40 +4196,128 @@ if (_wrapper) { } return qreal(); } -qreal PythonQtShell_QCameraZoomControl::maximumDigitalZoom() const +void PythonQtShell_QCameraZoomControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumDigitalZoom"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumDigitalZoom", methodInfo, result); - } else { - returnValue = *((qreal*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return qreal(); + QCameraZoomControl::customEvent(event0); } -qreal PythonQtShell_QCameraZoomControl::maximumOpticalZoom() const +bool PythonQtShell_QCameraZoomControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraZoomControl::event(event0); +} +bool PythonQtShell_QCameraZoomControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCameraZoomControl::eventFilter(watched0, event1); +} +qreal PythonQtShell_QCameraZoomControl::maximumDigitalZoom() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("maximumDigitalZoom"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qreal returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumDigitalZoom", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +qreal PythonQtShell_QCameraZoomControl::maximumOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3040,19 +4328,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3073,19 +4361,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedDigitalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3106,19 +4394,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3128,6 +4416,28 @@ if (_wrapper) { } return qreal(); } +void PythonQtShell_QCameraZoomControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCameraZoomControl::timerEvent(event0); +} void PythonQtShell_QCameraZoomControl::zoomTo(qreal optical0, qreal digital1) { if (_wrapper) { @@ -3138,9 +4448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&optical0, (void*)&digital1}; + void* args[3] = {nullptr, (void*)&optical0, (void*)&digital1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3216,6 +4526,11 @@ QCamera::FrameRateRange* PythonQtWrapper_QCamera__FrameRateRange::new_QCamera__F { return new PythonQtShell_QCamera__FrameRateRange(minimum, maximum); } +bool PythonQtWrapper_QCamera__FrameRateRange::__ne__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2) +{ + return ( (*theWrappedObject)!= r2); +} + bool PythonQtWrapper_QCamera__FrameRateRange::__eq__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2) { return ( (*theWrappedObject)== r2); @@ -3227,6 +4542,28 @@ PythonQtShell_QGraphicsVideoItem::~PythonQtShell_QGraphicsVideoItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsVideoItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsVideoItem::boundingRect() const { if (_wrapper) { @@ -3238,19 +4575,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRectF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3260,66 +4597,52 @@ if (_wrapper) { } return QGraphicsVideoItem::boundingRect(); } -QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (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*)&change0, (void*)&value1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsVideoItem::itemChange(change0, value1); + QGraphicsVideoItem::childEvent(event0); } -QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const +bool PythonQtShell_QGraphicsVideoItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mediaObject"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMediaObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((QMediaObject**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3327,54 +4650,65 @@ if (_wrapper) { } } } - return QGraphicsVideoItem::mediaObject(); + return QGraphicsVideoItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsVideoItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsVideoItem::paint(painter0, option1, widget2); + return QGraphicsVideoItem::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) +bool PythonQtShell_QGraphicsVideoItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3382,21 +4716,21 @@ if (_wrapper) { } } } - return QGraphicsVideoItem::setMediaObject(object0); + return QGraphicsVideoItem::contains(point0); } -void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsVideoItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3404,125 +4738,175 @@ if (_wrapper) { } } } - QGraphicsVideoItem::timerEvent(event0); -} -QGraphicsVideoItem* PythonQtWrapper_QGraphicsVideoItem::new_QGraphicsVideoItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsVideoItem(parent); } - -const QMetaObject* PythonQtShell_QGraphicsVideoItem::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsVideoItem::staticMetaObject); - } else { - return &QGraphicsVideoItem::staticMetaObject; - } -} -int PythonQtShell_QGraphicsVideoItem::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsVideoItem::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::AspectRatioMode PythonQtWrapper_QGraphicsVideoItem::aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->aspectRatioMode()); + QGraphicsVideoItem::contextMenuEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsVideoItem::boundingRect(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* event0) { - return ( theWrappedObject->boundingRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVariant PythonQtWrapper_QGraphicsVideoItem::itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_itemChange(change, value)); + QGraphicsVideoItem::customEvent(event0); } - -QMediaObject* PythonQtWrapper_QGraphicsVideoItem::mediaObject(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->mediaObject()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QSizeF PythonQtWrapper_QGraphicsVideoItem::nativeSize(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->nativeSize()); + QGraphicsVideoItem::dragEnterEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsVideoItem::offset(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->offset()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsVideoItem::paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); + QGraphicsVideoItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsVideoItem::setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode) +void PythonQtShell_QGraphicsVideoItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setAspectRatioMode(mode)); -} - -bool PythonQtWrapper_QGraphicsVideoItem::setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object) -{ - return ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_setMediaObject(object)); -} - -void PythonQtWrapper_QGraphicsVideoItem::setOffset(QGraphicsVideoItem* theWrappedObject, const QPointF& offset) -{ - ( theWrappedObject->setOffset(offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsVideoItem::setSize(QGraphicsVideoItem* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setSize(size)); + QGraphicsVideoItem::dragMoveEvent(event0); } - -QSizeF PythonQtWrapper_QGraphicsVideoItem::size(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->size()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsVideoItem::timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_timerEvent(event)); + QGraphicsVideoItem::dropEvent(event0); } - -QAbstractVideoSurface* PythonQtWrapper_QGraphicsVideoItem::videoSurface(QGraphicsVideoItem* theWrappedObject) const +bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { - return ( theWrappedObject->videoSurface()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QImageEncoderControl::~PythonQtShell_QImageEncoderControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsVideoItem::event(ev0); } -QString PythonQtShell_QImageEncoderControl::imageCodecDescription(const QString& codec0) const +bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("imageCodecDescription"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&codec0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("imageCodecDescription", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3530,32 +4914,32 @@ if (_wrapper) { } } } - return QString(); + return QGraphicsVideoItem::eventFilter(watched0, event1); } -QImageEncoderSettings PythonQtShell_QImageEncoderControl::imageSettings() const +QVariant PythonQtShell_QGraphicsVideoItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("imageSettings"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QImageEncoderSettings"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QImageEncoderSettings returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("imageSettings", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QImageEncoderSettings*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3563,21 +4947,21 @@ if (_wrapper) { } } } - return QImageEncoderSettings(); + return QGraphicsVideoItem::extension(variant0); } -void PythonQtShell_QImageEncoderControl::setImageSettings(const QImageEncoderSettings& settings0) +void PythonQtShell_QGraphicsVideoItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setImageSettings"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QImageEncoderSettings&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3585,32 +4969,142 @@ if (_wrapper) { } } } - + QGraphicsVideoItem::focusInEvent(event0); } -QStringList PythonQtShell_QImageEncoderControl::supportedImageCodecs() const +void PythonQtShell_QGraphicsVideoItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedImageCodecs"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsVideoItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedImageCodecs", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3618,32 +5112,32 @@ if (_wrapper) { } } } - return QStringList(); + return QGraphicsVideoItem::inputMethodQuery(query0); } -QList PythonQtShell_QImageEncoderControl::supportedResolutions(const QImageEncoderSettings& settings0, bool* continuous1) const +bool PythonQtShell_QGraphicsVideoItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedResolutions"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList" , "const QImageEncoderSettings&" , "bool*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QList returnValue{}; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3651,23 +5145,892 @@ if (_wrapper) { } } } - return QList(); + return QGraphicsVideoItem::isObscuredBy(item0); } -QImageEncoderControl* PythonQtWrapper_QImageEncoderControl::new_QImageEncoderControl(QObject* parent) -{ -return new PythonQtShell_QImageEncoderControl(parent); } - -const QMetaObject* PythonQtShell_QImageEncoderControl::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QImageEncoderControl::staticMetaObject); - } else { - return &QImageEncoderControl::staticMetaObject; +QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QImageEncoderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QImageEncoderControl::qt_metacall(call, id, args); + return QGraphicsVideoItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsVideoItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::keyReleaseEvent(event0); +} +QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mediaObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMediaObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); + } else { + returnValue = *((QMediaObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::mediaObject(); +} +void PythonQtShell_QGraphicsVideoItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsVideoItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsVideoItem::opaqueArea() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::opaqueArea(); +} +void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsVideoItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsVideoItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsVideoItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::setExtension(extension0, variant1); +} +bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMediaObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::setMediaObject(object0); +} +QPainterPath PythonQtShell_QGraphicsVideoItem::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::shape(); +} +bool PythonQtShell_QGraphicsVideoItem::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::timerEvent(event0); +} +int PythonQtShell_QGraphicsVideoItem::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsVideoItem::type(); +} +void PythonQtShell_QGraphicsVideoItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::wheelEvent(event0); +} +QGraphicsVideoItem* PythonQtWrapper_QGraphicsVideoItem::new_QGraphicsVideoItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsVideoItem(parent); } + +const QMetaObject* PythonQtShell_QGraphicsVideoItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsVideoItem::staticMetaObject); + } else { + return &QGraphicsVideoItem::staticMetaObject; + } +} +int PythonQtShell_QGraphicsVideoItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsVideoItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::AspectRatioMode PythonQtWrapper_QGraphicsVideoItem::aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->aspectRatioMode()); +} + +QSizeF PythonQtWrapper_QGraphicsVideoItem::nativeSize(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->nativeSize()); +} + +QPointF PythonQtWrapper_QGraphicsVideoItem::offset(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +void PythonQtWrapper_QGraphicsVideoItem::setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode) +{ + ( theWrappedObject->setAspectRatioMode(mode)); +} + +void PythonQtWrapper_QGraphicsVideoItem::setOffset(QGraphicsVideoItem* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->setOffset(offset)); +} + +void PythonQtWrapper_QGraphicsVideoItem::setSize(QGraphicsVideoItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setSize(size)); +} + +QSizeF PythonQtWrapper_QGraphicsVideoItem::size(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QAbstractVideoSurface* PythonQtWrapper_QGraphicsVideoItem::videoSurface(QGraphicsVideoItem* theWrappedObject) const +{ + return ( theWrappedObject->videoSurface()); +} + + + +PythonQtShell_QImageEncoderControl::~PythonQtShell_QImageEncoderControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QImageEncoderControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QImageEncoderControl::childEvent(event0); +} +void PythonQtShell_QImageEncoderControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QImageEncoderControl::customEvent(event0); +} +bool PythonQtShell_QImageEncoderControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageEncoderControl::event(event0); +} +bool PythonQtShell_QImageEncoderControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageEncoderControl::eventFilter(watched0, event1); +} +QString PythonQtShell_QImageEncoderControl::imageCodecDescription(const QString& codec0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("imageCodecDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&codec0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageCodecDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QImageEncoderSettings PythonQtShell_QImageEncoderControl::imageSettings() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("imageSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QImageEncoderSettings"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QImageEncoderSettings returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageSettings", methodInfo, result); + } else { + returnValue = *((QImageEncoderSettings*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QImageEncoderSettings(); +} +void PythonQtShell_QImageEncoderControl::setImageSettings(const QImageEncoderSettings& settings0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setImageSettings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QImageEncoderSettings&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&settings0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QStringList PythonQtShell_QImageEncoderControl::supportedImageCodecs() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedImageCodecs"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedImageCodecs", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStringList(); +} +QList PythonQtShell_QImageEncoderControl::supportedResolutions(const QImageEncoderSettings& settings0, bool* continuous1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("supportedResolutions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QImageEncoderSettings&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QList returnValue{}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QImageEncoderControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QImageEncoderControl::timerEvent(event0); +} +QImageEncoderControl* PythonQtWrapper_QImageEncoderControl::new_QImageEncoderControl(QObject* parent) +{ +return new PythonQtShell_QImageEncoderControl(parent); } + +const QMetaObject* PythonQtShell_QImageEncoderControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QImageEncoderControl::staticMetaObject); + } else { + return &QImageEncoderControl::staticMetaObject; + } +} +int PythonQtShell_QImageEncoderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QImageEncoderControl::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } QString PythonQtWrapper_QImageEncoderControl::imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const @@ -3769,22 +6132,154 @@ void PythonQtWrapper_QImageEncoderSettings::setQuality(QImageEncoderSettings* th { ( theWrappedObject->setQuality(quality)); } - -void PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setResolution(arg__1)); + +void PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setResolution(arg__1)); +} + +void PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, int width, int height) +{ + ( theWrappedObject->setResolution(width, height)); +} + + + +PythonQtShell_QMediaAudioProbeControl::~PythonQtShell_QMediaAudioProbeControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaAudioProbeControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaAudioProbeControl::childEvent(event0); +} +void PythonQtShell_QMediaAudioProbeControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaAudioProbeControl::customEvent(event0); +} +bool PythonQtShell_QMediaAudioProbeControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaAudioProbeControl::event(event0); +} +bool PythonQtShell_QMediaAudioProbeControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaAudioProbeControl::eventFilter(watched0, event1); } - -void PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, int width, int height) +void PythonQtShell_QMediaAudioProbeControl::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setResolution(width, height)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QMediaAudioProbeControl::~PythonQtShell_QMediaAudioProbeControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMediaAudioProbeControl::timerEvent(event0); } QMediaAudioProbeControl* PythonQtWrapper_QMediaAudioProbeControl::new_QMediaAudioProbeControl(QObject* parent) { @@ -3820,19 +6315,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3842,6 +6337,138 @@ if (_wrapper) { } return QMultimedia::AvailabilityStatus(); } +void PythonQtShell_QMediaAvailabilityControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaAvailabilityControl::childEvent(event0); +} +void PythonQtShell_QMediaAvailabilityControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaAvailabilityControl::customEvent(event0); +} +bool PythonQtShell_QMediaAvailabilityControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaAvailabilityControl::event(event0); +} +bool PythonQtShell_QMediaAvailabilityControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaAvailabilityControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaAvailabilityControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaAvailabilityControl::timerEvent(event0); +} QMediaAvailabilityControl* PythonQtWrapper_QMediaAvailabilityControl::new_QMediaAvailabilityControl(QObject* parent) { return new PythonQtShell_QMediaAvailabilityControl(parent); } @@ -3880,20 +6507,161 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue{}; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); + } else { + returnValue = *((QMediaObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* object0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setMediaObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&object0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QMediaBindableInterface* PythonQtWrapper_QMediaBindableInterface::new_QMediaBindableInterface() +{ +return new PythonQtShell_QMediaBindableInterface(); } + +QMediaObject* PythonQtWrapper_QMediaBindableInterface::mediaObject(QMediaBindableInterface* theWrappedObject) const +{ + return ( theWrappedObject->mediaObject()); +} + +bool PythonQtWrapper_QMediaBindableInterface::setMediaObject(QMediaBindableInterface* theWrappedObject, QMediaObject* object) +{ + return ( ((PythonQtPublicPromoter_QMediaBindableInterface*)theWrappedObject)->promoted_setMediaObject(object)); +} + + + +PythonQtShell_QMediaContainerControl::~PythonQtShell_QMediaContainerControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaContainerControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaContainerControl::childEvent(event0); +} +QString PythonQtShell_QMediaContainerControl::containerDescription(const QString& formatMimeType0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("containerDescription"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&formatMimeType0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("containerDescription", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QString PythonQtShell_QMediaContainerControl::containerFormat() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("containerFormat"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QString returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("containerFormat", methodInfo, result); } else { - returnValue = *((QMediaObject**)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3901,85 +6669,54 @@ if (_wrapper) { } } } - return 0; + return QString(); } -bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* object0) +void PythonQtShell_QMediaContainerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); -} -QMediaBindableInterface* PythonQtWrapper_QMediaBindableInterface::new_QMediaBindableInterface() -{ -return new PythonQtShell_QMediaBindableInterface(); } - -QMediaObject* PythonQtWrapper_QMediaBindableInterface::mediaObject(QMediaBindableInterface* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - -bool PythonQtWrapper_QMediaBindableInterface::setMediaObject(QMediaBindableInterface* theWrappedObject, QMediaObject* object) -{ - return ( ((PythonQtPublicPromoter_QMediaBindableInterface*)theWrappedObject)->promoted_setMediaObject(object)); -} - - - -PythonQtShell_QMediaContainerControl::~PythonQtShell_QMediaContainerControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMediaContainerControl::customEvent(event0); } -QString PythonQtShell_QMediaContainerControl::containerDescription(const QString& formatMimeType0) const +bool PythonQtShell_QMediaContainerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("containerDescription"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QString&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&formatMimeType0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("containerDescription", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3987,32 +6724,32 @@ if (_wrapper) { } } } - return QString(); + return QMediaContainerControl::event(event0); } -QString PythonQtShell_QMediaContainerControl::containerFormat() const +bool PythonQtShell_QMediaContainerControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("containerFormat"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("containerFormat", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4020,7 +6757,7 @@ if (_wrapper) { } } } - return QString(); + return QMediaContainerControl::eventFilter(watched0, event1); } void PythonQtShell_QMediaContainerControl::setContainerFormat(const QString& format0) { @@ -4032,9 +6769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4055,19 +6792,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedContainers", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4077,6 +6814,28 @@ if (_wrapper) { } return QStringList(); } +void PythonQtShell_QMediaContainerControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaContainerControl::timerEvent(event0); +} QMediaContainerControl* PythonQtWrapper_QMediaContainerControl::new_QMediaContainerControl(QObject* parent) { return new PythonQtShell_QMediaContainerControl(parent); } @@ -4200,6 +6959,138 @@ PythonQtShell_QMediaControl::~PythonQtShell_QMediaControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QMediaControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaControl::childEvent(event0); +} +void PythonQtShell_QMediaControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaControl::customEvent(event0); +} +bool PythonQtShell_QMediaControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaControl::event(event0); +} +bool PythonQtShell_QMediaControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaControl::timerEvent(event0); +} QMediaControl* PythonQtWrapper_QMediaControl::new_QMediaControl(QObject* parent) { return new PythonQtShell_QMediaControl(parent); } @@ -4213,40 +7104,150 @@ const QMetaObject* PythonQtShell_QMediaControl::metaObject() const { return &QMediaControl::staticMetaObject; } } -int PythonQtShell_QMediaControl::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMediaControl::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +int PythonQtShell_QMediaControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QMediaControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QMediaGaplessPlaybackControl::~PythonQtShell_QMediaGaplessPlaybackControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QMediaGaplessPlaybackControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaGaplessPlaybackControl::childEvent(event0); +} +qreal PythonQtShell_QMediaGaplessPlaybackControl::crossfadeTime() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("crossfadeTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qreal returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("crossfadeTime", methodInfo, result); + } else { + returnValue = *((qreal*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qreal(); +} +void PythonQtShell_QMediaGaplessPlaybackControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaGaplessPlaybackControl::customEvent(event0); } - - -PythonQtShell_QMediaGaplessPlaybackControl::~PythonQtShell_QMediaGaplessPlaybackControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtShell_QMediaGaplessPlaybackControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } -qreal PythonQtShell_QMediaGaplessPlaybackControl::crossfadeTime() const + return QMediaGaplessPlaybackControl::event(event0); +} +bool PythonQtShell_QMediaGaplessPlaybackControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("crossfadeTime"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qreal returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("crossfadeTime", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((qreal*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4254,7 +7255,7 @@ if (_wrapper) { } } } - return qreal(); + return QMediaGaplessPlaybackControl::eventFilter(watched0, event1); } bool PythonQtShell_QMediaGaplessPlaybackControl::isCrossfadeSupported() const { @@ -4267,19 +7268,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCrossfadeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4300,19 +7301,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaContent"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaContent returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextMedia", methodInfo, result); } else { returnValue = *((QMediaContent*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4332,9 +7333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&crossfadeTime0}; + void* args[2] = {nullptr, (void*)&crossfadeTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4354,9 +7355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMediaContent&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&media0}; + void* args[2] = {nullptr, (void*)&media0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4365,6 +7366,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QMediaGaplessPlaybackControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaGaplessPlaybackControl::timerEvent(event0); } QMediaGaplessPlaybackControl* PythonQtWrapper_QMediaGaplessPlaybackControl::new_QMediaGaplessPlaybackControl(QObject* parent) { @@ -4414,6 +7437,28 @@ PythonQtShell_QMediaNetworkAccessControl::~PythonQtShell_QMediaNetworkAccessCont PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QMediaNetworkAccessControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaNetworkAccessControl::childEvent(event0); +} QNetworkConfiguration PythonQtShell_QMediaNetworkAccessControl::currentConfiguration() const { if (_wrapper) { @@ -4425,19 +7470,19 @@ if (_wrapper) { static const char* argumentList[] ={"QNetworkConfiguration"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QNetworkConfiguration returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentConfiguration", methodInfo, result); } else { returnValue = *((QNetworkConfiguration*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4447,6 +7492,94 @@ if (_wrapper) { } return QNetworkConfiguration(); } +void PythonQtShell_QMediaNetworkAccessControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaNetworkAccessControl::customEvent(event0); +} +bool PythonQtShell_QMediaNetworkAccessControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaNetworkAccessControl::event(event0); +} +bool PythonQtShell_QMediaNetworkAccessControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaNetworkAccessControl::eventFilter(watched0, event1); +} void PythonQtShell_QMediaNetworkAccessControl::setConfigurations(const QList& configuration0) { if (_wrapper) { @@ -4457,9 +7590,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&configuration0}; + void* args[2] = {nullptr, (void*)&configuration0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4468,6 +7601,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QMediaNetworkAccessControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaNetworkAccessControl::timerEvent(event0); } QMediaNetworkAccessControl* PythonQtWrapper_QMediaNetworkAccessControl::new_QMediaNetworkAccessControl(QObject* parent) { @@ -4495,37 +7650,147 @@ void PythonQtWrapper_QMediaNetworkAccessControl::setConfigurations(QMediaNetwork { ( theWrappedObject->setConfigurations(configuration)); } - - - -PythonQtShell_QMediaObject::~PythonQtShell_QMediaObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + + + +PythonQtShell_QMediaObject::~PythonQtShell_QMediaObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("availability"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMultimedia::AvailabilityStatus returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + } else { + returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaObject::availability(); +} +bool PythonQtShell_QMediaObject::bind(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaObject::bind(arg__1); +} +void PythonQtShell_QMediaObject::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaObject::childEvent(event0); +} +void PythonQtShell_QMediaObject::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaObject::customEvent(event0); } -QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() const +bool PythonQtShell_QMediaObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("availability"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4533,32 +7798,32 @@ if (_wrapper) { } } } - return QMediaObject::availability(); + return QMediaObject::event(event0); } -bool PythonQtShell_QMediaObject::bind(QObject* arg__1) +bool PythonQtShell_QMediaObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bind"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4566,7 +7831,7 @@ if (_wrapper) { } } } - return QMediaObject::bind(arg__1); + return QMediaObject::eventFilter(watched0, event1); } bool PythonQtShell_QMediaObject::isAvailable() const { @@ -4579,19 +7844,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4612,19 +7877,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4634,6 +7899,28 @@ if (_wrapper) { } return QMediaObject::service(); } +void PythonQtShell_QMediaObject::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaObject::timerEvent(event0); +} void PythonQtShell_QMediaObject::unbind(QObject* arg__1) { if (_wrapper) { @@ -4644,9 +7931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4750,19 +8037,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4783,19 +8070,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4805,6 +8092,116 @@ if (_wrapper) { } return QMediaPlayer::bind(arg__1); } +void PythonQtShell_QMediaPlayer::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlayer::childEvent(event0); +} +void PythonQtShell_QMediaPlayer::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlayer::customEvent(event0); +} +bool PythonQtShell_QMediaPlayer::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::event(event0); +} +bool PythonQtShell_QMediaPlayer::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayer::eventFilter(watched0, event1); +} bool PythonQtShell_QMediaPlayer::isAvailable() const { if (_wrapper) { @@ -4816,19 +8213,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4849,19 +8246,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4871,6 +8268,28 @@ if (_wrapper) { } return QMediaPlayer::service(); } +void PythonQtShell_QMediaPlayer::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlayer::timerEvent(event0); +} void PythonQtShell_QMediaPlayer::unbind(QObject* arg__1) { if (_wrapper) { @@ -4881,9 +8300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5077,19 +8496,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaTimeRange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaTimeRange returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availablePlaybackRanges", methodInfo, result); } else { returnValue = *((QMediaTimeRange*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5110,19 +8529,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferStatus", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5132,6 +8551,50 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QMediaPlayerControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlayerControl::childEvent(event0); +} +void PythonQtShell_QMediaPlayerControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlayerControl::customEvent(event0); +} qint64 PythonQtShell_QMediaPlayerControl::duration() const { if (_wrapper) { @@ -5143,19 +8606,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5165,6 +8628,72 @@ if (_wrapper) { } return qint64(); } +bool PythonQtShell_QMediaPlayerControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayerControl::event(event0); +} +bool PythonQtShell_QMediaPlayerControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlayerControl::eventFilter(watched0, event1); +} bool PythonQtShell_QMediaPlayerControl::isAudioAvailable() const { if (_wrapper) { @@ -5176,19 +8705,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAudioAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5209,19 +8738,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5242,19 +8771,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSeekable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5275,19 +8804,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isVideoAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5308,19 +8837,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaContent"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaContent returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("media", methodInfo, result); } else { returnValue = *((QMediaContent*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5341,19 +8870,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaPlayer::MediaStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaPlayer::MediaStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaStatus", methodInfo, result); } else { returnValue = *((QMediaPlayer::MediaStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5374,19 +8903,19 @@ if (_wrapper) { static const char* argumentList[] ={"const QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); const QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaStream", methodInfo, result); } else { returnValue = *((const QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5394,7 +8923,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaPlayerControl::pause() { @@ -5406,9 +8935,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5428,9 +8957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5451,19 +8980,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("playbackRate", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5484,19 +9013,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5516,9 +9045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMediaContent&" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&media0, (void*)&stream1}; + void* args[3] = {nullptr, (void*)&media0, (void*)&stream1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5538,9 +9067,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mute0}; + void* args[2] = {nullptr, (void*)&mute0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5560,9 +9089,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rate0}; + void* args[2] = {nullptr, (void*)&rate0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5582,9 +9111,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&position0}; + void* args[2] = {nullptr, (void*)&position0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5604,9 +9133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5627,19 +9156,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaPlayer::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaPlayer::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QMediaPlayer::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5659,9 +9188,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5670,6 +9199,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QMediaPlayerControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlayerControl::timerEvent(event0); } int PythonQtShell_QMediaPlayerControl::volume() const { @@ -5682,19 +9233,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h similarity index 75% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h index ebd7b18d..84e8e8d5 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -21,15 +22,27 @@ #include #include #include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include +#include +#include #include #include #include +#include +#include +#include +#include #include #include #include @@ -47,18 +60,37 @@ #include #include #include +#include +#include +#include +#include #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_QCameraFocus : public QObject { Q_OBJECT public: @@ -68,7 +100,6 @@ enum FocusMode{ ManualFocus = QCameraFocus::ManualFocus, HyperfocalFocus = QCameraFocus::HyperfocalFocus, InfinityFocus = QCameraFocus::InfinityFocus, AutoFocus = QCameraFocus::AutoFocus, ContinuousFocus = QCameraFocus::ContinuousFocus, MacroFocus = QCameraFocus::MacroFocus}; Q_DECLARE_FLAGS(FocusModes, FocusMode) public slots: - QPointF customFocusPoint(QCameraFocus* theWrappedObject) const; qreal digitalZoom(QCameraFocus* theWrappedObject) const; QCameraFocus::FocusModes focusMode(QCameraFocus* theWrappedObject) const; @@ -86,26 +117,35 @@ public slots: void zoomTo(QCameraFocus* theWrappedObject, qreal opticalZoom, qreal digitalZoom); }; -class PythonQtShell_QCameraFocusControl : public QCameraFocusControl -{ -public: - PythonQtShell_QCameraFocusControl(QObject* parent = nullptr):QCameraFocusControl(parent),_wrapper(NULL) {}; - ~PythonQtShell_QCameraFocusControl(); -virtual QPointF customFocusPoint() const; -virtual QCameraFocus::FocusModes focusMode() const; -virtual QCameraFocus::FocusPointMode focusPointMode() const; -virtual QList focusZones() const; -virtual bool isFocusModeSupported(QCameraFocus::FocusModes mode) const; -virtual bool isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const; -virtual void setCustomFocusPoint(const QPointF& point); -virtual void setFocusMode(QCameraFocus::FocusModes mode); -virtual void setFocusPointMode(QCameraFocus::FocusPointMode mode); - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + +class PythonQtShell_QCameraFocusControl : public QCameraFocusControl +{ +public: + PythonQtShell_QCameraFocusControl(QObject* parent = nullptr):QCameraFocusControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraFocusControl() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QPointF customFocusPoint() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCameraFocus::FocusModes focusMode() const override; +QCameraFocus::FocusPointMode focusPointMode() const override; +QList focusZones() const override; +bool isFocusModeSupported(QCameraFocus::FocusModes mode) const override; +bool isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const override; +void setCustomFocusPoint(const QPointF& point) override; +void setFocusMode(QCameraFocus::FocusModes mode) override; +void setFocusPointMode(QCameraFocus::FocusPointMode mode) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFocusControl : public QCameraFocusControl @@ -126,7 +166,7 @@ class PythonQtWrapper_QCameraFocusControl : public QObject public: public slots: QCameraFocusControl* new_QCameraFocusControl(QObject* parent = nullptr); -void delete_QCameraFocusControl(QCameraFocusControl* obj) { delete obj; } +void delete_QCameraFocusControl(QCameraFocusControl* obj) { delete obj; } QPointF customFocusPoint(QCameraFocusControl* theWrappedObject) const; QPointF py_q_customFocusPoint(QCameraFocusControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_customFocusPoint());} QCameraFocus::FocusModes focusMode(QCameraFocusControl* theWrappedObject) const; @@ -161,7 +201,7 @@ public slots: QCameraFocusZone* new_QCameraFocusZone(); QCameraFocusZone* new_QCameraFocusZone(const QCameraFocusZone& other); QCameraFocusZone* new_QCameraFocusZone(const QRectF& area, QCameraFocusZone::FocusZoneStatus status = QCameraFocusZone::Selected); -void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } +void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } QRectF area(QCameraFocusZone* theWrappedObject) const; bool isValid(QCameraFocusZone* theWrappedObject) const; bool __ne__(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) const; @@ -179,16 +219,21 @@ void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } class PythonQtShell_QCameraImageCapture : public QCameraImageCapture { public: - PythonQtShell_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr):QCameraImageCapture(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr):QCameraImageCapture(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageCapture(); + ~PythonQtShell_QCameraImageCapture() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* arg__1) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCapture : public QCameraImageCapture @@ -210,7 +255,7 @@ enum DriveMode{ Q_DECLARE_FLAGS(CaptureDestinations, CaptureDestination) public slots: QCameraImageCapture* new_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } +void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QCameraImageCapture* theWrappedObject) const; QVideoFrame::PixelFormat bufferFormat(QCameraImageCapture* theWrappedObject) const; QCameraImageCapture::CaptureDestinations captureDestination(QCameraImageCapture* theWrappedObject) const; @@ -221,12 +266,10 @@ void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } bool isAvailable(QCameraImageCapture* theWrappedObject) const; bool isCaptureDestinationSupported(QCameraImageCapture* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const; bool isReadyForCapture(QCameraImageCapture* theWrappedObject) const; - QMediaObject* mediaObject(QCameraImageCapture* theWrappedObject) const; QMediaObject* py_q_mediaObject(QCameraImageCapture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraImageCapture*)theWrappedObject)->py_q_mediaObject());} void setBufferFormat(QCameraImageCapture* theWrappedObject, const QVideoFrame::PixelFormat format); void setCaptureDestination(QCameraImageCapture* theWrappedObject, QCameraImageCapture::CaptureDestinations destination); void setEncodingSettings(QCameraImageCapture* theWrappedObject, const QImageEncoderSettings& settings); - bool setMediaObject(QCameraImageCapture* theWrappedObject, QMediaObject* arg__1); bool py_q_setMediaObject(QCameraImageCapture* theWrappedObject, QMediaObject* arg__1){ return (((PythonQtPublicPromoter_QCameraImageCapture*)theWrappedObject)->py_q_setMediaObject(arg__1));} QList supportedBufferFormats(QCameraImageCapture* theWrappedObject) const; QStringList supportedImageCodecs(QCameraImageCapture* theWrappedObject) const; @@ -240,19 +283,24 @@ void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } class PythonQtShell_QCameraImageCaptureControl : public QCameraImageCaptureControl { public: - PythonQtShell_QCameraImageCaptureControl(QObject* parent = nullptr):QCameraImageCaptureControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageCaptureControl(QObject* parent = nullptr):QCameraImageCaptureControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageCaptureControl(); + ~PythonQtShell_QCameraImageCaptureControl() override; -virtual void cancelCapture(); -virtual int capture(const QString& fileName); -virtual QCameraImageCapture::DriveMode driveMode() const; -virtual bool isReadyForCapture() const; -virtual void setDriveMode(QCameraImageCapture::DriveMode mode); +void cancelCapture() override; +int capture(const QString& fileName) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QCameraImageCapture::DriveMode driveMode() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isReadyForCapture() const override; +void setDriveMode(QCameraImageCapture::DriveMode mode) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCaptureControl : public QCameraImageCaptureControl @@ -269,7 +317,7 @@ class PythonQtWrapper_QCameraImageCaptureControl : public QObject public: public slots: QCameraImageCaptureControl* new_QCameraImageCaptureControl(QObject* parent = nullptr); -void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete obj; } +void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete obj; } void cancelCapture(QCameraImageCaptureControl* theWrappedObject); void py_q_cancelCapture(QCameraImageCaptureControl* theWrappedObject){ (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_cancelCapture());} int capture(QCameraImageCaptureControl* theWrappedObject, const QString& fileName); @@ -282,6 +330,10 @@ void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete void py_q_setDriveMode(QCameraImageCaptureControl* theWrappedObject, QCameraImageCapture::DriveMode mode){ (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_setDriveMode(mode));} }; + + + + class PythonQtWrapper_QCameraImageProcessing : public QObject { Q_OBJECT public: @@ -307,21 +359,30 @@ public slots: QCameraImageProcessing::WhiteBalanceMode whiteBalanceMode(QCameraImageProcessing* theWrappedObject) const; }; + + + + class PythonQtShell_QCameraImageProcessingControl : public QCameraImageProcessingControl { public: - PythonQtShell_QCameraImageProcessingControl(QObject* parent = nullptr):QCameraImageProcessingControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageProcessingControl(QObject* parent = nullptr):QCameraImageProcessingControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageProcessingControl(); + ~PythonQtShell_QCameraImageProcessingControl() override; -virtual bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const; -virtual bool isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const; -virtual QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const; -virtual void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const override; +bool isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const override; +QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const override; +void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageProcessingControl : public QCameraImageProcessingControl @@ -337,7 +398,7 @@ class PythonQtWrapper_QCameraImageProcessingControl : public QObject public: public slots: QCameraImageProcessingControl* new_QCameraImageProcessingControl(QObject* parent = nullptr); -void delete_QCameraImageProcessingControl(QCameraImageProcessingControl* obj) { delete obj; } +void delete_QCameraImageProcessingControl(QCameraImageProcessingControl* obj) { delete obj; } bool isParameterSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter arg__1) const; bool py_q_isParameterSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter arg__1) const{ return (((PythonQtPublicPromoter_QCameraImageProcessingControl*)theWrappedObject)->py_q_isParameterSupported(arg__1));} bool isParameterValueSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const; @@ -359,7 +420,7 @@ public slots: QCameraInfo* new_QCameraInfo(const QByteArray& name = QByteArray()); QCameraInfo* new_QCameraInfo(const QCamera& camera); QCameraInfo* new_QCameraInfo(const QCameraInfo& other); -void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } +void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } QList static_QCameraInfo_availableCameras(QCamera::Position position = QCamera::UnspecifiedPosition); QCameraInfo static_QCameraInfo_defaultCamera(); QString description(QCameraInfo* theWrappedObject) const; @@ -381,16 +442,21 @@ void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } class PythonQtShell_QCameraInfoControl : public QCameraInfoControl { public: - PythonQtShell_QCameraInfoControl(QObject* parent = nullptr):QCameraInfoControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraInfoControl(QObject* parent = nullptr):QCameraInfoControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraInfoControl(); + ~PythonQtShell_QCameraInfoControl() override; -virtual int cameraOrientation(const QString& deviceName) const; -virtual QCamera::Position cameraPosition(const QString& deviceName) const; +int cameraOrientation(const QString& deviceName) const override; +QCamera::Position cameraPosition(const QString& deviceName) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraInfoControl : public QCameraInfoControl @@ -404,7 +470,7 @@ class PythonQtWrapper_QCameraInfoControl : public QObject public: public slots: QCameraInfoControl* new_QCameraInfoControl(QObject* parent = nullptr); -void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } +void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } int cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const; int py_q_cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const{ return (((PythonQtPublicPromoter_QCameraInfoControl*)theWrappedObject)->py_q_cameraOrientation(deviceName));} QCamera::Position cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const; @@ -418,18 +484,23 @@ void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } class PythonQtShell_QCameraLocksControl : public QCameraLocksControl { public: - PythonQtShell_QCameraLocksControl(QObject* parent = nullptr):QCameraLocksControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraLocksControl(QObject* parent = nullptr):QCameraLocksControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraLocksControl(); + ~PythonQtShell_QCameraLocksControl() override; -virtual QCamera::LockStatus lockStatus(QCamera::LockType lock) const; -virtual void searchAndLock(QCamera::LockTypes locks); -virtual QCamera::LockTypes supportedLocks() const; -virtual void unlock(QCamera::LockTypes locks); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCamera::LockStatus lockStatus(QCamera::LockType lock) const override; +void searchAndLock(QCamera::LockTypes locks) override; +QCamera::LockTypes supportedLocks() const override; +void timerEvent(QTimerEvent* event) override; +void unlock(QCamera::LockTypes locks) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraLocksControl : public QCameraLocksControl @@ -445,7 +516,7 @@ class PythonQtWrapper_QCameraLocksControl : public QObject public: public slots: QCameraLocksControl* new_QCameraLocksControl(QObject* parent = nullptr); -void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } +void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } QCamera::LockStatus lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const; QCamera::LockStatus py_q_lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const{ return (((PythonQtPublicPromoter_QCameraLocksControl*)theWrappedObject)->py_q_lockStatus(lock));} void searchAndLock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks); @@ -463,57 +534,61 @@ void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } class PythonQtShell_QCameraViewfinder : public QCameraViewfinder { public: - PythonQtShell_QCameraViewfinder(QWidget* parent = nullptr):QCameraViewfinder(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCameraViewfinder(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual bool setMediaObject(QMediaObject* object); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCameraViewfinder(QWidget* parent = nullptr):QCameraViewfinder(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraViewfinder() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +QMediaObject* mediaObject() const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +bool setMediaObject(QMediaObject* object) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinder : public QCameraViewfinder @@ -528,7 +603,7 @@ class PythonQtWrapper_QCameraViewfinder : public QObject public: public slots: QCameraViewfinder* new_QCameraViewfinder(QWidget* parent = nullptr); -void delete_QCameraViewfinder(QCameraViewfinder* obj) { delete obj; } +void delete_QCameraViewfinder(QCameraViewfinder* obj) { delete obj; } QMediaObject* py_q_mediaObject(QCameraViewfinder* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraViewfinder*)theWrappedObject)->py_q_mediaObject());} bool py_q_setMediaObject(QCameraViewfinder* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QCameraViewfinder*)theWrappedObject)->py_q_setMediaObject(object));} }; @@ -543,10 +618,11 @@ class PythonQtWrapper_QCameraViewfinderSettings : public QObject public slots: QCameraViewfinderSettings* new_QCameraViewfinderSettings(); QCameraViewfinderSettings* new_QCameraViewfinderSettings(const QCameraViewfinderSettings& other); -void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete obj; } +void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete obj; } bool isNull(QCameraViewfinderSettings* theWrappedObject) const; qreal maximumFrameRate(QCameraViewfinderSettings* theWrappedObject) const; qreal minimumFrameRate(QCameraViewfinderSettings* theWrappedObject) const; + bool __ne__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs); QCameraViewfinderSettings* operator_assign(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& other); QSize pixelAspectRatio(QCameraViewfinderSettings* theWrappedObject) const; QVideoFrame::PixelFormat pixelFormat(QCameraViewfinderSettings* theWrappedObject) const; @@ -569,17 +645,22 @@ void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete o class PythonQtShell_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl { public: - PythonQtShell_QCameraViewfinderSettingsControl(QObject* parent = nullptr):QCameraViewfinderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraViewfinderSettingsControl(QObject* parent = nullptr):QCameraViewfinderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraViewfinderSettingsControl(); + ~PythonQtShell_QCameraViewfinderSettingsControl() override; -virtual bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; -virtual void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value); -virtual QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const override; +void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; +QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl @@ -597,7 +678,7 @@ enum ViewfinderParameter{ Resolution = QCameraViewfinderSettingsControl::Resolution, PixelAspectRatio = QCameraViewfinderSettingsControl::PixelAspectRatio, MinimumFrameRate = QCameraViewfinderSettingsControl::MinimumFrameRate, MaximumFrameRate = QCameraViewfinderSettingsControl::MaximumFrameRate, PixelFormat = QCameraViewfinderSettingsControl::PixelFormat, UserParameter = QCameraViewfinderSettingsControl::UserParameter}; public slots: QCameraViewfinderSettingsControl* new_QCameraViewfinderSettingsControl(QObject* parent = nullptr); -void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* obj) { delete obj; } +void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* obj) { delete obj; } bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; bool py_q_isViewfinderParameterSupported(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl*)theWrappedObject)->py_q_isViewfinderParameterSupported(parameter));} void setViewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value); @@ -613,17 +694,22 @@ void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* o class PythonQtShell_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 { public: - PythonQtShell_QCameraViewfinderSettingsControl2(QObject* parent = nullptr):QCameraViewfinderSettingsControl2(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraViewfinderSettingsControl2(QObject* parent = nullptr):QCameraViewfinderSettingsControl2(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraViewfinderSettingsControl2(); + ~PythonQtShell_QCameraViewfinderSettingsControl2() override; -virtual void setViewfinderSettings(const QCameraViewfinderSettings& settings); -virtual QList supportedViewfinderSettings() const; -virtual QCameraViewfinderSettings viewfinderSettings() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setViewfinderSettings(const QCameraViewfinderSettings& settings) override; +QList supportedViewfinderSettings() const override; +void timerEvent(QTimerEvent* event) override; +QCameraViewfinderSettings viewfinderSettings() const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 @@ -638,7 +724,7 @@ class PythonQtWrapper_QCameraViewfinderSettingsControl2 : public QObject public: public slots: QCameraViewfinderSettingsControl2* new_QCameraViewfinderSettingsControl2(QObject* parent = nullptr); -void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* obj) { delete obj; } +void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* obj) { delete obj; } void setViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject, const QCameraViewfinderSettings& settings); void py_q_setViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject, const QCameraViewfinderSettings& settings){ (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl2*)theWrappedObject)->py_q_setViewfinderSettings(settings));} QList supportedViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const; @@ -654,21 +740,26 @@ void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* class PythonQtShell_QCameraZoomControl : public QCameraZoomControl { public: - PythonQtShell_QCameraZoomControl(QObject* parent = nullptr):QCameraZoomControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraZoomControl(QObject* parent = nullptr):QCameraZoomControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraZoomControl(); + ~PythonQtShell_QCameraZoomControl() override; -virtual qreal currentDigitalZoom() const; -virtual qreal currentOpticalZoom() const; -virtual qreal maximumDigitalZoom() const; -virtual qreal maximumOpticalZoom() const; -virtual qreal requestedDigitalZoom() const; -virtual qreal requestedOpticalZoom() const; -virtual void zoomTo(qreal optical, qreal digital); +void childEvent(QChildEvent* event) override; +qreal currentDigitalZoom() const override; +qreal currentOpticalZoom() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qreal maximumDigitalZoom() const override; +qreal maximumOpticalZoom() const override; +qreal requestedDigitalZoom() const override; +qreal requestedOpticalZoom() const override; +void timerEvent(QTimerEvent* event) override; +void zoomTo(qreal optical, qreal digital) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraZoomControl : public QCameraZoomControl @@ -687,7 +778,7 @@ class PythonQtWrapper_QCameraZoomControl : public QObject public: public slots: QCameraZoomControl* new_QCameraZoomControl(QObject* parent = nullptr); -void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } +void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } qreal currentDigitalZoom(QCameraZoomControl* theWrappedObject) const; qreal py_q_currentDigitalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_currentDigitalZoom());} qreal currentOpticalZoom(QCameraZoomControl* theWrappedObject) const; @@ -711,13 +802,13 @@ void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } class PythonQtShell_QCamera__FrameRateRange : public QCamera::FrameRateRange { public: - PythonQtShell_QCamera__FrameRateRange():QCamera::FrameRateRange(),_wrapper(NULL) {}; - PythonQtShell_QCamera__FrameRateRange(qreal minimum, qreal maximum):QCamera::FrameRateRange(minimum, maximum),_wrapper(NULL) {}; + PythonQtShell_QCamera__FrameRateRange():QCamera::FrameRateRange(),_wrapper(nullptr) {}; + PythonQtShell_QCamera__FrameRateRange(qreal minimum, qreal maximum):QCamera::FrameRateRange(minimum, maximum),_wrapper(nullptr) {}; ~PythonQtShell_QCamera__FrameRateRange(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QCamera__FrameRateRange : public QObject @@ -726,7 +817,8 @@ class PythonQtWrapper_QCamera__FrameRateRange : public QObject public slots: QCamera::FrameRateRange* new_QCamera__FrameRateRange(); QCamera::FrameRateRange* new_QCamera__FrameRateRange(qreal minimum, qreal maximum); -void delete_QCamera__FrameRateRange(QCamera::FrameRateRange* obj) { delete obj; } +void delete_QCamera__FrameRateRange(QCamera::FrameRateRange* obj) { delete obj; } + bool __ne__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2); bool __eq__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2); void py_set_maximumFrameRate(QCamera::FrameRateRange* theWrappedObject, qreal maximumFrameRate){ theWrappedObject->maximumFrameRate = maximumFrameRate; } qreal py_get_maximumFrameRate(QCamera::FrameRateRange* theWrappedObject){ return theWrappedObject->maximumFrameRate; } @@ -741,20 +833,56 @@ qreal py_get_minimumFrameRate(QCamera::FrameRateRange* theWrappedObject){ retur class PythonQtShell_QGraphicsVideoItem : public QGraphicsVideoItem { public: - PythonQtShell_QGraphicsVideoItem(QGraphicsItem* parent = nullptr):QGraphicsVideoItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsVideoItem(); - -virtual QRectF boundingRect() const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual QMediaObject* mediaObject() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool setMediaObject(QMediaObject* object); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsVideoItem(QGraphicsItem* parent = nullptr):QGraphicsVideoItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsVideoItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +QMediaObject* mediaObject() const override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +bool setMediaObject(QMediaObject* object) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsVideoItem : public QGraphicsVideoItem @@ -775,25 +903,19 @@ class PythonQtWrapper_QGraphicsVideoItem : public QObject public: public slots: QGraphicsVideoItem* new_QGraphicsVideoItem(QGraphicsItem* parent = nullptr); -void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } +void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsVideoItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_boundingRect());} - QVariant itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_itemChange(change, value));} - QMediaObject* mediaObject(QGraphicsVideoItem* theWrappedObject) const; QMediaObject* py_q_mediaObject(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_mediaObject());} QSizeF nativeSize(QGraphicsVideoItem* theWrappedObject) const; QPointF offset(QGraphicsVideoItem* theWrappedObject) const; - void paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_paint(painter, option, widget));} void setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode); - bool setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object); bool py_q_setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_setMediaObject(object));} void setOffset(QGraphicsVideoItem* theWrappedObject, const QPointF& offset); void setSize(QGraphicsVideoItem* theWrappedObject, const QSizeF& size); QSizeF size(QGraphicsVideoItem* theWrappedObject) const; - void timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_timerEvent(event));} QAbstractVideoSurface* videoSurface(QGraphicsVideoItem* theWrappedObject) const; }; @@ -805,19 +927,24 @@ void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } class PythonQtShell_QImageEncoderControl : public QImageEncoderControl { public: - PythonQtShell_QImageEncoderControl(QObject* parent = nullptr):QImageEncoderControl(parent),_wrapper(NULL) {}; + PythonQtShell_QImageEncoderControl(QObject* parent = nullptr):QImageEncoderControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QImageEncoderControl(); + ~PythonQtShell_QImageEncoderControl() override; -virtual QString imageCodecDescription(const QString& codec) const; -virtual QImageEncoderSettings imageSettings() const; -virtual void setImageSettings(const QImageEncoderSettings& settings); -virtual QStringList supportedImageCodecs() const; -virtual QList supportedResolutions(const QImageEncoderSettings& settings, bool* continuous = nullptr) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString imageCodecDescription(const QString& codec) const override; +QImageEncoderSettings imageSettings() const override; +void setImageSettings(const QImageEncoderSettings& settings) override; +QStringList supportedImageCodecs() const override; +QList supportedResolutions(const QImageEncoderSettings& settings, bool* continuous = nullptr) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImageEncoderControl : public QImageEncoderControl @@ -834,7 +961,7 @@ class PythonQtWrapper_QImageEncoderControl : public QObject public: public slots: QImageEncoderControl* new_QImageEncoderControl(QObject* parent = nullptr); -void delete_QImageEncoderControl(QImageEncoderControl* obj) { delete obj; } +void delete_QImageEncoderControl(QImageEncoderControl* obj) { delete obj; } QString imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const; QString py_q_imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const{ return (((PythonQtPublicPromoter_QImageEncoderControl*)theWrappedObject)->py_q_imageCodecDescription(codec));} QImageEncoderSettings imageSettings(QImageEncoderControl* theWrappedObject) const; @@ -857,7 +984,7 @@ class PythonQtWrapper_QImageEncoderSettings : public QObject public slots: QImageEncoderSettings* new_QImageEncoderSettings(); QImageEncoderSettings* new_QImageEncoderSettings(const QImageEncoderSettings& other); -void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } +void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } QString codec(QImageEncoderSettings* theWrappedObject) const; QVariant encodingOption(QImageEncoderSettings* theWrappedObject, const QString& option) const; QMap encodingOptions(QImageEncoderSettings* theWrappedObject) const; @@ -883,14 +1010,19 @@ void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } class PythonQtShell_QMediaAudioProbeControl : public QMediaAudioProbeControl { public: - PythonQtShell_QMediaAudioProbeControl(QObject* parent = nullptr):QMediaAudioProbeControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaAudioProbeControl(QObject* parent = nullptr):QMediaAudioProbeControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaAudioProbeControl(); + ~PythonQtShell_QMediaAudioProbeControl() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaAudioProbeControl : public QObject @@ -898,7 +1030,7 @@ class PythonQtWrapper_QMediaAudioProbeControl : public QObject public: public slots: QMediaAudioProbeControl* new_QMediaAudioProbeControl(QObject* parent = nullptr); -void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; } +void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; } }; @@ -908,15 +1040,20 @@ void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; class PythonQtShell_QMediaAvailabilityControl : public QMediaAvailabilityControl { public: - PythonQtShell_QMediaAvailabilityControl(QObject* parent = nullptr):QMediaAvailabilityControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaAvailabilityControl(QObject* parent = nullptr):QMediaAvailabilityControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaAvailabilityControl(); + ~PythonQtShell_QMediaAvailabilityControl() override; -virtual QMultimedia::AvailabilityStatus availability() const; +QMultimedia::AvailabilityStatus availability() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaAvailabilityControl : public QMediaAvailabilityControl @@ -929,7 +1066,7 @@ class PythonQtWrapper_QMediaAvailabilityControl : public QObject public: public slots: QMediaAvailabilityControl* new_QMediaAvailabilityControl(QObject* parent = nullptr); -void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete obj; } +void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QMediaAvailabilityControl* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaAvailabilityControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaAvailabilityControl*)theWrappedObject)->py_q_availability());} }; @@ -941,14 +1078,14 @@ void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete o class PythonQtShell_QMediaBindableInterface : public QMediaBindableInterface { public: - PythonQtShell_QMediaBindableInterface():QMediaBindableInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaBindableInterface():QMediaBindableInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaBindableInterface(); + ~PythonQtShell_QMediaBindableInterface() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaBindableInterface : public QMediaBindableInterface @@ -963,7 +1100,7 @@ class PythonQtWrapper_QMediaBindableInterface : public QObject public: public slots: QMediaBindableInterface* new_QMediaBindableInterface(); -void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; } +void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; } QMediaObject* mediaObject(QMediaBindableInterface* theWrappedObject) const; QMediaObject* py_q_mediaObject(QMediaBindableInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaBindableInterface*)theWrappedObject)->py_q_mediaObject());} bool setMediaObject(QMediaBindableInterface* theWrappedObject, QMediaObject* object); @@ -977,18 +1114,23 @@ void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; class PythonQtShell_QMediaContainerControl : public QMediaContainerControl { public: - PythonQtShell_QMediaContainerControl(QObject* parent = nullptr):QMediaContainerControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaContainerControl(QObject* parent = nullptr):QMediaContainerControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaContainerControl(); + ~PythonQtShell_QMediaContainerControl() override; -virtual QString containerDescription(const QString& formatMimeType) const; -virtual QString containerFormat() const; -virtual void setContainerFormat(const QString& format); -virtual QStringList supportedContainers() const; +void childEvent(QChildEvent* event) override; +QString containerDescription(const QString& formatMimeType) const override; +QString containerFormat() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setContainerFormat(const QString& format) override; +QStringList supportedContainers() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaContainerControl : public QMediaContainerControl @@ -1004,7 +1146,7 @@ class PythonQtWrapper_QMediaContainerControl : public QObject public: public slots: QMediaContainerControl* new_QMediaContainerControl(QObject* parent = nullptr); -void delete_QMediaContainerControl(QMediaContainerControl* obj) { delete obj; } +void delete_QMediaContainerControl(QMediaContainerControl* obj) { delete obj; } QString containerDescription(QMediaContainerControl* theWrappedObject, const QString& formatMimeType) const; QString py_q_containerDescription(QMediaContainerControl* theWrappedObject, const QString& formatMimeType) const{ return (((PythonQtPublicPromoter_QMediaContainerControl*)theWrappedObject)->py_q_containerDescription(formatMimeType));} QString containerFormat(QMediaContainerControl* theWrappedObject) const; @@ -1030,7 +1172,7 @@ QMediaContent* new_QMediaContent(const QMediaContent& other); QMediaContent* new_QMediaContent(const QMediaResource& contentResource); QMediaContent* new_QMediaContent(const QNetworkRequest& contentRequest); QMediaContent* new_QMediaContent(const QUrl& contentUrl); -void delete_QMediaContent(QMediaContent* obj) { delete obj; } +void delete_QMediaContent(QMediaContent* obj) { delete obj; } QNetworkRequest canonicalRequest(QMediaContent* theWrappedObject) const; QMediaResource canonicalResource(QMediaContent* theWrappedObject) const; QUrl canonicalUrl(QMediaContent* theWrappedObject) const; @@ -1051,14 +1193,19 @@ void delete_QMediaContent(QMediaContent* obj) { delete obj; } class PythonQtShell_QMediaControl : public QMediaControl { public: - PythonQtShell_QMediaControl(QObject* parent = nullptr):QMediaControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaControl(QObject* parent = nullptr):QMediaControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaControl(); + ~PythonQtShell_QMediaControl() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaControl : public QObject @@ -1066,7 +1213,7 @@ class PythonQtWrapper_QMediaControl : public QObject public: public slots: QMediaControl* new_QMediaControl(QObject* parent = nullptr); -void delete_QMediaControl(QMediaControl* obj) { delete obj; } +void delete_QMediaControl(QMediaControl* obj) { delete obj; } }; @@ -1076,19 +1223,24 @@ void delete_QMediaControl(QMediaControl* obj) { delete obj; } class PythonQtShell_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl { public: - PythonQtShell_QMediaGaplessPlaybackControl(QObject* parent = nullptr):QMediaGaplessPlaybackControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaGaplessPlaybackControl(QObject* parent = nullptr):QMediaGaplessPlaybackControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaGaplessPlaybackControl(); + ~PythonQtShell_QMediaGaplessPlaybackControl() override; -virtual qreal crossfadeTime() const; -virtual bool isCrossfadeSupported() const; -virtual QMediaContent nextMedia() const; -virtual void setCrossfadeTime(qreal crossfadeTime); -virtual void setNextMedia(const QMediaContent& media); +void childEvent(QChildEvent* event) override; +qreal crossfadeTime() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCrossfadeSupported() const override; +QMediaContent nextMedia() const override; +void setCrossfadeTime(qreal crossfadeTime) override; +void setNextMedia(const QMediaContent& media) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl @@ -1105,7 +1257,7 @@ class PythonQtWrapper_QMediaGaplessPlaybackControl : public QObject public: public slots: QMediaGaplessPlaybackControl* new_QMediaGaplessPlaybackControl(QObject* parent = nullptr); -void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { delete obj; } +void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { delete obj; } qreal crossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject) const; qreal py_q_crossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaGaplessPlaybackControl*)theWrappedObject)->py_q_crossfadeTime());} bool isCrossfadeSupported(QMediaGaplessPlaybackControl* theWrappedObject) const; @@ -1125,16 +1277,21 @@ void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { de class PythonQtShell_QMediaNetworkAccessControl : public QMediaNetworkAccessControl { public: - PythonQtShell_QMediaNetworkAccessControl(QObject* parent = nullptr):QMediaNetworkAccessControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaNetworkAccessControl(QObject* parent = nullptr):QMediaNetworkAccessControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaNetworkAccessControl(); + ~PythonQtShell_QMediaNetworkAccessControl() override; -virtual QNetworkConfiguration currentConfiguration() const; -virtual void setConfigurations(const QList& configuration); +void childEvent(QChildEvent* event) override; +QNetworkConfiguration currentConfiguration() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setConfigurations(const QList& configuration) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaNetworkAccessControl : public QMediaNetworkAccessControl @@ -1148,7 +1305,7 @@ class PythonQtWrapper_QMediaNetworkAccessControl : public QObject public: public slots: QMediaNetworkAccessControl* new_QMediaNetworkAccessControl(QObject* parent = nullptr); -void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete obj; } +void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete obj; } QNetworkConfiguration currentConfiguration(QMediaNetworkAccessControl* theWrappedObject) const; QNetworkConfiguration py_q_currentConfiguration(QMediaNetworkAccessControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaNetworkAccessControl*)theWrappedObject)->py_q_currentConfiguration());} void setConfigurations(QMediaNetworkAccessControl* theWrappedObject, const QList& configuration); @@ -1162,19 +1319,24 @@ void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete class PythonQtShell_QMediaObject : public QMediaObject { public: - PythonQtShell_QMediaObject(QObject* parent, QMediaService* service):QMediaObject(parent, service),_wrapper(NULL) {}; + PythonQtShell_QMediaObject(QObject* parent, QMediaService* service):QMediaObject(parent, service),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaObject(); + ~PythonQtShell_QMediaObject() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaObject : public QMediaObject @@ -1193,7 +1355,7 @@ class PythonQtWrapper_QMediaObject : public QObject public: public slots: QMediaObject* new_QMediaObject(QObject* parent, QMediaService* service); -void delete_QMediaObject(QMediaObject* obj) { delete obj; } +void delete_QMediaObject(QMediaObject* obj) { delete obj; } void addPropertyWatch(QMediaObject* theWrappedObject, const QByteArray& name); QMultimedia::AvailabilityStatus availability(QMediaObject* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->py_q_availability());} @@ -1220,19 +1382,24 @@ void delete_QMediaObject(QMediaObject* obj) { delete obj; } class PythonQtShell_QMediaPlayer : public QMediaPlayer { public: - PythonQtShell_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()):QMediaPlayer(parent, flags),_wrapper(NULL) {}; + PythonQtShell_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()):QMediaPlayer(parent, flags),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaPlayer(); + ~PythonQtShell_QMediaPlayer() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayer : public QMediaPlayer @@ -1252,7 +1419,7 @@ enum Flag{ Q_DECLARE_FLAGS(Flags, Flag) public slots: QMediaPlayer* new_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()); -void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } +void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } QAudio::Role audioRole(QMediaPlayer* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaPlayer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayer*)theWrappedObject)->py_q_availability());} bool py_q_bind(QMediaPlayer* theWrappedObject, QObject* arg__1){ return (((PythonQtPublicPromoter_QMediaPlayer*)theWrappedObject)->py_q_bind(arg__1));} @@ -1295,36 +1462,41 @@ void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } class PythonQtShell_QMediaPlayerControl : public QMediaPlayerControl { public: - PythonQtShell_QMediaPlayerControl(QObject* parent = nullptr):QMediaPlayerControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMediaPlayerControl(); - -virtual QMediaTimeRange availablePlaybackRanges() const; -virtual int bufferStatus() const; -virtual qint64 duration() const; -virtual bool isAudioAvailable() const; -virtual bool isMuted() const; -virtual bool isSeekable() const; -virtual bool isVideoAvailable() const; -virtual QMediaContent media() const; -virtual QMediaPlayer::MediaStatus mediaStatus() const; -virtual const QIODevice* mediaStream() const; -virtual void pause(); -virtual void play(); -virtual qreal playbackRate() const; -virtual qint64 position() const; -virtual void setMedia(const QMediaContent& media, QIODevice* stream); -virtual void setMuted(bool mute); -virtual void setPlaybackRate(qreal rate); -virtual void setPosition(qint64 position); -virtual void setVolume(int volume); -virtual QMediaPlayer::State state() const; -virtual void stop(); -virtual int volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMediaPlayerControl(QObject* parent = nullptr):QMediaPlayerControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaPlayerControl() override; + +QMediaTimeRange availablePlaybackRanges() const override; +int bufferStatus() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAudioAvailable() const override; +bool isMuted() const override; +bool isSeekable() const override; +bool isVideoAvailable() const override; +QMediaContent media() const override; +QMediaPlayer::MediaStatus mediaStatus() const override; +const QIODevice* mediaStream() const override; +void pause() override; +void play() override; +qreal playbackRate() const override; +qint64 position() const override; +void setMedia(const QMediaContent& media, QIODevice* stream) override; +void setMuted(bool mute) override; +void setPlaybackRate(qreal rate) override; +void setPosition(qint64 position) override; +void setVolume(int volume) override; +QMediaPlayer::State state() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; +int volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayerControl : public QMediaPlayerControl @@ -1358,7 +1530,7 @@ class PythonQtWrapper_QMediaPlayerControl : public QObject public: public slots: QMediaPlayerControl* new_QMediaPlayerControl(QObject* parent = nullptr); -void delete_QMediaPlayerControl(QMediaPlayerControl* obj) { delete obj; } +void delete_QMediaPlayerControl(QMediaPlayerControl* obj) { delete obj; } QMediaTimeRange availablePlaybackRanges(QMediaPlayerControl* theWrappedObject) const; QMediaTimeRange py_q_availablePlaybackRanges(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_availablePlaybackRanges());} int bufferStatus(QMediaPlayerControl* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp similarity index 62% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp index 7364e5e1..6487e755 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp @@ -5,9 +5,11 @@ #include #include #include -#include +#include +#include #include #include +#include #include #include #include @@ -17,10 +19,13 @@ #include #include #include -#include +#include +#include +#include #include -#include -#include +#include +#include +#include #include #include @@ -28,6 +33,116 @@ PythonQtShell_QMediaPlaylist::~PythonQtShell_QMediaPlaylist() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QMediaPlaylist::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlaylist::childEvent(event0); +} +void PythonQtShell_QMediaPlaylist::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlaylist::customEvent(event0); +} +bool PythonQtShell_QMediaPlaylist::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlaylist::event(event0); +} +bool PythonQtShell_QMediaPlaylist::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaPlaylist::eventFilter(watched0, event1); +} QMediaObject* PythonQtShell_QMediaPlaylist::mediaObject() const { if (_wrapper) { @@ -39,19 +154,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -72,19 +187,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -94,6 +209,28 @@ if (_wrapper) { } return QMediaPlaylist::setMediaObject(object0); } +void PythonQtShell_QMediaPlaylist::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaPlaylist::timerEvent(event0); +} QMediaPlaylist* PythonQtWrapper_QMediaPlaylist::new_QMediaPlaylist(QObject* parent) { return new PythonQtShell_QMediaPlaylist(parent); } @@ -191,11 +328,6 @@ int PythonQtWrapper_QMediaPlaylist::mediaCount(QMediaPlaylist* theWrappedObject return ( theWrappedObject->mediaCount()); } -QMediaObject* PythonQtWrapper_QMediaPlaylist::mediaObject(QMediaPlaylist* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - bool PythonQtWrapper_QMediaPlaylist::moveMedia(QMediaPlaylist* theWrappedObject, int from, int to) { return ( theWrappedObject->moveMedia(from, to)); @@ -236,11 +368,6 @@ bool PythonQtWrapper_QMediaPlaylist::save(QMediaPlaylist* theWrappedObject, con return ( theWrappedObject->save(location, format)); } -bool PythonQtWrapper_QMediaPlaylist::setMediaObject(QMediaPlaylist* theWrappedObject, QMediaObject* object) -{ - return ( ((PythonQtPublicPromoter_QMediaPlaylist*)theWrappedObject)->promoted_setMediaObject(object)); -} - void PythonQtWrapper_QMediaPlaylist::setPlaybackMode(QMediaPlaylist* theWrappedObject, QMediaPlaylist::PlaybackMode mode) { ( theWrappedObject->setPlaybackMode(mode)); @@ -252,6 +379,116 @@ PythonQtShell_QMediaRecorder::~PythonQtShell_QMediaRecorder() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QMediaRecorder::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaRecorder::childEvent(event0); +} +void PythonQtShell_QMediaRecorder::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaRecorder::customEvent(event0); +} +bool PythonQtShell_QMediaRecorder::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaRecorder::event(event0); +} +bool PythonQtShell_QMediaRecorder::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaRecorder::eventFilter(watched0, event1); +} QMediaObject* PythonQtShell_QMediaRecorder::mediaObject() const { if (_wrapper) { @@ -263,19 +500,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -296,19 +533,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -318,6 +555,28 @@ if (_wrapper) { } return QMediaRecorder::setMediaObject(object0); } +void PythonQtShell_QMediaRecorder::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaRecorder::timerEvent(event0); +} QMediaRecorder* PythonQtWrapper_QMediaRecorder::new_QMediaRecorder(QMediaObject* mediaObject, QObject* parent) { return new PythonQtShell_QMediaRecorder(mediaObject, parent); } @@ -405,11 +664,6 @@ bool PythonQtWrapper_QMediaRecorder::isMuted(QMediaRecorder* theWrappedObject) return ( theWrappedObject->isMuted()); } -QMediaObject* PythonQtWrapper_QMediaRecorder::mediaObject(QMediaRecorder* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - QVariant PythonQtWrapper_QMediaRecorder::metaData(QMediaRecorder* theWrappedObject, const QString& key) const { return ( theWrappedObject->metaData(key)); @@ -435,11 +689,6 @@ void PythonQtWrapper_QMediaRecorder::setEncodingSettings(QMediaRecorder* theWrap ( theWrappedObject->setEncodingSettings(audioSettings, videoSettings, containerMimeType)); } -bool PythonQtWrapper_QMediaRecorder::setMediaObject(QMediaRecorder* theWrappedObject, QMediaObject* object) -{ - return ( ((PythonQtPublicPromoter_QMediaRecorder*)theWrappedObject)->promoted_setMediaObject(object)); -} - void PythonQtWrapper_QMediaRecorder::setMetaData(QMediaRecorder* theWrappedObject, const QString& key, const QVariant& value) { ( theWrappedObject->setMetaData(key, value)); @@ -526,9 +775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -537,6 +786,50 @@ if (_wrapper) { } } +} +void PythonQtShell_QMediaRecorderControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaRecorderControl::childEvent(event0); +} +void PythonQtShell_QMediaRecorderControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaRecorderControl::customEvent(event0); } qint64 PythonQtShell_QMediaRecorderControl::duration() const { @@ -549,19 +842,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -571,30 +864,30 @@ if (_wrapper) { } return qint64(); } -bool PythonQtShell_QMediaRecorderControl::isMuted() const +bool PythonQtShell_QMediaRecorderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isMuted"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -602,32 +895,32 @@ if (_wrapper) { } } } - return bool(); + return QMediaRecorderControl::event(event0); } -QUrl PythonQtShell_QMediaRecorderControl::outputLocation() const +bool PythonQtShell_QMediaRecorderControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("outputLocation"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QUrl"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QUrl returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("outputLocation", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QUrl*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -635,9 +928,75 @@ if (_wrapper) { } } } - return QUrl(); + return QMediaRecorderControl::eventFilter(watched0, event1); } -void PythonQtShell_QMediaRecorderControl::setMuted(bool muted0) +bool PythonQtShell_QMediaRecorderControl::isMuted() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isMuted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QUrl PythonQtShell_QMediaRecorderControl::outputLocation() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("outputLocation"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QUrl returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("outputLocation", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +void PythonQtShell_QMediaRecorderControl::setMuted(bool muted0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -647,9 +1006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&muted0}; + void* args[2] = {nullptr, (void*)&muted0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -670,19 +1029,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&location0}; + void* args[2] = {nullptr, (void*)&location0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setOutputLocation", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -702,9 +1061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaRecorder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -724,9 +1083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -747,19 +1106,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaRecorder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaRecorder::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QMediaRecorder::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -780,19 +1139,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaRecorder::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaRecorder::Status returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); } else { returnValue = *((QMediaRecorder::Status*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -802,6 +1161,28 @@ if (_wrapper) { } return QMediaRecorder::Status(); } +void PythonQtShell_QMediaRecorderControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaRecorderControl::timerEvent(event0); +} qreal PythonQtShell_QMediaRecorderControl::volume() const { if (_wrapper) { @@ -813,19 +1194,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1046,6 +1427,116 @@ PythonQtShell_QMediaService::~PythonQtShell_QMediaService() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QMediaService::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaService::childEvent(event0); +} +void PythonQtShell_QMediaService::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaService::customEvent(event0); +} +bool PythonQtShell_QMediaService::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaService::event(event0); +} +bool PythonQtShell_QMediaService::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaService::eventFilter(watched0, event1); +} void PythonQtShell_QMediaService::releaseControl(QMediaControl* control0) { if (_wrapper) { @@ -1056,9 +1547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaControl*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&control0}; + void* args[2] = {nullptr, (void*)&control0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1079,19 +1570,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaControl*" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaControl* returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestControl", methodInfo, result); } else { returnValue = *((QMediaControl**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1099,7 +1590,29 @@ if (_wrapper) { } } } - return 0; + return nullptr; +} +void PythonQtShell_QMediaService::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaService::timerEvent(event0); } QMediaService* PythonQtWrapper_QMediaService::new_QMediaService(QObject* parent) { @@ -1145,19 +1658,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1178,19 +1691,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::Position" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QCamera::Position returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); } else { returnValue = *((QCamera::Position*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1231,19 +1744,19 @@ if (_wrapper) { static const char* argumentList[] ={"QByteArray" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QByteArray returnValue{}; - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultDevice", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1279,19 +1792,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaService* returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1299,7 +1812,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaServiceProviderFactoryInterface::release(QMediaService* service0) { @@ -1311,9 +1824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1421,19 +1934,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaService* returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1441,7 +1954,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaServiceProviderPlugin::release(QMediaService* service0) { @@ -1453,9 +1966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1509,19 +2022,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QByteArray&" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&service0, (void*)&device1}; + void* args[3] = {nullptr, (void*)&service0, (void*)&device1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1542,19 +2055,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1595,19 +2108,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::SupportEstimate" , "const QString&" , "const QStringList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QMultimedia::SupportEstimate returnValue{}; - void* args[3] = {NULL, (void*)&mimeType0, (void*)&codecs1}; + void* args[3] = {nullptr, (void*)&mimeType0, (void*)&codecs1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasSupport", methodInfo, result); } else { returnValue = *((QMultimedia::SupportEstimate*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1628,19 +2141,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedMimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1670,6 +2183,116 @@ PythonQtShell_QMediaStreamsControl::~PythonQtShell_QMediaStreamsControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QMediaStreamsControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaStreamsControl::childEvent(event0); +} +void PythonQtShell_QMediaStreamsControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaStreamsControl::customEvent(event0); +} +bool PythonQtShell_QMediaStreamsControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaStreamsControl::event(event0); +} +bool PythonQtShell_QMediaStreamsControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaStreamsControl::eventFilter(watched0, event1); +} bool PythonQtShell_QMediaStreamsControl::isActive(int streamNumber0) { if (_wrapper) { @@ -1681,19 +2304,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&streamNumber0}; + void* args[2] = {nullptr, (void*)&streamNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isActive", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1714,19 +2337,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&streamNumber0, (void*)&key1}; + void* args[3] = {nullptr, (void*)&streamNumber0, (void*)&key1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1746,9 +2369,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&streamNumber0, (void*)&state1}; + void* args[3] = {nullptr, (void*)&streamNumber0, (void*)&state1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1769,19 +2392,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("streamCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1802,19 +2425,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaStreamsControl::StreamType" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaStreamsControl::StreamType returnValue{}; - void* args[2] = {NULL, (void*)&streamNumber0}; + void* args[2] = {nullptr, (void*)&streamNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("streamType", methodInfo, result); } else { returnValue = *((QMediaStreamsControl::StreamType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1824,12 +2447,34 @@ if (_wrapper) { } return QMediaStreamsControl::StreamType(); } -QMediaStreamsControl* PythonQtWrapper_QMediaStreamsControl::new_QMediaStreamsControl(QObject* parent) -{ -return new PythonQtShell_QMediaStreamsControl(parent); } - -const QMetaObject* PythonQtShell_QMediaStreamsControl::metaObject() const { - if (QObject::d_ptr->metaObject) { +void PythonQtShell_QMediaStreamsControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaStreamsControl::timerEvent(event0); +} +QMediaStreamsControl* PythonQtWrapper_QMediaStreamsControl::new_QMediaStreamsControl(QObject* parent) +{ +return new PythonQtShell_QMediaStreamsControl(parent); } + +const QMetaObject* PythonQtShell_QMediaStreamsControl::metaObject() const { + if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMediaStreamsControl::staticMetaObject); @@ -1900,6 +2545,16 @@ QMediaTimeInterval PythonQtWrapper_QMediaTimeInterval::normalized(QMediaTimeInt return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QMediaTimeInterval::__ne__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + +QMediaTimeInterval* PythonQtWrapper_QMediaTimeInterval::operator_assign(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + bool PythonQtWrapper_QMediaTimeInterval::__eq__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2) { return ( (*theWrappedObject)== arg__2); @@ -1983,6 +2638,11 @@ qint64 PythonQtWrapper_QMediaTimeRange::latestTime(QMediaTimeRange* theWrappedO return ( theWrappedObject->latestTime()); } +bool PythonQtWrapper_QMediaTimeRange::__ne__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + QMediaTimeRange PythonQtWrapper_QMediaTimeRange::__add__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) { return ( (*theWrappedObject)+ arg__2); @@ -2056,6 +2716,138 @@ PythonQtShell_QMediaVideoProbeControl::~PythonQtShell_QMediaVideoProbeControl() PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QMediaVideoProbeControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaVideoProbeControl::childEvent(event0); +} +void PythonQtShell_QMediaVideoProbeControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaVideoProbeControl::customEvent(event0); +} +bool PythonQtShell_QMediaVideoProbeControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaVideoProbeControl::event(event0); +} +bool PythonQtShell_QMediaVideoProbeControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMediaVideoProbeControl::eventFilter(watched0, event1); +} +void PythonQtShell_QMediaVideoProbeControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMediaVideoProbeControl::timerEvent(event0); +} QMediaVideoProbeControl* PythonQtWrapper_QMediaVideoProbeControl::new_QMediaVideoProbeControl(QObject* parent) { return new PythonQtShell_QMediaVideoProbeControl(parent); } @@ -2090,19 +2882,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2112,6 +2904,116 @@ if (_wrapper) { } return QStringList(); } +void PythonQtShell_QMetaDataReaderControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMetaDataReaderControl::childEvent(event0); +} +void PythonQtShell_QMetaDataReaderControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMetaDataReaderControl::customEvent(event0); +} +bool PythonQtShell_QMetaDataReaderControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMetaDataReaderControl::event(event0); +} +bool PythonQtShell_QMetaDataReaderControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMetaDataReaderControl::eventFilter(watched0, event1); +} bool PythonQtShell_QMetaDataReaderControl::isMetaDataAvailable() const { if (_wrapper) { @@ -2123,19 +3025,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2156,19 +3058,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2178,6 +3080,28 @@ if (_wrapper) { } return QVariant(); } +void PythonQtShell_QMetaDataReaderControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMetaDataReaderControl::timerEvent(event0); +} QMetaDataReaderControl* PythonQtWrapper_QMetaDataReaderControl::new_QMetaDataReaderControl(QObject* parent) { return new PythonQtShell_QMetaDataReaderControl(parent); } @@ -2227,19 +3151,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2249,6 +3173,116 @@ if (_wrapper) { } return QStringList(); } +void PythonQtShell_QMetaDataWriterControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMetaDataWriterControl::childEvent(event0); +} +void PythonQtShell_QMetaDataWriterControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMetaDataWriterControl::customEvent(event0); +} +bool PythonQtShell_QMetaDataWriterControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMetaDataWriterControl::event(event0); +} +bool PythonQtShell_QMetaDataWriterControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QMetaDataWriterControl::eventFilter(watched0, event1); +} bool PythonQtShell_QMetaDataWriterControl::isMetaDataAvailable() const { if (_wrapper) { @@ -2260,19 +3294,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2293,19 +3327,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isWritable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2326,19 +3360,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2358,9 +3392,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&key0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2369,6 +3403,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QMetaDataWriterControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QMetaDataWriterControl::timerEvent(event0); } QMetaDataWriterControl* PythonQtWrapper_QMetaDataWriterControl::new_QMetaDataWriterControl(QObject* parent) { @@ -2420,6 +3476,116 @@ PythonQtShell_QRadioData::~PythonQtShell_QRadioData() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QRadioData::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioData::childEvent(event0); +} +void PythonQtShell_QRadioData::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioData::customEvent(event0); +} +bool PythonQtShell_QRadioData::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioData::event(event0); +} +bool PythonQtShell_QRadioData::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioData::eventFilter(watched0, event1); +} QMediaObject* PythonQtShell_QRadioData::mediaObject() const { if (_wrapper) { @@ -2431,19 +3597,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2464,19 +3630,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2486,6 +3652,28 @@ if (_wrapper) { } return QRadioData::setMediaObject(arg__1); } +void PythonQtShell_QRadioData::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioData::timerEvent(event0); +} QRadioData* PythonQtWrapper_QRadioData::new_QRadioData(QMediaObject* mediaObject, QObject* parent) { return new PythonQtShell_QRadioData(mediaObject, parent); } @@ -2523,11 +3711,6 @@ bool PythonQtWrapper_QRadioData::isAlternativeFrequenciesEnabled(QRadioData* th return ( theWrappedObject->isAlternativeFrequenciesEnabled()); } -QMediaObject* PythonQtWrapper_QRadioData::mediaObject(QRadioData* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - QRadioData::ProgramType PythonQtWrapper_QRadioData::programType(QRadioData* theWrappedObject) const { return ( theWrappedObject->programType()); @@ -2543,11 +3726,6 @@ QString PythonQtWrapper_QRadioData::radioText(QRadioData* theWrappedObject) con return ( theWrappedObject->radioText()); } -bool PythonQtWrapper_QRadioData::setMediaObject(QRadioData* theWrappedObject, QMediaObject* arg__1) -{ - return ( ((PythonQtPublicPromoter_QRadioData*)theWrappedObject)->promoted_setMediaObject(arg__1)); -} - QString PythonQtWrapper_QRadioData::stationId(QRadioData* theWrappedObject) const { return ( theWrappedObject->stationId()); @@ -2557,12 +3735,56 @@ QString PythonQtWrapper_QRadioData::stationName(QRadioData* theWrappedObject) c { return ( theWrappedObject->stationName()); } - - - -PythonQtShell_QRadioDataControl::~PythonQtShell_QRadioDataControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + + + +PythonQtShell_QRadioDataControl::~PythonQtShell_QRadioDataControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRadioDataControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioDataControl::childEvent(event0); +} +void PythonQtShell_QRadioDataControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioDataControl::customEvent(event0); } QRadioData::Error PythonQtShell_QRadioDataControl::error() const { @@ -2575,19 +3797,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioData::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioData::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QRadioData::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2608,19 +3830,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2630,6 +3852,72 @@ if (_wrapper) { } return QString(); } +bool PythonQtShell_QRadioDataControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioDataControl::event(event0); +} +bool PythonQtShell_QRadioDataControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioDataControl::eventFilter(watched0, event1); +} bool PythonQtShell_QRadioDataControl::isAlternativeFrequenciesEnabled() const { if (_wrapper) { @@ -2641,19 +3929,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAlternativeFrequenciesEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2674,19 +3962,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioData::ProgramType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioData::ProgramType returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("programType", methodInfo, result); } else { returnValue = *((QRadioData::ProgramType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2707,19 +3995,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("programTypeName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2740,19 +4028,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("radioText", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2772,9 +4060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&enabled0}; + void* args[2] = {nullptr, (void*)&enabled0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2795,19 +4083,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stationId", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2828,19 +4116,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stationName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2850,6 +4138,28 @@ if (_wrapper) { } return QString(); } +void PythonQtShell_QRadioDataControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioDataControl::timerEvent(event0); +} QRadioDataControl* PythonQtWrapper_QRadioDataControl::new_QRadioDataControl(QObject* parent) { return new PythonQtShell_QRadioDataControl(parent); } @@ -2929,19 +4239,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2962,19 +4272,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2984,6 +4294,116 @@ if (_wrapper) { } return QRadioTuner::bind(arg__1); } +void PythonQtShell_QRadioTuner::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioTuner::childEvent(event0); +} +void PythonQtShell_QRadioTuner::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioTuner::customEvent(event0); +} +bool PythonQtShell_QRadioTuner::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::event(event0); +} +bool PythonQtShell_QRadioTuner::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTuner::eventFilter(watched0, event1); +} bool PythonQtShell_QRadioTuner::isAvailable() const { if (_wrapper) { @@ -2995,19 +4415,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3028,19 +4448,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3050,6 +4470,28 @@ if (_wrapper) { } return QRadioTuner::service(); } +void PythonQtShell_QRadioTuner::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioTuner::timerEvent(event0); +} void PythonQtShell_QRadioTuner::unbind(QObject* arg__1) { if (_wrapper) { @@ -3060,9 +4502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3191,19 +4633,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::Band returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("band", methodInfo, result); } else { returnValue = *((QRadioTuner::Band*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3223,9 +4665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3234,6 +4676,50 @@ if (_wrapper) { } } +} +void PythonQtShell_QRadioTunerControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioTunerControl::childEvent(event0); +} +void PythonQtShell_QRadioTunerControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioTunerControl::customEvent(event0); } QRadioTuner::Error PythonQtShell_QRadioTunerControl::error() const { @@ -3246,19 +4732,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QRadioTuner::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3279,19 +4765,85 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +bool PythonQtShell_QRadioTunerControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioTunerControl::event(event0); +} +bool PythonQtShell_QRadioTunerControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3299,7 +4851,7 @@ if (_wrapper) { } } } - return QString(); + return QRadioTunerControl::eventFilter(watched0, event1); } int PythonQtShell_QRadioTunerControl::frequency() const { @@ -3312,19 +4864,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequency", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3345,19 +4897,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPair" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPair returnValue{}; - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequencyRange", methodInfo, result); } else { returnValue = *((QPair*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3378,19 +4930,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequencyStep", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3411,19 +4963,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAntennaConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3444,19 +4996,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isBandSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3477,19 +5029,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3510,19 +5062,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSearching", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3543,19 +5095,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isStereo", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3575,9 +5127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::SearchMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&searchMode0}; + void* args[2] = {nullptr, (void*)&searchMode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3597,9 +5149,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3619,9 +5171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3641,9 +5193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3663,9 +5215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&frequency0}; + void* args[2] = {nullptr, (void*)&frequency0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3685,9 +5237,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&muted0}; + void* args[2] = {nullptr, (void*)&muted0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3707,9 +5259,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::StereoMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3729,9 +5281,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3752,19 +5304,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("signalStrength", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3784,9 +5336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3807,19 +5359,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QRadioTuner::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3840,19 +5392,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::StereoMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::StereoMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stereoMode", methodInfo, result); } else { returnValue = *((QRadioTuner::StereoMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3872,9 +5424,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3883,6 +5435,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QRadioTunerControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRadioTunerControl::timerEvent(event0); } int PythonQtShell_QRadioTunerControl::volume() const { @@ -3895,19 +5469,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4066,10 +5640,159 @@ int PythonQtWrapper_QRadioTunerControl::volume(QRadioTunerControl* theWrappedOb +PythonQtShell_QSound::~PythonQtShell_QSound() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSound::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSound::childEvent(event0); +} +void PythonQtShell_QSound::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSound::customEvent(event0); +} +bool PythonQtShell_QSound::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSound::event(event0); +} +bool PythonQtShell_QSound::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSound::eventFilter(watched0, event1); +} +void PythonQtShell_QSound::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSound::timerEvent(event0); +} QSound* PythonQtWrapper_QSound::new_QSound(const QString& filename, QObject* parent) { -return new QSound(filename, parent); } +return new PythonQtShell_QSound(filename, parent); } +const QMetaObject* PythonQtShell_QSound::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSound::staticMetaObject); + } else { + return &QSound::staticMetaObject; + } +} +int PythonQtShell_QSound::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSound::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} QString PythonQtWrapper_QSound::fileName(QSound* theWrappedObject) const { return ( theWrappedObject->fileName()); @@ -4106,6 +5829,138 @@ PythonQtShell_QSoundEffect::~PythonQtShell_QSoundEffect() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QSoundEffect::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSoundEffect::childEvent(event0); +} +void PythonQtShell_QSoundEffect::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSoundEffect::customEvent(event0); +} +bool PythonQtShell_QSoundEffect::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSoundEffect::event(event0); +} +bool PythonQtShell_QSoundEffect::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSoundEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QSoundEffect::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSoundEffect::timerEvent(event0); +} QSoundEffect* PythonQtWrapper_QSoundEffect::new_QSoundEffect(QObject* parent) { return new PythonQtShell_QSoundEffect(parent); } @@ -4208,6 +6063,50 @@ PythonQtShell_QVideoDeviceSelectorControl::~PythonQtShell_QVideoDeviceSelectorCo PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QVideoDeviceSelectorControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoDeviceSelectorControl::childEvent(event0); +} +void PythonQtShell_QVideoDeviceSelectorControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoDeviceSelectorControl::customEvent(event0); +} int PythonQtShell_QVideoDeviceSelectorControl::defaultDevice() const { if (_wrapper) { @@ -4219,19 +6118,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultDevice", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4252,19 +6151,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4285,19 +6184,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4318,19 +6217,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4340,6 +6239,72 @@ if (_wrapper) { } return QString(); } +bool PythonQtShell_QVideoDeviceSelectorControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoDeviceSelectorControl::event(event0); +} +bool PythonQtShell_QVideoDeviceSelectorControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoDeviceSelectorControl::eventFilter(watched0, event1); +} int PythonQtShell_QVideoDeviceSelectorControl::selectedDevice() const { if (_wrapper) { @@ -4351,19 +6316,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedDevice", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4383,9 +6348,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4394,6 +6359,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QVideoDeviceSelectorControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoDeviceSelectorControl::timerEvent(event0); } QVideoDeviceSelectorControl* PythonQtWrapper_QVideoDeviceSelectorControl::new_QVideoDeviceSelectorControl(QObject* parent) { @@ -4558,6 +6545,116 @@ PythonQtShell_QVideoEncoderSettingsControl::~PythonQtShell_QVideoEncoderSettings PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QVideoEncoderSettingsControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoEncoderSettingsControl::childEvent(event0); +} +void PythonQtShell_QVideoEncoderSettingsControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoEncoderSettingsControl::customEvent(event0); +} +bool PythonQtShell_QVideoEncoderSettingsControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoEncoderSettingsControl::event(event0); +} +bool PythonQtShell_QVideoEncoderSettingsControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoEncoderSettingsControl::eventFilter(watched0, event1); +} void PythonQtShell_QVideoEncoderSettingsControl::setVideoSettings(const QVideoEncoderSettings& settings0) { if (_wrapper) { @@ -4568,9 +6665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVideoEncoderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4591,19 +6688,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedFrameRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4624,19 +6721,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4657,19 +6754,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedVideoCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4679,6 +6776,28 @@ if (_wrapper) { } return QStringList(); } +void PythonQtShell_QVideoEncoderSettingsControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoEncoderSettingsControl::timerEvent(event0); +} QString PythonQtShell_QVideoEncoderSettingsControl::videoCodecDescription(const QString& codec0) const { if (_wrapper) { @@ -4690,19 +6809,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&codec0}; + void* args[2] = {nullptr, (void*)&codec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoCodecDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4723,19 +6842,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVideoEncoderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVideoEncoderSettings returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoSettings", methodInfo, result); } else { returnValue = *((QVideoEncoderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5012,6 +7131,138 @@ PythonQtShell_QVideoProbe::~PythonQtShell_QVideoProbe() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QVideoProbe::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoProbe::childEvent(event0); +} +void PythonQtShell_QVideoProbe::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoProbe::customEvent(event0); +} +bool PythonQtShell_QVideoProbe::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoProbe::event(event0); +} +bool PythonQtShell_QVideoProbe::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoProbe::eventFilter(watched0, event1); +} +void PythonQtShell_QVideoProbe::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoProbe::timerEvent(event0); +} QVideoProbe* PythonQtWrapper_QVideoProbe::new_QVideoProbe(QObject* parent) { return new PythonQtShell_QVideoProbe(parent); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h similarity index 81% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h index bb93cff1..2dde8f7b 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h @@ -3,9 +3,11 @@ #include #include #include -#include +#include +#include #include #include +#include #include #include #include @@ -21,14 +23,19 @@ #include #include #include +#include #include -#include +#include +#include #include #include #include #include +#include #include #include +#include +#include #include #include #include @@ -40,16 +47,21 @@ class PythonQtShell_QMediaPlaylist : public QMediaPlaylist { public: - PythonQtShell_QMediaPlaylist(QObject* parent = nullptr):QMediaPlaylist(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaPlaylist(QObject* parent = nullptr):QMediaPlaylist(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaPlaylist(); + ~PythonQtShell_QMediaPlaylist() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlaylist : public QMediaPlaylist @@ -64,7 +76,7 @@ class PythonQtWrapper_QMediaPlaylist : public QObject public: public slots: QMediaPlaylist* new_QMediaPlaylist(QObject* parent = nullptr); -void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } +void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } bool addMedia(QMediaPlaylist* theWrappedObject, const QList& items); bool addMedia(QMediaPlaylist* theWrappedObject, const QMediaContent& content); bool clear(QMediaPlaylist* theWrappedObject); @@ -81,7 +93,6 @@ void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } void load(QMediaPlaylist* theWrappedObject, const QUrl& location, const char* format = nullptr); QMediaContent media(QMediaPlaylist* theWrappedObject, int index) const; int mediaCount(QMediaPlaylist* theWrappedObject) const; - QMediaObject* mediaObject(QMediaPlaylist* theWrappedObject) const; QMediaObject* py_q_mediaObject(QMediaPlaylist* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlaylist*)theWrappedObject)->py_q_mediaObject());} bool moveMedia(QMediaPlaylist* theWrappedObject, int from, int to); int nextIndex(QMediaPlaylist* theWrappedObject, int steps = 1) const; @@ -91,7 +102,6 @@ void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } bool removeMedia(QMediaPlaylist* theWrappedObject, int start, int end); bool save(QMediaPlaylist* theWrappedObject, QIODevice* device, const char* format); bool save(QMediaPlaylist* theWrappedObject, const QUrl& location, const char* format = nullptr); - bool setMediaObject(QMediaPlaylist* theWrappedObject, QMediaObject* object); bool py_q_setMediaObject(QMediaPlaylist* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QMediaPlaylist*)theWrappedObject)->py_q_setMediaObject(object));} void setPlaybackMode(QMediaPlaylist* theWrappedObject, QMediaPlaylist::PlaybackMode mode); bool __nonzero__(QMediaPlaylist* obj) { return !obj->isEmpty(); } @@ -104,16 +114,21 @@ void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } class PythonQtShell_QMediaRecorder : public QMediaRecorder { public: - PythonQtShell_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr):QMediaRecorder(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr):QMediaRecorder(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaRecorder(); + ~PythonQtShell_QMediaRecorder() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorder : public QMediaRecorder @@ -128,7 +143,7 @@ class PythonQtWrapper_QMediaRecorder : public QObject public: public slots: QMediaRecorder* new_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } +void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } QUrl actualLocation(QMediaRecorder* theWrappedObject) const; QString audioCodecDescription(QMediaRecorder* theWrappedObject, const QString& codecName) const; QAudioEncoderSettings audioSettings(QMediaRecorder* theWrappedObject) const; @@ -143,14 +158,12 @@ void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } bool isMetaDataAvailable(QMediaRecorder* theWrappedObject) const; bool isMetaDataWritable(QMediaRecorder* theWrappedObject) const; bool isMuted(QMediaRecorder* theWrappedObject) const; - QMediaObject* mediaObject(QMediaRecorder* theWrappedObject) const; QMediaObject* py_q_mediaObject(QMediaRecorder* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaRecorder*)theWrappedObject)->py_q_mediaObject());} QVariant metaData(QMediaRecorder* theWrappedObject, const QString& key) const; QUrl outputLocation(QMediaRecorder* theWrappedObject) const; void setAudioSettings(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& audioSettings); void setContainerFormat(QMediaRecorder* theWrappedObject, const QString& container); void setEncodingSettings(QMediaRecorder* theWrappedObject, const QAudioEncoderSettings& audioSettings, const QVideoEncoderSettings& videoSettings = QVideoEncoderSettings(), const QString& containerMimeType = QString()); - bool setMediaObject(QMediaRecorder* theWrappedObject, QMediaObject* object); bool py_q_setMediaObject(QMediaRecorder* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QMediaRecorder*)theWrappedObject)->py_q_setMediaObject(object));} void setMetaData(QMediaRecorder* theWrappedObject, const QString& key, const QVariant& value); bool setOutputLocation(QMediaRecorder* theWrappedObject, const QUrl& location); @@ -175,25 +188,30 @@ void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } class PythonQtShell_QMediaRecorderControl : public QMediaRecorderControl { public: - PythonQtShell_QMediaRecorderControl(QObject* parent = nullptr):QMediaRecorderControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMediaRecorderControl(); - -virtual void applySettings(); -virtual qint64 duration() const; -virtual bool isMuted() const; -virtual QUrl outputLocation() const; -virtual void setMuted(bool muted); -virtual bool setOutputLocation(const QUrl& location); -virtual void setState(QMediaRecorder::State state); -virtual void setVolume(qreal volume); -virtual QMediaRecorder::State state() const; -virtual QMediaRecorder::Status status() const; -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMediaRecorderControl(QObject* parent = nullptr):QMediaRecorderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaRecorderControl() override; + +void applySettings() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMuted() const override; +QUrl outputLocation() const override; +void setMuted(bool muted) override; +bool setOutputLocation(const QUrl& location) override; +void setState(QMediaRecorder::State state) override; +void setVolume(qreal volume) override; +QMediaRecorder::State state() const override; +QMediaRecorder::Status status() const override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorderControl : public QMediaRecorderControl @@ -216,7 +234,7 @@ class PythonQtWrapper_QMediaRecorderControl : public QObject public: public slots: QMediaRecorderControl* new_QMediaRecorderControl(QObject* parent = nullptr); -void delete_QMediaRecorderControl(QMediaRecorderControl* obj) { delete obj; } +void delete_QMediaRecorderControl(QMediaRecorderControl* obj) { delete obj; } void applySettings(QMediaRecorderControl* theWrappedObject); void py_q_applySettings(QMediaRecorderControl* theWrappedObject){ (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_applySettings());} qint64 duration(QMediaRecorderControl* theWrappedObject) const; @@ -250,7 +268,7 @@ QMediaResource* new_QMediaResource(); QMediaResource* new_QMediaResource(const QMediaResource& other); QMediaResource* new_QMediaResource(const QNetworkRequest& request, const QString& mimeType = QString()); QMediaResource* new_QMediaResource(const QUrl& url, const QString& mimeType = QString()); -void delete_QMediaResource(QMediaResource* obj) { delete obj; } +void delete_QMediaResource(QMediaResource* obj) { delete obj; } int audioBitRate(QMediaResource* theWrappedObject) const; QString audioCodec(QMediaResource* theWrappedObject) const; int channelCount(QMediaResource* theWrappedObject) const; @@ -287,16 +305,21 @@ void delete_QMediaResource(QMediaResource* obj) { delete obj; } class PythonQtShell_QMediaService : public QMediaService { public: - PythonQtShell_QMediaService(QObject* parent):QMediaService(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaService(QObject* parent):QMediaService(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaService(); + ~PythonQtShell_QMediaService() override; -virtual void releaseControl(QMediaControl* control); -virtual QMediaControl* requestControl(const char* name); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void releaseControl(QMediaControl* control) override; +QMediaControl* requestControl(const char* name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaService : public QMediaService @@ -310,7 +333,7 @@ class PythonQtWrapper_QMediaService : public QObject public: public slots: QMediaService* new_QMediaService(QObject* parent); -void delete_QMediaService(QMediaService* obj) { delete obj; } +void delete_QMediaService(QMediaService* obj) { delete obj; } void releaseControl(QMediaService* theWrappedObject, QMediaControl* control); void py_q_releaseControl(QMediaService* theWrappedObject, QMediaControl* control){ (((PythonQtPublicPromoter_QMediaService*)theWrappedObject)->py_q_releaseControl(control));} QMediaControl* requestControl(QMediaService* theWrappedObject, const char* name); @@ -324,14 +347,14 @@ void delete_QMediaService(QMediaService* obj) { delete obj; } class PythonQtShell_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface { public: - PythonQtShell_QMediaServiceCameraInfoInterface():QMediaServiceCameraInfoInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceCameraInfoInterface():QMediaServiceCameraInfoInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceCameraInfoInterface(); + ~PythonQtShell_QMediaServiceCameraInfoInterface() override; -virtual int cameraOrientation(const QByteArray& device) const; -virtual QCamera::Position cameraPosition(const QByteArray& device) const; +int cameraOrientation(const QByteArray& device) const override; +QCamera::Position cameraPosition(const QByteArray& device) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface @@ -345,7 +368,7 @@ class PythonQtWrapper_QMediaServiceCameraInfoInterface : public QObject public: public slots: QMediaServiceCameraInfoInterface* new_QMediaServiceCameraInfoInterface(); -void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* obj) { delete obj; } +void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* obj) { delete obj; } int cameraOrientation(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const; int py_q_cameraOrientation(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const{ return (((PythonQtPublicPromoter_QMediaServiceCameraInfoInterface*)theWrappedObject)->py_q_cameraOrientation(device));} QCamera::Position cameraPosition(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const; @@ -359,13 +382,13 @@ void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* o class PythonQtShell_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface { public: - PythonQtShell_QMediaServiceDefaultDeviceInterface():QMediaServiceDefaultDeviceInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceDefaultDeviceInterface():QMediaServiceDefaultDeviceInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceDefaultDeviceInterface(); + ~PythonQtShell_QMediaServiceDefaultDeviceInterface() override; -virtual QByteArray defaultDevice(const QByteArray& service) const; +QByteArray defaultDevice(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface @@ -378,7 +401,7 @@ class PythonQtWrapper_QMediaServiceDefaultDeviceInterface : public QObject public: public slots: QMediaServiceDefaultDeviceInterface* new_QMediaServiceDefaultDeviceInterface(); -void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterface* obj) { delete obj; } +void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterface* obj) { delete obj; } QByteArray defaultDevice(QMediaServiceDefaultDeviceInterface* theWrappedObject, const QByteArray& service) const; QByteArray py_q_defaultDevice(QMediaServiceDefaultDeviceInterface* theWrappedObject, const QByteArray& service) const{ return (((PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface*)theWrappedObject)->py_q_defaultDevice(service));} }; @@ -390,14 +413,14 @@ void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterf class PythonQtShell_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface { public: - PythonQtShell_QMediaServiceProviderFactoryInterface():QMediaServiceProviderFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceProviderFactoryInterface():QMediaServiceProviderFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceProviderFactoryInterface(); + ~PythonQtShell_QMediaServiceProviderFactoryInterface() override; -virtual QMediaService* create(const QString& key); -virtual void release(QMediaService* service); +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface @@ -411,7 +434,7 @@ class PythonQtWrapper_QMediaServiceProviderFactoryInterface : public QObject public: public slots: QMediaServiceProviderFactoryInterface* new_QMediaServiceProviderFactoryInterface(); -void delete_QMediaServiceProviderFactoryInterface(QMediaServiceProviderFactoryInterface* obj) { delete obj; } +void delete_QMediaServiceProviderFactoryInterface(QMediaServiceProviderFactoryInterface* obj) { delete obj; } QMediaService* create(QMediaServiceProviderFactoryInterface* theWrappedObject, const QString& key); QMediaService* py_q_create(QMediaServiceProviderFactoryInterface* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface*)theWrappedObject)->py_q_create(key));} void release(QMediaServiceProviderFactoryInterface* theWrappedObject, QMediaService* service); @@ -436,7 +459,7 @@ QMediaServiceProviderHint* new_QMediaServiceProviderHint(QCamera::Position posi QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QByteArray& device); QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QMediaServiceProviderHint& other); QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QString& mimeType, const QStringList& codecs); -void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete obj; } +void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete obj; } QCamera::Position cameraPosition(QMediaServiceProviderHint* theWrappedObject) const; QStringList codecs(QMediaServiceProviderHint* theWrappedObject) const; QByteArray device(QMediaServiceProviderHint* theWrappedObject) const; @@ -456,16 +479,16 @@ void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete o class PythonQtShell_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin { public: - PythonQtShell_QMediaServiceProviderPlugin():QMediaServiceProviderPlugin(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceProviderPlugin():QMediaServiceProviderPlugin(),_wrapper(nullptr) {}; ~PythonQtShell_QMediaServiceProviderPlugin(); -virtual QMediaService* create(const QString& key); -virtual void release(QMediaService* service); +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin @@ -479,7 +502,7 @@ class PythonQtWrapper_QMediaServiceProviderPlugin : public QObject public: public slots: QMediaServiceProviderPlugin* new_QMediaServiceProviderPlugin(); -void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { delete obj; } +void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { delete obj; } QMediaService* create(QMediaServiceProviderPlugin* theWrappedObject, const QString& key); QMediaService* py_q_create(QMediaServiceProviderPlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QMediaServiceProviderPlugin*)theWrappedObject)->py_q_create(key));} void release(QMediaServiceProviderPlugin* theWrappedObject, QMediaService* service); @@ -493,14 +516,14 @@ void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { dele class PythonQtShell_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface { public: - PythonQtShell_QMediaServiceSupportedDevicesInterface():QMediaServiceSupportedDevicesInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceSupportedDevicesInterface():QMediaServiceSupportedDevicesInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceSupportedDevicesInterface(); + ~PythonQtShell_QMediaServiceSupportedDevicesInterface() override; -virtual QString deviceDescription(const QByteArray& service, const QByteArray& device); -virtual QList devices(const QByteArray& service) const; +QString deviceDescription(const QByteArray& service, const QByteArray& device) override; +QList devices(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface @@ -514,7 +537,7 @@ class PythonQtWrapper_QMediaServiceSupportedDevicesInterface : public QObject public: public slots: QMediaServiceSupportedDevicesInterface* new_QMediaServiceSupportedDevicesInterface(); -void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevicesInterface* obj) { delete obj; } +void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevicesInterface* obj) { delete obj; } QString deviceDescription(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service, const QByteArray& device); QString py_q_deviceDescription(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service, const QByteArray& device){ return (((PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface*)theWrappedObject)->py_q_deviceDescription(service, device));} QList devices(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service) const; @@ -528,14 +551,14 @@ void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevices class PythonQtShell_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface { public: - PythonQtShell_QMediaServiceSupportedFormatsInterface():QMediaServiceSupportedFormatsInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceSupportedFormatsInterface():QMediaServiceSupportedFormatsInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceSupportedFormatsInterface(); + ~PythonQtShell_QMediaServiceSupportedFormatsInterface() override; -virtual QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const; -virtual QStringList supportedMimeTypes() const; +QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const override; +QStringList supportedMimeTypes() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface @@ -549,7 +572,7 @@ class PythonQtWrapper_QMediaServiceSupportedFormatsInterface : public QObject public: public slots: QMediaServiceSupportedFormatsInterface* new_QMediaServiceSupportedFormatsInterface(); -void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormatsInterface* obj) { delete obj; } +void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormatsInterface* obj) { delete obj; } QMultimedia::SupportEstimate hasSupport(QMediaServiceSupportedFormatsInterface* theWrappedObject, const QString& mimeType, const QStringList& codecs) const; QMultimedia::SupportEstimate py_q_hasSupport(QMediaServiceSupportedFormatsInterface* theWrappedObject, const QString& mimeType, const QStringList& codecs) const{ return (((PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface*)theWrappedObject)->py_q_hasSupport(mimeType, codecs));} QStringList supportedMimeTypes(QMediaServiceSupportedFormatsInterface* theWrappedObject) const; @@ -563,19 +586,24 @@ void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormats class PythonQtShell_QMediaStreamsControl : public QMediaStreamsControl { public: - PythonQtShell_QMediaStreamsControl(QObject* parent = nullptr):QMediaStreamsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaStreamsControl(QObject* parent = nullptr):QMediaStreamsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaStreamsControl(); + ~PythonQtShell_QMediaStreamsControl() override; -virtual bool isActive(int streamNumber); -virtual QVariant metaData(int streamNumber, const QString& key); -virtual void setActive(int streamNumber, bool state); -virtual int streamCount(); -virtual QMediaStreamsControl::StreamType streamType(int streamNumber); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isActive(int streamNumber) override; +QVariant metaData(int streamNumber, const QString& key) override; +void setActive(int streamNumber, bool state) override; +int streamCount() override; +QMediaStreamsControl::StreamType streamType(int streamNumber) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaStreamsControl : public QMediaStreamsControl @@ -595,7 +623,7 @@ enum StreamType{ UnknownStream = QMediaStreamsControl::UnknownStream, VideoStream = QMediaStreamsControl::VideoStream, AudioStream = QMediaStreamsControl::AudioStream, SubPictureStream = QMediaStreamsControl::SubPictureStream, DataStream = QMediaStreamsControl::DataStream}; public slots: QMediaStreamsControl* new_QMediaStreamsControl(QObject* parent = nullptr); -void delete_QMediaStreamsControl(QMediaStreamsControl* obj) { delete obj; } +void delete_QMediaStreamsControl(QMediaStreamsControl* obj) { delete obj; } bool isActive(QMediaStreamsControl* theWrappedObject, int streamNumber); bool py_q_isActive(QMediaStreamsControl* theWrappedObject, int streamNumber){ return (((PythonQtPublicPromoter_QMediaStreamsControl*)theWrappedObject)->py_q_isActive(streamNumber));} QVariant metaData(QMediaStreamsControl* theWrappedObject, int streamNumber, const QString& key); @@ -619,11 +647,13 @@ public slots: QMediaTimeInterval* new_QMediaTimeInterval(); QMediaTimeInterval* new_QMediaTimeInterval(const QMediaTimeInterval& arg__1); QMediaTimeInterval* new_QMediaTimeInterval(qint64 start, qint64 end); -void delete_QMediaTimeInterval(QMediaTimeInterval* obj) { delete obj; } +void delete_QMediaTimeInterval(QMediaTimeInterval* obj) { delete obj; } bool contains(QMediaTimeInterval* theWrappedObject, qint64 time) const; qint64 end(QMediaTimeInterval* theWrappedObject) const; bool isNormal(QMediaTimeInterval* theWrappedObject) const; QMediaTimeInterval normalized(QMediaTimeInterval* theWrappedObject) const; + bool __ne__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2); + QMediaTimeInterval* operator_assign(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__1); bool __eq__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2); qint64 start(QMediaTimeInterval* theWrappedObject) const; QMediaTimeInterval translated(QMediaTimeInterval* theWrappedObject, qint64 offset) const; @@ -641,7 +671,7 @@ QMediaTimeRange* new_QMediaTimeRange(); QMediaTimeRange* new_QMediaTimeRange(const QMediaTimeInterval& arg__1); QMediaTimeRange* new_QMediaTimeRange(const QMediaTimeRange& range); QMediaTimeRange* new_QMediaTimeRange(qint64 start, qint64 end); -void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } +void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } void addInterval(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& interval); void addInterval(QMediaTimeRange* theWrappedObject, qint64 start, qint64 end); void addTimeRange(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); @@ -652,6 +682,7 @@ void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } bool isContinuous(QMediaTimeRange* theWrappedObject) const; bool isEmpty(QMediaTimeRange* theWrappedObject) const; qint64 latestTime(QMediaTimeRange* theWrappedObject) const; + bool __ne__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); QMediaTimeRange __add__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); QMediaTimeRange* __iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1); QMediaTimeRange* __iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); @@ -675,14 +706,19 @@ void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } class PythonQtShell_QMediaVideoProbeControl : public QMediaVideoProbeControl { public: - PythonQtShell_QMediaVideoProbeControl(QObject* parent = nullptr):QMediaVideoProbeControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaVideoProbeControl(QObject* parent = nullptr):QMediaVideoProbeControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaVideoProbeControl(); + ~PythonQtShell_QMediaVideoProbeControl() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaVideoProbeControl : public QObject @@ -690,7 +726,7 @@ class PythonQtWrapper_QMediaVideoProbeControl : public QObject public: public slots: QMediaVideoProbeControl* new_QMediaVideoProbeControl(QObject* parent = nullptr); -void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; } +void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; } }; @@ -700,17 +736,22 @@ void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; class PythonQtShell_QMetaDataReaderControl : public QMetaDataReaderControl { public: - PythonQtShell_QMetaDataReaderControl(QObject* parent = nullptr):QMetaDataReaderControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMetaDataReaderControl(QObject* parent = nullptr):QMetaDataReaderControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMetaDataReaderControl(); + ~PythonQtShell_QMetaDataReaderControl() override; -virtual QStringList availableMetaData() const; -virtual bool isMetaDataAvailable() const; -virtual QVariant metaData(const QString& key) const; +QStringList availableMetaData() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMetaDataAvailable() const override; +QVariant metaData(const QString& key) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataReaderControl : public QMetaDataReaderControl @@ -725,7 +766,7 @@ class PythonQtWrapper_QMetaDataReaderControl : public QObject public: public slots: QMetaDataReaderControl* new_QMetaDataReaderControl(QObject* parent = nullptr); -void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } +void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } QStringList availableMetaData(QMetaDataReaderControl* theWrappedObject) const; QStringList py_q_availableMetaData(QMetaDataReaderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataReaderControl*)theWrappedObject)->py_q_availableMetaData());} bool isMetaDataAvailable(QMetaDataReaderControl* theWrappedObject) const; @@ -741,19 +782,24 @@ void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } class PythonQtShell_QMetaDataWriterControl : public QMetaDataWriterControl { public: - PythonQtShell_QMetaDataWriterControl(QObject* parent = nullptr):QMetaDataWriterControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMetaDataWriterControl(QObject* parent = nullptr):QMetaDataWriterControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMetaDataWriterControl(); + ~PythonQtShell_QMetaDataWriterControl() override; -virtual QStringList availableMetaData() const; -virtual bool isMetaDataAvailable() const; -virtual bool isWritable() const; -virtual QVariant metaData(const QString& key) const; -virtual void setMetaData(const QString& key, const QVariant& value); +QStringList availableMetaData() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMetaDataAvailable() const override; +bool isWritable() const override; +QVariant metaData(const QString& key) const override; +void setMetaData(const QString& key, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataWriterControl : public QMetaDataWriterControl @@ -770,7 +816,7 @@ class PythonQtWrapper_QMetaDataWriterControl : public QObject public: public slots: QMetaDataWriterControl* new_QMetaDataWriterControl(QObject* parent = nullptr); -void delete_QMetaDataWriterControl(QMetaDataWriterControl* obj) { delete obj; } +void delete_QMetaDataWriterControl(QMetaDataWriterControl* obj) { delete obj; } QStringList availableMetaData(QMetaDataWriterControl* theWrappedObject) const; QStringList py_q_availableMetaData(QMetaDataWriterControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataWriterControl*)theWrappedObject)->py_q_availableMetaData());} bool isMetaDataAvailable(QMetaDataWriterControl* theWrappedObject) const; @@ -809,16 +855,21 @@ public slots: class PythonQtShell_QRadioData : public QRadioData { public: - PythonQtShell_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr):QRadioData(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr):QRadioData(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QRadioData(); + ~PythonQtShell_QRadioData() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* arg__1) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioData : public QRadioData @@ -833,17 +884,15 @@ class PythonQtWrapper_QRadioData : public QObject public: public slots: QRadioData* new_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QRadioData(QRadioData* obj) { delete obj; } +void delete_QRadioData(QRadioData* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QRadioData* theWrappedObject) const; QRadioData::Error error(QRadioData* theWrappedObject) const; QString errorString(QRadioData* theWrappedObject) const; bool isAlternativeFrequenciesEnabled(QRadioData* theWrappedObject) const; - QMediaObject* mediaObject(QRadioData* theWrappedObject) const; QMediaObject* py_q_mediaObject(QRadioData* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioData*)theWrappedObject)->py_q_mediaObject());} QRadioData::ProgramType programType(QRadioData* theWrappedObject) const; QString programTypeName(QRadioData* theWrappedObject) const; QString radioText(QRadioData* theWrappedObject) const; - bool setMediaObject(QRadioData* theWrappedObject, QMediaObject* arg__1); bool py_q_setMediaObject(QRadioData* theWrappedObject, QMediaObject* arg__1){ return (((PythonQtPublicPromoter_QRadioData*)theWrappedObject)->py_q_setMediaObject(arg__1));} QString stationId(QRadioData* theWrappedObject) const; QString stationName(QRadioData* theWrappedObject) const; @@ -856,23 +905,28 @@ void delete_QRadioData(QRadioData* obj) { delete obj; } class PythonQtShell_QRadioDataControl : public QRadioDataControl { public: - PythonQtShell_QRadioDataControl(QObject* parent = nullptr):QRadioDataControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioDataControl(); - -virtual QRadioData::Error error() const; -virtual QString errorString() const; -virtual bool isAlternativeFrequenciesEnabled() const; -virtual QRadioData::ProgramType programType() const; -virtual QString programTypeName() const; -virtual QString radioText() const; -virtual void setAlternativeFrequenciesEnabled(bool enabled); -virtual QString stationId() const; -virtual QString stationName() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRadioDataControl(QObject* parent = nullptr):QRadioDataControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioDataControl() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QRadioData::Error error() const override; +QString errorString() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAlternativeFrequenciesEnabled() const override; +QRadioData::ProgramType programType() const override; +QString programTypeName() const override; +QString radioText() const override; +void setAlternativeFrequenciesEnabled(bool enabled) override; +QString stationId() const override; +QString stationName() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioDataControl : public QRadioDataControl @@ -893,7 +947,7 @@ class PythonQtWrapper_QRadioDataControl : public QObject public: public slots: QRadioDataControl* new_QRadioDataControl(QObject* parent = nullptr); -void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } +void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } QRadioData::Error error(QRadioDataControl* theWrappedObject) const; QRadioData::Error py_q_error(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_error());} QString errorString(QRadioDataControl* theWrappedObject) const; @@ -921,19 +975,24 @@ void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } class PythonQtShell_QRadioTuner : public QRadioTuner { public: - PythonQtShell_QRadioTuner(QObject* parent = nullptr):QRadioTuner(parent),_wrapper(NULL) {}; + PythonQtShell_QRadioTuner(QObject* parent = nullptr):QRadioTuner(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QRadioTuner(); + ~PythonQtShell_QRadioTuner() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTuner : public QRadioTuner @@ -946,7 +1005,7 @@ class PythonQtWrapper_QRadioTuner : public QObject public: public slots: QRadioTuner* new_QRadioTuner(QObject* parent = nullptr); -void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } +void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } QMultimedia::AvailabilityStatus py_q_availability(QRadioTuner* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTuner*)theWrappedObject)->py_q_availability());} QRadioTuner::Band band(QRadioTuner* theWrappedObject) const; QRadioTuner::Error error(QRadioTuner* theWrappedObject) const; @@ -974,40 +1033,45 @@ void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } class PythonQtShell_QRadioTunerControl : public QRadioTunerControl { public: - PythonQtShell_QRadioTunerControl(QObject* parent = nullptr):QRadioTunerControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioTunerControl(); - -virtual QRadioTuner::Band band() const; -virtual void cancelSearch(); -virtual QRadioTuner::Error error() const; -virtual QString errorString() const; -virtual int frequency() const; -virtual QPair frequencyRange(QRadioTuner::Band b) const; -virtual int frequencyStep(QRadioTuner::Band b) const; -virtual bool isAntennaConnected() const; -virtual bool isBandSupported(QRadioTuner::Band b) const; -virtual bool isMuted() const; -virtual bool isSearching() const; -virtual bool isStereo() const; -virtual void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast); -virtual void searchBackward(); -virtual void searchForward(); -virtual void setBand(QRadioTuner::Band b); -virtual void setFrequency(int frequency); -virtual void setMuted(bool muted); -virtual void setStereoMode(QRadioTuner::StereoMode mode); -virtual void setVolume(int volume); -virtual int signalStrength() const; -virtual void start(); -virtual QRadioTuner::State state() const; -virtual QRadioTuner::StereoMode stereoMode() const; -virtual void stop(); -virtual int volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRadioTunerControl(QObject* parent = nullptr):QRadioTunerControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioTunerControl() override; + +QRadioTuner::Band band() const override; +void cancelSearch() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QRadioTuner::Error error() const override; +QString errorString() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int frequency() const override; +QPair frequencyRange(QRadioTuner::Band b) const override; +int frequencyStep(QRadioTuner::Band b) const override; +bool isAntennaConnected() const override; +bool isBandSupported(QRadioTuner::Band b) const override; +bool isMuted() const override; +bool isSearching() const override; +bool isStereo() const override; +void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast) override; +void searchBackward() override; +void searchForward() override; +void setBand(QRadioTuner::Band b) override; +void setFrequency(int frequency) override; +void setMuted(bool muted) override; +void setStereoMode(QRadioTuner::StereoMode mode) override; +void setVolume(int volume) override; +int signalStrength() const override; +void start() override; +QRadioTuner::State state() const override; +QRadioTuner::StereoMode stereoMode() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; +int volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTunerControl : public QRadioTunerControl @@ -1045,7 +1109,7 @@ class PythonQtWrapper_QRadioTunerControl : public QObject public: public slots: QRadioTunerControl* new_QRadioTunerControl(QObject* parent = nullptr); -void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } +void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } QRadioTuner::Band band(QRadioTunerControl* theWrappedObject) const; QRadioTuner::Band py_q_band(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_band());} void cancelSearch(QRadioTunerControl* theWrappedObject); @@ -1104,6 +1168,24 @@ void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } +class PythonQtShell_QSound : public QSound +{ +public: + PythonQtShell_QSound(const QString& filename, QObject* parent = nullptr):QSound(filename, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSound() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QSound : public QObject { Q_OBJECT public: @@ -1112,7 +1194,7 @@ enum Loop{ Infinite = QSound::Infinite}; public slots: QSound* new_QSound(const QString& filename, QObject* parent = nullptr); -void delete_QSound(QSound* obj) { delete obj; } +void delete_QSound(QSound* obj) { delete obj; } QString fileName(QSound* theWrappedObject) const; bool isFinished(QSound* theWrappedObject) const; int loops(QSound* theWrappedObject) const; @@ -1128,29 +1210,29 @@ void delete_QSound(QSound* obj) { delete obj; } class PythonQtShell_QSoundEffect : public QSoundEffect { public: - PythonQtShell_QSoundEffect(QObject* parent = nullptr):QSoundEffect(parent),_wrapper(NULL) {}; - PythonQtShell_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr):QSoundEffect(audioDevice, parent),_wrapper(NULL) {}; + PythonQtShell_QSoundEffect(QObject* parent = nullptr):QSoundEffect(parent),_wrapper(nullptr) {}; + PythonQtShell_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr):QSoundEffect(audioDevice, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSoundEffect(); + ~PythonQtShell_QSoundEffect() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSoundEffect : public QObject { Q_OBJECT public: -Q_ENUMS(Loop Status ) -enum Loop{ - Infinite = QSoundEffect::Infinite}; -enum Status{ - Null = QSoundEffect::Null, Loading = QSoundEffect::Loading, Ready = QSoundEffect::Ready, Error = QSoundEffect::Error}; public slots: QSoundEffect* new_QSoundEffect(QObject* parent = nullptr); QSoundEffect* new_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr); -void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } +void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } QString category(QSoundEffect* theWrappedObject) const; bool isLoaded(QSoundEffect* theWrappedObject) const; bool isMuted(QSoundEffect* theWrappedObject) const; @@ -1175,20 +1257,25 @@ void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } class PythonQtShell_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl { public: - PythonQtShell_QVideoDeviceSelectorControl(QObject* parent = nullptr):QVideoDeviceSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoDeviceSelectorControl(QObject* parent = nullptr):QVideoDeviceSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoDeviceSelectorControl(); + ~PythonQtShell_QVideoDeviceSelectorControl() override; -virtual int defaultDevice() const; -virtual int deviceCount() const; -virtual QString deviceDescription(int index) const; -virtual QString deviceName(int index) const; -virtual int selectedDevice() const; -virtual void setSelectedDevice(int index); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int defaultDevice() const override; +int deviceCount() const override; +QString deviceDescription(int index) const override; +QString deviceName(int index) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int selectedDevice() const override; +void setSelectedDevice(int index) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl @@ -1206,7 +1293,7 @@ class PythonQtWrapper_QVideoDeviceSelectorControl : public QObject public: public slots: QVideoDeviceSelectorControl* new_QVideoDeviceSelectorControl(QObject* parent = nullptr); -void delete_QVideoDeviceSelectorControl(QVideoDeviceSelectorControl* obj) { delete obj; } +void delete_QVideoDeviceSelectorControl(QVideoDeviceSelectorControl* obj) { delete obj; } int defaultDevice(QVideoDeviceSelectorControl* theWrappedObject) const; int py_q_defaultDevice(QVideoDeviceSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_defaultDevice());} int deviceCount(QVideoDeviceSelectorControl* theWrappedObject) const; @@ -1230,7 +1317,7 @@ class PythonQtWrapper_QVideoEncoderSettings : public QObject public slots: QVideoEncoderSettings* new_QVideoEncoderSettings(); QVideoEncoderSettings* new_QVideoEncoderSettings(const QVideoEncoderSettings& other); -void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } +void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } int bitRate(QVideoEncoderSettings* theWrappedObject) const; QString codec(QVideoEncoderSettings* theWrappedObject) const; QMultimedia::EncodingMode encodingMode(QVideoEncoderSettings* theWrappedObject) const; @@ -1262,20 +1349,25 @@ void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } class PythonQtShell_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl { public: - PythonQtShell_QVideoEncoderSettingsControl(QObject* parent = nullptr):QVideoEncoderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoEncoderSettingsControl(QObject* parent = nullptr):QVideoEncoderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoEncoderSettingsControl(); + ~PythonQtShell_QVideoEncoderSettingsControl() override; -virtual void setVideoSettings(const QVideoEncoderSettings& settings); -virtual QList supportedFrameRates(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; -virtual QList supportedResolutions(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; -virtual QStringList supportedVideoCodecs() const; -virtual QString videoCodecDescription(const QString& codec) const; -virtual QVideoEncoderSettings videoSettings() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setVideoSettings(const QVideoEncoderSettings& settings) override; +QList supportedFrameRates(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const override; +QList supportedResolutions(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const override; +QStringList supportedVideoCodecs() const override; +void timerEvent(QTimerEvent* event) override; +QString videoCodecDescription(const QString& codec) const override; +QVideoEncoderSettings videoSettings() const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl @@ -1293,7 +1385,7 @@ class PythonQtWrapper_QVideoEncoderSettingsControl : public QObject public: public slots: QVideoEncoderSettingsControl* new_QVideoEncoderSettingsControl(QObject* parent = nullptr); -void delete_QVideoEncoderSettingsControl(QVideoEncoderSettingsControl* obj) { delete obj; } +void delete_QVideoEncoderSettingsControl(QVideoEncoderSettingsControl* obj) { delete obj; } void setVideoSettings(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings); void py_q_setVideoSettings(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings){ (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_setVideoSettings(settings));} QList supportedFrameRates(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; @@ -1326,7 +1418,7 @@ QVideoFrame* new_QVideoFrame(QAbstractVideoBuffer* buffer, const QSize& size, QVideoFrame* new_QVideoFrame(const QImage& image); QVideoFrame* new_QVideoFrame(const QVideoFrame& other); QVideoFrame* new_QVideoFrame(int bytes, const QSize& size, int bytesPerLine, QVideoFrame::PixelFormat format); -void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } +void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } QMap availableMetaData(QVideoFrame* theWrappedObject) const; uchar* bits(QVideoFrame* theWrappedObject); const uchar* bits(QVideoFrame* theWrappedObject) const; @@ -1375,14 +1467,19 @@ void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } class PythonQtShell_QVideoProbe : public QVideoProbe { public: - PythonQtShell_QVideoProbe(QObject* parent = nullptr):QVideoProbe(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoProbe(QObject* parent = nullptr):QVideoProbe(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoProbe(); + ~PythonQtShell_QVideoProbe() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QVideoProbe : public QObject @@ -1390,7 +1487,7 @@ class PythonQtWrapper_QVideoProbe : public QObject public: public slots: QVideoProbe* new_QVideoProbe(QObject* parent = nullptr); -void delete_QVideoProbe(QVideoProbe* obj) { delete obj; } +void delete_QVideoProbe(QVideoProbe* obj) { delete obj; } bool isActive(QVideoProbe* theWrappedObject) const; bool setSource(QVideoProbe* theWrappedObject, QMediaObject* source); bool setSource(QVideoProbe* theWrappedObject, QMediaRecorder* source); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp similarity index 73% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp index 314fba3a..ec9fd76f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp @@ -7,18 +7,37 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include #include #include #include +#include +#include +#include #include +#include +#include +#include +#include #include +#include #include #include #include @@ -27,6 +46,116 @@ PythonQtShell_QVideoRendererControl::~PythonQtShell_QVideoRendererControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QVideoRendererControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoRendererControl::childEvent(event0); +} +void PythonQtShell_QVideoRendererControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoRendererControl::customEvent(event0); +} +bool PythonQtShell_QVideoRendererControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoRendererControl::event(event0); +} +bool PythonQtShell_QVideoRendererControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoRendererControl::eventFilter(watched0, event1); +} void PythonQtShell_QVideoRendererControl::setSurface(QAbstractVideoSurface* surface0) { if (_wrapper) { @@ -37,9 +166,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractVideoSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&surface0}; + void* args[2] = {nullptr, (void*)&surface0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -60,19 +189,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractVideoSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractVideoSurface* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surface", methodInfo, result); } else { returnValue = *((QAbstractVideoSurface**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -80,7 +209,29 @@ if (_wrapper) { } } } - return 0; + return nullptr; +} +void PythonQtShell_QVideoRendererControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoRendererControl::timerEvent(event0); } QVideoRendererControl* PythonQtWrapper_QVideoRendererControl::new_QVideoRendererControl(QObject* parent) { @@ -286,9 +437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -308,9 +459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -320,6 +471,28 @@ if (_wrapper) { } QVideoWidget::changeEvent(arg__1); } +void PythonQtShell_QVideoWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidget::childEvent(event0); +} void PythonQtShell_QVideoWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -330,9 +503,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -352,9 +525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -364,6 +537,28 @@ if (_wrapper) { } QVideoWidget::contextMenuEvent(event0); } +void PythonQtShell_QVideoWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidget::customEvent(event0); +} int PythonQtShell_QVideoWidget::devType() const { if (_wrapper) { @@ -375,19 +570,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -407,9 +602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -429,9 +624,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -451,9 +646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -473,9 +668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -495,9 +690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -518,19 +713,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -540,6 +735,39 @@ if (_wrapper) { } return QVideoWidget::event(event0); } +bool PythonQtShell_QVideoWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidget::eventFilter(watched0, event1); +} void PythonQtShell_QVideoWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -550,9 +778,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -573,19 +801,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -605,9 +833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -628,19 +856,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -661,19 +889,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -693,9 +921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -715,9 +943,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -737,9 +965,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -760,19 +988,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -792,9 +1020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -814,9 +1042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -836,9 +1064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -859,19 +1087,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -892,19 +1120,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -925,19 +1153,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -957,9 +1185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -979,9 +1207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1001,9 +1229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1023,9 +1251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1045,9 +1273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1068,19 +1296,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1101,19 +1329,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1133,9 +1361,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1156,19 +1384,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1188,9 +1416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1211,19 +1439,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1243,9 +1471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1266,19 +1494,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1298,9 +1526,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1321,19 +1549,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1353,9 +1581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1365,6 +1593,28 @@ if (_wrapper) { } QVideoWidget::tabletEvent(event0); } +void PythonQtShell_QVideoWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidget::timerEvent(event0); +} void PythonQtShell_QVideoWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -1375,9 +1625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1456,19 +1706,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::AspectRatioMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); } else { returnValue = *((Qt::AspectRatioMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1489,19 +1739,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("brightness", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1511,6 +1761,28 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QVideoWidgetControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidgetControl::childEvent(event0); +} int PythonQtShell_QVideoWidgetControl::contrast() const { if (_wrapper) { @@ -1522,19 +1794,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contrast", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1544,6 +1816,94 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QVideoWidgetControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidgetControl::customEvent(event0); +} +bool PythonQtShell_QVideoWidgetControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidgetControl::event(event0); +} +bool PythonQtShell_QVideoWidgetControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWidgetControl::eventFilter(watched0, event1); +} int PythonQtShell_QVideoWidgetControl::hue() const { if (_wrapper) { @@ -1555,19 +1915,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hue", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1588,19 +1948,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1621,19 +1981,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("saturation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1653,9 +2013,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1675,9 +2035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&brightness0}; + void* args[2] = {nullptr, (void*)&brightness0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1697,9 +2057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contrast0}; + void* args[2] = {nullptr, (void*)&contrast0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1719,9 +2079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fullScreen0}; + void* args[2] = {nullptr, (void*)&fullScreen0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1741,9 +2101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hue0}; + void* args[2] = {nullptr, (void*)&hue0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1763,9 +2123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&saturation0}; + void* args[2] = {nullptr, (void*)&saturation0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1774,6 +2134,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QVideoWidgetControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWidgetControl::timerEvent(event0); } QWidget* PythonQtShell_QVideoWidgetControl::videoWidget() { @@ -1786,19 +2168,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QWidget* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1806,7 +2188,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QVideoWidgetControl* PythonQtWrapper_QVideoWidgetControl::new_QVideoWidgetControl(QObject* parent) { @@ -1907,19 +2289,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::AspectRatioMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); } else { returnValue = *((Qt::AspectRatioMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1940,19 +2322,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("brightness", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1962,6 +2344,28 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QVideoWindowControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWindowControl::childEvent(event0); +} int PythonQtShell_QVideoWindowControl::contrast() const { if (_wrapper) { @@ -1973,19 +2377,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contrast", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1995,6 +2399,28 @@ if (_wrapper) { } return int(); } +void PythonQtShell_QVideoWindowControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWindowControl::customEvent(event0); +} QRect PythonQtShell_QVideoWindowControl::displayRect() const { if (_wrapper) { @@ -2006,19 +2432,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRect returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("displayRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2028,6 +2454,72 @@ if (_wrapper) { } return QRect(); } +bool PythonQtShell_QVideoWindowControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWindowControl::event(event0); +} +bool PythonQtShell_QVideoWindowControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVideoWindowControl::eventFilter(watched0, event1); +} int PythonQtShell_QVideoWindowControl::hue() const { if (_wrapper) { @@ -2039,19 +2531,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hue", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2072,19 +2564,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2105,19 +2597,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2137,9 +2629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2160,19 +2652,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("saturation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2192,9 +2684,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2214,9 +2706,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&brightness0}; + void* args[2] = {nullptr, (void*)&brightness0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2236,9 +2728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contrast0}; + void* args[2] = {nullptr, (void*)&contrast0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2258,9 +2750,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2280,9 +2772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fullScreen0}; + void* args[2] = {nullptr, (void*)&fullScreen0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2302,9 +2794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hue0}; + void* args[2] = {nullptr, (void*)&hue0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2324,9 +2816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&saturation0}; + void* args[2] = {nullptr, (void*)&saturation0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2346,9 +2838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "WId"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2357,6 +2849,28 @@ if (_wrapper) { } } +} +void PythonQtShell_QVideoWindowControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVideoWindowControl::timerEvent(event0); } WId PythonQtShell_QVideoWindowControl::winId() const { @@ -2369,19 +2883,19 @@ if (_wrapper) { static const char* argumentList[] ={"WId"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); WId returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("winId", methodInfo, result); } else { returnValue = *((WId*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h similarity index 76% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h index 1e5ea785..972bcc16 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h @@ -5,18 +5,37 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include #include #include #include +#include +#include +#include #include +#include +#include +#include +#include #include +#include #include #include #include @@ -30,16 +49,21 @@ class PythonQtShell_QVideoRendererControl : public QVideoRendererControl { public: - PythonQtShell_QVideoRendererControl(QObject* parent = nullptr):QVideoRendererControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoRendererControl(QObject* parent = nullptr):QVideoRendererControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoRendererControl(); + ~PythonQtShell_QVideoRendererControl() override; -virtual void setSurface(QAbstractVideoSurface* surface); -virtual QAbstractVideoSurface* surface() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setSurface(QAbstractVideoSurface* surface) override; +QAbstractVideoSurface* surface() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoRendererControl : public QVideoRendererControl @@ -53,7 +77,7 @@ class PythonQtWrapper_QVideoRendererControl : public QObject public: public slots: QVideoRendererControl* new_QVideoRendererControl(QObject* parent = nullptr); -void delete_QVideoRendererControl(QVideoRendererControl* obj) { delete obj; } +void delete_QVideoRendererControl(QVideoRendererControl* obj) { delete obj; } void setSurface(QVideoRendererControl* theWrappedObject, QAbstractVideoSurface* surface); void py_q_setSurface(QVideoRendererControl* theWrappedObject, QAbstractVideoSurface* surface){ (((PythonQtPublicPromoter_QVideoRendererControl*)theWrappedObject)->py_q_setSurface(surface));} QAbstractVideoSurface* surface(QVideoRendererControl* theWrappedObject) const; @@ -76,7 +100,7 @@ public slots: QVideoSurfaceFormat* new_QVideoSurfaceFormat(); QVideoSurfaceFormat* new_QVideoSurfaceFormat(const QSize& size, QVideoFrame::PixelFormat pixelFormat, QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle); QVideoSurfaceFormat* new_QVideoSurfaceFormat(const QVideoSurfaceFormat& format); -void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } +void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } int frameHeight(QVideoSurfaceFormat* theWrappedObject) const; qreal frameRate(QVideoSurfaceFormat* theWrappedObject) const; QSize frameSize(QVideoSurfaceFormat* theWrappedObject) const; @@ -116,57 +140,61 @@ void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } class PythonQtShell_QVideoWidget : public QVideoWidget { public: - PythonQtShell_QVideoWidget(QWidget* parent = nullptr):QVideoWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual bool setMediaObject(QMediaObject* object); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWidget(QWidget* parent = nullptr):QVideoWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +QMediaObject* mediaObject() const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +bool setMediaObject(QMediaObject* object) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidget : public QVideoWidget @@ -194,7 +222,7 @@ class PythonQtWrapper_QVideoWidget : public QObject public: public slots: QVideoWidget* new_QVideoWidget(QWidget* parent = nullptr); -void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } +void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWidget* theWrappedObject) const; int brightness(QVideoWidget* theWrappedObject) const; int contrast(QVideoWidget* theWrappedObject) const; @@ -220,27 +248,32 @@ void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } class PythonQtShell_QVideoWidgetControl : public QVideoWidgetControl { public: - PythonQtShell_QVideoWidgetControl(QObject* parent = nullptr):QVideoWidgetControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWidgetControl(); - -virtual Qt::AspectRatioMode aspectRatioMode() const; -virtual int brightness() const; -virtual int contrast() const; -virtual int hue() const; -virtual bool isFullScreen() const; -virtual int saturation() const; -virtual void setAspectRatioMode(Qt::AspectRatioMode mode); -virtual void setBrightness(int brightness); -virtual void setContrast(int contrast); -virtual void setFullScreen(bool fullScreen); -virtual void setHue(int hue); -virtual void setSaturation(int saturation); -virtual QWidget* videoWidget(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWidgetControl(QObject* parent = nullptr):QVideoWidgetControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWidgetControl() override; + +Qt::AspectRatioMode aspectRatioMode() const override; +int brightness() const override; +void childEvent(QChildEvent* event) override; +int contrast() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int hue() const override; +bool isFullScreen() const override; +int saturation() const override; +void setAspectRatioMode(Qt::AspectRatioMode mode) override; +void setBrightness(int brightness) override; +void setContrast(int contrast) override; +void setFullScreen(bool fullScreen) override; +void setHue(int hue) override; +void setSaturation(int saturation) override; +void timerEvent(QTimerEvent* event) override; +QWidget* videoWidget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidgetControl : public QVideoWidgetControl @@ -265,7 +298,7 @@ class PythonQtWrapper_QVideoWidgetControl : public QObject public: public slots: QVideoWidgetControl* new_QVideoWidgetControl(QObject* parent = nullptr); -void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } +void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWidgetControl* theWrappedObject) const; Qt::AspectRatioMode py_q_aspectRatioMode(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_aspectRatioMode());} int brightness(QVideoWidgetControl* theWrappedObject) const; @@ -301,32 +334,37 @@ void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } class PythonQtShell_QVideoWindowControl : public QVideoWindowControl { public: - PythonQtShell_QVideoWindowControl(QObject* parent = nullptr):QVideoWindowControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWindowControl(); - -virtual Qt::AspectRatioMode aspectRatioMode() const; -virtual int brightness() const; -virtual int contrast() const; -virtual QRect displayRect() const; -virtual int hue() const; -virtual bool isFullScreen() const; -virtual QSize nativeSize() const; -virtual void repaint(); -virtual int saturation() const; -virtual void setAspectRatioMode(Qt::AspectRatioMode mode); -virtual void setBrightness(int brightness); -virtual void setContrast(int contrast); -virtual void setDisplayRect(const QRect& rect); -virtual void setFullScreen(bool fullScreen); -virtual void setHue(int hue); -virtual void setSaturation(int saturation); -virtual void setWinId(WId id); -virtual WId winId() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWindowControl(QObject* parent = nullptr):QVideoWindowControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWindowControl() override; + +Qt::AspectRatioMode aspectRatioMode() const override; +int brightness() const override; +void childEvent(QChildEvent* event) override; +int contrast() const override; +void customEvent(QEvent* event) override; +QRect displayRect() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int hue() const override; +bool isFullScreen() const override; +QSize nativeSize() const override; +void repaint() override; +int saturation() const override; +void setAspectRatioMode(Qt::AspectRatioMode mode) override; +void setBrightness(int brightness) override; +void setContrast(int contrast) override; +void setDisplayRect(const QRect& rect) override; +void setFullScreen(bool fullScreen) override; +void setHue(int hue) override; +void setSaturation(int saturation) override; +void setWinId(WId id) override; +void timerEvent(QTimerEvent* event) override; +WId winId() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWindowControl : public QVideoWindowControl @@ -356,7 +394,7 @@ class PythonQtWrapper_QVideoWindowControl : public QObject public: public slots: QVideoWindowControl* new_QVideoWindowControl(QObject* parent = nullptr); -void delete_QVideoWindowControl(QVideoWindowControl* obj) { delete obj; } +void delete_QVideoWindowControl(QVideoWindowControl* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWindowControl* theWrappedObject) const; Qt::AspectRatioMode py_q_aspectRatioMode(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_aspectRatioMode());} int brightness(QVideoWindowControl* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp similarity index 86% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp index 8ccc8def..1a9ca308 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp @@ -13,14 +13,14 @@ PythonQt::priv()->registerClass(&QAbstractAudioInput::staticMetaObject, "QtMulti PythonQt::priv()->registerClass(&QAbstractAudioOutput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAbstractVideoBuffer", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractVideoSurface::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudio", "", "QtMultimedia", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QAudioBuffer", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QAudio", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QAudioBuffer", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QAudioDecoder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioDecoderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudioDeviceInfo", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QAudioEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioDeviceInfo", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QAudioEncoderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudioFormat", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioFormat", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QAudioInput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioInputSelectorControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioOutput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -34,31 +34,36 @@ PythonQt::priv()->registerClass(&QCamera::staticMetaObject, "QtMultimedia", Pyth PythonQt::priv()->registerClass(&QCameraCaptureBufferFormatControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraCaptureDestinationControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCameraExposure::staticMetaObject, "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QCameraExposureControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraFeedbackControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraFlashControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCameraFocus::staticMetaObject, "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QCameraFocusControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraFocusZone", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCameraFocusZone", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraImageCapture::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QCameraImageCapture", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QCameraImageCaptureControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCameraImageProcessing::staticMetaObject, "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QCameraImageProcessingControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraInfo", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCameraInfo", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraInfoControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraLocksControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraViewfinder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraViewfinderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QCameraViewfinderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraViewfinderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraViewfinderSettingsControl2::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraZoomControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QCamera::FrameRateRange", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QGraphicsVideoItem::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QGraphicsVideoItem", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QImageEncoderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QImageEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QImageEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaAudioProbeControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaAvailabilityControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaBindableInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaContainerControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaContent", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaContent", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaGaplessPlaybackControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaNetworkAccessControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -66,37 +71,40 @@ PythonQt::priv()->registerClass(&QMediaObject::staticMetaObject, "QtMultimedia", PythonQt::priv()->registerClass(&QMediaPlayer::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaPlayerControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaPlaylist::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::self()->addParentClass("QMediaPlaylist", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QMediaRecorder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QMediaRecorder", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QMediaRecorderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaResource", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaResource", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaService::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceCameraInfoInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceDefaultDeviceInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceProviderFactoryInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaServiceProviderHint", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaServiceProviderHint", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaServiceProviderPlugin::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceSupportedDevicesInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceSupportedFormatsInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaStreamsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaTimeInterval", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMediaTimeRange", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMediaTimeInterval", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaTimeRange", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QMediaVideoProbeControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMetaDataReaderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMetaDataWriterControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMultimedia", "", "QtMultimedia", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QMultimedia", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QRadioData::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QRadioData", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QRadioDataControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRadioTuner::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRadioTunerControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QSound::staticMetaObject, "QtMultimedia", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QSound::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSoundEffect::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QVideoDeviceSelectorControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoEncoderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoFrame", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoFrame", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoProbe::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QVideoRendererControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoSurfaceFormat", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoSurfaceFormat", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoWidget::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QVideoWidget", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QVideoWidgetControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network.pri b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network.pri similarity index 64% rename from generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network.pri rename to generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network.pri index 71768c91..7d5a6009 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network.pri @@ -1,6 +1,8 @@ HEADERS += \ $$PWD/com_trolltech_qt_network0.h \ + $$PWD/com_trolltech_qt_network1.h \ SOURCES += \ $$PWD/com_trolltech_qt_network0.cpp \ + $$PWD/com_trolltech_qt_network1.cpp \ $$PWD/com_trolltech_qt_network_init.cpp diff --git a/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.cpp new file mode 100644 index 00000000..ea71d9db --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -0,0 +1,6209 @@ +#include "com_trolltech_qt_network0.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 + +PythonQtShell_QAbstractNetworkCache::~PythonQtShell_QAbstractNetworkCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cacheSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return qint64(); +} +void PythonQtShell_QAbstractNetworkCache::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractNetworkCache::childEvent(event0); +} +void PythonQtShell_QAbstractNetworkCache::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractNetworkCache::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractNetworkCache::customEvent(event0); +} +QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QAbstractNetworkCache::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractNetworkCache::event(event0); +} +bool PythonQtShell_QAbstractNetworkCache::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractNetworkCache::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insert"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&device0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QNetworkCacheMetaData returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QNetworkCacheMetaData*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCacheMetaData(); +} +QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("prepare"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&metaData0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("remove"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QAbstractNetworkCache::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractNetworkCache::timerEvent(event0); +} +void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateMetaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&metaData0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QAbstractNetworkCache* PythonQtWrapper_QAbstractNetworkCache::new_QAbstractNetworkCache(QObject* parent) +{ +return new PythonQtShell_QAbstractNetworkCache(parent); } + +const QMetaObject* PythonQtShell_QAbstractNetworkCache::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractNetworkCache::staticMetaObject); + } else { + return &QAbstractNetworkCache::staticMetaObject; + } +} +int PythonQtShell_QAbstractNetworkCache::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractNetworkCache::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qint64 PythonQtWrapper_QAbstractNetworkCache::cacheSize(QAbstractNetworkCache* theWrappedObject) const +{ + return ( theWrappedObject->cacheSize()); +} + +QIODevice* PythonQtWrapper_QAbstractNetworkCache::data(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +{ + return ( theWrappedObject->data(url)); +} + +void PythonQtWrapper_QAbstractNetworkCache::insert(QAbstractNetworkCache* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->insert(device)); +} + +QNetworkCacheMetaData PythonQtWrapper_QAbstractNetworkCache::metaData(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +{ + return ( theWrappedObject->metaData(url)); +} + +QIODevice* PythonQtWrapper_QAbstractNetworkCache::prepare(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +{ + return ( theWrappedObject->prepare(metaData)); +} + +bool PythonQtWrapper_QAbstractNetworkCache::remove(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +{ + return ( theWrappedObject->remove(url)); +} + +void PythonQtWrapper_QAbstractNetworkCache::updateMetaData(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +{ + ( theWrappedObject->updateMetaData(metaData)); +} + + + +PythonQtShell_QAbstractSocket::~PythonQtShell_QAbstractSocket() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QAbstractSocket::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::atEnd(); +} +qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::bytesAvailable(); +} +qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::bytesToWrite(); +} +bool PythonQtShell_QAbstractSocket::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::canReadLine(); +} +void PythonQtShell_QAbstractSocket::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::childEvent(event0); +} +void PythonQtShell_QAbstractSocket::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::close(); +} +void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::connectToHost(address0, port1, mode2); +} +void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectToHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::connectToHost(hostName0, port1, mode2, protocol3); +} +void PythonQtShell_QAbstractSocket::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::customEvent(event0); +} +void PythonQtShell_QAbstractSocket::disconnectFromHost() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectFromHost"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::disconnectFromHost(); +} +bool PythonQtShell_QAbstractSocket::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::event(event0); +} +bool PythonQtShell_QAbstractSocket::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::eventFilter(watched0, event1); +} +bool PythonQtShell_QAbstractSocket::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::isSequential(); +} +bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::open(mode0); +} +qint64 PythonQtShell_QAbstractSocket::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::pos(); +} +qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::readData(data0, maxlen1); +} +qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::readLineData(data0, maxlen1); +} +bool PythonQtShell_QAbstractSocket::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::reset(); +} +void PythonQtShell_QAbstractSocket::resume() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resume"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::resume(); +} +bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::seek(pos0); +} +void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setReadBufferSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::setReadBufferSize(size0); +} +bool PythonQtShell_QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor0, QAbstractSocket::SocketState state1, QIODevice::OpenMode openMode2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::setSocketDescriptor(socketDescriptor0, state1, openMode2); +} +void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setSocketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::setSocketOption(option0, value1); +} +qint64 PythonQtShell_QAbstractSocket::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::size(); +} +qintptr PythonQtShell_QAbstractSocket::socketDescriptor() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketDescriptor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qintptr returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); + } else { + returnValue = *((qintptr*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::socketDescriptor(); +} +QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOption option0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("socketOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::socketOption(option0); +} +void PythonQtShell_QAbstractSocket::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractSocket::timerEvent(event0); +} +bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForConnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForConnected(msecs0); +} +bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForDisconnected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForDisconnected(msecs0); +} +bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractSocket::writeData(data0, len1); +} +QAbstractSocket* PythonQtWrapper_QAbstractSocket::new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent) +{ +return new PythonQtShell_QAbstractSocket(socketType, parent); } + +const QMetaObject* PythonQtShell_QAbstractSocket::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractSocket::staticMetaObject); + } else { + return &QAbstractSocket::staticMetaObject; + } +} +int PythonQtShell_QAbstractSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractSocket::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractSocket::abort(QAbstractSocket* theWrappedObject) +{ + ( theWrappedObject->abort()); +} + +bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QAbstractSocket::BindMode mode) +{ + return ( theWrappedObject->bind(address, port, mode)); +} + +bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, unsigned short port, QAbstractSocket::BindMode mode) +{ + return ( theWrappedObject->bind(port, mode)); +} + +void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode) +{ + ( theWrappedObject->connectToHost(address, port, mode)); +} + +void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode, QAbstractSocket::NetworkLayerProtocol protocol) +{ + ( theWrappedObject->connectToHost(hostName, port, mode, protocol)); +} + +void PythonQtWrapper_QAbstractSocket::disconnectFromHost(QAbstractSocket* theWrappedObject) +{ + ( theWrappedObject->disconnectFromHost()); +} + +QAbstractSocket::SocketError PythonQtWrapper_QAbstractSocket::error(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QAbstractSocket::flush(QAbstractSocket* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +bool PythonQtWrapper_QAbstractSocket::isValid(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QHostAddress PythonQtWrapper_QAbstractSocket::localAddress(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->localAddress()); +} + +unsigned short PythonQtWrapper_QAbstractSocket::localPort(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->localPort()); +} + +QAbstractSocket::PauseModes PythonQtWrapper_QAbstractSocket::pauseMode(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->pauseMode()); +} + +QHostAddress PythonQtWrapper_QAbstractSocket::peerAddress(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerAddress()); +} + +QString PythonQtWrapper_QAbstractSocket::peerName(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerName()); +} + +unsigned short PythonQtWrapper_QAbstractSocket::peerPort(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->peerPort()); +} + +QString PythonQtWrapper_QAbstractSocket::protocolTag(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->protocolTag()); +} + +QNetworkProxy PythonQtWrapper_QAbstractSocket::proxy(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +qint64 PythonQtWrapper_QAbstractSocket::readBufferSize(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +void PythonQtWrapper_QAbstractSocket::resume(QAbstractSocket* theWrappedObject) +{ + ( theWrappedObject->resume()); +} + +void PythonQtWrapper_QAbstractSocket::setLocalAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalAddress(address)); +} + +void PythonQtWrapper_QAbstractSocket::setLocalPort(QAbstractSocket* theWrappedObject, unsigned short port) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalPort(port)); +} + +void PythonQtWrapper_QAbstractSocket::setPauseMode(QAbstractSocket* theWrappedObject, QAbstractSocket::PauseModes pauseMode) +{ + ( theWrappedObject->setPauseMode(pauseMode)); +} + +void PythonQtWrapper_QAbstractSocket::setPeerAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerAddress(address)); +} + +void PythonQtWrapper_QAbstractSocket::setPeerName(QAbstractSocket* theWrappedObject, const QString& name) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerName(name)); +} + +void PythonQtWrapper_QAbstractSocket::setPeerPort(QAbstractSocket* theWrappedObject, unsigned short port) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerPort(port)); +} + +void PythonQtWrapper_QAbstractSocket::setProtocolTag(QAbstractSocket* theWrappedObject, const QString& tag) +{ + ( theWrappedObject->setProtocolTag(tag)); +} + +void PythonQtWrapper_QAbstractSocket::setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy) +{ + ( theWrappedObject->setProxy(networkProxy)); +} + +void PythonQtWrapper_QAbstractSocket::setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setReadBufferSize(size)); +} + +bool PythonQtWrapper_QAbstractSocket::setSocketDescriptor(QAbstractSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state, QIODevice::OpenMode openMode) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor, state, openMode)); +} + +void PythonQtWrapper_QAbstractSocket::setSocketError(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketError socketError) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketError(socketError)); +} + +void PythonQtWrapper_QAbstractSocket::setSocketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value) +{ + ( theWrappedObject->setSocketOption(option, value)); +} + +void PythonQtWrapper_QAbstractSocket::setSocketState(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketState state) +{ + ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketState(state)); +} + +qintptr PythonQtWrapper_QAbstractSocket::socketDescriptor(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +QVariant PythonQtWrapper_QAbstractSocket::socketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option) +{ + return ( theWrappedObject->socketOption(option)); +} + +QAbstractSocket::SocketType PythonQtWrapper_QAbstractSocket::socketType(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketType()); +} + +QAbstractSocket::SocketState PythonQtWrapper_QAbstractSocket::state(QAbstractSocket* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +bool PythonQtWrapper_QAbstractSocket::waitForConnected(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForConnected(msecs)); +} + +bool PythonQtWrapper_QAbstractSocket::waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDisconnected(msecs)); +} + + + +QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator() +{ +return new QAuthenticator(); } + +QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator(const QAuthenticator& other) +{ +return new QAuthenticator(other); } + +bool PythonQtWrapper_QAuthenticator::isNull(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QAuthenticator::__ne__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QAuthenticator::__eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const +{ + return ( (*theWrappedObject)== other); +} + +QVariant PythonQtWrapper_QAuthenticator::option(QAuthenticator* theWrappedObject, const QString& opt) const +{ + return ( theWrappedObject->option(opt)); +} + +QHash PythonQtWrapper_QAuthenticator::options(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} + +QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->realm()); +} + +void PythonQtWrapper_QAuthenticator::setOption(QAuthenticator* theWrappedObject, const QString& opt, const QVariant& value) +{ + ( theWrappedObject->setOption(opt, value)); +} + +void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QAuthenticator::setRealm(QAuthenticator* theWrappedObject, const QString& realm) +{ + ( theWrappedObject->setRealm(realm)); +} + +void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user) +{ + ( theWrappedObject->setUser(user)); +} + +QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->user()); +} + + + +QDnsDomainNameRecord* PythonQtWrapper_QDnsDomainNameRecord::new_QDnsDomainNameRecord() +{ +return new QDnsDomainNameRecord(); } + +QDnsDomainNameRecord* PythonQtWrapper_QDnsDomainNameRecord::new_QDnsDomainNameRecord(const QDnsDomainNameRecord& other) +{ +return new QDnsDomainNameRecord(other); } + +QString PythonQtWrapper_QDnsDomainNameRecord::name(QDnsDomainNameRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsDomainNameRecord* PythonQtWrapper_QDnsDomainNameRecord::operator_assign(QDnsDomainNameRecord* theWrappedObject, const QDnsDomainNameRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QDnsDomainNameRecord::swap(QDnsDomainNameRecord* theWrappedObject, QDnsDomainNameRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsDomainNameRecord::timeToLive(QDnsDomainNameRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +QString PythonQtWrapper_QDnsDomainNameRecord::value(QDnsDomainNameRecord* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QDnsHostAddressRecord* PythonQtWrapper_QDnsHostAddressRecord::new_QDnsHostAddressRecord() +{ +return new QDnsHostAddressRecord(); } + +QDnsHostAddressRecord* PythonQtWrapper_QDnsHostAddressRecord::new_QDnsHostAddressRecord(const QDnsHostAddressRecord& other) +{ +return new QDnsHostAddressRecord(other); } + +QString PythonQtWrapper_QDnsHostAddressRecord::name(QDnsHostAddressRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsHostAddressRecord* PythonQtWrapper_QDnsHostAddressRecord::operator_assign(QDnsHostAddressRecord* theWrappedObject, const QDnsHostAddressRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QDnsHostAddressRecord::swap(QDnsHostAddressRecord* theWrappedObject, QDnsHostAddressRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsHostAddressRecord::timeToLive(QDnsHostAddressRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +QHostAddress PythonQtWrapper_QDnsHostAddressRecord::value(QDnsHostAddressRecord* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QDnsLookup::~PythonQtShell_QDnsLookup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QDnsLookup::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDnsLookup::childEvent(event0); +} +void PythonQtShell_QDnsLookup::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDnsLookup::customEvent(event0); +} +bool PythonQtShell_QDnsLookup::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDnsLookup::event(event0); +} +bool PythonQtShell_QDnsLookup::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QDnsLookup::eventFilter(watched0, event1); +} +void PythonQtShell_QDnsLookup::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QDnsLookup::timerEvent(event0); +} +QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent) +{ +return new PythonQtShell_QDnsLookup(type, name, parent); } + +QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent) +{ +return new PythonQtShell_QDnsLookup(type, name, nameserver, parent); } + +QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QObject* parent) +{ +return new PythonQtShell_QDnsLookup(parent); } + +const QMetaObject* PythonQtShell_QDnsLookup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDnsLookup::staticMetaObject); + } else { + return &QDnsLookup::staticMetaObject; + } +} +int PythonQtShell_QDnsLookup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QDnsLookup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QDnsLookup::canonicalNameRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->canonicalNameRecords()); +} + +QDnsLookup::Error PythonQtWrapper_QDnsLookup::error(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QDnsLookup::errorString(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QList PythonQtWrapper_QDnsLookup::hostAddressRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->hostAddressRecords()); +} + +bool PythonQtWrapper_QDnsLookup::isFinished(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->isFinished()); +} + +QList PythonQtWrapper_QDnsLookup::mailExchangeRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->mailExchangeRecords()); +} + +QString PythonQtWrapper_QDnsLookup::name(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QList PythonQtWrapper_QDnsLookup::nameServerRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->nameServerRecords()); +} + +QHostAddress PythonQtWrapper_QDnsLookup::nameserver(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->nameserver()); +} + +QList PythonQtWrapper_QDnsLookup::pointerRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->pointerRecords()); +} + +QList PythonQtWrapper_QDnsLookup::serviceRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->serviceRecords()); +} + +void PythonQtWrapper_QDnsLookup::setName(QDnsLookup* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QDnsLookup::setNameserver(QDnsLookup* theWrappedObject, const QHostAddress& nameserver) +{ + ( theWrappedObject->setNameserver(nameserver)); +} + +void PythonQtWrapper_QDnsLookup::setType(QDnsLookup* theWrappedObject, QDnsLookup::Type arg__1) +{ + ( theWrappedObject->setType(arg__1)); +} + +QList PythonQtWrapper_QDnsLookup::textRecords(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->textRecords()); +} + +QDnsLookup::Type PythonQtWrapper_QDnsLookup::type(QDnsLookup* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +QDnsMailExchangeRecord* PythonQtWrapper_QDnsMailExchangeRecord::new_QDnsMailExchangeRecord() +{ +return new QDnsMailExchangeRecord(); } + +QDnsMailExchangeRecord* PythonQtWrapper_QDnsMailExchangeRecord::new_QDnsMailExchangeRecord(const QDnsMailExchangeRecord& other) +{ +return new QDnsMailExchangeRecord(other); } + +QString PythonQtWrapper_QDnsMailExchangeRecord::exchange(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->exchange()); +} + +QString PythonQtWrapper_QDnsMailExchangeRecord::name(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsMailExchangeRecord* PythonQtWrapper_QDnsMailExchangeRecord::operator_assign(QDnsMailExchangeRecord* theWrappedObject, const QDnsMailExchangeRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +unsigned short PythonQtWrapper_QDnsMailExchangeRecord::preference(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->preference()); +} + +void PythonQtWrapper_QDnsMailExchangeRecord::swap(QDnsMailExchangeRecord* theWrappedObject, QDnsMailExchangeRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsMailExchangeRecord::timeToLive(QDnsMailExchangeRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + + + +QDnsServiceRecord* PythonQtWrapper_QDnsServiceRecord::new_QDnsServiceRecord() +{ +return new QDnsServiceRecord(); } + +QDnsServiceRecord* PythonQtWrapper_QDnsServiceRecord::new_QDnsServiceRecord(const QDnsServiceRecord& other) +{ +return new QDnsServiceRecord(other); } + +QString PythonQtWrapper_QDnsServiceRecord::name(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsServiceRecord* PythonQtWrapper_QDnsServiceRecord::operator_assign(QDnsServiceRecord* theWrappedObject, const QDnsServiceRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +unsigned short PythonQtWrapper_QDnsServiceRecord::port(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +unsigned short PythonQtWrapper_QDnsServiceRecord::priority(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->priority()); +} + +void PythonQtWrapper_QDnsServiceRecord::swap(QDnsServiceRecord* theWrappedObject, QDnsServiceRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QDnsServiceRecord::target(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +unsigned int PythonQtWrapper_QDnsServiceRecord::timeToLive(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +unsigned short PythonQtWrapper_QDnsServiceRecord::weight(QDnsServiceRecord* theWrappedObject) const +{ + return ( theWrappedObject->weight()); +} + + + +QDnsTextRecord* PythonQtWrapper_QDnsTextRecord::new_QDnsTextRecord() +{ +return new QDnsTextRecord(); } + +QDnsTextRecord* PythonQtWrapper_QDnsTextRecord::new_QDnsTextRecord(const QDnsTextRecord& other) +{ +return new QDnsTextRecord(other); } + +QString PythonQtWrapper_QDnsTextRecord::name(QDnsTextRecord* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QDnsTextRecord* PythonQtWrapper_QDnsTextRecord::operator_assign(QDnsTextRecord* theWrappedObject, const QDnsTextRecord& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QDnsTextRecord::swap(QDnsTextRecord* theWrappedObject, QDnsTextRecord& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QDnsTextRecord::timeToLive(QDnsTextRecord* theWrappedObject) const +{ + return ( theWrappedObject->timeToLive()); +} + +QList PythonQtWrapper_QDnsTextRecord::values(QDnsTextRecord* theWrappedObject) const +{ + return ( theWrappedObject->values()); +} + + + +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(const unsigned char* ip6Addr) +{ +return new QHostAddress(ip6Addr); } + +QHostAddress* PythonQtWrapper_QHostAddress::new_QHostAddress(unsigned int ip4Addr) +{ +return new QHostAddress(ip4Addr); } + +void PythonQtWrapper_QHostAddress::clear(QHostAddress* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +bool PythonQtWrapper_QHostAddress::isBroadcast(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isBroadcast()); +} + +bool PythonQtWrapper_QHostAddress::isGlobal(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isGlobal()); +} + +bool PythonQtWrapper_QHostAddress::isInSubnet(QHostAddress* theWrappedObject, const QHostAddress& subnet, int netmask) const +{ + return ( theWrappedObject->isInSubnet(subnet, netmask)); +} + +bool PythonQtWrapper_QHostAddress::isInSubnet(QHostAddress* theWrappedObject, const QPair& subnet) const +{ + return ( theWrappedObject->isInSubnet(subnet)); +} + +bool PythonQtWrapper_QHostAddress::isLinkLocal(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isLinkLocal()); +} + +bool PythonQtWrapper_QHostAddress::isLoopback(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isLoopback()); +} + +bool PythonQtWrapper_QHostAddress::isMulticast(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isMulticast()); +} + +bool PythonQtWrapper_QHostAddress::isNull(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QHostAddress::isSiteLocal(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isSiteLocal()); +} + +bool PythonQtWrapper_QHostAddress::isUniqueLocalUnicast(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->isUniqueLocalUnicast()); +} + +bool PythonQtWrapper_QHostAddress::__ne__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const +{ + return ( (*theWrappedObject)!= address); +} + +bool PythonQtWrapper_QHostAddress::__ne__(QHostAddress* theWrappedObject, const QHostAddress& address) const +{ + return ( (*theWrappedObject)!= address); +} + +void PythonQtWrapper_QHostAddress::writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +QHostAddress* PythonQtWrapper_QHostAddress::operator_assign(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) +{ + return &( (*theWrappedObject)= address); +} + +bool PythonQtWrapper_QHostAddress::__eq__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const +{ + return ( (*theWrappedObject)== address); +} + +bool PythonQtWrapper_QHostAddress::__eq__(QHostAddress* theWrappedObject, const QHostAddress& address) const +{ + return ( (*theWrappedObject)== address); +} + +void PythonQtWrapper_QHostAddress::readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QPair PythonQtWrapper_QHostAddress::static_QHostAddress_parseSubnet(const QString& subnet) +{ + return (QHostAddress::parseSubnet(subnet)); +} + +QAbstractSocket::NetworkLayerProtocol PythonQtWrapper_QHostAddress::protocol(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->protocol()); +} + +QString PythonQtWrapper_QHostAddress::scopeId(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->scopeId()); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) +{ + ( theWrappedObject->setAddress(address)); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr) +{ + ( theWrappedObject->setAddress(ip6Addr)); +} + +bool PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const QString& address) +{ + return ( theWrappedObject->setAddress(address)); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, const unsigned char* ip6Addr) +{ + ( theWrappedObject->setAddress(ip6Addr)); +} + +void PythonQtWrapper_QHostAddress::setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr) +{ + ( theWrappedObject->setAddress(ip4Addr)); +} + +void PythonQtWrapper_QHostAddress::setScopeId(QHostAddress* theWrappedObject, const QString& id) +{ + ( theWrappedObject->setScopeId(id)); +} + +void PythonQtWrapper_QHostAddress::swap(QHostAddress* theWrappedObject, QHostAddress& other) +{ + ( theWrappedObject->swap(other)); +} + +unsigned int PythonQtWrapper_QHostAddress::toIPv4Address(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->toIPv4Address()); +} + +unsigned int PythonQtWrapper_QHostAddress::toIPv4Address(QHostAddress* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->toIPv4Address(ok)); +} + +QIPv6Address PythonQtWrapper_QHostAddress::toIPv6Address(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->toIPv6Address()); +} + +QString PythonQtWrapper_QHostAddress::toString(QHostAddress* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QString PythonQtWrapper_QHostAddress::py_toString(QHostAddress* obj) { return obj->toString(); } + + +QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(const QHostInfo& d) +{ +return new QHostInfo(d); } + +QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(int lookupId) +{ +return new QHostInfo(lookupId); } + +void PythonQtWrapper_QHostInfo::static_QHostInfo_abortHostLookup(int lookupId) +{ + (QHostInfo::abortHostLookup(lookupId)); +} + +QList PythonQtWrapper_QHostInfo::addresses(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->addresses()); +} + +QHostInfo::HostInfoError PythonQtWrapper_QHostInfo::error(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QHostInfo::errorString(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QHostInfo PythonQtWrapper_QHostInfo::static_QHostInfo_fromName(const QString& name) +{ + return (QHostInfo::fromName(name)); +} + +QString PythonQtWrapper_QHostInfo::hostName(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->hostName()); +} + +QString PythonQtWrapper_QHostInfo::static_QHostInfo_localDomainName() +{ + return (QHostInfo::localDomainName()); +} + +QString PythonQtWrapper_QHostInfo::static_QHostInfo_localHostName() +{ + return (QHostInfo::localHostName()); +} + +int PythonQtWrapper_QHostInfo::static_QHostInfo_lookupHost(const QString& name, QObject* receiver, const char* member) +{ + return (QHostInfo::lookupHost(name, receiver, member)); +} + +int PythonQtWrapper_QHostInfo::lookupId(QHostInfo* theWrappedObject) const +{ + return ( theWrappedObject->lookupId()); +} + +void PythonQtWrapper_QHostInfo::setAddresses(QHostInfo* theWrappedObject, const QList& addresses) +{ + ( theWrappedObject->setAddresses(addresses)); +} + +void PythonQtWrapper_QHostInfo::setError(QHostInfo* theWrappedObject, QHostInfo::HostInfoError error) +{ + ( theWrappedObject->setError(error)); +} + +void PythonQtWrapper_QHostInfo::setErrorString(QHostInfo* theWrappedObject, const QString& errorString) +{ + ( theWrappedObject->setErrorString(errorString)); +} + +void PythonQtWrapper_QHostInfo::setHostName(QHostInfo* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setHostName(name)); +} + +void PythonQtWrapper_QHostInfo::setLookupId(QHostInfo* theWrappedObject, int id) +{ + ( theWrappedObject->setLookupId(id)); +} + +void PythonQtWrapper_QHostInfo::swap(QHostInfo* theWrappedObject, QHostInfo& other) +{ + ( theWrappedObject->swap(other)); +} + + + +QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy() +{ +return new QHstsPolicy(); } + +QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy(const QHstsPolicy& rhs) +{ +return new QHstsPolicy(rhs); } + +QDateTime PythonQtWrapper_QHstsPolicy::expiry(QHstsPolicy* theWrappedObject) const +{ + return ( theWrappedObject->expiry()); +} + +QString PythonQtWrapper_QHstsPolicy::host(QHstsPolicy* theWrappedObject, QUrl::ComponentFormattingOptions options) const +{ + return ( theWrappedObject->host(options)); +} + +bool PythonQtWrapper_QHstsPolicy::includesSubDomains(QHstsPolicy* theWrappedObject) const +{ + return ( theWrappedObject->includesSubDomains()); +} + +bool PythonQtWrapper_QHstsPolicy::isExpired(QHstsPolicy* theWrappedObject) const +{ + return ( theWrappedObject->isExpired()); +} + +bool PythonQtWrapper_QHstsPolicy::__ne__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QHstsPolicy* PythonQtWrapper_QHstsPolicy::operator_assign(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +{ + return &( (*theWrappedObject)= rhs); +} + +bool PythonQtWrapper_QHstsPolicy::__eq__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + +void PythonQtWrapper_QHstsPolicy::setExpiry(QHstsPolicy* theWrappedObject, const QDateTime& expiry) +{ + ( theWrappedObject->setExpiry(expiry)); +} + +void PythonQtWrapper_QHstsPolicy::setHost(QHstsPolicy* theWrappedObject, const QString& host, QUrl::ParsingMode mode) +{ + ( theWrappedObject->setHost(host, mode)); +} + +void PythonQtWrapper_QHstsPolicy::setIncludesSubDomains(QHstsPolicy* theWrappedObject, bool include) +{ + ( theWrappedObject->setIncludesSubDomains(include)); +} + +void PythonQtWrapper_QHstsPolicy::swap(QHstsPolicy* theWrappedObject, QHstsPolicy& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QHttpMultiPart::~PythonQtShell_QHttpMultiPart() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QHttpMultiPart::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHttpMultiPart::childEvent(event0); +} +void PythonQtShell_QHttpMultiPart::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHttpMultiPart::customEvent(event0); +} +bool PythonQtShell_QHttpMultiPart::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHttpMultiPart::event(event0); +} +bool PythonQtShell_QHttpMultiPart::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QHttpMultiPart::eventFilter(watched0, event1); +} +void PythonQtShell_QHttpMultiPart::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QHttpMultiPart::timerEvent(event0); +} +QHttpMultiPart* PythonQtWrapper_QHttpMultiPart::new_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent) +{ +return new PythonQtShell_QHttpMultiPart(contentType, parent); } + +QHttpMultiPart* PythonQtWrapper_QHttpMultiPart::new_QHttpMultiPart(QObject* parent) +{ +return new PythonQtShell_QHttpMultiPart(parent); } + +const QMetaObject* PythonQtShell_QHttpMultiPart::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHttpMultiPart::staticMetaObject); + } else { + return &QHttpMultiPart::staticMetaObject; + } +} +int PythonQtShell_QHttpMultiPart::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QHttpMultiPart::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QHttpMultiPart::append(QHttpMultiPart* theWrappedObject, const QHttpPart& httpPart) +{ + ( theWrappedObject->append(httpPart)); +} + +QByteArray PythonQtWrapper_QHttpMultiPart::boundary(QHttpMultiPart* theWrappedObject) const +{ + return ( theWrappedObject->boundary()); +} + +void PythonQtWrapper_QHttpMultiPart::setBoundary(QHttpMultiPart* theWrappedObject, const QByteArray& boundary) +{ + ( theWrappedObject->setBoundary(boundary)); +} + +void PythonQtWrapper_QHttpMultiPart::setContentType(QHttpMultiPart* theWrappedObject, QHttpMultiPart::ContentType contentType) +{ + ( theWrappedObject->setContentType(contentType)); +} + + + +QHttpPart* PythonQtWrapper_QHttpPart::new_QHttpPart() +{ +return new QHttpPart(); } + +QHttpPart* PythonQtWrapper_QHttpPart::new_QHttpPart(const QHttpPart& other) +{ +return new QHttpPart(other); } + +bool PythonQtWrapper_QHttpPart::__ne__(QHttpPart* theWrappedObject, const QHttpPart& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QHttpPart* PythonQtWrapper_QHttpPart::operator_assign(QHttpPart* theWrappedObject, const QHttpPart& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QHttpPart::__eq__(QHttpPart* theWrappedObject, const QHttpPart& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QHttpPart::setBody(QHttpPart* theWrappedObject, const QByteArray& body) +{ + ( theWrappedObject->setBody(body)); +} + +void PythonQtWrapper_QHttpPart::setBodyDevice(QHttpPart* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setBodyDevice(device)); +} + +void PythonQtWrapper_QHttpPart::setHeader(QHttpPart* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( theWrappedObject->setHeader(header, value)); +} + +void PythonQtWrapper_QHttpPart::setRawHeader(QHttpPart* theWrappedObject, const QByteArray& headerName, const QByteArray& headerValue) +{ + ( theWrappedObject->setRawHeader(headerName, headerValue)); +} + +void PythonQtWrapper_QHttpPart::swap(QHttpPart* theWrappedObject, QHttpPart& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QIPv6Address::~PythonQtShell_QIPv6Address() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QIPv6Address* PythonQtWrapper_QIPv6Address::new_QIPv6Address() +{ +return new PythonQtShell_QIPv6Address(); } + + + +PythonQtShell_QLocalServer::~PythonQtShell_QLocalServer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QLocalServer::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalServer::childEvent(event0); +} +void PythonQtShell_QLocalServer::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalServer::customEvent(event0); +} +bool PythonQtShell_QLocalServer::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalServer::event(event0); +} +bool PythonQtShell_QLocalServer::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalServer::eventFilter(watched0, event1); +} +bool PythonQtShell_QLocalServer::hasPendingConnections() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasPendingConnections"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalServer::hasPendingConnections(); +} +void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("incomingConnection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "quintptr"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&socketDescriptor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalServer::incomingConnection(socketDescriptor0); +} +QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nextPendingConnection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLocalSocket*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLocalSocket* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); + } else { + returnValue = *((QLocalSocket**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalServer::nextPendingConnection(); +} +void PythonQtShell_QLocalServer::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalServer::timerEvent(event0); +} +QLocalServer* PythonQtWrapper_QLocalServer::new_QLocalServer(QObject* parent) +{ +return new PythonQtShell_QLocalServer(parent); } + +const QMetaObject* PythonQtShell_QLocalServer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLocalServer::staticMetaObject); + } else { + return &QLocalServer::staticMetaObject; + } +} +int PythonQtShell_QLocalServer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLocalServer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QLocalServer::close(QLocalServer* theWrappedObject) +{ + ( theWrappedObject->close()); +} + +QString PythonQtWrapper_QLocalServer::errorString(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QString PythonQtWrapper_QLocalServer::fullServerName(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->fullServerName()); +} + +bool PythonQtWrapper_QLocalServer::hasPendingConnections(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->hasPendingConnections()); +} + +void PythonQtWrapper_QLocalServer::incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor) +{ + ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_incomingConnection(socketDescriptor)); +} + +bool PythonQtWrapper_QLocalServer::isListening(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->isListening()); +} + +bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->listen(name)); +} + +bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, qintptr socketDescriptor) +{ + return ( theWrappedObject->listen(socketDescriptor)); +} + +int PythonQtWrapper_QLocalServer::maxPendingConnections(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->maxPendingConnections()); +} + +QLocalSocket* PythonQtWrapper_QLocalServer::nextPendingConnection(QLocalServer* theWrappedObject) +{ + return ( theWrappedObject->nextPendingConnection()); +} + +bool PythonQtWrapper_QLocalServer::static_QLocalServer_removeServer(const QString& name) +{ + return (QLocalServer::removeServer(name)); +} + +QAbstractSocket::SocketError PythonQtWrapper_QLocalServer::serverError(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->serverError()); +} + +QString PythonQtWrapper_QLocalServer::serverName(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->serverName()); +} + +void PythonQtWrapper_QLocalServer::setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections) +{ + ( theWrappedObject->setMaxPendingConnections(numConnections)); +} + +void PythonQtWrapper_QLocalServer::setSocketOptions(QLocalServer* theWrappedObject, QLocalServer::SocketOptions options) +{ + ( theWrappedObject->setSocketOptions(options)); +} + +qintptr PythonQtWrapper_QLocalServer::socketDescriptor(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +QLocalServer::SocketOptions PythonQtWrapper_QLocalServer::socketOptions(QLocalServer* theWrappedObject) const +{ + return ( theWrappedObject->socketOptions()); +} + +bool PythonQtWrapper_QLocalServer::waitForNewConnection(QLocalServer* theWrappedObject, int msec, bool* timedOut) +{ + return ( theWrappedObject->waitForNewConnection(msec, timedOut)); +} + + + +PythonQtShell_QLocalSocket::~PythonQtShell_QLocalSocket() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QLocalSocket::atEnd() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("atEnd"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::atEnd(); +} +qint64 PythonQtShell_QLocalSocket::bytesAvailable() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesAvailable"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::bytesAvailable(); +} +qint64 PythonQtShell_QLocalSocket::bytesToWrite() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bytesToWrite"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::bytesToWrite(); +} +bool PythonQtShell_QLocalSocket::canReadLine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("canReadLine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::canReadLine(); +} +void PythonQtShell_QLocalSocket::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalSocket::childEvent(event0); +} +void PythonQtShell_QLocalSocket::close() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("close"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalSocket::close(); +} +void PythonQtShell_QLocalSocket::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalSocket::customEvent(event0); +} +bool PythonQtShell_QLocalSocket::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::event(event0); +} +bool PythonQtShell_QLocalSocket::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::eventFilter(watched0, event1); +} +bool PythonQtShell_QLocalSocket::isSequential() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSequential"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::isSequential(); +} +bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("open"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&openMode0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::open(openMode0); +} +qint64 PythonQtShell_QLocalSocket::pos() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("pos"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::pos(); +} +qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::readData(arg__1, arg__2); +} +qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("readLineData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::readLineData(data0, maxlen1); +} +bool PythonQtShell_QLocalSocket::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::reset(); +} +bool PythonQtShell_QLocalSocket::seek(qint64 pos0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("seek"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::seek(pos0); +} +qint64 PythonQtShell_QLocalSocket::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::size(); +} +void PythonQtShell_QLocalSocket::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QLocalSocket::timerEvent(event0); +} +bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForBytesWritten"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("waitForReadyRead"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("writeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + qint64 returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QLocalSocket::writeData(arg__1, arg__2); +} +QLocalSocket* PythonQtWrapper_QLocalSocket::new_QLocalSocket(QObject* parent) +{ +return new PythonQtShell_QLocalSocket(parent); } + +const QMetaObject* PythonQtShell_QLocalSocket::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLocalSocket::staticMetaObject); + } else { + return &QLocalSocket::staticMetaObject; + } +} +int PythonQtShell_QLocalSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QLocalSocket::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QLocalSocket::abort(QLocalSocket* theWrappedObject) +{ + ( theWrappedObject->abort()); +} + +void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, QIODevice::OpenMode openMode) +{ + ( theWrappedObject->connectToServer(openMode)); +} + +void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode) +{ + ( theWrappedObject->connectToServer(name, openMode)); +} + +void PythonQtWrapper_QLocalSocket::disconnectFromServer(QLocalSocket* theWrappedObject) +{ + ( theWrappedObject->disconnectFromServer()); +} + +QLocalSocket::LocalSocketError PythonQtWrapper_QLocalSocket::error(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QLocalSocket::flush(QLocalSocket* theWrappedObject) +{ + return ( theWrappedObject->flush()); +} + +QString PythonQtWrapper_QLocalSocket::fullServerName(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->fullServerName()); +} + +bool PythonQtWrapper_QLocalSocket::isValid(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qint64 PythonQtWrapper_QLocalSocket::readBufferSize(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->readBufferSize()); +} + +QString PythonQtWrapper_QLocalSocket::serverName(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->serverName()); +} + +void PythonQtWrapper_QLocalSocket::setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setReadBufferSize(size)); +} + +void PythonQtWrapper_QLocalSocket::setServerName(QLocalSocket* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setServerName(name)); +} + +bool PythonQtWrapper_QLocalSocket::setSocketDescriptor(QLocalSocket* theWrappedObject, qintptr socketDescriptor, QLocalSocket::LocalSocketState socketState, QIODevice::OpenMode openMode) +{ + return ( theWrappedObject->setSocketDescriptor(socketDescriptor, socketState, openMode)); +} + +qintptr PythonQtWrapper_QLocalSocket::socketDescriptor(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->socketDescriptor()); +} + +QLocalSocket::LocalSocketState PythonQtWrapper_QLocalSocket::state(QLocalSocket* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +bool PythonQtWrapper_QLocalSocket::waitForConnected(QLocalSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForConnected(msecs)); +} + +bool PythonQtWrapper_QLocalSocket::waitForDisconnected(QLocalSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDisconnected(msecs)); +} + + + +PythonQtShell_QNetworkAccessManager::~PythonQtShell_QNetworkAccessManager() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkAccessManager::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkAccessManager::childEvent(event0); +} +QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op0, const QNetworkRequest& request1, QIODevice* outgoingData2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createRequest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkReply*" , "QNetworkAccessManager::Operation" , "const QNetworkRequest&" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QNetworkReply* returnValue{}; + void* args[4] = {nullptr, (void*)&op0, (void*)&request1, (void*)&outgoingData2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createRequest", methodInfo, result); + } else { + returnValue = *((QNetworkReply**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkAccessManager::createRequest(op0, request1, outgoingData2); +} +void PythonQtShell_QNetworkAccessManager::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkAccessManager::customEvent(event0); +} +bool PythonQtShell_QNetworkAccessManager::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkAccessManager::event(event0); +} +bool PythonQtShell_QNetworkAccessManager::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkAccessManager::eventFilter(watched0, event1); +} +void PythonQtShell_QNetworkAccessManager::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkAccessManager::timerEvent(event0); +} +QNetworkAccessManager* PythonQtWrapper_QNetworkAccessManager::new_QNetworkAccessManager(QObject* parent) +{ +return new PythonQtShell_QNetworkAccessManager(parent); } + +const QMetaObject* PythonQtShell_QNetworkAccessManager::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkAccessManager::staticMetaObject); + } else { + return &QNetworkAccessManager::staticMetaObject; + } +} +int PythonQtShell_QNetworkAccessManager::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkAccessManager::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QNetworkConfiguration PythonQtWrapper_QNetworkAccessManager::activeConfiguration(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->activeConfiguration()); +} + +void PythonQtWrapper_QNetworkAccessManager::addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts) +{ + ( theWrappedObject->addStrictTransportSecurityHosts(knownHosts)); +} + +bool PythonQtWrapper_QNetworkAccessManager::autoDeleteReplies(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->autoDeleteReplies()); +} + +QAbstractNetworkCache* PythonQtWrapper_QNetworkAccessManager::cache(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->cache()); +} + +void PythonQtWrapper_QNetworkAccessManager::clearAccessCache(QNetworkAccessManager* theWrappedObject) +{ + ( theWrappedObject->clearAccessCache()); +} + +void PythonQtWrapper_QNetworkAccessManager::clearConnectionCache(QNetworkAccessManager* theWrappedObject) +{ + ( theWrappedObject->clearConnectionCache()); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkAccessManager::configuration(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->configuration()); +} + +void PythonQtWrapper_QNetworkAccessManager::connectToHost(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port) +{ + ( theWrappedObject->connectToHost(hostName, port)); +} + +void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration) +{ + ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration)); +} + +void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration, const QString& peerName) +{ + ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration, peerName)); +} + +QNetworkCookieJar* PythonQtWrapper_QNetworkAccessManager::cookieJar(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->cookieJar()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData) +{ + return ( ((PythonQtPublicPromoter_QNetworkAccessManager*)theWrappedObject)->promoted_createRequest(op, request, outgoingData)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::deleteResource(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +{ + return ( theWrappedObject->deleteResource(request)); +} + +void PythonQtWrapper_QNetworkAccessManager::enableStrictTransportSecurityStore(QNetworkAccessManager* theWrappedObject, bool enabled, const QString& storeDir) +{ + ( theWrappedObject->enableStrictTransportSecurityStore(enabled, storeDir)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +{ + return ( theWrappedObject->get(request)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +{ + return ( theWrappedObject->head(request)); +} + +bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->isStrictTransportSecurityEnabled()); +} + +bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityStoreEnabled(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->isStrictTransportSecurityStoreEnabled()); +} + +QNetworkAccessManager::NetworkAccessibility PythonQtWrapper_QNetworkAccessManager::networkAccessible(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessible()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) +{ + return ( theWrappedObject->post(request, multiPart)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) +{ + return ( theWrappedObject->post(request, data)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +{ + return ( theWrappedObject->post(request, data)); +} + +QNetworkProxy PythonQtWrapper_QNetworkAccessManager::proxy(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->proxy()); +} + +QNetworkProxyFactory* PythonQtWrapper_QNetworkAccessManager::proxyFactory(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->proxyFactory()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) +{ + return ( theWrappedObject->put(request, multiPart)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) +{ + return ( theWrappedObject->put(request, data)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +{ + return ( theWrappedObject->put(request, data)); +} + +QNetworkRequest::RedirectPolicy PythonQtWrapper_QNetworkAccessManager::redirectPolicy(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->redirectPolicy()); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QHttpMultiPart* multiPart) +{ + return ( theWrappedObject->sendCustomRequest(request, verb, multiPart)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QIODevice* data) +{ + return ( theWrappedObject->sendCustomRequest(request, verb, data)); +} + +QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, const QByteArray& data) +{ + return ( theWrappedObject->sendCustomRequest(request, verb, data)); +} + +void PythonQtWrapper_QNetworkAccessManager::setAutoDeleteReplies(QNetworkAccessManager* theWrappedObject, bool autoDelete) +{ + ( theWrappedObject->setAutoDeleteReplies(autoDelete)); +} + +void PythonQtWrapper_QNetworkAccessManager::setCache(QNetworkAccessManager* theWrappedObject, QAbstractNetworkCache* cache) +{ + ( theWrappedObject->setCache(cache)); +} + +void PythonQtWrapper_QNetworkAccessManager::setConfiguration(QNetworkAccessManager* theWrappedObject, const QNetworkConfiguration& config) +{ + ( theWrappedObject->setConfiguration(config)); +} + +void PythonQtWrapper_QNetworkAccessManager::setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar) +{ + ( theWrappedObject->setCookieJar(cookieJar)); +} + +void PythonQtWrapper_QNetworkAccessManager::setNetworkAccessible(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::NetworkAccessibility accessible) +{ + ( theWrappedObject->setNetworkAccessible(accessible)); +} + +void PythonQtWrapper_QNetworkAccessManager::setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy) +{ + ( theWrappedObject->setProxy(proxy)); +} + +void PythonQtWrapper_QNetworkAccessManager::setProxyFactory(QNetworkAccessManager* theWrappedObject, QNetworkProxyFactory* factory) +{ + ( theWrappedObject->setProxyFactory(factory)); +} + +void PythonQtWrapper_QNetworkAccessManager::setRedirectPolicy(QNetworkAccessManager* theWrappedObject, QNetworkRequest::RedirectPolicy policy) +{ + ( theWrappedObject->setRedirectPolicy(policy)); +} + +void PythonQtWrapper_QNetworkAccessManager::setStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setStrictTransportSecurityEnabled(enabled)); +} + +void PythonQtWrapper_QNetworkAccessManager::setTransferTimeout(QNetworkAccessManager* theWrappedObject, int timeout) +{ + ( theWrappedObject->setTransferTimeout(timeout)); +} + +QVector PythonQtWrapper_QNetworkAccessManager::strictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->strictTransportSecurityHosts()); +} + +QStringList PythonQtWrapper_QNetworkAccessManager::supportedSchemes(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->supportedSchemes()); +} + +int PythonQtWrapper_QNetworkAccessManager::transferTimeout(QNetworkAccessManager* theWrappedObject) const +{ + return ( theWrappedObject->transferTimeout()); +} + + + +QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry() +{ +return new QNetworkAddressEntry(); } + +QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry(const QNetworkAddressEntry& other) +{ +return new QNetworkAddressEntry(other); } + +QHostAddress PythonQtWrapper_QNetworkAddressEntry::broadcast(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->broadcast()); +} + +void PythonQtWrapper_QNetworkAddressEntry::clearAddressLifetime(QNetworkAddressEntry* theWrappedObject) +{ + ( theWrappedObject->clearAddressLifetime()); +} + +QNetworkAddressEntry::DnsEligibilityStatus PythonQtWrapper_QNetworkAddressEntry::dnsEligibility(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->dnsEligibility()); +} + +QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->ip()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::isLifetimeKnown(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->isLifetimeKnown()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::isPermanent(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->isPermanent()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::isTemporary(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->isTemporary()); +} + +QHostAddress PythonQtWrapper_QNetworkAddressEntry::netmask(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->netmask()); +} + +bool PythonQtWrapper_QNetworkAddressEntry::__ne__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkAddressEntry::__eq__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const +{ + return ( (*theWrappedObject)== other); +} + +QDeadlineTimer PythonQtWrapper_QNetworkAddressEntry::preferredLifetime(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->preferredLifetime()); +} + +int PythonQtWrapper_QNetworkAddressEntry::prefixLength(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->prefixLength()); +} + +void PythonQtWrapper_QNetworkAddressEntry::setAddressLifetime(QNetworkAddressEntry* theWrappedObject, QDeadlineTimer preferred, QDeadlineTimer validity) +{ + ( theWrappedObject->setAddressLifetime(preferred, validity)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast) +{ + ( theWrappedObject->setBroadcast(newBroadcast)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setDnsEligibility(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry::DnsEligibilityStatus status) +{ + ( theWrappedObject->setDnsEligibility(status)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp) +{ + ( theWrappedObject->setIp(newIp)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask) +{ + ( theWrappedObject->setNetmask(newNetmask)); +} + +void PythonQtWrapper_QNetworkAddressEntry::setPrefixLength(QNetworkAddressEntry* theWrappedObject, int length) +{ + ( theWrappedObject->setPrefixLength(length)); +} + +void PythonQtWrapper_QNetworkAddressEntry::swap(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry& other) +{ + ( theWrappedObject->swap(other)); +} + +QDeadlineTimer PythonQtWrapper_QNetworkAddressEntry::validityLifetime(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->validityLifetime()); +} + + + +QNetworkCacheMetaData* PythonQtWrapper_QNetworkCacheMetaData::new_QNetworkCacheMetaData() +{ +return new QNetworkCacheMetaData(); } + +QNetworkCacheMetaData* PythonQtWrapper_QNetworkCacheMetaData::new_QNetworkCacheMetaData(const QNetworkCacheMetaData& other) +{ +return new QNetworkCacheMetaData(other); } + +QHash PythonQtWrapper_QNetworkCacheMetaData::attributes(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +QDateTime PythonQtWrapper_QNetworkCacheMetaData::expirationDate(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->expirationDate()); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::isValid(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QDateTime PythonQtWrapper_QNetworkCacheMetaData::lastModified(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->lastModified()); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::__ne__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const +{ + return ( (*theWrappedObject)!= other); +} + +void PythonQtWrapper_QNetworkCacheMetaData::writeTo(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::__eq__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QNetworkCacheMetaData::readFrom(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +QList > PythonQtWrapper_QNetworkCacheMetaData::rawHeaders(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaders()); +} + +bool PythonQtWrapper_QNetworkCacheMetaData::saveToDisk(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->saveToDisk()); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setAttributes(QNetworkCacheMetaData* theWrappedObject, const QHash& attributes) +{ + ( theWrappedObject->setAttributes(attributes)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setExpirationDate(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime) +{ + ( theWrappedObject->setExpirationDate(dateTime)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setLastModified(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime) +{ + ( theWrappedObject->setLastModified(dateTime)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setRawHeaders(QNetworkCacheMetaData* theWrappedObject, const QList >& headers) +{ + ( theWrappedObject->setRawHeaders(headers)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setSaveToDisk(QNetworkCacheMetaData* theWrappedObject, bool allow) +{ + ( theWrappedObject->setSaveToDisk(allow)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::setUrl(QNetworkCacheMetaData* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QNetworkCacheMetaData::swap(QNetworkCacheMetaData* theWrappedObject, QNetworkCacheMetaData& other) +{ + ( theWrappedObject->swap(other)); +} + +QUrl PythonQtWrapper_QNetworkCacheMetaData::url(QNetworkCacheMetaData* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +QNetworkConfiguration* PythonQtWrapper_QNetworkConfiguration::new_QNetworkConfiguration() +{ +return new QNetworkConfiguration(); } + +QNetworkConfiguration* PythonQtWrapper_QNetworkConfiguration::new_QNetworkConfiguration(const QNetworkConfiguration& other) +{ +return new QNetworkConfiguration(other); } + +QNetworkConfiguration::BearerType PythonQtWrapper_QNetworkConfiguration::bearerType(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->bearerType()); +} + +QNetworkConfiguration::BearerType PythonQtWrapper_QNetworkConfiguration::bearerTypeFamily(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->bearerTypeFamily()); +} + +QString PythonQtWrapper_QNetworkConfiguration::bearerTypeName(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->bearerTypeName()); +} + +QList PythonQtWrapper_QNetworkConfiguration::children(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->children()); +} + +int PythonQtWrapper_QNetworkConfiguration::connectTimeout(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->connectTimeout()); +} + +QString PythonQtWrapper_QNetworkConfiguration::identifier(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->identifier()); +} + +bool PythonQtWrapper_QNetworkConfiguration::isRoamingAvailable(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->isRoamingAvailable()); +} + +bool PythonQtWrapper_QNetworkConfiguration::isValid(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QNetworkConfiguration::name(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QNetworkConfiguration::__ne__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QNetworkConfiguration* PythonQtWrapper_QNetworkConfiguration::operator_assign(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QNetworkConfiguration::__eq__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QNetworkConfiguration::Purpose PythonQtWrapper_QNetworkConfiguration::purpose(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->purpose()); +} + +bool PythonQtWrapper_QNetworkConfiguration::setConnectTimeout(QNetworkConfiguration* theWrappedObject, int timeout) +{ + return ( theWrappedObject->setConnectTimeout(timeout)); +} + +QNetworkConfiguration::StateFlags PythonQtWrapper_QNetworkConfiguration::state(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QNetworkConfiguration::swap(QNetworkConfiguration* theWrappedObject, QNetworkConfiguration& other) +{ + ( theWrappedObject->swap(other)); +} + +QNetworkConfiguration::Type PythonQtWrapper_QNetworkConfiguration::type(QNetworkConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QNetworkConfigurationManager::~PythonQtShell_QNetworkConfigurationManager() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkConfigurationManager::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkConfigurationManager::childEvent(event0); +} +void PythonQtShell_QNetworkConfigurationManager::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkConfigurationManager::customEvent(event0); +} +bool PythonQtShell_QNetworkConfigurationManager::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkConfigurationManager::event(event0); +} +bool PythonQtShell_QNetworkConfigurationManager::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkConfigurationManager::eventFilter(watched0, event1); +} +void PythonQtShell_QNetworkConfigurationManager::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkConfigurationManager::timerEvent(event0); +} +QNetworkConfigurationManager* PythonQtWrapper_QNetworkConfigurationManager::new_QNetworkConfigurationManager(QObject* parent) +{ +return new PythonQtShell_QNetworkConfigurationManager(parent); } + +const QMetaObject* PythonQtShell_QNetworkConfigurationManager::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkConfigurationManager::staticMetaObject); + } else { + return &QNetworkConfigurationManager::staticMetaObject; + } +} +int PythonQtShell_QNetworkConfigurationManager::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkConfigurationManager::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QNetworkConfigurationManager::allConfigurations(QNetworkConfigurationManager* theWrappedObject, QNetworkConfiguration::StateFlags flags) const +{ + return ( theWrappedObject->allConfigurations(flags)); +} + +QNetworkConfigurationManager::Capabilities PythonQtWrapper_QNetworkConfigurationManager::capabilities(QNetworkConfigurationManager* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkConfigurationManager::configurationFromIdentifier(QNetworkConfigurationManager* theWrappedObject, const QString& identifier) const +{ + return ( theWrappedObject->configurationFromIdentifier(identifier)); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkConfigurationManager::defaultConfiguration(QNetworkConfigurationManager* theWrappedObject) const +{ + return ( theWrappedObject->defaultConfiguration()); +} + +bool PythonQtWrapper_QNetworkConfigurationManager::isOnline(QNetworkConfigurationManager* theWrappedObject) const +{ + return ( theWrappedObject->isOnline()); +} + + + +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); } + +QString PythonQtWrapper_QNetworkCookie::domain(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->domain()); +} + +QDateTime PythonQtWrapper_QNetworkCookie::expirationDate(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->expirationDate()); +} + +bool PythonQtWrapper_QNetworkCookie::hasSameIdentifier(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const +{ + return ( theWrappedObject->hasSameIdentifier(other)); +} + +bool PythonQtWrapper_QNetworkCookie::isHttpOnly(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->isHttpOnly()); +} + +bool PythonQtWrapper_QNetworkCookie::isSecure(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->isSecure()); +} + +bool PythonQtWrapper_QNetworkCookie::isSessionCookie(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->isSessionCookie()); +} + +QByteArray PythonQtWrapper_QNetworkCookie::name(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QNetworkCookie::normalize(QNetworkCookie* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->normalize(url)); +} + +bool PythonQtWrapper_QNetworkCookie::__ne__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkCookie::__eq__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const +{ + return ( (*theWrappedObject)== other); +} + +QList PythonQtWrapper_QNetworkCookie::static_QNetworkCookie_parseCookies(const QByteArray& cookieString) +{ + return (QNetworkCookie::parseCookies(cookieString)); +} + +QString PythonQtWrapper_QNetworkCookie::path(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QNetworkCookie::setDomain(QNetworkCookie* theWrappedObject, const QString& domain) +{ + ( theWrappedObject->setDomain(domain)); +} + +void PythonQtWrapper_QNetworkCookie::setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date) +{ + ( theWrappedObject->setExpirationDate(date)); +} + +void PythonQtWrapper_QNetworkCookie::setHttpOnly(QNetworkCookie* theWrappedObject, bool enable) +{ + ( theWrappedObject->setHttpOnly(enable)); +} + +void PythonQtWrapper_QNetworkCookie::setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName) +{ + ( theWrappedObject->setName(cookieName)); +} + +void PythonQtWrapper_QNetworkCookie::setPath(QNetworkCookie* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setPath(path)); +} + +void PythonQtWrapper_QNetworkCookie::setSecure(QNetworkCookie* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSecure(enable)); +} + +void PythonQtWrapper_QNetworkCookie::setValue(QNetworkCookie* theWrappedObject, const QByteArray& value) +{ + ( theWrappedObject->setValue(value)); +} + +void PythonQtWrapper_QNetworkCookie::swap(QNetworkCookie* theWrappedObject, QNetworkCookie& other) +{ + ( theWrappedObject->swap(other)); +} + +QByteArray PythonQtWrapper_QNetworkCookie::toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form) const +{ + return ( theWrappedObject->toRawForm(form)); +} + +QByteArray PythonQtWrapper_QNetworkCookie::value(QNetworkCookie* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + +QString PythonQtWrapper_QNetworkCookie::py_toString(QNetworkCookie* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QNetworkCookieJar::~PythonQtShell_QNetworkCookieJar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QNetworkCookieJar::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkCookieJar::childEvent(event0); +} +QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cookiesForUrl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QList returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cookiesForUrl", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::cookiesForUrl(url0); +} +void PythonQtShell_QNetworkCookieJar::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkCookieJar::customEvent(event0); +} +bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cookie0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("deleteCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&cookie0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("deleteCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::deleteCookie(cookie0); +} +bool PythonQtShell_QNetworkCookieJar::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::event(event0); +} +bool PythonQtShell_QNetworkCookieJar::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::eventFilter(watched0, event1); +} +bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cookie0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insertCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&cookie0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::insertCookie(cookie0); +} +bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList0, const QUrl& url1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setCookiesFromUrl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QList&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&cookieList0, (void*)&url1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setCookiesFromUrl", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::setCookiesFromUrl(cookieList0, url1); +} +void PythonQtShell_QNetworkCookieJar::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkCookieJar::timerEvent(event0); +} +bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cookie0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&cookie0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::updateCookie(cookie0); +} +bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& cookie0, const QUrl& url1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("validateCookie"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QNetworkCookie&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&cookie0, (void*)&url1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validateCookie", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkCookieJar::validateCookie(cookie0, url1); +} +QNetworkCookieJar* PythonQtWrapper_QNetworkCookieJar::new_QNetworkCookieJar(QObject* parent) +{ +return new PythonQtShell_QNetworkCookieJar(parent); } + +const QMetaObject* PythonQtShell_QNetworkCookieJar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkCookieJar::staticMetaObject); + } else { + return &QNetworkCookieJar::staticMetaObject; + } +} +int PythonQtShell_QNetworkCookieJar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkCookieJar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QNetworkCookieJar::allCookies(QNetworkCookieJar* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_allCookies()); +} + +QList PythonQtWrapper_QNetworkCookieJar::cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const +{ + return ( theWrappedObject->cookiesForUrl(url)); +} + +bool PythonQtWrapper_QNetworkCookieJar::deleteCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) +{ + return ( theWrappedObject->deleteCookie(cookie)); +} + +bool PythonQtWrapper_QNetworkCookieJar::insertCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) +{ + return ( theWrappedObject->insertCookie(cookie)); +} + +void PythonQtWrapper_QNetworkCookieJar::setAllCookies(QNetworkCookieJar* theWrappedObject, const QList& cookieList) +{ + ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_setAllCookies(cookieList)); +} + +bool PythonQtWrapper_QNetworkCookieJar::setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url) +{ + return ( theWrappedObject->setCookiesFromUrl(cookieList, url)); +} + +bool PythonQtWrapper_QNetworkCookieJar::updateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) +{ + return ( theWrappedObject->updateCookie(cookie)); +} + +bool PythonQtWrapper_QNetworkCookieJar::validateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie, const QUrl& url) const +{ + return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_validateCookie(cookie, url)); +} + + + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::new_QNetworkDatagram() +{ +return new QNetworkDatagram(); } + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::new_QNetworkDatagram(const QByteArray& data, const QHostAddress& destinationAddress, unsigned short port) +{ +return new QNetworkDatagram(data, destinationAddress, port); } + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::new_QNetworkDatagram(const QNetworkDatagram& other) +{ +return new QNetworkDatagram(other); } + +void PythonQtWrapper_QNetworkDatagram::clear(QNetworkDatagram* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QByteArray PythonQtWrapper_QNetworkDatagram::data(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QHostAddress PythonQtWrapper_QNetworkDatagram::destinationAddress(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->destinationAddress()); +} + +int PythonQtWrapper_QNetworkDatagram::destinationPort(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->destinationPort()); +} + +int PythonQtWrapper_QNetworkDatagram::hopLimit(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->hopLimit()); +} + +uint PythonQtWrapper_QNetworkDatagram::interfaceIndex(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->interfaceIndex()); +} + +bool PythonQtWrapper_QNetworkDatagram::isNull(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QNetworkDatagram::isValid(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QNetworkDatagram PythonQtWrapper_QNetworkDatagram::makeReply(QNetworkDatagram* theWrappedObject, const QByteArray& paylaod) const +{ + return ( theWrappedObject->makeReply(paylaod)); +} + +QNetworkDatagram* PythonQtWrapper_QNetworkDatagram::operator_assign(QNetworkDatagram* theWrappedObject, const QNetworkDatagram& other) +{ + return &( (*theWrappedObject)= other); +} + +QHostAddress PythonQtWrapper_QNetworkDatagram::senderAddress(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->senderAddress()); +} + +int PythonQtWrapper_QNetworkDatagram::senderPort(QNetworkDatagram* theWrappedObject) const +{ + return ( theWrappedObject->senderPort()); +} + +void PythonQtWrapper_QNetworkDatagram::setData(QNetworkDatagram* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->setData(data)); +} + +void PythonQtWrapper_QNetworkDatagram::setDestination(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port) +{ + ( theWrappedObject->setDestination(address, port)); +} + +void PythonQtWrapper_QNetworkDatagram::setHopLimit(QNetworkDatagram* theWrappedObject, int count) +{ + ( theWrappedObject->setHopLimit(count)); +} + +void PythonQtWrapper_QNetworkDatagram::setInterfaceIndex(QNetworkDatagram* theWrappedObject, uint index) +{ + ( theWrappedObject->setInterfaceIndex(index)); +} + +void PythonQtWrapper_QNetworkDatagram::setSender(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port) +{ + ( theWrappedObject->setSender(address, port)); +} + +void PythonQtWrapper_QNetworkDatagram::swap(QNetworkDatagram* theWrappedObject, QNetworkDatagram& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QNetworkDiskCache::~PythonQtShell_QNetworkDiskCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("cacheSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::cacheSize(); +} +void PythonQtShell_QNetworkDiskCache::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::childEvent(event0); +} +void PythonQtShell_QNetworkDiskCache::clear() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clear"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::clear(); +} +void PythonQtShell_QNetworkDiskCache::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::customEvent(event0); +} +QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::data(url0); +} +bool PythonQtShell_QNetworkDiskCache::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::event(event0); +} +bool PythonQtShell_QNetworkDiskCache::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::eventFilter(watched0, event1); +} +qint64 PythonQtShell_QNetworkDiskCache::expire() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("expire"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expire", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::expire(); +} +void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("insert"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QIODevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&device0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::insert(device0); +} +QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QNetworkCacheMetaData returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + } else { + returnValue = *((QNetworkCacheMetaData*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::metaData(url0); +} +QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("prepare"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QIODevice* returnValue{}; + void* args[2] = {nullptr, (void*)&metaData0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); + } else { + returnValue = *((QIODevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::prepare(metaData0); +} +bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("remove"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QNetworkDiskCache::remove(url0); +} +void PythonQtShell_QNetworkDiskCache::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::timerEvent(event0); +} +void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData& metaData0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateMetaData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&metaData0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QNetworkDiskCache::updateMetaData(metaData0); +} +QNetworkDiskCache* PythonQtWrapper_QNetworkDiskCache::new_QNetworkDiskCache(QObject* parent) +{ +return new PythonQtShell_QNetworkDiskCache(parent); } + +const QMetaObject* PythonQtShell_QNetworkDiskCache::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkDiskCache::staticMetaObject); + } else { + return &QNetworkDiskCache::staticMetaObject; + } +} +int PythonQtShell_QNetworkDiskCache::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkDiskCache::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QString PythonQtWrapper_QNetworkDiskCache::cacheDirectory(QNetworkDiskCache* theWrappedObject) const +{ + return ( theWrappedObject->cacheDirectory()); +} + +qint64 PythonQtWrapper_QNetworkDiskCache::expire(QNetworkDiskCache* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_expire()); +} + +QNetworkCacheMetaData PythonQtWrapper_QNetworkDiskCache::fileMetaData(QNetworkDiskCache* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->fileMetaData(fileName)); +} + +qint64 PythonQtWrapper_QNetworkDiskCache::maximumCacheSize(QNetworkDiskCache* theWrappedObject) const +{ + return ( theWrappedObject->maximumCacheSize()); +} + +void PythonQtWrapper_QNetworkDiskCache::setCacheDirectory(QNetworkDiskCache* theWrappedObject, const QString& cacheDir) +{ + ( theWrappedObject->setCacheDirectory(cacheDir)); +} + +void PythonQtWrapper_QNetworkDiskCache::setMaximumCacheSize(QNetworkDiskCache* theWrappedObject, qint64 size) +{ + ( theWrappedObject->setMaximumCacheSize(size)); +} + + + +QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface() +{ +return new QNetworkInterface(); } + +QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface(const QNetworkInterface& other) +{ +return new QNetworkInterface(other); } + +QList PythonQtWrapper_QNetworkInterface::addressEntries(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->addressEntries()); +} + +QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses() +{ + return (QNetworkInterface::allAddresses()); +} + +QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces() +{ + return (QNetworkInterface::allInterfaces()); +} + +QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->hardwareAddress()); +} + +QString PythonQtWrapper_QNetworkInterface::humanReadableName(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->humanReadableName()); +} + +int PythonQtWrapper_QNetworkInterface::index(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index) +{ + return (QNetworkInterface::interfaceFromIndex(index)); +} + +QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name) +{ + return (QNetworkInterface::interfaceFromName(name)); +} + +int PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceIndexFromName(const QString& name) +{ + return (QNetworkInterface::interfaceIndexFromName(name)); +} + +QString PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceNameFromIndex(int index) +{ + return (QNetworkInterface::interfaceNameFromIndex(index)); +} + +bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QNetworkInterface::maximumTransmissionUnit(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->maximumTransmissionUnit()); +} + +QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QNetworkInterface::swap(QNetworkInterface* theWrappedObject, QNetworkInterface& other) +{ + ( theWrappedObject->swap(other)); +} + +QNetworkInterface::InterfaceType PythonQtWrapper_QNetworkInterface::type(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QNetworkInterface::py_toString(QNetworkInterface* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +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); } + +QNetworkProxy PythonQtWrapper_QNetworkProxy::static_QNetworkProxy_applicationProxy() +{ + return (QNetworkProxy::applicationProxy()); +} + +QNetworkProxy::Capabilities PythonQtWrapper_QNetworkProxy::capabilities(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); +} + +bool PythonQtWrapper_QNetworkProxy::hasRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->hasRawHeader(headerName)); +} + +QVariant PythonQtWrapper_QNetworkProxy::header(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header) const +{ + return ( theWrappedObject->header(header)); +} + +QString PythonQtWrapper_QNetworkProxy::hostName(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->hostName()); +} + +bool PythonQtWrapper_QNetworkProxy::isCachingProxy(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->isCachingProxy()); +} + +bool PythonQtWrapper_QNetworkProxy::isTransparentProxy(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->isTransparentProxy()); +} + +bool PythonQtWrapper_QNetworkProxy::__ne__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkProxy::__eq__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QNetworkProxy::password(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} + +unsigned short PythonQtWrapper_QNetworkProxy::port(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +QByteArray PythonQtWrapper_QNetworkProxy::rawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->rawHeader(headerName)); +} + +QList PythonQtWrapper_QNetworkProxy::rawHeaderList(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->rawHeaderList()); +} + +void PythonQtWrapper_QNetworkProxy::static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy) +{ + (QNetworkProxy::setApplicationProxy(proxy)); +} + +void PythonQtWrapper_QNetworkProxy::setCapabilities(QNetworkProxy* theWrappedObject, QNetworkProxy::Capabilities capab) +{ + ( theWrappedObject->setCapabilities(capab)); +} + +void PythonQtWrapper_QNetworkProxy::setHeader(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( theWrappedObject->setHeader(header, value)); +} + +void PythonQtWrapper_QNetworkProxy::setHostName(QNetworkProxy* theWrappedObject, const QString& hostName) +{ + ( theWrappedObject->setHostName(hostName)); +} + +void PythonQtWrapper_QNetworkProxy::setPassword(QNetworkProxy* theWrappedObject, const QString& password) +{ + ( theWrappedObject->setPassword(password)); +} + +void PythonQtWrapper_QNetworkProxy::setPort(QNetworkProxy* theWrappedObject, unsigned short port) +{ + ( theWrappedObject->setPort(port)); +} + +void PythonQtWrapper_QNetworkProxy::setRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName, const QByteArray& value) +{ + ( theWrappedObject->setRawHeader(headerName, value)); +} + +void PythonQtWrapper_QNetworkProxy::setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QNetworkProxy::setUser(QNetworkProxy* theWrappedObject, const QString& userName) +{ + ( theWrappedObject->setUser(userName)); +} + +void PythonQtWrapper_QNetworkProxy::swap(QNetworkProxy* theWrappedObject, QNetworkProxy& other) +{ + ( theWrappedObject->swap(other)); +} + +QNetworkProxy::ProxyType PythonQtWrapper_QNetworkProxy::type(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QNetworkProxy::user(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->user()); +} + +QString PythonQtWrapper_QNetworkProxy::py_toString(QNetworkProxy* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QNetworkProxyFactory::~PythonQtShell_QNetworkProxyFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNetworkProxyQuery& query0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("queryProxy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList" , "const QNetworkProxyQuery&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QList returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("queryProxy", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +QNetworkProxyFactory* PythonQtWrapper_QNetworkProxyFactory::new_QNetworkProxyFactory() +{ +return new PythonQtShell_QNetworkProxyFactory(); } + +QList PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_proxyForQuery(const QNetworkProxyQuery& query) +{ + return (QNetworkProxyFactory::proxyForQuery(query)); +} + +QList PythonQtWrapper_QNetworkProxyFactory::queryProxy(QNetworkProxyFactory* theWrappedObject, const QNetworkProxyQuery& query) +{ + return ( theWrappedObject->queryProxy(query)); +} + +void PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactory* factory) +{ + (QNetworkProxyFactory::setApplicationProxyFactory(factory)); +} + +void PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_setUseSystemConfiguration(bool enable) +{ + (QNetworkProxyFactory::setUseSystemConfiguration(enable)); +} + +QList PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_systemProxyForQuery(const QNetworkProxyQuery& query) +{ + return (QNetworkProxyFactory::systemProxyForQuery(query)); +} + +bool PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_usesSystemConfiguration() +{ + return (QNetworkProxyFactory::usesSystemConfiguration()); +} + + + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery() +{ +return new QNetworkProxyQuery(); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QString& hostname, int port, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(networkConfiguration, hostname, port, protocolTag, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(networkConfiguration, requestUrl, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, unsigned short bindPort, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(networkConfiguration, bindPort, protocolTag, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QNetworkProxyQuery& other) +{ +return new QNetworkProxyQuery(other); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QString& hostname, int port, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(hostname, port, protocolTag, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(requestUrl, queryType); } + +QNetworkProxyQuery* PythonQtWrapper_QNetworkProxyQuery::new_QNetworkProxyQuery(unsigned short bindPort, const QString& protocolTag, QNetworkProxyQuery::QueryType queryType) +{ +return new QNetworkProxyQuery(bindPort, protocolTag, queryType); } + +int PythonQtWrapper_QNetworkProxyQuery::localPort(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->localPort()); +} + +QNetworkConfiguration PythonQtWrapper_QNetworkProxyQuery::networkConfiguration(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->networkConfiguration()); +} + +bool PythonQtWrapper_QNetworkProxyQuery::__ne__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QNetworkProxyQuery::__eq__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QNetworkProxyQuery::peerHostName(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->peerHostName()); +} + +int PythonQtWrapper_QNetworkProxyQuery::peerPort(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->peerPort()); +} + +QString PythonQtWrapper_QNetworkProxyQuery::protocolTag(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->protocolTag()); +} + +QNetworkProxyQuery::QueryType PythonQtWrapper_QNetworkProxyQuery::queryType(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryType()); +} + +void PythonQtWrapper_QNetworkProxyQuery::setLocalPort(QNetworkProxyQuery* theWrappedObject, int port) +{ + ( theWrappedObject->setLocalPort(port)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setNetworkConfiguration(QNetworkProxyQuery* theWrappedObject, const QNetworkConfiguration& networkConfiguration) +{ + ( theWrappedObject->setNetworkConfiguration(networkConfiguration)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setPeerHostName(QNetworkProxyQuery* theWrappedObject, const QString& hostname) +{ + ( theWrappedObject->setPeerHostName(hostname)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setPeerPort(QNetworkProxyQuery* theWrappedObject, int port) +{ + ( theWrappedObject->setPeerPort(port)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setProtocolTag(QNetworkProxyQuery* theWrappedObject, const QString& protocolTag) +{ + ( theWrappedObject->setProtocolTag(protocolTag)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setQueryType(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery::QueryType type) +{ + ( theWrappedObject->setQueryType(type)); +} + +void PythonQtWrapper_QNetworkProxyQuery::setUrl(QNetworkProxyQuery* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QNetworkProxyQuery::swap(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery& other) +{ + ( theWrappedObject->swap(other)); +} + +QUrl PythonQtWrapper_QNetworkProxyQuery::url(QNetworkProxyQuery* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +QString PythonQtWrapper_QNetworkProxyQuery::py_toString(QNetworkProxyQuery* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.h similarity index 51% rename from generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.h rename to generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.h index 13077900..5a28958c 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.h @@ -1,65 +1,71 @@ #include -#include -#include -#include +#include #include -#include -#include #include #include #include #include +#include +#include +#include +#include +#include #include -#include #include #include #include #include #include +#include #include #include #include #include #include -#include +#include #include -#include -#include +#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_QAbstractNetworkCache : public QAbstractNetworkCache { public: - PythonQtShell_QAbstractNetworkCache(QObject* parent = nullptr):QAbstractNetworkCache(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractNetworkCache(); - -virtual qint64 cacheSize() const; -virtual void clear(); -virtual QIODevice* data(const QUrl& url); -virtual void insert(QIODevice* device); -virtual QNetworkCacheMetaData metaData(const QUrl& url); -virtual QIODevice* prepare(const QNetworkCacheMetaData& metaData); -virtual bool remove(const QUrl& url); -virtual void updateMetaData(const QNetworkCacheMetaData& metaData); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractNetworkCache(QObject* parent = nullptr):QAbstractNetworkCache(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractNetworkCache() override; + +qint64 cacheSize() const override; +void childEvent(QChildEvent* event) override; +void clear() override; +void customEvent(QEvent* event) override; +QIODevice* data(const QUrl& url) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void insert(QIODevice* device) override; +QNetworkCacheMetaData metaData(const QUrl& url) override; +QIODevice* prepare(const QNetworkCacheMetaData& metaData) override; +bool remove(const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +void updateMetaData(const QNetworkCacheMetaData& metaData) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractNetworkCache : public QAbstractNetworkCache @@ -79,7 +85,7 @@ class PythonQtWrapper_QAbstractNetworkCache : public QObject public: public slots: QAbstractNetworkCache* new_QAbstractNetworkCache(QObject* parent = nullptr); -void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } +void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } qint64 cacheSize(QAbstractNetworkCache* theWrappedObject) const; qint64 py_q_cacheSize(QAbstractNetworkCache* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_cacheSize());} void py_q_clear(QAbstractNetworkCache* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_clear());} @@ -104,41 +110,46 @@ void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } class PythonQtShell_QAbstractSocket : public QAbstractSocket { public: - PythonQtShell_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent):QAbstractSocket(socketType, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -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 void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent):QAbstractSocket(socketType, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSocket : public QAbstractSocket @@ -190,7 +201,7 @@ Q_DECLARE_FLAGS(BindMode, BindFlag) Q_DECLARE_FLAGS(PauseModes, PauseMode) public slots: QAbstractSocket* new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent); -void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } +void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } void abort(QAbstractSocket* theWrappedObject); bool py_q_atEnd(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_atEnd());} bool bind(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port = 0, QAbstractSocket::BindMode mode = QAbstractSocket::DefaultForPlatform); @@ -264,7 +275,7 @@ class PythonQtWrapper_QAuthenticator : public QObject public slots: QAuthenticator* new_QAuthenticator(); QAuthenticator* new_QAuthenticator(const QAuthenticator& other); -void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } +void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } bool isNull(QAuthenticator* theWrappedObject) const; bool __ne__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; bool __eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; @@ -284,19 +295,60 @@ void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } +class PythonQtWrapper_QDnsDomainNameRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsDomainNameRecord* new_QDnsDomainNameRecord(); +QDnsDomainNameRecord* new_QDnsDomainNameRecord(const QDnsDomainNameRecord& other); +void delete_QDnsDomainNameRecord(QDnsDomainNameRecord* obj) { delete obj; } + QString name(QDnsDomainNameRecord* theWrappedObject) const; + QDnsDomainNameRecord* operator_assign(QDnsDomainNameRecord* theWrappedObject, const QDnsDomainNameRecord& other); + void swap(QDnsDomainNameRecord* theWrappedObject, QDnsDomainNameRecord& other); + unsigned int timeToLive(QDnsDomainNameRecord* theWrappedObject) const; + QString value(QDnsDomainNameRecord* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDnsHostAddressRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsHostAddressRecord* new_QDnsHostAddressRecord(); +QDnsHostAddressRecord* new_QDnsHostAddressRecord(const QDnsHostAddressRecord& other); +void delete_QDnsHostAddressRecord(QDnsHostAddressRecord* obj) { delete obj; } + QString name(QDnsHostAddressRecord* theWrappedObject) const; + QDnsHostAddressRecord* operator_assign(QDnsHostAddressRecord* theWrappedObject, const QDnsHostAddressRecord& other); + void swap(QDnsHostAddressRecord* theWrappedObject, QDnsHostAddressRecord& other); + unsigned int timeToLive(QDnsHostAddressRecord* theWrappedObject) const; + QHostAddress value(QDnsHostAddressRecord* theWrappedObject) const; +}; + + + + + class PythonQtShell_QDnsLookup : public QDnsLookup { public: - PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr):QDnsLookup(type, name, parent),_wrapper(NULL) {}; - PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr):QDnsLookup(type, name, nameserver, parent),_wrapper(NULL) {}; - PythonQtShell_QDnsLookup(QObject* parent = nullptr):QDnsLookup(parent),_wrapper(NULL) {}; + PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr):QDnsLookup(type, name, parent),_wrapper(nullptr) {}; + PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr):QDnsLookup(type, name, nameserver, parent),_wrapper(nullptr) {}; + PythonQtShell_QDnsLookup(QObject* parent = nullptr):QDnsLookup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDnsLookup(); + ~PythonQtShell_QDnsLookup() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDnsLookup : public QObject @@ -306,7 +358,7 @@ public slots: QDnsLookup* new_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr); QDnsLookup* new_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr); QDnsLookup* new_QDnsLookup(QObject* parent = nullptr); -void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } +void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } QList canonicalNameRecords(QDnsLookup* theWrappedObject) const; QDnsLookup::Error error(QDnsLookup* theWrappedObject) const; QString errorString(QDnsLookup* theWrappedObject) const; @@ -329,6 +381,121 @@ void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } +class PythonQtWrapper_QDnsMailExchangeRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsMailExchangeRecord* new_QDnsMailExchangeRecord(); +QDnsMailExchangeRecord* new_QDnsMailExchangeRecord(const QDnsMailExchangeRecord& other); +void delete_QDnsMailExchangeRecord(QDnsMailExchangeRecord* obj) { delete obj; } + QString exchange(QDnsMailExchangeRecord* theWrappedObject) const; + QString name(QDnsMailExchangeRecord* theWrappedObject) const; + QDnsMailExchangeRecord* operator_assign(QDnsMailExchangeRecord* theWrappedObject, const QDnsMailExchangeRecord& other); + unsigned short preference(QDnsMailExchangeRecord* theWrappedObject) const; + void swap(QDnsMailExchangeRecord* theWrappedObject, QDnsMailExchangeRecord& other); + unsigned int timeToLive(QDnsMailExchangeRecord* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDnsServiceRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsServiceRecord* new_QDnsServiceRecord(); +QDnsServiceRecord* new_QDnsServiceRecord(const QDnsServiceRecord& other); +void delete_QDnsServiceRecord(QDnsServiceRecord* obj) { delete obj; } + QString name(QDnsServiceRecord* theWrappedObject) const; + QDnsServiceRecord* operator_assign(QDnsServiceRecord* theWrappedObject, const QDnsServiceRecord& other); + unsigned short port(QDnsServiceRecord* theWrappedObject) const; + unsigned short priority(QDnsServiceRecord* theWrappedObject) const; + void swap(QDnsServiceRecord* theWrappedObject, QDnsServiceRecord& other); + QString target(QDnsServiceRecord* theWrappedObject) const; + unsigned int timeToLive(QDnsServiceRecord* theWrappedObject) const; + unsigned short weight(QDnsServiceRecord* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QDnsTextRecord : public QObject +{ Q_OBJECT +public: +public slots: +QDnsTextRecord* new_QDnsTextRecord(); +QDnsTextRecord* new_QDnsTextRecord(const QDnsTextRecord& other); +void delete_QDnsTextRecord(QDnsTextRecord* obj) { delete obj; } + QString name(QDnsTextRecord* theWrappedObject) const; + QDnsTextRecord* operator_assign(QDnsTextRecord* theWrappedObject, const QDnsTextRecord& other); + void swap(QDnsTextRecord* theWrappedObject, QDnsTextRecord& other); + unsigned int timeToLive(QDnsTextRecord* theWrappedObject) const; + QList values(QDnsTextRecord* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QHostAddress : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ConversionModeFlag SpecialAddress ) +enum ConversionModeFlag{ + ConvertV4MappedToIPv4 = QHostAddress::ConvertV4MappedToIPv4, ConvertV4CompatToIPv4 = QHostAddress::ConvertV4CompatToIPv4, ConvertUnspecifiedAddress = QHostAddress::ConvertUnspecifiedAddress, ConvertLocalHost = QHostAddress::ConvertLocalHost, TolerantConversion = QHostAddress::TolerantConversion, StrictConversion = QHostAddress::StrictConversion}; +enum SpecialAddress{ + Null = QHostAddress::Null, Broadcast = QHostAddress::Broadcast, LocalHost = QHostAddress::LocalHost, LocalHostIPv6 = QHostAddress::LocalHostIPv6, Any = QHostAddress::Any, AnyIPv6 = QHostAddress::AnyIPv6, AnyIPv4 = QHostAddress::AnyIPv4}; +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(const unsigned char* ip6Addr); +QHostAddress* new_QHostAddress(unsigned int ip4Addr); +void delete_QHostAddress(QHostAddress* obj) { delete obj; } + void clear(QHostAddress* theWrappedObject); + bool isBroadcast(QHostAddress* theWrappedObject) const; + bool isGlobal(QHostAddress* theWrappedObject) const; + bool isInSubnet(QHostAddress* theWrappedObject, const QHostAddress& subnet, int netmask) const; + bool isInSubnet(QHostAddress* theWrappedObject, const QPair& subnet) const; + bool isLinkLocal(QHostAddress* theWrappedObject) const; + bool isLoopback(QHostAddress* theWrappedObject) const; + bool isMulticast(QHostAddress* theWrappedObject) const; + bool isNull(QHostAddress* theWrappedObject) const; + bool isSiteLocal(QHostAddress* theWrappedObject) const; + bool isUniqueLocalUnicast(QHostAddress* theWrappedObject) const; + bool __ne__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const; + bool __ne__(QHostAddress* theWrappedObject, const QHostAddress& address) const; + void writeTo(QHostAddress* theWrappedObject, QDataStream& arg__1); + QHostAddress* operator_assign(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address); + bool __eq__(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address) const; + bool __eq__(QHostAddress* theWrappedObject, const QHostAddress& address) const; + void readFrom(QHostAddress* theWrappedObject, QDataStream& arg__1); + QPair static_QHostAddress_parseSubnet(const QString& subnet); + QAbstractSocket::NetworkLayerProtocol protocol(QHostAddress* theWrappedObject) const; + QString scopeId(QHostAddress* theWrappedObject) const; + void setAddress(QHostAddress* theWrappedObject, QHostAddress::SpecialAddress address); + void setAddress(QHostAddress* theWrappedObject, const QIPv6Address& ip6Addr); + bool setAddress(QHostAddress* theWrappedObject, const QString& address); + void setAddress(QHostAddress* theWrappedObject, const unsigned char* ip6Addr); + void setAddress(QHostAddress* theWrappedObject, unsigned int ip4Addr); + void setScopeId(QHostAddress* theWrappedObject, const QString& id); + void swap(QHostAddress* theWrappedObject, QHostAddress& other); + unsigned int toIPv4Address(QHostAddress* theWrappedObject) const; + unsigned int toIPv4Address(QHostAddress* theWrappedObject, bool* ok) const; + QIPv6Address toIPv6Address(QHostAddress* theWrappedObject) const; + QString toString(QHostAddress* theWrappedObject) const; + QString py_toString(QHostAddress*); + bool __nonzero__(QHostAddress* obj) { return !obj->isNull(); } +}; + + + + + class PythonQtWrapper_QHostInfo : public QObject { Q_OBJECT public: @@ -338,7 +505,23 @@ enum HostInfoError{ public slots: QHostInfo* new_QHostInfo(const QHostInfo& d); QHostInfo* new_QHostInfo(int lookupId = -1); -void delete_QHostInfo(QHostInfo* obj) { delete obj; } +void delete_QHostInfo(QHostInfo* obj) { delete obj; } + void static_QHostInfo_abortHostLookup(int lookupId); + QList addresses(QHostInfo* theWrappedObject) const; + QHostInfo::HostInfoError error(QHostInfo* theWrappedObject) const; + QString errorString(QHostInfo* theWrappedObject) const; + QHostInfo static_QHostInfo_fromName(const QString& name); + QString hostName(QHostInfo* theWrappedObject) const; + QString static_QHostInfo_localDomainName(); + QString static_QHostInfo_localHostName(); + int static_QHostInfo_lookupHost(const QString& name, QObject* receiver, const char* member); + int lookupId(QHostInfo* theWrappedObject) const; + void setAddresses(QHostInfo* theWrappedObject, const QList& addresses); + void setError(QHostInfo* theWrappedObject, QHostInfo::HostInfoError error); + void setErrorString(QHostInfo* theWrappedObject, const QString& errorString); + void setHostName(QHostInfo* theWrappedObject, const QString& name); + void setLookupId(QHostInfo* theWrappedObject, int id); + void swap(QHostInfo* theWrappedObject, QHostInfo& other); }; @@ -354,15 +537,43 @@ enum PolicyFlag{ public slots: QHstsPolicy* new_QHstsPolicy(); QHstsPolicy* new_QHstsPolicy(const QHstsPolicy& rhs); -void delete_QHstsPolicy(QHstsPolicy* obj) { delete obj; } +void delete_QHstsPolicy(QHstsPolicy* obj) { delete obj; } + QDateTime expiry(QHstsPolicy* theWrappedObject) const; + QString host(QHstsPolicy* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + bool includesSubDomains(QHstsPolicy* theWrappedObject) const; + bool isExpired(QHstsPolicy* theWrappedObject) const; + bool __ne__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); QHstsPolicy* operator_assign(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); bool __eq__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); + void setExpiry(QHstsPolicy* theWrappedObject, const QDateTime& expiry); + void setHost(QHstsPolicy* theWrappedObject, const QString& host, QUrl::ParsingMode mode = QUrl::DecodedMode); + void setIncludesSubDomains(QHstsPolicy* theWrappedObject, bool include); + void swap(QHstsPolicy* theWrappedObject, QHstsPolicy& other); }; +class PythonQtShell_QHttpMultiPart : public QHttpMultiPart +{ +public: + PythonQtShell_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent = nullptr):QHttpMultiPart(contentType, parent),_wrapper(nullptr) {}; + PythonQtShell_QHttpMultiPart(QObject* parent = nullptr):QHttpMultiPart(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHttpMultiPart() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + class PythonQtWrapper_QHttpMultiPart : public QObject { Q_OBJECT public: @@ -370,7 +581,9 @@ Q_ENUMS(ContentType ) enum ContentType{ MixedType = QHttpMultiPart::MixedType, RelatedType = QHttpMultiPart::RelatedType, FormDataType = QHttpMultiPart::FormDataType, AlternativeType = QHttpMultiPart::AlternativeType}; public slots: -void delete_QHttpMultiPart(QHttpMultiPart* obj) { delete obj; } +QHttpMultiPart* new_QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject* parent = nullptr); +QHttpMultiPart* new_QHttpMultiPart(QObject* parent = nullptr); +void delete_QHttpMultiPart(QHttpMultiPart* obj) { delete obj; } void append(QHttpMultiPart* theWrappedObject, const QHttpPart& httpPart); QByteArray boundary(QHttpMultiPart* theWrappedObject) const; void setBoundary(QHttpMultiPart* theWrappedObject, const QByteArray& boundary); @@ -381,15 +594,36 @@ void delete_QHttpMultiPart(QHttpMultiPart* obj) { delete obj; } +class PythonQtWrapper_QHttpPart : public QObject +{ Q_OBJECT +public: +public slots: +QHttpPart* new_QHttpPart(); +QHttpPart* new_QHttpPart(const QHttpPart& other); +void delete_QHttpPart(QHttpPart* obj) { delete obj; } + bool __ne__(QHttpPart* theWrappedObject, const QHttpPart& other) const; + QHttpPart* operator_assign(QHttpPart* theWrappedObject, const QHttpPart& other); + bool __eq__(QHttpPart* theWrappedObject, const QHttpPart& other) const; + void setBody(QHttpPart* theWrappedObject, const QByteArray& body); + void setBodyDevice(QHttpPart* theWrappedObject, QIODevice* device); + void setHeader(QHttpPart* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setRawHeader(QHttpPart* theWrappedObject, const QByteArray& headerName, const QByteArray& headerValue); + void swap(QHttpPart* theWrappedObject, QHttpPart& other); +}; + + + + + class PythonQtShell_QIPv6Address : public QIPv6Address { public: - PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(NULL) {}; + PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(nullptr) {}; ~PythonQtShell_QIPv6Address(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QIPv6Address : public QObject @@ -401,7 +635,7 @@ QIPv6Address* new_QIPv6Address(const QIPv6Address& other) { PythonQtShell_QIPv6Address* a = new PythonQtShell_QIPv6Address(); *((QIPv6Address*)a) = other; return a; } -void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } +void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } }; @@ -411,17 +645,22 @@ void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } class PythonQtShell_QLocalServer : public QLocalServer { public: - PythonQtShell_QLocalServer(QObject* parent = nullptr):QLocalServer(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLocalServer(); - -virtual bool hasPendingConnections() const; -virtual void incomingConnection(quintptr socketDescriptor); -virtual QLocalSocket* nextPendingConnection(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLocalServer(QObject* parent = nullptr):QLocalServer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLocalServer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasPendingConnections() const override; +void incomingConnection(quintptr socketDescriptor) override; +QLocalSocket* nextPendingConnection() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalServer : public QLocalServer @@ -442,7 +681,7 @@ enum SocketOption{ Q_DECLARE_FLAGS(SocketOptions, SocketOption) public slots: QLocalServer* new_QLocalServer(QObject* parent = nullptr); -void delete_QLocalServer(QLocalServer* obj) { delete obj; } +void delete_QLocalServer(QLocalServer* obj) { delete obj; } void close(QLocalServer* theWrappedObject); QString errorString(QLocalServer* theWrappedObject) const; QString fullServerName(QLocalServer* theWrappedObject) const; @@ -473,30 +712,35 @@ void delete_QLocalServer(QLocalServer* obj) { delete obj; } class PythonQtShell_QLocalSocket : public QLocalSocket { public: - PythonQtShell_QLocalSocket(QObject* parent = nullptr):QLocalSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLocalSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode openMode = QIODevice::ReadWrite); -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 bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* arg__1, qint64 arg__2); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLocalSocket(QObject* parent = nullptr):QLocalSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLocalSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +qint64 pos() const override; +qint64 readData(char* arg__1, qint64 arg__2) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* arg__1, qint64 arg__2) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalSocket : public QLocalSocket @@ -525,7 +769,7 @@ enum LocalSocketState{ UnconnectedState = QLocalSocket::UnconnectedState, ConnectingState = QLocalSocket::ConnectingState, ConnectedState = QLocalSocket::ConnectedState, ClosingState = QLocalSocket::ClosingState}; public slots: QLocalSocket* new_QLocalSocket(QObject* parent = nullptr); -void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } +void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } void abort(QLocalSocket* theWrappedObject); qint64 py_q_bytesAvailable(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_bytesAvailable());} qint64 py_q_bytesToWrite(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_bytesToWrite());} @@ -563,15 +807,20 @@ void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } class PythonQtShell_QNetworkAccessManager : public QNetworkAccessManager { public: - PythonQtShell_QNetworkAccessManager(QObject* parent = nullptr):QNetworkAccessManager(parent),_wrapper(NULL) {}; + PythonQtShell_QNetworkAccessManager(QObject* parent = nullptr):QNetworkAccessManager(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkAccessManager(); + ~PythonQtShell_QNetworkAccessManager() override; -virtual QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr); +void childEvent(QChildEvent* event) override; +QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkAccessManager : public QNetworkAccessManager @@ -589,7 +838,7 @@ enum Operation{ HeadOperation = QNetworkAccessManager::HeadOperation, GetOperation = QNetworkAccessManager::GetOperation, PutOperation = QNetworkAccessManager::PutOperation, PostOperation = QNetworkAccessManager::PostOperation, DeleteOperation = QNetworkAccessManager::DeleteOperation, CustomOperation = QNetworkAccessManager::CustomOperation, UnknownOperation = QNetworkAccessManager::UnknownOperation}; public slots: QNetworkAccessManager* new_QNetworkAccessManager(QObject* parent = nullptr); -void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } +void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } QNetworkConfiguration activeConfiguration(QNetworkAccessManager* theWrappedObject) const; void addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts); bool autoDeleteReplies(QNetworkAccessManager* theWrappedObject) const; @@ -641,17 +890,132 @@ void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } +class PythonQtWrapper_QNetworkAddressEntry : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DnsEligibilityStatus ) +enum DnsEligibilityStatus{ + DnsEligibilityUnknown = QNetworkAddressEntry::DnsEligibilityUnknown, DnsIneligible = QNetworkAddressEntry::DnsIneligible, DnsEligible = QNetworkAddressEntry::DnsEligible}; +public slots: +QNetworkAddressEntry* new_QNetworkAddressEntry(); +QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); +void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } + QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; + void clearAddressLifetime(QNetworkAddressEntry* theWrappedObject); + QNetworkAddressEntry::DnsEligibilityStatus dnsEligibility(QNetworkAddressEntry* theWrappedObject) const; + QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; + bool isLifetimeKnown(QNetworkAddressEntry* theWrappedObject) const; + bool isPermanent(QNetworkAddressEntry* theWrappedObject) const; + bool isTemporary(QNetworkAddressEntry* theWrappedObject) const; + QHostAddress netmask(QNetworkAddressEntry* theWrappedObject) const; + bool __ne__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const; + bool __eq__(QNetworkAddressEntry* theWrappedObject, const QNetworkAddressEntry& other) const; + QDeadlineTimer preferredLifetime(QNetworkAddressEntry* theWrappedObject) const; + int prefixLength(QNetworkAddressEntry* theWrappedObject) const; + void setAddressLifetime(QNetworkAddressEntry* theWrappedObject, QDeadlineTimer preferred, QDeadlineTimer validity); + void setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast); + void setDnsEligibility(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry::DnsEligibilityStatus status); + void setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp); + void setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask); + void setPrefixLength(QNetworkAddressEntry* theWrappedObject, int length); + void swap(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry& other); + QDeadlineTimer validityLifetime(QNetworkAddressEntry* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QNetworkCacheMetaData : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkCacheMetaData* new_QNetworkCacheMetaData(); +QNetworkCacheMetaData* new_QNetworkCacheMetaData(const QNetworkCacheMetaData& other); +void delete_QNetworkCacheMetaData(QNetworkCacheMetaData* obj) { delete obj; } + QHash attributes(QNetworkCacheMetaData* theWrappedObject) const; + QDateTime expirationDate(QNetworkCacheMetaData* theWrappedObject) const; + bool isValid(QNetworkCacheMetaData* theWrappedObject) const; + QDateTime lastModified(QNetworkCacheMetaData* theWrappedObject) const; + bool __ne__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const; + void writeTo(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1); + bool __eq__(QNetworkCacheMetaData* theWrappedObject, const QNetworkCacheMetaData& other) const; + void readFrom(QNetworkCacheMetaData* theWrappedObject, QDataStream& arg__1); + QList > rawHeaders(QNetworkCacheMetaData* theWrappedObject) const; + bool saveToDisk(QNetworkCacheMetaData* theWrappedObject) const; + void setAttributes(QNetworkCacheMetaData* theWrappedObject, const QHash& attributes); + void setExpirationDate(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime); + void setLastModified(QNetworkCacheMetaData* theWrappedObject, const QDateTime& dateTime); + void setRawHeaders(QNetworkCacheMetaData* theWrappedObject, const QList >& headers); + void setSaveToDisk(QNetworkCacheMetaData* theWrappedObject, bool allow); + void setUrl(QNetworkCacheMetaData* theWrappedObject, const QUrl& url); + void swap(QNetworkCacheMetaData* theWrappedObject, QNetworkCacheMetaData& other); + QUrl url(QNetworkCacheMetaData* theWrappedObject) const; + bool __nonzero__(QNetworkCacheMetaData* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QNetworkConfiguration : public QObject +{ Q_OBJECT +public: +Q_ENUMS(BearerType Purpose StateFlag Type ) +Q_FLAGS(StateFlags ) +enum BearerType{ + BearerUnknown = QNetworkConfiguration::BearerUnknown, BearerEthernet = QNetworkConfiguration::BearerEthernet, BearerWLAN = QNetworkConfiguration::BearerWLAN, Bearer2G = QNetworkConfiguration::Bearer2G, BearerCDMA2000 = QNetworkConfiguration::BearerCDMA2000, BearerWCDMA = QNetworkConfiguration::BearerWCDMA, BearerHSPA = QNetworkConfiguration::BearerHSPA, BearerBluetooth = QNetworkConfiguration::BearerBluetooth, BearerWiMAX = QNetworkConfiguration::BearerWiMAX, BearerEVDO = QNetworkConfiguration::BearerEVDO, BearerLTE = QNetworkConfiguration::BearerLTE, Bearer3G = QNetworkConfiguration::Bearer3G, Bearer4G = QNetworkConfiguration::Bearer4G}; +enum Purpose{ + UnknownPurpose = QNetworkConfiguration::UnknownPurpose, PublicPurpose = QNetworkConfiguration::PublicPurpose, PrivatePurpose = QNetworkConfiguration::PrivatePurpose, ServiceSpecificPurpose = QNetworkConfiguration::ServiceSpecificPurpose}; +enum StateFlag{ + Undefined = QNetworkConfiguration::Undefined, Defined = QNetworkConfiguration::Defined, Discovered = QNetworkConfiguration::Discovered, Active = QNetworkConfiguration::Active}; +enum Type{ + InternetAccessPoint = QNetworkConfiguration::InternetAccessPoint, ServiceNetwork = QNetworkConfiguration::ServiceNetwork, UserChoice = QNetworkConfiguration::UserChoice, Invalid = QNetworkConfiguration::Invalid}; +Q_DECLARE_FLAGS(StateFlags, StateFlag) +public slots: +QNetworkConfiguration* new_QNetworkConfiguration(); +QNetworkConfiguration* new_QNetworkConfiguration(const QNetworkConfiguration& other); +void delete_QNetworkConfiguration(QNetworkConfiguration* obj) { delete obj; } + QNetworkConfiguration::BearerType bearerType(QNetworkConfiguration* theWrappedObject) const; + QNetworkConfiguration::BearerType bearerTypeFamily(QNetworkConfiguration* theWrappedObject) const; + QString bearerTypeName(QNetworkConfiguration* theWrappedObject) const; + QList children(QNetworkConfiguration* theWrappedObject) const; + int connectTimeout(QNetworkConfiguration* theWrappedObject) const; + QString identifier(QNetworkConfiguration* theWrappedObject) const; + bool isRoamingAvailable(QNetworkConfiguration* theWrappedObject) const; + bool isValid(QNetworkConfiguration* theWrappedObject) const; + QString name(QNetworkConfiguration* theWrappedObject) const; + bool __ne__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const; + QNetworkConfiguration* operator_assign(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other); + bool __eq__(QNetworkConfiguration* theWrappedObject, const QNetworkConfiguration& other) const; + QNetworkConfiguration::Purpose purpose(QNetworkConfiguration* theWrappedObject) const; + bool setConnectTimeout(QNetworkConfiguration* theWrappedObject, int timeout); + QNetworkConfiguration::StateFlags state(QNetworkConfiguration* theWrappedObject) const; + void swap(QNetworkConfiguration* theWrappedObject, QNetworkConfiguration& other); + QNetworkConfiguration::Type type(QNetworkConfiguration* theWrappedObject) const; + bool __nonzero__(QNetworkConfiguration* obj) { return obj->isValid(); } +}; + + + + + class PythonQtShell_QNetworkConfigurationManager : public QNetworkConfigurationManager { public: - PythonQtShell_QNetworkConfigurationManager(QObject* parent = nullptr):QNetworkConfigurationManager(parent),_wrapper(NULL) {}; + PythonQtShell_QNetworkConfigurationManager(QObject* parent = nullptr):QNetworkConfigurationManager(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkConfigurationManager(); + ~PythonQtShell_QNetworkConfigurationManager() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QNetworkConfigurationManager : public QObject @@ -664,7 +1028,7 @@ enum Capability{ Q_DECLARE_FLAGS(Capabilities, Capability) public slots: QNetworkConfigurationManager* new_QNetworkConfigurationManager(QObject* parent = nullptr); -void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { delete obj; } +void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { delete obj; } QList allConfigurations(QNetworkConfigurationManager* theWrappedObject, QNetworkConfiguration::StateFlags flags = QNetworkConfiguration::StateFlags()) const; QNetworkConfigurationManager::Capabilities capabilities(QNetworkConfigurationManager* theWrappedObject) const; QNetworkConfiguration configurationFromIdentifier(QNetworkConfigurationManager* theWrappedObject, const QString& identifier) const; @@ -676,23 +1040,67 @@ void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { de -class PythonQtShell_QNetworkCookieJar : public QNetworkCookieJar -{ +class PythonQtWrapper_QNetworkCookie : public QObject +{ Q_OBJECT public: - PythonQtShell_QNetworkCookieJar(QObject* parent = nullptr):QNetworkCookieJar(parent),_wrapper(NULL) {}; +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; } + QString domain(QNetworkCookie* theWrappedObject) const; + QDateTime expirationDate(QNetworkCookie* theWrappedObject) const; + bool hasSameIdentifier(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; + bool isHttpOnly(QNetworkCookie* theWrappedObject) const; + bool isSecure(QNetworkCookie* theWrappedObject) const; + bool isSessionCookie(QNetworkCookie* theWrappedObject) const; + QByteArray name(QNetworkCookie* theWrappedObject) const; + void normalize(QNetworkCookie* theWrappedObject, const QUrl& url); + bool __ne__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; + bool __eq__(QNetworkCookie* theWrappedObject, const QNetworkCookie& other) const; + QList static_QNetworkCookie_parseCookies(const QByteArray& cookieString); + QString path(QNetworkCookie* theWrappedObject) const; + void setDomain(QNetworkCookie* theWrappedObject, const QString& domain); + void setExpirationDate(QNetworkCookie* theWrappedObject, const QDateTime& date); + void setHttpOnly(QNetworkCookie* theWrappedObject, bool enable); + void setName(QNetworkCookie* theWrappedObject, const QByteArray& cookieName); + void setPath(QNetworkCookie* theWrappedObject, const QString& path); + void setSecure(QNetworkCookie* theWrappedObject, bool enable); + void setValue(QNetworkCookie* theWrappedObject, const QByteArray& value); + void swap(QNetworkCookie* theWrappedObject, QNetworkCookie& other); + QByteArray toRawForm(QNetworkCookie* theWrappedObject, QNetworkCookie::RawForm form = QNetworkCookie::Full) const; + QByteArray value(QNetworkCookie* theWrappedObject) const; + QString py_toString(QNetworkCookie*); +}; - ~PythonQtShell_QNetworkCookieJar(); -virtual QList cookiesForUrl(const QUrl& url) const; -virtual bool deleteCookie(const QNetworkCookie& cookie); -virtual bool insertCookie(const QNetworkCookie& cookie); -virtual bool setCookiesFromUrl(const QList& cookieList, const QUrl& url); -virtual bool updateCookie(const QNetworkCookie& cookie); -virtual bool validateCookie(const QNetworkCookie& cookie, const QUrl& url) const; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + + +class PythonQtShell_QNetworkCookieJar : public QNetworkCookieJar +{ +public: + PythonQtShell_QNetworkCookieJar(QObject* parent = nullptr):QNetworkCookieJar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkCookieJar() override; + +void childEvent(QChildEvent* event) override; +QList cookiesForUrl(const QUrl& url) const override; +void customEvent(QEvent* event) override; +bool deleteCookie(const QNetworkCookie& cookie) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool insertCookie(const QNetworkCookie& cookie) override; +bool setCookiesFromUrl(const QList& cookieList, const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +bool updateCookie(const QNetworkCookie& cookie) override; +bool validateCookie(const QNetworkCookie& cookie, const QUrl& url) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkCookieJar : public QNetworkCookieJar @@ -713,7 +1121,7 @@ class PythonQtWrapper_QNetworkCookieJar : public QObject public: public slots: QNetworkCookieJar* new_QNetworkCookieJar(QObject* parent = nullptr); -void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } +void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } QList allCookies(QNetworkCookieJar* theWrappedObject) const; QList cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const; QList py_q_cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const{ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_cookiesForUrl(url));} @@ -734,26 +1142,64 @@ void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } +class PythonQtWrapper_QNetworkDatagram : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkDatagram* new_QNetworkDatagram(); +QNetworkDatagram* new_QNetworkDatagram(const QByteArray& data, const QHostAddress& destinationAddress = QHostAddress(), unsigned short port = 0); +QNetworkDatagram* new_QNetworkDatagram(const QNetworkDatagram& other); +void delete_QNetworkDatagram(QNetworkDatagram* obj) { delete obj; } + void clear(QNetworkDatagram* theWrappedObject); + QByteArray data(QNetworkDatagram* theWrappedObject) const; + QHostAddress destinationAddress(QNetworkDatagram* theWrappedObject) const; + int destinationPort(QNetworkDatagram* theWrappedObject) const; + int hopLimit(QNetworkDatagram* theWrappedObject) const; + uint interfaceIndex(QNetworkDatagram* theWrappedObject) const; + bool isNull(QNetworkDatagram* theWrappedObject) const; + bool isValid(QNetworkDatagram* theWrappedObject) const; + QNetworkDatagram makeReply(QNetworkDatagram* theWrappedObject, const QByteArray& paylaod) const; + QNetworkDatagram* operator_assign(QNetworkDatagram* theWrappedObject, const QNetworkDatagram& other); + QHostAddress senderAddress(QNetworkDatagram* theWrappedObject) const; + int senderPort(QNetworkDatagram* theWrappedObject) const; + void setData(QNetworkDatagram* theWrappedObject, const QByteArray& data); + void setDestination(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port); + void setHopLimit(QNetworkDatagram* theWrappedObject, int count); + void setInterfaceIndex(QNetworkDatagram* theWrappedObject, uint index); + void setSender(QNetworkDatagram* theWrappedObject, const QHostAddress& address, unsigned short port = 0); + void swap(QNetworkDatagram* theWrappedObject, QNetworkDatagram& other); + bool __nonzero__(QNetworkDatagram* obj) { return obj->isValid(); } +}; + + + + + class PythonQtShell_QNetworkDiskCache : public QNetworkDiskCache { public: - PythonQtShell_QNetworkDiskCache(QObject* parent = nullptr):QNetworkDiskCache(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkDiskCache(); - -virtual qint64 cacheSize() const; -virtual void clear(); -virtual QIODevice* data(const QUrl& url); -virtual qint64 expire(); -virtual void insert(QIODevice* device); -virtual QNetworkCacheMetaData metaData(const QUrl& url); -virtual QIODevice* prepare(const QNetworkCacheMetaData& metaData); -virtual bool remove(const QUrl& url); -virtual void updateMetaData(const QNetworkCacheMetaData& metaData); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QNetworkDiskCache(QObject* parent = nullptr):QNetworkDiskCache(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkDiskCache() override; + +qint64 cacheSize() const override; +void childEvent(QChildEvent* event) override; +void clear() override; +void customEvent(QEvent* event) override; +QIODevice* data(const QUrl& url) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qint64 expire() override; +void insert(QIODevice* device) override; +QNetworkCacheMetaData metaData(const QUrl& url) override; +QIODevice* prepare(const QNetworkCacheMetaData& metaData) override; +bool remove(const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +void updateMetaData(const QNetworkCacheMetaData& metaData) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkDiskCache : public QNetworkDiskCache @@ -775,7 +1221,7 @@ class PythonQtWrapper_QNetworkDiskCache : public QObject public: public slots: QNetworkDiskCache* new_QNetworkDiskCache(QObject* parent = nullptr); -void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } +void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } QString cacheDirectory(QNetworkDiskCache* theWrappedObject) const; qint64 py_q_cacheSize(QNetworkDiskCache* theWrappedObject) const{ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_cacheSize());} void py_q_clear(QNetworkDiskCache* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_clear());} @@ -797,554 +1243,161 @@ void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } -class PythonQtShell_QNetworkReply : public QNetworkReply -{ -public: - PythonQtShell_QNetworkReply(QObject* parent = nullptr):QNetworkReply(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkReply(); - -virtual void abort(); -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void ignoreSslErrors(); -virtual void ignoreSslErrorsImplementation(const QList& arg__1); -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 void setSslConfigurationImplementation(const QSslConfiguration& arg__1); -virtual qint64 size() const; -virtual void sslConfigurationImplementation(QSslConfiguration& arg__1) const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QNetworkReply : public QNetworkReply -{ public: -inline void promoted_ignoreSslErrorsImplementation(const QList& arg__1) { this->ignoreSslErrorsImplementation(arg__1); } -inline void promoted_setAttribute(QNetworkRequest::Attribute code, const QVariant& value) { this->setAttribute(code, value); } -inline void promoted_setError(QNetworkReply::NetworkError errorCode, const QString& errorString) { this->setError(errorCode, errorString); } -inline void promoted_setFinished(bool arg__1) { this->setFinished(arg__1); } -inline void promoted_setHeader(QNetworkRequest::KnownHeaders header, const QVariant& value) { this->setHeader(header, value); } -inline void promoted_setOperation(QNetworkAccessManager::Operation operation) { this->setOperation(operation); } -inline void promoted_setRawHeader(const QByteArray& headerName, const QByteArray& value) { this->setRawHeader(headerName, value); } -inline void promoted_setRequest(const QNetworkRequest& request) { this->setRequest(request); } -inline void promoted_setSslConfigurationImplementation(const QSslConfiguration& arg__1) { this->setSslConfigurationImplementation(arg__1); } -inline void promoted_setUrl(const QUrl& url) { this->setUrl(url); } -inline void promoted_sslConfigurationImplementation(QSslConfiguration& arg__1) const { this->sslConfigurationImplementation(arg__1); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -inline void py_q_abort() { this->abort(); } -inline void py_q_close() { QNetworkReply::close(); } -inline void py_q_ignoreSslErrors() { QNetworkReply::ignoreSslErrors(); } -inline void py_q_ignoreSslErrorsImplementation(const QList& arg__1) { QNetworkReply::ignoreSslErrorsImplementation(arg__1); } -inline bool py_q_isSequential() const { return QNetworkReply::isSequential(); } -inline void py_q_setReadBufferSize(qint64 size) { QNetworkReply::setReadBufferSize(size); } -inline void py_q_setSslConfigurationImplementation(const QSslConfiguration& arg__1) { QNetworkReply::setSslConfigurationImplementation(arg__1); } -inline void py_q_sslConfigurationImplementation(QSslConfiguration& arg__1) const { QNetworkReply::sslConfigurationImplementation(arg__1); } -inline qint64 py_q_writeData(const char* data, qint64 len) { return QNetworkReply::writeData(data, len); } -}; - -class PythonQtWrapper_QNetworkReply : public QObject -{ Q_OBJECT -public: -public slots: -QNetworkReply* new_QNetworkReply(QObject* parent = nullptr); -void delete_QNetworkReply(QNetworkReply* obj) { delete obj; } - void py_q_abort(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_abort());} - QVariant attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const; - void py_q_close(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_close());} - QNetworkReply::NetworkError error(QNetworkReply* theWrappedObject) const; - bool hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; - QVariant header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const; - void py_q_ignoreSslErrors(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_ignoreSslErrors());} - void ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1); - void py_q_ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_ignoreSslErrorsImplementation(arg__1));} - bool isFinished(QNetworkReply* theWrappedObject) const; - bool isRunning(QNetworkReply* theWrappedObject) const; - bool py_q_isSequential(QNetworkReply* theWrappedObject) const{ return (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_isSequential());} - QNetworkAccessManager* manager(QNetworkReply* theWrappedObject) const; - QNetworkAccessManager::Operation operation(QNetworkReply* theWrappedObject) const; - QByteArray rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; - QList rawHeaderList(QNetworkReply* theWrappedObject) const; - const QList >* rawHeaderPairs(QNetworkReply* theWrappedObject) const; - qint64 readBufferSize(QNetworkReply* theWrappedObject) const; - QNetworkRequest request(QNetworkReply* theWrappedObject) const; - void setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value); - void setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString); - void setFinished(QNetworkReply* theWrappedObject, bool arg__1); - void setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); - void setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation); - void setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value); - void setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size); - void py_q_setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_setReadBufferSize(size));} - void setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request); - void setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1); - void py_q_setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_setSslConfigurationImplementation(arg__1));} - void setUrl(QNetworkReply* theWrappedObject, const QUrl& url); - void sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const; - void py_q_sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const{ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_sslConfigurationImplementation(arg__1));} - QUrl url(QNetworkReply* theWrappedObject) const; - qint64 py_q_writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_writeData(data, len));} -}; - - - - - -class PythonQtShell_QNetworkSession : public QNetworkSession -{ -public: - PythonQtShell_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr):QNetworkSession(connConfig, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkSession(); - -virtual void connectNotify(const QMetaMethod& signal); -virtual void disconnectNotify(const QMetaMethod& signal); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QNetworkSession : public QNetworkSession -{ public: -inline void promoted_connectNotify(const QMetaMethod& signal) { this->connectNotify(signal); } -inline void promoted_disconnectNotify(const QMetaMethod& signal) { this->disconnectNotify(signal); } -inline void py_q_connectNotify(const QMetaMethod& signal) { QNetworkSession::connectNotify(signal); } -inline void py_q_disconnectNotify(const QMetaMethod& signal) { QNetworkSession::disconnectNotify(signal); } -}; - -class PythonQtWrapper_QNetworkSession : public QObject +class PythonQtWrapper_QNetworkInterface : public QObject { Q_OBJECT public: -Q_ENUMS(SessionError State UsagePolicy ) -Q_FLAGS(UsagePolicies ) -enum SessionError{ - UnknownSessionError = QNetworkSession::UnknownSessionError, SessionAbortedError = QNetworkSession::SessionAbortedError, RoamingError = QNetworkSession::RoamingError, OperationNotSupportedError = QNetworkSession::OperationNotSupportedError, InvalidConfigurationError = QNetworkSession::InvalidConfigurationError}; -enum State{ - Invalid = QNetworkSession::Invalid, NotAvailable = QNetworkSession::NotAvailable, Connecting = QNetworkSession::Connecting, Connected = QNetworkSession::Connected, Closing = QNetworkSession::Closing, Disconnected = QNetworkSession::Disconnected, Roaming = QNetworkSession::Roaming}; -enum UsagePolicy{ - NoPolicy = QNetworkSession::NoPolicy, NoBackgroundTrafficPolicy = QNetworkSession::NoBackgroundTrafficPolicy}; -Q_DECLARE_FLAGS(UsagePolicies, UsagePolicy) +Q_ENUMS(InterfaceFlag InterfaceType ) +Q_FLAGS(InterfaceFlags ) +enum InterfaceFlag{ + IsUp = QNetworkInterface::IsUp, IsRunning = QNetworkInterface::IsRunning, CanBroadcast = QNetworkInterface::CanBroadcast, IsLoopBack = QNetworkInterface::IsLoopBack, IsPointToPoint = QNetworkInterface::IsPointToPoint, CanMulticast = QNetworkInterface::CanMulticast}; +enum InterfaceType{ + Loopback = QNetworkInterface::Loopback, Virtual = QNetworkInterface::Virtual, Ethernet = QNetworkInterface::Ethernet, Slip = QNetworkInterface::Slip, CanBus = QNetworkInterface::CanBus, Ppp = QNetworkInterface::Ppp, Fddi = QNetworkInterface::Fddi, Wifi = QNetworkInterface::Wifi, Ieee80211 = QNetworkInterface::Ieee80211, Phonet = QNetworkInterface::Phonet, Ieee802154 = QNetworkInterface::Ieee802154, SixLoWPAN = QNetworkInterface::SixLoWPAN, Ieee80216 = QNetworkInterface::Ieee80216, Ieee1394 = QNetworkInterface::Ieee1394, Unknown = QNetworkInterface::Unknown}; +Q_DECLARE_FLAGS(InterfaceFlags, InterfaceFlag) public slots: -QNetworkSession* new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr); -void delete_QNetworkSession(QNetworkSession* obj) { delete obj; } - quint64 activeTime(QNetworkSession* theWrappedObject) const; - quint64 bytesReceived(QNetworkSession* theWrappedObject) const; - quint64 bytesWritten(QNetworkSession* theWrappedObject) const; - QNetworkConfiguration configuration(QNetworkSession* theWrappedObject) const; - void connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal); - void py_q_connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal){ (((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->py_q_connectNotify(signal));} - void disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal); - void py_q_disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal){ (((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->py_q_disconnectNotify(signal));} - QNetworkSession::SessionError error(QNetworkSession* theWrappedObject) const; - QString errorString(QNetworkSession* theWrappedObject) const; - QNetworkInterface interface(QNetworkSession* theWrappedObject) const; - bool isOpen(QNetworkSession* theWrappedObject) const; - QVariant sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const; - void setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value); - QNetworkSession::State state(QNetworkSession* theWrappedObject) const; - QNetworkSession::UsagePolicies usagePolicies(QNetworkSession* theWrappedObject) const; - bool waitForOpened(QNetworkSession* theWrappedObject, int msecs = 30000); +QNetworkInterface* new_QNetworkInterface(); +QNetworkInterface* new_QNetworkInterface(const QNetworkInterface& other); +void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; } + QList addressEntries(QNetworkInterface* theWrappedObject) const; + QList static_QNetworkInterface_allAddresses(); + QList static_QNetworkInterface_allInterfaces(); + QNetworkInterface::InterfaceFlags flags(QNetworkInterface* theWrappedObject) const; + QString hardwareAddress(QNetworkInterface* theWrappedObject) const; + QString humanReadableName(QNetworkInterface* theWrappedObject) const; + int index(QNetworkInterface* theWrappedObject) const; + QNetworkInterface static_QNetworkInterface_interfaceFromIndex(int index); + QNetworkInterface static_QNetworkInterface_interfaceFromName(const QString& name); + int static_QNetworkInterface_interfaceIndexFromName(const QString& name); + QString static_QNetworkInterface_interfaceNameFromIndex(int index); + bool isValid(QNetworkInterface* theWrappedObject) const; + int maximumTransmissionUnit(QNetworkInterface* theWrappedObject) const; + QString name(QNetworkInterface* theWrappedObject) const; + void swap(QNetworkInterface* theWrappedObject, QNetworkInterface& other); + QNetworkInterface::InterfaceType type(QNetworkInterface* theWrappedObject) const; + QString py_toString(QNetworkInterface*); + bool __nonzero__(QNetworkInterface* obj) { return obj->isValid(); } }; -#ifndef QT_NO_SSL -class PythonQtWrapper_QSsl : public QObject +class PythonQtWrapper_QNetworkProxy : public QObject { Q_OBJECT public: -Q_ENUMS(AlternativeNameEntryType EncodingFormat KeyAlgorithm KeyType SslOption SslProtocol ) -Q_FLAGS(SslOptions ) -enum AlternativeNameEntryType{ - EmailEntry = QSsl::EmailEntry, DnsEntry = QSsl::DnsEntry, IpAddressEntry = QSsl::IpAddressEntry}; -enum EncodingFormat{ - Pem = QSsl::Pem, Der = QSsl::Der}; -enum KeyAlgorithm{ - Opaque = QSsl::Opaque, Rsa = QSsl::Rsa, Dsa = QSsl::Dsa, Ec = QSsl::Ec, Dh = QSsl::Dh}; -enum KeyType{ - PrivateKey = QSsl::PrivateKey, PublicKey = QSsl::PublicKey}; -enum SslOption{ - SslOptionDisableEmptyFragments = QSsl::SslOptionDisableEmptyFragments, SslOptionDisableSessionTickets = QSsl::SslOptionDisableSessionTickets, SslOptionDisableCompression = QSsl::SslOptionDisableCompression, SslOptionDisableServerNameIndication = QSsl::SslOptionDisableServerNameIndication, SslOptionDisableLegacyRenegotiation = QSsl::SslOptionDisableLegacyRenegotiation, SslOptionDisableSessionSharing = QSsl::SslOptionDisableSessionSharing, SslOptionDisableSessionPersistence = QSsl::SslOptionDisableSessionPersistence, SslOptionDisableServerCipherPreference = QSsl::SslOptionDisableServerCipherPreference}; -enum SslProtocol{ - SslV3 = QSsl::SslV3, SslV2 = QSsl::SslV2, TlsV1_0 = QSsl::TlsV1_0, TlsV1_1 = QSsl::TlsV1_1, TlsV1_2 = QSsl::TlsV1_2, AnyProtocol = QSsl::AnyProtocol, TlsV1SslV3 = QSsl::TlsV1SslV3, SecureProtocols = QSsl::SecureProtocols, TlsV1_0OrLater = QSsl::TlsV1_0OrLater, TlsV1_1OrLater = QSsl::TlsV1_1OrLater, TlsV1_2OrLater = QSsl::TlsV1_2OrLater, DtlsV1_0 = QSsl::DtlsV1_0, DtlsV1_0OrLater = QSsl::DtlsV1_0OrLater, DtlsV1_2 = QSsl::DtlsV1_2, DtlsV1_2OrLater = QSsl::DtlsV1_2OrLater, TlsV1_3 = QSsl::TlsV1_3, TlsV1_3OrLater = QSsl::TlsV1_3OrLater, UnknownProtocol = QSsl::UnknownProtocol}; -Q_DECLARE_FLAGS(SslOptions, SslOption) -public slots: -}; - -#endif - - - - - -#ifndef QT_NO_SSL -class PythonQtWrapper_QSslError : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SslError ) -enum SslError{ - NoError = QSslError::NoError, UnableToGetIssuerCertificate = QSslError::UnableToGetIssuerCertificate, UnableToDecryptCertificateSignature = QSslError::UnableToDecryptCertificateSignature, UnableToDecodeIssuerPublicKey = QSslError::UnableToDecodeIssuerPublicKey, CertificateSignatureFailed = QSslError::CertificateSignatureFailed, CertificateNotYetValid = QSslError::CertificateNotYetValid, CertificateExpired = QSslError::CertificateExpired, InvalidNotBeforeField = QSslError::InvalidNotBeforeField, InvalidNotAfterField = QSslError::InvalidNotAfterField, SelfSignedCertificate = QSslError::SelfSignedCertificate, SelfSignedCertificateInChain = QSslError::SelfSignedCertificateInChain, UnableToGetLocalIssuerCertificate = QSslError::UnableToGetLocalIssuerCertificate, UnableToVerifyFirstCertificate = QSslError::UnableToVerifyFirstCertificate, CertificateRevoked = QSslError::CertificateRevoked, InvalidCaCertificate = QSslError::InvalidCaCertificate, PathLengthExceeded = QSslError::PathLengthExceeded, InvalidPurpose = QSslError::InvalidPurpose, CertificateUntrusted = QSslError::CertificateUntrusted, CertificateRejected = QSslError::CertificateRejected, SubjectIssuerMismatch = QSslError::SubjectIssuerMismatch, AuthorityIssuerSerialNumberMismatch = QSslError::AuthorityIssuerSerialNumberMismatch, NoPeerCertificate = QSslError::NoPeerCertificate, HostNameMismatch = QSslError::HostNameMismatch, NoSslSupport = QSslError::NoSslSupport, CertificateBlacklisted = QSslError::CertificateBlacklisted, CertificateStatusUnknown = QSslError::CertificateStatusUnknown, OcspNoResponseFound = QSslError::OcspNoResponseFound, OcspMalformedRequest = QSslError::OcspMalformedRequest, OcspMalformedResponse = QSslError::OcspMalformedResponse, OcspInternalError = QSslError::OcspInternalError, OcspTryLater = QSslError::OcspTryLater, OcspSigRequred = QSslError::OcspSigRequred, OcspUnauthorized = QSslError::OcspUnauthorized, OcspResponseCannotBeTrusted = QSslError::OcspResponseCannotBeTrusted, OcspResponseCertIdUnknown = QSslError::OcspResponseCertIdUnknown, OcspResponseExpired = QSslError::OcspResponseExpired, OcspStatusUnknown = QSslError::OcspStatusUnknown, UnspecifiedError = QSslError::UnspecifiedError}; -public slots: -QSslError* new_QSslError(); -QSslError* new_QSslError(QSslError::SslError error); -QSslError* new_QSslError(QSslError::SslError error, const QSslCertificate& certificate); -QSslError* new_QSslError(const QSslError& other); -void delete_QSslError(QSslError* obj) { delete obj; } - QString py_toString(QSslError*); -}; - -#endif - - - - - -#ifndef QT_NO_SSL -class PythonQtShell_QSslSocket : public QSslSocket -{ -public: - PythonQtShell_QSslSocket(QObject* parent = nullptr):QSslSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSslSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -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 void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSslSocket : public QSslSocket -{ public: -inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -inline bool py_q_atEnd() const { return QSslSocket::atEnd(); } -inline qint64 py_q_bytesAvailable() const { return QSslSocket::bytesAvailable(); } -inline qint64 py_q_bytesToWrite() const { return QSslSocket::bytesToWrite(); } -inline bool py_q_canReadLine() const { return QSslSocket::canReadLine(); } -inline void py_q_close() { QSslSocket::close(); } -inline void py_q_connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) { QSslSocket::connectToHost(hostName, port, openMode, protocol); } -inline void py_q_disconnectFromHost() { QSslSocket::disconnectFromHost(); } -inline qint64 py_q_readData(char* data, qint64 maxlen) { return QSslSocket::readData(data, maxlen); } -inline void py_q_resume() { QSslSocket::resume(); } -inline void py_q_setReadBufferSize(qint64 size) { QSslSocket::setReadBufferSize(size); } -inline bool py_q_setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) { return QSslSocket::setSocketDescriptor(socketDescriptor, state, openMode); } -inline void py_q_setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) { QSslSocket::setSocketOption(option, value); } -inline QVariant py_q_socketOption(QAbstractSocket::SocketOption option) { return QSslSocket::socketOption(option); } -inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QSslSocket::waitForBytesWritten(msecs); } -inline bool py_q_waitForConnected(int msecs = 30000) { return QSslSocket::waitForConnected(msecs); } -inline bool py_q_waitForDisconnected(int msecs = 30000) { return QSslSocket::waitForDisconnected(msecs); } -inline bool py_q_waitForReadyRead(int msecs = 30000) { return QSslSocket::waitForReadyRead(msecs); } -inline qint64 py_q_writeData(const char* data, qint64 len) { return QSslSocket::writeData(data, len); } -}; - -class PythonQtWrapper_QSslSocket : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PeerVerifyMode SslMode ) -enum PeerVerifyMode{ - VerifyNone = QSslSocket::VerifyNone, QueryPeer = QSslSocket::QueryPeer, VerifyPeer = QSslSocket::VerifyPeer, AutoVerifyPeer = QSslSocket::AutoVerifyPeer}; -enum SslMode{ - UnencryptedMode = QSslSocket::UnencryptedMode, SslClientMode = QSslSocket::SslClientMode, SslServerMode = QSslSocket::SslServerMode}; +Q_ENUMS(Capability ProxyType ) +Q_FLAGS(Capabilities ) +enum Capability{ + TunnelingCapability = QNetworkProxy::TunnelingCapability, ListeningCapability = QNetworkProxy::ListeningCapability, UdpTunnelingCapability = QNetworkProxy::UdpTunnelingCapability, CachingCapability = QNetworkProxy::CachingCapability, HostNameLookupCapability = QNetworkProxy::HostNameLookupCapability, SctpTunnelingCapability = QNetworkProxy::SctpTunnelingCapability, SctpListeningCapability = QNetworkProxy::SctpListeningCapability}; +enum ProxyType{ + DefaultProxy = QNetworkProxy::DefaultProxy, Socks5Proxy = QNetworkProxy::Socks5Proxy, NoProxy = QNetworkProxy::NoProxy, HttpProxy = QNetworkProxy::HttpProxy, HttpCachingProxy = QNetworkProxy::HttpCachingProxy, FtpCachingProxy = QNetworkProxy::FtpCachingProxy}; +Q_DECLARE_FLAGS(Capabilities, Capability) public slots: -QSslSocket* new_QSslSocket(QObject* parent = nullptr); -void delete_QSslSocket(QSslSocket* obj) { delete obj; } - void abort(QSslSocket* theWrappedObject); - void addCaCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate); - void addCaCertificates(QSslSocket* theWrappedObject, const QList& certificates); - bool addCaCertificates(QSslSocket* theWrappedObject, const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); - void static_QSslSocket_addDefaultCaCertificate(const QSslCertificate& certificate); - void static_QSslSocket_addDefaultCaCertificates(const QList& certificates); - bool static_QSslSocket_addDefaultCaCertificates(const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); - bool py_q_atEnd(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_atEnd());} - qint64 py_q_bytesAvailable(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_bytesAvailable());} - qint64 py_q_bytesToWrite(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_bytesToWrite());} - QList caCertificates(QSslSocket* theWrappedObject) const; - bool py_q_canReadLine(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_canReadLine());} - QList ciphers(QSslSocket* theWrappedObject) const; - void py_q_close(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_close());} - void py_q_connectToHost(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_connectToHost(hostName, port, openMode, protocol));} - void connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); - void connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, const QString& sslPeerName, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); - QList static_QSslSocket_defaultCaCertificates(); - QList static_QSslSocket_defaultCiphers(); - void py_q_disconnectFromHost(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_disconnectFromHost());} - qint64 encryptedBytesAvailable(QSslSocket* theWrappedObject) const; - qint64 encryptedBytesToWrite(QSslSocket* theWrappedObject) const; - bool flush(QSslSocket* theWrappedObject); - void ignoreSslErrors(QSslSocket* theWrappedObject, const QList& errors); - bool isEncrypted(QSslSocket* theWrappedObject) const; - QSslCertificate localCertificate(QSslSocket* theWrappedObject) const; - QList localCertificateChain(QSslSocket* theWrappedObject) const; - QSslSocket::SslMode mode(QSslSocket* theWrappedObject) const; - QSslCertificate peerCertificate(QSslSocket* theWrappedObject) const; - QList peerCertificateChain(QSslSocket* theWrappedObject) const; - int peerVerifyDepth(QSslSocket* theWrappedObject) const; - QSslSocket::PeerVerifyMode peerVerifyMode(QSslSocket* theWrappedObject) const; - QString peerVerifyName(QSslSocket* theWrappedObject) const; - QSslKey privateKey(QSslSocket* theWrappedObject) const; - QSsl::SslProtocol protocol(QSslSocket* theWrappedObject) const; - qint64 py_q_readData(QSslSocket* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_readData(data, maxlen));} - void py_q_resume(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_resume());} - QSslCipher sessionCipher(QSslSocket* theWrappedObject) const; - QSsl::SslProtocol sessionProtocol(QSslSocket* theWrappedObject) const; - void setCaCertificates(QSslSocket* theWrappedObject, const QList& certificates); - void setCiphers(QSslSocket* theWrappedObject, const QList& ciphers); - void setCiphers(QSslSocket* theWrappedObject, const QString& ciphers); - void static_QSslSocket_setDefaultCaCertificates(const QList& certificates); - void static_QSslSocket_setDefaultCiphers(const QList& ciphers); - void setLocalCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate); - void setLocalCertificate(QSslSocket* theWrappedObject, const QString& fileName, QSsl::EncodingFormat format = QSsl::Pem); - void setLocalCertificateChain(QSslSocket* theWrappedObject, const QList& localChain); - void setPeerVerifyDepth(QSslSocket* theWrappedObject, int depth); - void setPeerVerifyMode(QSslSocket* theWrappedObject, QSslSocket::PeerVerifyMode mode); - void setPeerVerifyName(QSslSocket* theWrappedObject, const QString& hostName); - void setPrivateKey(QSslSocket* theWrappedObject, const QSslKey& key); - void setPrivateKey(QSslSocket* theWrappedObject, const QString& fileName, QSsl::KeyAlgorithm algorithm = QSsl::Rsa, QSsl::EncodingFormat format = QSsl::Pem, const QByteArray& passPhrase = QByteArray()); - void setProtocol(QSslSocket* theWrappedObject, QSsl::SslProtocol protocol); - void py_q_setReadBufferSize(QSslSocket* theWrappedObject, qint64 size){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setReadBufferSize(size));} - bool py_q_setSocketDescriptor(QSslSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setSocketDescriptor(socketDescriptor, state, openMode));} - void py_q_setSocketOption(QSslSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setSocketOption(option, value));} - void setSslConfiguration(QSslSocket* theWrappedObject, const QSslConfiguration& config); - QVariant py_q_socketOption(QSslSocket* theWrappedObject, QAbstractSocket::SocketOption option){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_socketOption(option));} - QSslConfiguration sslConfiguration(QSslSocket* theWrappedObject) const; - QList sslErrors(QSslSocket* theWrappedObject) const; - QList sslHandshakeErrors(QSslSocket* theWrappedObject) const; - long static_QSslSocket_sslLibraryBuildVersionNumber(); - QString static_QSslSocket_sslLibraryBuildVersionString(); - long static_QSslSocket_sslLibraryVersionNumber(); - QString static_QSslSocket_sslLibraryVersionString(); - QList static_QSslSocket_supportedCiphers(); - bool static_QSslSocket_supportsSsl(); - QList static_QSslSocket_systemCaCertificates(); - bool py_q_waitForBytesWritten(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} - bool py_q_waitForConnected(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForConnected(msecs));} - bool py_q_waitForDisconnected(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForDisconnected(msecs));} - bool waitForEncrypted(QSslSocket* theWrappedObject, int msecs = 30000); - bool py_q_waitForReadyRead(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForReadyRead(msecs));} - qint64 py_q_writeData(QSslSocket* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_writeData(data, len));} - bool __nonzero__(QSslSocket* obj) { return obj->isValid(); } +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; } + QNetworkProxy static_QNetworkProxy_applicationProxy(); + QNetworkProxy::Capabilities capabilities(QNetworkProxy* theWrappedObject) const; + bool hasRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const; + QVariant header(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header) const; + QString hostName(QNetworkProxy* theWrappedObject) const; + bool isCachingProxy(QNetworkProxy* theWrappedObject) const; + bool isTransparentProxy(QNetworkProxy* theWrappedObject) const; + bool __ne__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const; + bool __eq__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const; + QString password(QNetworkProxy* theWrappedObject) const; + unsigned short port(QNetworkProxy* theWrappedObject) const; + QByteArray rawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const; + QList rawHeaderList(QNetworkProxy* theWrappedObject) const; + void static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy); + void setCapabilities(QNetworkProxy* theWrappedObject, QNetworkProxy::Capabilities capab); + void setHeader(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setHostName(QNetworkProxy* theWrappedObject, const QString& hostName); + void setPassword(QNetworkProxy* theWrappedObject, const QString& password); + void setPort(QNetworkProxy* theWrappedObject, unsigned short port); + void setRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName, const QByteArray& value); + void setType(QNetworkProxy* theWrappedObject, QNetworkProxy::ProxyType type); + void setUser(QNetworkProxy* theWrappedObject, const QString& userName); + void swap(QNetworkProxy* theWrappedObject, QNetworkProxy& other); + QNetworkProxy::ProxyType type(QNetworkProxy* theWrappedObject) const; + QString user(QNetworkProxy* theWrappedObject) const; + QString py_toString(QNetworkProxy*); }; -#endif - -class PythonQtShell_QTcpServer : public QTcpServer +class PythonQtShell_QNetworkProxyFactory : public QNetworkProxyFactory { public: - PythonQtShell_QTcpServer(QObject* parent = nullptr):QTcpServer(parent),_wrapper(NULL) {}; + PythonQtShell_QNetworkProxyFactory():QNetworkProxyFactory(),_wrapper(nullptr) {}; - ~PythonQtShell_QTcpServer(); + ~PythonQtShell_QNetworkProxyFactory() override; -virtual bool hasPendingConnections() const; -virtual void incomingConnection(qintptr handle); -virtual QTcpSocket* nextPendingConnection(); +QList queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QTcpServer : public QTcpServer +class PythonQtPublicPromoter_QNetworkProxyFactory : public QNetworkProxyFactory { public: -inline void promoted_addPendingConnection(QTcpSocket* socket) { this->addPendingConnection(socket); } -inline void promoted_incomingConnection(qintptr handle) { this->incomingConnection(handle); } -inline bool py_q_hasPendingConnections() const { return QTcpServer::hasPendingConnections(); } -inline void py_q_incomingConnection(qintptr handle) { QTcpServer::incomingConnection(handle); } -inline QTcpSocket* py_q_nextPendingConnection() { return QTcpServer::nextPendingConnection(); } +inline QList py_q_queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()) { return this->queryProxy(query); } }; -class PythonQtWrapper_QTcpServer : public QObject +class PythonQtWrapper_QNetworkProxyFactory : public QObject { Q_OBJECT public: public slots: -QTcpServer* new_QTcpServer(QObject* parent = nullptr); -void delete_QTcpServer(QTcpServer* obj) { delete obj; } - void addPendingConnection(QTcpServer* theWrappedObject, QTcpSocket* socket); - void close(QTcpServer* theWrappedObject); - QString errorString(QTcpServer* theWrappedObject) const; - bool hasPendingConnections(QTcpServer* theWrappedObject) const; - bool py_q_hasPendingConnections(QTcpServer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_hasPendingConnections());} - void incomingConnection(QTcpServer* theWrappedObject, qintptr handle); - void py_q_incomingConnection(QTcpServer* theWrappedObject, qintptr handle){ (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_incomingConnection(handle));} - bool isListening(QTcpServer* theWrappedObject) const; - bool listen(QTcpServer* theWrappedObject, const QHostAddress& address = QHostAddress::Any, unsigned short port = 0); - int maxPendingConnections(QTcpServer* theWrappedObject) const; - QTcpSocket* nextPendingConnection(QTcpServer* theWrappedObject); - QTcpSocket* py_q_nextPendingConnection(QTcpServer* theWrappedObject){ return (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_nextPendingConnection());} - void pauseAccepting(QTcpServer* theWrappedObject); - QNetworkProxy proxy(QTcpServer* theWrappedObject) const; - void resumeAccepting(QTcpServer* theWrappedObject); - QHostAddress serverAddress(QTcpServer* theWrappedObject) const; - QAbstractSocket::SocketError serverError(QTcpServer* theWrappedObject) const; - unsigned short serverPort(QTcpServer* theWrappedObject) const; - void setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections); - void setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy); - bool setSocketDescriptor(QTcpServer* theWrappedObject, qintptr socketDescriptor); - qintptr socketDescriptor(QTcpServer* theWrappedObject) const; - bool waitForNewConnection(QTcpServer* theWrappedObject, int msec = 0, bool* timedOut = nullptr); +QNetworkProxyFactory* new_QNetworkProxyFactory(); +void delete_QNetworkProxyFactory(QNetworkProxyFactory* obj) { delete obj; } + QList static_QNetworkProxyFactory_proxyForQuery(const QNetworkProxyQuery& query); + QList queryProxy(QNetworkProxyFactory* theWrappedObject, const QNetworkProxyQuery& query = QNetworkProxyQuery()); + QList py_q_queryProxy(QNetworkProxyFactory* theWrappedObject, const QNetworkProxyQuery& query = QNetworkProxyQuery()){ return (((PythonQtPublicPromoter_QNetworkProxyFactory*)theWrappedObject)->py_q_queryProxy(query));} + void static_QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactory* factory); + void static_QNetworkProxyFactory_setUseSystemConfiguration(bool enable); + QList static_QNetworkProxyFactory_systemProxyForQuery(const QNetworkProxyQuery& query = QNetworkProxyQuery()); + bool static_QNetworkProxyFactory_usesSystemConfiguration(); }; -class PythonQtShell_QTcpSocket : public QTcpSocket -{ -public: - PythonQtShell_QTcpSocket(QObject* parent = nullptr):QTcpSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTcpSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -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 void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTcpSocket : public QObject -{ Q_OBJECT -public: -public slots: -QTcpSocket* new_QTcpSocket(QObject* parent = nullptr); -void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } - bool __nonzero__(QTcpSocket* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QUdpSocket : public QUdpSocket -{ -public: - PythonQtShell_QUdpSocket(QObject* parent = nullptr):QUdpSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUdpSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -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 void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUdpSocket : public QObject +class PythonQtWrapper_QNetworkProxyQuery : public QObject { Q_OBJECT public: +Q_ENUMS(QueryType ) +enum QueryType{ + TcpSocket = QNetworkProxyQuery::TcpSocket, UdpSocket = QNetworkProxyQuery::UdpSocket, SctpSocket = QNetworkProxyQuery::SctpSocket, TcpServer = QNetworkProxyQuery::TcpServer, UrlRequest = QNetworkProxyQuery::UrlRequest, SctpServer = QNetworkProxyQuery::SctpServer}; public slots: -QUdpSocket* new_QUdpSocket(QObject* parent = nullptr); -void delete_QUdpSocket(QUdpSocket* obj) { delete obj; } - bool hasPendingDatagrams(QUdpSocket* theWrappedObject) const; - bool joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress); - bool joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface); - bool leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress); - bool leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface); - QNetworkInterface multicastInterface(QUdpSocket* theWrappedObject) const; - qint64 pendingDatagramSize(QUdpSocket* theWrappedObject) const; - qint64 readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host = nullptr, unsigned short* port = nullptr); - QNetworkDatagram receiveDatagram(QUdpSocket* theWrappedObject, qint64 maxSize = -1); - void setMulticastInterface(QUdpSocket* theWrappedObject, const QNetworkInterface& iface); - qint64 writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port); - qint64 writeDatagram(QUdpSocket* theWrappedObject, const QNetworkDatagram& datagram); - bool __nonzero__(QUdpSocket* obj) { return obj->isValid(); } +QNetworkProxyQuery* new_QNetworkProxyQuery(); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QString& hostname, int port, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpSocket); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::UrlRequest); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkConfiguration& networkConfiguration, unsigned short bindPort, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpServer); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QNetworkProxyQuery& other); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QString& hostname, int port, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpSocket); +QNetworkProxyQuery* new_QNetworkProxyQuery(const QUrl& requestUrl, QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::UrlRequest); +QNetworkProxyQuery* new_QNetworkProxyQuery(unsigned short bindPort, const QString& protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::TcpServer); +void delete_QNetworkProxyQuery(QNetworkProxyQuery* obj) { delete obj; } + int localPort(QNetworkProxyQuery* theWrappedObject) const; + QNetworkConfiguration networkConfiguration(QNetworkProxyQuery* theWrappedObject) const; + bool __ne__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const; + bool __eq__(QNetworkProxyQuery* theWrappedObject, const QNetworkProxyQuery& other) const; + QString peerHostName(QNetworkProxyQuery* theWrappedObject) const; + int peerPort(QNetworkProxyQuery* theWrappedObject) const; + QString protocolTag(QNetworkProxyQuery* theWrappedObject) const; + QNetworkProxyQuery::QueryType queryType(QNetworkProxyQuery* theWrappedObject) const; + void setLocalPort(QNetworkProxyQuery* theWrappedObject, int port); + void setNetworkConfiguration(QNetworkProxyQuery* theWrappedObject, const QNetworkConfiguration& networkConfiguration); + void setPeerHostName(QNetworkProxyQuery* theWrappedObject, const QString& hostname); + void setPeerPort(QNetworkProxyQuery* theWrappedObject, int port); + void setProtocolTag(QNetworkProxyQuery* theWrappedObject, const QString& protocolTag); + void setQueryType(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery::QueryType type); + void setUrl(QNetworkProxyQuery* theWrappedObject, const QUrl& url); + void swap(QNetworkProxyQuery* theWrappedObject, QNetworkProxyQuery& other); + QUrl url(QNetworkProxyQuery* theWrappedObject) const; + QString py_toString(QNetworkProxyQuery*); }; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.cpp similarity index 56% rename from generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index 0faa94d4..55e75a9b 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -1,86 +1,55 @@ -#include "com_trolltech_qt_network0.h" +#include "com_trolltech_qt_network1.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 +#include #include -#include -#include +#include +#include +#include #include -#include +#include #include +#include -PythonQtShell_QAbstractNetworkCache::~PythonQtShell_QAbstractNetworkCache() { +PythonQtShell_QNetworkReply::~PythonQtShell_QNetworkReply() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("cacheSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("cacheSize", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return qint64(); -} -void PythonQtShell_QAbstractNetworkCache::clear() +void PythonQtShell_QNetworkReply::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -90,30 +59,30 @@ if (_wrapper) { } } -QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) +bool PythonQtShell_QNetworkReply::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue{}; - void* args[2] = {NULL, (void*)&url0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { - returnValue = *((QIODevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -121,54 +90,32 @@ if (_wrapper) { } } } - return 0; -} -void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QIODevice*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - + return QNetworkReply::atEnd(); } -QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url0) +qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metaData"); + static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QNetworkCacheMetaData returnValue{}; - void* args[2] = {NULL, (void*)&url0}; + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { - returnValue = *((QNetworkCacheMetaData*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -176,32 +123,32 @@ if (_wrapper) { } } } - return QNetworkCacheMetaData(); + return QNetworkReply::bytesAvailable(); } -QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData0) +qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("prepare"); + static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue{}; - void* args[2] = {NULL, (void*)&metaData0}; + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { - returnValue = *((QIODevice**)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -209,32 +156,32 @@ if (_wrapper) { } } } - return 0; + return QNetworkReply::bytesToWrite(); } -bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) +bool PythonQtShell_QNetworkReply::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("remove"); + static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&url0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -242,21 +189,21 @@ if (_wrapper) { } } } - return bool(); + return QNetworkReply::canReadLine(); } -void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData0) +void PythonQtShell_QNetworkReply::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateMetaData"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&metaData0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -264,156 +211,76 @@ if (_wrapper) { } } } - -} -QAbstractNetworkCache* PythonQtWrapper_QAbstractNetworkCache::new_QAbstractNetworkCache(QObject* parent) -{ -return new PythonQtShell_QAbstractNetworkCache(parent); } - -const QMetaObject* PythonQtShell_QAbstractNetworkCache::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractNetworkCache::staticMetaObject); - } else { - return &QAbstractNetworkCache::staticMetaObject; - } -} -int PythonQtShell_QAbstractNetworkCache::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QAbstractNetworkCache::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -qint64 PythonQtWrapper_QAbstractNetworkCache::cacheSize(QAbstractNetworkCache* theWrappedObject) const -{ - return ( theWrappedObject->cacheSize()); -} - -QIODevice* PythonQtWrapper_QAbstractNetworkCache::data(QAbstractNetworkCache* theWrappedObject, const QUrl& url) -{ - return ( theWrappedObject->data(url)); -} - -void PythonQtWrapper_QAbstractNetworkCache::insert(QAbstractNetworkCache* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->insert(device)); -} - -QNetworkCacheMetaData PythonQtWrapper_QAbstractNetworkCache::metaData(QAbstractNetworkCache* theWrappedObject, const QUrl& url) -{ - return ( theWrappedObject->metaData(url)); -} - -QIODevice* PythonQtWrapper_QAbstractNetworkCache::prepare(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) -{ - return ( theWrappedObject->prepare(metaData)); -} - -bool PythonQtWrapper_QAbstractNetworkCache::remove(QAbstractNetworkCache* theWrappedObject, const QUrl& url) -{ - return ( theWrappedObject->remove(url)); -} - -void PythonQtWrapper_QAbstractNetworkCache::updateMetaData(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) -{ - ( theWrappedObject->updateMetaData(metaData)); -} - - - -PythonQtShell_QAbstractSocket::~PythonQtShell_QAbstractSocket() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QNetworkReply::childEvent(event0); } -bool PythonQtShell_QAbstractSocket::atEnd() const +void PythonQtShell_QNetworkReply::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::atEnd(); + QNetworkReply::close(); } -qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const +void PythonQtShell_QNetworkReply::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::bytesAvailable(); + QNetworkReply::customEvent(event0); } -qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const +bool PythonQtShell_QNetworkReply::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -421,32 +288,32 @@ if (_wrapper) { } } } - return QAbstractSocket::bytesToWrite(); + return QNetworkReply::event(event0); } -bool PythonQtShell_QAbstractSocket::canReadLine() const +bool PythonQtShell_QNetworkReply::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -454,65 +321,21 @@ if (_wrapper) { } } } - return QAbstractSocket::canReadLine(); + return QNetworkReply::eventFilter(watched0, event1); } -void PythonQtShell_QAbstractSocket::close() +void PythonQtShell_QNetworkReply::ignoreSslErrors() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); + static PyObject* name = PyString_FromString("ignoreSslErrors"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QAbstractSocket::close(); -} -void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("connectToHost"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QAbstractSocket::connectToHost(address0, port1, mode2); -} -void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("connectToHost"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -520,21 +343,21 @@ if (_wrapper) { } } } - QAbstractSocket::connectToHost(hostName0, port1, mode2, protocol3); + QNetworkReply::ignoreSslErrors(); } -void PythonQtShell_QAbstractSocket::disconnectFromHost() +void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QList& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("disconnectFromHost"); + static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "const QList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -542,9 +365,9 @@ if (_wrapper) { } } } - QAbstractSocket::disconnectFromHost(); + QNetworkReply::ignoreSslErrorsImplementation(arg__1); } -bool PythonQtShell_QAbstractSocket::isSequential() const +bool PythonQtShell_QNetworkReply::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -555,19 +378,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -575,9 +398,9 @@ if (_wrapper) { } } } - return QAbstractSocket::isSequential(); + return QNetworkReply::isSequential(); } -bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) +bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -588,19 +411,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -608,9 +431,9 @@ if (_wrapper) { } } } - return QAbstractSocket::open(mode0); + return QNetworkReply::open(mode0); } -qint64 PythonQtShell_QAbstractSocket::pos() const +qint64 PythonQtShell_QNetworkReply::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -621,19 +444,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -641,9 +464,9 @@ if (_wrapper) { } } } - return QAbstractSocket::pos(); + return QNetworkReply::pos(); } -qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) +qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -654,19 +477,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -674,9 +497,9 @@ if (_wrapper) { } } } - return QAbstractSocket::readData(data0, maxlen1); + return qint64(); } -qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen1) +qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -687,19 +510,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -707,9 +530,9 @@ if (_wrapper) { } } } - return QAbstractSocket::readLineData(data0, maxlen1); + return QNetworkReply::readLineData(data0, maxlen1); } -bool PythonQtShell_QAbstractSocket::reset() +bool PythonQtShell_QNetworkReply::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -720,19 +543,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -740,31 +563,9 @@ if (_wrapper) { } } } - return QAbstractSocket::reset(); -} -void PythonQtShell_QAbstractSocket::resume() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resume"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QAbstractSocket::resume(); + return QNetworkReply::reset(); } -bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) +bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -775,19 +576,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -795,9 +596,9 @@ if (_wrapper) { } } } - return QAbstractSocket::seek(pos0); + return QNetworkReply::seek(pos0); } -void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) +void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -807,9 +608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -817,54 +618,21 @@ if (_wrapper) { } } } - QAbstractSocket::setReadBufferSize(size0); + QNetworkReply::setReadBufferSize(size0); } -bool PythonQtShell_QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor0, QAbstractSocket::SocketState state1, QIODevice::OpenMode openMode2) +void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSocketDescriptor"); + static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + static const char* argumentList[] ={"" , "const QSslConfiguration&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QAbstractSocket::setSocketDescriptor(socketDescriptor0, state1, openMode2); -} -void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSocketOption"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -872,9 +640,9 @@ if (_wrapper) { } } } - QAbstractSocket::setSocketOption(option0, value1); + QNetworkReply::setSslConfigurationImplementation(arg__1); } -qint64 PythonQtShell_QAbstractSocket::size() const +qint64 PythonQtShell_QNetworkReply::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -885,19 +653,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -905,75 +673,53 @@ if (_wrapper) { } } } - return QAbstractSocket::size(); + return QNetworkReply::size(); } -qintptr PythonQtShell_QAbstractSocket::socketDescriptor() const +void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfiguration& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("socketDescriptor"); + static PyObject* name = PyString_FromString("sslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qintptr"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qintptr returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QSslConfiguration&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); - } else { - returnValue = *((qintptr*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::socketDescriptor(); + QNetworkReply::sslConfigurationImplementation(arg__1); } -QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOption option0) +void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("socketOption"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::socketOption(option0); + QNetworkReply::timerEvent(event0); } -bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) +bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -984,85 +730,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QAbstractSocket::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForConnected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QAbstractSocket::waitForConnected(msecs0); -} -bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForDisconnected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1070,9 +750,9 @@ if (_wrapper) { } } } - return QAbstractSocket::waitForDisconnected(msecs0); + return QNetworkReply::waitForBytesWritten(msecs0); } -bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) +bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1083,19 +763,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1103,9 +783,9 @@ if (_wrapper) { } } } - return QAbstractSocket::waitForReadyRead(msecs0); + return QNetworkReply::waitForReadyRead(msecs0); } -qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len1) +qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1116,19 +796,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1136,488 +816,402 @@ if (_wrapper) { } } } - return QAbstractSocket::writeData(data0, len1); + return QNetworkReply::writeData(data0, len1); } -QAbstractSocket* PythonQtWrapper_QAbstractSocket::new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent) +QNetworkReply* PythonQtWrapper_QNetworkReply::new_QNetworkReply(QObject* parent) { -return new PythonQtShell_QAbstractSocket(socketType, parent); } +return new PythonQtShell_QNetworkReply(parent); } -const QMetaObject* PythonQtShell_QAbstractSocket::metaObject() const { +const QMetaObject* PythonQtShell_QNetworkReply::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractSocket::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkReply::staticMetaObject); } else { - return &QAbstractSocket::staticMetaObject; + return &QNetworkReply::staticMetaObject; } } -int PythonQtShell_QAbstractSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QAbstractSocket::qt_metacall(call, id, args); +int PythonQtShell_QNetworkReply::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkReply::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QAbstractSocket::abort(QAbstractSocket* theWrappedObject) -{ - ( theWrappedObject->abort()); -} - -bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QAbstractSocket::BindMode mode) -{ - return ( theWrappedObject->bind(address, port, mode)); -} - -bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, unsigned short port, QAbstractSocket::BindMode mode) -{ - return ( theWrappedObject->bind(port, mode)); -} - -void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode) -{ - ( theWrappedObject->connectToHost(address, port, mode)); -} - -void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode, QAbstractSocket::NetworkLayerProtocol protocol) -{ - ( theWrappedObject->connectToHost(hostName, port, mode, protocol)); -} - -void PythonQtWrapper_QAbstractSocket::disconnectFromHost(QAbstractSocket* theWrappedObject) +QVariant PythonQtWrapper_QNetworkReply::attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const { - ( theWrappedObject->disconnectFromHost()); + return ( theWrappedObject->attribute(code)); } -QAbstractSocket::SocketError PythonQtWrapper_QAbstractSocket::error(QAbstractSocket* theWrappedObject) const +QNetworkReply::NetworkError PythonQtWrapper_QNetworkReply::error(QNetworkReply* theWrappedObject) const { return ( theWrappedObject->error()); } -bool PythonQtWrapper_QAbstractSocket::flush(QAbstractSocket* theWrappedObject) +bool PythonQtWrapper_QNetworkReply::hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const { - return ( theWrappedObject->flush()); + return ( theWrappedObject->hasRawHeader(headerName)); } -bool PythonQtWrapper_QAbstractSocket::isValid(QAbstractSocket* theWrappedObject) const +QVariant PythonQtWrapper_QNetworkReply::header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->header(header)); } -QHostAddress PythonQtWrapper_QAbstractSocket::localAddress(QAbstractSocket* theWrappedObject) const +void PythonQtWrapper_QNetworkReply::ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1) { - return ( theWrappedObject->localAddress()); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_ignoreSslErrorsImplementation(arg__1)); } -unsigned short PythonQtWrapper_QAbstractSocket::localPort(QAbstractSocket* theWrappedObject) const +bool PythonQtWrapper_QNetworkReply::isFinished(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->localPort()); + return ( theWrappedObject->isFinished()); } -QAbstractSocket::PauseModes PythonQtWrapper_QAbstractSocket::pauseMode(QAbstractSocket* theWrappedObject) const +bool PythonQtWrapper_QNetworkReply::isRunning(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->pauseMode()); + return ( theWrappedObject->isRunning()); } -QHostAddress PythonQtWrapper_QAbstractSocket::peerAddress(QAbstractSocket* theWrappedObject) const +QNetworkAccessManager* PythonQtWrapper_QNetworkReply::manager(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->peerAddress()); + return ( theWrappedObject->manager()); } -QString PythonQtWrapper_QAbstractSocket::peerName(QAbstractSocket* theWrappedObject) const +QNetworkAccessManager::Operation PythonQtWrapper_QNetworkReply::operation(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->peerName()); + return ( theWrappedObject->operation()); } -unsigned short PythonQtWrapper_QAbstractSocket::peerPort(QAbstractSocket* theWrappedObject) const +QByteArray PythonQtWrapper_QNetworkReply::rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const { - return ( theWrappedObject->peerPort()); + return ( theWrappedObject->rawHeader(headerName)); } -QString PythonQtWrapper_QAbstractSocket::protocolTag(QAbstractSocket* theWrappedObject) const +QList PythonQtWrapper_QNetworkReply::rawHeaderList(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->protocolTag()); + return ( theWrappedObject->rawHeaderList()); } -QNetworkProxy PythonQtWrapper_QAbstractSocket::proxy(QAbstractSocket* theWrappedObject) const +const QList >* PythonQtWrapper_QNetworkReply::rawHeaderPairs(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->proxy()); + return &( theWrappedObject->rawHeaderPairs()); } -qint64 PythonQtWrapper_QAbstractSocket::readBufferSize(QAbstractSocket* theWrappedObject) const +qint64 PythonQtWrapper_QNetworkReply::readBufferSize(QNetworkReply* theWrappedObject) const { return ( theWrappedObject->readBufferSize()); } -void PythonQtWrapper_QAbstractSocket::resume(QAbstractSocket* theWrappedObject) -{ - ( theWrappedObject->resume()); -} - -void PythonQtWrapper_QAbstractSocket::setLocalAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) -{ - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalAddress(address)); -} - -void PythonQtWrapper_QAbstractSocket::setLocalPort(QAbstractSocket* theWrappedObject, unsigned short port) +QNetworkRequest PythonQtWrapper_QNetworkReply::request(QNetworkReply* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalPort(port)); + return ( theWrappedObject->request()); } -void PythonQtWrapper_QAbstractSocket::setPauseMode(QAbstractSocket* theWrappedObject, QAbstractSocket::PauseModes pauseMode) +void PythonQtWrapper_QNetworkReply::setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) { - ( theWrappedObject->setPauseMode(pauseMode)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setAttribute(code, value)); } -void PythonQtWrapper_QAbstractSocket::setPeerAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) +void PythonQtWrapper_QNetworkReply::setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString) { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerAddress(address)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setError(errorCode, errorString)); } -void PythonQtWrapper_QAbstractSocket::setPeerName(QAbstractSocket* theWrappedObject, const QString& name) +void PythonQtWrapper_QNetworkReply::setFinished(QNetworkReply* theWrappedObject, bool arg__1) { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerName(name)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setFinished(arg__1)); } -void PythonQtWrapper_QAbstractSocket::setPeerPort(QAbstractSocket* theWrappedObject, unsigned short port) +void PythonQtWrapper_QNetworkReply::setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerPort(port)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setHeader(header, value)); } -void PythonQtWrapper_QAbstractSocket::setProtocolTag(QAbstractSocket* theWrappedObject, const QString& tag) +void PythonQtWrapper_QNetworkReply::setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation) { - ( theWrappedObject->setProtocolTag(tag)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setOperation(operation)); } -void PythonQtWrapper_QAbstractSocket::setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy) +void PythonQtWrapper_QNetworkReply::setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value) { - ( theWrappedObject->setProxy(networkProxy)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRawHeader(headerName, value)); } -void PythonQtWrapper_QAbstractSocket::setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size) +void PythonQtWrapper_QNetworkReply::setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size) { ( theWrappedObject->setReadBufferSize(size)); } -bool PythonQtWrapper_QAbstractSocket::setSocketDescriptor(QAbstractSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state, QIODevice::OpenMode openMode) -{ - return ( theWrappedObject->setSocketDescriptor(socketDescriptor, state, openMode)); -} - -void PythonQtWrapper_QAbstractSocket::setSocketError(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketError socketError) -{ - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketError(socketError)); -} - -void PythonQtWrapper_QAbstractSocket::setSocketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value) -{ - ( theWrappedObject->setSocketOption(option, value)); -} - -void PythonQtWrapper_QAbstractSocket::setSocketState(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketState state) -{ - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketState(state)); -} - -qintptr PythonQtWrapper_QAbstractSocket::socketDescriptor(QAbstractSocket* theWrappedObject) const +void PythonQtWrapper_QNetworkReply::setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request) { - return ( theWrappedObject->socketDescriptor()); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRequest(request)); } -QVariant PythonQtWrapper_QAbstractSocket::socketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option) +void PythonQtWrapper_QNetworkReply::setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1) { - return ( theWrappedObject->socketOption(option)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setSslConfigurationImplementation(arg__1)); } -QAbstractSocket::SocketType PythonQtWrapper_QAbstractSocket::socketType(QAbstractSocket* theWrappedObject) const +void PythonQtWrapper_QNetworkReply::setUrl(QNetworkReply* theWrappedObject, const QUrl& url) { - return ( theWrappedObject->socketType()); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setUrl(url)); } -QAbstractSocket::SocketState PythonQtWrapper_QAbstractSocket::state(QAbstractSocket* theWrappedObject) const +void PythonQtWrapper_QNetworkReply::sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const { - return ( theWrappedObject->state()); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_sslConfigurationImplementation(arg__1)); } -bool PythonQtWrapper_QAbstractSocket::waitForConnected(QAbstractSocket* theWrappedObject, int msecs) +QUrl PythonQtWrapper_QNetworkReply::url(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->waitForConnected(msecs)); + return ( theWrappedObject->url()); } -bool PythonQtWrapper_QAbstractSocket::waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForDisconnected(msecs)); -} +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest() +{ +return new QNetworkRequest(); } -QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator() +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QNetworkRequest& other) { -return new QAuthenticator(); } +return new QNetworkRequest(other); } -QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator(const QAuthenticator& other) +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QUrl& url) { -return new QAuthenticator(other); } +return new QNetworkRequest(url); } -bool PythonQtWrapper_QAuthenticator::isNull(QAuthenticator* theWrappedObject) const +QVariant PythonQtWrapper_QNetworkRequest::attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue) const { - return ( theWrappedObject->isNull()); + return ( theWrappedObject->attribute(code, defaultValue)); } -bool PythonQtWrapper_QAuthenticator::__ne__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const +bool PythonQtWrapper_QNetworkRequest::hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->hasRawHeader(headerName)); } -bool PythonQtWrapper_QAuthenticator::__eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const +QVariant PythonQtWrapper_QNetworkRequest::header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const { - return ( (*theWrappedObject)== other); + return ( theWrappedObject->header(header)); } -QVariant PythonQtWrapper_QAuthenticator::option(QAuthenticator* theWrappedObject, const QString& opt) const +int PythonQtWrapper_QNetworkRequest::maximumRedirectsAllowed(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->option(opt)); + return ( theWrappedObject->maximumRedirectsAllowed()); } -QHash PythonQtWrapper_QAuthenticator::options(QAuthenticator* theWrappedObject) const +bool PythonQtWrapper_QNetworkRequest::__ne__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const { - return ( theWrappedObject->options()); + return ( (*theWrappedObject)!= other); } -QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const +bool PythonQtWrapper_QNetworkRequest::__eq__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const { - return ( theWrappedObject->password()); + return ( (*theWrappedObject)== other); } -QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const +QObject* PythonQtWrapper_QNetworkRequest::originatingObject(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->realm()); + return ( theWrappedObject->originatingObject()); } -void PythonQtWrapper_QAuthenticator::setOption(QAuthenticator* theWrappedObject, const QString& opt, const QVariant& value) +QString PythonQtWrapper_QNetworkRequest::peerVerifyName(QNetworkRequest* theWrappedObject) const { - ( theWrappedObject->setOption(opt, value)); + return ( theWrappedObject->peerVerifyName()); } -void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password) +QNetworkRequest::Priority PythonQtWrapper_QNetworkRequest::priority(QNetworkRequest* theWrappedObject) const { - ( theWrappedObject->setPassword(password)); + return ( theWrappedObject->priority()); } -void PythonQtWrapper_QAuthenticator::setRealm(QAuthenticator* theWrappedObject, const QString& realm) +QByteArray PythonQtWrapper_QNetworkRequest::rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const { - ( theWrappedObject->setRealm(realm)); + return ( theWrappedObject->rawHeader(headerName)); } -void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user) +QList PythonQtWrapper_QNetworkRequest::rawHeaderList(QNetworkRequest* theWrappedObject) const { - ( theWrappedObject->setUser(user)); + return ( theWrappedObject->rawHeaderList()); } -QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) { - return ( theWrappedObject->user()); -} - - - -PythonQtShell_QDnsLookup::~PythonQtShell_QDnsLookup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + ( theWrappedObject->setAttribute(code, value)); } -QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent) -{ -return new PythonQtShell_QDnsLookup(type, name, parent); } - -QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent) -{ -return new PythonQtShell_QDnsLookup(type, name, nameserver, parent); } -QDnsLookup* PythonQtWrapper_QDnsLookup::new_QDnsLookup(QObject* parent) -{ -return new PythonQtShell_QDnsLookup(parent); } - -const QMetaObject* PythonQtShell_QDnsLookup::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDnsLookup::staticMetaObject); - } else { - return &QDnsLookup::staticMetaObject; - } -} -int PythonQtShell_QDnsLookup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QDnsLookup::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QList PythonQtWrapper_QDnsLookup::canonicalNameRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) { - return ( theWrappedObject->canonicalNameRecords()); + ( theWrappedObject->setHeader(header, value)); } -QDnsLookup::Error PythonQtWrapper_QDnsLookup::error(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setMaximumRedirectsAllowed(QNetworkRequest* theWrappedObject, int maximumRedirectsAllowed) { - return ( theWrappedObject->error()); + ( theWrappedObject->setMaximumRedirectsAllowed(maximumRedirectsAllowed)); } -QString PythonQtWrapper_QDnsLookup::errorString(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object) { - return ( theWrappedObject->errorString()); + ( theWrappedObject->setOriginatingObject(object)); } -QList PythonQtWrapper_QDnsLookup::hostAddressRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setPeerVerifyName(QNetworkRequest* theWrappedObject, const QString& peerName) { - return ( theWrappedObject->hostAddressRecords()); + ( theWrappedObject->setPeerVerifyName(peerName)); } -bool PythonQtWrapper_QDnsLookup::isFinished(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setPriority(QNetworkRequest* theWrappedObject, QNetworkRequest::Priority priority) { - return ( theWrappedObject->isFinished()); + ( theWrappedObject->setPriority(priority)); } -QList PythonQtWrapper_QDnsLookup::mailExchangeRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value) { - return ( theWrappedObject->mailExchangeRecords()); + ( theWrappedObject->setRawHeader(headerName, value)); } -QString PythonQtWrapper_QDnsLookup::name(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setTransferTimeout(QNetworkRequest* theWrappedObject, int timeout) { - return ( theWrappedObject->name()); + ( theWrappedObject->setTransferTimeout(timeout)); } -QList PythonQtWrapper_QDnsLookup::nameServerRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setUrl(QNetworkRequest* theWrappedObject, const QUrl& url) { - return ( theWrappedObject->nameServerRecords()); + ( theWrappedObject->setUrl(url)); } -QHostAddress PythonQtWrapper_QDnsLookup::nameserver(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::swap(QNetworkRequest* theWrappedObject, QNetworkRequest& other) { - return ( theWrappedObject->nameserver()); + ( theWrappedObject->swap(other)); } -QList PythonQtWrapper_QDnsLookup::pointerRecords(QDnsLookup* theWrappedObject) const +int PythonQtWrapper_QNetworkRequest::transferTimeout(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->pointerRecords()); + return ( theWrappedObject->transferTimeout()); } -QList PythonQtWrapper_QDnsLookup::serviceRecords(QDnsLookup* theWrappedObject) const +QUrl PythonQtWrapper_QNetworkRequest::url(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->serviceRecords()); + return ( theWrappedObject->url()); } -void PythonQtWrapper_QDnsLookup::setName(QDnsLookup* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); -} -void PythonQtWrapper_QDnsLookup::setNameserver(QDnsLookup* theWrappedObject, const QHostAddress& nameserver) -{ - ( theWrappedObject->setNameserver(nameserver)); -} - -void PythonQtWrapper_QDnsLookup::setType(QDnsLookup* theWrappedObject, QDnsLookup::Type arg__1) -{ - ( theWrappedObject->setType(arg__1)); -} -QList PythonQtWrapper_QDnsLookup::textRecords(QDnsLookup* theWrappedObject) const -{ - return ( theWrappedObject->textRecords()); +PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QDnsLookup::Type PythonQtWrapper_QDnsLookup::type(QDnsLookup* theWrappedObject) const +void PythonQtShell_QNetworkSession::childEvent(QChildEvent* event0) { - return ( theWrappedObject->type()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(const QHostInfo& d) -{ -return new QHostInfo(d); } - -QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(int lookupId) -{ -return new QHostInfo(lookupId); } - - - -QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy() -{ -return new QHstsPolicy(); } - -QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy(const QHstsPolicy& rhs) -{ -return new QHstsPolicy(rhs); } - -QHstsPolicy* PythonQtWrapper_QHstsPolicy::operator_assign(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) -{ - return &( (*theWrappedObject)= rhs); + QNetworkSession::childEvent(event0); } - -bool PythonQtWrapper_QHstsPolicy::__eq__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) { - return ( (*theWrappedObject)== rhs); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("connectNotify"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMetaMethod&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&signal0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -void PythonQtWrapper_QHttpMultiPart::append(QHttpMultiPart* theWrappedObject, const QHttpPart& httpPart) -{ - ( theWrappedObject->append(httpPart)); + QNetworkSession::connectNotify(signal0); } - -QByteArray PythonQtWrapper_QHttpMultiPart::boundary(QHttpMultiPart* theWrappedObject) const +void PythonQtShell_QNetworkSession::customEvent(QEvent* event0) { - return ( theWrappedObject->boundary()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHttpMultiPart::setBoundary(QHttpMultiPart* theWrappedObject, const QByteArray& boundary) -{ - ( theWrappedObject->setBoundary(boundary)); + QNetworkSession::customEvent(event0); } - -void PythonQtWrapper_QHttpMultiPart::setContentType(QHttpMultiPart* theWrappedObject, QHttpMultiPart::ContentType contentType) +void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0) { - ( theWrappedObject->setContentType(contentType)); -} - - - -PythonQtShell_QIPv6Address::~PythonQtShell_QIPv6Address() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("disconnectNotify"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMetaMethod&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&signal0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } -QIPv6Address* PythonQtWrapper_QIPv6Address::new_QIPv6Address() -{ -return new PythonQtShell_QIPv6Address(); } - - - -PythonQtShell_QLocalServer::~PythonQtShell_QLocalServer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QNetworkSession::disconnectNotify(signal0); } -bool PythonQtShell_QLocalServer::hasPendingConnections() const +bool PythonQtShell_QNetworkSession::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasPendingConnections"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1625,2669 +1219,1024 @@ if (_wrapper) { } } } - return QLocalServer::hasPendingConnections(); + return QNetworkSession::event(event0); } -void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) +bool PythonQtShell_QNetworkSession::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("incomingConnection"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "quintptr"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&socketDescriptor0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLocalServer::incomingConnection(socketDescriptor0); + return QNetworkSession::eventFilter(watched0, event1); } -QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() +void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextPendingConnection"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLocalSocket*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLocalSocket* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLocalServer::nextPendingConnection(); + QNetworkSession::timerEvent(event0); } -QLocalServer* PythonQtWrapper_QLocalServer::new_QLocalServer(QObject* parent) +QNetworkSession* PythonQtWrapper_QNetworkSession::new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent) { -return new PythonQtShell_QLocalServer(parent); } +return new PythonQtShell_QNetworkSession(connConfig, parent); } -const QMetaObject* PythonQtShell_QLocalServer::metaObject() const { +const QMetaObject* PythonQtShell_QNetworkSession::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLocalServer::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkSession::staticMetaObject); } else { - return &QLocalServer::staticMetaObject; + return &QNetworkSession::staticMetaObject; } } -int PythonQtShell_QLocalServer::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QLocalServer::qt_metacall(call, id, args); +int PythonQtShell_QNetworkSession::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QNetworkSession::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QLocalServer::close(QLocalServer* theWrappedObject) +quint64 PythonQtWrapper_QNetworkSession::activeTime(QNetworkSession* theWrappedObject) const { - ( theWrappedObject->close()); + return ( theWrappedObject->activeTime()); } -QString PythonQtWrapper_QLocalServer::errorString(QLocalServer* theWrappedObject) const +quint64 PythonQtWrapper_QNetworkSession::bytesReceived(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->bytesReceived()); } -QString PythonQtWrapper_QLocalServer::fullServerName(QLocalServer* theWrappedObject) const +quint64 PythonQtWrapper_QNetworkSession::bytesWritten(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->fullServerName()); + return ( theWrappedObject->bytesWritten()); } -bool PythonQtWrapper_QLocalServer::hasPendingConnections(QLocalServer* theWrappedObject) const +QNetworkConfiguration PythonQtWrapper_QNetworkSession::configuration(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->hasPendingConnections()); + return ( theWrappedObject->configuration()); } -void PythonQtWrapper_QLocalServer::incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor) +void PythonQtWrapper_QNetworkSession::connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) { - ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_incomingConnection(socketDescriptor)); + ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_connectNotify(signal)); } -bool PythonQtWrapper_QLocalServer::isListening(QLocalServer* theWrappedObject) const +void PythonQtWrapper_QNetworkSession::disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) { - return ( theWrappedObject->isListening()); + ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_disconnectNotify(signal)); } -bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, const QString& name) +QNetworkSession::SessionError PythonQtWrapper_QNetworkSession::error(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->listen(name)); + return ( theWrappedObject->error()); } -bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, qintptr socketDescriptor) +QString PythonQtWrapper_QNetworkSession::errorString(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->listen(socketDescriptor)); + return ( theWrappedObject->errorString()); } -int PythonQtWrapper_QLocalServer::maxPendingConnections(QLocalServer* theWrappedObject) const +QNetworkInterface PythonQtWrapper_QNetworkSession::interface(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->maxPendingConnections()); + return ( theWrappedObject->interface()); } -QLocalSocket* PythonQtWrapper_QLocalServer::nextPendingConnection(QLocalServer* theWrappedObject) +bool PythonQtWrapper_QNetworkSession::isOpen(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->nextPendingConnection()); + return ( theWrappedObject->isOpen()); } -bool PythonQtWrapper_QLocalServer::static_QLocalServer_removeServer(const QString& name) +QVariant PythonQtWrapper_QNetworkSession::sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const { - return (QLocalServer::removeServer(name)); + return ( theWrappedObject->sessionProperty(key)); } -QAbstractSocket::SocketError PythonQtWrapper_QLocalServer::serverError(QLocalServer* theWrappedObject) const +void PythonQtWrapper_QNetworkSession::setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value) { - return ( theWrappedObject->serverError()); + ( theWrappedObject->setSessionProperty(key, value)); } -QString PythonQtWrapper_QLocalServer::serverName(QLocalServer* theWrappedObject) const +QNetworkSession::State PythonQtWrapper_QNetworkSession::state(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->serverName()); + return ( theWrappedObject->state()); } -void PythonQtWrapper_QLocalServer::setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections) +QNetworkSession::UsagePolicies PythonQtWrapper_QNetworkSession::usagePolicies(QNetworkSession* theWrappedObject) const { - ( theWrappedObject->setMaxPendingConnections(numConnections)); + return ( theWrappedObject->usagePolicies()); } -void PythonQtWrapper_QLocalServer::setSocketOptions(QLocalServer* theWrappedObject, QLocalServer::SocketOptions options) +bool PythonQtWrapper_QNetworkSession::waitForOpened(QNetworkSession* theWrappedObject, int msecs) { - ( theWrappedObject->setSocketOptions(options)); + return ( theWrappedObject->waitForOpened(msecs)); } -qintptr PythonQtWrapper_QLocalServer::socketDescriptor(QLocalServer* theWrappedObject) const + + +#ifndef QT_NO_SSL +#endif + + +#ifndef QT_NO_SSL +QSslCertificate* PythonQtWrapper_QSslCertificate::new_QSslCertificate(QIODevice* device, QSsl::EncodingFormat format) +{ +return new QSslCertificate(device, format); } + +QSslCertificate* PythonQtWrapper_QSslCertificate::new_QSslCertificate(const QByteArray& data, QSsl::EncodingFormat format) +{ +return new QSslCertificate(data, format); } + +QSslCertificate* PythonQtWrapper_QSslCertificate::new_QSslCertificate(const QSslCertificate& other) +{ +return new QSslCertificate(other); } + +void PythonQtWrapper_QSslCertificate::clear(QSslCertificate* theWrappedObject) { - return ( theWrappedObject->socketDescriptor()); + ( theWrappedObject->clear()); } -QLocalServer::SocketOptions PythonQtWrapper_QLocalServer::socketOptions(QLocalServer* theWrappedObject) const +QByteArray PythonQtWrapper_QSslCertificate::digest(QSslCertificate* theWrappedObject, QCryptographicHash::Algorithm algorithm) const { - return ( theWrappedObject->socketOptions()); + return ( theWrappedObject->digest(algorithm)); } -bool PythonQtWrapper_QLocalServer::waitForNewConnection(QLocalServer* theWrappedObject, int msec, bool* timedOut) +QDateTime PythonQtWrapper_QSslCertificate::effectiveDate(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->waitForNewConnection(msec, timedOut)); + return ( theWrappedObject->effectiveDate()); } - - -PythonQtShell_QLocalSocket::~PythonQtShell_QLocalSocket() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QDateTime PythonQtWrapper_QSslCertificate::expiryDate(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->expiryDate()); } -bool PythonQtShell_QLocalSocket::atEnd() const + +QList PythonQtWrapper_QSslCertificate::extensions(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->extensions()); } - return QLocalSocket::atEnd(); + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromData(const QByteArray& data, QSsl::EncodingFormat format) +{ + return (QSslCertificate::fromData(data, format)); } -qint64 PythonQtShell_QLocalSocket::bytesAvailable() const + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromDevice(QIODevice* device, QSsl::EncodingFormat format) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return (QSslCertificate::fromDevice(device, format)); } - return QLocalSocket::bytesAvailable(); + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax) +{ + return (QSslCertificate::fromPath(path, format, syntax)); } -qint64 PythonQtShell_QLocalSocket::bytesToWrite() const + +Qt::HANDLE PythonQtWrapper_QSslCertificate::handle(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->handle()); } - return QLocalSocket::bytesToWrite(); + +bool PythonQtWrapper_QSslCertificate::static_QSslCertificate_importPkcs12(QIODevice* device, QSslKey* key, QSslCertificate* cert, QList* caCertificates, const QByteArray& passPhrase) +{ + return (QSslCertificate::importPkcs12(device, key, cert, caCertificates, passPhrase)); } -bool PythonQtShell_QLocalSocket::canReadLine() const + +bool PythonQtWrapper_QSslCertificate::isBlacklisted(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isBlacklisted()); } - return QLocalSocket::canReadLine(); + +bool PythonQtWrapper_QSslCertificate::isNull(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); } -void PythonQtShell_QLocalSocket::close() + +bool PythonQtWrapper_QSslCertificate::isSelfSigned(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isSelfSigned()); } - QLocalSocket::close(); + +QString PythonQtWrapper_QSslCertificate::issuerDisplayName(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->issuerDisplayName()); } -bool PythonQtShell_QLocalSocket::isSequential() const + +QStringList PythonQtWrapper_QSslCertificate::issuerInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->issuerInfo(info)); } - return QLocalSocket::isSequential(); + +QStringList PythonQtWrapper_QSslCertificate::issuerInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const +{ + return ( theWrappedObject->issuerInfo(attribute)); } -bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) + +QList PythonQtWrapper_QSslCertificate::issuerInfoAttributes(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&openMode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->issuerInfoAttributes()); } - return QLocalSocket::open(openMode0); + +bool PythonQtWrapper_QSslCertificate::__ne__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const +{ + return ( (*theWrappedObject)!= other); } -qint64 PythonQtShell_QLocalSocket::pos() const + +QSslCertificate* PythonQtWrapper_QSslCertificate::operator_assign(QSslCertificate* theWrappedObject, const QSslCertificate& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)= other); } - return QLocalSocket::pos(); + +bool PythonQtWrapper_QSslCertificate::__eq__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const +{ + return ( (*theWrappedObject)== other); } -qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) + +QSslKey PythonQtWrapper_QSslCertificate::publicKey(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->publicKey()); } - return QLocalSocket::readData(arg__1, arg__2); + +QByteArray PythonQtWrapper_QSslCertificate::serialNumber(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->serialNumber()); } -qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) + +QMultiMap PythonQtWrapper_QSslCertificate::subjectAlternativeNames(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->subjectAlternativeNames()); } - return QLocalSocket::readLineData(data0, maxlen1); + +QString PythonQtWrapper_QSslCertificate::subjectDisplayName(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->subjectDisplayName()); } -bool PythonQtShell_QLocalSocket::reset() + +QStringList PythonQtWrapper_QSslCertificate::subjectInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->subjectInfo(info)); } - return QLocalSocket::reset(); + +QStringList PythonQtWrapper_QSslCertificate::subjectInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const +{ + return ( theWrappedObject->subjectInfo(attribute)); } -bool PythonQtShell_QLocalSocket::seek(qint64 pos0) + +QList PythonQtWrapper_QSslCertificate::subjectInfoAttributes(QSslCertificate* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLocalSocket::seek(pos0); -} -qint64 PythonQtShell_QLocalSocket::size() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLocalSocket::size(); -} -bool PythonQtShell_QLocalSocket::waitForBytesWritten(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLocalSocket::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QLocalSocket::waitForReadyRead(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLocalSocket::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QLocalSocket::writeData(const char* arg__1, qint64 arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QLocalSocket::writeData(arg__1, arg__2); -} -QLocalSocket* PythonQtWrapper_QLocalSocket::new_QLocalSocket(QObject* parent) -{ -return new PythonQtShell_QLocalSocket(parent); } - -const QMetaObject* PythonQtShell_QLocalSocket::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLocalSocket::staticMetaObject); - } else { - return &QLocalSocket::staticMetaObject; - } -} -int PythonQtShell_QLocalSocket::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QLocalSocket::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QLocalSocket::abort(QLocalSocket* theWrappedObject) -{ - ( theWrappedObject->abort()); -} - -void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, QIODevice::OpenMode openMode) -{ - ( theWrappedObject->connectToServer(openMode)); -} - -void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode) -{ - ( theWrappedObject->connectToServer(name, openMode)); -} - -void PythonQtWrapper_QLocalSocket::disconnectFromServer(QLocalSocket* theWrappedObject) -{ - ( theWrappedObject->disconnectFromServer()); -} - -QLocalSocket::LocalSocketError PythonQtWrapper_QLocalSocket::error(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -bool PythonQtWrapper_QLocalSocket::flush(QLocalSocket* theWrappedObject) -{ - return ( theWrappedObject->flush()); + return ( theWrappedObject->subjectInfoAttributes()); } -QString PythonQtWrapper_QLocalSocket::fullServerName(QLocalSocket* theWrappedObject) const +void PythonQtWrapper_QSslCertificate::swap(QSslCertificate* theWrappedObject, QSslCertificate& other) { - return ( theWrappedObject->fullServerName()); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QLocalSocket::isValid(QLocalSocket* theWrappedObject) const +QByteArray PythonQtWrapper_QSslCertificate::toDer(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->isValid()); -} - -qint64 PythonQtWrapper_QLocalSocket::readBufferSize(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->readBufferSize()); -} - -QString PythonQtWrapper_QLocalSocket::serverName(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->serverName()); + return ( theWrappedObject->toDer()); } -void PythonQtWrapper_QLocalSocket::setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size) +QByteArray PythonQtWrapper_QSslCertificate::toPem(QSslCertificate* theWrappedObject) const { - ( theWrappedObject->setReadBufferSize(size)); -} - -void PythonQtWrapper_QLocalSocket::setServerName(QLocalSocket* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setServerName(name)); + return ( theWrappedObject->toPem()); } -bool PythonQtWrapper_QLocalSocket::setSocketDescriptor(QLocalSocket* theWrappedObject, qintptr socketDescriptor, QLocalSocket::LocalSocketState socketState, QIODevice::OpenMode openMode) +QString PythonQtWrapper_QSslCertificate::toText(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->setSocketDescriptor(socketDescriptor, socketState, openMode)); -} - -qintptr PythonQtWrapper_QLocalSocket::socketDescriptor(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->socketDescriptor()); + return ( theWrappedObject->toText()); } -QLocalSocket::LocalSocketState PythonQtWrapper_QLocalSocket::state(QLocalSocket* theWrappedObject) const +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_verify(QList certificateChain, const QString& hostName) { - return ( theWrappedObject->state()); + return (QSslCertificate::verify(certificateChain, hostName)); } -bool PythonQtWrapper_QLocalSocket::waitForConnected(QLocalSocket* theWrappedObject, int msecs) +QByteArray PythonQtWrapper_QSslCertificate::version(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->waitForConnected(msecs)); + return ( theWrappedObject->version()); } -bool PythonQtWrapper_QLocalSocket::waitForDisconnected(QLocalSocket* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForDisconnected(msecs)); +QString PythonQtWrapper_QSslCertificate::py_toString(QSslCertificate* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } +#endif -PythonQtShell_QNetworkAccessManager::~PythonQtShell_QNetworkAccessManager() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op0, const QNetworkRequest& request1, QIODevice* outgoingData2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createRequest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&op0, (void*)&request1, (void*)&outgoingData2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkAccessManager::createRequest(op0, request1, outgoingData2); -} -QNetworkAccessManager* PythonQtWrapper_QNetworkAccessManager::new_QNetworkAccessManager(QObject* parent) +#ifndef QT_NO_SSL +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::new_QSslCertificateExtension() { -return new PythonQtShell_QNetworkAccessManager(parent); } - -const QMetaObject* PythonQtShell_QNetworkAccessManager::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkAccessManager::staticMetaObject); - } else { - return &QNetworkAccessManager::staticMetaObject; - } -} -int PythonQtShell_QNetworkAccessManager::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QNetworkAccessManager::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QNetworkConfiguration PythonQtWrapper_QNetworkAccessManager::activeConfiguration(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->activeConfiguration()); -} - -void PythonQtWrapper_QNetworkAccessManager::addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts) -{ - ( theWrappedObject->addStrictTransportSecurityHosts(knownHosts)); -} - -bool PythonQtWrapper_QNetworkAccessManager::autoDeleteReplies(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->autoDeleteReplies()); -} - -QAbstractNetworkCache* PythonQtWrapper_QNetworkAccessManager::cache(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->cache()); -} - -void PythonQtWrapper_QNetworkAccessManager::clearAccessCache(QNetworkAccessManager* theWrappedObject) -{ - ( theWrappedObject->clearAccessCache()); -} +return new QSslCertificateExtension(); } -void PythonQtWrapper_QNetworkAccessManager::clearConnectionCache(QNetworkAccessManager* theWrappedObject) -{ - ( theWrappedObject->clearConnectionCache()); -} - -QNetworkConfiguration PythonQtWrapper_QNetworkAccessManager::configuration(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->configuration()); -} - -void PythonQtWrapper_QNetworkAccessManager::connectToHost(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port) -{ - ( theWrappedObject->connectToHost(hostName, port)); -} +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::new_QSslCertificateExtension(const QSslCertificateExtension& other) +{ +return new QSslCertificateExtension(other); } -void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration) +bool PythonQtWrapper_QSslCertificateExtension::isCritical(QSslCertificateExtension* theWrappedObject) const { - ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration)); + return ( theWrappedObject->isCritical()); } -void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration, const QString& peerName) +bool PythonQtWrapper_QSslCertificateExtension::isSupported(QSslCertificateExtension* theWrappedObject) const { - ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration, peerName)); + return ( theWrappedObject->isSupported()); } -QNetworkCookieJar* PythonQtWrapper_QNetworkAccessManager::cookieJar(QNetworkAccessManager* theWrappedObject) const +QString PythonQtWrapper_QSslCertificateExtension::name(QSslCertificateExtension* theWrappedObject) const { - return ( theWrappedObject->cookieJar()); + return ( theWrappedObject->name()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData) +QString PythonQtWrapper_QSslCertificateExtension::oid(QSslCertificateExtension* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QNetworkAccessManager*)theWrappedObject)->promoted_createRequest(op, request, outgoingData)); + return ( theWrappedObject->oid()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::deleteResource(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::operator_assign(QSslCertificateExtension* theWrappedObject, const QSslCertificateExtension& other) { - return ( theWrappedObject->deleteResource(request)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QNetworkAccessManager::enableStrictTransportSecurityStore(QNetworkAccessManager* theWrappedObject, bool enabled, const QString& storeDir) +void PythonQtWrapper_QSslCertificateExtension::swap(QSslCertificateExtension* theWrappedObject, QSslCertificateExtension& other) { - ( theWrappedObject->enableStrictTransportSecurityStore(enabled, storeDir)); + ( theWrappedObject->swap(other)); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +QVariant PythonQtWrapper_QSslCertificateExtension::value(QSslCertificateExtension* theWrappedObject) const { - return ( theWrappedObject->get(request)); + return ( theWrappedObject->value()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) -{ - return ( theWrappedObject->head(request)); -} +#endif -bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->isStrictTransportSecurityEnabled()); -} -bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityStoreEnabled(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->isStrictTransportSecurityStoreEnabled()); -} +#ifndef QT_NO_SSL +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher() +{ +return new QSslCipher(); } -QNetworkAccessManager::NetworkAccessibility PythonQtWrapper_QNetworkAccessManager::networkAccessible(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->networkAccessible()); -} +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QSslCipher& other) +{ +return new QSslCipher(other); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) -{ - return ( theWrappedObject->post(request, multiPart)); -} +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QString& name) +{ +return new QSslCipher(name); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) -{ - return ( theWrappedObject->post(request, data)); -} +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QString& name, QSsl::SslProtocol protocol) +{ +return new QSslCipher(name, protocol); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +QString PythonQtWrapper_QSslCipher::authenticationMethod(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->post(request, data)); + return ( theWrappedObject->authenticationMethod()); } -QNetworkProxy PythonQtWrapper_QNetworkAccessManager::proxy(QNetworkAccessManager* theWrappedObject) const +QString PythonQtWrapper_QSslCipher::encryptionMethod(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->proxy()); + return ( theWrappedObject->encryptionMethod()); } -QNetworkProxyFactory* PythonQtWrapper_QNetworkAccessManager::proxyFactory(QNetworkAccessManager* theWrappedObject) const +bool PythonQtWrapper_QSslCipher::isNull(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->proxyFactory()); + return ( theWrappedObject->isNull()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) +QString PythonQtWrapper_QSslCipher::keyExchangeMethod(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->put(request, multiPart)); + return ( theWrappedObject->keyExchangeMethod()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) +QString PythonQtWrapper_QSslCipher::name(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->put(request, data)); + return ( theWrappedObject->name()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +bool PythonQtWrapper_QSslCipher::__ne__(QSslCipher* theWrappedObject, const QSslCipher& other) const { - return ( theWrappedObject->put(request, data)); + return ( (*theWrappedObject)!= other); } -QNetworkRequest::RedirectPolicy PythonQtWrapper_QNetworkAccessManager::redirectPolicy(QNetworkAccessManager* theWrappedObject) const +QSslCipher* PythonQtWrapper_QSslCipher::operator_assign(QSslCipher* theWrappedObject, const QSslCipher& other) { - return ( theWrappedObject->redirectPolicy()); + return &( (*theWrappedObject)= other); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QHttpMultiPart* multiPart) +bool PythonQtWrapper_QSslCipher::__eq__(QSslCipher* theWrappedObject, const QSslCipher& other) const { - return ( theWrappedObject->sendCustomRequest(request, verb, multiPart)); + return ( (*theWrappedObject)== other); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QIODevice* data) +QSsl::SslProtocol PythonQtWrapper_QSslCipher::protocol(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->sendCustomRequest(request, verb, data)); + return ( theWrappedObject->protocol()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, const QByteArray& data) +QString PythonQtWrapper_QSslCipher::protocolString(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->sendCustomRequest(request, verb, data)); + return ( theWrappedObject->protocolString()); } -void PythonQtWrapper_QNetworkAccessManager::setAutoDeleteReplies(QNetworkAccessManager* theWrappedObject, bool autoDelete) +int PythonQtWrapper_QSslCipher::supportedBits(QSslCipher* theWrappedObject) const { - ( theWrappedObject->setAutoDeleteReplies(autoDelete)); + return ( theWrappedObject->supportedBits()); } -void PythonQtWrapper_QNetworkAccessManager::setCache(QNetworkAccessManager* theWrappedObject, QAbstractNetworkCache* cache) +void PythonQtWrapper_QSslCipher::swap(QSslCipher* theWrappedObject, QSslCipher& other) { - ( theWrappedObject->setCache(cache)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QNetworkAccessManager::setConfiguration(QNetworkAccessManager* theWrappedObject, const QNetworkConfiguration& config) +int PythonQtWrapper_QSslCipher::usedBits(QSslCipher* theWrappedObject) const { - ( theWrappedObject->setConfiguration(config)); + return ( theWrappedObject->usedBits()); } -void PythonQtWrapper_QNetworkAccessManager::setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar) -{ - ( theWrappedObject->setCookieJar(cookieJar)); +QString PythonQtWrapper_QSslCipher::py_toString(QSslCipher* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } - -void PythonQtWrapper_QNetworkAccessManager::setNetworkAccessible(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::NetworkAccessibility accessible) -{ - ( theWrappedObject->setNetworkAccessible(accessible)); -} - -void PythonQtWrapper_QNetworkAccessManager::setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy) -{ - ( theWrappedObject->setProxy(proxy)); -} - -void PythonQtWrapper_QNetworkAccessManager::setProxyFactory(QNetworkAccessManager* theWrappedObject, QNetworkProxyFactory* factory) -{ - ( theWrappedObject->setProxyFactory(factory)); -} - -void PythonQtWrapper_QNetworkAccessManager::setRedirectPolicy(QNetworkAccessManager* theWrappedObject, QNetworkRequest::RedirectPolicy policy) -{ - ( theWrappedObject->setRedirectPolicy(policy)); -} - -void PythonQtWrapper_QNetworkAccessManager::setStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setStrictTransportSecurityEnabled(enabled)); -} - -void PythonQtWrapper_QNetworkAccessManager::setTransferTimeout(QNetworkAccessManager* theWrappedObject, int timeout) -{ - ( theWrappedObject->setTransferTimeout(timeout)); -} - -QVector PythonQtWrapper_QNetworkAccessManager::strictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->strictTransportSecurityHosts()); -} - -QStringList PythonQtWrapper_QNetworkAccessManager::supportedSchemes(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->supportedSchemes()); -} - -int PythonQtWrapper_QNetworkAccessManager::transferTimeout(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->transferTimeout()); -} - - - -PythonQtShell_QNetworkConfigurationManager::~PythonQtShell_QNetworkConfigurationManager() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QNetworkConfigurationManager* PythonQtWrapper_QNetworkConfigurationManager::new_QNetworkConfigurationManager(QObject* parent) -{ -return new PythonQtShell_QNetworkConfigurationManager(parent); } - -const QMetaObject* PythonQtShell_QNetworkConfigurationManager::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkConfigurationManager::staticMetaObject); - } else { - return &QNetworkConfigurationManager::staticMetaObject; - } -} -int PythonQtShell_QNetworkConfigurationManager::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QNetworkConfigurationManager::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QList PythonQtWrapper_QNetworkConfigurationManager::allConfigurations(QNetworkConfigurationManager* theWrappedObject, QNetworkConfiguration::StateFlags flags) const -{ - return ( theWrappedObject->allConfigurations(flags)); -} - -QNetworkConfigurationManager::Capabilities PythonQtWrapper_QNetworkConfigurationManager::capabilities(QNetworkConfigurationManager* theWrappedObject) const -{ - return ( theWrappedObject->capabilities()); -} - -QNetworkConfiguration PythonQtWrapper_QNetworkConfigurationManager::configurationFromIdentifier(QNetworkConfigurationManager* theWrappedObject, const QString& identifier) const -{ - return ( theWrappedObject->configurationFromIdentifier(identifier)); -} - -QNetworkConfiguration PythonQtWrapper_QNetworkConfigurationManager::defaultConfiguration(QNetworkConfigurationManager* theWrappedObject) const -{ - return ( theWrappedObject->defaultConfiguration()); -} - -bool PythonQtWrapper_QNetworkConfigurationManager::isOnline(QNetworkConfigurationManager* theWrappedObject) const -{ - return ( theWrappedObject->isOnline()); -} - - - -PythonQtShell_QNetworkCookieJar::~PythonQtShell_QNetworkCookieJar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QList PythonQtShell_QNetworkCookieJar::cookiesForUrl(const QUrl& url0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("cookiesForUrl"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QList returnValue{}; - void* args[2] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkCookieJar::cookiesForUrl(url0); -} -bool PythonQtShell_QNetworkCookieJar::deleteCookie(const QNetworkCookie& cookie0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("deleteCookie"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&cookie0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("deleteCookie", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkCookieJar::deleteCookie(cookie0); -} -bool PythonQtShell_QNetworkCookieJar::insertCookie(const QNetworkCookie& cookie0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertCookie"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&cookie0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertCookie", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkCookieJar::insertCookie(cookie0); -} -bool PythonQtShell_QNetworkCookieJar::setCookiesFromUrl(const QList& cookieList0, const QUrl& url1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setCookiesFromUrl"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&cookieList0, (void*)&url1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkCookieJar::setCookiesFromUrl(cookieList0, url1); -} -bool PythonQtShell_QNetworkCookieJar::updateCookie(const QNetworkCookie& cookie0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCookie"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QNetworkCookie&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&cookie0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("updateCookie", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkCookieJar::updateCookie(cookie0); -} -bool PythonQtShell_QNetworkCookieJar::validateCookie(const QNetworkCookie& cookie0, const QUrl& url1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validateCookie"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QNetworkCookie&" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&cookie0, (void*)&url1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validateCookie", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkCookieJar::validateCookie(cookie0, url1); -} -QNetworkCookieJar* PythonQtWrapper_QNetworkCookieJar::new_QNetworkCookieJar(QObject* parent) -{ -return new PythonQtShell_QNetworkCookieJar(parent); } - -const QMetaObject* PythonQtShell_QNetworkCookieJar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkCookieJar::staticMetaObject); - } else { - return &QNetworkCookieJar::staticMetaObject; - } -} -int PythonQtShell_QNetworkCookieJar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QNetworkCookieJar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QList PythonQtWrapper_QNetworkCookieJar::allCookies(QNetworkCookieJar* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_allCookies()); -} - -QList PythonQtWrapper_QNetworkCookieJar::cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const -{ - return ( theWrappedObject->cookiesForUrl(url)); -} - -bool PythonQtWrapper_QNetworkCookieJar::deleteCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) -{ - return ( theWrappedObject->deleteCookie(cookie)); -} - -bool PythonQtWrapper_QNetworkCookieJar::insertCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) -{ - return ( theWrappedObject->insertCookie(cookie)); -} - -void PythonQtWrapper_QNetworkCookieJar::setAllCookies(QNetworkCookieJar* theWrappedObject, const QList& cookieList) -{ - ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_setAllCookies(cookieList)); -} - -bool PythonQtWrapper_QNetworkCookieJar::setCookiesFromUrl(QNetworkCookieJar* theWrappedObject, const QList& cookieList, const QUrl& url) -{ - return ( theWrappedObject->setCookiesFromUrl(cookieList, url)); -} - -bool PythonQtWrapper_QNetworkCookieJar::updateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie) -{ - return ( theWrappedObject->updateCookie(cookie)); -} - -bool PythonQtWrapper_QNetworkCookieJar::validateCookie(QNetworkCookieJar* theWrappedObject, const QNetworkCookie& cookie, const QUrl& url) const -{ - return ( ((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->promoted_validateCookie(cookie, url)); -} - - - -PythonQtShell_QNetworkDiskCache::~PythonQtShell_QNetworkDiskCache() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -qint64 PythonQtShell_QNetworkDiskCache::cacheSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("cacheSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("cacheSize", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkDiskCache::cacheSize(); -} -void PythonQtShell_QNetworkDiskCache::clear() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QNetworkDiskCache::clear(); -} -QIODevice* PythonQtShell_QNetworkDiskCache::data(const QUrl& url0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QIODevice*" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue{}; - void* args[2] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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 = *((QIODevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkDiskCache::data(url0); -} -qint64 PythonQtShell_QNetworkDiskCache::expire() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expire"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("expire", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkDiskCache::expire(); -} -void PythonQtShell_QNetworkDiskCache::insert(QIODevice* device0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insert"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QIODevice*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QNetworkDiskCache::insert(device0); -} -QNetworkCacheMetaData PythonQtShell_QNetworkDiskCache::metaData(const QUrl& url0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metaData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QNetworkCacheMetaData" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QNetworkCacheMetaData returnValue{}; - void* args[2] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); - } else { - returnValue = *((QNetworkCacheMetaData*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkDiskCache::metaData(url0); -} -QIODevice* PythonQtShell_QNetworkDiskCache::prepare(const QNetworkCacheMetaData& metaData0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("prepare"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QIODevice*" , "const QNetworkCacheMetaData&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue{}; - void* args[2] = {NULL, (void*)&metaData0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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 = *((QIODevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkDiskCache::prepare(metaData0); -} -bool PythonQtShell_QNetworkDiskCache::remove(const QUrl& url0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("remove"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QNetworkDiskCache::remove(url0); -} -void PythonQtShell_QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData& metaData0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateMetaData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QNetworkCacheMetaData&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&metaData0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QNetworkDiskCache::updateMetaData(metaData0); -} -QNetworkDiskCache* PythonQtWrapper_QNetworkDiskCache::new_QNetworkDiskCache(QObject* parent) -{ -return new PythonQtShell_QNetworkDiskCache(parent); } - -const QMetaObject* PythonQtShell_QNetworkDiskCache::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkDiskCache::staticMetaObject); - } else { - return &QNetworkDiskCache::staticMetaObject; - } -} -int PythonQtShell_QNetworkDiskCache::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QNetworkDiskCache::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QNetworkDiskCache::cacheDirectory(QNetworkDiskCache* theWrappedObject) const -{ - return ( theWrappedObject->cacheDirectory()); -} - -qint64 PythonQtWrapper_QNetworkDiskCache::expire(QNetworkDiskCache* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->promoted_expire()); -} - -QNetworkCacheMetaData PythonQtWrapper_QNetworkDiskCache::fileMetaData(QNetworkDiskCache* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->fileMetaData(fileName)); -} - -qint64 PythonQtWrapper_QNetworkDiskCache::maximumCacheSize(QNetworkDiskCache* theWrappedObject) const -{ - return ( theWrappedObject->maximumCacheSize()); -} - -void PythonQtWrapper_QNetworkDiskCache::setCacheDirectory(QNetworkDiskCache* theWrappedObject, const QString& cacheDir) -{ - ( theWrappedObject->setCacheDirectory(cacheDir)); -} - -void PythonQtWrapper_QNetworkDiskCache::setMaximumCacheSize(QNetworkDiskCache* theWrappedObject, qint64 size) -{ - ( theWrappedObject->setMaximumCacheSize(size)); -} - - - -PythonQtShell_QNetworkReply::~PythonQtShell_QNetworkReply() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QNetworkReply::abort() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("abort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - -} -bool PythonQtShell_QNetworkReply::atEnd() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkReply::atEnd(); -} -qint64 PythonQtShell_QNetworkReply::bytesAvailable() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkReply::bytesAvailable(); -} -qint64 PythonQtShell_QNetworkReply::bytesToWrite() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkReply::bytesToWrite(); -} -bool PythonQtShell_QNetworkReply::canReadLine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkReply::canReadLine(); -} -void PythonQtShell_QNetworkReply::close() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QNetworkReply::close(); -} -void PythonQtShell_QNetworkReply::ignoreSslErrors() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ignoreSslErrors"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QNetworkReply::ignoreSslErrors(); -} -void PythonQtShell_QNetworkReply::ignoreSslErrorsImplementation(const QList& arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ignoreSslErrorsImplementation"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QList&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QNetworkReply::ignoreSslErrorsImplementation(arg__1); -} -bool PythonQtShell_QNetworkReply::isSequential() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkReply::isSequential(); -} -bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QNetworkReply::open(mode0); -} -qint64 PythonQtShell_QNetworkReply::pos() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + +#endif + + +#ifndef QT_NO_SSL +PythonQtShell_QSslConfiguration::~PythonQtShell_QSslConfiguration() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - return QNetworkReply::pos(); +QSslConfiguration* PythonQtWrapper_QSslConfiguration::new_QSslConfiguration() +{ +return new PythonQtShell_QSslConfiguration(); } + +QSslConfiguration* PythonQtWrapper_QSslConfiguration::new_QSslConfiguration(const QSslConfiguration& other) +{ +return new PythonQtShell_QSslConfiguration(other); } + +void PythonQtWrapper_QSslConfiguration::addCaCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate) +{ + ( theWrappedObject->addCaCertificate(certificate)); } -qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) + +void PythonQtWrapper_QSslConfiguration::addCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addCaCertificates(certificates)); } - return qint64(); + +QList PythonQtWrapper_QSslConfiguration::allowedNextProtocols(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->allowedNextProtocols()); } -qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) + +QMap PythonQtWrapper_QSslConfiguration::backendConfiguration(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->backendConfiguration()); } - return QNetworkReply::readLineData(data0, maxlen1); + +QList PythonQtWrapper_QSslConfiguration::caCertificates(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->caCertificates()); } -bool PythonQtShell_QNetworkReply::reset() + +QList PythonQtWrapper_QSslConfiguration::ciphers(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->ciphers()); } - return QNetworkReply::reset(); + +QSslConfiguration PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_defaultConfiguration() +{ + return (QSslConfiguration::defaultConfiguration()); } -bool PythonQtShell_QNetworkReply::seek(qint64 pos0) + +QVector PythonQtWrapper_QSslConfiguration::ellipticCurves(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->ellipticCurves()); } - return QNetworkReply::seek(pos0); + +QSslKey PythonQtWrapper_QSslConfiguration::ephemeralServerKey(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->ephemeralServerKey()); } -void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) + +bool PythonQtWrapper_QSslConfiguration::isNull(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setReadBufferSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isNull()); } - QNetworkReply::setReadBufferSize(size0); + +QSslCertificate PythonQtWrapper_QSslConfiguration::localCertificate(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->localCertificate()); } -void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) + +QList PythonQtWrapper_QSslConfiguration::localCertificateChain(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QSslConfiguration&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->localCertificateChain()); } - QNetworkReply::setSslConfigurationImplementation(arg__1); + +QByteArray PythonQtWrapper_QSslConfiguration::nextNegotiatedProtocol(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->nextNegotiatedProtocol()); } -qint64 PythonQtShell_QNetworkReply::size() const + +QSslConfiguration::NextProtocolNegotiationStatus PythonQtWrapper_QSslConfiguration::nextProtocolNegotiationStatus(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->nextProtocolNegotiationStatus()); } - return QNetworkReply::size(); + +bool PythonQtWrapper_QSslConfiguration::ocspStaplingEnabled(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->ocspStaplingEnabled()); } -void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfiguration& arg__1) const + +bool PythonQtWrapper_QSslConfiguration::__ne__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sslConfigurationImplementation"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QSslConfiguration&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= other); } - QNetworkReply::sslConfigurationImplementation(arg__1); + +QSslConfiguration* PythonQtWrapper_QSslConfiguration::operator_assign(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) +{ + return &( (*theWrappedObject)= other); } -bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) + +bool PythonQtWrapper_QSslConfiguration::__eq__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)== other); +} + +QSslCertificate PythonQtWrapper_QSslConfiguration::peerCertificate(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerCertificate()); } - return QNetworkReply::waitForBytesWritten(msecs0); + +QList PythonQtWrapper_QSslConfiguration::peerCertificateChain(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerCertificateChain()); } -bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) + +int PythonQtWrapper_QSslConfiguration::peerVerifyDepth(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->peerVerifyDepth()); } - return QNetworkReply::waitForReadyRead(msecs0); + +QSslSocket::PeerVerifyMode PythonQtWrapper_QSslConfiguration::peerVerifyMode(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyMode()); } -qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) + +QByteArray PythonQtWrapper_QSslConfiguration::preSharedKeyIdentityHint(QSslConfiguration* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->preSharedKeyIdentityHint()); } - return QNetworkReply::writeData(data0, len1); + +QSslKey PythonQtWrapper_QSslConfiguration::privateKey(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->privateKey()); } -QNetworkReply* PythonQtWrapper_QNetworkReply::new_QNetworkReply(QObject* parent) -{ -return new PythonQtShell_QNetworkReply(parent); } -const QMetaObject* PythonQtShell_QNetworkReply::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkReply::staticMetaObject); - } else { - return &QNetworkReply::staticMetaObject; - } +QSsl::SslProtocol PythonQtWrapper_QSslConfiguration::protocol(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->protocol()); } -int PythonQtShell_QNetworkReply::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QNetworkReply::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QSslCipher PythonQtWrapper_QSslConfiguration::sessionCipher(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->sessionCipher()); } -QVariant PythonQtWrapper_QNetworkReply::attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const + +QSsl::SslProtocol PythonQtWrapper_QSslConfiguration::sessionProtocol(QSslConfiguration* theWrappedObject) const { - return ( theWrappedObject->attribute(code)); + return ( theWrappedObject->sessionProtocol()); } -QNetworkReply::NetworkError PythonQtWrapper_QNetworkReply::error(QNetworkReply* theWrappedObject) const +QByteArray PythonQtWrapper_QSslConfiguration::sessionTicket(QSslConfiguration* theWrappedObject) const { - return ( theWrappedObject->error()); + return ( theWrappedObject->sessionTicket()); } -bool PythonQtWrapper_QNetworkReply::hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +int PythonQtWrapper_QSslConfiguration::sessionTicketLifeTimeHint(QSslConfiguration* theWrappedObject) const { - return ( theWrappedObject->hasRawHeader(headerName)); + return ( theWrappedObject->sessionTicketLifeTimeHint()); } -QVariant PythonQtWrapper_QNetworkReply::header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const +void PythonQtWrapper_QSslConfiguration::setAllowedNextProtocols(QSslConfiguration* theWrappedObject, QList protocols) { - return ( theWrappedObject->header(header)); + ( theWrappedObject->setAllowedNextProtocols(protocols)); } -void PythonQtWrapper_QNetworkReply::ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1) +void PythonQtWrapper_QSslConfiguration::setBackendConfiguration(QSslConfiguration* theWrappedObject, const QMap& backendConfiguration) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_ignoreSslErrorsImplementation(arg__1)); + ( theWrappedObject->setBackendConfiguration(backendConfiguration)); } -bool PythonQtWrapper_QNetworkReply::isFinished(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setBackendConfigurationOption(QSslConfiguration* theWrappedObject, const QByteArray& name, const QVariant& value) { - return ( theWrappedObject->isFinished()); + ( theWrappedObject->setBackendConfigurationOption(name, value)); } -bool PythonQtWrapper_QNetworkReply::isRunning(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates) { - return ( theWrappedObject->isRunning()); + ( theWrappedObject->setCaCertificates(certificates)); } -QNetworkAccessManager* PythonQtWrapper_QNetworkReply::manager(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setCiphers(QSslConfiguration* theWrappedObject, const QList& ciphers) { - return ( theWrappedObject->manager()); + ( theWrappedObject->setCiphers(ciphers)); } -QNetworkAccessManager::Operation PythonQtWrapper_QNetworkReply::operation(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_setDefaultConfiguration(const QSslConfiguration& configuration) { - return ( theWrappedObject->operation()); + (QSslConfiguration::setDefaultConfiguration(configuration)); } -QByteArray PythonQtWrapper_QNetworkReply::rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +void PythonQtWrapper_QSslConfiguration::setEllipticCurves(QSslConfiguration* theWrappedObject, const QVector& curves) { - return ( theWrappedObject->rawHeader(headerName)); + ( theWrappedObject->setEllipticCurves(curves)); } -QList PythonQtWrapper_QNetworkReply::rawHeaderList(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setLocalCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate) { - return ( theWrappedObject->rawHeaderList()); + ( theWrappedObject->setLocalCertificate(certificate)); } -const QList >* PythonQtWrapper_QNetworkReply::rawHeaderPairs(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setLocalCertificateChain(QSslConfiguration* theWrappedObject, const QList& localChain) { - return &( theWrappedObject->rawHeaderPairs()); + ( theWrappedObject->setLocalCertificateChain(localChain)); } -qint64 PythonQtWrapper_QNetworkReply::readBufferSize(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setOcspStaplingEnabled(QSslConfiguration* theWrappedObject, bool enable) { - return ( theWrappedObject->readBufferSize()); + ( theWrappedObject->setOcspStaplingEnabled(enable)); } -QNetworkRequest PythonQtWrapper_QNetworkReply::request(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setPeerVerifyDepth(QSslConfiguration* theWrappedObject, int depth) { - return ( theWrappedObject->request()); + ( theWrappedObject->setPeerVerifyDepth(depth)); } -void PythonQtWrapper_QNetworkReply::setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) +void PythonQtWrapper_QSslConfiguration::setPeerVerifyMode(QSslConfiguration* theWrappedObject, QSslSocket::PeerVerifyMode mode) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setAttribute(code, value)); + ( theWrappedObject->setPeerVerifyMode(mode)); } -void PythonQtWrapper_QNetworkReply::setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString) +void PythonQtWrapper_QSslConfiguration::setPreSharedKeyIdentityHint(QSslConfiguration* theWrappedObject, const QByteArray& hint) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setError(errorCode, errorString)); + ( theWrappedObject->setPreSharedKeyIdentityHint(hint)); } -void PythonQtWrapper_QNetworkReply::setFinished(QNetworkReply* theWrappedObject, bool arg__1) +void PythonQtWrapper_QSslConfiguration::setPrivateKey(QSslConfiguration* theWrappedObject, const QSslKey& key) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setFinished(arg__1)); + ( theWrappedObject->setPrivateKey(key)); } -void PythonQtWrapper_QNetworkReply::setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +void PythonQtWrapper_QSslConfiguration::setProtocol(QSslConfiguration* theWrappedObject, QSsl::SslProtocol protocol) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setHeader(header, value)); + ( theWrappedObject->setProtocol(protocol)); } -void PythonQtWrapper_QNetworkReply::setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation) +void PythonQtWrapper_QSslConfiguration::setSessionTicket(QSslConfiguration* theWrappedObject, const QByteArray& sessionTicket) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setOperation(operation)); + ( theWrappedObject->setSessionTicket(sessionTicket)); } -void PythonQtWrapper_QNetworkReply::setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value) +void PythonQtWrapper_QSslConfiguration::setSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option, bool on) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRawHeader(headerName, value)); + ( theWrappedObject->setSslOption(option, on)); } -void PythonQtWrapper_QNetworkReply::setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size) +QList PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_supportedCiphers() { - ( theWrappedObject->setReadBufferSize(size)); + return (QSslConfiguration::supportedCiphers()); } -void PythonQtWrapper_QNetworkReply::setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request) +QVector PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_supportedEllipticCurves() { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRequest(request)); + return (QSslConfiguration::supportedEllipticCurves()); } -void PythonQtWrapper_QNetworkReply::setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1) +void PythonQtWrapper_QSslConfiguration::swap(QSslConfiguration* theWrappedObject, QSslConfiguration& other) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setSslConfigurationImplementation(arg__1)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QNetworkReply::setUrl(QNetworkReply* theWrappedObject, const QUrl& url) +QList PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_systemCaCertificates() { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setUrl(url)); + return (QSslConfiguration::systemCaCertificates()); } -void PythonQtWrapper_QNetworkReply::sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const +bool PythonQtWrapper_QSslConfiguration::testSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option) const { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_sslConfigurationImplementation(arg__1)); + return ( theWrappedObject->testSslOption(option)); } -QUrl PythonQtWrapper_QNetworkReply::url(QNetworkReply* theWrappedObject) const +#endif + + +#ifndef QT_NO_SSL +QSslEllipticCurve* PythonQtWrapper_QSslEllipticCurve::new_QSslEllipticCurve() +{ +return new QSslEllipticCurve(); } + +QSslEllipticCurve PythonQtWrapper_QSslEllipticCurve::static_QSslEllipticCurve_fromLongName(const QString& name) { - return ( theWrappedObject->url()); + return (QSslEllipticCurve::fromLongName(name)); } +QSslEllipticCurve PythonQtWrapper_QSslEllipticCurve::static_QSslEllipticCurve_fromShortName(const QString& name) +{ + return (QSslEllipticCurve::fromShortName(name)); +} +bool PythonQtWrapper_QSslEllipticCurve::isTlsNamedCurve(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->isTlsNamedCurve()); +} -PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QSslEllipticCurve::isValid(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); } -void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) + +QString PythonQtWrapper_QSslEllipticCurve::longName(QSslEllipticCurve* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("connectNotify"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QMetaMethod&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&signal0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->longName()); } - QNetworkSession::connectNotify(signal0); + +bool PythonQtWrapper_QSslEllipticCurve::__ne__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs) +{ + return ( (*theWrappedObject)!= rhs); } -void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0) + +bool PythonQtWrapper_QSslEllipticCurve::__eq__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("disconnectNotify"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QMetaMethod&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&signal0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)== rhs); } - QNetworkSession::disconnectNotify(signal0); + +QString PythonQtWrapper_QSslEllipticCurve::shortName(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->shortName()); } -QNetworkSession* PythonQtWrapper_QNetworkSession::new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent) + +QString PythonQtWrapper_QSslEllipticCurve::py_toString(QSslEllipticCurve* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + +#endif + + +#ifndef QT_NO_SSL +QSslError* PythonQtWrapper_QSslError::new_QSslError() { -return new PythonQtShell_QNetworkSession(connConfig, parent); } +return new QSslError(); } -const QMetaObject* PythonQtShell_QNetworkSession::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkSession::staticMetaObject); - } else { - return &QNetworkSession::staticMetaObject; - } +QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error) +{ +return new QSslError(error); } + +QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error, const QSslCertificate& certificate) +{ +return new QSslError(error, certificate); } + +QSslError* PythonQtWrapper_QSslError::new_QSslError(const QSslError& other) +{ +return new QSslError(other); } + +QSslCertificate PythonQtWrapper_QSslError::certificate(QSslError* theWrappedObject) const +{ + return ( theWrappedObject->certificate()); } -int PythonQtShell_QNetworkSession::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QNetworkSession::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QSslError::SslError PythonQtWrapper_QSslError::error(QSslError* theWrappedObject) const +{ + return ( theWrappedObject->error()); } -quint64 PythonQtWrapper_QNetworkSession::activeTime(QNetworkSession* theWrappedObject) const + +QString PythonQtWrapper_QSslError::errorString(QSslError* theWrappedObject) const { - return ( theWrappedObject->activeTime()); + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QSslError::__ne__(QSslError* theWrappedObject, const QSslError& other) const +{ + return ( (*theWrappedObject)!= other); +} + +QSslError* PythonQtWrapper_QSslError::operator_assign(QSslError* theWrappedObject, const QSslError& other) +{ + return &( (*theWrappedObject)= other); } -quint64 PythonQtWrapper_QNetworkSession::bytesReceived(QNetworkSession* theWrappedObject) const +bool PythonQtWrapper_QSslError::__eq__(QSslError* theWrappedObject, const QSslError& other) const { - return ( theWrappedObject->bytesReceived()); + return ( (*theWrappedObject)== other); } -quint64 PythonQtWrapper_QNetworkSession::bytesWritten(QNetworkSession* theWrappedObject) const +void PythonQtWrapper_QSslError::swap(QSslError* theWrappedObject, QSslError& other) { - return ( theWrappedObject->bytesWritten()); + ( theWrappedObject->swap(other)); } -QNetworkConfiguration PythonQtWrapper_QNetworkSession::configuration(QNetworkSession* theWrappedObject) const -{ - return ( theWrappedObject->configuration()); +QString PythonQtWrapper_QSslError::py_toString(QSslError* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -void PythonQtWrapper_QNetworkSession::connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) +#endif + + +#ifndef QT_NO_SSL +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey() +{ +return new QSslKey(); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(QIODevice* device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray& passPhrase) +{ +return new QSslKey(device, algorithm, format, type, passPhrase); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(Qt::HANDLE handle, QSsl::KeyType type) +{ +return new QSslKey(handle, type); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(const QByteArray& encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray& passPhrase) +{ +return new QSslKey(encoded, algorithm, format, type, passPhrase); } + +QSslKey* PythonQtWrapper_QSslKey::new_QSslKey(const QSslKey& other) +{ +return new QSslKey(other); } + +QSsl::KeyAlgorithm PythonQtWrapper_QSslKey::algorithm(QSslKey* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_connectNotify(signal)); + return ( theWrappedObject->algorithm()); } -void PythonQtWrapper_QNetworkSession::disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) +void PythonQtWrapper_QSslKey::clear(QSslKey* theWrappedObject) { - ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_disconnectNotify(signal)); + ( theWrappedObject->clear()); } -QNetworkSession::SessionError PythonQtWrapper_QNetworkSession::error(QNetworkSession* theWrappedObject) const +Qt::HANDLE PythonQtWrapper_QSslKey::handle(QSslKey* theWrappedObject) const { - return ( theWrappedObject->error()); + return ( theWrappedObject->handle()); } -QString PythonQtWrapper_QNetworkSession::errorString(QNetworkSession* theWrappedObject) const +bool PythonQtWrapper_QSslKey::isNull(QSslKey* theWrappedObject) const { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->isNull()); } -QNetworkInterface PythonQtWrapper_QNetworkSession::interface(QNetworkSession* theWrappedObject) const +int PythonQtWrapper_QSslKey::length(QSslKey* theWrappedObject) const { - return ( theWrappedObject->interface()); + return ( theWrappedObject->length()); } -bool PythonQtWrapper_QNetworkSession::isOpen(QNetworkSession* theWrappedObject) const +bool PythonQtWrapper_QSslKey::__ne__(QSslKey* theWrappedObject, const QSslKey& key) const { - return ( theWrappedObject->isOpen()); + return ( (*theWrappedObject)!= key); } -QVariant PythonQtWrapper_QNetworkSession::sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const +QSslKey* PythonQtWrapper_QSslKey::operator_assign(QSslKey* theWrappedObject, const QSslKey& other) { - return ( theWrappedObject->sessionProperty(key)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QNetworkSession::setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value) +bool PythonQtWrapper_QSslKey::__eq__(QSslKey* theWrappedObject, const QSslKey& key) const { - ( theWrappedObject->setSessionProperty(key, value)); + return ( (*theWrappedObject)== key); } -QNetworkSession::State PythonQtWrapper_QNetworkSession::state(QNetworkSession* theWrappedObject) const +void PythonQtWrapper_QSslKey::swap(QSslKey* theWrappedObject, QSslKey& other) { - return ( theWrappedObject->state()); + ( theWrappedObject->swap(other)); } -QNetworkSession::UsagePolicies PythonQtWrapper_QNetworkSession::usagePolicies(QNetworkSession* theWrappedObject) const +QByteArray PythonQtWrapper_QSslKey::toDer(QSslKey* theWrappedObject, const QByteArray& passPhrase) const { - return ( theWrappedObject->usagePolicies()); + return ( theWrappedObject->toDer(passPhrase)); } -bool PythonQtWrapper_QNetworkSession::waitForOpened(QNetworkSession* theWrappedObject, int msecs) +QByteArray PythonQtWrapper_QSslKey::toPem(QSslKey* theWrappedObject, const QByteArray& passPhrase) const { - return ( theWrappedObject->waitForOpened(msecs)); + return ( theWrappedObject->toPem(passPhrase)); } +QSsl::KeyType PythonQtWrapper_QSslKey::type(QSslKey* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} +QString PythonQtWrapper_QSslKey::py_toString(QSslKey* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} -#ifndef QT_NO_SSL #endif #ifndef QT_NO_SSL -QSslError* PythonQtWrapper_QSslError::new_QSslError() +QSslPreSharedKeyAuthenticator* PythonQtWrapper_QSslPreSharedKeyAuthenticator::new_QSslPreSharedKeyAuthenticator() { -return new QSslError(); } +return new QSslPreSharedKeyAuthenticator(); } -QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error) +QSslPreSharedKeyAuthenticator* PythonQtWrapper_QSslPreSharedKeyAuthenticator::new_QSslPreSharedKeyAuthenticator(const QSslPreSharedKeyAuthenticator& authenticator) { -return new QSslError(error); } +return new QSslPreSharedKeyAuthenticator(authenticator); } -QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error, const QSslCertificate& certificate) -{ -return new QSslError(error, certificate); } +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::identity(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->identity()); +} -QSslError* PythonQtWrapper_QSslError::new_QSslError(const QSslError& other) -{ -return new QSslError(other); } +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::identityHint(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->identityHint()); +} -QString PythonQtWrapper_QSslError::py_toString(QSslError* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +int PythonQtWrapper_QSslPreSharedKeyAuthenticator::maximumIdentityLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->maximumIdentityLength()); +} + +int PythonQtWrapper_QSslPreSharedKeyAuthenticator::maximumPreSharedKeyLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->maximumPreSharedKeyLength()); +} + +bool PythonQtWrapper_QSslPreSharedKeyAuthenticator::__ne__(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + +QSslPreSharedKeyAuthenticator* PythonQtWrapper_QSslPreSharedKeyAuthenticator::operator_assign(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& authenticator) +{ + return &( (*theWrappedObject)= authenticator); +} + +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::preSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->preSharedKey()); +} + +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::setIdentity(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& identity) +{ + ( theWrappedObject->setIdentity(identity)); +} + +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::setPreSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& preSharedKey) +{ + ( theWrappedObject->setPreSharedKey(preSharedKey)); +} + +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::swap(QSslPreSharedKeyAuthenticator* theWrappedObject, QSslPreSharedKeyAuthenticator& other) +{ + ( theWrappedObject->swap(other)); } #endif @@ -4309,19 +2258,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4342,19 +2291,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4375,19 +2324,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4408,19 +2357,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4430,6 +2379,28 @@ if (_wrapper) { } return QSslSocket::canReadLine(); } +void PythonQtShell_QSslSocket::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSslSocket::childEvent(event0); +} void PythonQtShell_QSslSocket::close() { if (_wrapper) { @@ -4440,9 +2411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4462,9 +2433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&openMode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&openMode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4474,6 +2445,28 @@ if (_wrapper) { } QSslSocket::connectToHost(hostName0, port1, openMode2, protocol3); } +void PythonQtShell_QSslSocket::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSslSocket::customEvent(event0); +} void PythonQtShell_QSslSocket::disconnectFromHost() { if (_wrapper) { @@ -4484,9 +2477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4496,6 +2489,72 @@ if (_wrapper) { } QSslSocket::disconnectFromHost(); } +bool PythonQtShell_QSslSocket::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::event(event0); +} +bool PythonQtShell_QSslSocket::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSslSocket::eventFilter(watched0, event1); +} bool PythonQtShell_QSslSocket::isSequential() const { if (_wrapper) { @@ -4507,19 +2566,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4540,19 +2599,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4573,19 +2632,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4606,19 +2665,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4639,19 +2698,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4672,19 +2731,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4704,9 +2763,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4727,19 +2786,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4759,9 +2818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4782,19 +2841,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4814,9 +2873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4837,19 +2896,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4870,19 +2929,19 @@ if (_wrapper) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qintptr returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4903,19 +2962,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4925,6 +2984,28 @@ if (_wrapper) { } return QSslSocket::socketOption(option0); } +void PythonQtShell_QSslSocket::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSslSocket::timerEvent(event0); +} bool PythonQtShell_QSslSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { @@ -4936,19 +3017,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4969,19 +3050,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5002,19 +3083,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5035,19 +3116,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5068,19 +3149,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5376,23 +3457,133 @@ bool PythonQtWrapper_QSslSocket::static_QSslSocket_supportsSsl() { return (QSslSocket::supportsSsl()); } - -QList PythonQtWrapper_QSslSocket::static_QSslSocket_systemCaCertificates() -{ - return (QSslSocket::systemCaCertificates()); + +QList PythonQtWrapper_QSslSocket::static_QSslSocket_systemCaCertificates() +{ + return (QSslSocket::systemCaCertificates()); +} + +bool PythonQtWrapper_QSslSocket::waitForEncrypted(QSslSocket* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForEncrypted(msecs)); +} + +#endif + + +PythonQtShell_QTcpServer::~PythonQtShell_QTcpServer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTcpServer::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpServer::childEvent(event0); +} +void PythonQtShell_QTcpServer::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpServer::customEvent(event0); +} +bool PythonQtShell_QTcpServer::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpServer::event(event0); } - -bool PythonQtWrapper_QSslSocket::waitForEncrypted(QSslSocket* theWrappedObject, int msecs) +bool PythonQtShell_QTcpServer::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->waitForEncrypted(msecs)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -#endif - - -PythonQtShell_QTcpServer::~PythonQtShell_QTcpServer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTcpServer::eventFilter(watched0, event1); } bool PythonQtShell_QTcpServer::hasPendingConnections() const { @@ -5405,19 +3596,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5437,9 +3628,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handle0}; + void* args[2] = {nullptr, (void*)&handle0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5460,19 +3651,19 @@ if (_wrapper) { static const char* argumentList[] ={"QTcpSocket*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QTcpSocket* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); } else { returnValue = *((QTcpSocket**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5482,6 +3673,28 @@ if (_wrapper) { } return QTcpServer::nextPendingConnection(); } +void PythonQtShell_QTcpServer::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpServer::timerEvent(event0); +} QTcpServer* PythonQtWrapper_QTcpServer::new_QTcpServer(QObject* parent) { return new PythonQtShell_QTcpServer(parent); } @@ -5616,19 +3829,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5649,19 +3862,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5682,19 +3895,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5715,19 +3928,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5737,6 +3950,28 @@ if (_wrapper) { } return QTcpSocket::canReadLine(); } +void PythonQtShell_QTcpSocket::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpSocket::childEvent(event0); +} void PythonQtShell_QTcpSocket::close() { if (_wrapper) { @@ -5747,9 +3982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5769,9 +4004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5791,9 +4026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5803,6 +4038,28 @@ if (_wrapper) { } QTcpSocket::connectToHost(hostName0, port1, mode2, protocol3); } +void PythonQtShell_QTcpSocket::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpSocket::customEvent(event0); +} void PythonQtShell_QTcpSocket::disconnectFromHost() { if (_wrapper) { @@ -5813,9 +4070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5825,6 +4082,72 @@ if (_wrapper) { } QTcpSocket::disconnectFromHost(); } +bool PythonQtShell_QTcpSocket::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::event(event0); +} +bool PythonQtShell_QTcpSocket::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTcpSocket::eventFilter(watched0, event1); +} bool PythonQtShell_QTcpSocket::isSequential() const { if (_wrapper) { @@ -5836,19 +4159,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5869,19 +4192,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5902,19 +4225,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5935,19 +4258,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5968,19 +4291,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6001,19 +4324,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6033,9 +4356,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6056,19 +4379,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6088,9 +4411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6111,19 +4434,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6143,9 +4466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6166,19 +4489,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6199,19 +4522,19 @@ if (_wrapper) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qintptr returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6232,19 +4555,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6254,6 +4577,28 @@ if (_wrapper) { } return QTcpSocket::socketOption(option0); } +void PythonQtShell_QTcpSocket::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTcpSocket::timerEvent(event0); +} bool PythonQtShell_QTcpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { @@ -6265,19 +4610,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6298,19 +4643,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6331,19 +4676,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6364,19 +4709,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6397,19 +4742,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6453,19 +4798,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6486,19 +4831,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6519,19 +4864,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6552,19 +4897,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6574,6 +4919,28 @@ if (_wrapper) { } return QUdpSocket::canReadLine(); } +void PythonQtShell_QUdpSocket::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUdpSocket::childEvent(event0); +} void PythonQtShell_QUdpSocket::close() { if (_wrapper) { @@ -6584,9 +4951,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6606,9 +4973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6628,9 +4995,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6640,6 +5007,28 @@ if (_wrapper) { } QUdpSocket::connectToHost(hostName0, port1, mode2, protocol3); } +void PythonQtShell_QUdpSocket::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUdpSocket::customEvent(event0); +} void PythonQtShell_QUdpSocket::disconnectFromHost() { if (_wrapper) { @@ -6650,9 +5039,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6662,6 +5051,72 @@ if (_wrapper) { } QUdpSocket::disconnectFromHost(); } +bool PythonQtShell_QUdpSocket::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::event(event0); +} +bool PythonQtShell_QUdpSocket::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUdpSocket::eventFilter(watched0, event1); +} bool PythonQtShell_QUdpSocket::isSequential() const { if (_wrapper) { @@ -6673,19 +5128,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6706,19 +5161,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6739,19 +5194,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6772,19 +5227,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6805,19 +5260,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6838,19 +5293,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6870,9 +5325,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6893,19 +5348,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6925,9 +5380,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6948,19 +5403,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6980,9 +5435,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7003,19 +5458,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7036,19 +5491,19 @@ if (_wrapper) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qintptr returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7069,19 +5524,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7091,6 +5546,28 @@ if (_wrapper) { } return QUdpSocket::socketOption(option0); } +void PythonQtShell_QUdpSocket::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUdpSocket::timerEvent(event0); +} bool PythonQtShell_QUdpSocket::waitForBytesWritten(int msecs0) { if (_wrapper) { @@ -7102,19 +5579,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7135,19 +5612,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7168,19 +5645,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7201,19 +5678,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7234,19 +5711,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.h b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.h new file mode 100644 index 00000000..5706d855 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.h @@ -0,0 +1,959 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QNetworkReply : public QNetworkReply +{ +public: + PythonQtShell_QNetworkReply(QObject* parent = nullptr):QNetworkReply(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkReply() override; + +void abort() override; +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void ignoreSslErrors() override; +void ignoreSslErrorsImplementation(const QList& arg__1) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +void setSslConfigurationImplementation(const QSslConfiguration& arg__1) override; +qint64 size() const override; +void sslConfigurationImplementation(QSslConfiguration& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkReply : public QNetworkReply +{ public: +inline void promoted_ignoreSslErrorsImplementation(const QList& arg__1) { this->ignoreSslErrorsImplementation(arg__1); } +inline void promoted_setAttribute(QNetworkRequest::Attribute code, const QVariant& value) { this->setAttribute(code, value); } +inline void promoted_setError(QNetworkReply::NetworkError errorCode, const QString& errorString) { this->setError(errorCode, errorString); } +inline void promoted_setFinished(bool arg__1) { this->setFinished(arg__1); } +inline void promoted_setHeader(QNetworkRequest::KnownHeaders header, const QVariant& value) { this->setHeader(header, value); } +inline void promoted_setOperation(QNetworkAccessManager::Operation operation) { this->setOperation(operation); } +inline void promoted_setRawHeader(const QByteArray& headerName, const QByteArray& value) { this->setRawHeader(headerName, value); } +inline void promoted_setRequest(const QNetworkRequest& request) { this->setRequest(request); } +inline void promoted_setSslConfigurationImplementation(const QSslConfiguration& arg__1) { this->setSslConfigurationImplementation(arg__1); } +inline void promoted_setUrl(const QUrl& url) { this->setUrl(url); } +inline void promoted_sslConfigurationImplementation(QSslConfiguration& arg__1) const { this->sslConfigurationImplementation(arg__1); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline void py_q_abort() { this->abort(); } +inline void py_q_close() { QNetworkReply::close(); } +inline void py_q_ignoreSslErrors() { QNetworkReply::ignoreSslErrors(); } +inline void py_q_ignoreSslErrorsImplementation(const QList& arg__1) { QNetworkReply::ignoreSslErrorsImplementation(arg__1); } +inline bool py_q_isSequential() const { return QNetworkReply::isSequential(); } +inline void py_q_setReadBufferSize(qint64 size) { QNetworkReply::setReadBufferSize(size); } +inline void py_q_setSslConfigurationImplementation(const QSslConfiguration& arg__1) { QNetworkReply::setSslConfigurationImplementation(arg__1); } +inline void py_q_sslConfigurationImplementation(QSslConfiguration& arg__1) const { QNetworkReply::sslConfigurationImplementation(arg__1); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QNetworkReply::writeData(data, len); } +}; + +class PythonQtWrapper_QNetworkReply : public QObject +{ Q_OBJECT +public: +public slots: +QNetworkReply* new_QNetworkReply(QObject* parent = nullptr); +void delete_QNetworkReply(QNetworkReply* obj) { delete obj; } + void py_q_abort(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_abort());} + QVariant attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const; + void py_q_close(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_close());} + QNetworkReply::NetworkError error(QNetworkReply* theWrappedObject) const; + bool hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; + QVariant header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const; + void py_q_ignoreSslErrors(QNetworkReply* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_ignoreSslErrors());} + void ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1); + void py_q_ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_ignoreSslErrorsImplementation(arg__1));} + bool isFinished(QNetworkReply* theWrappedObject) const; + bool isRunning(QNetworkReply* theWrappedObject) const; + bool py_q_isSequential(QNetworkReply* theWrappedObject) const{ return (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_isSequential());} + QNetworkAccessManager* manager(QNetworkReply* theWrappedObject) const; + QNetworkAccessManager::Operation operation(QNetworkReply* theWrappedObject) const; + QByteArray rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const; + QList rawHeaderList(QNetworkReply* theWrappedObject) const; + const QList >* rawHeaderPairs(QNetworkReply* theWrappedObject) const; + qint64 readBufferSize(QNetworkReply* theWrappedObject) const; + QNetworkRequest request(QNetworkReply* theWrappedObject) const; + void setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value); + void setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString); + void setFinished(QNetworkReply* theWrappedObject, bool arg__1); + void setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation); + void setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value); + void setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size); + void py_q_setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_setReadBufferSize(size));} + void setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request); + void setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1); + void py_q_setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1){ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_setSslConfigurationImplementation(arg__1));} + void setUrl(QNetworkReply* theWrappedObject, const QUrl& url); + void sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const; + void py_q_sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const{ (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_sslConfigurationImplementation(arg__1));} + QUrl url(QNetworkReply* theWrappedObject) const; + qint64 py_q_writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->py_q_writeData(data, len));} +}; + + + + + +class PythonQtWrapper_QNetworkRequest : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Attribute CacheLoadControl KnownHeaders LoadControl Priority RedirectPolicy TransferTimeoutConstant ) +enum Attribute{ + HttpStatusCodeAttribute = QNetworkRequest::HttpStatusCodeAttribute, HttpReasonPhraseAttribute = QNetworkRequest::HttpReasonPhraseAttribute, RedirectionTargetAttribute = QNetworkRequest::RedirectionTargetAttribute, ConnectionEncryptedAttribute = QNetworkRequest::ConnectionEncryptedAttribute, CacheLoadControlAttribute = QNetworkRequest::CacheLoadControlAttribute, CacheSaveControlAttribute = QNetworkRequest::CacheSaveControlAttribute, SourceIsFromCacheAttribute = QNetworkRequest::SourceIsFromCacheAttribute, DoNotBufferUploadDataAttribute = QNetworkRequest::DoNotBufferUploadDataAttribute, HttpPipeliningAllowedAttribute = QNetworkRequest::HttpPipeliningAllowedAttribute, HttpPipeliningWasUsedAttribute = QNetworkRequest::HttpPipeliningWasUsedAttribute, CustomVerbAttribute = QNetworkRequest::CustomVerbAttribute, CookieLoadControlAttribute = QNetworkRequest::CookieLoadControlAttribute, AuthenticationReuseAttribute = QNetworkRequest::AuthenticationReuseAttribute, CookieSaveControlAttribute = QNetworkRequest::CookieSaveControlAttribute, MaximumDownloadBufferSizeAttribute = QNetworkRequest::MaximumDownloadBufferSizeAttribute, DownloadBufferAttribute = QNetworkRequest::DownloadBufferAttribute, SynchronousRequestAttribute = QNetworkRequest::SynchronousRequestAttribute, BackgroundRequestAttribute = QNetworkRequest::BackgroundRequestAttribute, SpdyAllowedAttribute = QNetworkRequest::SpdyAllowedAttribute, SpdyWasUsedAttribute = QNetworkRequest::SpdyWasUsedAttribute, EmitAllUploadProgressSignalsAttribute = QNetworkRequest::EmitAllUploadProgressSignalsAttribute, FollowRedirectsAttribute = QNetworkRequest::FollowRedirectsAttribute, Http2AllowedAttribute = QNetworkRequest::Http2AllowedAttribute, Http2WasUsedAttribute = QNetworkRequest::Http2WasUsedAttribute, HTTP2AllowedAttribute = QNetworkRequest::HTTP2AllowedAttribute, HTTP2WasUsedAttribute = QNetworkRequest::HTTP2WasUsedAttribute, OriginalContentLengthAttribute = QNetworkRequest::OriginalContentLengthAttribute, RedirectPolicyAttribute = QNetworkRequest::RedirectPolicyAttribute, Http2DirectAttribute = QNetworkRequest::Http2DirectAttribute, ResourceTypeAttribute = QNetworkRequest::ResourceTypeAttribute, AutoDeleteReplyOnFinishAttribute = QNetworkRequest::AutoDeleteReplyOnFinishAttribute, User = QNetworkRequest::User, UserMax = QNetworkRequest::UserMax}; +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, ContentDispositionHeader = QNetworkRequest::ContentDispositionHeader, UserAgentHeader = QNetworkRequest::UserAgentHeader, ServerHeader = QNetworkRequest::ServerHeader, IfModifiedSinceHeader = QNetworkRequest::IfModifiedSinceHeader, ETagHeader = QNetworkRequest::ETagHeader, IfMatchHeader = QNetworkRequest::IfMatchHeader, IfNoneMatchHeader = QNetworkRequest::IfNoneMatchHeader}; +enum LoadControl{ + Automatic = QNetworkRequest::Automatic, Manual = QNetworkRequest::Manual}; +enum Priority{ + HighPriority = QNetworkRequest::HighPriority, NormalPriority = QNetworkRequest::NormalPriority, LowPriority = QNetworkRequest::LowPriority}; +enum RedirectPolicy{ + ManualRedirectPolicy = QNetworkRequest::ManualRedirectPolicy, NoLessSafeRedirectPolicy = QNetworkRequest::NoLessSafeRedirectPolicy, SameOriginRedirectPolicy = QNetworkRequest::SameOriginRedirectPolicy, UserVerifiedRedirectPolicy = QNetworkRequest::UserVerifiedRedirectPolicy}; +enum TransferTimeoutConstant{ + DefaultTransferTimeoutConstant = QNetworkRequest::DefaultTransferTimeoutConstant}; +public slots: +QNetworkRequest* new_QNetworkRequest(); +QNetworkRequest* new_QNetworkRequest(const QNetworkRequest& other); +QNetworkRequest* new_QNetworkRequest(const QUrl& url); +void delete_QNetworkRequest(QNetworkRequest* obj) { delete obj; } + QVariant attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue = QVariant()) const; + bool hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const; + QVariant header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const; + int maximumRedirectsAllowed(QNetworkRequest* theWrappedObject) const; + bool __ne__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const; + bool __eq__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const; + QObject* originatingObject(QNetworkRequest* theWrappedObject) const; + QString peerVerifyName(QNetworkRequest* theWrappedObject) const; + QNetworkRequest::Priority priority(QNetworkRequest* theWrappedObject) const; + QByteArray rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const; + QList rawHeaderList(QNetworkRequest* theWrappedObject) const; + void setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value); + void setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value); + void setMaximumRedirectsAllowed(QNetworkRequest* theWrappedObject, int maximumRedirectsAllowed); + void setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object); + void setPeerVerifyName(QNetworkRequest* theWrappedObject, const QString& peerName); + void setPriority(QNetworkRequest* theWrappedObject, QNetworkRequest::Priority priority); + void setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value); + void setTransferTimeout(QNetworkRequest* theWrappedObject, int timeout = DefaultTransferTimeoutConstant); + void setUrl(QNetworkRequest* theWrappedObject, const QUrl& url); + void swap(QNetworkRequest* theWrappedObject, QNetworkRequest& other); + int transferTimeout(QNetworkRequest* theWrappedObject) const; + QUrl url(QNetworkRequest* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QNetworkSession : public QNetworkSession +{ +public: + PythonQtShell_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr):QNetworkSession(connConfig, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkSession() override; + +void childEvent(QChildEvent* event) override; +void connectNotify(const QMetaMethod& signal) override; +void customEvent(QEvent* event) override; +void disconnectNotify(const QMetaMethod& signal) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QNetworkSession : public QNetworkSession +{ public: +inline void promoted_connectNotify(const QMetaMethod& signal) { this->connectNotify(signal); } +inline void promoted_disconnectNotify(const QMetaMethod& signal) { this->disconnectNotify(signal); } +inline void py_q_connectNotify(const QMetaMethod& signal) { QNetworkSession::connectNotify(signal); } +inline void py_q_disconnectNotify(const QMetaMethod& signal) { QNetworkSession::disconnectNotify(signal); } +}; + +class PythonQtWrapper_QNetworkSession : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SessionError State UsagePolicy ) +Q_FLAGS(UsagePolicies ) +enum SessionError{ + UnknownSessionError = QNetworkSession::UnknownSessionError, SessionAbortedError = QNetworkSession::SessionAbortedError, RoamingError = QNetworkSession::RoamingError, OperationNotSupportedError = QNetworkSession::OperationNotSupportedError, InvalidConfigurationError = QNetworkSession::InvalidConfigurationError}; +enum State{ + Invalid = QNetworkSession::Invalid, NotAvailable = QNetworkSession::NotAvailable, Connecting = QNetworkSession::Connecting, Connected = QNetworkSession::Connected, Closing = QNetworkSession::Closing, Disconnected = QNetworkSession::Disconnected, Roaming = QNetworkSession::Roaming}; +enum UsagePolicy{ + NoPolicy = QNetworkSession::NoPolicy, NoBackgroundTrafficPolicy = QNetworkSession::NoBackgroundTrafficPolicy}; +Q_DECLARE_FLAGS(UsagePolicies, UsagePolicy) +public slots: +QNetworkSession* new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr); +void delete_QNetworkSession(QNetworkSession* obj) { delete obj; } + quint64 activeTime(QNetworkSession* theWrappedObject) const; + quint64 bytesReceived(QNetworkSession* theWrappedObject) const; + quint64 bytesWritten(QNetworkSession* theWrappedObject) const; + QNetworkConfiguration configuration(QNetworkSession* theWrappedObject) const; + void connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal); + void py_q_connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal){ (((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->py_q_connectNotify(signal));} + void disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal); + void py_q_disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal){ (((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->py_q_disconnectNotify(signal));} + QNetworkSession::SessionError error(QNetworkSession* theWrappedObject) const; + QString errorString(QNetworkSession* theWrappedObject) const; + QNetworkInterface interface(QNetworkSession* theWrappedObject) const; + bool isOpen(QNetworkSession* theWrappedObject) const; + QVariant sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const; + void setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value); + QNetworkSession::State state(QNetworkSession* theWrappedObject) const; + QNetworkSession::UsagePolicies usagePolicies(QNetworkSession* theWrappedObject) const; + bool waitForOpened(QNetworkSession* theWrappedObject, int msecs = 30000); +}; + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSsl : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AlternativeNameEntryType EncodingFormat KeyAlgorithm KeyType SslOption SslProtocol ) +Q_FLAGS(SslOptions ) +enum AlternativeNameEntryType{ + EmailEntry = QSsl::EmailEntry, DnsEntry = QSsl::DnsEntry, IpAddressEntry = QSsl::IpAddressEntry}; +enum EncodingFormat{ + Pem = QSsl::Pem, Der = QSsl::Der}; +enum KeyAlgorithm{ + Opaque = QSsl::Opaque, Rsa = QSsl::Rsa, Dsa = QSsl::Dsa, Ec = QSsl::Ec, Dh = QSsl::Dh}; +enum KeyType{ + PrivateKey = QSsl::PrivateKey, PublicKey = QSsl::PublicKey}; +enum SslOption{ + SslOptionDisableEmptyFragments = QSsl::SslOptionDisableEmptyFragments, SslOptionDisableSessionTickets = QSsl::SslOptionDisableSessionTickets, SslOptionDisableCompression = QSsl::SslOptionDisableCompression, SslOptionDisableServerNameIndication = QSsl::SslOptionDisableServerNameIndication, SslOptionDisableLegacyRenegotiation = QSsl::SslOptionDisableLegacyRenegotiation, SslOptionDisableSessionSharing = QSsl::SslOptionDisableSessionSharing, SslOptionDisableSessionPersistence = QSsl::SslOptionDisableSessionPersistence, SslOptionDisableServerCipherPreference = QSsl::SslOptionDisableServerCipherPreference}; +enum SslProtocol{ + SslV3 = QSsl::SslV3, SslV2 = QSsl::SslV2, TlsV1_0 = QSsl::TlsV1_0, TlsV1_1 = QSsl::TlsV1_1, TlsV1_2 = QSsl::TlsV1_2, AnyProtocol = QSsl::AnyProtocol, TlsV1SslV3 = QSsl::TlsV1SslV3, SecureProtocols = QSsl::SecureProtocols, TlsV1_0OrLater = QSsl::TlsV1_0OrLater, TlsV1_1OrLater = QSsl::TlsV1_1OrLater, TlsV1_2OrLater = QSsl::TlsV1_2OrLater, DtlsV1_0 = QSsl::DtlsV1_0, DtlsV1_0OrLater = QSsl::DtlsV1_0OrLater, DtlsV1_2 = QSsl::DtlsV1_2, DtlsV1_2OrLater = QSsl::DtlsV1_2OrLater, TlsV1_3 = QSsl::TlsV1_3, TlsV1_3OrLater = QSsl::TlsV1_3OrLater, UnknownProtocol = QSsl::UnknownProtocol}; +Q_DECLARE_FLAGS(SslOptions, SslOption) +public slots: +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslCertificate : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SubjectInfo ) +enum SubjectInfo{ + Organization = QSslCertificate::Organization, CommonName = QSslCertificate::CommonName, LocalityName = QSslCertificate::LocalityName, OrganizationalUnitName = QSslCertificate::OrganizationalUnitName, CountryName = QSslCertificate::CountryName, StateOrProvinceName = QSslCertificate::StateOrProvinceName, DistinguishedNameQualifier = QSslCertificate::DistinguishedNameQualifier, SerialNumber = QSslCertificate::SerialNumber, EmailAddress = QSslCertificate::EmailAddress}; +public slots: +QSslCertificate* new_QSslCertificate(QIODevice* device, QSsl::EncodingFormat format = QSsl::Pem); +QSslCertificate* new_QSslCertificate(const QByteArray& data = QByteArray(), QSsl::EncodingFormat format = QSsl::Pem); +QSslCertificate* new_QSslCertificate(const QSslCertificate& other); +void delete_QSslCertificate(QSslCertificate* obj) { delete obj; } + void clear(QSslCertificate* theWrappedObject); + QByteArray digest(QSslCertificate* theWrappedObject, QCryptographicHash::Algorithm algorithm = QCryptographicHash::Md5) const; + QDateTime effectiveDate(QSslCertificate* theWrappedObject) const; + QDateTime expiryDate(QSslCertificate* theWrappedObject) const; + QList extensions(QSslCertificate* theWrappedObject) const; + QList static_QSslCertificate_fromData(const QByteArray& data, QSsl::EncodingFormat format = QSsl::Pem); + QList static_QSslCertificate_fromDevice(QIODevice* device, QSsl::EncodingFormat format = QSsl::Pem); + QList static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax); + Qt::HANDLE handle(QSslCertificate* theWrappedObject) const; + bool static_QSslCertificate_importPkcs12(QIODevice* device, QSslKey* key, QSslCertificate* cert, QList* caCertificates = nullptr, const QByteArray& passPhrase = QByteArray()); + bool isBlacklisted(QSslCertificate* theWrappedObject) const; + bool isNull(QSslCertificate* theWrappedObject) const; + bool isSelfSigned(QSslCertificate* theWrappedObject) const; + QString issuerDisplayName(QSslCertificate* theWrappedObject) const; + QStringList issuerInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const; + QStringList issuerInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const; + QList issuerInfoAttributes(QSslCertificate* theWrappedObject) const; + bool __ne__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const; + QSslCertificate* operator_assign(QSslCertificate* theWrappedObject, const QSslCertificate& other); + bool __eq__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const; + QSslKey publicKey(QSslCertificate* theWrappedObject) const; + QByteArray serialNumber(QSslCertificate* theWrappedObject) const; + QMultiMap subjectAlternativeNames(QSslCertificate* theWrappedObject) const; + QString subjectDisplayName(QSslCertificate* theWrappedObject) const; + QStringList subjectInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const; + QStringList subjectInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const; + QList subjectInfoAttributes(QSslCertificate* theWrappedObject) const; + void swap(QSslCertificate* theWrappedObject, QSslCertificate& other); + QByteArray toDer(QSslCertificate* theWrappedObject) const; + QByteArray toPem(QSslCertificate* theWrappedObject) const; + QString toText(QSslCertificate* theWrappedObject) const; + QList static_QSslCertificate_verify(QList certificateChain, const QString& hostName = QString()); + QByteArray version(QSslCertificate* theWrappedObject) const; + QString py_toString(QSslCertificate*); + bool __nonzero__(QSslCertificate* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslCertificateExtension : public QObject +{ Q_OBJECT +public: +public slots: +QSslCertificateExtension* new_QSslCertificateExtension(); +QSslCertificateExtension* new_QSslCertificateExtension(const QSslCertificateExtension& other); +void delete_QSslCertificateExtension(QSslCertificateExtension* obj) { delete obj; } + bool isCritical(QSslCertificateExtension* theWrappedObject) const; + bool isSupported(QSslCertificateExtension* theWrappedObject) const; + QString name(QSslCertificateExtension* theWrappedObject) const; + QString oid(QSslCertificateExtension* theWrappedObject) const; + QSslCertificateExtension* operator_assign(QSslCertificateExtension* theWrappedObject, const QSslCertificateExtension& other); + void swap(QSslCertificateExtension* theWrappedObject, QSslCertificateExtension& other); + QVariant value(QSslCertificateExtension* theWrappedObject) const; +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslCipher : public QObject +{ Q_OBJECT +public: +public slots: +QSslCipher* new_QSslCipher(); +QSslCipher* new_QSslCipher(const QSslCipher& other); +QSslCipher* new_QSslCipher(const QString& name); +QSslCipher* new_QSslCipher(const QString& name, QSsl::SslProtocol protocol); +void delete_QSslCipher(QSslCipher* obj) { delete obj; } + QString authenticationMethod(QSslCipher* theWrappedObject) const; + QString encryptionMethod(QSslCipher* theWrappedObject) const; + bool isNull(QSslCipher* theWrappedObject) const; + QString keyExchangeMethod(QSslCipher* theWrappedObject) const; + QString name(QSslCipher* theWrappedObject) const; + bool __ne__(QSslCipher* theWrappedObject, const QSslCipher& other) const; + QSslCipher* operator_assign(QSslCipher* theWrappedObject, const QSslCipher& other); + bool __eq__(QSslCipher* theWrappedObject, const QSslCipher& other) const; + QSsl::SslProtocol protocol(QSslCipher* theWrappedObject) const; + QString protocolString(QSslCipher* theWrappedObject) const; + int supportedBits(QSslCipher* theWrappedObject) const; + void swap(QSslCipher* theWrappedObject, QSslCipher& other); + int usedBits(QSslCipher* theWrappedObject) const; + QString py_toString(QSslCipher*); + bool __nonzero__(QSslCipher* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtShell_QSslConfiguration : public QSslConfiguration +{ +public: + PythonQtShell_QSslConfiguration():QSslConfiguration(),_wrapper(nullptr) {}; + PythonQtShell_QSslConfiguration(const QSslConfiguration& other):QSslConfiguration(other),_wrapper(nullptr) {}; + + ~PythonQtShell_QSslConfiguration(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSslConfiguration : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NextProtocolNegotiationStatus ) +enum NextProtocolNegotiationStatus{ + NextProtocolNegotiationNone = QSslConfiguration::NextProtocolNegotiationNone, NextProtocolNegotiationNegotiated = QSslConfiguration::NextProtocolNegotiationNegotiated, NextProtocolNegotiationUnsupported = QSslConfiguration::NextProtocolNegotiationUnsupported}; +public slots: +QSslConfiguration* new_QSslConfiguration(); +QSslConfiguration* new_QSslConfiguration(const QSslConfiguration& other); +void delete_QSslConfiguration(QSslConfiguration* obj) { delete obj; } + void addCaCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate); + void addCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates); + QList allowedNextProtocols(QSslConfiguration* theWrappedObject) const; + QMap backendConfiguration(QSslConfiguration* theWrappedObject) const; + QList caCertificates(QSslConfiguration* theWrappedObject) const; + QList ciphers(QSslConfiguration* theWrappedObject) const; + QSslConfiguration static_QSslConfiguration_defaultConfiguration(); + QVector ellipticCurves(QSslConfiguration* theWrappedObject) const; + QSslKey ephemeralServerKey(QSslConfiguration* theWrappedObject) const; + bool isNull(QSslConfiguration* theWrappedObject) const; + QSslCertificate localCertificate(QSslConfiguration* theWrappedObject) const; + QList localCertificateChain(QSslConfiguration* theWrappedObject) const; + QByteArray nextNegotiatedProtocol(QSslConfiguration* theWrappedObject) const; + QSslConfiguration::NextProtocolNegotiationStatus nextProtocolNegotiationStatus(QSslConfiguration* theWrappedObject) const; + bool ocspStaplingEnabled(QSslConfiguration* theWrappedObject) const; + bool __ne__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const; + QSslConfiguration* operator_assign(QSslConfiguration* theWrappedObject, const QSslConfiguration& other); + bool __eq__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const; + QSslCertificate peerCertificate(QSslConfiguration* theWrappedObject) const; + QList peerCertificateChain(QSslConfiguration* theWrappedObject) const; + int peerVerifyDepth(QSslConfiguration* theWrappedObject) const; + QSslSocket::PeerVerifyMode peerVerifyMode(QSslConfiguration* theWrappedObject) const; + QByteArray preSharedKeyIdentityHint(QSslConfiguration* theWrappedObject) const; + QSslKey privateKey(QSslConfiguration* theWrappedObject) const; + QSsl::SslProtocol protocol(QSslConfiguration* theWrappedObject) const; + QSslCipher sessionCipher(QSslConfiguration* theWrappedObject) const; + QSsl::SslProtocol sessionProtocol(QSslConfiguration* theWrappedObject) const; + QByteArray sessionTicket(QSslConfiguration* theWrappedObject) const; + int sessionTicketLifeTimeHint(QSslConfiguration* theWrappedObject) const; + void setAllowedNextProtocols(QSslConfiguration* theWrappedObject, QList protocols); + void setBackendConfiguration(QSslConfiguration* theWrappedObject, const QMap& backendConfiguration = QMap()); + void setBackendConfigurationOption(QSslConfiguration* theWrappedObject, const QByteArray& name, const QVariant& value); + void setCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates); + void setCiphers(QSslConfiguration* theWrappedObject, const QList& ciphers); + void static_QSslConfiguration_setDefaultConfiguration(const QSslConfiguration& configuration); + void setEllipticCurves(QSslConfiguration* theWrappedObject, const QVector& curves); + void setLocalCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate); + void setLocalCertificateChain(QSslConfiguration* theWrappedObject, const QList& localChain); + void setOcspStaplingEnabled(QSslConfiguration* theWrappedObject, bool enable); + void setPeerVerifyDepth(QSslConfiguration* theWrappedObject, int depth); + void setPeerVerifyMode(QSslConfiguration* theWrappedObject, QSslSocket::PeerVerifyMode mode); + void setPreSharedKeyIdentityHint(QSslConfiguration* theWrappedObject, const QByteArray& hint); + void setPrivateKey(QSslConfiguration* theWrappedObject, const QSslKey& key); + void setProtocol(QSslConfiguration* theWrappedObject, QSsl::SslProtocol protocol); + void setSessionTicket(QSslConfiguration* theWrappedObject, const QByteArray& sessionTicket); + void setSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option, bool on); + QList static_QSslConfiguration_supportedCiphers(); + QVector static_QSslConfiguration_supportedEllipticCurves(); + void swap(QSslConfiguration* theWrappedObject, QSslConfiguration& other); + QList static_QSslConfiguration_systemCaCertificates(); + bool testSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option) const; + bool __nonzero__(QSslConfiguration* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslEllipticCurve : public QObject +{ Q_OBJECT +public: +public slots: +QSslEllipticCurve* new_QSslEllipticCurve(); +void delete_QSslEllipticCurve(QSslEllipticCurve* obj) { delete obj; } + QSslEllipticCurve static_QSslEllipticCurve_fromLongName(const QString& name); + QSslEllipticCurve static_QSslEllipticCurve_fromShortName(const QString& name); + bool isTlsNamedCurve(QSslEllipticCurve* theWrappedObject) const; + bool isValid(QSslEllipticCurve* theWrappedObject) const; + QString longName(QSslEllipticCurve* theWrappedObject) const; + bool __ne__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs); + bool __eq__(QSslEllipticCurve* theWrappedObject, QSslEllipticCurve rhs); + QString shortName(QSslEllipticCurve* theWrappedObject) const; + QString py_toString(QSslEllipticCurve*); + bool __nonzero__(QSslEllipticCurve* obj) { return obj->isValid(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslError : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SslError ) +enum SslError{ + NoError = QSslError::NoError, UnableToGetIssuerCertificate = QSslError::UnableToGetIssuerCertificate, UnableToDecryptCertificateSignature = QSslError::UnableToDecryptCertificateSignature, UnableToDecodeIssuerPublicKey = QSslError::UnableToDecodeIssuerPublicKey, CertificateSignatureFailed = QSslError::CertificateSignatureFailed, CertificateNotYetValid = QSslError::CertificateNotYetValid, CertificateExpired = QSslError::CertificateExpired, InvalidNotBeforeField = QSslError::InvalidNotBeforeField, InvalidNotAfterField = QSslError::InvalidNotAfterField, SelfSignedCertificate = QSslError::SelfSignedCertificate, SelfSignedCertificateInChain = QSslError::SelfSignedCertificateInChain, UnableToGetLocalIssuerCertificate = QSslError::UnableToGetLocalIssuerCertificate, UnableToVerifyFirstCertificate = QSslError::UnableToVerifyFirstCertificate, CertificateRevoked = QSslError::CertificateRevoked, InvalidCaCertificate = QSslError::InvalidCaCertificate, PathLengthExceeded = QSslError::PathLengthExceeded, InvalidPurpose = QSslError::InvalidPurpose, CertificateUntrusted = QSslError::CertificateUntrusted, CertificateRejected = QSslError::CertificateRejected, SubjectIssuerMismatch = QSslError::SubjectIssuerMismatch, AuthorityIssuerSerialNumberMismatch = QSslError::AuthorityIssuerSerialNumberMismatch, NoPeerCertificate = QSslError::NoPeerCertificate, HostNameMismatch = QSslError::HostNameMismatch, NoSslSupport = QSslError::NoSslSupport, CertificateBlacklisted = QSslError::CertificateBlacklisted, CertificateStatusUnknown = QSslError::CertificateStatusUnknown, OcspNoResponseFound = QSslError::OcspNoResponseFound, OcspMalformedRequest = QSslError::OcspMalformedRequest, OcspMalformedResponse = QSslError::OcspMalformedResponse, OcspInternalError = QSslError::OcspInternalError, OcspTryLater = QSslError::OcspTryLater, OcspSigRequred = QSslError::OcspSigRequred, OcspUnauthorized = QSslError::OcspUnauthorized, OcspResponseCannotBeTrusted = QSslError::OcspResponseCannotBeTrusted, OcspResponseCertIdUnknown = QSslError::OcspResponseCertIdUnknown, OcspResponseExpired = QSslError::OcspResponseExpired, OcspStatusUnknown = QSslError::OcspStatusUnknown, UnspecifiedError = QSslError::UnspecifiedError}; +public slots: +QSslError* new_QSslError(); +QSslError* new_QSslError(QSslError::SslError error); +QSslError* new_QSslError(QSslError::SslError error, const QSslCertificate& certificate); +QSslError* new_QSslError(const QSslError& other); +void delete_QSslError(QSslError* obj) { delete obj; } + QSslCertificate certificate(QSslError* theWrappedObject) const; + QSslError::SslError error(QSslError* theWrappedObject) const; + QString errorString(QSslError* theWrappedObject) const; + bool __ne__(QSslError* theWrappedObject, const QSslError& other) const; + QSslError* operator_assign(QSslError* theWrappedObject, const QSslError& other); + bool __eq__(QSslError* theWrappedObject, const QSslError& other) const; + void swap(QSslError* theWrappedObject, QSslError& other); + QString py_toString(QSslError*); +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslKey : public QObject +{ Q_OBJECT +public: +public slots: +QSslKey* new_QSslKey(); +QSslKey* new_QSslKey(QIODevice* device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray& passPhrase = QByteArray()); +QSslKey* new_QSslKey(Qt::HANDLE handle, QSsl::KeyType type = QSsl::PrivateKey); +QSslKey* new_QSslKey(const QByteArray& encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray& passPhrase = QByteArray()); +QSslKey* new_QSslKey(const QSslKey& other); +void delete_QSslKey(QSslKey* obj) { delete obj; } + QSsl::KeyAlgorithm algorithm(QSslKey* theWrappedObject) const; + void clear(QSslKey* theWrappedObject); + Qt::HANDLE handle(QSslKey* theWrappedObject) const; + bool isNull(QSslKey* theWrappedObject) const; + int length(QSslKey* theWrappedObject) const; + bool __ne__(QSslKey* theWrappedObject, const QSslKey& key) const; + QSslKey* operator_assign(QSslKey* theWrappedObject, const QSslKey& other); + bool __eq__(QSslKey* theWrappedObject, const QSslKey& key) const; + void swap(QSslKey* theWrappedObject, QSslKey& other); + QByteArray toDer(QSslKey* theWrappedObject, const QByteArray& passPhrase = QByteArray()) const; + QByteArray toPem(QSslKey* theWrappedObject, const QByteArray& passPhrase = QByteArray()) const; + QSsl::KeyType type(QSslKey* theWrappedObject) const; + QString py_toString(QSslKey*); + bool __nonzero__(QSslKey* obj) { return !obj->isNull(); } +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtWrapper_QSslPreSharedKeyAuthenticator : public QObject +{ Q_OBJECT +public: +public slots: +QSslPreSharedKeyAuthenticator* new_QSslPreSharedKeyAuthenticator(); +QSslPreSharedKeyAuthenticator* new_QSslPreSharedKeyAuthenticator(const QSslPreSharedKeyAuthenticator& authenticator); +void delete_QSslPreSharedKeyAuthenticator(QSslPreSharedKeyAuthenticator* obj) { delete obj; } + QByteArray identity(QSslPreSharedKeyAuthenticator* theWrappedObject) const; + QByteArray identityHint(QSslPreSharedKeyAuthenticator* theWrappedObject) const; + int maximumIdentityLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const; + int maximumPreSharedKeyLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const; + bool __ne__(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& rhs); + QSslPreSharedKeyAuthenticator* operator_assign(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& authenticator); + QByteArray preSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject) const; + void setIdentity(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& identity); + void setPreSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& preSharedKey); + void swap(QSslPreSharedKeyAuthenticator* theWrappedObject, QSslPreSharedKeyAuthenticator& other); +}; + +#endif + + + + + +#ifndef QT_NO_SSL +class PythonQtShell_QSslSocket : public QSslSocket +{ +public: + PythonQtShell_QSslSocket(QObject* parent = nullptr):QSslSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSslSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSslSocket : public QSslSocket +{ public: +inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } +inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } +inline bool py_q_atEnd() const { return QSslSocket::atEnd(); } +inline qint64 py_q_bytesAvailable() const { return QSslSocket::bytesAvailable(); } +inline qint64 py_q_bytesToWrite() const { return QSslSocket::bytesToWrite(); } +inline bool py_q_canReadLine() const { return QSslSocket::canReadLine(); } +inline void py_q_close() { QSslSocket::close(); } +inline void py_q_connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) { QSslSocket::connectToHost(hostName, port, openMode, protocol); } +inline void py_q_disconnectFromHost() { QSslSocket::disconnectFromHost(); } +inline qint64 py_q_readData(char* data, qint64 maxlen) { return QSslSocket::readData(data, maxlen); } +inline void py_q_resume() { QSslSocket::resume(); } +inline void py_q_setReadBufferSize(qint64 size) { QSslSocket::setReadBufferSize(size); } +inline bool py_q_setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) { return QSslSocket::setSocketDescriptor(socketDescriptor, state, openMode); } +inline void py_q_setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) { QSslSocket::setSocketOption(option, value); } +inline QVariant py_q_socketOption(QAbstractSocket::SocketOption option) { return QSslSocket::socketOption(option); } +inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QSslSocket::waitForBytesWritten(msecs); } +inline bool py_q_waitForConnected(int msecs = 30000) { return QSslSocket::waitForConnected(msecs); } +inline bool py_q_waitForDisconnected(int msecs = 30000) { return QSslSocket::waitForDisconnected(msecs); } +inline bool py_q_waitForReadyRead(int msecs = 30000) { return QSslSocket::waitForReadyRead(msecs); } +inline qint64 py_q_writeData(const char* data, qint64 len) { return QSslSocket::writeData(data, len); } +}; + +class PythonQtWrapper_QSslSocket : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PeerVerifyMode SslMode ) +enum PeerVerifyMode{ + VerifyNone = QSslSocket::VerifyNone, QueryPeer = QSslSocket::QueryPeer, VerifyPeer = QSslSocket::VerifyPeer, AutoVerifyPeer = QSslSocket::AutoVerifyPeer}; +enum SslMode{ + UnencryptedMode = QSslSocket::UnencryptedMode, SslClientMode = QSslSocket::SslClientMode, SslServerMode = QSslSocket::SslServerMode}; +public slots: +QSslSocket* new_QSslSocket(QObject* parent = nullptr); +void delete_QSslSocket(QSslSocket* obj) { delete obj; } + void abort(QSslSocket* theWrappedObject); + void addCaCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate); + void addCaCertificates(QSslSocket* theWrappedObject, const QList& certificates); + bool addCaCertificates(QSslSocket* theWrappedObject, const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); + void static_QSslSocket_addDefaultCaCertificate(const QSslCertificate& certificate); + void static_QSslSocket_addDefaultCaCertificates(const QList& certificates); + bool static_QSslSocket_addDefaultCaCertificates(const QString& path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); + bool py_q_atEnd(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_atEnd());} + qint64 py_q_bytesAvailable(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_bytesAvailable());} + qint64 py_q_bytesToWrite(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_bytesToWrite());} + QList caCertificates(QSslSocket* theWrappedObject) const; + bool py_q_canReadLine(QSslSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_canReadLine());} + QList ciphers(QSslSocket* theWrappedObject) const; + void py_q_close(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_close());} + void py_q_connectToHost(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_connectToHost(hostName, port, openMode, protocol));} + void connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); + void connectToHostEncrypted(QSslSocket* theWrappedObject, const QString& hostName, unsigned short port, const QString& sslPeerName, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); + QList static_QSslSocket_defaultCaCertificates(); + QList static_QSslSocket_defaultCiphers(); + void py_q_disconnectFromHost(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_disconnectFromHost());} + qint64 encryptedBytesAvailable(QSslSocket* theWrappedObject) const; + qint64 encryptedBytesToWrite(QSslSocket* theWrappedObject) const; + bool flush(QSslSocket* theWrappedObject); + void ignoreSslErrors(QSslSocket* theWrappedObject, const QList& errors); + bool isEncrypted(QSslSocket* theWrappedObject) const; + QSslCertificate localCertificate(QSslSocket* theWrappedObject) const; + QList localCertificateChain(QSslSocket* theWrappedObject) const; + QSslSocket::SslMode mode(QSslSocket* theWrappedObject) const; + QSslCertificate peerCertificate(QSslSocket* theWrappedObject) const; + QList peerCertificateChain(QSslSocket* theWrappedObject) const; + int peerVerifyDepth(QSslSocket* theWrappedObject) const; + QSslSocket::PeerVerifyMode peerVerifyMode(QSslSocket* theWrappedObject) const; + QString peerVerifyName(QSslSocket* theWrappedObject) const; + QSslKey privateKey(QSslSocket* theWrappedObject) const; + QSsl::SslProtocol protocol(QSslSocket* theWrappedObject) const; + qint64 py_q_readData(QSslSocket* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_readData(data, maxlen));} + void py_q_resume(QSslSocket* theWrappedObject){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_resume());} + QSslCipher sessionCipher(QSslSocket* theWrappedObject) const; + QSsl::SslProtocol sessionProtocol(QSslSocket* theWrappedObject) const; + void setCaCertificates(QSslSocket* theWrappedObject, const QList& certificates); + void setCiphers(QSslSocket* theWrappedObject, const QList& ciphers); + void setCiphers(QSslSocket* theWrappedObject, const QString& ciphers); + void static_QSslSocket_setDefaultCaCertificates(const QList& certificates); + void static_QSslSocket_setDefaultCiphers(const QList& ciphers); + void setLocalCertificate(QSslSocket* theWrappedObject, const QSslCertificate& certificate); + void setLocalCertificate(QSslSocket* theWrappedObject, const QString& fileName, QSsl::EncodingFormat format = QSsl::Pem); + void setLocalCertificateChain(QSslSocket* theWrappedObject, const QList& localChain); + void setPeerVerifyDepth(QSslSocket* theWrappedObject, int depth); + void setPeerVerifyMode(QSslSocket* theWrappedObject, QSslSocket::PeerVerifyMode mode); + void setPeerVerifyName(QSslSocket* theWrappedObject, const QString& hostName); + void setPrivateKey(QSslSocket* theWrappedObject, const QSslKey& key); + void setPrivateKey(QSslSocket* theWrappedObject, const QString& fileName, QSsl::KeyAlgorithm algorithm = QSsl::Rsa, QSsl::EncodingFormat format = QSsl::Pem, const QByteArray& passPhrase = QByteArray()); + void setProtocol(QSslSocket* theWrappedObject, QSsl::SslProtocol protocol); + void py_q_setReadBufferSize(QSslSocket* theWrappedObject, qint64 size){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setReadBufferSize(size));} + bool py_q_setSocketDescriptor(QSslSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setSocketDescriptor(socketDescriptor, state, openMode));} + void py_q_setSocketOption(QSslSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value){ (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_setSocketOption(option, value));} + void setSslConfiguration(QSslSocket* theWrappedObject, const QSslConfiguration& config); + QVariant py_q_socketOption(QSslSocket* theWrappedObject, QAbstractSocket::SocketOption option){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_socketOption(option));} + QSslConfiguration sslConfiguration(QSslSocket* theWrappedObject) const; + QList sslErrors(QSslSocket* theWrappedObject) const; + QList sslHandshakeErrors(QSslSocket* theWrappedObject) const; + long static_QSslSocket_sslLibraryBuildVersionNumber(); + QString static_QSslSocket_sslLibraryBuildVersionString(); + long static_QSslSocket_sslLibraryVersionNumber(); + QString static_QSslSocket_sslLibraryVersionString(); + QList static_QSslSocket_supportedCiphers(); + bool static_QSslSocket_supportsSsl(); + QList static_QSslSocket_systemCaCertificates(); + bool py_q_waitForBytesWritten(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} + bool py_q_waitForConnected(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForConnected(msecs));} + bool py_q_waitForDisconnected(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForDisconnected(msecs));} + bool waitForEncrypted(QSslSocket* theWrappedObject, int msecs = 30000); + bool py_q_waitForReadyRead(QSslSocket* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_waitForReadyRead(msecs));} + qint64 py_q_writeData(QSslSocket* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QSslSocket*)theWrappedObject)->py_q_writeData(data, len));} + bool __nonzero__(QSslSocket* obj) { return obj->isValid(); } +}; + +#endif + + + + + +class PythonQtShell_QTcpServer : public QTcpServer +{ +public: + PythonQtShell_QTcpServer(QObject* parent = nullptr):QTcpServer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTcpServer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasPendingConnections() const override; +void incomingConnection(qintptr handle) override; +QTcpSocket* nextPendingConnection() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTcpServer : public QTcpServer +{ public: +inline void promoted_addPendingConnection(QTcpSocket* socket) { this->addPendingConnection(socket); } +inline void promoted_incomingConnection(qintptr handle) { this->incomingConnection(handle); } +inline bool py_q_hasPendingConnections() const { return QTcpServer::hasPendingConnections(); } +inline void py_q_incomingConnection(qintptr handle) { QTcpServer::incomingConnection(handle); } +inline QTcpSocket* py_q_nextPendingConnection() { return QTcpServer::nextPendingConnection(); } +}; + +class PythonQtWrapper_QTcpServer : public QObject +{ Q_OBJECT +public: +public slots: +QTcpServer* new_QTcpServer(QObject* parent = nullptr); +void delete_QTcpServer(QTcpServer* obj) { delete obj; } + void addPendingConnection(QTcpServer* theWrappedObject, QTcpSocket* socket); + void close(QTcpServer* theWrappedObject); + QString errorString(QTcpServer* theWrappedObject) const; + bool hasPendingConnections(QTcpServer* theWrappedObject) const; + bool py_q_hasPendingConnections(QTcpServer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_hasPendingConnections());} + void incomingConnection(QTcpServer* theWrappedObject, qintptr handle); + void py_q_incomingConnection(QTcpServer* theWrappedObject, qintptr handle){ (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_incomingConnection(handle));} + bool isListening(QTcpServer* theWrappedObject) const; + bool listen(QTcpServer* theWrappedObject, const QHostAddress& address = QHostAddress::Any, unsigned short port = 0); + int maxPendingConnections(QTcpServer* theWrappedObject) const; + QTcpSocket* nextPendingConnection(QTcpServer* theWrappedObject); + QTcpSocket* py_q_nextPendingConnection(QTcpServer* theWrappedObject){ return (((PythonQtPublicPromoter_QTcpServer*)theWrappedObject)->py_q_nextPendingConnection());} + void pauseAccepting(QTcpServer* theWrappedObject); + QNetworkProxy proxy(QTcpServer* theWrappedObject) const; + void resumeAccepting(QTcpServer* theWrappedObject); + QHostAddress serverAddress(QTcpServer* theWrappedObject) const; + QAbstractSocket::SocketError serverError(QTcpServer* theWrappedObject) const; + unsigned short serverPort(QTcpServer* theWrappedObject) const; + void setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections); + void setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy); + bool setSocketDescriptor(QTcpServer* theWrappedObject, qintptr socketDescriptor); + qintptr socketDescriptor(QTcpServer* theWrappedObject) const; + bool waitForNewConnection(QTcpServer* theWrappedObject, int msec = 0, bool* timedOut = nullptr); +}; + + + + + +class PythonQtShell_QTcpSocket : public QTcpSocket +{ +public: + PythonQtShell_QTcpSocket(QObject* parent = nullptr):QTcpSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTcpSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTcpSocket : public QObject +{ Q_OBJECT +public: +public slots: +QTcpSocket* new_QTcpSocket(QObject* parent = nullptr); +void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } + bool __nonzero__(QTcpSocket* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QUdpSocket : public QUdpSocket +{ +public: + PythonQtShell_QUdpSocket(QObject* parent = nullptr):QUdpSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUdpSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUdpSocket : public QObject +{ Q_OBJECT +public: +public slots: +QUdpSocket* new_QUdpSocket(QObject* parent = nullptr); +void delete_QUdpSocket(QUdpSocket* obj) { delete obj; } + bool hasPendingDatagrams(QUdpSocket* theWrappedObject) const; + bool joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress); + bool joinMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface); + bool leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress); + bool leaveMulticastGroup(QUdpSocket* theWrappedObject, const QHostAddress& groupAddress, const QNetworkInterface& iface); + QNetworkInterface multicastInterface(QUdpSocket* theWrappedObject) const; + qint64 pendingDatagramSize(QUdpSocket* theWrappedObject) const; + qint64 readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host = nullptr, unsigned short* port = nullptr); + QNetworkDatagram receiveDatagram(QUdpSocket* theWrappedObject, qint64 maxSize = -1); + void setMulticastInterface(QUdpSocket* theWrappedObject, const QNetworkInterface& iface); + qint64 writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port); + qint64 writeDatagram(QUdpSocket* theWrappedObject, const QNetworkDatagram& datagram); + bool __nonzero__(QUdpSocket* obj) { return obj->isValid(); } +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp new file mode 100644 index 00000000..a974a118 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp @@ -0,0 +1,104 @@ +#include +#include +#include "com_trolltech_qt_network0.h" +#include "com_trolltech_qt_network1.h" + + + +void PythonQt_init_QtNetwork(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractNetworkCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDnsDomainNameRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsHostAddressRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QDnsLookup::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QDnsMailExchangeRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsServiceRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDnsTextRecord", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QHstsPolicy", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QHttpMultiPart::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QHttpPart", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QIPv6Address", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QLocalServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QLocalSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkCacheMetaData", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkConfiguration", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkConfigurationManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkDatagram", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QNetworkDiskCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QNetworkProxyFactory", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkProxyQuery", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QNetworkSession::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslCertificate", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslCertificateExtension", "", "QtNetwork", PythonQtCreateObject, nullptr, module, 0); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslCipher", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslConfiguration", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslEllipticCurve", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslError", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslKey", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerCPPClass("QSslPreSharedKeyAuthenticator", "", "QtNetwork", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +#endif +#ifndef QT_NO_SSL +PythonQt::priv()->registerClass(&QSslSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +#endif +PythonQt::priv()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsDomainNameRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsHostAddressRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsMailExchangeRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsServiceRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsTextRecord); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QHostAddress); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkAddressEntry); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkConfiguration); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkCookie); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkInterface); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkProxy); +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCertificate); +#endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCertificateExtension); +#endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCipher); +#endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslError); +#endif +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QHstsPolicy); +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QSslEllipticCurve); +#endif +} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp similarity index 53% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index 66b0db0f..3c55bddb 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -3,27 +3,58 @@ #include #include #include +#include #include +#include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include #include #include -#include #include +#include +#include +#include #include +#include +#include +#include +#include +#include #include +#include +#include #include #include #include #include +#include +#include +#include #include +#include +#include +#include +#include +#include #include #include +#include #include #include #include +#include +#include QGLBuffer* PythonQtWrapper_QGLBuffer::new_QGLBuffer() { @@ -52,7 +83,7 @@ bool PythonQtWrapper_QGLBuffer::bind(QGLBuffer* theWrappedObject) return ( theWrappedObject->bind()); } -GLuint PythonQtWrapper_QGLBuffer::bufferId(QGLBuffer* theWrappedObject) const +uint PythonQtWrapper_QGLBuffer::bufferId(QGLBuffer* theWrappedObject) const { return ( theWrappedObject->bufferId()); } @@ -208,19 +239,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGLContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&shareContext0}; + void* args[2] = {nullptr, (void*)&shareContext0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("chooseContext", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -241,19 +272,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGLContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&shareContext0}; + void* args[2] = {nullptr, (void*)&shareContext0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -273,9 +304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -295,9 +326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -317,9 +348,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -342,27 +373,27 @@ bool PythonQtWrapper_QGLContext::static_QGLContext_areSharing(const QGLContext* return (QGLContext::areSharing(context1, context2)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format) { return ( theWrappedObject->bindTexture(image, target, format)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) { return ( theWrappedObject->bindTexture(image, target, format, options)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) { return ( theWrappedObject->bindTexture(pixmap, target, format)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) { return ( theWrappedObject->bindTexture(pixmap, target, format, options)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) { return ( theWrappedObject->bindTexture(fileName)); } @@ -392,7 +423,7 @@ const QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_currentContext( return (QGLContext::currentContext()); } -void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, GLuint tx_id) +void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, uint tx_id) { ( theWrappedObject->deleteTexture(tx_id)); } @@ -412,12 +443,12 @@ void PythonQtWrapper_QGLContext::doneCurrent(QGLContext* theWrappedObject) ( theWrappedObject->doneCurrent()); } -void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(point, textureId, textureTarget)); } -void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(target, textureId, textureTarget)); } @@ -626,6 +657,11 @@ QGLFormat::OpenGLVersionFlags PythonQtWrapper_QGLFormat::static_QGLFormat_openG return (QGLFormat::openGLVersionFlags()); } +bool PythonQtWrapper_QGLFormat::__ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + bool PythonQtWrapper_QGLFormat::__eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) { return ( (*theWrappedObject)== arg__2); @@ -840,19 +876,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -872,9 +908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -895,19 +931,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -928,19 +964,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -961,19 +997,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -994,19 +1030,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1060,12 +1096,12 @@ void PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_blitFrame (QGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); } -void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(point, textureId, textureTarget)); } -void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(target, textureId, textureTarget)); } @@ -1075,7 +1111,7 @@ QGLFramebufferObjectFormat PythonQtWrapper_QGLFramebufferObject::format(QGLFram return ( theWrappedObject->format()); } -GLuint PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const +uint PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const { return ( theWrappedObject->handle()); } @@ -1110,7 +1146,7 @@ QSize PythonQtWrapper_QGLFramebufferObject::size(QGLFramebufferObject* theWrapp return ( theWrappedObject->size()); } -GLuint PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const +uint PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const { return ( theWrappedObject->texture()); } @@ -1210,27 +1246,27 @@ void PythonQtWrapper_QGLFunctions::glActiveTexture(QGLFunctions* theWrappedObjec ( theWrappedObject->glActiveTexture(texture)); } -void PythonQtWrapper_QGLFunctions::glAttachShader(QGLFunctions* theWrappedObject, GLuint program, GLuint shader) +void PythonQtWrapper_QGLFunctions::glAttachShader(QGLFunctions* theWrappedObject, uint program, uint shader) { ( theWrappedObject->glAttachShader(program, shader)); } -void PythonQtWrapper_QGLFunctions::glBindAttribLocation(QGLFunctions* theWrappedObject, GLuint program, GLuint index, const char* name) +void PythonQtWrapper_QGLFunctions::glBindAttribLocation(QGLFunctions* theWrappedObject, uint program, uint index, const char* name) { ( theWrappedObject->glBindAttribLocation(program, index, name)); } -void PythonQtWrapper_QGLFunctions::glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint buffer) +void PythonQtWrapper_QGLFunctions::glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, uint buffer) { ( theWrappedObject->glBindBuffer(target, buffer)); } -void PythonQtWrapper_QGLFunctions::glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint framebuffer) +void PythonQtWrapper_QGLFunctions::glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, uint framebuffer) { ( theWrappedObject->glBindFramebuffer(target, framebuffer)); } -void PythonQtWrapper_QGLFunctions::glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint renderbuffer) +void PythonQtWrapper_QGLFunctions::glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, uint renderbuffer) { ( theWrappedObject->glBindRenderbuffer(target, renderbuffer)); } @@ -1265,7 +1301,7 @@ void PythonQtWrapper_QGLFunctions::glClearDepthf(QGLFunctions* theWrappedObject, ( theWrappedObject->glClearDepthf(depth)); } -void PythonQtWrapper_QGLFunctions::glCompileShader(QGLFunctions* theWrappedObject, GLuint shader) +void PythonQtWrapper_QGLFunctions::glCompileShader(QGLFunctions* theWrappedObject, uint shader) { ( theWrappedObject->glCompileShader(shader)); } @@ -1280,37 +1316,37 @@ void PythonQtWrapper_QGLFunctions::glCompressedTexSubImage2D(QGLFunctions* theWr ( theWrappedObject->glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)); } -GLuint PythonQtWrapper_QGLFunctions::glCreateProgram(QGLFunctions* theWrappedObject) +uint PythonQtWrapper_QGLFunctions::glCreateProgram(QGLFunctions* theWrappedObject) { return ( theWrappedObject->glCreateProgram()); } -GLuint PythonQtWrapper_QGLFunctions::glCreateShader(QGLFunctions* theWrappedObject, GLenum type) +uint PythonQtWrapper_QGLFunctions::glCreateShader(QGLFunctions* theWrappedObject, GLenum type) { return ( theWrappedObject->glCreateShader(type)); } -void PythonQtWrapper_QGLFunctions::glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* buffers) +void PythonQtWrapper_QGLFunctions::glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* buffers) { ( theWrappedObject->glDeleteBuffers(n, buffers)); } -void PythonQtWrapper_QGLFunctions::glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* framebuffers) +void PythonQtWrapper_QGLFunctions::glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* framebuffers) { ( theWrappedObject->glDeleteFramebuffers(n, framebuffers)); } -void PythonQtWrapper_QGLFunctions::glDeleteProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glDeleteProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glDeleteProgram(program)); } -void PythonQtWrapper_QGLFunctions::glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* renderbuffers) +void PythonQtWrapper_QGLFunctions::glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* renderbuffers) { ( theWrappedObject->glDeleteRenderbuffers(n, renderbuffers)); } -void PythonQtWrapper_QGLFunctions::glDeleteShader(QGLFunctions* theWrappedObject, GLuint shader) +void PythonQtWrapper_QGLFunctions::glDeleteShader(QGLFunctions* theWrappedObject, uint shader) { ( theWrappedObject->glDeleteShader(shader)); } @@ -1320,42 +1356,42 @@ void PythonQtWrapper_QGLFunctions::glDepthRangef(QGLFunctions* theWrappedObject, ( theWrappedObject->glDepthRangef(zNear, zFar)); } -void PythonQtWrapper_QGLFunctions::glDetachShader(QGLFunctions* theWrappedObject, GLuint program, GLuint shader) +void PythonQtWrapper_QGLFunctions::glDetachShader(QGLFunctions* theWrappedObject, uint program, uint shader) { ( theWrappedObject->glDetachShader(program, shader)); } -void PythonQtWrapper_QGLFunctions::glDisableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index) +void PythonQtWrapper_QGLFunctions::glDisableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) { ( theWrappedObject->glDisableVertexAttribArray(index)); } -void PythonQtWrapper_QGLFunctions::glEnableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index) +void PythonQtWrapper_QGLFunctions::glEnableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) { ( theWrappedObject->glEnableVertexAttribArray(index)); } -void PythonQtWrapper_QGLFunctions::glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) +void PythonQtWrapper_QGLFunctions::glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, uint renderbuffer) { ( theWrappedObject->glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)); } -void PythonQtWrapper_QGLFunctions::glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) +void PythonQtWrapper_QGLFunctions::glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, uint texture, GLint level) { ( theWrappedObject->glFramebufferTexture2D(target, attachment, textarget, texture, level)); } -void PythonQtWrapper_QGLFunctions::glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* buffers) +void PythonQtWrapper_QGLFunctions::glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* buffers) { ( theWrappedObject->glGenBuffers(n, buffers)); } -void PythonQtWrapper_QGLFunctions::glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* framebuffers) +void PythonQtWrapper_QGLFunctions::glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* framebuffers) { ( theWrappedObject->glGenFramebuffers(n, framebuffers)); } -void PythonQtWrapper_QGLFunctions::glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* renderbuffers) +void PythonQtWrapper_QGLFunctions::glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* renderbuffers) { ( theWrappedObject->glGenRenderbuffers(n, renderbuffers)); } @@ -1365,22 +1401,22 @@ void PythonQtWrapper_QGLFunctions::glGenerateMipmap(QGLFunctions* theWrappedObje ( theWrappedObject->glGenerateMipmap(target)); } -void PythonQtWrapper_QGLFunctions::glGetActiveAttrib(QGLFunctions* theWrappedObject, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) +void PythonQtWrapper_QGLFunctions::glGetActiveAttrib(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) { ( theWrappedObject->glGetActiveAttrib(program, index, bufsize, length, size, type, name)); } -void PythonQtWrapper_QGLFunctions::glGetActiveUniform(QGLFunctions* theWrappedObject, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) +void PythonQtWrapper_QGLFunctions::glGetActiveUniform(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) { ( theWrappedObject->glGetActiveUniform(program, index, bufsize, length, size, type, name)); } -void PythonQtWrapper_QGLFunctions::glGetAttachedShaders(QGLFunctions* theWrappedObject, GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) +void PythonQtWrapper_QGLFunctions::glGetAttachedShaders(QGLFunctions* theWrappedObject, uint program, GLsizei maxcount, GLsizei* count, uint* shaders) { ( theWrappedObject->glGetAttachedShaders(program, maxcount, count, shaders)); } -int PythonQtWrapper_QGLFunctions::glGetAttribLocation(QGLFunctions* theWrappedObject, GLuint program, const char* name) +int PythonQtWrapper_QGLFunctions::glGetAttribLocation(QGLFunctions* theWrappedObject, uint program, const char* name) { return ( theWrappedObject->glGetAttribLocation(program, name)); } @@ -1395,12 +1431,12 @@ void PythonQtWrapper_QGLFunctions::glGetFramebufferAttachmentParameteriv(QGLFunc ( theWrappedObject->glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)); } -void PythonQtWrapper_QGLFunctions::glGetProgramInfoLog(QGLFunctions* theWrappedObject, GLuint program, GLsizei bufsize, GLsizei* length, char* infolog) +void PythonQtWrapper_QGLFunctions::glGetProgramInfoLog(QGLFunctions* theWrappedObject, uint program, GLsizei bufsize, GLsizei* length, char* infolog) { ( theWrappedObject->glGetProgramInfoLog(program, bufsize, length, infolog)); } -void PythonQtWrapper_QGLFunctions::glGetProgramiv(QGLFunctions* theWrappedObject, GLuint program, GLenum pname, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetProgramiv(QGLFunctions* theWrappedObject, uint program, GLenum pname, GLint* params) { ( theWrappedObject->glGetProgramiv(program, pname, params)); } @@ -1410,7 +1446,7 @@ void PythonQtWrapper_QGLFunctions::glGetRenderbufferParameteriv(QGLFunctions* th ( theWrappedObject->glGetRenderbufferParameteriv(target, pname, params)); } -void PythonQtWrapper_QGLFunctions::glGetShaderInfoLog(QGLFunctions* theWrappedObject, GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog) +void PythonQtWrapper_QGLFunctions::glGetShaderInfoLog(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* infolog) { ( theWrappedObject->glGetShaderInfoLog(shader, bufsize, length, infolog)); } @@ -1420,72 +1456,72 @@ void PythonQtWrapper_QGLFunctions::glGetShaderPrecisionFormat(QGLFunctions* theW ( theWrappedObject->glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision)); } -void PythonQtWrapper_QGLFunctions::glGetShaderSource(QGLFunctions* theWrappedObject, GLuint shader, GLsizei bufsize, GLsizei* length, char* source) +void PythonQtWrapper_QGLFunctions::glGetShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* source) { ( theWrappedObject->glGetShaderSource(shader, bufsize, length, source)); } -void PythonQtWrapper_QGLFunctions::glGetShaderiv(QGLFunctions* theWrappedObject, GLuint shader, GLenum pname, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetShaderiv(QGLFunctions* theWrappedObject, uint shader, GLenum pname, GLint* params) { ( theWrappedObject->glGetShaderiv(shader, pname, params)); } -int PythonQtWrapper_QGLFunctions::glGetUniformLocation(QGLFunctions* theWrappedObject, GLuint program, const char* name) +int PythonQtWrapper_QGLFunctions::glGetUniformLocation(QGLFunctions* theWrappedObject, uint program, const char* name) { return ( theWrappedObject->glGetUniformLocation(program, name)); } -void PythonQtWrapper_QGLFunctions::glGetUniformfv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLfloat* params) +void PythonQtWrapper_QGLFunctions::glGetUniformfv(QGLFunctions* theWrappedObject, uint program, GLint location, GLfloat* params) { ( theWrappedObject->glGetUniformfv(program, location, params)); } -void PythonQtWrapper_QGLFunctions::glGetUniformiv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetUniformiv(QGLFunctions* theWrappedObject, uint program, GLint location, GLint* params) { ( theWrappedObject->glGetUniformiv(program, location, params)); } -void PythonQtWrapper_QGLFunctions::glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, void** pointer) +void PythonQtWrapper_QGLFunctions::glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, uint index, GLenum pname, void** pointer) { ( theWrappedObject->glGetVertexAttribPointerv(index, pname, pointer)); } -void PythonQtWrapper_QGLFunctions::glGetVertexAttribfv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLfloat* params) +void PythonQtWrapper_QGLFunctions::glGetVertexAttribfv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLfloat* params) { ( theWrappedObject->glGetVertexAttribfv(index, pname, params)); } -void PythonQtWrapper_QGLFunctions::glGetVertexAttribiv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetVertexAttribiv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLint* params) { ( theWrappedObject->glGetVertexAttribiv(index, pname, params)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsBuffer(QGLFunctions* theWrappedObject, GLuint buffer) +GLboolean PythonQtWrapper_QGLFunctions::glIsBuffer(QGLFunctions* theWrappedObject, uint buffer) { return ( theWrappedObject->glIsBuffer(buffer)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsFramebuffer(QGLFunctions* theWrappedObject, GLuint framebuffer) +GLboolean PythonQtWrapper_QGLFunctions::glIsFramebuffer(QGLFunctions* theWrappedObject, uint framebuffer) { return ( theWrappedObject->glIsFramebuffer(framebuffer)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsProgram(QGLFunctions* theWrappedObject, GLuint program) +GLboolean PythonQtWrapper_QGLFunctions::glIsProgram(QGLFunctions* theWrappedObject, uint program) { return ( theWrappedObject->glIsProgram(program)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsRenderbuffer(QGLFunctions* theWrappedObject, GLuint renderbuffer) +GLboolean PythonQtWrapper_QGLFunctions::glIsRenderbuffer(QGLFunctions* theWrappedObject, uint renderbuffer) { return ( theWrappedObject->glIsRenderbuffer(renderbuffer)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsShader(QGLFunctions* theWrappedObject, GLuint shader) +GLboolean PythonQtWrapper_QGLFunctions::glIsShader(QGLFunctions* theWrappedObject, uint shader) { return ( theWrappedObject->glIsShader(shader)); } -void PythonQtWrapper_QGLFunctions::glLinkProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glLinkProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glLinkProgram(program)); } @@ -1505,22 +1541,22 @@ void PythonQtWrapper_QGLFunctions::glSampleCoverage(QGLFunctions* theWrappedObje ( theWrappedObject->glSampleCoverage(value, invert)); } -void PythonQtWrapper_QGLFunctions::glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length) +void PythonQtWrapper_QGLFunctions::glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const uint* shaders, GLenum binaryformat, const void* binary, GLint length) { ( theWrappedObject->glShaderBinary(n, shaders, binaryformat, binary, length)); } -void PythonQtWrapper_QGLFunctions::glShaderSource(QGLFunctions* theWrappedObject, GLuint shader, GLsizei count, const char** string, const GLint* length) +void PythonQtWrapper_QGLFunctions::glShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei count, const char** string, const GLint* length) { ( theWrappedObject->glShaderSource(shader, count, string, length)); } -void PythonQtWrapper_QGLFunctions::glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, GLuint mask) +void PythonQtWrapper_QGLFunctions::glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, uint mask) { ( theWrappedObject->glStencilFuncSeparate(face, func, ref, mask)); } -void PythonQtWrapper_QGLFunctions::glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, GLuint mask) +void PythonQtWrapper_QGLFunctions::glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, uint mask) { ( theWrappedObject->glStencilMaskSeparate(face, mask)); } @@ -1625,57 +1661,57 @@ void PythonQtWrapper_QGLFunctions::glUniformMatrix4fv(QGLFunctions* theWrappedOb ( theWrappedObject->glUniformMatrix4fv(location, count, transpose, value)); } -void PythonQtWrapper_QGLFunctions::glUseProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glUseProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glUseProgram(program)); } -void PythonQtWrapper_QGLFunctions::glValidateProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glValidateProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glValidateProgram(program)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib1f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x) +void PythonQtWrapper_QGLFunctions::glVertexAttrib1f(QGLFunctions* theWrappedObject, uint indx, GLfloat x) { ( theWrappedObject->glVertexAttrib1f(indx, x)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib1fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib1fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib1fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib2f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y) +void PythonQtWrapper_QGLFunctions::glVertexAttrib2f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y) { ( theWrappedObject->glVertexAttrib2f(indx, x, y)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib2fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib2fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib2fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib3f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z) +void PythonQtWrapper_QGLFunctions::glVertexAttrib3f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z) { ( theWrappedObject->glVertexAttrib3f(indx, x, y, z)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib3fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib3fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib3fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib4f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void PythonQtWrapper_QGLFunctions::glVertexAttrib4f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { ( theWrappedObject->glVertexAttrib4f(indx, x, y, z, w)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib4fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib4fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib4fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttribPointer(QGLFunctions* theWrappedObject, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) +void PythonQtWrapper_QGLFunctions::glVertexAttribPointer(QGLFunctions* theWrappedObject, uint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) { ( theWrappedObject->glVertexAttribPointer(indx, size, type, normalized, stride, ptr)); } @@ -1712,19 +1748,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1744,9 +1780,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1767,19 +1803,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1800,19 +1836,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1833,19 +1869,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1866,19 +1902,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1896,22 +1932,22 @@ QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(int width, i { return new PythonQtShell_QGLPixelBuffer(width, height, format, shareWidget); } -GLuint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target) +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target) { return ( theWrappedObject->bindTexture(image, target)); } -GLuint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target) +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target) { return ( theWrappedObject->bindTexture(pixmap, target)); } -GLuint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) { return ( theWrappedObject->bindTexture(fileName)); } -bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture) +bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture) { return ( theWrappedObject->bindToDynamicTexture(texture)); } @@ -1921,7 +1957,7 @@ QGLContext* PythonQtWrapper_QGLPixelBuffer::context(QGLPixelBuffer* theWrappedO return ( theWrappedObject->context()); } -void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, GLuint texture_id) +void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) { ( theWrappedObject->deleteTexture(texture_id)); } @@ -1931,12 +1967,12 @@ bool PythonQtWrapper_QGLPixelBuffer::doneCurrent(QGLPixelBuffer* theWrappedObje return ( theWrappedObject->doneCurrent()); } -void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(point, textureId, textureTarget)); } -void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(target, textureId, textureTarget)); } @@ -1946,7 +1982,7 @@ QGLFormat PythonQtWrapper_QGLPixelBuffer::format(QGLPixelBuffer* theWrappedObje return ( theWrappedObject->format()); } -GLuint PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const +uint PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const { return ( theWrappedObject->generateDynamicTexture()); } @@ -1986,7 +2022,7 @@ QImage PythonQtWrapper_QGLPixelBuffer::toImage(QGLPixelBuffer* theWrappedObject return ( theWrappedObject->toImage()); } -void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture_id) const +void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const { ( theWrappedObject->updateDynamicTexture(texture_id)); } @@ -1997,6 +2033,138 @@ PythonQtShell_QGLShader::~PythonQtShell_QGLShader() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGLShader::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLShader::childEvent(event0); +} +void PythonQtShell_QGLShader::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLShader::customEvent(event0); +} +bool PythonQtShell_QGLShader::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLShader::event(event0); +} +bool PythonQtShell_QGLShader::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLShader::eventFilter(watched0, event1); +} +void PythonQtShell_QGLShader::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLShader::timerEvent(event0); +} QGLShader* PythonQtWrapper_QGLShader::new_QGLShader(QGLShader::ShaderType type, QObject* parent) { return new PythonQtShell_QGLShader(type, parent); } @@ -2053,7 +2221,7 @@ QString PythonQtWrapper_QGLShader::log(QGLShader* theWrappedObject) const return ( theWrappedObject->log()); } -GLuint PythonQtWrapper_QGLShader::shaderId(QGLShader* theWrappedObject) const +uint PythonQtWrapper_QGLShader::shaderId(QGLShader* theWrappedObject) const { return ( theWrappedObject->shaderId()); } @@ -2074,6 +2242,116 @@ PythonQtShell_QGLShaderProgram::~PythonQtShell_QGLShaderProgram() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLShaderProgram::childEvent(event0); +} +void PythonQtShell_QGLShaderProgram::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLShaderProgram::customEvent(event0); +} +bool PythonQtShell_QGLShaderProgram::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLShaderProgram::event(event0); +} +bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLShaderProgram::eventFilter(watched0, event1); +} bool PythonQtShell_QGLShaderProgram::link() { if (_wrapper) { @@ -2085,19 +2363,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2107,6 +2385,28 @@ if (_wrapper) { } return QGLShaderProgram::link(); } +void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLShaderProgram::timerEvent(event0); +} QGLShaderProgram* PythonQtWrapper_QGLShaderProgram::new_QGLShaderProgram(QObject* parent) { return new PythonQtShell_QGLShaderProgram(parent); } @@ -2248,7 +2548,7 @@ int PythonQtWrapper_QGLShaderProgram::maxGeometryOutputVertices(QGLShaderProgra return ( theWrappedObject->maxGeometryOutputVertices()); } -GLuint PythonQtWrapper_QGLShaderProgram::programId(QGLShaderProgram* theWrappedObject) const +uint PythonQtWrapper_QGLShaderProgram::programId(QGLShaderProgram* theWrappedObject) const { return ( theWrappedObject->programId()); } @@ -2508,6 +2808,11 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrap ( theWrappedObject->setUniformValue(name, value)); } +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, uint value) +{ + ( theWrappedObject->setUniformValue(name, value)); +} + void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value) { ( theWrappedObject->setUniformValue(location, value)); @@ -2583,6 +2888,11 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrap ( theWrappedObject->setUniformValue(location, value)); } +void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, uint value) +{ + ( theWrappedObject->setUniformValue(location, value)); +} + void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) { ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); @@ -2613,17 +2923,17 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* th ( theWrappedObject->setUniformValueArray(name, values, count)); } -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const uint* values, int count) { - ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); + ( theWrappedObject->setUniformValueArray(name, values, count)); } -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); } -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) { ( theWrappedObject->setUniformValueArray(location, values, count)); } @@ -2648,6 +2958,11 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* th ( theWrappedObject->setUniformValueArray(location, values, count)); } +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const uint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); +} + QList PythonQtWrapper_QGLShaderProgram::shaders(QGLShaderProgram* theWrappedObject) const { return ( theWrappedObject->shaders()); @@ -2669,3 +2984,1583 @@ int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrap } + +PythonQtShell_QGLWidget::~PythonQtShell_QGLWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGLWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::actionEvent(event0); +} +void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::changeEvent(arg__1); +} +void PythonQtShell_QGLWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::childEvent(event0); +} +void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::closeEvent(event0); +} +void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::contextMenuEvent(event0); +} +void PythonQtShell_QGLWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::customEvent(event0); +} +int PythonQtShell_QGLWidget::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::devType(); +} +void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::dragEnterEvent(event0); +} +void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::dragMoveEvent(event0); +} +void PythonQtShell_QGLWidget::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::dropEvent(event0); +} +void PythonQtShell_QGLWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::enterEvent(event0); +} +bool PythonQtShell_QGLWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::event(arg__1); +} +bool PythonQtShell_QGLWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::focusInEvent(event0); +} +bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::focusOutEvent(event0); +} +void PythonQtShell_QGLWidget::glDraw() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("glDraw"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::glDraw(); +} +void PythonQtShell_QGLWidget::glInit() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("glInit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::glInit(); +} +bool PythonQtShell_QGLWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::hasHeightForWidth(); +} +int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::heightForWidth(arg__1); +} +void PythonQtShell_QGLWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::hideEvent(event0); +} +void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::initPainter(painter0); +} +void PythonQtShell_QGLWidget::initializeGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::initializeGL(); +} +void PythonQtShell_QGLWidget::initializeOverlayGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeOverlayGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::initializeOverlayGL(); +} +void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::keyPressEvent(event0); +} +void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QGLWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::leaveEvent(event0); +} +int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::metric(arg__1); +} +QSize PythonQtShell_QGLWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::minimumSizeHint(); +} +void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::mousePressEvent(event0); +} +void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::mouseReleaseEvent(event0); +} +void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::moveEvent(event0); +} +bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::paintEngine(); +} +void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::paintEvent(arg__1); +} +void PythonQtShell_QGLWidget::paintGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::paintGL(); +} +void PythonQtShell_QGLWidget::paintOverlayGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintOverlayGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::paintOverlayGL(); +} +QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::redirected(offset0); +} +void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::resizeEvent(arg__1); +} +void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::resizeGL(w0, h1); +} +void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeOverlayGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::resizeOverlayGL(w0, h1); +} +void PythonQtShell_QGLWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QGLWidget::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::sharedPainter(); +} +void PythonQtShell_QGLWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::showEvent(event0); +} +QSize PythonQtShell_QGLWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGLWidget::sizeHint(); +} +void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::tabletEvent(event0); +} +void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::timerEvent(event0); +} +void PythonQtShell_QGLWidget::updateGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::updateGL(); +} +void PythonQtShell_QGLWidget::updateOverlayGL() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateOverlayGL"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::updateOverlayGL(); +} +void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGLWidget::wheelEvent(event0); +} +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); } + +const QMetaObject* PythonQtShell_QGLWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGLWidget::staticMetaObject); + } else { + return &QGLWidget::staticMetaObject; + } +} +int PythonQtShell_QGLWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGLWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QGLWidget::autoBufferSwap(QGLWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_autoBufferSwap()); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format) +{ + return ( theWrappedObject->bindTexture(image, target, format)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(image, target, format, options)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) +{ + return ( theWrappedObject->bindTexture(pixmap, target, format, options)); +} + +uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->bindTexture(fileName)); +} + +const QGLColormap* PythonQtWrapper_QGLWidget::colormap(QGLWidget* theWrappedObject) const +{ + return &( theWrappedObject->colormap()); +} + +QGLContext* PythonQtWrapper_QGLWidget::context(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +QImage PythonQtWrapper_QGLWidget::static_QGLWidget_convertToGLFormat(const QImage& img) +{ + return (QGLWidget::convertToGLFormat(img)); +} + +void PythonQtWrapper_QGLWidget::deleteTexture(QGLWidget* theWrappedObject, uint tx_id) +{ + ( theWrappedObject->deleteTexture(tx_id)); +} + +void PythonQtWrapper_QGLWidget::doneCurrent(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->doneCurrent()); +} + +bool PythonQtWrapper_QGLWidget::doubleBuffer(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->doubleBuffer()); +} + +void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(point, textureId, textureTarget)); +} + +void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) +{ + ( theWrappedObject->drawTexture(target, textureId, textureTarget)); +} + +QGLFormat PythonQtWrapper_QGLWidget::format(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QGLWidget::glDraw(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glDraw()); +} + +void PythonQtWrapper_QGLWidget::glInit(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glInit()); +} + +QImage PythonQtWrapper_QGLWidget::grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha) +{ + return ( theWrappedObject->grabFrameBuffer(withAlpha)); +} + +void PythonQtWrapper_QGLWidget::initializeGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeGL()); +} + +void PythonQtWrapper_QGLWidget::initializeOverlayGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeOverlayGL()); +} + +bool PythonQtWrapper_QGLWidget::isSharing(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->isSharing()); +} + +bool PythonQtWrapper_QGLWidget::isValid(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QGLWidget::makeCurrent(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->makeCurrent()); +} + +void PythonQtWrapper_QGLWidget::makeOverlayCurrent(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->makeOverlayCurrent()); +} + +const QGLContext* PythonQtWrapper_QGLWidget::overlayContext(QGLWidget* theWrappedObject) const +{ + return ( theWrappedObject->overlayContext()); +} + +void PythonQtWrapper_QGLWidget::paintGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintGL()); +} + +void PythonQtWrapper_QGLWidget::paintOverlayGL(QGLWidget* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintOverlayGL()); +} + +void PythonQtWrapper_QGLWidget::qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const +{ + ( theWrappedObject->qglClearColor(c)); +} + +void PythonQtWrapper_QGLWidget::qglColor(QGLWidget* theWrappedObject, const QColor& c) const +{ + ( theWrappedObject->qglColor(c)); +} + +QPixmap PythonQtWrapper_QGLWidget::renderPixmap(QGLWidget* theWrappedObject, int w, int h, bool useContext) +{ + return ( theWrappedObject->renderPixmap(w, h, useContext)); +} + +void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt) +{ + ( theWrappedObject->renderText(x, y, z, str, fnt)); +} + +void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt) +{ + ( theWrappedObject->renderText(x, y, str, fnt)); +} + +void PythonQtWrapper_QGLWidget::resizeGL(QGLWidget* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); +} + +void PythonQtWrapper_QGLWidget::resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeOverlayGL(w, h)); +} + +void PythonQtWrapper_QGLWidget::setAutoBufferSwap(QGLWidget* theWrappedObject, bool on) +{ + ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_setAutoBufferSwap(on)); +} + +void PythonQtWrapper_QGLWidget::setColormap(QGLWidget* theWrappedObject, const QGLColormap& map) +{ + ( theWrappedObject->setColormap(map)); +} + +void PythonQtWrapper_QGLWidget::swapBuffers(QGLWidget* theWrappedObject) +{ + ( theWrappedObject->swapBuffers()); +} + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h similarity index 66% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h index 588a35ad..a3f36f43 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h @@ -1,8 +1,19 @@ #include #include #include +#include #include +#include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include @@ -10,18 +21,39 @@ #include #include #include +#include +#include +#include #include +#include +#include +#include +#include +#include #include +#include +#include #include #include #include #include +#include +#include +#include #include +#include +#include +#include +#include +#include #include #include +#include #include #include #include +#include +#include @@ -39,11 +71,11 @@ public slots: QGLBuffer* new_QGLBuffer(); QGLBuffer* new_QGLBuffer(QGLBuffer::Type type); QGLBuffer* new_QGLBuffer(const QGLBuffer& other); -void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } +void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } void allocate(QGLBuffer* theWrappedObject, const void* data, int count); void allocate(QGLBuffer* theWrappedObject, int count); bool bind(QGLBuffer* theWrappedObject); - GLuint bufferId(QGLBuffer* theWrappedObject) const; + uint bufferId(QGLBuffer* theWrappedObject) const; bool create(QGLBuffer* theWrappedObject); void destroy(QGLBuffer* theWrappedObject); bool isCreated(QGLBuffer* theWrappedObject) const; @@ -67,13 +99,13 @@ void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } class PythonQtShell_QGLColormap : public QGLColormap { public: - PythonQtShell_QGLColormap():QGLColormap(),_wrapper(NULL) {}; - PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(NULL) {}; + PythonQtShell_QGLColormap():QGLColormap(),_wrapper(nullptr) {}; + PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(nullptr) {}; ~PythonQtShell_QGLColormap(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLColormap : public QGLColormap @@ -88,7 +120,7 @@ class PythonQtWrapper_QGLColormap : public QObject public slots: QGLColormap* new_QGLColormap(); QGLColormap* new_QGLColormap(const QGLColormap& arg__1); -void delete_QGLColormap(QGLColormap* obj) { delete obj; } +void delete_QGLColormap(QGLColormap* obj) { delete obj; } QColor entryColor(QGLColormap* theWrappedObject, int idx) const; unsigned int entryRgb(QGLColormap* theWrappedObject, int idx) const; int find(QGLColormap* theWrappedObject, unsigned int color) const; @@ -109,18 +141,18 @@ void delete_QGLColormap(QGLColormap* obj) { delete obj; } 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) {}; + PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(nullptr) {}; + PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(nullptr) {}; - ~PythonQtShell_QGLContext(); + ~PythonQtShell_QGLContext() override; -virtual bool chooseContext(const QGLContext* shareContext = nullptr); -virtual bool create(const QGLContext* shareContext = nullptr); -virtual void doneCurrent(); -virtual void makeCurrent(); -virtual void swapBuffers() const; +bool chooseContext(const QGLContext* shareContext = nullptr) override; +bool create(const QGLContext* shareContext = nullptr) override; +void doneCurrent() override; +void makeCurrent() override; +void swapBuffers() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLContext : public QGLContext @@ -151,13 +183,13 @@ Q_DECLARE_FLAGS(BindOptions, BindOption) public slots: QGLContext* new_QGLContext(const QGLFormat& format); QGLContext* new_QGLContext(const QGLFormat& format, QPaintDevice* device); -void delete_QGLContext(QGLContext* obj) { delete obj; } +void delete_QGLContext(QGLContext* obj) { delete obj; } bool static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2); - GLuint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); - GLuint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); - GLuint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); - GLuint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); - GLuint bindTexture(QGLContext* theWrappedObject, const QString& fileName); + uint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); + uint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); + uint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); + uint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); + uint bindTexture(QGLContext* theWrappedObject, const QString& fileName); bool chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr); bool py_q_chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr){ return (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_chooseContext(shareContext));} uint colorIndex(QGLContext* theWrappedObject, const QColor& c) const; @@ -165,13 +197,13 @@ void delete_QGLContext(QGLContext* obj) { delete obj; } bool create(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr); bool py_q_create(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr){ return (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_create(shareContext));} const QGLContext* static_QGLContext_currentContext(); - void deleteTexture(QGLContext* theWrappedObject, GLuint tx_id); + void deleteTexture(QGLContext* theWrappedObject, uint tx_id); QPaintDevice* device(QGLContext* theWrappedObject) const; bool deviceIsPixmap(QGLContext* theWrappedObject) const; void doneCurrent(QGLContext* theWrappedObject); void py_q_doneCurrent(QGLContext* theWrappedObject){ (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_doneCurrent());} - void drawTexture(QGLContext* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLContext* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLContext* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLContext* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); QGLFormat format(QGLContext* theWrappedObject) const; QGLContext* static_QGLContext_fromOpenGLContext(QOpenGLContext* platformContext); QGLFunctions* functions(QGLContext* theWrappedObject) const; @@ -214,7 +246,7 @@ public slots: QGLFormat* new_QGLFormat(); QGLFormat* new_QGLFormat(QGL::FormatOptions options, int plane = 0); QGLFormat* new_QGLFormat(const QGLFormat& other); -void delete_QGLFormat(QGLFormat* obj) { delete obj; } +void delete_QGLFormat(QGLFormat* obj) { delete obj; } bool accum(QGLFormat* theWrappedObject) const; int accumBufferSize(QGLFormat* theWrappedObject) const; bool alpha(QGLFormat* theWrappedObject) const; @@ -234,6 +266,7 @@ void delete_QGLFormat(QGLFormat* obj) { delete obj; } int majorVersion(QGLFormat* theWrappedObject) const; int minorVersion(QGLFormat* theWrappedObject) const; QGLFormat::OpenGLVersionFlags static_QGLFormat_openGLVersionFlags(); + bool __ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); bool __eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); int plane(QGLFormat* theWrappedObject) const; QGLFormat::OpenGLContextProfile profile(QGLFormat* theWrappedObject) const; @@ -282,23 +315,23 @@ void delete_QGLFormat(QGLFormat* obj) { delete obj; } class PythonQtShell_QGLFramebufferObject : public QGLFramebufferObject { public: - PythonQtShell_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(NULL) {}; - - ~PythonQtShell_QGLFramebufferObject(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLFramebufferObject() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLFramebufferObject : public QGLFramebufferObject @@ -323,16 +356,16 @@ QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, const QGLFram QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1); QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0); QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format); -void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } +void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const; bool bind(QGLFramebufferObject* theWrappedObject); bool static_QGLFramebufferObject_bindDefault(); void static_QGLFramebufferObject_blitFramebuffer(QGLFramebufferObject* target, const QRect& targetRect, QGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers = 0x00004000, GLenum filter = 0x2600); int py_q_devType(QGLFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_devType());} - void drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); QGLFramebufferObjectFormat format(QGLFramebufferObject* theWrappedObject) const; - GLuint handle(QGLFramebufferObject* theWrappedObject) const; + uint handle(QGLFramebufferObject* theWrappedObject) const; bool static_QGLFramebufferObject_hasOpenGLFramebufferBlit(); bool static_QGLFramebufferObject_hasOpenGLFramebufferObjects(); bool isBound(QGLFramebufferObject* theWrappedObject) const; @@ -341,7 +374,7 @@ void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } QPaintEngine* py_q_paintEngine(QGLFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_paintEngine());} bool release(QGLFramebufferObject* theWrappedObject); QSize size(QGLFramebufferObject* theWrappedObject) const; - GLuint texture(QGLFramebufferObject* theWrappedObject) const; + uint texture(QGLFramebufferObject* theWrappedObject) const; QImage toImage(QGLFramebufferObject* theWrappedObject) const; bool __nonzero__(QGLFramebufferObject* obj) { return obj->isValid(); } }; @@ -356,7 +389,7 @@ class PythonQtWrapper_QGLFramebufferObjectFormat : public QObject public slots: QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(); QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other); -void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } +void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } QGLFramebufferObject::Attachment attachment(QGLFramebufferObjectFormat* theWrappedObject) const; GLenum internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const; bool mipmap(QGLFramebufferObjectFormat* theWrappedObject) const; @@ -387,71 +420,71 @@ Q_DECLARE_FLAGS(OpenGLFeatures, OpenGLFeature) public slots: QGLFunctions* new_QGLFunctions(); QGLFunctions* new_QGLFunctions(const QGLContext* context); -void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } +void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } void glActiveTexture(QGLFunctions* theWrappedObject, GLenum texture); - void glAttachShader(QGLFunctions* theWrappedObject, GLuint program, GLuint shader); - void glBindAttribLocation(QGLFunctions* theWrappedObject, GLuint program, GLuint index, const char* name); - void glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint buffer); - void glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint framebuffer); - void glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint renderbuffer); + void glAttachShader(QGLFunctions* theWrappedObject, uint program, uint shader); + void glBindAttribLocation(QGLFunctions* theWrappedObject, uint program, uint index, const char* name); + void glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, uint buffer); + void glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, uint framebuffer); + void glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, uint renderbuffer); void glBlendColor(QGLFunctions* theWrappedObject, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); void glBlendEquation(QGLFunctions* theWrappedObject, GLenum mode); void glBlendEquationSeparate(QGLFunctions* theWrappedObject, GLenum modeRGB, GLenum modeAlpha); void glBlendFuncSeparate(QGLFunctions* theWrappedObject, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); GLenum glCheckFramebufferStatus(QGLFunctions* theWrappedObject, GLenum target); void glClearDepthf(QGLFunctions* theWrappedObject, GLclampf depth); - void glCompileShader(QGLFunctions* theWrappedObject, GLuint shader); + void glCompileShader(QGLFunctions* theWrappedObject, uint shader); void glCompressedTexImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); void glCompressedTexSubImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); - GLuint glCreateProgram(QGLFunctions* theWrappedObject); - GLuint glCreateShader(QGLFunctions* theWrappedObject, GLenum type); - void glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* buffers); - void glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* framebuffers); - void glDeleteProgram(QGLFunctions* theWrappedObject, GLuint program); - void glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* renderbuffers); - void glDeleteShader(QGLFunctions* theWrappedObject, GLuint shader); + uint glCreateProgram(QGLFunctions* theWrappedObject); + uint glCreateShader(QGLFunctions* theWrappedObject, GLenum type); + void glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* buffers); + void glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* framebuffers); + void glDeleteProgram(QGLFunctions* theWrappedObject, uint program); + void glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* renderbuffers); + void glDeleteShader(QGLFunctions* theWrappedObject, uint shader); void glDepthRangef(QGLFunctions* theWrappedObject, GLclampf zNear, GLclampf zFar); - void glDetachShader(QGLFunctions* theWrappedObject, GLuint program, GLuint shader); - void glDisableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index); - void glEnableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index); - void glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); - void glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); - void glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* buffers); - void glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* framebuffers); - void glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* renderbuffers); + void glDetachShader(QGLFunctions* theWrappedObject, uint program, uint shader); + void glDisableVertexAttribArray(QGLFunctions* theWrappedObject, uint index); + void glEnableVertexAttribArray(QGLFunctions* theWrappedObject, uint index); + void glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, uint renderbuffer); + void glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, uint texture, GLint level); + void glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* buffers); + void glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* framebuffers); + void glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* renderbuffers); void glGenerateMipmap(QGLFunctions* theWrappedObject, GLenum target); - void glGetActiveAttrib(QGLFunctions* theWrappedObject, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); - void glGetActiveUniform(QGLFunctions* theWrappedObject, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); - void glGetAttachedShaders(QGLFunctions* theWrappedObject, GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); - int glGetAttribLocation(QGLFunctions* theWrappedObject, GLuint program, const char* name); + void glGetActiveAttrib(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); + void glGetActiveUniform(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); + void glGetAttachedShaders(QGLFunctions* theWrappedObject, uint program, GLsizei maxcount, GLsizei* count, uint* shaders); + int glGetAttribLocation(QGLFunctions* theWrappedObject, uint program, const char* name); void glGetBufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params); void glGetFramebufferAttachmentParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum pname, GLint* params); - void glGetProgramInfoLog(QGLFunctions* theWrappedObject, GLuint program, GLsizei bufsize, GLsizei* length, char* infolog); - void glGetProgramiv(QGLFunctions* theWrappedObject, GLuint program, GLenum pname, GLint* params); + void glGetProgramInfoLog(QGLFunctions* theWrappedObject, uint program, GLsizei bufsize, GLsizei* length, char* infolog); + void glGetProgramiv(QGLFunctions* theWrappedObject, uint program, GLenum pname, GLint* params); void glGetRenderbufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params); - void glGetShaderInfoLog(QGLFunctions* theWrappedObject, GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog); + void glGetShaderInfoLog(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* infolog); void glGetShaderPrecisionFormat(QGLFunctions* theWrappedObject, GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); - void glGetShaderSource(QGLFunctions* theWrappedObject, GLuint shader, GLsizei bufsize, GLsizei* length, char* source); - void glGetShaderiv(QGLFunctions* theWrappedObject, GLuint shader, GLenum pname, GLint* params); - int glGetUniformLocation(QGLFunctions* theWrappedObject, GLuint program, const char* name); - void glGetUniformfv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLfloat* params); - void glGetUniformiv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLint* params); - void glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, void** pointer); - void glGetVertexAttribfv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLfloat* params); - void glGetVertexAttribiv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLint* params); - GLboolean glIsBuffer(QGLFunctions* theWrappedObject, GLuint buffer); - GLboolean glIsFramebuffer(QGLFunctions* theWrappedObject, GLuint framebuffer); - GLboolean glIsProgram(QGLFunctions* theWrappedObject, GLuint program); - GLboolean glIsRenderbuffer(QGLFunctions* theWrappedObject, GLuint renderbuffer); - GLboolean glIsShader(QGLFunctions* theWrappedObject, GLuint shader); - void glLinkProgram(QGLFunctions* theWrappedObject, GLuint program); + void glGetShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* source); + void glGetShaderiv(QGLFunctions* theWrappedObject, uint shader, GLenum pname, GLint* params); + int glGetUniformLocation(QGLFunctions* theWrappedObject, uint program, const char* name); + void glGetUniformfv(QGLFunctions* theWrappedObject, uint program, GLint location, GLfloat* params); + void glGetUniformiv(QGLFunctions* theWrappedObject, uint program, GLint location, GLint* params); + void glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, uint index, GLenum pname, void** pointer); + void glGetVertexAttribfv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLfloat* params); + void glGetVertexAttribiv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLint* params); + GLboolean glIsBuffer(QGLFunctions* theWrappedObject, uint buffer); + GLboolean glIsFramebuffer(QGLFunctions* theWrappedObject, uint framebuffer); + GLboolean glIsProgram(QGLFunctions* theWrappedObject, uint program); + GLboolean glIsRenderbuffer(QGLFunctions* theWrappedObject, uint renderbuffer); + GLboolean glIsShader(QGLFunctions* theWrappedObject, uint shader); + void glLinkProgram(QGLFunctions* theWrappedObject, uint program); void glReleaseShaderCompiler(QGLFunctions* theWrappedObject); void glRenderbufferStorage(QGLFunctions* theWrappedObject, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); void glSampleCoverage(QGLFunctions* theWrappedObject, GLclampf value, GLboolean invert); - void glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length); - void glShaderSource(QGLFunctions* theWrappedObject, GLuint shader, GLsizei count, const char** string, const GLint* length); - void glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, GLuint mask); - void glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, GLuint mask); + void glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const uint* shaders, GLenum binaryformat, const void* binary, GLint length); + void glShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei count, const char** string, const GLint* length); + void glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, uint mask); + void glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, uint mask); void glStencilOpSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum fail, GLenum zfail, GLenum zpass); void glUniform1f(QGLFunctions* theWrappedObject, GLint location, GLfloat x); void glUniform1fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); @@ -472,17 +505,17 @@ void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } void glUniformMatrix2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); void glUniformMatrix3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); void glUniformMatrix4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); - void glUseProgram(QGLFunctions* theWrappedObject, GLuint program); - void glValidateProgram(QGLFunctions* theWrappedObject, GLuint program); - void glVertexAttrib1f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x); - void glVertexAttrib1fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttrib2f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y); - void glVertexAttrib2fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttrib3f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z); - void glVertexAttrib3fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttrib4f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void glVertexAttrib4fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttribPointer(QGLFunctions* theWrappedObject, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); + void glUseProgram(QGLFunctions* theWrappedObject, uint program); + void glValidateProgram(QGLFunctions* theWrappedObject, uint program); + void glVertexAttrib1f(QGLFunctions* theWrappedObject, uint indx, GLfloat x); + void glVertexAttrib1fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttrib2f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y); + void glVertexAttrib2fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttrib3f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z); + void glVertexAttrib3fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttrib4f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void glVertexAttrib4fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); + void glVertexAttribPointer(QGLFunctions* theWrappedObject, uint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); bool hasOpenGLFeature(QGLFunctions* theWrappedObject, QGLFunctions::OpenGLFeature feature) const; void initializeGLFunctions(QGLFunctions* theWrappedObject, const QGLContext* context = nullptr); QGLFunctions::OpenGLFeatures openGLFeatures(QGLFunctions* theWrappedObject) const; @@ -495,19 +528,19 @@ void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer { public: - PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(size, format, shareWidget),_wrapper(NULL) {}; - PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(NULL) {}; + PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(size, format, shareWidget),_wrapper(nullptr) {}; + PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(nullptr) {}; - ~PythonQtShell_QGLPixelBuffer(); + ~PythonQtShell_QGLPixelBuffer() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer @@ -525,19 +558,19 @@ class PythonQtWrapper_QGLPixelBuffer : public QObject public slots: QGLPixelBuffer* new_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); QGLPixelBuffer* new_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); -void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } - GLuint bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target = 0x0DE1); - GLuint bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1); - GLuint bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName); - bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture); +void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } + uint bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target = 0x0DE1); + uint bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1); + uint bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName); + bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture); QGLContext* context(QGLPixelBuffer* theWrappedObject) const; - void deleteTexture(QGLPixelBuffer* theWrappedObject, GLuint texture_id); + void deleteTexture(QGLPixelBuffer* theWrappedObject, uint texture_id); int py_q_devType(QGLPixelBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->py_q_devType());} bool doneCurrent(QGLPixelBuffer* theWrappedObject); - void drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); QGLFormat format(QGLPixelBuffer* theWrappedObject) const; - GLuint generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; + uint generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; Qt::HANDLE handle(QGLPixelBuffer* theWrappedObject) const; bool static_QGLPixelBuffer_hasOpenGLPbuffers(); bool isValid(QGLPixelBuffer* theWrappedObject) const; @@ -547,7 +580,7 @@ void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } void releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject); QSize size(QGLPixelBuffer* theWrappedObject) const; QImage toImage(QGLPixelBuffer* theWrappedObject) const; - void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture_id) const; + void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const; bool __nonzero__(QGLPixelBuffer* obj) { return obj->isValid(); } }; @@ -558,15 +591,20 @@ void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } class PythonQtShell_QGLShader : public QGLShader { public: - PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr):QGLShader(type, parent),_wrapper(NULL) {}; - PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr):QGLShader(type, context, parent),_wrapper(NULL) {}; + PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr):QGLShader(type, parent),_wrapper(nullptr) {}; + PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr):QGLShader(type, context, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGLShader(); + ~PythonQtShell_QGLShader() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QGLShader : public QObject @@ -580,7 +618,7 @@ Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) public slots: QGLShader* new_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr); QGLShader* new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShader(QGLShader* obj) { delete obj; } +void delete_QGLShader(QGLShader* obj) { delete obj; } bool compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source); bool compileSourceCode(QGLShader* theWrappedObject, const QString& source); bool compileSourceCode(QGLShader* theWrappedObject, const char* source); @@ -588,7 +626,7 @@ void delete_QGLShader(QGLShader* obj) { delete obj; } bool static_QGLShader_hasOpenGLShaders(QGLShader::ShaderType type, const QGLContext* context = nullptr); bool isCompiled(QGLShader* theWrappedObject) const; QString log(QGLShader* theWrappedObject) const; - GLuint shaderId(QGLShader* theWrappedObject) const; + uint shaderId(QGLShader* theWrappedObject) const; QGLShader::ShaderType shaderType(QGLShader* theWrappedObject) const; QByteArray sourceCode(QGLShader* theWrappedObject) const; }; @@ -600,16 +638,21 @@ void delete_QGLShader(QGLShader* obj) { delete obj; } class PythonQtShell_QGLShaderProgram : public QGLShaderProgram { public: - PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(NULL) {}; - PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(NULL) {}; + PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(nullptr) {}; + PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGLShaderProgram(); + ~PythonQtShell_QGLShaderProgram() override; -virtual bool link(); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool link() override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLShaderProgram : public QGLShaderProgram @@ -623,7 +666,7 @@ class PythonQtWrapper_QGLShaderProgram : public QObject public slots: QGLShaderProgram* new_QGLShaderProgram(QObject* parent = nullptr); QGLShaderProgram* new_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } +void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } bool addShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QByteArray& source); bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& source); @@ -649,7 +692,7 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } bool py_q_link(QGLShaderProgram* theWrappedObject){ return (((PythonQtPublicPromoter_QGLShaderProgram*)theWrappedObject)->py_q_link());} QString log(QGLShaderProgram* theWrappedObject) const; int maxGeometryOutputVertices(QGLShaderProgram* theWrappedObject) const; - GLuint programId(QGLShaderProgram* theWrappedObject) const; + uint programId(QGLShaderProgram* theWrappedObject) const; void release(QGLShaderProgram* theWrappedObject); void removeAllShaders(QGLShaderProgram* theWrappedObject); void removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); @@ -701,6 +744,7 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, uint value); void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value); void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); @@ -716,19 +760,21 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value); void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value); void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value); + void setUniformValue(QGLShaderProgram* theWrappedObject, int location, uint value); void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize); void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const uint* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize); void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count); - void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count); void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count); + void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const uint* values, int count); QList shaders(QGLShaderProgram* theWrappedObject) const; int uniformLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const; int uniformLocation(QGLShaderProgram* theWrappedObject, const QString& name) const; @@ -736,3 +782,170 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } }; + + + +class PythonQtShell_QGLWidget : public QGLWidget +{ +public: + PythonQtShell_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(context, parent, shareWidget, f),_wrapper(nullptr) {}; + PythonQtShell_QGLWidget(QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(parent, shareWidget, f),_wrapper(nullptr) {}; + PythonQtShell_QGLWidget(const QGLFormat& format, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(format, parent, shareWidget, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +void glDraw() override; +void glInit() override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializeGL() override; +void initializeOverlayGL() override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +void paintGL() override; +void paintOverlayGL() override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void resizeGL(int w, int h) override; +void resizeOverlayGL(int w, int h) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateGL() override; +void updateOverlayGL() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGLWidget : public QGLWidget +{ public: +inline bool promoted_autoBufferSwap() const { return this->autoBufferSwap(); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_glDraw() { this->glDraw(); } +inline void promoted_glInit() { this->glInit(); } +inline void promoted_initializeGL() { this->initializeGL(); } +inline void promoted_initializeOverlayGL() { this->initializeOverlayGL(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_paintGL() { this->paintGL(); } +inline void promoted_paintOverlayGL() { this->paintOverlayGL(); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_resizeGL(int w, int h) { this->resizeGL(w, h); } +inline void promoted_resizeOverlayGL(int w, int h) { this->resizeOverlayGL(w, h); } +inline void promoted_setAutoBufferSwap(bool on) { this->setAutoBufferSwap(on); } +inline bool py_q_event(QEvent* arg__1) { return QGLWidget::event(arg__1); } +inline void py_q_glDraw() { QGLWidget::glDraw(); } +inline void py_q_glInit() { QGLWidget::glInit(); } +inline void py_q_initializeGL() { QGLWidget::initializeGL(); } +inline void py_q_initializeOverlayGL() { QGLWidget::initializeOverlayGL(); } +inline QPaintEngine* py_q_paintEngine() const { return QGLWidget::paintEngine(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QGLWidget::paintEvent(arg__1); } +inline void py_q_paintGL() { QGLWidget::paintGL(); } +inline void py_q_paintOverlayGL() { QGLWidget::paintOverlayGL(); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QGLWidget::resizeEvent(arg__1); } +inline void py_q_resizeGL(int w, int h) { QGLWidget::resizeGL(w, h); } +inline void py_q_resizeOverlayGL(int w, int h) { QGLWidget::resizeOverlayGL(w, h); } +inline void py_q_updateGL() { QGLWidget::updateGL(); } +inline void py_q_updateOverlayGL() { QGLWidget::updateOverlayGL(); } +}; + +class PythonQtWrapper_QGLWidget : public QObject +{ Q_OBJECT +public: +public slots: +QGLWidget* new_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); +QGLWidget* new_QGLWidget(QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); +QGLWidget* new_QGLWidget(const QGLFormat& format, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); +void delete_QGLWidget(QGLWidget* obj) { delete obj; } + bool autoBufferSwap(QGLWidget* theWrappedObject) const; + uint bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); + uint bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); + uint bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); + uint bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); + uint bindTexture(QGLWidget* theWrappedObject, const QString& fileName); + const QGLColormap* colormap(QGLWidget* theWrappedObject) const; + QGLContext* context(QGLWidget* theWrappedObject) const; + QImage static_QGLWidget_convertToGLFormat(const QImage& img); + void deleteTexture(QGLWidget* theWrappedObject, uint tx_id); + void doneCurrent(QGLWidget* theWrappedObject); + bool doubleBuffer(QGLWidget* theWrappedObject) const; + void drawTexture(QGLWidget* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); + void drawTexture(QGLWidget* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); + bool py_q_event(QGLWidget* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_event(arg__1));} + QGLFormat format(QGLWidget* theWrappedObject) const; + void glDraw(QGLWidget* theWrappedObject); + void py_q_glDraw(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_glDraw());} + void glInit(QGLWidget* theWrappedObject); + void py_q_glInit(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_glInit());} + QImage grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha = false); + void initializeGL(QGLWidget* theWrappedObject); + void py_q_initializeGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_initializeGL());} + void initializeOverlayGL(QGLWidget* theWrappedObject); + void py_q_initializeOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_initializeOverlayGL());} + bool isSharing(QGLWidget* theWrappedObject) const; + bool isValid(QGLWidget* theWrappedObject) const; + void makeCurrent(QGLWidget* theWrappedObject); + void makeOverlayCurrent(QGLWidget* theWrappedObject); + const QGLContext* overlayContext(QGLWidget* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QGLWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintEngine());} + void py_q_paintEvent(QGLWidget* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintEvent(arg__1));} + void paintGL(QGLWidget* theWrappedObject); + void py_q_paintGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintGL());} + void paintOverlayGL(QGLWidget* theWrappedObject); + void py_q_paintOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintOverlayGL());} + void qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const; + void qglColor(QGLWidget* theWrappedObject, const QColor& c) const; + QPixmap renderPixmap(QGLWidget* theWrappedObject, int w = 0, int h = 0, bool useContext = false); + void renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt = QFont()); + void renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt = QFont()); + void py_q_resizeEvent(QGLWidget* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void resizeGL(QGLWidget* theWrappedObject, int w, int h); + void py_q_resizeGL(QGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeGL(w, h));} + void resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h); + void py_q_resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeOverlayGL(w, h));} + void setAutoBufferSwap(QGLWidget* theWrappedObject, bool on); + void setColormap(QGLWidget* theWrappedObject, const QGLColormap& map); + void swapBuffers(QGLWidget* theWrappedObject); + void py_q_updateGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_updateGL());} + void py_q_updateOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_updateOverlayGL());} + bool __nonzero__(QGLWidget* obj) { return obj->isValid(); } +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp similarity index 79% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp index dd587419..ffde511f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp @@ -5,18 +5,19 @@ void PythonQt_init_QtOpenGL(PyObject* module) { -PythonQt::priv()->registerCPPClass("QGLBuffer", "", "QtOpenGL", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGLBuffer", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGLColormap", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QGLContext", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QGLFormat", "", "QtOpenGL", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGLFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QGLFramebufferObject", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QGLFramebufferObject", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QGLFunctions", "", "QtOpenGL", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGLFunctions", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGLPixelBuffer", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QGLPixelBuffer", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QGLShader::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGLShaderProgram::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QGLWidget::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); } diff --git a/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml.pri b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml.pri new file mode 100644 index 00000000..7f02ea66 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_qml0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_qml0.cpp \ + $$PWD/com_trolltech_qt_qml_init.cpp diff --git a/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp new file mode 100644 index 00000000..5f07f592 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp @@ -0,0 +1,3469 @@ +#include "com_trolltech_qt_qml0.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 + +PythonQtShell_QJSEngine::~PythonQtShell_QJSEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QJSEngine::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QJSEngine::childEvent(event0); +} +void PythonQtShell_QJSEngine::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QJSEngine::customEvent(event0); +} +bool PythonQtShell_QJSEngine::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QJSEngine::event(event0); +} +bool PythonQtShell_QJSEngine::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QJSEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QJSEngine::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QJSEngine::timerEvent(event0); +} +QJSEngine* PythonQtWrapper_QJSEngine::new_QJSEngine() +{ +return new PythonQtShell_QJSEngine(); } + +QJSEngine* PythonQtWrapper_QJSEngine::new_QJSEngine(QObject* parent) +{ +return new PythonQtShell_QJSEngine(parent); } + +const QMetaObject* PythonQtShell_QJSEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QJSEngine::staticMetaObject); + } else { + return &QJSEngine::staticMetaObject; + } +} +int PythonQtShell_QJSEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QJSEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QJSEngine::collectGarbage(QJSEngine* theWrappedObject) +{ + ( theWrappedObject->collectGarbage()); +} + +QJSValue PythonQtWrapper_QJSEngine::evaluate(QJSEngine* theWrappedObject, const QString& program, const QString& fileName, int lineNumber) +{ + return ( theWrappedObject->evaluate(program, fileName, lineNumber)); +} + +QJSValue PythonQtWrapper_QJSEngine::globalObject(QJSEngine* theWrappedObject) const +{ + return ( theWrappedObject->globalObject()); +} + +QJSValue PythonQtWrapper_QJSEngine::importModule(QJSEngine* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->importModule(fileName)); +} + +void PythonQtWrapper_QJSEngine::installTranslatorFunctions(QJSEngine* theWrappedObject, const QJSValue& object) +{ + ( theWrappedObject->installTranslatorFunctions(object)); +} + +bool PythonQtWrapper_QJSEngine::isInterrupted(QJSEngine* theWrappedObject) const +{ + return ( theWrappedObject->isInterrupted()); +} + +QJSValue PythonQtWrapper_QJSEngine::newArray(QJSEngine* theWrappedObject, uint length) +{ + return ( theWrappedObject->newArray(length)); +} + +QJSValue PythonQtWrapper_QJSEngine::newErrorObject(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message) +{ + return ( theWrappedObject->newErrorObject(errorType, message)); +} + +QJSValue PythonQtWrapper_QJSEngine::newObject(QJSEngine* theWrappedObject) +{ + return ( theWrappedObject->newObject()); +} + +QJSValue PythonQtWrapper_QJSEngine::newQMetaObject(QJSEngine* theWrappedObject, const QMetaObject* metaObject) +{ + return ( theWrappedObject->newQMetaObject(metaObject)); +} + +QJSValue PythonQtWrapper_QJSEngine::newQObject(QJSEngine* theWrappedObject, QObject* object) +{ + return ( theWrappedObject->newQObject(object)); +} + +void PythonQtWrapper_QJSEngine::setInterrupted(QJSEngine* theWrappedObject, bool interrupted) +{ + ( theWrappedObject->setInterrupted(interrupted)); +} + +void PythonQtWrapper_QJSEngine::setUiLanguage(QJSEngine* theWrappedObject, const QString& language) +{ + ( theWrappedObject->setUiLanguage(language)); +} + +void PythonQtWrapper_QJSEngine::throwError(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message) +{ + ( theWrappedObject->throwError(errorType, message)); +} + +void PythonQtWrapper_QJSEngine::throwError(QJSEngine* theWrappedObject, const QString& message) +{ + ( theWrappedObject->throwError(message)); +} + +QString PythonQtWrapper_QJSEngine::uiLanguage(QJSEngine* theWrappedObject) const +{ + return ( theWrappedObject->uiLanguage()); +} + + + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(QJSValue::SpecialValue value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(bool value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QJSValue& other) +{ +return new QJSValue(other); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QLatin1String& value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QString& value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const char* str) +{ +return new QJSValue(str); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(double value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(int value) +{ +return new QJSValue(value); } + +QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(uint value) +{ +return new QJSValue(value); } + +QJSValue PythonQtWrapper_QJSValue::call(QJSValue* theWrappedObject, const QList& args) +{ + return ( theWrappedObject->call(args)); +} + +QJSValue PythonQtWrapper_QJSValue::callAsConstructor(QJSValue* theWrappedObject, const QList& args) +{ + return ( theWrappedObject->callAsConstructor(args)); +} + +QJSValue PythonQtWrapper_QJSValue::callWithInstance(QJSValue* theWrappedObject, const QJSValue& instance, const QList& args) +{ + return ( theWrappedObject->callWithInstance(instance, args)); +} + +bool PythonQtWrapper_QJSValue::deleteProperty(QJSValue* theWrappedObject, const QString& name) +{ + return ( theWrappedObject->deleteProperty(name)); +} + +QJSEngine* PythonQtWrapper_QJSValue::engine(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +bool PythonQtWrapper_QJSValue::equals(QJSValue* theWrappedObject, const QJSValue& other) const +{ + return ( theWrappedObject->equals(other)); +} + +QJSValue::ErrorType PythonQtWrapper_QJSValue::errorType(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->errorType()); +} + +bool PythonQtWrapper_QJSValue::hasOwnProperty(QJSValue* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasOwnProperty(name)); +} + +bool PythonQtWrapper_QJSValue::hasProperty(QJSValue* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasProperty(name)); +} + +bool PythonQtWrapper_QJSValue::isArray(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isArray()); +} + +bool PythonQtWrapper_QJSValue::isBool(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isBool()); +} + +bool PythonQtWrapper_QJSValue::isCallable(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isCallable()); +} + +bool PythonQtWrapper_QJSValue::isDate(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isDate()); +} + +bool PythonQtWrapper_QJSValue::isError(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QJSValue::isNull(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QJSValue::isNumber(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isNumber()); +} + +bool PythonQtWrapper_QJSValue::isObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isObject()); +} + +bool PythonQtWrapper_QJSValue::isQMetaObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isQMetaObject()); +} + +bool PythonQtWrapper_QJSValue::isQObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isQObject()); +} + +bool PythonQtWrapper_QJSValue::isRegExp(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isRegExp()); +} + +bool PythonQtWrapper_QJSValue::isString(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isString()); +} + +bool PythonQtWrapper_QJSValue::isUndefined(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isUndefined()); +} + +bool PythonQtWrapper_QJSValue::isVariant(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->isVariant()); +} + +QJSValue* PythonQtWrapper_QJSValue::operator_assign(QJSValue* theWrappedObject, const QJSValue& other) +{ + return &( (*theWrappedObject)= other); +} + +QJSValue PythonQtWrapper_QJSValue::property(QJSValue* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->property(name)); +} + +QJSValue PythonQtWrapper_QJSValue::property(QJSValue* theWrappedObject, unsigned int arrayIndex) const +{ + return ( theWrappedObject->property(arrayIndex)); +} + +QJSValue PythonQtWrapper_QJSValue::prototype(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->prototype()); +} + +void PythonQtWrapper_QJSValue::setProperty(QJSValue* theWrappedObject, const QString& name, const QJSValue& value) +{ + ( theWrappedObject->setProperty(name, value)); +} + +void PythonQtWrapper_QJSValue::setProperty(QJSValue* theWrappedObject, unsigned int arrayIndex, const QJSValue& value) +{ + ( theWrappedObject->setProperty(arrayIndex, value)); +} + +void PythonQtWrapper_QJSValue::setPrototype(QJSValue* theWrappedObject, const QJSValue& prototype) +{ + ( theWrappedObject->setPrototype(prototype)); +} + +bool PythonQtWrapper_QJSValue::strictlyEquals(QJSValue* theWrappedObject, const QJSValue& other) const +{ + return ( theWrappedObject->strictlyEquals(other)); +} + +bool PythonQtWrapper_QJSValue::toBool(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toBool()); +} + +QDateTime PythonQtWrapper_QJSValue::toDateTime(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toDateTime()); +} + +int PythonQtWrapper_QJSValue::toInt(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toInt()); +} + +double PythonQtWrapper_QJSValue::toNumber(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toNumber()); +} + +const QMetaObject* PythonQtWrapper_QJSValue::toQMetaObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toQMetaObject()); +} + +QObject* PythonQtWrapper_QJSValue::toQObject(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toQObject()); +} + +QString PythonQtWrapper_QJSValue::toString(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +unsigned int PythonQtWrapper_QJSValue::toUInt(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toUInt()); +} + +QVariant PythonQtWrapper_QJSValue::toVariant(QJSValue* theWrappedObject) const +{ + return ( theWrappedObject->toVariant()); +} + +QString PythonQtWrapper_QJSValue::py_toString(QJSValue* obj) { return obj->toString(); } + + +PythonQtShell_QQmlAbstractUrlInterceptor::~PythonQtShell_QQmlAbstractUrlInterceptor() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QUrl PythonQtShell_QQmlAbstractUrlInterceptor::intercept(const QUrl& path0, QQmlAbstractUrlInterceptor::DataType type1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("intercept"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QUrl&" , "QQmlAbstractUrlInterceptor::DataType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QUrl returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&type1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("intercept", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QQmlAbstractUrlInterceptor* PythonQtWrapper_QQmlAbstractUrlInterceptor::new_QQmlAbstractUrlInterceptor() +{ +return new PythonQtShell_QQmlAbstractUrlInterceptor(); } + +QUrl PythonQtWrapper_QQmlAbstractUrlInterceptor::intercept(QQmlAbstractUrlInterceptor* theWrappedObject, const QUrl& path, QQmlAbstractUrlInterceptor::DataType type) +{ + return ( theWrappedObject->intercept(path, type)); +} + + + +PythonQtShell_QQmlApplicationEngine::~PythonQtShell_QQmlApplicationEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlApplicationEngine::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlApplicationEngine::childEvent(event0); +} +void PythonQtShell_QQmlApplicationEngine::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlApplicationEngine::customEvent(event0); +} +bool PythonQtShell_QQmlApplicationEngine::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlApplicationEngine::event(arg__1); +} +bool PythonQtShell_QQmlApplicationEngine::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlApplicationEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlApplicationEngine::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlApplicationEngine::timerEvent(event0); +} +QQmlApplicationEngine* PythonQtWrapper_QQmlApplicationEngine::new_QQmlApplicationEngine(QObject* parent) +{ +return new PythonQtShell_QQmlApplicationEngine(parent); } + +QQmlApplicationEngine* PythonQtWrapper_QQmlApplicationEngine::new_QQmlApplicationEngine(const QString& filePath, QObject* parent) +{ +return new PythonQtShell_QQmlApplicationEngine(filePath, parent); } + +QQmlApplicationEngine* PythonQtWrapper_QQmlApplicationEngine::new_QQmlApplicationEngine(const QUrl& url, QObject* parent) +{ +return new PythonQtShell_QQmlApplicationEngine(url, parent); } + +const QMetaObject* PythonQtShell_QQmlApplicationEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlApplicationEngine::staticMetaObject); + } else { + return &QQmlApplicationEngine::staticMetaObject; + } +} +int PythonQtShell_QQmlApplicationEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlApplicationEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QList PythonQtWrapper_QQmlApplicationEngine::rootObjects(QQmlApplicationEngine* theWrappedObject) +{ + return ( theWrappedObject->rootObjects()); +} + +QList PythonQtWrapper_QQmlApplicationEngine::rootObjects(QQmlApplicationEngine* theWrappedObject) const +{ + return ( theWrappedObject->rootObjects()); +} + + + +PythonQtShell_QQmlComponent::~PythonQtShell_QQmlComponent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QObject* PythonQtShell_QQmlComponent::beginCreate(QQmlContext* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("beginCreate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*" , "QQmlContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QObject* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("beginCreate", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlComponent::beginCreate(arg__1); +} +void PythonQtShell_QQmlComponent::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlComponent::childEvent(event0); +} +void PythonQtShell_QQmlComponent::completeCreate() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("completeCreate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlComponent::completeCreate(); +} +QObject* PythonQtShell_QQmlComponent::create(QQmlContext* context0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*" , "QQmlContext*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QObject* returnValue{}; + void* args[2] = {nullptr, (void*)&context0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlComponent::create(context0); +} +void PythonQtShell_QQmlComponent::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlComponent::customEvent(event0); +} +bool PythonQtShell_QQmlComponent::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlComponent::event(event0); +} +bool PythonQtShell_QQmlComponent::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlComponent::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlComponent::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlComponent::timerEvent(event0); +} +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QObject* parent) +{ +return new PythonQtShell_QQmlComponent(parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, fileName, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent::CompilationMode mode, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, fileName, mode, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, url, parent); } + +QQmlComponent* PythonQtWrapper_QQmlComponent::new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QQmlComponent::CompilationMode mode, QObject* parent) +{ +return new PythonQtShell_QQmlComponent(arg__1, url, mode, parent); } + +const QMetaObject* PythonQtShell_QQmlComponent::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlComponent::staticMetaObject); + } else { + return &QQmlComponent::staticMetaObject; + } +} +int PythonQtShell_QQmlComponent::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlComponent::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QQmlComponent::beginCreate(QQmlComponent* theWrappedObject, QQmlContext* arg__1) +{ + return ( theWrappedObject->beginCreate(arg__1)); +} + +void PythonQtWrapper_QQmlComponent::completeCreate(QQmlComponent* theWrappedObject) +{ + ( theWrappedObject->completeCreate()); +} + +QObject* PythonQtWrapper_QQmlComponent::create(QQmlComponent* theWrappedObject, QQmlContext* context) +{ + return ( theWrappedObject->create(context)); +} + +void PythonQtWrapper_QQmlComponent::create(QQmlComponent* theWrappedObject, QQmlIncubator& arg__1, QQmlContext* context, QQmlContext* forContext) +{ + ( theWrappedObject->create(arg__1, context, forContext)); +} + +QObject* PythonQtWrapper_QQmlComponent::createWithInitialProperties(QQmlComponent* theWrappedObject, const QMap& initialProperties, QQmlContext* context) +{ + return ( theWrappedObject->createWithInitialProperties(initialProperties, context)); +} + +QQmlContext* PythonQtWrapper_QQmlComponent::creationContext(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->creationContext()); +} + +QQmlEngine* PythonQtWrapper_QQmlComponent::engine(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QString PythonQtWrapper_QQmlComponent::errorString(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +QList PythonQtWrapper_QQmlComponent::errors(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +bool PythonQtWrapper_QQmlComponent::isError(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QQmlComponent::isLoading(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isLoading()); +} + +bool PythonQtWrapper_QQmlComponent::isNull(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QQmlComponent::isReady(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->isReady()); +} + +qreal PythonQtWrapper_QQmlComponent::progress(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->progress()); +} + +void PythonQtWrapper_QQmlComponent::setInitialProperties(QQmlComponent* theWrappedObject, QObject* component, const QMap& properties) +{ + ( theWrappedObject->setInitialProperties(component, properties)); +} + +QQmlComponent::Status PythonQtWrapper_QQmlComponent::status(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +QUrl PythonQtWrapper_QQmlComponent::url(QQmlComponent* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + +PythonQtShell_QQmlContext::~PythonQtShell_QQmlContext() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlContext::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlContext::childEvent(event0); +} +void PythonQtShell_QQmlContext::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlContext::customEvent(event0); +} +bool PythonQtShell_QQmlContext::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlContext::event(event0); +} +bool PythonQtShell_QQmlContext::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlContext::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlContext::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlContext::timerEvent(event0); +} +QQmlContext* PythonQtWrapper_QQmlContext::new_QQmlContext(QQmlContext* parent, QObject* objParent) +{ +return new PythonQtShell_QQmlContext(parent, objParent); } + +QQmlContext* PythonQtWrapper_QQmlContext::new_QQmlContext(QQmlEngine* parent, QObject* objParent) +{ +return new PythonQtShell_QQmlContext(parent, objParent); } + +const QMetaObject* PythonQtShell_QQmlContext::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlContext::staticMetaObject); + } else { + return &QQmlContext::staticMetaObject; + } +} +int PythonQtShell_QQmlContext::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlContext::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUrl PythonQtWrapper_QQmlContext::baseUrl(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +QObject* PythonQtWrapper_QQmlContext::contextObject(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->contextObject()); +} + +QVariant PythonQtWrapper_QQmlContext::contextProperty(QQmlContext* theWrappedObject, const QString& arg__1) const +{ + return ( theWrappedObject->contextProperty(arg__1)); +} + +QQmlEngine* PythonQtWrapper_QQmlContext::engine(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +bool PythonQtWrapper_QQmlContext::isValid(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QQmlContext::nameForObject(QQmlContext* theWrappedObject, QObject* arg__1) const +{ + return ( theWrappedObject->nameForObject(arg__1)); +} + +QQmlContext* PythonQtWrapper_QQmlContext::parentContext(QQmlContext* theWrappedObject) const +{ + return ( theWrappedObject->parentContext()); +} + +QUrl PythonQtWrapper_QQmlContext::resolvedUrl(QQmlContext* theWrappedObject, const QUrl& arg__1) +{ + return ( theWrappedObject->resolvedUrl(arg__1)); +} + +void PythonQtWrapper_QQmlContext::setBaseUrl(QQmlContext* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setBaseUrl(arg__1)); +} + +void PythonQtWrapper_QQmlContext::setContextObject(QQmlContext* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->setContextObject(arg__1)); +} + +void PythonQtWrapper_QQmlContext::setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, QObject* arg__2) +{ + ( theWrappedObject->setContextProperty(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlContext::setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, const QVariant& arg__2) +{ + ( theWrappedObject->setContextProperty(arg__1, arg__2)); +} + + + +QQmlDebuggingEnabler* PythonQtWrapper_QQmlDebuggingEnabler::new_QQmlDebuggingEnabler(bool printWarning) +{ +return new QQmlDebuggingEnabler(printWarning); } + +bool PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_connectToLocalDebugger(const QString& socketFileName, QQmlDebuggingEnabler::StartMode mode) +{ + return (QQmlDebuggingEnabler::connectToLocalDebugger(socketFileName, mode)); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_debuggerServices() +{ + return (QQmlDebuggingEnabler::debuggerServices()); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_inspectorServices() +{ + return (QQmlDebuggingEnabler::inspectorServices()); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_nativeDebuggerServices() +{ + return (QQmlDebuggingEnabler::nativeDebuggerServices()); +} + +QStringList PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_profilerServices() +{ + return (QQmlDebuggingEnabler::profilerServices()); +} + +void PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_setServices(const QStringList& services) +{ + (QQmlDebuggingEnabler::setServices(services)); +} + +bool PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_startDebugConnector(const QString& pluginName, const QHash& configuration) +{ + return (QQmlDebuggingEnabler::startDebugConnector(pluginName, configuration)); +} + +bool PythonQtWrapper_QQmlDebuggingEnabler::static_QQmlDebuggingEnabler_startTcpDebugServer(int port, QQmlDebuggingEnabler::StartMode mode, const QString& hostName) +{ + return (QQmlDebuggingEnabler::startTcpDebugServer(port, mode, hostName)); +} + + + +PythonQtShell_QQmlEngine::~PythonQtShell_QQmlEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlEngine::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlEngine::childEvent(event0); +} +void PythonQtShell_QQmlEngine::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlEngine::customEvent(event0); +} +bool PythonQtShell_QQmlEngine::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlEngine::event(arg__1); +} +bool PythonQtShell_QQmlEngine::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlEngine::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlEngine::timerEvent(event0); +} +QQmlEngine* PythonQtWrapper_QQmlEngine::new_QQmlEngine(QObject* p) +{ +return new PythonQtShell_QQmlEngine(p); } + +const QMetaObject* PythonQtShell_QQmlEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlEngine::staticMetaObject); + } else { + return &QQmlEngine::staticMetaObject; + } +} +int PythonQtShell_QQmlEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQmlEngine::addImportPath(QQmlEngine* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->addImportPath(dir)); +} + +bool PythonQtWrapper_QQmlEngine::addNamedBundle(QQmlEngine* theWrappedObject, const QString& name, const QString& fileName) +{ + return ( theWrappedObject->addNamedBundle(name, fileName)); +} + +void PythonQtWrapper_QQmlEngine::addPluginPath(QQmlEngine* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->addPluginPath(dir)); +} + +QUrl PythonQtWrapper_QQmlEngine::baseUrl(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +void PythonQtWrapper_QQmlEngine::clearComponentCache(QQmlEngine* theWrappedObject) +{ + ( theWrappedObject->clearComponentCache()); +} + +QQmlContext* PythonQtWrapper_QQmlEngine::static_QQmlEngine_contextForObject(const QObject* arg__1) +{ + return (QQmlEngine::contextForObject(arg__1)); +} + +QStringList PythonQtWrapper_QQmlEngine::importPathList(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->importPathList()); +} + +bool PythonQtWrapper_QQmlEngine::importPlugin(QQmlEngine* theWrappedObject, const QString& filePath, const QString& uri, QList* errors) +{ + return ( theWrappedObject->importPlugin(filePath, uri, errors)); +} + +QQmlIncubationController* PythonQtWrapper_QQmlEngine::incubationController(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->incubationController()); +} + +QNetworkAccessManager* PythonQtWrapper_QQmlEngine::networkAccessManager(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QQmlNetworkAccessManagerFactory* PythonQtWrapper_QQmlEngine::networkAccessManagerFactory(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManagerFactory()); +} + +QQmlEngine::ObjectOwnership PythonQtWrapper_QQmlEngine::static_QQmlEngine_objectOwnership(QObject* arg__1) +{ + return (QQmlEngine::objectOwnership(arg__1)); +} + +QString PythonQtWrapper_QQmlEngine::offlineStorageDatabaseFilePath(QQmlEngine* theWrappedObject, const QString& databaseName) const +{ + return ( theWrappedObject->offlineStorageDatabaseFilePath(databaseName)); +} + +QString PythonQtWrapper_QQmlEngine::offlineStoragePath(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->offlineStoragePath()); +} + +bool PythonQtWrapper_QQmlEngine::outputWarningsToStandardError(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->outputWarningsToStandardError()); +} + +QStringList PythonQtWrapper_QQmlEngine::pluginPathList(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->pluginPathList()); +} + +void PythonQtWrapper_QQmlEngine::removeImageProvider(QQmlEngine* theWrappedObject, const QString& id) +{ + ( theWrappedObject->removeImageProvider(id)); +} + +QQmlContext* PythonQtWrapper_QQmlEngine::rootContext(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->rootContext()); +} + +void PythonQtWrapper_QQmlEngine::setBaseUrl(QQmlEngine* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setBaseUrl(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::static_QQmlEngine_setContextForObject(QObject* arg__1, QQmlContext* arg__2) +{ + (QQmlEngine::setContextForObject(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlEngine::setImportPathList(QQmlEngine* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setImportPathList(paths)); +} + +void PythonQtWrapper_QQmlEngine::setIncubationController(QQmlEngine* theWrappedObject, QQmlIncubationController* arg__1) +{ + ( theWrappedObject->setIncubationController(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::setNetworkAccessManagerFactory(QQmlEngine* theWrappedObject, QQmlNetworkAccessManagerFactory* arg__1) +{ + ( theWrappedObject->setNetworkAccessManagerFactory(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::static_QQmlEngine_setObjectOwnership(QObject* arg__1, QQmlEngine::ObjectOwnership arg__2) +{ + (QQmlEngine::setObjectOwnership(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlEngine::setOfflineStoragePath(QQmlEngine* theWrappedObject, const QString& dir) +{ + ( theWrappedObject->setOfflineStoragePath(dir)); +} + +void PythonQtWrapper_QQmlEngine::setOutputWarningsToStandardError(QQmlEngine* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setOutputWarningsToStandardError(arg__1)); +} + +void PythonQtWrapper_QQmlEngine::setPluginPathList(QQmlEngine* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setPluginPathList(paths)); +} + +void PythonQtWrapper_QQmlEngine::setUrlInterceptor(QQmlEngine* theWrappedObject, QQmlAbstractUrlInterceptor* urlInterceptor) +{ + ( theWrappedObject->setUrlInterceptor(urlInterceptor)); +} + +void PythonQtWrapper_QQmlEngine::trimComponentCache(QQmlEngine* theWrappedObject) +{ + ( theWrappedObject->trimComponentCache()); +} + +QQmlAbstractUrlInterceptor* PythonQtWrapper_QQmlEngine::urlInterceptor(QQmlEngine* theWrappedObject) const +{ + return ( theWrappedObject->urlInterceptor()); +} + + + +QQmlError* PythonQtWrapper_QQmlError::new_QQmlError() +{ +return new QQmlError(); } + +QQmlError* PythonQtWrapper_QQmlError::new_QQmlError(const QQmlError& arg__1) +{ +return new QQmlError(arg__1); } + +int PythonQtWrapper_QQmlError::column(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QString PythonQtWrapper_QQmlError::description(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +bool PythonQtWrapper_QQmlError::isValid(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +int PythonQtWrapper_QQmlError::line(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +QtMsgType PythonQtWrapper_QQmlError::messageType(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->messageType()); +} + +QObject* PythonQtWrapper_QQmlError::object(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +QQmlError* PythonQtWrapper_QQmlError::operator_assign(QQmlError* theWrappedObject, const QQmlError& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +void PythonQtWrapper_QQmlError::setColumn(QQmlError* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setColumn(arg__1)); +} + +void PythonQtWrapper_QQmlError::setDescription(QQmlError* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setDescription(arg__1)); +} + +void PythonQtWrapper_QQmlError::setLine(QQmlError* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setLine(arg__1)); +} + +void PythonQtWrapper_QQmlError::setMessageType(QQmlError* theWrappedObject, QtMsgType messageType) +{ + ( theWrappedObject->setMessageType(messageType)); +} + +void PythonQtWrapper_QQmlError::setObject(QQmlError* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->setObject(arg__1)); +} + +void PythonQtWrapper_QQmlError::setUrl(QQmlError* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setUrl(arg__1)); +} + +QString PythonQtWrapper_QQmlError::toString(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->toString()); +} + +QUrl PythonQtWrapper_QQmlError::url(QQmlError* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +QString PythonQtWrapper_QQmlError::py_toString(QQmlError* obj) { return obj->toString(); } + + +PythonQtShell_QQmlExpression::~PythonQtShell_QQmlExpression() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlExpression::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlExpression::childEvent(event0); +} +void PythonQtShell_QQmlExpression::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlExpression::customEvent(event0); +} +bool PythonQtShell_QQmlExpression::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlExpression::event(event0); +} +bool PythonQtShell_QQmlExpression::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlExpression::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlExpression::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlExpression::timerEvent(event0); +} +QQmlExpression* PythonQtWrapper_QQmlExpression::new_QQmlExpression() +{ +return new PythonQtShell_QQmlExpression(); } + +QQmlExpression* PythonQtWrapper_QQmlExpression::new_QQmlExpression(QQmlContext* arg__1, QObject* arg__2, const QString& arg__3, QObject* arg__4) +{ +return new PythonQtShell_QQmlExpression(arg__1, arg__2, arg__3, arg__4); } + +QQmlExpression* PythonQtWrapper_QQmlExpression::new_QQmlExpression(const QQmlScriptString& arg__1, QQmlContext* arg__2, QObject* arg__3, QObject* arg__4) +{ +return new PythonQtShell_QQmlExpression(arg__1, arg__2, arg__3, arg__4); } + +const QMetaObject* PythonQtShell_QQmlExpression::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlExpression::staticMetaObject); + } else { + return &QQmlExpression::staticMetaObject; + } +} +int PythonQtShell_QQmlExpression::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlExpression::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQmlExpression::clearError(QQmlExpression* theWrappedObject) +{ + ( theWrappedObject->clearError()); +} + +int PythonQtWrapper_QQmlExpression::columnNumber(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QQmlContext* PythonQtWrapper_QQmlExpression::context(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +QQmlEngine* PythonQtWrapper_QQmlExpression::engine(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QQmlError PythonQtWrapper_QQmlExpression::error(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QVariant PythonQtWrapper_QQmlExpression::evaluate(QQmlExpression* theWrappedObject, bool* valueIsUndefined) +{ + return ( theWrappedObject->evaluate(valueIsUndefined)); +} + +QString PythonQtWrapper_QQmlExpression::expression(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->expression()); +} + +bool PythonQtWrapper_QQmlExpression::hasError(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +int PythonQtWrapper_QQmlExpression::lineNumber(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +bool PythonQtWrapper_QQmlExpression::notifyOnValueChanged(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->notifyOnValueChanged()); +} + +QObject* PythonQtWrapper_QQmlExpression::scopeObject(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->scopeObject()); +} + +void PythonQtWrapper_QQmlExpression::setExpression(QQmlExpression* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setExpression(arg__1)); +} + +void PythonQtWrapper_QQmlExpression::setNotifyOnValueChanged(QQmlExpression* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setNotifyOnValueChanged(arg__1)); +} + +void PythonQtWrapper_QQmlExpression::setSourceLocation(QQmlExpression* theWrappedObject, const QString& fileName, int line, int column) +{ + ( theWrappedObject->setSourceLocation(fileName, line, column)); +} + +QString PythonQtWrapper_QQmlExpression::sourceFile(QQmlExpression* theWrappedObject) const +{ + return ( theWrappedObject->sourceFile()); +} + + + +PythonQtShell_QQmlExtensionInterface::~PythonQtShell_QQmlExtensionInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlExtensionInterface::initializeEngine(QQmlEngine* engine0, const char* uri1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQmlEngine*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&engine0, (void*)&uri1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QQmlExtensionInterface::registerTypes(const char* uri0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("registerTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&uri0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlExtensionInterface* PythonQtWrapper_QQmlExtensionInterface::new_QQmlExtensionInterface() +{ +return new PythonQtShell_QQmlExtensionInterface(); } + +void PythonQtWrapper_QQmlExtensionInterface::initializeEngine(QQmlExtensionInterface* theWrappedObject, QQmlEngine* engine, const char* uri) +{ + ( theWrappedObject->initializeEngine(engine, uri)); +} + + + +PythonQtShell_QQmlExtensionPlugin::~PythonQtShell_QQmlExtensionPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlExtensionPlugin::initializeEngine(QQmlEngine* engine0, const char* uri1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initializeEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQmlEngine*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&engine0, (void*)&uri1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlExtensionPlugin::initializeEngine(engine0, uri1); +} +void PythonQtShell_QQmlExtensionPlugin::registerTypes(const char* uri0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("registerTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&uri0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlExtensionPlugin* PythonQtWrapper_QQmlExtensionPlugin::new_QQmlExtensionPlugin(QObject* parent) +{ +return new PythonQtShell_QQmlExtensionPlugin(parent); } + +const QMetaObject* PythonQtShell_QQmlExtensionPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlExtensionPlugin::staticMetaObject); + } else { + return &QQmlExtensionPlugin::staticMetaObject; + } +} +int PythonQtShell_QQmlExtensionPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlExtensionPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUrl PythonQtWrapper_QQmlExtensionPlugin::baseUrl(QQmlExtensionPlugin* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +void PythonQtWrapper_QQmlExtensionPlugin::initializeEngine(QQmlExtensionPlugin* theWrappedObject, QQmlEngine* engine, const char* uri) +{ + ( theWrappedObject->initializeEngine(engine, uri)); +} + +void PythonQtWrapper_QQmlExtensionPlugin::registerTypes(QQmlExtensionPlugin* theWrappedObject, const char* uri) +{ + ( theWrappedObject->registerTypes(uri)); +} + + + +QQmlFile* PythonQtWrapper_QQmlFile::new_QQmlFile() +{ +return new QQmlFile(); } + +QQmlFile* PythonQtWrapper_QQmlFile::new_QQmlFile(QQmlEngine* arg__1, const QString& arg__2) +{ +return new QQmlFile(arg__1, arg__2); } + +QQmlFile* PythonQtWrapper_QQmlFile::new_QQmlFile(QQmlEngine* arg__1, const QUrl& arg__2) +{ +return new QQmlFile(arg__1, arg__2); } + +void PythonQtWrapper_QQmlFile::clear(QQmlFile* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +void PythonQtWrapper_QQmlFile::clear(QQmlFile* theWrappedObject, QObject* arg__1) +{ + ( theWrappedObject->clear(arg__1)); +} + +bool PythonQtWrapper_QQmlFile::connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2) +{ + return ( theWrappedObject->connectDownloadProgress(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQmlFile::connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2) +{ + return ( theWrappedObject->connectDownloadProgress(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQmlFile::connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2) +{ + return ( theWrappedObject->connectFinished(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQmlFile::connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2) +{ + return ( theWrappedObject->connectFinished(arg__1, arg__2)); +} + +const char* PythonQtWrapper_QQmlFile::data(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +QByteArray PythonQtWrapper_QQmlFile::dataByteArray(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->dataByteArray()); +} + +QString PythonQtWrapper_QQmlFile::error(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +bool PythonQtWrapper_QQmlFile::isError(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QQmlFile::isLoading(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isLoading()); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isLocalFile(const QString& url) +{ + return (QQmlFile::isLocalFile(url)); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isLocalFile(const QUrl& url) +{ + return (QQmlFile::isLocalFile(url)); +} + +bool PythonQtWrapper_QQmlFile::isNull(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QQmlFile::isReady(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->isReady()); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isSynchronous(const QString& url) +{ + return (QQmlFile::isSynchronous(url)); +} + +bool PythonQtWrapper_QQmlFile::static_QQmlFile_isSynchronous(const QUrl& url) +{ + return (QQmlFile::isSynchronous(url)); +} + +void PythonQtWrapper_QQmlFile::load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QString& arg__2) +{ + ( theWrappedObject->load(arg__1, arg__2)); +} + +void PythonQtWrapper_QQmlFile::load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QUrl& arg__2) +{ + ( theWrappedObject->load(arg__1, arg__2)); +} + +qint64 PythonQtWrapper_QQmlFile::size(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QQmlFile::Status PythonQtWrapper_QQmlFile::status(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +QUrl PythonQtWrapper_QQmlFile::url(QQmlFile* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +QString PythonQtWrapper_QQmlFile::static_QQmlFile_urlToLocalFileOrQrc(const QString& arg__1) +{ + return (QQmlFile::urlToLocalFileOrQrc(arg__1)); +} + +QString PythonQtWrapper_QQmlFile::static_QQmlFile_urlToLocalFileOrQrc(const QUrl& arg__1) +{ + return (QQmlFile::urlToLocalFileOrQrc(arg__1)); +} + + + +PythonQtShell_QQmlFileSelector::~PythonQtShell_QQmlFileSelector() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlFileSelector::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlFileSelector::childEvent(event0); +} +void PythonQtShell_QQmlFileSelector::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlFileSelector::customEvent(event0); +} +bool PythonQtShell_QQmlFileSelector::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlFileSelector::event(event0); +} +bool PythonQtShell_QQmlFileSelector::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlFileSelector::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlFileSelector::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlFileSelector::timerEvent(event0); +} +QQmlFileSelector* PythonQtWrapper_QQmlFileSelector::new_QQmlFileSelector(QQmlEngine* engine, QObject* parent) +{ +return new PythonQtShell_QQmlFileSelector(engine, parent); } + +const QMetaObject* PythonQtShell_QQmlFileSelector::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlFileSelector::staticMetaObject); + } else { + return &QQmlFileSelector::staticMetaObject; + } +} +int PythonQtShell_QQmlFileSelector::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlFileSelector::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQmlFileSelector* PythonQtWrapper_QQmlFileSelector::static_QQmlFileSelector_get(QQmlEngine* arg__1) +{ + return (QQmlFileSelector::get(arg__1)); +} + +QFileSelector* PythonQtWrapper_QQmlFileSelector::selector(QQmlFileSelector* theWrappedObject) const +{ + return ( theWrappedObject->selector()); +} + +void PythonQtWrapper_QQmlFileSelector::setExtraSelectors(QQmlFileSelector* theWrappedObject, QStringList& strings) +{ + ( theWrappedObject->setExtraSelectors(strings)); +} + +void PythonQtWrapper_QQmlFileSelector::setExtraSelectors(QQmlFileSelector* theWrappedObject, const QStringList& strings) +{ + ( theWrappedObject->setExtraSelectors(strings)); +} + +void PythonQtWrapper_QQmlFileSelector::setSelector(QQmlFileSelector* theWrappedObject, QFileSelector* selector) +{ + ( theWrappedObject->setSelector(selector)); +} + + + +PythonQtShell_QQmlIncubationController::~PythonQtShell_QQmlIncubationController() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlIncubationController::incubatingObjectCountChanged(int arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("incubatingObjectCountChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlIncubationController::incubatingObjectCountChanged(arg__1); +} +QQmlIncubationController* PythonQtWrapper_QQmlIncubationController::new_QQmlIncubationController() +{ +return new PythonQtShell_QQmlIncubationController(); } + +QQmlEngine* PythonQtWrapper_QQmlIncubationController::engine(QQmlIncubationController* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +void PythonQtWrapper_QQmlIncubationController::incubateFor(QQmlIncubationController* theWrappedObject, int msecs) +{ + ( theWrappedObject->incubateFor(msecs)); +} + +int PythonQtWrapper_QQmlIncubationController::incubatingObjectCount(QQmlIncubationController* theWrappedObject) const +{ + return ( theWrappedObject->incubatingObjectCount()); +} + +void PythonQtWrapper_QQmlIncubationController::incubatingObjectCountChanged(QQmlIncubationController* theWrappedObject, int arg__1) +{ + ( ((PythonQtPublicPromoter_QQmlIncubationController*)theWrappedObject)->promoted_incubatingObjectCountChanged(arg__1)); +} + + + +PythonQtShell_QQmlIncubator::~PythonQtShell_QQmlIncubator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlIncubator::setInitialState(QObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setInitialState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlIncubator::setInitialState(arg__1); +} +void PythonQtShell_QQmlIncubator::statusChanged(QQmlIncubator::Status arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("statusChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQmlIncubator::Status"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlIncubator::statusChanged(arg__1); +} +QQmlIncubator* PythonQtWrapper_QQmlIncubator::new_QQmlIncubator(QQmlIncubator::IncubationMode arg__1) +{ +return new PythonQtShell_QQmlIncubator(arg__1); } + +void PythonQtWrapper_QQmlIncubator::clear(QQmlIncubator* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +QList PythonQtWrapper_QQmlIncubator::errors(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +void PythonQtWrapper_QQmlIncubator::forceCompletion(QQmlIncubator* theWrappedObject) +{ + ( theWrappedObject->forceCompletion()); +} + +QQmlIncubator::IncubationMode PythonQtWrapper_QQmlIncubator::incubationMode(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->incubationMode()); +} + +bool PythonQtWrapper_QQmlIncubator::isError(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isError()); +} + +bool PythonQtWrapper_QQmlIncubator::isLoading(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isLoading()); +} + +bool PythonQtWrapper_QQmlIncubator::isNull(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QQmlIncubator::isReady(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->isReady()); +} + +QObject* PythonQtWrapper_QQmlIncubator::object(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +void PythonQtWrapper_QQmlIncubator::setInitialProperties(QQmlIncubator* theWrappedObject, const QMap& initialProperties) +{ + ( theWrappedObject->setInitialProperties(initialProperties)); +} + +void PythonQtWrapper_QQmlIncubator::setInitialState(QQmlIncubator* theWrappedObject, QObject* arg__1) +{ + ( ((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->promoted_setInitialState(arg__1)); +} + +QQmlIncubator::Status PythonQtWrapper_QQmlIncubator::status(QQmlIncubator* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +void PythonQtWrapper_QQmlIncubator::statusChanged(QQmlIncubator* theWrappedObject, QQmlIncubator::Status arg__1) +{ + ( ((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->promoted_statusChanged(arg__1)); +} + + + +QQmlInfo* PythonQtWrapper_QQmlInfo::new_QQmlInfo(const QQmlInfo& arg__1) +{ +return new QQmlInfo(arg__1); } + +QQmlInfo* PythonQtWrapper_QQmlInfo::__lshift__(QQmlInfo* theWrappedObject, QChar t) +{ + return &( (*theWrappedObject) <append(arg__1)); +} + +QObject* PythonQtWrapper_QQmlListReference::at(QQmlListReference* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->at(arg__1)); +} + +bool PythonQtWrapper_QQmlListReference::canAppend(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canAppend()); +} + +bool PythonQtWrapper_QQmlListReference::canAt(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canAt()); +} + +bool PythonQtWrapper_QQmlListReference::canClear(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canClear()); +} + +bool PythonQtWrapper_QQmlListReference::canCount(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canCount()); +} + +bool PythonQtWrapper_QQmlListReference::canRemoveLast(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canRemoveLast()); +} + +bool PythonQtWrapper_QQmlListReference::canReplace(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->canReplace()); +} + +bool PythonQtWrapper_QQmlListReference::clear(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QQmlListReference::count(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +bool PythonQtWrapper_QQmlListReference::isManipulable(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->isManipulable()); +} + +bool PythonQtWrapper_QQmlListReference::isReadable(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->isReadable()); +} + +bool PythonQtWrapper_QQmlListReference::isValid(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +const QMetaObject* PythonQtWrapper_QQmlListReference::listElementType(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->listElementType()); +} + +QObject* PythonQtWrapper_QQmlListReference::object(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +QQmlListReference* PythonQtWrapper_QQmlListReference::operator_assign(QQmlListReference* theWrappedObject, const QQmlListReference& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QQmlListReference::removeLast(QQmlListReference* theWrappedObject) const +{ + return ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QQmlListReference::replace(QQmlListReference* theWrappedObject, int arg__1, QObject* arg__2) const +{ + return ( theWrappedObject->replace(arg__1, arg__2)); +} + + + +PythonQtShell_QQmlNetworkAccessManagerFactory::~PythonQtShell_QQmlNetworkAccessManagerFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QNetworkAccessManager* PythonQtShell_QQmlNetworkAccessManagerFactory::create(QObject* parent0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QNetworkAccessManager*" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QNetworkAccessManager* returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QNetworkAccessManager**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +QQmlNetworkAccessManagerFactory* PythonQtWrapper_QQmlNetworkAccessManagerFactory::new_QQmlNetworkAccessManagerFactory() +{ +return new PythonQtShell_QQmlNetworkAccessManagerFactory(); } + +QNetworkAccessManager* PythonQtWrapper_QQmlNetworkAccessManagerFactory::create(QQmlNetworkAccessManagerFactory* theWrappedObject, QObject* parent) +{ + return ( theWrappedObject->create(parent)); +} + + + +PythonQtShell_QQmlParserStatus::~PythonQtShell_QQmlParserStatus() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlParserStatus::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QQmlParserStatus::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlParserStatus* PythonQtWrapper_QQmlParserStatus::new_QQmlParserStatus() +{ +return new PythonQtShell_QQmlParserStatus(); } + +void PythonQtWrapper_QQmlParserStatus::classBegin(QQmlParserStatus* theWrappedObject) +{ + ( theWrappedObject->classBegin()); +} + +void PythonQtWrapper_QQmlParserStatus::componentComplete(QQmlParserStatus* theWrappedObject) +{ + ( theWrappedObject->componentComplete()); +} + + + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty() +{ +return new QQmlProperty(); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1) +{ +return new QQmlProperty(arg__1); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, QQmlContext* arg__2) +{ +return new QQmlProperty(arg__1, arg__2); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, QQmlEngine* arg__2) +{ +return new QQmlProperty(arg__1, arg__2); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, const QString& arg__2) +{ +return new QQmlProperty(arg__1, arg__2); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlContext* arg__3) +{ +return new QQmlProperty(arg__1, arg__2, arg__3); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3) +{ +return new QQmlProperty(arg__1, arg__2, arg__3); } + +QQmlProperty* PythonQtWrapper_QQmlProperty::new_QQmlProperty(const QQmlProperty& arg__1) +{ +return new QQmlProperty(arg__1); } + +bool PythonQtWrapper_QQmlProperty::connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, const char* slot) const +{ + return ( theWrappedObject->connectNotifySignal(dest, slot)); +} + +bool PythonQtWrapper_QQmlProperty::connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, int method) const +{ + return ( theWrappedObject->connectNotifySignal(dest, method)); +} + +bool PythonQtWrapper_QQmlProperty::hasNotifySignal(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->hasNotifySignal()); +} + +int PythonQtWrapper_QQmlProperty::index(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +bool PythonQtWrapper_QQmlProperty::isDesignable(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isDesignable()); +} + +bool PythonQtWrapper_QQmlProperty::isProperty(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isProperty()); +} + +bool PythonQtWrapper_QQmlProperty::isResettable(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isResettable()); +} + +bool PythonQtWrapper_QQmlProperty::isSignalProperty(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isSignalProperty()); +} + +bool PythonQtWrapper_QQmlProperty::isValid(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QQmlProperty::isWritable(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->isWritable()); +} + +QMetaMethod PythonQtWrapper_QQmlProperty::method(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->method()); +} + +QString PythonQtWrapper_QQmlProperty::name(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QQmlProperty::needsNotifySignal(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->needsNotifySignal()); +} + +QObject* PythonQtWrapper_QQmlProperty::object(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->object()); +} + +QQmlProperty* PythonQtWrapper_QQmlProperty::operator_assign(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QQmlProperty::__eq__(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QMetaProperty PythonQtWrapper_QQmlProperty::property(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->property()); +} + +int PythonQtWrapper_QQmlProperty::propertyType(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyType()); +} + +QQmlProperty::PropertyTypeCategory PythonQtWrapper_QQmlProperty::propertyTypeCategory(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyTypeCategory()); +} + +const char* PythonQtWrapper_QQmlProperty::propertyTypeName(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->propertyTypeName()); +} + +QVariant PythonQtWrapper_QQmlProperty::read(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->read()); +} + +QVariant PythonQtWrapper_QQmlProperty::static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2) +{ + return (QQmlProperty::read(arg__1, arg__2)); +} + +QVariant PythonQtWrapper_QQmlProperty::static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlContext* arg__3) +{ + return (QQmlProperty::read(arg__1, arg__2, arg__3)); +} + +QVariant PythonQtWrapper_QQmlProperty::static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3) +{ + return (QQmlProperty::read(arg__1, arg__2, arg__3)); +} + +bool PythonQtWrapper_QQmlProperty::reset(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->reset()); +} + +QQmlProperty::Type PythonQtWrapper_QQmlProperty::type(QQmlProperty* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +bool PythonQtWrapper_QQmlProperty::static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3) +{ + return (QQmlProperty::write(arg__1, arg__2, arg__3)); +} + +bool PythonQtWrapper_QQmlProperty::static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlContext* arg__4) +{ + return (QQmlProperty::write(arg__1, arg__2, arg__3, arg__4)); +} + +bool PythonQtWrapper_QQmlProperty::static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlEngine* arg__4) +{ + return (QQmlProperty::write(arg__1, arg__2, arg__3, arg__4)); +} + +bool PythonQtWrapper_QQmlProperty::write(QQmlProperty* theWrappedObject, const QVariant& arg__1) const +{ + return ( theWrappedObject->write(arg__1)); +} + + + +PythonQtShell_QQmlPropertyMap::~PythonQtShell_QQmlPropertyMap() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlPropertyMap::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlPropertyMap::childEvent(event0); +} +void PythonQtShell_QQmlPropertyMap::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlPropertyMap::customEvent(event0); +} +bool PythonQtShell_QQmlPropertyMap::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlPropertyMap::event(event0); +} +bool PythonQtShell_QQmlPropertyMap::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlPropertyMap::eventFilter(watched0, event1); +} +void PythonQtShell_QQmlPropertyMap::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQmlPropertyMap::timerEvent(event0); +} +QVariant PythonQtShell_QQmlPropertyMap::updateValue(const QString& key0, const QVariant& input1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&key0, (void*)&input1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQmlPropertyMap::updateValue(key0, input1); +} +QQmlPropertyMap* PythonQtWrapper_QQmlPropertyMap::new_QQmlPropertyMap(QObject* parent) +{ +return new PythonQtShell_QQmlPropertyMap(parent); } + +const QMetaObject* PythonQtShell_QQmlPropertyMap::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQmlPropertyMap::staticMetaObject); + } else { + return &QQmlPropertyMap::staticMetaObject; + } +} +int PythonQtShell_QQmlPropertyMap::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQmlPropertyMap::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQmlPropertyMap::clear(QQmlPropertyMap* theWrappedObject, const QString& key) +{ + ( theWrappedObject->clear(key)); +} + +bool PythonQtWrapper_QQmlPropertyMap::contains(QQmlPropertyMap* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->contains(key)); +} + +int PythonQtWrapper_QQmlPropertyMap::count(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +void PythonQtWrapper_QQmlPropertyMap::insert(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& value) +{ + ( theWrappedObject->insert(key, value)); +} + +bool PythonQtWrapper_QQmlPropertyMap::isEmpty(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +QStringList PythonQtWrapper_QQmlPropertyMap::keys(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->keys()); +} + +QVariant PythonQtWrapper_QQmlPropertyMap::operator_subscript(QQmlPropertyMap* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); +} + +int PythonQtWrapper_QQmlPropertyMap::size(QQmlPropertyMap* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QVariant PythonQtWrapper_QQmlPropertyMap::updateValue(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& input) +{ + return ( ((PythonQtPublicPromoter_QQmlPropertyMap*)theWrappedObject)->promoted_updateValue(key, input)); +} + +QVariant PythonQtWrapper_QQmlPropertyMap::value(QQmlPropertyMap* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->value(key)); +} + + + +PythonQtShell_QQmlPropertyValueSource::~PythonQtShell_QQmlPropertyValueSource() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlPropertyValueSource::setTarget(const QQmlProperty& arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setTarget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QQmlProperty&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlPropertyValueSource* PythonQtWrapper_QQmlPropertyValueSource::new_QQmlPropertyValueSource() +{ +return new PythonQtShell_QQmlPropertyValueSource(); } + +void PythonQtWrapper_QQmlPropertyValueSource::setTarget(QQmlPropertyValueSource* theWrappedObject, const QQmlProperty& arg__1) +{ + ( theWrappedObject->setTarget(arg__1)); +} + + + +QQmlScriptString* PythonQtWrapper_QQmlScriptString::new_QQmlScriptString() +{ +return new QQmlScriptString(); } + +QQmlScriptString* PythonQtWrapper_QQmlScriptString::new_QQmlScriptString(const QQmlScriptString& arg__1) +{ +return new QQmlScriptString(arg__1); } + +bool PythonQtWrapper_QQmlScriptString::booleanLiteral(QQmlScriptString* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->booleanLiteral(ok)); +} + +bool PythonQtWrapper_QQmlScriptString::isEmpty(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QQmlScriptString::isNullLiteral(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->isNullLiteral()); +} + +bool PythonQtWrapper_QQmlScriptString::isUndefinedLiteral(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->isUndefinedLiteral()); +} + +qreal PythonQtWrapper_QQmlScriptString::numberLiteral(QQmlScriptString* theWrappedObject, bool* ok) const +{ + return ( theWrappedObject->numberLiteral(ok)); +} + +bool PythonQtWrapper_QQmlScriptString::__ne__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const +{ + return ( (*theWrappedObject)!= arg__1); +} + +QQmlScriptString* PythonQtWrapper_QQmlScriptString::operator_assign(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QQmlScriptString::__eq__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const +{ + return ( (*theWrappedObject)== arg__1); +} + +QString PythonQtWrapper_QQmlScriptString::stringLiteral(QQmlScriptString* theWrappedObject) const +{ + return ( theWrappedObject->stringLiteral()); +} + + + +PythonQtShell_QQmlTypesExtensionInterface::~PythonQtShell_QQmlTypesExtensionInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQmlTypesExtensionInterface::registerTypes(const char* uri0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("registerTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&uri0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QQmlTypesExtensionInterface* PythonQtWrapper_QQmlTypesExtensionInterface::new_QQmlTypesExtensionInterface() +{ +return new PythonQtShell_QQmlTypesExtensionInterface(); } + +void PythonQtWrapper_QQmlTypesExtensionInterface::registerTypes(QQmlTypesExtensionInterface* theWrappedObject, const char* uri) +{ + ( theWrappedObject->registerTypes(uri)); +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.h b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.h new file mode 100644 index 00000000..c9a32eb7 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.h @@ -0,0 +1,1069 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QJSEngine : public QJSEngine +{ +public: + PythonQtShell_QJSEngine():QJSEngine(),_wrapper(nullptr) {}; + PythonQtShell_QJSEngine(QObject* parent):QJSEngine(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QJSEngine() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QJSEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Extension ) +enum Extension{ + TranslationExtension = QJSEngine::TranslationExtension, ConsoleExtension = QJSEngine::ConsoleExtension, GarbageCollectionExtension = QJSEngine::GarbageCollectionExtension, AllExtensions = QJSEngine::AllExtensions}; +public slots: +QJSEngine* new_QJSEngine(); +QJSEngine* new_QJSEngine(QObject* parent); +void delete_QJSEngine(QJSEngine* obj) { delete obj; } + void collectGarbage(QJSEngine* theWrappedObject); + QJSValue evaluate(QJSEngine* theWrappedObject, const QString& program, const QString& fileName = QString(), int lineNumber = 1); + QJSValue globalObject(QJSEngine* theWrappedObject) const; + QJSValue importModule(QJSEngine* theWrappedObject, const QString& fileName); + void installTranslatorFunctions(QJSEngine* theWrappedObject, const QJSValue& object = QJSValue()); + bool isInterrupted(QJSEngine* theWrappedObject) const; + QJSValue newArray(QJSEngine* theWrappedObject, uint length = 0); + QJSValue newErrorObject(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message = QString()); + QJSValue newObject(QJSEngine* theWrappedObject); + QJSValue newQMetaObject(QJSEngine* theWrappedObject, const QMetaObject* metaObject); + QJSValue newQObject(QJSEngine* theWrappedObject, QObject* object); + void setInterrupted(QJSEngine* theWrappedObject, bool interrupted); + void setUiLanguage(QJSEngine* theWrappedObject, const QString& language); + void throwError(QJSEngine* theWrappedObject, QJSValue::ErrorType errorType, const QString& message = QString()); + void throwError(QJSEngine* theWrappedObject, const QString& message); + QString uiLanguage(QJSEngine* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QJSValue : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ErrorType SpecialValue ) +enum ErrorType{ + NoError = QJSValue::NoError, GenericError = QJSValue::GenericError, EvalError = QJSValue::EvalError, RangeError = QJSValue::RangeError, ReferenceError = QJSValue::ReferenceError, SyntaxError = QJSValue::SyntaxError, TypeError = QJSValue::TypeError, URIError = QJSValue::URIError}; +enum SpecialValue{ + NullValue = QJSValue::NullValue, UndefinedValue = QJSValue::UndefinedValue}; +public slots: +QJSValue* new_QJSValue(QJSValue::SpecialValue value = QJSValue::UndefinedValue); +QJSValue* new_QJSValue(bool value); +QJSValue* new_QJSValue(const QJSValue& other); +QJSValue* new_QJSValue(const QLatin1String& value); +QJSValue* new_QJSValue(const QString& value); +QJSValue* new_QJSValue(const char* str); +QJSValue* new_QJSValue(double value); +QJSValue* new_QJSValue(int value); +QJSValue* new_QJSValue(uint value); +void delete_QJSValue(QJSValue* obj) { delete obj; } + QJSValue call(QJSValue* theWrappedObject, const QList& args = QJSValueList()); + QJSValue callAsConstructor(QJSValue* theWrappedObject, const QList& args = QJSValueList()); + QJSValue callWithInstance(QJSValue* theWrappedObject, const QJSValue& instance, const QList& args = QJSValueList()); + bool deleteProperty(QJSValue* theWrappedObject, const QString& name); + QJSEngine* engine(QJSValue* theWrappedObject) const; + bool equals(QJSValue* theWrappedObject, const QJSValue& other) const; + QJSValue::ErrorType errorType(QJSValue* theWrappedObject) const; + bool hasOwnProperty(QJSValue* theWrappedObject, const QString& name) const; + bool hasProperty(QJSValue* theWrappedObject, const QString& name) const; + bool isArray(QJSValue* theWrappedObject) const; + bool isBool(QJSValue* theWrappedObject) const; + bool isCallable(QJSValue* theWrappedObject) const; + bool isDate(QJSValue* theWrappedObject) const; + bool isError(QJSValue* theWrappedObject) const; + bool isNull(QJSValue* theWrappedObject) const; + bool isNumber(QJSValue* theWrappedObject) const; + bool isObject(QJSValue* theWrappedObject) const; + bool isQMetaObject(QJSValue* theWrappedObject) const; + bool isQObject(QJSValue* theWrappedObject) const; + bool isRegExp(QJSValue* theWrappedObject) const; + bool isString(QJSValue* theWrappedObject) const; + bool isUndefined(QJSValue* theWrappedObject) const; + bool isVariant(QJSValue* theWrappedObject) const; + QJSValue* operator_assign(QJSValue* theWrappedObject, const QJSValue& other); + QJSValue property(QJSValue* theWrappedObject, const QString& name) const; + QJSValue property(QJSValue* theWrappedObject, unsigned int arrayIndex) const; + QJSValue prototype(QJSValue* theWrappedObject) const; + void setProperty(QJSValue* theWrappedObject, const QString& name, const QJSValue& value); + void setProperty(QJSValue* theWrappedObject, unsigned int arrayIndex, const QJSValue& value); + void setPrototype(QJSValue* theWrappedObject, const QJSValue& prototype); + bool strictlyEquals(QJSValue* theWrappedObject, const QJSValue& other) const; + bool toBool(QJSValue* theWrappedObject) const; + QDateTime toDateTime(QJSValue* theWrappedObject) const; + int toInt(QJSValue* theWrappedObject) const; + double toNumber(QJSValue* theWrappedObject) const; + const QMetaObject* toQMetaObject(QJSValue* theWrappedObject) const; + QObject* toQObject(QJSValue* theWrappedObject) const; + QString toString(QJSValue* theWrappedObject) const; + unsigned int toUInt(QJSValue* theWrappedObject) const; + QVariant toVariant(QJSValue* theWrappedObject) const; + QString py_toString(QJSValue*); + bool __nonzero__(QJSValue* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QQmlAbstractUrlInterceptor : public QQmlAbstractUrlInterceptor +{ +public: + PythonQtShell_QQmlAbstractUrlInterceptor():QQmlAbstractUrlInterceptor(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlAbstractUrlInterceptor() override; + +QUrl intercept(const QUrl& path, QQmlAbstractUrlInterceptor::DataType type) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlAbstractUrlInterceptor : public QQmlAbstractUrlInterceptor +{ public: +inline QUrl py_q_intercept(const QUrl& path, QQmlAbstractUrlInterceptor::DataType type) { return this->intercept(path, type); } +}; + +class PythonQtWrapper_QQmlAbstractUrlInterceptor : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DataType ) +enum DataType{ + QmlFile = QQmlAbstractUrlInterceptor::QmlFile, JavaScriptFile = QQmlAbstractUrlInterceptor::JavaScriptFile, QmldirFile = QQmlAbstractUrlInterceptor::QmldirFile, UrlString = QQmlAbstractUrlInterceptor::UrlString}; +public slots: +QQmlAbstractUrlInterceptor* new_QQmlAbstractUrlInterceptor(); +void delete_QQmlAbstractUrlInterceptor(QQmlAbstractUrlInterceptor* obj) { delete obj; } + QUrl intercept(QQmlAbstractUrlInterceptor* theWrappedObject, const QUrl& path, QQmlAbstractUrlInterceptor::DataType type); + QUrl py_q_intercept(QQmlAbstractUrlInterceptor* theWrappedObject, const QUrl& path, QQmlAbstractUrlInterceptor::DataType type){ return (((PythonQtPublicPromoter_QQmlAbstractUrlInterceptor*)theWrappedObject)->py_q_intercept(path, type));} +}; + + + + + +class PythonQtShell_QQmlApplicationEngine : public QQmlApplicationEngine +{ +public: + PythonQtShell_QQmlApplicationEngine(QObject* parent = nullptr):QQmlApplicationEngine(parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlApplicationEngine(const QString& filePath, QObject* parent = nullptr):QQmlApplicationEngine(filePath, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlApplicationEngine(const QUrl& url, QObject* parent = nullptr):QQmlApplicationEngine(url, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlApplicationEngine() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QQmlApplicationEngine : public QObject +{ Q_OBJECT +public: +public slots: +QQmlApplicationEngine* new_QQmlApplicationEngine(QObject* parent = nullptr); +QQmlApplicationEngine* new_QQmlApplicationEngine(const QString& filePath, QObject* parent = nullptr); +QQmlApplicationEngine* new_QQmlApplicationEngine(const QUrl& url, QObject* parent = nullptr); +void delete_QQmlApplicationEngine(QQmlApplicationEngine* obj) { delete obj; } + QList rootObjects(QQmlApplicationEngine* theWrappedObject); + QList rootObjects(QQmlApplicationEngine* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QQmlComponent : public QQmlComponent +{ +public: + PythonQtShell_QQmlComponent(QObject* parent = nullptr):QQmlComponent(parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, QObject* parent = nullptr):QQmlComponent(arg__1, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QObject* parent = nullptr):QQmlComponent(arg__1, fileName, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent::CompilationMode mode, QObject* parent = nullptr):QQmlComponent(arg__1, fileName, mode, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QObject* parent = nullptr):QQmlComponent(arg__1, url, parent),_wrapper(nullptr) {}; + PythonQtShell_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QQmlComponent::CompilationMode mode, QObject* parent = nullptr):QQmlComponent(arg__1, url, mode, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlComponent() override; + +QObject* beginCreate(QQmlContext* arg__1) override; +void childEvent(QChildEvent* event) override; +void completeCreate() override; +QObject* create(QQmlContext* context = nullptr) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlComponent : public QQmlComponent +{ public: +inline QObject* py_q_beginCreate(QQmlContext* arg__1) { return QQmlComponent::beginCreate(arg__1); } +inline void py_q_completeCreate() { QQmlComponent::completeCreate(); } +inline QObject* py_q_create(QQmlContext* context = nullptr) { return QQmlComponent::create(context); } +}; + +class PythonQtWrapper_QQmlComponent : public QObject +{ Q_OBJECT +public: +public slots: +QQmlComponent* new_QQmlComponent(QObject* parent = nullptr); +QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, QObject* parent = nullptr); +QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QObject* parent = nullptr); +QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QString& fileName, QQmlComponent::CompilationMode mode, QObject* parent = nullptr); +QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QObject* parent = nullptr); +QQmlComponent* new_QQmlComponent(QQmlEngine* arg__1, const QUrl& url, QQmlComponent::CompilationMode mode, QObject* parent = nullptr); +void delete_QQmlComponent(QQmlComponent* obj) { delete obj; } + QObject* beginCreate(QQmlComponent* theWrappedObject, QQmlContext* arg__1); + QObject* py_q_beginCreate(QQmlComponent* theWrappedObject, QQmlContext* arg__1){ return (((PythonQtPublicPromoter_QQmlComponent*)theWrappedObject)->py_q_beginCreate(arg__1));} + void completeCreate(QQmlComponent* theWrappedObject); + void py_q_completeCreate(QQmlComponent* theWrappedObject){ (((PythonQtPublicPromoter_QQmlComponent*)theWrappedObject)->py_q_completeCreate());} + QObject* create(QQmlComponent* theWrappedObject, QQmlContext* context = nullptr); + QObject* py_q_create(QQmlComponent* theWrappedObject, QQmlContext* context = nullptr){ return (((PythonQtPublicPromoter_QQmlComponent*)theWrappedObject)->py_q_create(context));} + void create(QQmlComponent* theWrappedObject, QQmlIncubator& arg__1, QQmlContext* context = nullptr, QQmlContext* forContext = nullptr); + QObject* createWithInitialProperties(QQmlComponent* theWrappedObject, const QMap& initialProperties, QQmlContext* context = nullptr); + QQmlContext* creationContext(QQmlComponent* theWrappedObject) const; + QQmlEngine* engine(QQmlComponent* theWrappedObject) const; + QString errorString(QQmlComponent* theWrappedObject) const; + QList errors(QQmlComponent* theWrappedObject) const; + bool isError(QQmlComponent* theWrappedObject) const; + bool isLoading(QQmlComponent* theWrappedObject) const; + bool isNull(QQmlComponent* theWrappedObject) const; + bool isReady(QQmlComponent* theWrappedObject) const; + qreal progress(QQmlComponent* theWrappedObject) const; + void setInitialProperties(QQmlComponent* theWrappedObject, QObject* component, const QMap& properties); + QQmlComponent::Status status(QQmlComponent* theWrappedObject) const; + QUrl url(QQmlComponent* theWrappedObject) const; + bool __nonzero__(QQmlComponent* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QQmlContext : public QQmlContext +{ +public: + PythonQtShell_QQmlContext(QQmlContext* parent, QObject* objParent = nullptr):QQmlContext(parent, objParent),_wrapper(nullptr) {}; + PythonQtShell_QQmlContext(QQmlEngine* parent, QObject* objParent = nullptr):QQmlContext(parent, objParent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlContext() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QQmlContext : public QObject +{ Q_OBJECT +public: +public slots: +QQmlContext* new_QQmlContext(QQmlContext* parent, QObject* objParent = nullptr); +QQmlContext* new_QQmlContext(QQmlEngine* parent, QObject* objParent = nullptr); +void delete_QQmlContext(QQmlContext* obj) { delete obj; } + QUrl baseUrl(QQmlContext* theWrappedObject) const; + QObject* contextObject(QQmlContext* theWrappedObject) const; + QVariant contextProperty(QQmlContext* theWrappedObject, const QString& arg__1) const; + QQmlEngine* engine(QQmlContext* theWrappedObject) const; + bool isValid(QQmlContext* theWrappedObject) const; + QString nameForObject(QQmlContext* theWrappedObject, QObject* arg__1) const; + QQmlContext* parentContext(QQmlContext* theWrappedObject) const; + QUrl resolvedUrl(QQmlContext* theWrappedObject, const QUrl& arg__1); + void setBaseUrl(QQmlContext* theWrappedObject, const QUrl& arg__1); + void setContextObject(QQmlContext* theWrappedObject, QObject* arg__1); + void setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, QObject* arg__2); + void setContextProperty(QQmlContext* theWrappedObject, const QString& arg__1, const QVariant& arg__2); + bool __nonzero__(QQmlContext* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QQmlDebuggingEnabler : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StartMode ) +enum StartMode{ + DoNotWaitForClient = QQmlDebuggingEnabler::DoNotWaitForClient, WaitForClient = QQmlDebuggingEnabler::WaitForClient}; +public slots: +QQmlDebuggingEnabler* new_QQmlDebuggingEnabler(bool printWarning = true); +void delete_QQmlDebuggingEnabler(QQmlDebuggingEnabler* obj) { delete obj; } + bool static_QQmlDebuggingEnabler_connectToLocalDebugger(const QString& socketFileName, QQmlDebuggingEnabler::StartMode mode = QQmlDebuggingEnabler::DoNotWaitForClient); + QStringList static_QQmlDebuggingEnabler_debuggerServices(); + QStringList static_QQmlDebuggingEnabler_inspectorServices(); + QStringList static_QQmlDebuggingEnabler_nativeDebuggerServices(); + QStringList static_QQmlDebuggingEnabler_profilerServices(); + void static_QQmlDebuggingEnabler_setServices(const QStringList& services); + bool static_QQmlDebuggingEnabler_startDebugConnector(const QString& pluginName, const QHash& configuration = QVariantHash()); + bool static_QQmlDebuggingEnabler_startTcpDebugServer(int port, QQmlDebuggingEnabler::StartMode mode = QQmlDebuggingEnabler::DoNotWaitForClient, const QString& hostName = QString()); +}; + + + + + +class PythonQtShell_QQmlEngine : public QQmlEngine +{ +public: + PythonQtShell_QQmlEngine(QObject* p = nullptr):QQmlEngine(p),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlEngine() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlEngine : public QQmlEngine +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQmlEngine::event(arg__1); } +}; + +class PythonQtWrapper_QQmlEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ObjectOwnership ) +enum ObjectOwnership{ + CppOwnership = QQmlEngine::CppOwnership, JavaScriptOwnership = QQmlEngine::JavaScriptOwnership}; +public slots: +QQmlEngine* new_QQmlEngine(QObject* p = nullptr); +void delete_QQmlEngine(QQmlEngine* obj) { delete obj; } + void addImportPath(QQmlEngine* theWrappedObject, const QString& dir); + bool addNamedBundle(QQmlEngine* theWrappedObject, const QString& name, const QString& fileName); + void addPluginPath(QQmlEngine* theWrappedObject, const QString& dir); + QUrl baseUrl(QQmlEngine* theWrappedObject) const; + void clearComponentCache(QQmlEngine* theWrappedObject); + QQmlContext* static_QQmlEngine_contextForObject(const QObject* arg__1); + bool py_q_event(QQmlEngine* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQmlEngine*)theWrappedObject)->py_q_event(arg__1));} + QStringList importPathList(QQmlEngine* theWrappedObject) const; + bool importPlugin(QQmlEngine* theWrappedObject, const QString& filePath, const QString& uri, QList* errors); + QQmlIncubationController* incubationController(QQmlEngine* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QQmlEngine* theWrappedObject) const; + QQmlNetworkAccessManagerFactory* networkAccessManagerFactory(QQmlEngine* theWrappedObject) const; + QQmlEngine::ObjectOwnership static_QQmlEngine_objectOwnership(QObject* arg__1); + QString offlineStorageDatabaseFilePath(QQmlEngine* theWrappedObject, const QString& databaseName) const; + QString offlineStoragePath(QQmlEngine* theWrappedObject) const; + bool outputWarningsToStandardError(QQmlEngine* theWrappedObject) const; + QStringList pluginPathList(QQmlEngine* theWrappedObject) const; + void removeImageProvider(QQmlEngine* theWrappedObject, const QString& id); + QQmlContext* rootContext(QQmlEngine* theWrappedObject) const; + void setBaseUrl(QQmlEngine* theWrappedObject, const QUrl& arg__1); + void static_QQmlEngine_setContextForObject(QObject* arg__1, QQmlContext* arg__2); + void setImportPathList(QQmlEngine* theWrappedObject, const QStringList& paths); + void setIncubationController(QQmlEngine* theWrappedObject, QQmlIncubationController* arg__1); + void setNetworkAccessManagerFactory(QQmlEngine* theWrappedObject, QQmlNetworkAccessManagerFactory* arg__1); + void static_QQmlEngine_setObjectOwnership(QObject* arg__1, QQmlEngine::ObjectOwnership arg__2); + void setOfflineStoragePath(QQmlEngine* theWrappedObject, const QString& dir); + void setOutputWarningsToStandardError(QQmlEngine* theWrappedObject, bool arg__1); + void setPluginPathList(QQmlEngine* theWrappedObject, const QStringList& paths); + void setUrlInterceptor(QQmlEngine* theWrappedObject, QQmlAbstractUrlInterceptor* urlInterceptor); + void trimComponentCache(QQmlEngine* theWrappedObject); + QQmlAbstractUrlInterceptor* urlInterceptor(QQmlEngine* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QQmlError : public QObject +{ Q_OBJECT +public: +public slots: +QQmlError* new_QQmlError(); +QQmlError* new_QQmlError(const QQmlError& arg__1); +void delete_QQmlError(QQmlError* obj) { delete obj; } + int column(QQmlError* theWrappedObject) const; + QString description(QQmlError* theWrappedObject) const; + bool isValid(QQmlError* theWrappedObject) const; + int line(QQmlError* theWrappedObject) const; + QtMsgType messageType(QQmlError* theWrappedObject) const; + QObject* object(QQmlError* theWrappedObject) const; + QQmlError* operator_assign(QQmlError* theWrappedObject, const QQmlError& arg__1); + void setColumn(QQmlError* theWrappedObject, int arg__1); + void setDescription(QQmlError* theWrappedObject, const QString& arg__1); + void setLine(QQmlError* theWrappedObject, int arg__1); + void setMessageType(QQmlError* theWrappedObject, QtMsgType messageType); + void setObject(QQmlError* theWrappedObject, QObject* arg__1); + void setUrl(QQmlError* theWrappedObject, const QUrl& arg__1); + QString toString(QQmlError* theWrappedObject) const; + QUrl url(QQmlError* theWrappedObject) const; + QString py_toString(QQmlError*); + bool __nonzero__(QQmlError* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QQmlExpression : public QQmlExpression +{ +public: + PythonQtShell_QQmlExpression():QQmlExpression(),_wrapper(nullptr) {}; + PythonQtShell_QQmlExpression(QQmlContext* arg__1, QObject* arg__2, const QString& arg__3, QObject* arg__4 = nullptr):QQmlExpression(arg__1, arg__2, arg__3, arg__4),_wrapper(nullptr) {}; + PythonQtShell_QQmlExpression(const QQmlScriptString& arg__1, QQmlContext* arg__2 = nullptr, QObject* arg__3 = nullptr, QObject* arg__4 = nullptr):QQmlExpression(arg__1, arg__2, arg__3, arg__4),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlExpression() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QQmlExpression : public QObject +{ Q_OBJECT +public: +public slots: +QQmlExpression* new_QQmlExpression(); +QQmlExpression* new_QQmlExpression(QQmlContext* arg__1, QObject* arg__2, const QString& arg__3, QObject* arg__4 = nullptr); +QQmlExpression* new_QQmlExpression(const QQmlScriptString& arg__1, QQmlContext* arg__2 = nullptr, QObject* arg__3 = nullptr, QObject* arg__4 = nullptr); +void delete_QQmlExpression(QQmlExpression* obj) { delete obj; } + void clearError(QQmlExpression* theWrappedObject); + int columnNumber(QQmlExpression* theWrappedObject) const; + QQmlContext* context(QQmlExpression* theWrappedObject) const; + QQmlEngine* engine(QQmlExpression* theWrappedObject) const; + QQmlError error(QQmlExpression* theWrappedObject) const; + QVariant evaluate(QQmlExpression* theWrappedObject, bool* valueIsUndefined = nullptr); + QString expression(QQmlExpression* theWrappedObject) const; + bool hasError(QQmlExpression* theWrappedObject) const; + int lineNumber(QQmlExpression* theWrappedObject) const; + bool notifyOnValueChanged(QQmlExpression* theWrappedObject) const; + QObject* scopeObject(QQmlExpression* theWrappedObject) const; + void setExpression(QQmlExpression* theWrappedObject, const QString& arg__1); + void setNotifyOnValueChanged(QQmlExpression* theWrappedObject, bool arg__1); + void setSourceLocation(QQmlExpression* theWrappedObject, const QString& fileName, int line, int column = 0); + QString sourceFile(QQmlExpression* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QQmlExtensionInterface : public QQmlExtensionInterface +{ +public: + PythonQtShell_QQmlExtensionInterface():QQmlExtensionInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlExtensionInterface() override; + +void initializeEngine(QQmlEngine* engine, const char* uri) override; +void registerTypes(const char* uri) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlExtensionInterface : public QQmlExtensionInterface +{ public: +inline void py_q_initializeEngine(QQmlEngine* engine, const char* uri) { this->initializeEngine(engine, uri); } +}; + +class PythonQtWrapper_QQmlExtensionInterface : public QObject +{ Q_OBJECT +public: +public slots: +QQmlExtensionInterface* new_QQmlExtensionInterface(); +void delete_QQmlExtensionInterface(QQmlExtensionInterface* obj) { delete obj; } + void initializeEngine(QQmlExtensionInterface* theWrappedObject, QQmlEngine* engine, const char* uri); + void py_q_initializeEngine(QQmlExtensionInterface* theWrappedObject, QQmlEngine* engine, const char* uri){ (((PythonQtPublicPromoter_QQmlExtensionInterface*)theWrappedObject)->py_q_initializeEngine(engine, uri));} +}; + + + + + +class PythonQtShell_QQmlExtensionPlugin : public QQmlExtensionPlugin +{ +public: + PythonQtShell_QQmlExtensionPlugin(QObject* parent = nullptr):QQmlExtensionPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlExtensionPlugin() override; + +void initializeEngine(QQmlEngine* engine, const char* uri) override; +void registerTypes(const char* uri) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlExtensionPlugin : public QQmlExtensionPlugin +{ public: +inline void py_q_initializeEngine(QQmlEngine* engine, const char* uri) { QQmlExtensionPlugin::initializeEngine(engine, uri); } +inline void py_q_registerTypes(const char* uri) { this->registerTypes(uri); } +}; + +class PythonQtWrapper_QQmlExtensionPlugin : public QObject +{ Q_OBJECT +public: +public slots: +QQmlExtensionPlugin* new_QQmlExtensionPlugin(QObject* parent = nullptr); +void delete_QQmlExtensionPlugin(QQmlExtensionPlugin* obj) { delete obj; } + QUrl baseUrl(QQmlExtensionPlugin* theWrappedObject) const; + void initializeEngine(QQmlExtensionPlugin* theWrappedObject, QQmlEngine* engine, const char* uri); + void py_q_initializeEngine(QQmlExtensionPlugin* theWrappedObject, QQmlEngine* engine, const char* uri){ (((PythonQtPublicPromoter_QQmlExtensionPlugin*)theWrappedObject)->py_q_initializeEngine(engine, uri));} + void registerTypes(QQmlExtensionPlugin* theWrappedObject, const char* uri); + void py_q_registerTypes(QQmlExtensionPlugin* theWrappedObject, const char* uri){ (((PythonQtPublicPromoter_QQmlExtensionPlugin*)theWrappedObject)->py_q_registerTypes(uri));} +}; + + + + + +class PythonQtWrapper_QQmlFile : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Status ) +enum Status{ + Null = QQmlFile::Null, Ready = QQmlFile::Ready, Error = QQmlFile::Error, Loading = QQmlFile::Loading}; +public slots: +QQmlFile* new_QQmlFile(); +QQmlFile* new_QQmlFile(QQmlEngine* arg__1, const QString& arg__2); +QQmlFile* new_QQmlFile(QQmlEngine* arg__1, const QUrl& arg__2); +void delete_QQmlFile(QQmlFile* obj) { delete obj; } + void clear(QQmlFile* theWrappedObject); + void clear(QQmlFile* theWrappedObject, QObject* arg__1); + bool connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2); + bool connectDownloadProgress(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2); + bool connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, const char* arg__2); + bool connectFinished(QQmlFile* theWrappedObject, QObject* arg__1, int arg__2); + const char* data(QQmlFile* theWrappedObject) const; + QByteArray dataByteArray(QQmlFile* theWrappedObject) const; + QString error(QQmlFile* theWrappedObject) const; + bool isError(QQmlFile* theWrappedObject) const; + bool isLoading(QQmlFile* theWrappedObject) const; + bool static_QQmlFile_isLocalFile(const QString& url); + bool static_QQmlFile_isLocalFile(const QUrl& url); + bool isNull(QQmlFile* theWrappedObject) const; + bool isReady(QQmlFile* theWrappedObject) const; + bool static_QQmlFile_isSynchronous(const QString& url); + bool static_QQmlFile_isSynchronous(const QUrl& url); + void load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QString& arg__2); + void load(QQmlFile* theWrappedObject, QQmlEngine* arg__1, const QUrl& arg__2); + qint64 size(QQmlFile* theWrappedObject) const; + QQmlFile::Status status(QQmlFile* theWrappedObject) const; + QUrl url(QQmlFile* theWrappedObject) const; + QString static_QQmlFile_urlToLocalFileOrQrc(const QString& arg__1); + QString static_QQmlFile_urlToLocalFileOrQrc(const QUrl& arg__1); + bool __nonzero__(QQmlFile* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QQmlFileSelector : public QQmlFileSelector +{ +public: + PythonQtShell_QQmlFileSelector(QQmlEngine* engine, QObject* parent = nullptr):QQmlFileSelector(engine, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlFileSelector() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QQmlFileSelector : public QObject +{ Q_OBJECT +public: +public slots: +QQmlFileSelector* new_QQmlFileSelector(QQmlEngine* engine, QObject* parent = nullptr); +void delete_QQmlFileSelector(QQmlFileSelector* obj) { delete obj; } + QQmlFileSelector* static_QQmlFileSelector_get(QQmlEngine* arg__1); + QFileSelector* selector(QQmlFileSelector* theWrappedObject) const; + void setExtraSelectors(QQmlFileSelector* theWrappedObject, QStringList& strings); + void setExtraSelectors(QQmlFileSelector* theWrappedObject, const QStringList& strings); + void setSelector(QQmlFileSelector* theWrappedObject, QFileSelector* selector); +}; + + + + + +class PythonQtShell_QQmlIncubationController : public QQmlIncubationController +{ +public: + PythonQtShell_QQmlIncubationController():QQmlIncubationController(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlIncubationController() override; + +void incubatingObjectCountChanged(int arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlIncubationController : public QQmlIncubationController +{ public: +inline void promoted_incubatingObjectCountChanged(int arg__1) { this->incubatingObjectCountChanged(arg__1); } +inline void py_q_incubatingObjectCountChanged(int arg__1) { QQmlIncubationController::incubatingObjectCountChanged(arg__1); } +}; + +class PythonQtWrapper_QQmlIncubationController : public QObject +{ Q_OBJECT +public: +public slots: +QQmlIncubationController* new_QQmlIncubationController(); +void delete_QQmlIncubationController(QQmlIncubationController* obj) { delete obj; } + QQmlEngine* engine(QQmlIncubationController* theWrappedObject) const; + void incubateFor(QQmlIncubationController* theWrappedObject, int msecs); + int incubatingObjectCount(QQmlIncubationController* theWrappedObject) const; + void incubatingObjectCountChanged(QQmlIncubationController* theWrappedObject, int arg__1); + void py_q_incubatingObjectCountChanged(QQmlIncubationController* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QQmlIncubationController*)theWrappedObject)->py_q_incubatingObjectCountChanged(arg__1));} +}; + + + + + +class PythonQtShell_QQmlIncubator : public QQmlIncubator +{ +public: + PythonQtShell_QQmlIncubator(QQmlIncubator::IncubationMode arg__1 = QQmlIncubator::Asynchronous):QQmlIncubator(arg__1),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlIncubator() override; + +void setInitialState(QObject* arg__1) override; +void statusChanged(QQmlIncubator::Status arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlIncubator : public QQmlIncubator +{ public: +inline void promoted_setInitialState(QObject* arg__1) { this->setInitialState(arg__1); } +inline void promoted_statusChanged(QQmlIncubator::Status arg__1) { this->statusChanged(arg__1); } +inline void py_q_setInitialState(QObject* arg__1) { QQmlIncubator::setInitialState(arg__1); } +inline void py_q_statusChanged(QQmlIncubator::Status arg__1) { QQmlIncubator::statusChanged(arg__1); } +}; + +class PythonQtWrapper_QQmlIncubator : public QObject +{ Q_OBJECT +public: +Q_ENUMS(IncubationMode Status ) +enum IncubationMode{ + Asynchronous = QQmlIncubator::Asynchronous, AsynchronousIfNested = QQmlIncubator::AsynchronousIfNested, Synchronous = QQmlIncubator::Synchronous}; +enum Status{ + Null = QQmlIncubator::Null, Ready = QQmlIncubator::Ready, Loading = QQmlIncubator::Loading, Error = QQmlIncubator::Error}; +public slots: +QQmlIncubator* new_QQmlIncubator(QQmlIncubator::IncubationMode arg__1 = QQmlIncubator::Asynchronous); +void delete_QQmlIncubator(QQmlIncubator* obj) { delete obj; } + void clear(QQmlIncubator* theWrappedObject); + QList errors(QQmlIncubator* theWrappedObject) const; + void forceCompletion(QQmlIncubator* theWrappedObject); + QQmlIncubator::IncubationMode incubationMode(QQmlIncubator* theWrappedObject) const; + bool isError(QQmlIncubator* theWrappedObject) const; + bool isLoading(QQmlIncubator* theWrappedObject) const; + bool isNull(QQmlIncubator* theWrappedObject) const; + bool isReady(QQmlIncubator* theWrappedObject) const; + QObject* object(QQmlIncubator* theWrappedObject) const; + void setInitialProperties(QQmlIncubator* theWrappedObject, const QMap& initialProperties); + void setInitialState(QQmlIncubator* theWrappedObject, QObject* arg__1); + void py_q_setInitialState(QQmlIncubator* theWrappedObject, QObject* arg__1){ (((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->py_q_setInitialState(arg__1));} + QQmlIncubator::Status status(QQmlIncubator* theWrappedObject) const; + void statusChanged(QQmlIncubator* theWrappedObject, QQmlIncubator::Status arg__1); + void py_q_statusChanged(QQmlIncubator* theWrappedObject, QQmlIncubator::Status arg__1){ (((PythonQtPublicPromoter_QQmlIncubator*)theWrappedObject)->py_q_statusChanged(arg__1));} + bool __nonzero__(QQmlIncubator* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QQmlInfo : public QObject +{ Q_OBJECT +public: +public slots: +QQmlInfo* new_QQmlInfo(const QQmlInfo& arg__1); +void delete_QQmlInfo(QQmlInfo* obj) { delete obj; } + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, QChar t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, bool t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, char t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QByteArray& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QLatin1String& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QString& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QStringRef& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QUrl& t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const char* t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const void* t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, double t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, float t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, qint64 t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, quint64 t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, signed int t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, signed long t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, signed short t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, unsigned int t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, unsigned long t); + QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, unsigned short t); +}; + + + + + +class PythonQtWrapper_QQmlListReference : public QObject +{ Q_OBJECT +public: +public slots: +QQmlListReference* new_QQmlListReference(); +QQmlListReference* new_QQmlListReference(QObject* arg__1, const char* property, QQmlEngine* arg__3 = nullptr); +QQmlListReference* new_QQmlListReference(const QQmlListReference& arg__1); +void delete_QQmlListReference(QQmlListReference* obj) { delete obj; } + bool append(QQmlListReference* theWrappedObject, QObject* arg__1) const; + QObject* at(QQmlListReference* theWrappedObject, int arg__1) const; + bool canAppend(QQmlListReference* theWrappedObject) const; + bool canAt(QQmlListReference* theWrappedObject) const; + bool canClear(QQmlListReference* theWrappedObject) const; + bool canCount(QQmlListReference* theWrappedObject) const; + bool canRemoveLast(QQmlListReference* theWrappedObject) const; + bool canReplace(QQmlListReference* theWrappedObject) const; + bool clear(QQmlListReference* theWrappedObject) const; + int count(QQmlListReference* theWrappedObject) const; + bool isManipulable(QQmlListReference* theWrappedObject) const; + bool isReadable(QQmlListReference* theWrappedObject) const; + bool isValid(QQmlListReference* theWrappedObject) const; + const QMetaObject* listElementType(QQmlListReference* theWrappedObject) const; + QObject* object(QQmlListReference* theWrappedObject) const; + QQmlListReference* operator_assign(QQmlListReference* theWrappedObject, const QQmlListReference& arg__1); + bool removeLast(QQmlListReference* theWrappedObject) const; + bool replace(QQmlListReference* theWrappedObject, int arg__1, QObject* arg__2) const; + bool __nonzero__(QQmlListReference* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessManagerFactory +{ +public: + PythonQtShell_QQmlNetworkAccessManagerFactory():QQmlNetworkAccessManagerFactory(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlNetworkAccessManagerFactory() override; + +QNetworkAccessManager* create(QObject* parent) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessManagerFactory +{ public: +inline QNetworkAccessManager* py_q_create(QObject* parent) { return this->create(parent); } +}; + +class PythonQtWrapper_QQmlNetworkAccessManagerFactory : public QObject +{ Q_OBJECT +public: +public slots: +QQmlNetworkAccessManagerFactory* new_QQmlNetworkAccessManagerFactory(); +void delete_QQmlNetworkAccessManagerFactory(QQmlNetworkAccessManagerFactory* obj) { delete obj; } + QNetworkAccessManager* create(QQmlNetworkAccessManagerFactory* theWrappedObject, QObject* parent); + QNetworkAccessManager* py_q_create(QQmlNetworkAccessManagerFactory* theWrappedObject, QObject* parent){ return (((PythonQtPublicPromoter_QQmlNetworkAccessManagerFactory*)theWrappedObject)->py_q_create(parent));} +}; + + + + + +class PythonQtShell_QQmlParserStatus : public QQmlParserStatus +{ +public: + PythonQtShell_QQmlParserStatus():QQmlParserStatus(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlParserStatus() override; + +void classBegin() override; +void componentComplete() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlParserStatus : public QQmlParserStatus +{ public: +inline void py_q_classBegin() { this->classBegin(); } +inline void py_q_componentComplete() { this->componentComplete(); } +}; + +class PythonQtWrapper_QQmlParserStatus : public QObject +{ Q_OBJECT +public: +public slots: +QQmlParserStatus* new_QQmlParserStatus(); +void delete_QQmlParserStatus(QQmlParserStatus* obj) { delete obj; } + void classBegin(QQmlParserStatus* theWrappedObject); + void py_q_classBegin(QQmlParserStatus* theWrappedObject){ (((PythonQtPublicPromoter_QQmlParserStatus*)theWrappedObject)->py_q_classBegin());} + void componentComplete(QQmlParserStatus* theWrappedObject); + void py_q_componentComplete(QQmlParserStatus* theWrappedObject){ (((PythonQtPublicPromoter_QQmlParserStatus*)theWrappedObject)->py_q_componentComplete());} +}; + + + + + +class PythonQtWrapper_QQmlProperty : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PropertyTypeCategory Type ) +enum PropertyTypeCategory{ + InvalidCategory = QQmlProperty::InvalidCategory, List = QQmlProperty::List, Object = QQmlProperty::Object, Normal = QQmlProperty::Normal}; +enum Type{ + Invalid = QQmlProperty::Invalid, Property = QQmlProperty::Property, SignalProperty = QQmlProperty::SignalProperty}; +public slots: +QQmlProperty* new_QQmlProperty(); +QQmlProperty* new_QQmlProperty(QObject* arg__1); +QQmlProperty* new_QQmlProperty(QObject* arg__1, QQmlContext* arg__2); +QQmlProperty* new_QQmlProperty(QObject* arg__1, QQmlEngine* arg__2); +QQmlProperty* new_QQmlProperty(QObject* arg__1, const QString& arg__2); +QQmlProperty* new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlContext* arg__3); +QQmlProperty* new_QQmlProperty(QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3); +QQmlProperty* new_QQmlProperty(const QQmlProperty& arg__1); +void delete_QQmlProperty(QQmlProperty* obj) { delete obj; } + bool connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, const char* slot) const; + bool connectNotifySignal(QQmlProperty* theWrappedObject, QObject* dest, int method) const; + bool hasNotifySignal(QQmlProperty* theWrappedObject) const; + int index(QQmlProperty* theWrappedObject) const; + bool isDesignable(QQmlProperty* theWrappedObject) const; + bool isProperty(QQmlProperty* theWrappedObject) const; + bool isResettable(QQmlProperty* theWrappedObject) const; + bool isSignalProperty(QQmlProperty* theWrappedObject) const; + bool isValid(QQmlProperty* theWrappedObject) const; + bool isWritable(QQmlProperty* theWrappedObject) const; + QMetaMethod method(QQmlProperty* theWrappedObject) const; + QString name(QQmlProperty* theWrappedObject) const; + bool needsNotifySignal(QQmlProperty* theWrappedObject) const; + QObject* object(QQmlProperty* theWrappedObject) const; + QQmlProperty* operator_assign(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1); + bool __eq__(QQmlProperty* theWrappedObject, const QQmlProperty& arg__1) const; + QMetaProperty property(QQmlProperty* theWrappedObject) const; + int propertyType(QQmlProperty* theWrappedObject) const; + QQmlProperty::PropertyTypeCategory propertyTypeCategory(QQmlProperty* theWrappedObject) const; + const char* propertyTypeName(QQmlProperty* theWrappedObject) const; + QVariant read(QQmlProperty* theWrappedObject) const; + QVariant static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2); + QVariant static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlContext* arg__3); + QVariant static_QQmlProperty_read(const QObject* arg__1, const QString& arg__2, QQmlEngine* arg__3); + bool reset(QQmlProperty* theWrappedObject) const; + QQmlProperty::Type type(QQmlProperty* theWrappedObject) const; + bool static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3); + bool static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlContext* arg__4); + bool static_QQmlProperty_write(QObject* arg__1, const QString& arg__2, const QVariant& arg__3, QQmlEngine* arg__4); + bool write(QQmlProperty* theWrappedObject, const QVariant& arg__1) const; + bool __nonzero__(QQmlProperty* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QQmlPropertyMap : public QQmlPropertyMap +{ +public: + PythonQtShell_QQmlPropertyMap(QObject* parent = nullptr):QQmlPropertyMap(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlPropertyMap() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +QVariant updateValue(const QString& key, const QVariant& input) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlPropertyMap : public QQmlPropertyMap +{ public: +inline QVariant promoted_updateValue(const QString& key, const QVariant& input) { return this->updateValue(key, input); } +inline QVariant py_q_updateValue(const QString& key, const QVariant& input) { return QQmlPropertyMap::updateValue(key, input); } +}; + +class PythonQtWrapper_QQmlPropertyMap : public QObject +{ Q_OBJECT +public: +public slots: +QQmlPropertyMap* new_QQmlPropertyMap(QObject* parent = nullptr); +void delete_QQmlPropertyMap(QQmlPropertyMap* obj) { delete obj; } + void clear(QQmlPropertyMap* theWrappedObject, const QString& key); + bool contains(QQmlPropertyMap* theWrappedObject, const QString& key) const; + int count(QQmlPropertyMap* theWrappedObject) const; + void insert(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& value); + bool isEmpty(QQmlPropertyMap* theWrappedObject) const; + QStringList keys(QQmlPropertyMap* theWrappedObject) const; + QVariant operator_subscript(QQmlPropertyMap* theWrappedObject, const QString& key) const; + int size(QQmlPropertyMap* theWrappedObject) const; + QVariant updateValue(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& input); + QVariant py_q_updateValue(QQmlPropertyMap* theWrappedObject, const QString& key, const QVariant& input){ return (((PythonQtPublicPromoter_QQmlPropertyMap*)theWrappedObject)->py_q_updateValue(key, input));} + QVariant value(QQmlPropertyMap* theWrappedObject, const QString& key) const; + bool __nonzero__(QQmlPropertyMap* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QQmlPropertyValueSource : public QQmlPropertyValueSource +{ +public: + PythonQtShell_QQmlPropertyValueSource():QQmlPropertyValueSource(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlPropertyValueSource() override; + +void setTarget(const QQmlProperty& arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlPropertyValueSource : public QQmlPropertyValueSource +{ public: +inline void py_q_setTarget(const QQmlProperty& arg__1) { this->setTarget(arg__1); } +}; + +class PythonQtWrapper_QQmlPropertyValueSource : public QObject +{ Q_OBJECT +public: +public slots: +QQmlPropertyValueSource* new_QQmlPropertyValueSource(); +void delete_QQmlPropertyValueSource(QQmlPropertyValueSource* obj) { delete obj; } + void setTarget(QQmlPropertyValueSource* theWrappedObject, const QQmlProperty& arg__1); + void py_q_setTarget(QQmlPropertyValueSource* theWrappedObject, const QQmlProperty& arg__1){ (((PythonQtPublicPromoter_QQmlPropertyValueSource*)theWrappedObject)->py_q_setTarget(arg__1));} +}; + + + + + +class PythonQtWrapper_QQmlScriptString : public QObject +{ Q_OBJECT +public: +public slots: +QQmlScriptString* new_QQmlScriptString(); +QQmlScriptString* new_QQmlScriptString(const QQmlScriptString& arg__1); +void delete_QQmlScriptString(QQmlScriptString* obj) { delete obj; } + bool booleanLiteral(QQmlScriptString* theWrappedObject, bool* ok) const; + bool isEmpty(QQmlScriptString* theWrappedObject) const; + bool isNullLiteral(QQmlScriptString* theWrappedObject) const; + bool isUndefinedLiteral(QQmlScriptString* theWrappedObject) const; + qreal numberLiteral(QQmlScriptString* theWrappedObject, bool* ok) const; + bool __ne__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const; + QQmlScriptString* operator_assign(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1); + bool __eq__(QQmlScriptString* theWrappedObject, const QQmlScriptString& arg__1) const; + QString stringLiteral(QQmlScriptString* theWrappedObject) const; + bool __nonzero__(QQmlScriptString* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QQmlTypesExtensionInterface : public QQmlTypesExtensionInterface +{ +public: + PythonQtShell_QQmlTypesExtensionInterface():QQmlTypesExtensionInterface(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQmlTypesExtensionInterface() override; + +void registerTypes(const char* uri) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQmlTypesExtensionInterface : public QQmlTypesExtensionInterface +{ public: +inline void py_q_registerTypes(const char* uri) { this->registerTypes(uri); } +}; + +class PythonQtWrapper_QQmlTypesExtensionInterface : public QObject +{ Q_OBJECT +public: +public slots: +QQmlTypesExtensionInterface* new_QQmlTypesExtensionInterface(); +void delete_QQmlTypesExtensionInterface(QQmlTypesExtensionInterface* obj) { delete obj; } + void registerTypes(QQmlTypesExtensionInterface* theWrappedObject, const char* uri); + void py_q_registerTypes(QQmlTypesExtensionInterface* theWrappedObject, const char* uri){ (((PythonQtPublicPromoter_QQmlTypesExtensionInterface*)theWrappedObject)->py_q_registerTypes(uri));} +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp new file mode 100644 index 00000000..f568cf96 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp @@ -0,0 +1,37 @@ +#include +#include +#include "com_trolltech_qt_qml0.h" + + + +void PythonQt_init_QtQml(PyObject* module) { +PythonQt::priv()->registerClass(&QJSEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QJSValue", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlAbstractUrlInterceptor", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQmlApplicationEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQmlComponent::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QQmlContext::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlDebuggingEnabler", "", "QtQml", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QQmlEngine::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlError", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QQmlExpression::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlExtensionInterface", "QQmlTypesExtensionInterface", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQmlExtensionPlugin::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlFile", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QQmlFileSelector::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlIncubationController", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlIncubator", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlInfo", "", "QtQml", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QQmlListReference", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlNetworkAccessManagerFactory", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlParserStatus", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlProperty", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QQmlPropertyMap::staticMetaObject, "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QQmlPropertyValueSource", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQmlScriptString", "", "QtQml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QQmlTypesExtensionInterface", "", "QtQml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QJSValue); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QQmlError); +} diff --git a/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick.pri b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick.pri new file mode 100644 index 00000000..1dcdced7 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick.pri @@ -0,0 +1,8 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_quick0.h \ + $$PWD/com_trolltech_qt_quick1.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_quick0.cpp \ + $$PWD/com_trolltech_qt_quick1.cpp \ + $$PWD/com_trolltech_qt_quick_init.cpp diff --git a/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp new file mode 100644 index 00000000..719f4aee --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp @@ -0,0 +1,9222 @@ +#include "com_trolltech_qt_quick0.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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QQuickFramebufferObject::~PythonQtShell_QQuickFramebufferObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QQuickFramebufferObject::boundingRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::boundingRect(); +} +bool PythonQtShell_QQuickFramebufferObject::childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childMouseEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::childMouseEventFilter(arg__1, arg__2); +} +void PythonQtShell_QQuickFramebufferObject::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::classBegin(); +} +QRectF PythonQtShell_QQuickFramebufferObject::clipRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clipRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::clipRect(); +} +void PythonQtShell_QQuickFramebufferObject::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::componentComplete(); +} +bool PythonQtShell_QQuickFramebufferObject::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::contains(point0); +} +QQuickFramebufferObject::Renderer* PythonQtShell_QQuickFramebufferObject::createRenderer() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createRenderer"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QQuickFramebufferObject::Renderer*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QQuickFramebufferObject::Renderer* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createRenderer", methodInfo, result); + } else { + returnValue = *((QQuickFramebufferObject::Renderer**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QQuickFramebufferObject::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::dropEvent(arg__1); +} +bool PythonQtShell_QQuickFramebufferObject::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::event(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::focusInEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::focusOutEvent(arg__1); +} +void PythonQtShell_QQuickFramebufferObject::geometryChanged(const QRectF& newGeometry0, const QRectF& oldGeometry1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometryChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::geometryChanged(newGeometry0, oldGeometry1); +} +void PythonQtShell_QQuickFramebufferObject::hoverEnterEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::hoverEnterEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::hoverLeaveEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::hoverLeaveEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::hoverMoveEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::hoverMoveEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickFramebufferObject::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::inputMethodQuery(query0); +} +bool PythonQtShell_QQuickFramebufferObject::isTextureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isTextureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::isTextureProvider(); +} +void PythonQtShell_QQuickFramebufferObject::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::keyPressEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::keyReleaseEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::mouseMoveEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::mousePressEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::mouseReleaseEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::mouseUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseUngrabEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::mouseUngrabEvent(); +} +void PythonQtShell_QQuickFramebufferObject::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::releaseResources(); +} +QSGTextureProvider* PythonQtShell_QQuickFramebufferObject::textureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTextureProvider*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGTextureProvider* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); + } else { + returnValue = *((QSGTextureProvider**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::textureProvider(); +} +void PythonQtShell_QQuickFramebufferObject::touchEvent(QTouchEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::touchEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::touchUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchUngrabEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::touchUngrabEvent(); +} +QSGNode* PythonQtShell_QQuickFramebufferObject::updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePaintNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSGNode* returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); + } else { + returnValue = *((QSGNode**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::updatePaintNode(arg__1, arg__2); +} +void PythonQtShell_QQuickFramebufferObject::updatePolish() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::updatePolish(); +} +void PythonQtShell_QQuickFramebufferObject::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::wheelEvent(event0); +} +void PythonQtShell_QQuickFramebufferObject::windowDeactivateEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowDeactivateEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::windowDeactivateEvent(); +} +QQuickFramebufferObject* PythonQtWrapper_QQuickFramebufferObject::new_QQuickFramebufferObject(QQuickItem* parent) +{ +return new PythonQtShell_QQuickFramebufferObject(parent); } + +const QMetaObject* PythonQtShell_QQuickFramebufferObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickFramebufferObject::staticMetaObject); + } else { + return &QQuickFramebufferObject::staticMetaObject; + } +} +int PythonQtShell_QQuickFramebufferObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickFramebufferObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQuickFramebufferObject::Renderer* PythonQtWrapper_QQuickFramebufferObject::createRenderer(QQuickFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->createRenderer()); +} + +bool PythonQtWrapper_QQuickFramebufferObject::mirrorVertically(QQuickFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->mirrorVertically()); +} + +void PythonQtWrapper_QQuickFramebufferObject::setMirrorVertically(QQuickFramebufferObject* theWrappedObject, bool enable) +{ + ( theWrappedObject->setMirrorVertically(enable)); +} + +void PythonQtWrapper_QQuickFramebufferObject::setTextureFollowsItemSize(QQuickFramebufferObject* theWrappedObject, bool follows) +{ + ( theWrappedObject->setTextureFollowsItemSize(follows)); +} + +bool PythonQtWrapper_QQuickFramebufferObject::textureFollowsItemSize(QQuickFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->textureFollowsItemSize()); +} + + + +PythonQtShell_QQuickFramebufferObject__Renderer::~PythonQtShell_QQuickFramebufferObject__Renderer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QOpenGLFramebufferObject* PythonQtShell_QQuickFramebufferObject__Renderer::createFramebufferObject(const QSize& size0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createFramebufferObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QOpenGLFramebufferObject*" , "const QSize&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QOpenGLFramebufferObject* returnValue{}; + void* args[2] = {nullptr, (void*)&size0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createFramebufferObject", methodInfo, result); + } else { + returnValue = *((QOpenGLFramebufferObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickFramebufferObject::Renderer::createFramebufferObject(size0); +} +void PythonQtShell_QQuickFramebufferObject__Renderer::render() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("render"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QQuickFramebufferObject__Renderer::synchronize(QQuickFramebufferObject* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("synchronize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QQuickFramebufferObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickFramebufferObject::Renderer::synchronize(arg__1); +} +QQuickFramebufferObject::Renderer* PythonQtWrapper_QQuickFramebufferObject__Renderer::new_QQuickFramebufferObject__Renderer() +{ +return new PythonQtShell_QQuickFramebufferObject__Renderer(); } + +QOpenGLFramebufferObject* PythonQtWrapper_QQuickFramebufferObject__Renderer::createFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject, const QSize& size) +{ + return ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_createFramebufferObject(size)); +} + +QOpenGLFramebufferObject* PythonQtWrapper_QQuickFramebufferObject__Renderer::framebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_framebufferObject()); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::invalidateFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_invalidateFramebufferObject()); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::render(QQuickFramebufferObject::Renderer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_render()); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::synchronize(QQuickFramebufferObject::Renderer* theWrappedObject, QQuickFramebufferObject* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_synchronize(arg__1)); +} + +void PythonQtWrapper_QQuickFramebufferObject__Renderer::update(QQuickFramebufferObject::Renderer* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->promoted_update()); +} + + + +QImage PythonQtWrapper_QQuickImageProvider::requestImage(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize) +{ + return ( theWrappedObject->requestImage(id, size, requestedSize)); +} + +QPixmap PythonQtWrapper_QQuickImageProvider::requestPixmap(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize) +{ + return ( theWrappedObject->requestPixmap(id, size, requestedSize)); +} + + + +PythonQtShell_QQuickItem::~PythonQtShell_QQuickItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QQuickItem::boundingRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::boundingRect(); +} +bool PythonQtShell_QQuickItem::childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childMouseEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::childMouseEventFilter(arg__1, arg__2); +} +void PythonQtShell_QQuickItem::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::classBegin(); +} +QRectF PythonQtShell_QQuickItem::clipRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clipRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::clipRect(); +} +void PythonQtShell_QQuickItem::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::componentComplete(); +} +bool PythonQtShell_QQuickItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::contains(point0); +} +void PythonQtShell_QQuickItem::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickItem::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickItem::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickItem::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::dropEvent(arg__1); +} +bool PythonQtShell_QQuickItem::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::event(arg__1); +} +void PythonQtShell_QQuickItem::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::focusInEvent(arg__1); +} +void PythonQtShell_QQuickItem::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::focusOutEvent(arg__1); +} +void PythonQtShell_QQuickItem::geometryChanged(const QRectF& newGeometry0, const QRectF& oldGeometry1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometryChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::geometryChanged(newGeometry0, oldGeometry1); +} +void PythonQtShell_QQuickItem::hoverEnterEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::hoverEnterEvent(event0); +} +void PythonQtShell_QQuickItem::hoverLeaveEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QQuickItem::hoverMoveEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::hoverMoveEvent(event0); +} +void PythonQtShell_QQuickItem::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::inputMethodQuery(query0); +} +bool PythonQtShell_QQuickItem::isTextureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isTextureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::isTextureProvider(); +} +void PythonQtShell_QQuickItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::keyPressEvent(event0); +} +void PythonQtShell_QQuickItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::keyReleaseEvent(event0); +} +void PythonQtShell_QQuickItem::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QQuickItem::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::mouseMoveEvent(event0); +} +void PythonQtShell_QQuickItem::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::mousePressEvent(event0); +} +void PythonQtShell_QQuickItem::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::mouseReleaseEvent(event0); +} +void PythonQtShell_QQuickItem::mouseUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseUngrabEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::mouseUngrabEvent(); +} +void PythonQtShell_QQuickItem::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::releaseResources(); +} +QSGTextureProvider* PythonQtShell_QQuickItem::textureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTextureProvider*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGTextureProvider* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); + } else { + returnValue = *((QSGTextureProvider**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::textureProvider(); +} +void PythonQtShell_QQuickItem::touchEvent(QTouchEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::touchEvent(event0); +} +void PythonQtShell_QQuickItem::touchUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchUngrabEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::touchUngrabEvent(); +} +QSGNode* PythonQtShell_QQuickItem::updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePaintNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSGNode* returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); + } else { + returnValue = *((QSGNode**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickItem::updatePaintNode(arg__1, arg__2); +} +void PythonQtShell_QQuickItem::updatePolish() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::updatePolish(); +} +void PythonQtShell_QQuickItem::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::wheelEvent(event0); +} +void PythonQtShell_QQuickItem::windowDeactivateEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowDeactivateEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickItem::windowDeactivateEvent(); +} +QQuickItem* PythonQtWrapper_QQuickItem::new_QQuickItem(QQuickItem* parent) +{ +return new PythonQtShell_QQuickItem(parent); } + +const QMetaObject* PythonQtShell_QQuickItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickItem::staticMetaObject); + } else { + return &QQuickItem::staticMetaObject; + } +} +int PythonQtShell_QQuickItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QQuickItem::acceptHoverEvents(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptHoverEvents()); +} + +bool PythonQtWrapper_QQuickItem::acceptTouchEvents(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptTouchEvents()); +} + +Qt::MouseButtons PythonQtWrapper_QQuickItem::acceptedMouseButtons(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->acceptedMouseButtons()); +} + +bool PythonQtWrapper_QQuickItem::activeFocusOnTab(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->activeFocusOnTab()); +} + +bool PythonQtWrapper_QQuickItem::antialiasing(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->antialiasing()); +} + +qreal PythonQtWrapper_QQuickItem::baselineOffset(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->baselineOffset()); +} + +QRectF PythonQtWrapper_QQuickItem::boundingRect(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::childAt(QQuickItem* theWrappedObject, qreal x, qreal y) const +{ + return ( theWrappedObject->childAt(x, y)); +} + +QList PythonQtWrapper_QQuickItem::childItems(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->childItems()); +} + +bool PythonQtWrapper_QQuickItem::childMouseEventFilter(QQuickItem* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2) +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_childMouseEventFilter(arg__1, arg__2)); +} + +QRectF PythonQtWrapper_QQuickItem::childrenRect(QQuickItem* theWrappedObject) +{ + return ( theWrappedObject->childrenRect()); +} + +void PythonQtWrapper_QQuickItem::classBegin(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_classBegin()); +} + +bool PythonQtWrapper_QQuickItem::clip(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->clip()); +} + +QRectF PythonQtWrapper_QQuickItem::clipRect(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->clipRect()); +} + +void PythonQtWrapper_QQuickItem::componentComplete(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_componentComplete()); +} + +QObject* PythonQtWrapper_QQuickItem::containmentMask(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->containmentMask()); +} + +bool PythonQtWrapper_QQuickItem::contains(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->contains(point)); +} + +QCursor PythonQtWrapper_QQuickItem::cursor(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} + +void PythonQtWrapper_QQuickItem::dragEnterEvent(QQuickItem* theWrappedObject, QDragEnterEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dragEnterEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::dragLeaveEvent(QQuickItem* theWrappedObject, QDragLeaveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dragLeaveEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::dragMoveEvent(QQuickItem* theWrappedObject, QDragMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dragMoveEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::dropEvent(QQuickItem* theWrappedObject, QDropEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_dropEvent(arg__1)); +} + +bool PythonQtWrapper_QQuickItem::event(QQuickItem* theWrappedObject, QEvent* arg__1) +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_event(arg__1)); +} + +bool PythonQtWrapper_QQuickItem::filtersChildMouseEvents(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->filtersChildMouseEvents()); +} + +void PythonQtWrapper_QQuickItem::focusInEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::focusOutEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +void PythonQtWrapper_QQuickItem::forceActiveFocus(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->forceActiveFocus()); +} + +void PythonQtWrapper_QQuickItem::forceActiveFocus(QQuickItem* theWrappedObject, Qt::FocusReason reason) +{ + ( theWrappedObject->forceActiveFocus(reason)); +} + +void PythonQtWrapper_QQuickItem::geometryChanged(QQuickItem* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_geometryChanged(newGeometry, oldGeometry)); +} + +void PythonQtWrapper_QQuickItem::grabMouse(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->grabMouse()); +} + +bool PythonQtWrapper_QQuickItem::grabToImage(QQuickItem* theWrappedObject, const QJSValue& callback, const QSize& targetSize) +{ + return ( theWrappedObject->grabToImage(callback, targetSize)); +} + +void PythonQtWrapper_QQuickItem::grabTouchPoints(QQuickItem* theWrappedObject, const QVector& ids) +{ + ( theWrappedObject->grabTouchPoints(ids)); +} + +bool PythonQtWrapper_QQuickItem::hasActiveFocus(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->hasActiveFocus()); +} + +bool PythonQtWrapper_QQuickItem::hasFocus(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +qreal PythonQtWrapper_QQuickItem::height(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QQuickItem::heightValid(QQuickItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_heightValid()); +} + +void PythonQtWrapper_QQuickItem::hoverEnterEvent(QQuickItem* theWrappedObject, QHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); +} + +void PythonQtWrapper_QQuickItem::hoverLeaveEvent(QQuickItem* theWrappedObject, QHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +} + +void PythonQtWrapper_QQuickItem::hoverMoveEvent(QQuickItem* theWrappedObject, QHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); +} + +qreal PythonQtWrapper_QQuickItem::implicitHeight(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->implicitHeight()); +} + +qreal PythonQtWrapper_QQuickItem::implicitWidth(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->implicitWidth()); +} + +void PythonQtWrapper_QQuickItem::inputMethodEvent(QQuickItem* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +QVariant PythonQtWrapper_QQuickItem::inputMethodQuery(QQuickItem* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( theWrappedObject->inputMethodQuery(query)); +} + +bool PythonQtWrapper_QQuickItem::isAncestorOf(QQuickItem* theWrappedObject, const QQuickItem* child) const +{ + return ( theWrappedObject->isAncestorOf(child)); +} + +bool PythonQtWrapper_QQuickItem::isComponentComplete(QQuickItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_isComponentComplete()); +} + +bool PythonQtWrapper_QQuickItem::isEnabled(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QQuickItem::isFocusScope(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isFocusScope()); +} + +bool PythonQtWrapper_QQuickItem::isTextureProvider(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isTextureProvider()); +} + +bool PythonQtWrapper_QQuickItem::isUnderMouse(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isUnderMouse()); +} + +bool PythonQtWrapper_QQuickItem::isVisible(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +QTransform PythonQtWrapper_QQuickItem::itemTransform(QQuickItem* theWrappedObject, QQuickItem* arg__1, bool* arg__2) const +{ + return ( theWrappedObject->itemTransform(arg__1, arg__2)); +} + +bool PythonQtWrapper_QQuickItem::keepMouseGrab(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->keepMouseGrab()); +} + +bool PythonQtWrapper_QQuickItem::keepTouchGrab(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->keepTouchGrab()); +} + +void PythonQtWrapper_QQuickItem::keyPressEvent(QQuickItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_keyPressEvent(event)); +} + +void PythonQtWrapper_QQuickItem::keyReleaseEvent(QQuickItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); +} + +QPointF PythonQtWrapper_QQuickItem::mapFromGlobal(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromGlobal(point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapFromItem(item, point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapFromScene(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromScene(point)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromItem(item, rect)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectFromScene(QQuickItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectFromScene(rect)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToItem(item, rect)); +} + +QRectF PythonQtWrapper_QQuickItem::mapRectToScene(QQuickItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapRectToScene(rect)); +} + +QPointF PythonQtWrapper_QQuickItem::mapToGlobal(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToGlobal(point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const +{ + return ( theWrappedObject->mapToItem(item, point)); +} + +QPointF PythonQtWrapper_QQuickItem::mapToScene(QQuickItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapToScene(point)); +} + +void PythonQtWrapper_QQuickItem::mouseDoubleClickEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mouseMoveEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mousePressEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mousePressEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mouseReleaseEvent(QQuickItem* theWrappedObject, QMouseEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); +} + +void PythonQtWrapper_QQuickItem::mouseUngrabEvent(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_mouseUngrabEvent()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::nextItemInFocusChain(QQuickItem* theWrappedObject, bool forward) +{ + return ( theWrappedObject->nextItemInFocusChain(forward)); +} + +qreal PythonQtWrapper_QQuickItem::opacity(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::parentItem(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->parentItem()); +} + +void PythonQtWrapper_QQuickItem::polish(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->polish()); +} + +QPointF PythonQtWrapper_QQuickItem::position(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QQuickItem::releaseResources(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_releaseResources()); +} + +void PythonQtWrapper_QQuickItem::resetAntialiasing(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->resetAntialiasing()); +} + +void PythonQtWrapper_QQuickItem::resetHeight(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->resetHeight()); +} + +void PythonQtWrapper_QQuickItem::resetWidth(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->resetWidth()); +} + +qreal PythonQtWrapper_QQuickItem::rotation(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +qreal PythonQtWrapper_QQuickItem::scale(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->scale()); +} + +QQuickItem* PythonQtWrapper_QQuickItem::scopedFocusItem(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->scopedFocusItem()); +} + +void PythonQtWrapper_QQuickItem::setAcceptHoverEvents(QQuickItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptHoverEvents(enabled)); +} + +void PythonQtWrapper_QQuickItem::setAcceptTouchEvents(QQuickItem* theWrappedObject, bool accept) +{ + ( theWrappedObject->setAcceptTouchEvents(accept)); +} + +void PythonQtWrapper_QQuickItem::setAcceptedMouseButtons(QQuickItem* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setAcceptedMouseButtons(buttons)); +} + +void PythonQtWrapper_QQuickItem::setActiveFocusOnTab(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setActiveFocusOnTab(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setAntialiasing(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAntialiasing(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setBaselineOffset(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setBaselineOffset(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setClip(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setClip(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setContainmentMask(QQuickItem* theWrappedObject, QObject* mask) +{ + ( theWrappedObject->setContainmentMask(mask)); +} + +void PythonQtWrapper_QQuickItem::setCursor(QQuickItem* theWrappedObject, const QCursor& cursor) +{ + ( theWrappedObject->setCursor(cursor)); +} + +void PythonQtWrapper_QQuickItem::setEnabled(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setEnabled(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setFiltersChildMouseEvents(QQuickItem* theWrappedObject, bool filter) +{ + ( theWrappedObject->setFiltersChildMouseEvents(filter)); +} + +void PythonQtWrapper_QQuickItem::setFlag(QQuickItem* theWrappedObject, QQuickItem::Flag flag, bool enabled) +{ + ( theWrappedObject->setFlag(flag, enabled)); +} + +void PythonQtWrapper_QQuickItem::setFocus(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFocus(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setFocus(QQuickItem* theWrappedObject, bool focus, Qt::FocusReason reason) +{ + ( theWrappedObject->setFocus(focus, reason)); +} + +void PythonQtWrapper_QQuickItem::setHeight(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setHeight(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setImplicitHeight(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setImplicitHeight(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setImplicitSize(QQuickItem* theWrappedObject, qreal arg__1, qreal arg__2) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_setImplicitSize(arg__1, arg__2)); +} + +void PythonQtWrapper_QQuickItem::setImplicitWidth(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setImplicitWidth(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setKeepMouseGrab(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setKeepMouseGrab(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setKeepTouchGrab(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setKeepTouchGrab(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setOpacity(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setOpacity(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setParentItem(QQuickItem* theWrappedObject, QQuickItem* parent) +{ + ( theWrappedObject->setParentItem(parent)); +} + +void PythonQtWrapper_QQuickItem::setPosition(QQuickItem* theWrappedObject, const QPointF& arg__1) +{ + ( theWrappedObject->setPosition(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setRotation(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setRotation(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setScale(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setScale(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setSize(QQuickItem* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setSize(size)); +} + +void PythonQtWrapper_QQuickItem::setSmooth(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setSmooth(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setState(QQuickItem* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setState(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setTransformOrigin(QQuickItem* theWrappedObject, QQuickItem::TransformOrigin arg__1) +{ + ( theWrappedObject->setTransformOrigin(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setTransformOriginPoint(QQuickItem* theWrappedObject, const QPointF& arg__1) +{ + ( theWrappedObject->setTransformOriginPoint(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setVisible(QQuickItem* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setVisible(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setWidth(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setWidth(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setX(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setX(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setY(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setY(arg__1)); +} + +void PythonQtWrapper_QQuickItem::setZ(QQuickItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setZ(arg__1)); +} + +QSizeF PythonQtWrapper_QQuickItem::size(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +bool PythonQtWrapper_QQuickItem::smooth(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->smooth()); +} + +void PythonQtWrapper_QQuickItem::stackAfter(QQuickItem* theWrappedObject, const QQuickItem* arg__1) +{ + ( theWrappedObject->stackAfter(arg__1)); +} + +void PythonQtWrapper_QQuickItem::stackBefore(QQuickItem* theWrappedObject, const QQuickItem* arg__1) +{ + ( theWrappedObject->stackBefore(arg__1)); +} + +QString PythonQtWrapper_QQuickItem::state(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +QSGTextureProvider* PythonQtWrapper_QQuickItem::textureProvider(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->textureProvider()); +} + +void PythonQtWrapper_QQuickItem::touchEvent(QQuickItem* theWrappedObject, QTouchEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_touchEvent(event)); +} + +void PythonQtWrapper_QQuickItem::touchUngrabEvent(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_touchUngrabEvent()); +} + +QQuickItem::TransformOrigin PythonQtWrapper_QQuickItem::transformOrigin(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOrigin()); +} + +QPointF PythonQtWrapper_QQuickItem::transformOriginPoint(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOriginPoint()); +} + +void PythonQtWrapper_QQuickItem::ungrabMouse(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->ungrabMouse()); +} + +void PythonQtWrapper_QQuickItem::ungrabTouchPoints(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->ungrabTouchPoints()); +} + +void PythonQtWrapper_QQuickItem::unsetCursor(QQuickItem* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} + +void PythonQtWrapper_QQuickItem::updateInputMethod(QQuickItem* theWrappedObject, Qt::InputMethodQueries queries) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_updateInputMethod(queries)); +} + +QSGNode* PythonQtWrapper_QQuickItem::updatePaintNode(QQuickItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_updatePaintNode(arg__1, arg__2)); +} + +void PythonQtWrapper_QQuickItem::updatePolish(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_updatePolish()); +} + +void PythonQtWrapper_QQuickItem::wheelEvent(QQuickItem* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_wheelEvent(event)); +} + +qreal PythonQtWrapper_QQuickItem::width(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +bool PythonQtWrapper_QQuickItem::widthValid(QQuickItem* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_widthValid()); +} + +QQuickWindow* PythonQtWrapper_QQuickItem::window(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +void PythonQtWrapper_QQuickItem::windowDeactivateEvent(QQuickItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->promoted_windowDeactivateEvent()); +} + +qreal PythonQtWrapper_QQuickItem::x(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +qreal PythonQtWrapper_QQuickItem::y(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +qreal PythonQtWrapper_QQuickItem::z(QQuickItem* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QQuickItem::py_toString(QQuickItem* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QImage PythonQtWrapper_QQuickItemGrabResult::image(QQuickItemGrabResult* theWrappedObject) const +{ + return ( theWrappedObject->image()); +} + +bool PythonQtWrapper_QQuickItemGrabResult::saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName) +{ + return ( theWrappedObject->saveToFile(fileName)); +} + +bool PythonQtWrapper_QQuickItemGrabResult::saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->saveToFile(fileName)); +} + +QUrl PythonQtWrapper_QQuickItemGrabResult::url(QQuickItemGrabResult* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + + + + + +PythonQtShell_QQuickPaintedItem::~PythonQtShell_QQuickPaintedItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QQuickPaintedItem::boundingRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::boundingRect(); +} +bool PythonQtShell_QQuickPaintedItem::childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childMouseEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QQuickItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("childMouseEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::childMouseEventFilter(arg__1, arg__2); +} +void PythonQtShell_QQuickPaintedItem::classBegin() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("classBegin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::classBegin(); +} +QRectF PythonQtShell_QQuickPaintedItem::clipRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clipRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::clipRect(); +} +void PythonQtShell_QQuickPaintedItem::componentComplete() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("componentComplete"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::componentComplete(); +} +bool PythonQtShell_QQuickPaintedItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::contains(point0); +} +void PythonQtShell_QQuickPaintedItem::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::dropEvent(arg__1); +} +bool PythonQtShell_QQuickPaintedItem::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::event(arg__1); +} +void PythonQtShell_QQuickPaintedItem::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::focusInEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::focusOutEvent(arg__1); +} +void PythonQtShell_QQuickPaintedItem::geometryChanged(const QRectF& newGeometry0, const QRectF& oldGeometry1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("geometryChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&newGeometry0, (void*)&oldGeometry1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::geometryChanged(newGeometry0, oldGeometry1); +} +void PythonQtShell_QQuickPaintedItem::hoverEnterEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::hoverEnterEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::hoverLeaveEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::hoverMoveEvent(QHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::hoverMoveEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickPaintedItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::inputMethodQuery(query0); +} +bool PythonQtShell_QQuickPaintedItem::isTextureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isTextureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isTextureProvider", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::isTextureProvider(); +} +void PythonQtShell_QQuickPaintedItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::keyPressEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::keyReleaseEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::mouseMoveEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::mousePressEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::mouseReleaseEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::mouseUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseUngrabEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::mouseUngrabEvent(); +} +void PythonQtShell_QQuickPaintedItem::paint(QPainter* painter0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QQuickPaintedItem::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::releaseResources(); +} +QSGTextureProvider* PythonQtShell_QQuickPaintedItem::textureProvider() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureProvider"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTextureProvider*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGTextureProvider* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureProvider", methodInfo, result); + } else { + returnValue = *((QSGTextureProvider**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::textureProvider(); +} +void PythonQtShell_QQuickPaintedItem::touchEvent(QTouchEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::touchEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::touchUngrabEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchUngrabEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::touchUngrabEvent(); +} +QSGNode* PythonQtShell_QQuickPaintedItem::updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePaintNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGNode*" , "QSGNode*" , "QQuickItem::UpdatePaintNodeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSGNode* returnValue{}; + void* args[3] = {nullptr, (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, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updatePaintNode", methodInfo, result); + } else { + returnValue = *((QSGNode**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickPaintedItem::updatePaintNode(arg__1, arg__2); +} +void PythonQtShell_QQuickPaintedItem::updatePolish() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updatePolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::updatePolish(); +} +void PythonQtShell_QQuickPaintedItem::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::wheelEvent(event0); +} +void PythonQtShell_QQuickPaintedItem::windowDeactivateEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("windowDeactivateEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickPaintedItem::windowDeactivateEvent(); +} +QQuickPaintedItem* PythonQtWrapper_QQuickPaintedItem::new_QQuickPaintedItem(QQuickItem* parent) +{ +return new PythonQtShell_QQuickPaintedItem(parent); } + +const QMetaObject* PythonQtShell_QQuickPaintedItem::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickPaintedItem::staticMetaObject); + } else { + return &QQuickPaintedItem::staticMetaObject; + } +} +int PythonQtShell_QQuickPaintedItem::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickPaintedItem::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QQuickPaintedItem::antialiasing(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->antialiasing()); +} + +QRectF PythonQtWrapper_QQuickPaintedItem::contentsBoundingRect(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->contentsBoundingRect()); +} + +qreal PythonQtWrapper_QQuickPaintedItem::contentsScale(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->contentsScale()); +} + +QSize PythonQtWrapper_QQuickPaintedItem::contentsSize(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->contentsSize()); +} + +QColor PythonQtWrapper_QQuickPaintedItem::fillColor(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->fillColor()); +} + +bool PythonQtWrapper_QQuickPaintedItem::mipmap(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->mipmap()); +} + +bool PythonQtWrapper_QQuickPaintedItem::opaquePainting(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->opaquePainting()); +} + +void PythonQtWrapper_QQuickPaintedItem::paint(QQuickPaintedItem* theWrappedObject, QPainter* painter) +{ + ( theWrappedObject->paint(painter)); +} + +QQuickPaintedItem::RenderTarget PythonQtWrapper_QQuickPaintedItem::renderTarget(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->renderTarget()); +} + +void PythonQtWrapper_QQuickPaintedItem::resetContentsSize(QQuickPaintedItem* theWrappedObject) +{ + ( theWrappedObject->resetContentsSize()); +} + +void PythonQtWrapper_QQuickPaintedItem::setAntialiasing(QQuickPaintedItem* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAntialiasing(enable)); +} + +void PythonQtWrapper_QQuickPaintedItem::setContentsScale(QQuickPaintedItem* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setContentsScale(arg__1)); +} + +void PythonQtWrapper_QQuickPaintedItem::setContentsSize(QQuickPaintedItem* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setContentsSize(arg__1)); +} + +void PythonQtWrapper_QQuickPaintedItem::setFillColor(QQuickPaintedItem* theWrappedObject, const QColor& arg__1) +{ + ( theWrappedObject->setFillColor(arg__1)); +} + +void PythonQtWrapper_QQuickPaintedItem::setMipmap(QQuickPaintedItem* theWrappedObject, bool enable) +{ + ( theWrappedObject->setMipmap(enable)); +} + +void PythonQtWrapper_QQuickPaintedItem::setOpaquePainting(QQuickPaintedItem* theWrappedObject, bool opaque) +{ + ( theWrappedObject->setOpaquePainting(opaque)); +} + +void PythonQtWrapper_QQuickPaintedItem::setPerformanceHint(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::PerformanceHint hint, bool enabled) +{ + ( theWrappedObject->setPerformanceHint(hint, enabled)); +} + +void PythonQtWrapper_QQuickPaintedItem::setRenderTarget(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::RenderTarget target) +{ + ( theWrappedObject->setRenderTarget(target)); +} + +void PythonQtWrapper_QQuickPaintedItem::setTextureSize(QQuickPaintedItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setTextureSize(size)); +} + +QSize PythonQtWrapper_QQuickPaintedItem::textureSize(QQuickPaintedItem* theWrappedObject) const +{ + return ( theWrappedObject->textureSize()); +} + +void PythonQtWrapper_QQuickPaintedItem::update(QQuickPaintedItem* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->update(rect)); +} + + + +PythonQtShell_QQuickRenderControl::~PythonQtShell_QQuickRenderControl() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickRenderControl::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickRenderControl::childEvent(event0); +} +void PythonQtShell_QQuickRenderControl::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickRenderControl::customEvent(event0); +} +bool PythonQtShell_QQuickRenderControl::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickRenderControl::event(event0); +} +bool PythonQtShell_QQuickRenderControl::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickRenderControl::eventFilter(watched0, event1); +} +QWindow* PythonQtShell_QQuickRenderControl::renderWindow(QPoint* offset0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("renderWindow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWindow*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWindow* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("renderWindow", methodInfo, result); + } else { + returnValue = *((QWindow**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickRenderControl::renderWindow(offset0); +} +void PythonQtShell_QQuickRenderControl::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickRenderControl::timerEvent(event0); +} +QQuickRenderControl* PythonQtWrapper_QQuickRenderControl::new_QQuickRenderControl(QObject* parent) +{ +return new PythonQtShell_QQuickRenderControl(parent); } + +const QMetaObject* PythonQtShell_QQuickRenderControl::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickRenderControl::staticMetaObject); + } else { + return &QQuickRenderControl::staticMetaObject; + } +} +int PythonQtShell_QQuickRenderControl::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickRenderControl::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QImage PythonQtWrapper_QQuickRenderControl::grab(QQuickRenderControl* theWrappedObject) +{ + return ( theWrappedObject->grab()); +} + +void PythonQtWrapper_QQuickRenderControl::initialize(QQuickRenderControl* theWrappedObject, QOpenGLContext* gl) +{ + ( theWrappedObject->initialize(gl)); +} + +void PythonQtWrapper_QQuickRenderControl::invalidate(QQuickRenderControl* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + +void PythonQtWrapper_QQuickRenderControl::polishItems(QQuickRenderControl* theWrappedObject) +{ + ( theWrappedObject->polishItems()); +} + +void PythonQtWrapper_QQuickRenderControl::prepareThread(QQuickRenderControl* theWrappedObject, QThread* targetThread) +{ + ( theWrappedObject->prepareThread(targetThread)); +} + +void PythonQtWrapper_QQuickRenderControl::render(QQuickRenderControl* theWrappedObject) +{ + ( theWrappedObject->render()); +} + +QWindow* PythonQtWrapper_QQuickRenderControl::renderWindow(QQuickRenderControl* theWrappedObject, QPoint* offset) +{ + return ( theWrappedObject->renderWindow(offset)); +} + +QWindow* PythonQtWrapper_QQuickRenderControl::static_QQuickRenderControl_renderWindowFor(QQuickWindow* win, QPoint* offset) +{ + return (QQuickRenderControl::renderWindowFor(win, offset)); +} + +bool PythonQtWrapper_QQuickRenderControl::sync(QQuickRenderControl* theWrappedObject) +{ + return ( theWrappedObject->sync()); +} + + + +PythonQtShell_QQuickTextDocument::~PythonQtShell_QQuickTextDocument() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickTextDocument::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickTextDocument::childEvent(event0); +} +void PythonQtShell_QQuickTextDocument::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickTextDocument::customEvent(event0); +} +bool PythonQtShell_QQuickTextDocument::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickTextDocument::event(event0); +} +bool PythonQtShell_QQuickTextDocument::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickTextDocument::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickTextDocument::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickTextDocument::timerEvent(event0); +} +QQuickTextDocument* PythonQtWrapper_QQuickTextDocument::new_QQuickTextDocument(QQuickItem* parent) +{ +return new PythonQtShell_QQuickTextDocument(parent); } + +const QMetaObject* PythonQtShell_QQuickTextDocument::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickTextDocument::staticMetaObject); + } else { + return &QQuickTextDocument::staticMetaObject; + } +} +int PythonQtShell_QQuickTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickTextDocument::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextDocument* PythonQtWrapper_QQuickTextDocument::textDocument(QQuickTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->textDocument()); +} + + + +PythonQtShell_QQuickTransform::~PythonQtShell_QQuickTransform() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickTransform::applyTo(QMatrix4x4* matrix0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("applyTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&matrix0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QQuickTransform::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickTransform::childEvent(event0); +} +void PythonQtShell_QQuickTransform::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickTransform::customEvent(event0); +} +bool PythonQtShell_QQuickTransform::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickTransform::event(event0); +} +bool PythonQtShell_QQuickTransform::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickTransform::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickTransform::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickTransform::timerEvent(event0); +} +QQuickTransform* PythonQtWrapper_QQuickTransform::new_QQuickTransform(QObject* parent) +{ +return new PythonQtShell_QQuickTransform(parent); } + +const QMetaObject* PythonQtShell_QQuickTransform::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickTransform::staticMetaObject); + } else { + return &QQuickTransform::staticMetaObject; + } +} +int PythonQtShell_QQuickTransform::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickTransform::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QQuickTransform::appendToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1) +{ + ( theWrappedObject->appendToItem(arg__1)); +} + +void PythonQtWrapper_QQuickTransform::applyTo(QQuickTransform* theWrappedObject, QMatrix4x4* matrix) const +{ + ( theWrappedObject->applyTo(matrix)); +} + +void PythonQtWrapper_QQuickTransform::prependToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1) +{ + ( theWrappedObject->prependToItem(arg__1)); +} + + + +PythonQtShell_QQuickView::~PythonQtShell_QQuickView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::childEvent(event0); +} +void PythonQtShell_QQuickView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::customEvent(event0); +} +bool PythonQtShell_QQuickView::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::event(arg__1); +} +bool PythonQtShell_QQuickView::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickView::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::exposeEvent(arg__1); +} +void PythonQtShell_QQuickView::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::focusInEvent(arg__1); +} +QObject* PythonQtShell_QQuickView::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::focusObject(); +} +void PythonQtShell_QQuickView::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QQuickView::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::format(); +} +void PythonQtShell_QQuickView::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::hideEvent(arg__1); +} +void PythonQtShell_QQuickView::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::keyPressEvent(arg__1); +} +void PythonQtShell_QQuickView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QQuickView::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QQuickView::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mouseMoveEvent(arg__1); +} +void PythonQtShell_QQuickView::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mousePressEvent(arg__1); +} +void PythonQtShell_QQuickView::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QQuickView::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::moveEvent(arg__1); +} +bool PythonQtShell_QQuickView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QQuickView::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::resizeEvent(arg__1); +} +void PythonQtShell_QQuickView::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::showEvent(arg__1); +} +QSize PythonQtShell_QQuickView::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::size(); +} +QSurface::SurfaceType PythonQtShell_QQuickView::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickView::surfaceType(); +} +void PythonQtShell_QQuickView::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::tabletEvent(arg__1); +} +void PythonQtShell_QQuickView::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::timerEvent(arg__1); +} +void PythonQtShell_QQuickView::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::touchEvent(arg__1); +} +void PythonQtShell_QQuickView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickView::wheelEvent(arg__1); +} +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(QQmlEngine* engine, QWindow* parent) +{ +return new PythonQtShell_QQuickView(engine, parent); } + +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(QWindow* parent) +{ +return new PythonQtShell_QQuickView(parent); } + +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(const QUrl& source, QQuickRenderControl* renderControl) +{ +return new PythonQtShell_QQuickView(source, renderControl); } + +QQuickView* PythonQtWrapper_QQuickView::new_QQuickView(const QUrl& source, QWindow* parent) +{ +return new PythonQtShell_QQuickView(source, parent); } + +const QMetaObject* PythonQtShell_QQuickView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickView::staticMetaObject); + } else { + return &QQuickView::staticMetaObject; + } +} +int PythonQtShell_QQuickView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQmlEngine* PythonQtWrapper_QQuickView::engine(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QList PythonQtWrapper_QQuickView::errors(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +QSize PythonQtWrapper_QQuickView::initialSize(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->initialSize()); +} + +QQuickView::ResizeMode PythonQtWrapper_QQuickView::resizeMode(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->resizeMode()); +} + +QQmlContext* PythonQtWrapper_QQuickView::rootContext(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->rootContext()); +} + +QQuickItem* PythonQtWrapper_QQuickView::rootObject(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->rootObject()); +} + +void PythonQtWrapper_QQuickView::setResizeMode(QQuickView* theWrappedObject, QQuickView::ResizeMode arg__1) +{ + ( theWrappedObject->setResizeMode(arg__1)); +} + +QSize PythonQtWrapper_QQuickView::sizeHint(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QUrl PythonQtWrapper_QQuickView::source(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +QQuickView::Status PythonQtWrapper_QQuickView::status(QQuickView* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +PythonQtShell_QQuickWidget::~PythonQtShell_QQuickWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::actionEvent(event0); +} +void PythonQtShell_QQuickWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::changeEvent(arg__1); +} +void PythonQtShell_QQuickWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::childEvent(event0); +} +void PythonQtShell_QQuickWidget::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::closeEvent(event0); +} +void PythonQtShell_QQuickWidget::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::contextMenuEvent(event0); +} +void PythonQtShell_QQuickWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::customEvent(event0); +} +int PythonQtShell_QQuickWidget::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::devType(); +} +void PythonQtShell_QQuickWidget::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dragEnterEvent(arg__1); +} +void PythonQtShell_QQuickWidget::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dragLeaveEvent(arg__1); +} +void PythonQtShell_QQuickWidget::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dragMoveEvent(arg__1); +} +void PythonQtShell_QQuickWidget::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::dropEvent(arg__1); +} +void PythonQtShell_QQuickWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::enterEvent(event0); +} +bool PythonQtShell_QQuickWidget::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::event(arg__1); +} +bool PythonQtShell_QQuickWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickWidget::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::focusInEvent(event0); +} +bool PythonQtShell_QQuickWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QQuickWidget::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::focusOutEvent(event0); +} +bool PythonQtShell_QQuickWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::hasHeightForWidth(); +} +int PythonQtShell_QQuickWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::heightForWidth(arg__1); +} +void PythonQtShell_QQuickWidget::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::hideEvent(arg__1); +} +void PythonQtShell_QQuickWidget::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::initPainter(painter0); +} +void PythonQtShell_QQuickWidget::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QQuickWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::inputMethodQuery(arg__1); +} +void PythonQtShell_QQuickWidget::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::keyPressEvent(arg__1); +} +void PythonQtShell_QQuickWidget::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::keyReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::leaveEvent(event0); +} +int PythonQtShell_QQuickWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::metric(arg__1); +} +QSize PythonQtShell_QQuickWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("getMinimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::minimumSizeHint(); +} +void PythonQtShell_QQuickWidget::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QQuickWidget::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mouseMoveEvent(arg__1); +} +void PythonQtShell_QQuickWidget::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mousePressEvent(arg__1); +} +void PythonQtShell_QQuickWidget::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWidget::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::moveEvent(event0); +} +bool PythonQtShell_QQuickWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QQuickWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::paintEngine(); +} +void PythonQtShell_QQuickWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QQuickWidget::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::redirected(offset0); +} +void PythonQtShell_QQuickWidget::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::resizeEvent(arg__1); +} +void PythonQtShell_QQuickWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::setVisible(visible0); +} +QPainter* PythonQtShell_QQuickWidget::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::sharedPainter(); +} +void PythonQtShell_QQuickWidget::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::showEvent(arg__1); +} +QSize PythonQtShell_QQuickWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWidget::sizeHint(); +} +void PythonQtShell_QQuickWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::tabletEvent(event0); +} +void PythonQtShell_QQuickWidget::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::timerEvent(arg__1); +} +void PythonQtShell_QQuickWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWidget::wheelEvent(arg__1); +} +QQuickWidget* PythonQtWrapper_QQuickWidget::new_QQuickWidget(QQmlEngine* engine, QWidget* parent) +{ +return new PythonQtShell_QQuickWidget(engine, parent); } + +QQuickWidget* PythonQtWrapper_QQuickWidget::new_QQuickWidget(QWidget* parent) +{ +return new PythonQtShell_QQuickWidget(parent); } + +QQuickWidget* PythonQtWrapper_QQuickWidget::new_QQuickWidget(const QUrl& source, QWidget* parent) +{ +return new PythonQtShell_QQuickWidget(source, parent); } + +const QMetaObject* PythonQtShell_QQuickWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickWidget::staticMetaObject); + } else { + return &QQuickWidget::staticMetaObject; + } +} +int PythonQtShell_QQuickWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQmlEngine* PythonQtWrapper_QQuickWidget::engine(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->engine()); +} + +QList PythonQtWrapper_QQuickWidget::errors(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->errors()); +} + +QSurfaceFormat PythonQtWrapper_QQuickWidget::format(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QImage PythonQtWrapper_QQuickWidget::grabFramebuffer(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->grabFramebuffer()); +} + +QSize PythonQtWrapper_QQuickWidget::initialSize(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->initialSize()); +} + +QQuickWindow* PythonQtWrapper_QQuickWidget::quickWindow(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->quickWindow()); +} + +QQuickWidget::ResizeMode PythonQtWrapper_QQuickWidget::resizeMode(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->resizeMode()); +} + +QQmlContext* PythonQtWrapper_QQuickWidget::rootContext(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->rootContext()); +} + +QQuickItem* PythonQtWrapper_QQuickWidget::rootObject(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->rootObject()); +} + +void PythonQtWrapper_QQuickWidget::setClearColor(QQuickWidget* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setClearColor(color)); +} + +void PythonQtWrapper_QQuickWidget::setFormat(QQuickWidget* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QQuickWidget::setResizeMode(QQuickWidget* theWrappedObject, QQuickWidget::ResizeMode arg__1) +{ + ( theWrappedObject->setResizeMode(arg__1)); +} + +QSize PythonQtWrapper_QQuickWidget::sizeHint(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QUrl PythonQtWrapper_QQuickWidget::source(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->source()); +} + +QQuickWidget::Status PythonQtWrapper_QQuickWidget::status(QQuickWidget* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + + + +PythonQtShell_QQuickWindow::~PythonQtShell_QQuickWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QQuickWindow::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::childEvent(event0); +} +void PythonQtShell_QQuickWindow::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::customEvent(event0); +} +bool PythonQtShell_QQuickWindow::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::event(arg__1); +} +bool PythonQtShell_QQuickWindow::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::eventFilter(watched0, event1); +} +void PythonQtShell_QQuickWindow::exposeEvent(QExposeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::exposeEvent(arg__1); +} +void PythonQtShell_QQuickWindow::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::focusInEvent(arg__1); +} +QObject* PythonQtShell_QQuickWindow::focusObject() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::focusObject(); +} +void PythonQtShell_QQuickWindow::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::focusOutEvent(arg__1); +} +QSurfaceFormat PythonQtShell_QQuickWindow::format() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::format(); +} +void PythonQtShell_QQuickWindow::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::hideEvent(arg__1); +} +void PythonQtShell_QQuickWindow::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::keyPressEvent(arg__1); +} +void PythonQtShell_QQuickWindow::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::keyReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mouseMoveEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mousePressEvent(arg__1); +} +void PythonQtShell_QQuickWindow::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QQuickWindow::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::moveEvent(arg__1); +} +bool PythonQtShell_QQuickWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QQuickWindow::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::resizeEvent(arg__1); +} +void PythonQtShell_QQuickWindow::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::showEvent(arg__1); +} +QSize PythonQtShell_QQuickWindow::size() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("size"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::size(); +} +QSurface::SurfaceType PythonQtShell_QQuickWindow::surfaceType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("surfaceType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QQuickWindow::surfaceType(); +} +void PythonQtShell_QQuickWindow::tabletEvent(QTabletEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::tabletEvent(arg__1); +} +void PythonQtShell_QQuickWindow::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::timerEvent(event0); +} +void PythonQtShell_QQuickWindow::touchEvent(QTouchEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("touchEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::touchEvent(arg__1); +} +void PythonQtShell_QQuickWindow::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QQuickWindow::wheelEvent(arg__1); +} +QQuickWindow* PythonQtWrapper_QQuickWindow::new_QQuickWindow(QQuickRenderControl* renderControl) +{ +return new PythonQtShell_QQuickWindow(renderControl); } + +QQuickWindow* PythonQtWrapper_QQuickWindow::new_QQuickWindow(QWindow* parent) +{ +return new PythonQtShell_QQuickWindow(parent); } + +const QMetaObject* PythonQtShell_QQuickWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QQuickWindow::staticMetaObject); + } else { + return &QQuickWindow::staticMetaObject; + } +} +int PythonQtShell_QQuickWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QQuickWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QQuickItem* PythonQtWrapper_QQuickWindow::activeFocusItem(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->activeFocusItem()); +} + +void PythonQtWrapper_QQuickWindow::beginExternalCommands(QQuickWindow* theWrappedObject) +{ + ( theWrappedObject->beginExternalCommands()); +} + +bool PythonQtWrapper_QQuickWindow::clearBeforeRendering(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->clearBeforeRendering()); +} + +QColor PythonQtWrapper_QQuickWindow::color(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +QQuickItem* PythonQtWrapper_QQuickWindow::contentItem(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->contentItem()); +} + +QSGImageNode* PythonQtWrapper_QQuickWindow::createImageNode(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->createImageNode()); +} + +QSGNinePatchNode* PythonQtWrapper_QQuickWindow::createNinePatchNode(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->createNinePatchNode()); +} + +QSGRectangleNode* PythonQtWrapper_QQuickWindow::createRectangleNode(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->createRectangleNode()); +} + +QSGTexture* PythonQtWrapper_QQuickWindow::createTextureFromImage(QQuickWindow* theWrappedObject, const QImage& image) const +{ + return ( theWrappedObject->createTextureFromImage(image)); +} + +qreal PythonQtWrapper_QQuickWindow::effectiveDevicePixelRatio(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->effectiveDevicePixelRatio()); +} + +void PythonQtWrapper_QQuickWindow::endExternalCommands(QQuickWindow* theWrappedObject) +{ + ( theWrappedObject->endExternalCommands()); +} + +QImage PythonQtWrapper_QQuickWindow::grabWindow(QQuickWindow* theWrappedObject) +{ + return ( theWrappedObject->grabWindow()); +} + +bool PythonQtWrapper_QQuickWindow::static_QQuickWindow_hasDefaultAlphaBuffer() +{ + return (QQuickWindow::hasDefaultAlphaBuffer()); +} + +QQmlIncubationController* PythonQtWrapper_QQuickWindow::incubationController(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->incubationController()); +} + +bool PythonQtWrapper_QQuickWindow::isPersistentOpenGLContext(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->isPersistentOpenGLContext()); +} + +bool PythonQtWrapper_QQuickWindow::isPersistentSceneGraph(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->isPersistentSceneGraph()); +} + +bool PythonQtWrapper_QQuickWindow::isSceneGraphInitialized(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->isSceneGraphInitialized()); +} + +QQuickItem* PythonQtWrapper_QQuickWindow::mouseGrabberItem(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->mouseGrabberItem()); +} + +QOpenGLContext* PythonQtWrapper_QQuickWindow::openglContext(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->openglContext()); +} + +QOpenGLFramebufferObject* PythonQtWrapper_QQuickWindow::renderTarget(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->renderTarget()); +} + +uint PythonQtWrapper_QQuickWindow::renderTargetId(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->renderTargetId()); +} + +QSize PythonQtWrapper_QQuickWindow::renderTargetSize(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->renderTargetSize()); +} + +void PythonQtWrapper_QQuickWindow::resetOpenGLState(QQuickWindow* theWrappedObject) +{ + ( theWrappedObject->resetOpenGLState()); +} + +QString PythonQtWrapper_QQuickWindow::static_QQuickWindow_sceneGraphBackend() +{ + return (QQuickWindow::sceneGraphBackend()); +} + +void PythonQtWrapper_QQuickWindow::scheduleRenderJob(QQuickWindow* theWrappedObject, QRunnable* job, QQuickWindow::RenderStage schedule) +{ + ( theWrappedObject->scheduleRenderJob(job, schedule)); +} + +bool PythonQtWrapper_QQuickWindow::sendEvent(QQuickWindow* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2) +{ + return ( theWrappedObject->sendEvent(arg__1, arg__2)); +} + +void PythonQtWrapper_QQuickWindow::setClearBeforeRendering(QQuickWindow* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setClearBeforeRendering(enabled)); +} + +void PythonQtWrapper_QQuickWindow::setColor(QQuickWindow* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QQuickWindow::static_QQuickWindow_setDefaultAlphaBuffer(bool useAlpha) +{ + (QQuickWindow::setDefaultAlphaBuffer(useAlpha)); +} + +void PythonQtWrapper_QQuickWindow::setPersistentOpenGLContext(QQuickWindow* theWrappedObject, bool persistent) +{ + ( theWrappedObject->setPersistentOpenGLContext(persistent)); +} + +void PythonQtWrapper_QQuickWindow::setPersistentSceneGraph(QQuickWindow* theWrappedObject, bool persistent) +{ + ( theWrappedObject->setPersistentSceneGraph(persistent)); +} + +void PythonQtWrapper_QQuickWindow::setRenderTarget(QQuickWindow* theWrappedObject, QOpenGLFramebufferObject* fbo) +{ + ( theWrappedObject->setRenderTarget(fbo)); +} + +void PythonQtWrapper_QQuickWindow::setRenderTarget(QQuickWindow* theWrappedObject, uint fboId, const QSize& size) +{ + ( theWrappedObject->setRenderTarget(fboId, size)); +} + +void PythonQtWrapper_QQuickWindow::static_QQuickWindow_setSceneGraphBackend(const QString& backend) +{ + (QQuickWindow::setSceneGraphBackend(backend)); +} + +void PythonQtWrapper_QQuickWindow::static_QQuickWindow_setTextRenderType(QQuickWindow::TextRenderType renderType) +{ + (QQuickWindow::setTextRenderType(renderType)); +} + +QQuickWindow::TextRenderType PythonQtWrapper_QQuickWindow::static_QQuickWindow_textRenderType() +{ + return (QQuickWindow::textRenderType()); +} + +QString PythonQtWrapper_QQuickWindow::py_toString(QQuickWindow* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGAbstractRenderer::~PythonQtShell_QSGAbstractRenderer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGAbstractRenderer::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGAbstractRenderer::childEvent(event0); +} +void PythonQtShell_QSGAbstractRenderer::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGAbstractRenderer::customEvent(event0); +} +bool PythonQtShell_QSGAbstractRenderer::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGAbstractRenderer::event(event0); +} +bool PythonQtShell_QSGAbstractRenderer::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGAbstractRenderer::eventFilter(watched0, event1); +} +void PythonQtShell_QSGAbstractRenderer::nodeChanged(QSGNode* node0, QSGNode::DirtyState state1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("nodeChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGNode*" , "QSGNode::DirtyState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&node0, (void*)&state1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGAbstractRenderer::renderScene(uint fboId0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("renderScene"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "uint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&fboId0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGAbstractRenderer::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGAbstractRenderer::timerEvent(event0); +} +QSGAbstractRenderer* PythonQtWrapper_QSGAbstractRenderer::new_QSGAbstractRenderer(QObject* parent) +{ +return new PythonQtShell_QSGAbstractRenderer(parent); } + +const QMetaObject* PythonQtShell_QSGAbstractRenderer::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGAbstractRenderer::staticMetaObject); + } else { + return &QSGAbstractRenderer::staticMetaObject; + } +} +int PythonQtShell_QSGAbstractRenderer::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGAbstractRenderer::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QColor PythonQtWrapper_QSGAbstractRenderer::clearColor(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->clearColor()); +} + +QRect PythonQtWrapper_QSGAbstractRenderer::deviceRect(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->deviceRect()); +} + +void PythonQtWrapper_QSGAbstractRenderer::nodeChanged(QSGAbstractRenderer* theWrappedObject, QSGNode* node, QSGNode::DirtyState state) +{ + ( ((PythonQtPublicPromoter_QSGAbstractRenderer*)theWrappedObject)->promoted_nodeChanged(node, state)); +} + +QMatrix4x4 PythonQtWrapper_QSGAbstractRenderer::projectionMatrix(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->projectionMatrix()); +} + +QMatrix4x4 PythonQtWrapper_QSGAbstractRenderer::projectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->projectionMatrixWithNativeNDC()); +} + +void PythonQtWrapper_QSGAbstractRenderer::renderScene(QSGAbstractRenderer* theWrappedObject, uint fboId) +{ + ( theWrappedObject->renderScene(fboId)); +} + +QSGRootNode* PythonQtWrapper_QSGAbstractRenderer::rootNode(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->rootNode()); +} + +void PythonQtWrapper_QSGAbstractRenderer::setClearColor(QSGAbstractRenderer* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setClearColor(color)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setDeviceRect(rect)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setDeviceRect(size)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setProjectionMatrix(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setProjectionMatrix(matrix)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setProjectionMatrixToRect(QSGAbstractRenderer* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setProjectionMatrixToRect(rect)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setProjectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setProjectionMatrixWithNativeNDC(matrix)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setRootNode(QSGAbstractRenderer* theWrappedObject, QSGRootNode* node) +{ + ( theWrappedObject->setRootNode(node)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setViewportRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect) +{ + ( theWrappedObject->setViewportRect(rect)); +} + +void PythonQtWrapper_QSGAbstractRenderer::setViewportRect(QSGAbstractRenderer* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setViewportRect(size)); +} + +QRect PythonQtWrapper_QSGAbstractRenderer::viewportRect(QSGAbstractRenderer* theWrappedObject) const +{ + return ( theWrappedObject->viewportRect()); +} + + + +PythonQtShell_QSGBasicGeometryNode::~PythonQtShell_QSGBasicGeometryNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGBasicGeometryNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGBasicGeometryNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGBasicGeometryNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGBasicGeometryNode::preprocess(); +} +QSGBasicGeometryNode* PythonQtWrapper_QSGBasicGeometryNode::new_QSGBasicGeometryNode(QSGNode::NodeType type) +{ +return new PythonQtShell_QSGBasicGeometryNode(type); } + +const QSGClipNode* PythonQtWrapper_QSGBasicGeometryNode::clipList(QSGBasicGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->clipList()); +} + +QSGGeometry* PythonQtWrapper_QSGBasicGeometryNode::geometry(QSGBasicGeometryNode* theWrappedObject) +{ + return ( theWrappedObject->geometry()); +} + +const QSGGeometry* PythonQtWrapper_QSGBasicGeometryNode::geometry(QSGBasicGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +const QMatrix4x4* PythonQtWrapper_QSGBasicGeometryNode::matrix(QSGBasicGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +void PythonQtWrapper_QSGBasicGeometryNode::setGeometry(QSGBasicGeometryNode* theWrappedObject, QSGGeometry* geometry) +{ + ( theWrappedObject->setGeometry(geometry)); +} + +void PythonQtWrapper_QSGBasicGeometryNode::setRendererClipList(QSGBasicGeometryNode* theWrappedObject, const QSGClipNode* c) +{ + ( theWrappedObject->setRendererClipList(c)); +} + +void PythonQtWrapper_QSGBasicGeometryNode::setRendererMatrix(QSGBasicGeometryNode* theWrappedObject, const QMatrix4x4* m) +{ + ( theWrappedObject->setRendererMatrix(m)); +} + + + +PythonQtShell_QSGClipNode::~PythonQtShell_QSGClipNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGClipNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGClipNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGClipNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGClipNode::preprocess(); +} +QSGClipNode* PythonQtWrapper_QSGClipNode::new_QSGClipNode() +{ +return new PythonQtShell_QSGClipNode(); } + +QRectF PythonQtWrapper_QSGClipNode::clipRect(QSGClipNode* theWrappedObject) const +{ + return ( theWrappedObject->clipRect()); +} + +bool PythonQtWrapper_QSGClipNode::isRectangular(QSGClipNode* theWrappedObject) const +{ + return ( theWrappedObject->isRectangular()); +} + +void PythonQtWrapper_QSGClipNode::setClipRect(QSGClipNode* theWrappedObject, const QRectF& arg__1) +{ + ( theWrappedObject->setClipRect(arg__1)); +} + +void PythonQtWrapper_QSGClipNode::setIsRectangular(QSGClipNode* theWrappedObject, bool rectHint) +{ + ( theWrappedObject->setIsRectangular(rectHint)); +} + + + +PythonQtShell_QSGDynamicTexture::~PythonQtShell_QSGDynamicTexture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGDynamicTexture::bind() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGDynamicTexture::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGDynamicTexture::childEvent(event0); +} +void PythonQtShell_QSGDynamicTexture::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGDynamicTexture::customEvent(event0); +} +bool PythonQtShell_QSGDynamicTexture::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::event(event0); +} +bool PythonQtShell_QSGDynamicTexture::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::eventFilter(watched0, event1); +} +bool PythonQtShell_QSGDynamicTexture::hasAlphaChannel() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasAlphaChannel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasAlphaChannel", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGDynamicTexture::hasMipmaps() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasMipmaps"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasMipmaps", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGDynamicTexture::isAtlasTexture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAtlasTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAtlasTexture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::isAtlasTexture(); +} +QRectF PythonQtShell_QSGDynamicTexture::normalizedTextureSubRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("normalizedTextureSubRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("normalizedTextureSubRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::normalizedTextureSubRect(); +} +QSGTexture* PythonQtShell_QSGDynamicTexture::removedFromAtlas() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removedFromAtlas"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGTexture* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removedFromAtlas", methodInfo, result); + } else { + returnValue = *((QSGTexture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGDynamicTexture::removedFromAtlas(); +} +int PythonQtShell_QSGDynamicTexture::textureId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureId"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QSize PythonQtShell_QSGDynamicTexture::textureSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +void PythonQtShell_QSGDynamicTexture::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGDynamicTexture::timerEvent(event0); +} +bool PythonQtShell_QSGDynamicTexture::updateTexture() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("updateTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("updateTexture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QSGDynamicTexture* PythonQtWrapper_QSGDynamicTexture::new_QSGDynamicTexture() +{ +return new PythonQtShell_QSGDynamicTexture(); } + +const QMetaObject* PythonQtShell_QSGDynamicTexture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGDynamicTexture::staticMetaObject); + } else { + return &QSGDynamicTexture::staticMetaObject; + } +} +int PythonQtShell_QSGDynamicTexture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGDynamicTexture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QSGDynamicTexture::updateTexture(QSGDynamicTexture* theWrappedObject) +{ + return ( theWrappedObject->updateTexture()); +} + + + +PythonQtShell_QSGEngine::~PythonQtShell_QSGEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGEngine::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGEngine::childEvent(event0); +} +void PythonQtShell_QSGEngine::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGEngine::customEvent(event0); +} +bool PythonQtShell_QSGEngine::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGEngine::event(event0); +} +bool PythonQtShell_QSGEngine::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGEngine::eventFilter(watched0, event1); +} +void PythonQtShell_QSGEngine::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGEngine::timerEvent(event0); +} +QSGEngine* PythonQtWrapper_QSGEngine::new_QSGEngine(QObject* parent) +{ +return new PythonQtShell_QSGEngine(parent); } + +const QMetaObject* PythonQtShell_QSGEngine::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGEngine::staticMetaObject); + } else { + return &QSGEngine::staticMetaObject; + } +} +int PythonQtShell_QSGEngine::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGEngine::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSGImageNode* PythonQtWrapper_QSGEngine::createImageNode(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createImageNode()); +} + +QSGNinePatchNode* PythonQtWrapper_QSGEngine::createNinePatchNode(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createNinePatchNode()); +} + +QSGRectangleNode* PythonQtWrapper_QSGEngine::createRectangleNode(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createRectangleNode()); +} + +QSGAbstractRenderer* PythonQtWrapper_QSGEngine::createRenderer(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->createRenderer()); +} + +void PythonQtWrapper_QSGEngine::initialize(QSGEngine* theWrappedObject, QOpenGLContext* context) +{ + ( theWrappedObject->initialize(context)); +} + +void PythonQtWrapper_QSGEngine::invalidate(QSGEngine* theWrappedObject) +{ + ( theWrappedObject->invalidate()); +} + + + +PythonQtShell_QSGFlatColorMaterial::~PythonQtShell_QSGFlatColorMaterial() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGMaterialType* PythonQtShell_QSGFlatColorMaterial::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGMaterialType*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGMaterialType* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QSGMaterialType**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGFlatColorMaterial::type(); +} +QSGFlatColorMaterial* PythonQtWrapper_QSGFlatColorMaterial::new_QSGFlatColorMaterial() +{ +return new PythonQtShell_QSGFlatColorMaterial(); } + +const QColor* PythonQtWrapper_QSGFlatColorMaterial::color(QSGFlatColorMaterial* theWrappedObject) const +{ + return &( theWrappedObject->color()); +} + +void PythonQtWrapper_QSGFlatColorMaterial::setColor(QSGFlatColorMaterial* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +QSGMaterialType* PythonQtWrapper_QSGFlatColorMaterial::type(QSGFlatColorMaterial* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QSGGeometry::~PythonQtShell_QSGGeometry() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry* PythonQtWrapper_QSGGeometry::new_QSGGeometry(const QSGGeometry::AttributeSet& attribs, int vertexCount, int indexCount, int indexType) +{ +return new PythonQtShell_QSGGeometry(attribs, vertexCount, indexCount, indexType); } + +void PythonQtWrapper_QSGGeometry::allocate(QSGGeometry* theWrappedObject, int vertexCount, int indexCount) +{ + ( theWrappedObject->allocate(vertexCount, indexCount)); +} + +int PythonQtWrapper_QSGGeometry::attributeCount(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->attributeCount()); +} + +const QSGGeometry::Attribute* PythonQtWrapper_QSGGeometry::attributes(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +const QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry::static_QSGGeometry_defaultAttributes_ColoredPoint2D() +{ + return &(QSGGeometry::defaultAttributes_ColoredPoint2D()); +} + +const QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry::static_QSGGeometry_defaultAttributes_Point2D() +{ + return &(QSGGeometry::defaultAttributes_Point2D()); +} + +const QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry::static_QSGGeometry_defaultAttributes_TexturedPoint2D() +{ + return &(QSGGeometry::defaultAttributes_TexturedPoint2D()); +} + +unsigned int PythonQtWrapper_QSGGeometry::drawingMode(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->drawingMode()); +} + +int PythonQtWrapper_QSGGeometry::indexCount(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexCount()); +} + +void* PythonQtWrapper_QSGGeometry::indexData(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->indexData()); +} + +const void* PythonQtWrapper_QSGGeometry::indexData(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexData()); +} + +uint* PythonQtWrapper_QSGGeometry::indexDataAsUInt(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->indexDataAsUInt()); +} + +const uint* PythonQtWrapper_QSGGeometry::indexDataAsUInt(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexDataAsUInt()); +} + +unsigned short* PythonQtWrapper_QSGGeometry::indexDataAsUShort(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->indexDataAsUShort()); +} + +const unsigned short* PythonQtWrapper_QSGGeometry::indexDataAsUShort(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexDataAsUShort()); +} + +QSGGeometry::DataPattern PythonQtWrapper_QSGGeometry::indexDataPattern(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexDataPattern()); +} + +int PythonQtWrapper_QSGGeometry::indexType(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->indexType()); +} + +float PythonQtWrapper_QSGGeometry::lineWidth(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->lineWidth()); +} + +void PythonQtWrapper_QSGGeometry::markIndexDataDirty(QSGGeometry* theWrappedObject) +{ + ( theWrappedObject->markIndexDataDirty()); +} + +void PythonQtWrapper_QSGGeometry::markVertexDataDirty(QSGGeometry* theWrappedObject) +{ + ( theWrappedObject->markVertexDataDirty()); +} + +void PythonQtWrapper_QSGGeometry::setDrawingMode(QSGGeometry* theWrappedObject, unsigned int mode) +{ + ( theWrappedObject->setDrawingMode(mode)); +} + +void PythonQtWrapper_QSGGeometry::setIndexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p) +{ + ( theWrappedObject->setIndexDataPattern(p)); +} + +void PythonQtWrapper_QSGGeometry::setLineWidth(QSGGeometry* theWrappedObject, float w) +{ + ( theWrappedObject->setLineWidth(w)); +} + +void PythonQtWrapper_QSGGeometry::setVertexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p) +{ + ( theWrappedObject->setVertexDataPattern(p)); +} + +int PythonQtWrapper_QSGGeometry::sizeOfIndex(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->sizeOfIndex()); +} + +int PythonQtWrapper_QSGGeometry::sizeOfVertex(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->sizeOfVertex()); +} + +void PythonQtWrapper_QSGGeometry::static_QSGGeometry_updateColoredRectGeometry(QSGGeometry* g, const QRectF& rect) +{ + (QSGGeometry::updateColoredRectGeometry(g, rect)); +} + +void PythonQtWrapper_QSGGeometry::static_QSGGeometry_updateRectGeometry(QSGGeometry* g, const QRectF& rect) +{ + (QSGGeometry::updateRectGeometry(g, rect)); +} + +void PythonQtWrapper_QSGGeometry::static_QSGGeometry_updateTexturedRectGeometry(QSGGeometry* g, const QRectF& rect, const QRectF& sourceRect) +{ + (QSGGeometry::updateTexturedRectGeometry(g, rect, sourceRect)); +} + +int PythonQtWrapper_QSGGeometry::vertexCount(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexCount()); +} + +void* PythonQtWrapper_QSGGeometry::vertexData(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexData()); +} + +const void* PythonQtWrapper_QSGGeometry::vertexData(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexData()); +} + +QSGGeometry::ColoredPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexDataAsColoredPoint2D()); +} + +const QSGGeometry::ColoredPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataAsColoredPoint2D()); +} + +QSGGeometry::Point2D* PythonQtWrapper_QSGGeometry::vertexDataAsPoint2D(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexDataAsPoint2D()); +} + +const QSGGeometry::Point2D* PythonQtWrapper_QSGGeometry::vertexDataAsPoint2D(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataAsPoint2D()); +} + +QSGGeometry::TexturedPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject) +{ + return ( theWrappedObject->vertexDataAsTexturedPoint2D()); +} + +const QSGGeometry::TexturedPoint2D* PythonQtWrapper_QSGGeometry::vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataAsTexturedPoint2D()); +} + +QSGGeometry::DataPattern PythonQtWrapper_QSGGeometry::vertexDataPattern(QSGGeometry* theWrappedObject) const +{ + return ( theWrappedObject->vertexDataPattern()); +} + + + +PythonQtShell_QSGGeometryNode::~PythonQtShell_QSGGeometryNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGGeometryNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGGeometryNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGGeometryNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGGeometryNode::preprocess(); +} +QSGGeometryNode* PythonQtWrapper_QSGGeometryNode::new_QSGGeometryNode() +{ +return new PythonQtShell_QSGGeometryNode(); } + +qreal PythonQtWrapper_QSGGeometryNode::inheritedOpacity(QSGGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->inheritedOpacity()); +} + +int PythonQtWrapper_QSGGeometryNode::renderOrder(QSGGeometryNode* theWrappedObject) const +{ + return ( theWrappedObject->renderOrder()); +} + +void PythonQtWrapper_QSGGeometryNode::setInheritedOpacity(QSGGeometryNode* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setInheritedOpacity(opacity)); +} + +void PythonQtWrapper_QSGGeometryNode::setRenderOrder(QSGGeometryNode* theWrappedObject, int order) +{ + ( theWrappedObject->setRenderOrder(order)); +} + +QString PythonQtWrapper_QSGGeometryNode::py_toString(QSGGeometryNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGGeometry__Attribute::~PythonQtShell_QSGGeometry__Attribute() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::Attribute* PythonQtWrapper_QSGGeometry__Attribute::new_QSGGeometry__Attribute() +{ +return new PythonQtShell_QSGGeometry__Attribute(); } + +QSGGeometry::Attribute PythonQtWrapper_QSGGeometry__Attribute::static_QSGGeometry__Attribute_create(int pos, int tupleSize, int primitiveType, bool isPosition) +{ + return (QSGGeometry::Attribute::create(pos, tupleSize, primitiveType, isPosition)); +} + +QSGGeometry::Attribute PythonQtWrapper_QSGGeometry__Attribute::static_QSGGeometry__Attribute_createWithAttributeType(int pos, int tupleSize, int primitiveType, QSGGeometry::AttributeType attributeType) +{ + return (QSGGeometry::Attribute::createWithAttributeType(pos, tupleSize, primitiveType, attributeType)); +} + + + +PythonQtShell_QSGGeometry__AttributeSet::~PythonQtShell_QSGGeometry__AttributeSet() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::AttributeSet* PythonQtWrapper_QSGGeometry__AttributeSet::new_QSGGeometry__AttributeSet() +{ +return new PythonQtShell_QSGGeometry__AttributeSet(); } + + + +PythonQtShell_QSGGeometry__ColoredPoint2D::~PythonQtShell_QSGGeometry__ColoredPoint2D() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::ColoredPoint2D* PythonQtWrapper_QSGGeometry__ColoredPoint2D::new_QSGGeometry__ColoredPoint2D() +{ +return new PythonQtShell_QSGGeometry__ColoredPoint2D(); } + +void PythonQtWrapper_QSGGeometry__ColoredPoint2D::set(QSGGeometry::ColoredPoint2D* theWrappedObject, float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na) +{ + ( theWrappedObject->set(nx, ny, nr, ng, nb, na)); +} + + + +PythonQtShell_QSGGeometry__Point2D::~PythonQtShell_QSGGeometry__Point2D() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::Point2D* PythonQtWrapper_QSGGeometry__Point2D::new_QSGGeometry__Point2D() +{ +return new PythonQtShell_QSGGeometry__Point2D(); } + +void PythonQtWrapper_QSGGeometry__Point2D::set(QSGGeometry::Point2D* theWrappedObject, float nx, float ny) +{ + ( theWrappedObject->set(nx, ny)); +} + + + +PythonQtShell_QSGGeometry__TexturedPoint2D::~PythonQtShell_QSGGeometry__TexturedPoint2D() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGGeometry::TexturedPoint2D* PythonQtWrapper_QSGGeometry__TexturedPoint2D::new_QSGGeometry__TexturedPoint2D() +{ +return new PythonQtShell_QSGGeometry__TexturedPoint2D(); } + +void PythonQtWrapper_QSGGeometry__TexturedPoint2D::set(QSGGeometry::TexturedPoint2D* theWrappedObject, float nx, float ny, float ntx, float nty) +{ + ( theWrappedObject->set(nx, ny, ntx, nty)); +} + + + +QSGTexture::Filtering PythonQtWrapper_QSGImageNode::filtering(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->filtering()); +} + +QSGTexture::Filtering PythonQtWrapper_QSGImageNode::mipmapFiltering(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->mipmapFiltering()); +} + +bool PythonQtWrapper_QSGImageNode::ownsTexture(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->ownsTexture()); +} + +QRectF PythonQtWrapper_QSGImageNode::rect(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QSGImageNode::setFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering) +{ + ( theWrappedObject->setFiltering(filtering)); +} + +void PythonQtWrapper_QSGImageNode::setMipmapFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering) +{ + ( theWrappedObject->setMipmapFiltering(filtering)); +} + +void PythonQtWrapper_QSGImageNode::setOwnsTexture(QSGImageNode* theWrappedObject, bool owns) +{ + ( theWrappedObject->setOwnsTexture(owns)); +} + +void PythonQtWrapper_QSGImageNode::setRect(QSGImageNode* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QSGImageNode::setRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + +void PythonQtWrapper_QSGImageNode::setSourceRect(QSGImageNode* theWrappedObject, const QRectF& r) +{ + ( theWrappedObject->setSourceRect(r)); +} + +void PythonQtWrapper_QSGImageNode::setSourceRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setSourceRect(x, y, w, h)); +} + +void PythonQtWrapper_QSGImageNode::setTexture(QSGImageNode* theWrappedObject, QSGTexture* texture) +{ + ( theWrappedObject->setTexture(texture)); +} + +QRectF PythonQtWrapper_QSGImageNode::sourceRect(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->sourceRect()); +} + +QSGTexture* PythonQtWrapper_QSGImageNode::texture(QSGImageNode* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + + + +PythonQtShell_QSGMaterialType::~PythonQtShell_QSGMaterialType() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGMaterialType* PythonQtWrapper_QSGMaterialType::new_QSGMaterialType() +{ +return new PythonQtShell_QSGMaterialType(); } + + + +PythonQtShell_QSGNinePatchNode::~PythonQtShell_QSGNinePatchNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGNinePatchNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGNinePatchNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGNinePatchNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNinePatchNode::preprocess(); +} +void PythonQtShell_QSGNinePatchNode::setBounds(const QRectF& bounds0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setBounds"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&bounds0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::setDevicePixelRatio(qreal ratio0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDevicePixelRatio"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ratio0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::setPadding(qreal left0, qreal top1, qreal right2, qreal bottom3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setPadding"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal" , "qreal" , "qreal" , "qreal"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::setTexture(QSGTexture* texture0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&texture0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGNinePatchNode::update() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("update"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QSGNinePatchNode* PythonQtWrapper_QSGNinePatchNode::new_QSGNinePatchNode() +{ +return new PythonQtShell_QSGNinePatchNode(); } + +void PythonQtWrapper_QSGNinePatchNode::static_QSGNinePatchNode_rebuildGeometry(QSGTexture* texture, QSGGeometry* geometry, const QVector4D& padding, const QRectF& bounds, qreal dpr) +{ + (QSGNinePatchNode::rebuildGeometry(texture, geometry, padding, bounds, dpr)); +} + +void PythonQtWrapper_QSGNinePatchNode::setBounds(QSGNinePatchNode* theWrappedObject, const QRectF& bounds) +{ + ( theWrappedObject->setBounds(bounds)); +} + +void PythonQtWrapper_QSGNinePatchNode::setDevicePixelRatio(QSGNinePatchNode* theWrappedObject, qreal ratio) +{ + ( theWrappedObject->setDevicePixelRatio(ratio)); +} + +void PythonQtWrapper_QSGNinePatchNode::setPadding(QSGNinePatchNode* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +{ + ( theWrappedObject->setPadding(left, top, right, bottom)); +} + +void PythonQtWrapper_QSGNinePatchNode::setTexture(QSGNinePatchNode* theWrappedObject, QSGTexture* texture) +{ + ( theWrappedObject->setTexture(texture)); +} + +void PythonQtWrapper_QSGNinePatchNode::update(QSGNinePatchNode* theWrappedObject) +{ + ( theWrappedObject->update()); +} + + + +PythonQtShell_QSGNode::~PythonQtShell_QSGNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNode::preprocess(); +} +QSGNode* PythonQtWrapper_QSGNode::new_QSGNode() +{ +return new PythonQtShell_QSGNode(); } + +QSGNode* PythonQtWrapper_QSGNode::new_QSGNode(QSGNode::NodeType type) +{ +return new PythonQtShell_QSGNode(type); } + +void PythonQtWrapper_QSGNode::appendChildNode(QSGNode* theWrappedObject, QSGNode* node) +{ + ( theWrappedObject->appendChildNode(node)); +} + +QSGNode* PythonQtWrapper_QSGNode::childAtIndex(QSGNode* theWrappedObject, int i) const +{ + return ( theWrappedObject->childAtIndex(i)); +} + +int PythonQtWrapper_QSGNode::childCount(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->childCount()); +} + +void PythonQtWrapper_QSGNode::clearDirty(QSGNode* theWrappedObject) +{ + ( theWrappedObject->clearDirty()); +} + +QSGNode::DirtyState PythonQtWrapper_QSGNode::dirtyState(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->dirtyState()); +} + +QSGNode* PythonQtWrapper_QSGNode::firstChild(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->firstChild()); +} + +void PythonQtWrapper_QSGNode::insertChildNodeAfter(QSGNode* theWrappedObject, QSGNode* node, QSGNode* after) +{ + ( theWrappedObject->insertChildNodeAfter(node, after)); +} + +void PythonQtWrapper_QSGNode::insertChildNodeBefore(QSGNode* theWrappedObject, QSGNode* node, QSGNode* before) +{ + ( theWrappedObject->insertChildNodeBefore(node, before)); +} + +bool PythonQtWrapper_QSGNode::isSubtreeBlocked(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->isSubtreeBlocked()); +} + +QSGNode* PythonQtWrapper_QSGNode::lastChild(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->lastChild()); +} + +void PythonQtWrapper_QSGNode::markDirty(QSGNode* theWrappedObject, QSGNode::DirtyState bits) +{ + ( theWrappedObject->markDirty(bits)); +} + +QSGNode* PythonQtWrapper_QSGNode::nextSibling(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->nextSibling()); +} + +QSGNode* PythonQtWrapper_QSGNode::parent(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +void PythonQtWrapper_QSGNode::prependChildNode(QSGNode* theWrappedObject, QSGNode* node) +{ + ( theWrappedObject->prependChildNode(node)); +} + +void PythonQtWrapper_QSGNode::preprocess(QSGNode* theWrappedObject) +{ + ( theWrappedObject->preprocess()); +} + +QSGNode* PythonQtWrapper_QSGNode::previousSibling(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->previousSibling()); +} + +void PythonQtWrapper_QSGNode::removeAllChildNodes(QSGNode* theWrappedObject) +{ + ( theWrappedObject->removeAllChildNodes()); +} + +void PythonQtWrapper_QSGNode::removeChildNode(QSGNode* theWrappedObject, QSGNode* node) +{ + ( theWrappedObject->removeChildNode(node)); +} + +void PythonQtWrapper_QSGNode::reparentChildNodesTo(QSGNode* theWrappedObject, QSGNode* newParent) +{ + ( theWrappedObject->reparentChildNodesTo(newParent)); +} + +void PythonQtWrapper_QSGNode::setFlag(QSGNode* theWrappedObject, QSGNode::Flag arg__1, bool arg__2) +{ + ( theWrappedObject->setFlag(arg__1, arg__2)); +} + +QSGNode::NodeType PythonQtWrapper_QSGNode::type(QSGNode* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QSGNode::py_toString(QSGNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.h b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.h new file mode 100644 index 00000000..ee1f6dd6 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.h @@ -0,0 +1,1885 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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_QQuickFramebufferObject : public QQuickFramebufferObject +{ +public: + PythonQtShell_QQuickFramebufferObject(QQuickItem* parent = nullptr):QQuickFramebufferObject(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickFramebufferObject() override; + +QRectF boundingRect() const override; +bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) override; +void classBegin() override; +QRectF clipRect() const override; +void componentComplete() override; +bool contains(const QPointF& point) const override; +QQuickFramebufferObject::Renderer* createRenderer() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +bool event(QEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +void focusOutEvent(QFocusEvent* arg__1) override; +void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) override; +void hoverEnterEvent(QHoverEvent* event) override; +void hoverLeaveEvent(QHoverEvent* event) override; +void hoverMoveEvent(QHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isTextureProvider() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void mouseUngrabEvent() override; +void releaseResources() override; +QSGTextureProvider* textureProvider() const override; +void touchEvent(QTouchEvent* event) override; +void touchUngrabEvent() override; +QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) override; +void updatePolish() override; +void wheelEvent(QWheelEvent* event) override; +void windowDeactivateEvent() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickFramebufferObject : public QQuickFramebufferObject +{ public: +inline void promoted_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { this->geometryChanged(newGeometry, oldGeometry); } +inline QSGNode* promoted_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return this->updatePaintNode(arg__1, arg__2); } +inline QQuickFramebufferObject::Renderer* py_q_createRenderer() const { return this->createRenderer(); } +inline void py_q_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { QQuickFramebufferObject::geometryChanged(newGeometry, oldGeometry); } +inline bool py_q_isTextureProvider() const { return QQuickFramebufferObject::isTextureProvider(); } +inline void py_q_releaseResources() { QQuickFramebufferObject::releaseResources(); } +inline QSGTextureProvider* py_q_textureProvider() const { return QQuickFramebufferObject::textureProvider(); } +inline QSGNode* py_q_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return QQuickFramebufferObject::updatePaintNode(arg__1, arg__2); } +}; + +class PythonQtWrapper_QQuickFramebufferObject : public QObject +{ Q_OBJECT +public: +public slots: +QQuickFramebufferObject* new_QQuickFramebufferObject(QQuickItem* parent = nullptr); +void delete_QQuickFramebufferObject(QQuickFramebufferObject* obj) { delete obj; } + QQuickFramebufferObject::Renderer* createRenderer(QQuickFramebufferObject* theWrappedObject) const; + QQuickFramebufferObject::Renderer* py_q_createRenderer(QQuickFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_createRenderer());} + void py_q_geometryChanged(QQuickFramebufferObject* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry){ (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_geometryChanged(newGeometry, oldGeometry));} + bool py_q_isTextureProvider(QQuickFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_isTextureProvider());} + bool mirrorVertically(QQuickFramebufferObject* theWrappedObject) const; + void py_q_releaseResources(QQuickFramebufferObject* theWrappedObject){ (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_releaseResources());} + void setMirrorVertically(QQuickFramebufferObject* theWrappedObject, bool enable); + void setTextureFollowsItemSize(QQuickFramebufferObject* theWrappedObject, bool follows); + bool textureFollowsItemSize(QQuickFramebufferObject* theWrappedObject) const; + QSGTextureProvider* py_q_textureProvider(QQuickFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_textureProvider());} + QSGNode* py_q_updatePaintNode(QQuickFramebufferObject* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2){ return (((PythonQtPublicPromoter_QQuickFramebufferObject*)theWrappedObject)->py_q_updatePaintNode(arg__1, arg__2));} +}; + + + + + +class PythonQtShell_QQuickFramebufferObject__Renderer : public QQuickFramebufferObject::Renderer +{ +public: + PythonQtShell_QQuickFramebufferObject__Renderer():QQuickFramebufferObject::Renderer(),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickFramebufferObject__Renderer() override; + +QOpenGLFramebufferObject* createFramebufferObject(const QSize& size) override; +void render() override; +void synchronize(QQuickFramebufferObject* arg__1) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickFramebufferObject__Renderer : public QQuickFramebufferObject::Renderer +{ public: +inline QOpenGLFramebufferObject* promoted_createFramebufferObject(const QSize& size) { return this->createFramebufferObject(size); } +inline QOpenGLFramebufferObject* promoted_framebufferObject() const { return this->framebufferObject(); } +inline void promoted_invalidateFramebufferObject() { this->invalidateFramebufferObject(); } +inline void promoted_render() { this->render(); } +inline void promoted_synchronize(QQuickFramebufferObject* arg__1) { this->synchronize(arg__1); } +inline void promoted_update() { this->update(); } +inline QOpenGLFramebufferObject* py_q_createFramebufferObject(const QSize& size) { return QQuickFramebufferObject::Renderer::createFramebufferObject(size); } +inline void py_q_render() { this->render(); } +inline void py_q_synchronize(QQuickFramebufferObject* arg__1) { QQuickFramebufferObject::Renderer::synchronize(arg__1); } +}; + +class PythonQtWrapper_QQuickFramebufferObject__Renderer : public QObject +{ Q_OBJECT +public: +public slots: +QQuickFramebufferObject::Renderer* new_QQuickFramebufferObject__Renderer(); + QOpenGLFramebufferObject* createFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject, const QSize& size); + QOpenGLFramebufferObject* py_q_createFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject, const QSize& size){ return (((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->py_q_createFramebufferObject(size));} + QOpenGLFramebufferObject* framebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject) const; + void invalidateFramebufferObject(QQuickFramebufferObject::Renderer* theWrappedObject); + void render(QQuickFramebufferObject::Renderer* theWrappedObject); + void py_q_render(QQuickFramebufferObject::Renderer* theWrappedObject){ (((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->py_q_render());} + void synchronize(QQuickFramebufferObject::Renderer* theWrappedObject, QQuickFramebufferObject* arg__1); + void py_q_synchronize(QQuickFramebufferObject::Renderer* theWrappedObject, QQuickFramebufferObject* arg__1){ (((PythonQtPublicPromoter_QQuickFramebufferObject__Renderer*)theWrappedObject)->py_q_synchronize(arg__1));} + void update(QQuickFramebufferObject::Renderer* theWrappedObject); +}; + + + + + +class PythonQtPublicPromoter_QQuickImageProvider : public QQuickImageProvider +{ public: +inline QImage py_q_requestImage(const QString& id, QSize* size, const QSize& requestedSize) { return QQuickImageProvider::requestImage(id, size, requestedSize); } +inline QPixmap py_q_requestPixmap(const QString& id, QSize* size, const QSize& requestedSize) { return QQuickImageProvider::requestPixmap(id, size, requestedSize); } +}; + +class PythonQtWrapper_QQuickImageProvider : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QQuickImageProvider(QQuickImageProvider* obj) { delete obj; } + QImage requestImage(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize); + QImage py_q_requestImage(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize){ return (((PythonQtPublicPromoter_QQuickImageProvider*)theWrappedObject)->py_q_requestImage(id, size, requestedSize));} + QPixmap requestPixmap(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize); + QPixmap py_q_requestPixmap(QQuickImageProvider* theWrappedObject, const QString& id, QSize* size, const QSize& requestedSize){ return (((PythonQtPublicPromoter_QQuickImageProvider*)theWrappedObject)->py_q_requestPixmap(id, size, requestedSize));} +}; + + + + + +class PythonQtShell_QQuickItem : public QQuickItem +{ +public: + PythonQtShell_QQuickItem(QQuickItem* parent = nullptr):QQuickItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickItem() override; + +QRectF boundingRect() const override; +bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) override; +void classBegin() override; +QRectF clipRect() const override; +void componentComplete() override; +bool contains(const QPointF& point) const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +bool event(QEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +void focusOutEvent(QFocusEvent* arg__1) override; +void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) override; +void hoverEnterEvent(QHoverEvent* event) override; +void hoverLeaveEvent(QHoverEvent* event) override; +void hoverMoveEvent(QHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isTextureProvider() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void mouseUngrabEvent() override; +void releaseResources() override; +QSGTextureProvider* textureProvider() const override; +void touchEvent(QTouchEvent* event) override; +void touchUngrabEvent() override; +QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) override; +void updatePolish() override; +void wheelEvent(QWheelEvent* event) override; +void windowDeactivateEvent() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickItem : public QQuickItem +{ public: +inline bool promoted_childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) { return this->childMouseEventFilter(arg__1, arg__2); } +inline void promoted_classBegin() { this->classBegin(); } +inline void promoted_componentComplete() { this->componentComplete(); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { this->dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { this->dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { this->dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { this->geometryChanged(newGeometry, oldGeometry); } +inline bool promoted_heightValid() const { return this->heightValid(); } +inline void promoted_hoverEnterEvent(QHoverEvent* event) { this->hoverEnterEvent(event); } +inline void promoted_hoverLeaveEvent(QHoverEvent* event) { this->hoverLeaveEvent(event); } +inline void promoted_hoverMoveEvent(QHoverEvent* event) { this->hoverMoveEvent(event); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline bool promoted_isComponentComplete() const { return this->isComponentComplete(); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_keyReleaseEvent(QKeyEvent* event) { this->keyReleaseEvent(event); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline void promoted_mouseUngrabEvent() { this->mouseUngrabEvent(); } +inline void promoted_releaseResources() { this->releaseResources(); } +inline void promoted_setImplicitSize(qreal arg__1, qreal arg__2) { this->setImplicitSize(arg__1, arg__2); } +inline void promoted_touchEvent(QTouchEvent* event) { this->touchEvent(event); } +inline void promoted_touchUngrabEvent() { this->touchUngrabEvent(); } +inline void promoted_updateInputMethod(Qt::InputMethodQueries queries = Qt::ImQueryInput) { this->updateInputMethod(queries); } +inline QSGNode* promoted_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return this->updatePaintNode(arg__1, arg__2); } +inline void promoted_updatePolish() { this->updatePolish(); } +inline void promoted_wheelEvent(QWheelEvent* event) { this->wheelEvent(event); } +inline bool promoted_widthValid() const { return this->widthValid(); } +inline void promoted_windowDeactivateEvent() { this->windowDeactivateEvent(); } +inline QRectF py_q_boundingRect() const { return QQuickItem::boundingRect(); } +inline bool py_q_childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) { return QQuickItem::childMouseEventFilter(arg__1, arg__2); } +inline void py_q_classBegin() { QQuickItem::classBegin(); } +inline QRectF py_q_clipRect() const { return QQuickItem::clipRect(); } +inline void py_q_componentComplete() { QQuickItem::componentComplete(); } +inline bool py_q_contains(const QPointF& point) const { return QQuickItem::contains(point); } +inline void py_q_dragEnterEvent(QDragEnterEvent* arg__1) { QQuickItem::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* arg__1) { QQuickItem::dragLeaveEvent(arg__1); } +inline void py_q_dragMoveEvent(QDragMoveEvent* arg__1) { QQuickItem::dragMoveEvent(arg__1); } +inline void py_q_dropEvent(QDropEvent* arg__1) { QQuickItem::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickItem::event(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QQuickItem::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QQuickItem::focusOutEvent(arg__1); } +inline void py_q_geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) { QQuickItem::geometryChanged(newGeometry, oldGeometry); } +inline void py_q_hoverEnterEvent(QHoverEvent* event) { QQuickItem::hoverEnterEvent(event); } +inline void py_q_hoverLeaveEvent(QHoverEvent* event) { QQuickItem::hoverLeaveEvent(event); } +inline void py_q_hoverMoveEvent(QHoverEvent* event) { QQuickItem::hoverMoveEvent(event); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QQuickItem::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QQuickItem::inputMethodQuery(query); } +inline bool py_q_isTextureProvider() const { return QQuickItem::isTextureProvider(); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QQuickItem::keyPressEvent(event); } +inline void py_q_keyReleaseEvent(QKeyEvent* event) { QQuickItem::keyReleaseEvent(event); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QQuickItem::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QQuickItem::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QQuickItem::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QQuickItem::mouseReleaseEvent(event); } +inline void py_q_mouseUngrabEvent() { QQuickItem::mouseUngrabEvent(); } +inline void py_q_releaseResources() { QQuickItem::releaseResources(); } +inline QSGTextureProvider* py_q_textureProvider() const { return QQuickItem::textureProvider(); } +inline void py_q_touchEvent(QTouchEvent* event) { QQuickItem::touchEvent(event); } +inline void py_q_touchUngrabEvent() { QQuickItem::touchUngrabEvent(); } +inline QSGNode* py_q_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return QQuickItem::updatePaintNode(arg__1, arg__2); } +inline void py_q_updatePolish() { QQuickItem::updatePolish(); } +inline void py_q_wheelEvent(QWheelEvent* event) { QQuickItem::wheelEvent(event); } +inline void py_q_windowDeactivateEvent() { QQuickItem::windowDeactivateEvent(); } +}; + +class PythonQtWrapper_QQuickItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Flag ItemChange ) +enum Flag{ + ItemClipsChildrenToShape = QQuickItem::ItemClipsChildrenToShape, ItemAcceptsInputMethod = QQuickItem::ItemAcceptsInputMethod, ItemIsFocusScope = QQuickItem::ItemIsFocusScope, ItemHasContents = QQuickItem::ItemHasContents, ItemAcceptsDrops = QQuickItem::ItemAcceptsDrops}; +enum ItemChange{ + ItemChildAddedChange = QQuickItem::ItemChildAddedChange, ItemChildRemovedChange = QQuickItem::ItemChildRemovedChange, ItemSceneChange = QQuickItem::ItemSceneChange, ItemVisibleHasChanged = QQuickItem::ItemVisibleHasChanged, ItemParentHasChanged = QQuickItem::ItemParentHasChanged, ItemOpacityHasChanged = QQuickItem::ItemOpacityHasChanged, ItemActiveFocusHasChanged = QQuickItem::ItemActiveFocusHasChanged, ItemRotationHasChanged = QQuickItem::ItemRotationHasChanged, ItemAntialiasingHasChanged = QQuickItem::ItemAntialiasingHasChanged, ItemDevicePixelRatioHasChanged = QQuickItem::ItemDevicePixelRatioHasChanged, ItemEnabledHasChanged = QQuickItem::ItemEnabledHasChanged}; +public slots: +QQuickItem* new_QQuickItem(QQuickItem* parent = nullptr); +void delete_QQuickItem(QQuickItem* obj) { delete obj; } + bool acceptHoverEvents(QQuickItem* theWrappedObject) const; + bool acceptTouchEvents(QQuickItem* theWrappedObject) const; + Qt::MouseButtons acceptedMouseButtons(QQuickItem* theWrappedObject) const; + bool activeFocusOnTab(QQuickItem* theWrappedObject) const; + bool antialiasing(QQuickItem* theWrappedObject) const; + qreal baselineOffset(QQuickItem* theWrappedObject) const; + QRectF boundingRect(QQuickItem* theWrappedObject) const; + QRectF py_q_boundingRect(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_boundingRect());} + QQuickItem* childAt(QQuickItem* theWrappedObject, qreal x, qreal y) const; + QList childItems(QQuickItem* theWrappedObject) const; + bool childMouseEventFilter(QQuickItem* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2); + bool py_q_childMouseEventFilter(QQuickItem* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_childMouseEventFilter(arg__1, arg__2));} + QRectF childrenRect(QQuickItem* theWrappedObject); + void classBegin(QQuickItem* theWrappedObject); + void py_q_classBegin(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_classBegin());} + bool clip(QQuickItem* theWrappedObject) const; + QRectF clipRect(QQuickItem* theWrappedObject) const; + QRectF py_q_clipRect(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_clipRect());} + void componentComplete(QQuickItem* theWrappedObject); + void py_q_componentComplete(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_componentComplete());} + QObject* containmentMask(QQuickItem* theWrappedObject) const; + bool contains(QQuickItem* theWrappedObject, const QPointF& point) const; + bool py_q_contains(QQuickItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_contains(point));} + QCursor cursor(QQuickItem* theWrappedObject) const; + void dragEnterEvent(QQuickItem* theWrappedObject, QDragEnterEvent* arg__1); + void py_q_dragEnterEvent(QQuickItem* theWrappedObject, QDragEnterEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} + void dragLeaveEvent(QQuickItem* theWrappedObject, QDragLeaveEvent* arg__1); + void py_q_dragLeaveEvent(QQuickItem* theWrappedObject, QDragLeaveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dragLeaveEvent(arg__1));} + void dragMoveEvent(QQuickItem* theWrappedObject, QDragMoveEvent* arg__1); + void py_q_dragMoveEvent(QQuickItem* theWrappedObject, QDragMoveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} + void dropEvent(QQuickItem* theWrappedObject, QDropEvent* arg__1); + void py_q_dropEvent(QQuickItem* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_dropEvent(arg__1));} + bool event(QQuickItem* theWrappedObject, QEvent* arg__1); + bool py_q_event(QQuickItem* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_event(arg__1));} + bool filtersChildMouseEvents(QQuickItem* theWrappedObject) const; + void focusInEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1); + void py_q_focusInEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_focusInEvent(arg__1));} + void focusOutEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1); + void py_q_focusOutEvent(QQuickItem* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + void forceActiveFocus(QQuickItem* theWrappedObject); + void forceActiveFocus(QQuickItem* theWrappedObject, Qt::FocusReason reason); + void geometryChanged(QQuickItem* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry); + void py_q_geometryChanged(QQuickItem* theWrappedObject, const QRectF& newGeometry, const QRectF& oldGeometry){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_geometryChanged(newGeometry, oldGeometry));} + void grabMouse(QQuickItem* theWrappedObject); + bool grabToImage(QQuickItem* theWrappedObject, const QJSValue& callback, const QSize& targetSize = QSize()); + void grabTouchPoints(QQuickItem* theWrappedObject, const QVector& ids); + bool hasActiveFocus(QQuickItem* theWrappedObject) const; + bool hasFocus(QQuickItem* theWrappedObject) const; + qreal height(QQuickItem* theWrappedObject) const; + bool heightValid(QQuickItem* theWrappedObject) const; + void hoverEnterEvent(QQuickItem* theWrappedObject, QHoverEvent* event); + void py_q_hoverEnterEvent(QQuickItem* theWrappedObject, QHoverEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} + void hoverLeaveEvent(QQuickItem* theWrappedObject, QHoverEvent* event); + void py_q_hoverLeaveEvent(QQuickItem* theWrappedObject, QHoverEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} + void hoverMoveEvent(QQuickItem* theWrappedObject, QHoverEvent* event); + void py_q_hoverMoveEvent(QQuickItem* theWrappedObject, QHoverEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} + qreal implicitHeight(QQuickItem* theWrappedObject) const; + qreal implicitWidth(QQuickItem* theWrappedObject) const; + void inputMethodEvent(QQuickItem* theWrappedObject, QInputMethodEvent* arg__1); + void py_q_inputMethodEvent(QQuickItem* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant inputMethodQuery(QQuickItem* theWrappedObject, Qt::InputMethodQuery query) const; + QVariant py_q_inputMethodQuery(QQuickItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_inputMethodQuery(query));} + bool isAncestorOf(QQuickItem* theWrappedObject, const QQuickItem* child) const; + bool isComponentComplete(QQuickItem* theWrappedObject) const; + bool isEnabled(QQuickItem* theWrappedObject) const; + bool isFocusScope(QQuickItem* theWrappedObject) const; + bool isTextureProvider(QQuickItem* theWrappedObject) const; + bool py_q_isTextureProvider(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_isTextureProvider());} + bool isUnderMouse(QQuickItem* theWrappedObject) const; + bool isVisible(QQuickItem* theWrappedObject) const; + QTransform itemTransform(QQuickItem* theWrappedObject, QQuickItem* arg__1, bool* arg__2) const; + bool keepMouseGrab(QQuickItem* theWrappedObject) const; + bool keepTouchGrab(QQuickItem* theWrappedObject) const; + void keyPressEvent(QQuickItem* theWrappedObject, QKeyEvent* event); + void py_q_keyPressEvent(QQuickItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_keyPressEvent(event));} + void keyReleaseEvent(QQuickItem* theWrappedObject, QKeyEvent* event); + void py_q_keyReleaseEvent(QQuickItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} + QPointF mapFromGlobal(QQuickItem* theWrappedObject, const QPointF& point) const; + QPointF mapFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const; + QPointF mapFromScene(QQuickItem* theWrappedObject, const QPointF& point) const; + QRectF mapRectFromItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const; + QRectF mapRectFromScene(QQuickItem* theWrappedObject, const QRectF& rect) const; + QRectF mapRectToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QRectF& rect) const; + QRectF mapRectToScene(QQuickItem* theWrappedObject, const QRectF& rect) const; + QPointF mapToGlobal(QQuickItem* theWrappedObject, const QPointF& point) const; + QPointF mapToItem(QQuickItem* theWrappedObject, const QQuickItem* item, const QPointF& point) const; + QPointF mapToScene(QQuickItem* theWrappedObject, const QPointF& point) const; + void mouseDoubleClickEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mouseDoubleClickEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void mouseMoveEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mouseMoveEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void mousePressEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mousePressEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mousePressEvent(event));} + void mouseReleaseEvent(QQuickItem* theWrappedObject, QMouseEvent* event); + void py_q_mouseReleaseEvent(QQuickItem* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + void mouseUngrabEvent(QQuickItem* theWrappedObject); + void py_q_mouseUngrabEvent(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_mouseUngrabEvent());} + QQuickItem* nextItemInFocusChain(QQuickItem* theWrappedObject, bool forward = true); + qreal opacity(QQuickItem* theWrappedObject) const; + QQuickItem* parentItem(QQuickItem* theWrappedObject) const; + void polish(QQuickItem* theWrappedObject); + QPointF position(QQuickItem* theWrappedObject) const; + void releaseResources(QQuickItem* theWrappedObject); + void py_q_releaseResources(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_releaseResources());} + void resetAntialiasing(QQuickItem* theWrappedObject); + void resetHeight(QQuickItem* theWrappedObject); + void resetWidth(QQuickItem* theWrappedObject); + qreal rotation(QQuickItem* theWrappedObject) const; + qreal scale(QQuickItem* theWrappedObject) const; + QQuickItem* scopedFocusItem(QQuickItem* theWrappedObject) const; + void setAcceptHoverEvents(QQuickItem* theWrappedObject, bool enabled); + void setAcceptTouchEvents(QQuickItem* theWrappedObject, bool accept); + void setAcceptedMouseButtons(QQuickItem* theWrappedObject, Qt::MouseButtons buttons); + void setActiveFocusOnTab(QQuickItem* theWrappedObject, bool arg__1); + void setAntialiasing(QQuickItem* theWrappedObject, bool arg__1); + void setBaselineOffset(QQuickItem* theWrappedObject, qreal arg__1); + void setClip(QQuickItem* theWrappedObject, bool arg__1); + void setContainmentMask(QQuickItem* theWrappedObject, QObject* mask); + void setCursor(QQuickItem* theWrappedObject, const QCursor& cursor); + void setEnabled(QQuickItem* theWrappedObject, bool arg__1); + void setFiltersChildMouseEvents(QQuickItem* theWrappedObject, bool filter); + void setFlag(QQuickItem* theWrappedObject, QQuickItem::Flag flag, bool enabled = true); + void setFocus(QQuickItem* theWrappedObject, bool arg__1); + void setFocus(QQuickItem* theWrappedObject, bool focus, Qt::FocusReason reason); + void setHeight(QQuickItem* theWrappedObject, qreal arg__1); + void setImplicitHeight(QQuickItem* theWrappedObject, qreal arg__1); + void setImplicitSize(QQuickItem* theWrappedObject, qreal arg__1, qreal arg__2); + void setImplicitWidth(QQuickItem* theWrappedObject, qreal arg__1); + void setKeepMouseGrab(QQuickItem* theWrappedObject, bool arg__1); + void setKeepTouchGrab(QQuickItem* theWrappedObject, bool arg__1); + void setOpacity(QQuickItem* theWrappedObject, qreal arg__1); + void setParentItem(QQuickItem* theWrappedObject, QQuickItem* parent); + void setPosition(QQuickItem* theWrappedObject, const QPointF& arg__1); + void setRotation(QQuickItem* theWrappedObject, qreal arg__1); + void setScale(QQuickItem* theWrappedObject, qreal arg__1); + void setSize(QQuickItem* theWrappedObject, const QSizeF& size); + void setSmooth(QQuickItem* theWrappedObject, bool arg__1); + void setState(QQuickItem* theWrappedObject, const QString& arg__1); + void setTransformOrigin(QQuickItem* theWrappedObject, QQuickItem::TransformOrigin arg__1); + void setTransformOriginPoint(QQuickItem* theWrappedObject, const QPointF& arg__1); + void setVisible(QQuickItem* theWrappedObject, bool arg__1); + void setWidth(QQuickItem* theWrappedObject, qreal arg__1); + void setX(QQuickItem* theWrappedObject, qreal arg__1); + void setY(QQuickItem* theWrappedObject, qreal arg__1); + void setZ(QQuickItem* theWrappedObject, qreal arg__1); + QSizeF size(QQuickItem* theWrappedObject) const; + bool smooth(QQuickItem* theWrappedObject) const; + void stackAfter(QQuickItem* theWrappedObject, const QQuickItem* arg__1); + void stackBefore(QQuickItem* theWrappedObject, const QQuickItem* arg__1); + QString state(QQuickItem* theWrappedObject) const; + QSGTextureProvider* textureProvider(QQuickItem* theWrappedObject) const; + QSGTextureProvider* py_q_textureProvider(QQuickItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_textureProvider());} + void touchEvent(QQuickItem* theWrappedObject, QTouchEvent* event); + void py_q_touchEvent(QQuickItem* theWrappedObject, QTouchEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_touchEvent(event));} + void touchUngrabEvent(QQuickItem* theWrappedObject); + void py_q_touchUngrabEvent(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_touchUngrabEvent());} + QQuickItem::TransformOrigin transformOrigin(QQuickItem* theWrappedObject) const; + QPointF transformOriginPoint(QQuickItem* theWrappedObject) const; + void ungrabMouse(QQuickItem* theWrappedObject); + void ungrabTouchPoints(QQuickItem* theWrappedObject); + void unsetCursor(QQuickItem* theWrappedObject); + void updateInputMethod(QQuickItem* theWrappedObject, Qt::InputMethodQueries queries = Qt::ImQueryInput); + QSGNode* updatePaintNode(QQuickItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2); + QSGNode* py_q_updatePaintNode(QQuickItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2){ return (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_updatePaintNode(arg__1, arg__2));} + void updatePolish(QQuickItem* theWrappedObject); + void py_q_updatePolish(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_updatePolish());} + void wheelEvent(QQuickItem* theWrappedObject, QWheelEvent* event); + void py_q_wheelEvent(QQuickItem* theWrappedObject, QWheelEvent* event){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_wheelEvent(event));} + qreal width(QQuickItem* theWrappedObject) const; + bool widthValid(QQuickItem* theWrappedObject) const; + QQuickWindow* window(QQuickItem* theWrappedObject) const; + void windowDeactivateEvent(QQuickItem* theWrappedObject); + void py_q_windowDeactivateEvent(QQuickItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickItem*)theWrappedObject)->py_q_windowDeactivateEvent());} + qreal x(QQuickItem* theWrappedObject) const; + qreal y(QQuickItem* theWrappedObject) const; + qreal z(QQuickItem* theWrappedObject) const; + QString py_toString(QQuickItem*); +}; + + + + + +class PythonQtPublicPromoter_QQuickItemGrabResult : public QQuickItemGrabResult +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickItemGrabResult::event(arg__1); } +}; + +class PythonQtWrapper_QQuickItemGrabResult : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QQuickItemGrabResult(QQuickItemGrabResult* obj) { delete obj; } + bool py_q_event(QQuickItemGrabResult* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickItemGrabResult*)theWrappedObject)->py_q_event(arg__1));} + QImage image(QQuickItemGrabResult* theWrappedObject) const; + bool saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName); + bool saveToFile(QQuickItemGrabResult* theWrappedObject, const QString& fileName) const; + QUrl url(QQuickItemGrabResult* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QQuickItem__UpdatePaintNodeData : public QObject +{ Q_OBJECT +public: +public slots: +void delete_QQuickItem__UpdatePaintNodeData(QQuickItem::UpdatePaintNodeData* obj) { delete obj; } +void py_set_transformNode(QQuickItem::UpdatePaintNodeData* theWrappedObject, QSGTransformNode* transformNode){ theWrappedObject->transformNode = transformNode; } +QSGTransformNode* py_get_transformNode(QQuickItem::UpdatePaintNodeData* theWrappedObject){ return theWrappedObject->transformNode; } +}; + + + + + +class PythonQtShell_QQuickPaintedItem : public QQuickPaintedItem +{ +public: + PythonQtShell_QQuickPaintedItem(QQuickItem* parent = nullptr):QQuickPaintedItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickPaintedItem() override; + +QRectF boundingRect() const override; +bool childMouseEventFilter(QQuickItem* arg__1, QEvent* arg__2) override; +void classBegin() override; +QRectF clipRect() const override; +void componentComplete() override; +bool contains(const QPointF& point) const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +bool event(QEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +void focusOutEvent(QFocusEvent* arg__1) override; +void geometryChanged(const QRectF& newGeometry, const QRectF& oldGeometry) override; +void hoverEnterEvent(QHoverEvent* event) override; +void hoverLeaveEvent(QHoverEvent* event) override; +void hoverMoveEvent(QHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isTextureProvider() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void mouseUngrabEvent() override; +void paint(QPainter* painter) override; +void releaseResources() override; +QSGTextureProvider* textureProvider() const override; +void touchEvent(QTouchEvent* event) override; +void touchUngrabEvent() override; +QSGNode* updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) override; +void updatePolish() override; +void wheelEvent(QWheelEvent* event) override; +void windowDeactivateEvent() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickPaintedItem : public QQuickPaintedItem +{ public: +inline void promoted_releaseResources() { this->releaseResources(); } +inline QSGNode* promoted_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return this->updatePaintNode(arg__1, arg__2); } +inline bool py_q_isTextureProvider() const { return QQuickPaintedItem::isTextureProvider(); } +inline void py_q_paint(QPainter* painter) { this->paint(painter); } +inline void py_q_releaseResources() { QQuickPaintedItem::releaseResources(); } +inline QSGTextureProvider* py_q_textureProvider() const { return QQuickPaintedItem::textureProvider(); } +inline QSGNode* py_q_updatePaintNode(QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2) { return QQuickPaintedItem::updatePaintNode(arg__1, arg__2); } +}; + +class PythonQtWrapper_QQuickPaintedItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PerformanceHint ) +enum PerformanceHint{ + FastFBOResizing = QQuickPaintedItem::FastFBOResizing}; +public slots: +QQuickPaintedItem* new_QQuickPaintedItem(QQuickItem* parent = nullptr); +void delete_QQuickPaintedItem(QQuickPaintedItem* obj) { delete obj; } + bool antialiasing(QQuickPaintedItem* theWrappedObject) const; + QRectF contentsBoundingRect(QQuickPaintedItem* theWrappedObject) const; + qreal contentsScale(QQuickPaintedItem* theWrappedObject) const; + QSize contentsSize(QQuickPaintedItem* theWrappedObject) const; + QColor fillColor(QQuickPaintedItem* theWrappedObject) const; + bool py_q_isTextureProvider(QQuickPaintedItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_isTextureProvider());} + bool mipmap(QQuickPaintedItem* theWrappedObject) const; + bool opaquePainting(QQuickPaintedItem* theWrappedObject) const; + void paint(QQuickPaintedItem* theWrappedObject, QPainter* painter); + void py_q_paint(QQuickPaintedItem* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_paint(painter));} + void py_q_releaseResources(QQuickPaintedItem* theWrappedObject){ (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_releaseResources());} + QQuickPaintedItem::RenderTarget renderTarget(QQuickPaintedItem* theWrappedObject) const; + void resetContentsSize(QQuickPaintedItem* theWrappedObject); + void setAntialiasing(QQuickPaintedItem* theWrappedObject, bool enable); + void setContentsScale(QQuickPaintedItem* theWrappedObject, qreal arg__1); + void setContentsSize(QQuickPaintedItem* theWrappedObject, const QSize& arg__1); + void setFillColor(QQuickPaintedItem* theWrappedObject, const QColor& arg__1); + void setMipmap(QQuickPaintedItem* theWrappedObject, bool enable); + void setOpaquePainting(QQuickPaintedItem* theWrappedObject, bool opaque); + void setPerformanceHint(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::PerformanceHint hint, bool enabled = true); + void setRenderTarget(QQuickPaintedItem* theWrappedObject, QQuickPaintedItem::RenderTarget target); + void setTextureSize(QQuickPaintedItem* theWrappedObject, const QSize& size); + QSGTextureProvider* py_q_textureProvider(QQuickPaintedItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_textureProvider());} + QSize textureSize(QQuickPaintedItem* theWrappedObject) const; + void update(QQuickPaintedItem* theWrappedObject, const QRect& rect = QRect()); + QSGNode* py_q_updatePaintNode(QQuickPaintedItem* theWrappedObject, QSGNode* arg__1, QQuickItem::UpdatePaintNodeData* arg__2){ return (((PythonQtPublicPromoter_QQuickPaintedItem*)theWrappedObject)->py_q_updatePaintNode(arg__1, arg__2));} +}; + + + + + +class PythonQtShell_QQuickRenderControl : public QQuickRenderControl +{ +public: + PythonQtShell_QQuickRenderControl(QObject* parent = nullptr):QQuickRenderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickRenderControl() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QWindow* renderWindow(QPoint* offset) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickRenderControl : public QQuickRenderControl +{ public: +inline QWindow* py_q_renderWindow(QPoint* offset) { return QQuickRenderControl::renderWindow(offset); } +}; + +class PythonQtWrapper_QQuickRenderControl : public QObject +{ Q_OBJECT +public: +public slots: +QQuickRenderControl* new_QQuickRenderControl(QObject* parent = nullptr); +void delete_QQuickRenderControl(QQuickRenderControl* obj) { delete obj; } + QImage grab(QQuickRenderControl* theWrappedObject); + void initialize(QQuickRenderControl* theWrappedObject, QOpenGLContext* gl); + void invalidate(QQuickRenderControl* theWrappedObject); + void polishItems(QQuickRenderControl* theWrappedObject); + void prepareThread(QQuickRenderControl* theWrappedObject, QThread* targetThread); + void render(QQuickRenderControl* theWrappedObject); + QWindow* renderWindow(QQuickRenderControl* theWrappedObject, QPoint* offset); + QWindow* py_q_renderWindow(QQuickRenderControl* theWrappedObject, QPoint* offset){ return (((PythonQtPublicPromoter_QQuickRenderControl*)theWrappedObject)->py_q_renderWindow(offset));} + QWindow* static_QQuickRenderControl_renderWindowFor(QQuickWindow* win, QPoint* offset = nullptr); + bool sync(QQuickRenderControl* theWrappedObject); +}; + + + + + +class PythonQtShell_QQuickTextDocument : public QQuickTextDocument +{ +public: + PythonQtShell_QQuickTextDocument(QQuickItem* parent):QQuickTextDocument(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickTextDocument() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QQuickTextDocument : public QObject +{ Q_OBJECT +public: +public slots: +QQuickTextDocument* new_QQuickTextDocument(QQuickItem* parent); +void delete_QQuickTextDocument(QQuickTextDocument* obj) { delete obj; } + QTextDocument* textDocument(QQuickTextDocument* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QQuickTransform : public QQuickTransform +{ +public: + PythonQtShell_QQuickTransform(QObject* parent = nullptr):QQuickTransform(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickTransform() override; + +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickTransform : public QQuickTransform +{ public: +inline void promoted_update() { this->update(); } +inline void py_q_applyTo(QMatrix4x4* matrix) const { this->applyTo(matrix); } +}; + +class PythonQtWrapper_QQuickTransform : public QObject +{ Q_OBJECT +public: +public slots: +QQuickTransform* new_QQuickTransform(QObject* parent = nullptr); +void delete_QQuickTransform(QQuickTransform* obj) { delete obj; } + void appendToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1); + void applyTo(QQuickTransform* theWrappedObject, QMatrix4x4* matrix) const; + void py_q_applyTo(QQuickTransform* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QQuickTransform*)theWrappedObject)->py_q_applyTo(matrix));} + void prependToItem(QQuickTransform* theWrappedObject, QQuickItem* arg__1); +}; + + + + + +class PythonQtShell_QQuickView : public QQuickView +{ +public: + PythonQtShell_QQuickView(QQmlEngine* engine, QWindow* parent):QQuickView(engine, parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickView(QWindow* parent = nullptr):QQuickView(parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickView(const QUrl& source, QQuickRenderControl* renderControl):QQuickView(source, renderControl),_wrapper(nullptr) {}; + PythonQtShell_QQuickView(const QUrl& source, QWindow* parent = nullptr):QQuickView(source, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickView() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void resizeEvent(QResizeEvent* arg__1) override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* arg__1) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickView : public QQuickView +{ public: +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QQuickView::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QQuickView::keyReleaseEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QQuickView::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QQuickView::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QQuickView::mouseReleaseEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QQuickView::resizeEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QQuickView::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QQuickView : public QObject +{ Q_OBJECT +public: +public slots: +QQuickView* new_QQuickView(QQmlEngine* engine, QWindow* parent); +QQuickView* new_QQuickView(QWindow* parent = nullptr); +QQuickView* new_QQuickView(const QUrl& source, QQuickRenderControl* renderControl); +QQuickView* new_QQuickView(const QUrl& source, QWindow* parent = nullptr); +void delete_QQuickView(QQuickView* obj) { delete obj; } + QQmlEngine* engine(QQuickView* theWrappedObject) const; + QList errors(QQuickView* theWrappedObject) const; + QSize initialSize(QQuickView* theWrappedObject) const; + void py_q_keyPressEvent(QQuickView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QQuickView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void py_q_mouseMoveEvent(QQuickView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QQuickView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QQuickView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_resizeEvent(QQuickView* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QQuickView::ResizeMode resizeMode(QQuickView* theWrappedObject) const; + QQmlContext* rootContext(QQuickView* theWrappedObject) const; + QQuickItem* rootObject(QQuickView* theWrappedObject) const; + void setResizeMode(QQuickView* theWrappedObject, QQuickView::ResizeMode arg__1); + QSize sizeHint(QQuickView* theWrappedObject) const; + QUrl source(QQuickView* theWrappedObject) const; + QQuickView::Status status(QQuickView* theWrappedObject) const; + void py_q_timerEvent(QQuickView* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QQuickView*)theWrappedObject)->py_q_timerEvent(arg__1));} +}; + + + + + +class PythonQtShell_QQuickWidget : public QQuickWidget +{ +public: + PythonQtShell_QQuickWidget(QQmlEngine* engine, QWidget* parent):QQuickWidget(engine, parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickWidget(QWidget* parent = nullptr):QQuickWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QQuickWidget(const QUrl& source, QWidget* parent = nullptr):QQuickWidget(source, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickWidget : public QQuickWidget +{ public: +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { this->dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { this->dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { this->dropEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* event) { this->focusInEvent(event); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* event) { this->focusOutEvent(event); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_dragEnterEvent(QDragEnterEvent* arg__1) { QQuickWidget::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* arg__1) { QQuickWidget::dragLeaveEvent(arg__1); } +inline void py_q_dragMoveEvent(QDragMoveEvent* arg__1) { QQuickWidget::dragMoveEvent(arg__1); } +inline void py_q_dropEvent(QDropEvent* arg__1) { QQuickWidget::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickWidget::event(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* event) { QQuickWidget::focusInEvent(event); } +inline bool py_q_focusNextPrevChild(bool next) { return QQuickWidget::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* event) { QQuickWidget::focusOutEvent(event); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QQuickWidget::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QQuickWidget::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QQuickWidget::keyReleaseEvent(arg__1); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QQuickWidget::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QQuickWidget::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QQuickWidget::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QQuickWidget::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* event) { QQuickWidget::paintEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QQuickWidget::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QQuickWidget::showEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QQuickWidget::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QQuickWidget::timerEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QQuickWidget::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QQuickWidget : public QObject +{ Q_OBJECT +public: +public slots: +QQuickWidget* new_QQuickWidget(QQmlEngine* engine, QWidget* parent); +QQuickWidget* new_QQuickWidget(QWidget* parent = nullptr); +QQuickWidget* new_QQuickWidget(const QUrl& source, QWidget* parent = nullptr); +void delete_QQuickWidget(QQuickWidget* obj) { delete obj; } + void py_q_dragEnterEvent(QQuickWidget* theWrappedObject, QDragEnterEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} + void py_q_dragLeaveEvent(QQuickWidget* theWrappedObject, QDragLeaveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dragLeaveEvent(arg__1));} + void py_q_dragMoveEvent(QQuickWidget* theWrappedObject, QDragMoveEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} + void py_q_dropEvent(QQuickWidget* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_dropEvent(arg__1));} + QQmlEngine* engine(QQuickWidget* theWrappedObject) const; + QList errors(QQuickWidget* theWrappedObject) const; + bool py_q_event(QQuickWidget* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_event(arg__1));} + void py_q_focusInEvent(QQuickWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_focusInEvent(event));} + bool py_q_focusNextPrevChild(QQuickWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QQuickWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_focusOutEvent(event));} + QSurfaceFormat format(QQuickWidget* theWrappedObject) const; + QImage grabFramebuffer(QQuickWidget* theWrappedObject) const; + void py_q_hideEvent(QQuickWidget* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_hideEvent(arg__1));} + QSize initialSize(QQuickWidget* theWrappedObject) const; + void py_q_keyPressEvent(QQuickWidget* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QQuickWidget* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void py_q_mouseDoubleClickEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + void py_q_mouseMoveEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QQuickWidget* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QQuickWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_paintEvent(event));} + QQuickWindow* quickWindow(QQuickWidget* theWrappedObject) const; + void py_q_resizeEvent(QQuickWidget* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QQuickWidget::ResizeMode resizeMode(QQuickWidget* theWrappedObject) const; + QQmlContext* rootContext(QQuickWidget* theWrappedObject) const; + QQuickItem* rootObject(QQuickWidget* theWrappedObject) const; + void setClearColor(QQuickWidget* theWrappedObject, const QColor& color); + void setFormat(QQuickWidget* theWrappedObject, const QSurfaceFormat& format); + void setResizeMode(QQuickWidget* theWrappedObject, QQuickWidget::ResizeMode arg__1); + void py_q_showEvent(QQuickWidget* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_showEvent(arg__1));} + QSize sizeHint(QQuickWidget* theWrappedObject) const; + QSize py_q_sizeHint(QQuickWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_sizeHint());} + QUrl source(QQuickWidget* theWrappedObject) const; + QQuickWidget::Status status(QQuickWidget* theWrappedObject) const; + void py_q_timerEvent(QQuickWidget* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_timerEvent(arg__1));} + void py_q_wheelEvent(QQuickWidget* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWidget*)theWrappedObject)->py_q_wheelEvent(arg__1));} +}; + + + + + +class PythonQtShell_QQuickWindow : public QQuickWindow +{ +public: + PythonQtShell_QQuickWindow(QQuickRenderControl* renderControl):QQuickWindow(renderControl),_wrapper(nullptr) {}; + PythonQtShell_QQuickWindow(QWindow* parent = nullptr):QQuickWindow(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QQuickWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void resizeEvent(QResizeEvent* arg__1) override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QQuickWindow : public QQuickWindow +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline void promoted_exposeEvent(QExposeEvent* arg__1) { this->exposeEvent(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_tabletEvent(QTabletEvent* arg__1) { this->tabletEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QQuickWindow::event(arg__1); } +inline void py_q_exposeEvent(QExposeEvent* arg__1) { QQuickWindow::exposeEvent(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QQuickWindow::focusInEvent(arg__1); } +inline QObject* py_q_focusObject() const { return QQuickWindow::focusObject(); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QQuickWindow::focusOutEvent(arg__1); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QQuickWindow::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QQuickWindow::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QQuickWindow::keyReleaseEvent(arg__1); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QQuickWindow::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QQuickWindow::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QQuickWindow::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QQuickWindow::mouseReleaseEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QQuickWindow::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QQuickWindow::showEvent(arg__1); } +inline void py_q_tabletEvent(QTabletEvent* arg__1) { QQuickWindow::tabletEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QQuickWindow::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QQuickWindow : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CreateTextureOption RenderStage ) +enum CreateTextureOption{ + TextureHasAlphaChannel = QQuickWindow::TextureHasAlphaChannel, TextureHasMipmaps = QQuickWindow::TextureHasMipmaps, TextureOwnsGLTexture = QQuickWindow::TextureOwnsGLTexture, TextureCanUseAtlas = QQuickWindow::TextureCanUseAtlas, TextureIsOpaque = QQuickWindow::TextureIsOpaque}; +enum RenderStage{ + BeforeSynchronizingStage = QQuickWindow::BeforeSynchronizingStage, AfterSynchronizingStage = QQuickWindow::AfterSynchronizingStage, BeforeRenderingStage = QQuickWindow::BeforeRenderingStage, AfterRenderingStage = QQuickWindow::AfterRenderingStage, AfterSwapStage = QQuickWindow::AfterSwapStage, NoStage = QQuickWindow::NoStage}; +public slots: +QQuickWindow* new_QQuickWindow(QQuickRenderControl* renderControl); +QQuickWindow* new_QQuickWindow(QWindow* parent = nullptr); +void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } + QQuickItem* activeFocusItem(QQuickWindow* theWrappedObject) const; + void beginExternalCommands(QQuickWindow* theWrappedObject); + bool clearBeforeRendering(QQuickWindow* theWrappedObject) const; + QColor color(QQuickWindow* theWrappedObject) const; + QQuickItem* contentItem(QQuickWindow* theWrappedObject) const; + QSGImageNode* createImageNode(QQuickWindow* theWrappedObject) const; + QSGNinePatchNode* createNinePatchNode(QQuickWindow* theWrappedObject) const; + QSGRectangleNode* createRectangleNode(QQuickWindow* theWrappedObject) const; + QSGTexture* createTextureFromImage(QQuickWindow* theWrappedObject, const QImage& image) const; + qreal effectiveDevicePixelRatio(QQuickWindow* theWrappedObject) const; + void endExternalCommands(QQuickWindow* theWrappedObject); + bool py_q_event(QQuickWindow* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_event(arg__1));} + void py_q_exposeEvent(QQuickWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} + void py_q_focusInEvent(QQuickWindow* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_focusInEvent(arg__1));} + QObject* py_q_focusObject(QQuickWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_focusObject());} + void py_q_focusOutEvent(QQuickWindow* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + QImage grabWindow(QQuickWindow* theWrappedObject); + bool static_QQuickWindow_hasDefaultAlphaBuffer(); + void py_q_hideEvent(QQuickWindow* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_hideEvent(arg__1));} + QQmlIncubationController* incubationController(QQuickWindow* theWrappedObject) const; + bool isPersistentOpenGLContext(QQuickWindow* theWrappedObject) const; + bool isPersistentSceneGraph(QQuickWindow* theWrappedObject) const; + bool isSceneGraphInitialized(QQuickWindow* theWrappedObject) const; + void py_q_keyPressEvent(QQuickWindow* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QQuickWindow* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void py_q_mouseDoubleClickEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + QQuickItem* mouseGrabberItem(QQuickWindow* theWrappedObject) const; + void py_q_mouseMoveEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + QOpenGLContext* openglContext(QQuickWindow* theWrappedObject) const; + QOpenGLFramebufferObject* renderTarget(QQuickWindow* theWrappedObject) const; + uint renderTargetId(QQuickWindow* theWrappedObject) const; + QSize renderTargetSize(QQuickWindow* theWrappedObject) const; + void resetOpenGLState(QQuickWindow* theWrappedObject); + void py_q_resizeEvent(QQuickWindow* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QString static_QQuickWindow_sceneGraphBackend(); + void scheduleRenderJob(QQuickWindow* theWrappedObject, QRunnable* job, QQuickWindow::RenderStage schedule); + bool sendEvent(QQuickWindow* theWrappedObject, QQuickItem* arg__1, QEvent* arg__2); + void setClearBeforeRendering(QQuickWindow* theWrappedObject, bool enabled); + void setColor(QQuickWindow* theWrappedObject, const QColor& color); + void static_QQuickWindow_setDefaultAlphaBuffer(bool useAlpha); + void setPersistentOpenGLContext(QQuickWindow* theWrappedObject, bool persistent); + void setPersistentSceneGraph(QQuickWindow* theWrappedObject, bool persistent); + void setRenderTarget(QQuickWindow* theWrappedObject, QOpenGLFramebufferObject* fbo); + void setRenderTarget(QQuickWindow* theWrappedObject, uint fboId, const QSize& size); + void static_QQuickWindow_setSceneGraphBackend(const QString& backend); + void static_QQuickWindow_setTextRenderType(QQuickWindow::TextRenderType renderType); + void py_q_showEvent(QQuickWindow* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_showEvent(arg__1));} + void py_q_tabletEvent(QQuickWindow* theWrappedObject, QTabletEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_tabletEvent(arg__1));} + QQuickWindow::TextRenderType static_QQuickWindow_textRenderType(); + void py_q_wheelEvent(QQuickWindow* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_wheelEvent(arg__1));} + QString py_toString(QQuickWindow*); +}; + + + + + +class PythonQtShell_QSGAbstractRenderer : public QSGAbstractRenderer +{ +public: + PythonQtShell_QSGAbstractRenderer(QObject* parent = nullptr):QSGAbstractRenderer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGAbstractRenderer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void nodeChanged(QSGNode* node, QSGNode::DirtyState state) override; +void renderScene(uint fboId = 0) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGAbstractRenderer : public QSGAbstractRenderer +{ public: +inline void promoted_nodeChanged(QSGNode* node, QSGNode::DirtyState state) { this->nodeChanged(node, state); } +inline void py_q_nodeChanged(QSGNode* node, QSGNode::DirtyState state) { this->nodeChanged(node, state); } +inline void py_q_renderScene(uint fboId = 0) { this->renderScene(fboId); } +}; + +class PythonQtWrapper_QSGAbstractRenderer : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ClearModeBit ) +enum ClearModeBit{ + ClearColorBuffer = QSGAbstractRenderer::ClearColorBuffer, ClearDepthBuffer = QSGAbstractRenderer::ClearDepthBuffer, ClearStencilBuffer = QSGAbstractRenderer::ClearStencilBuffer}; +public slots: +QSGAbstractRenderer* new_QSGAbstractRenderer(QObject* parent = nullptr); +void delete_QSGAbstractRenderer(QSGAbstractRenderer* obj) { delete obj; } + QColor clearColor(QSGAbstractRenderer* theWrappedObject) const; + QRect deviceRect(QSGAbstractRenderer* theWrappedObject) const; + void nodeChanged(QSGAbstractRenderer* theWrappedObject, QSGNode* node, QSGNode::DirtyState state); + void py_q_nodeChanged(QSGAbstractRenderer* theWrappedObject, QSGNode* node, QSGNode::DirtyState state){ (((PythonQtPublicPromoter_QSGAbstractRenderer*)theWrappedObject)->py_q_nodeChanged(node, state));} + QMatrix4x4 projectionMatrix(QSGAbstractRenderer* theWrappedObject) const; + QMatrix4x4 projectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject) const; + void renderScene(QSGAbstractRenderer* theWrappedObject, uint fboId = 0); + void py_q_renderScene(QSGAbstractRenderer* theWrappedObject, uint fboId = 0){ (((PythonQtPublicPromoter_QSGAbstractRenderer*)theWrappedObject)->py_q_renderScene(fboId));} + QSGRootNode* rootNode(QSGAbstractRenderer* theWrappedObject) const; + void setClearColor(QSGAbstractRenderer* theWrappedObject, const QColor& color); + void setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect); + void setDeviceRect(QSGAbstractRenderer* theWrappedObject, const QSize& size); + void setProjectionMatrix(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix); + void setProjectionMatrixToRect(QSGAbstractRenderer* theWrappedObject, const QRectF& rect); + void setProjectionMatrixWithNativeNDC(QSGAbstractRenderer* theWrappedObject, const QMatrix4x4& matrix); + void setRootNode(QSGAbstractRenderer* theWrappedObject, QSGRootNode* node); + void setViewportRect(QSGAbstractRenderer* theWrappedObject, const QRect& rect); + void setViewportRect(QSGAbstractRenderer* theWrappedObject, const QSize& size); + QRect viewportRect(QSGAbstractRenderer* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSGBasicGeometryNode : public QSGBasicGeometryNode +{ +public: + PythonQtShell_QSGBasicGeometryNode(QSGNode::NodeType type):QSGBasicGeometryNode(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGBasicGeometryNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGBasicGeometryNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGBasicGeometryNode* new_QSGBasicGeometryNode(QSGNode::NodeType type); +void delete_QSGBasicGeometryNode(QSGBasicGeometryNode* obj) { delete obj; } + const QSGClipNode* clipList(QSGBasicGeometryNode* theWrappedObject) const; + QSGGeometry* geometry(QSGBasicGeometryNode* theWrappedObject); + const QSGGeometry* geometry(QSGBasicGeometryNode* theWrappedObject) const; + const QMatrix4x4* matrix(QSGBasicGeometryNode* theWrappedObject) const; + void setGeometry(QSGBasicGeometryNode* theWrappedObject, QSGGeometry* geometry); + void setRendererClipList(QSGBasicGeometryNode* theWrappedObject, const QSGClipNode* c); + void setRendererMatrix(QSGBasicGeometryNode* theWrappedObject, const QMatrix4x4* m); +}; + + + + + +class PythonQtShell_QSGClipNode : public QSGClipNode +{ +public: + PythonQtShell_QSGClipNode():QSGClipNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGClipNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGClipNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGClipNode* new_QSGClipNode(); +void delete_QSGClipNode(QSGClipNode* obj) { delete obj; } + QRectF clipRect(QSGClipNode* theWrappedObject) const; + bool isRectangular(QSGClipNode* theWrappedObject) const; + void setClipRect(QSGClipNode* theWrappedObject, const QRectF& arg__1); + void setIsRectangular(QSGClipNode* theWrappedObject, bool rectHint); +}; + + + + + +class PythonQtShell_QSGDynamicTexture : public QSGDynamicTexture +{ +public: + PythonQtShell_QSGDynamicTexture():QSGDynamicTexture(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGDynamicTexture() override; + +void bind() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasAlphaChannel() const override; +bool hasMipmaps() const override; +bool isAtlasTexture() const override; +QRectF normalizedTextureSubRect() const override; +QSGTexture* removedFromAtlas() const override; +int textureId() const override; +QSize textureSize() const override; +void timerEvent(QTimerEvent* event) override; +bool updateTexture() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGDynamicTexture : public QSGDynamicTexture +{ public: +inline bool py_q_updateTexture() { return this->updateTexture(); } +}; + +class PythonQtWrapper_QSGDynamicTexture : public QObject +{ Q_OBJECT +public: +public slots: +QSGDynamicTexture* new_QSGDynamicTexture(); +void delete_QSGDynamicTexture(QSGDynamicTexture* obj) { delete obj; } + bool updateTexture(QSGDynamicTexture* theWrappedObject); + bool py_q_updateTexture(QSGDynamicTexture* theWrappedObject){ return (((PythonQtPublicPromoter_QSGDynamicTexture*)theWrappedObject)->py_q_updateTexture());} +}; + + + + + +class PythonQtShell_QSGEngine : public QSGEngine +{ +public: + PythonQtShell_QSGEngine(QObject* parent = nullptr):QSGEngine(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGEngine() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CreateTextureOption ) +enum CreateTextureOption{ + TextureHasAlphaChannel = QSGEngine::TextureHasAlphaChannel, TextureOwnsGLTexture = QSGEngine::TextureOwnsGLTexture, TextureCanUseAtlas = QSGEngine::TextureCanUseAtlas, TextureIsOpaque = QSGEngine::TextureIsOpaque}; +public slots: +QSGEngine* new_QSGEngine(QObject* parent = nullptr); +void delete_QSGEngine(QSGEngine* obj) { delete obj; } + QSGImageNode* createImageNode(QSGEngine* theWrappedObject) const; + QSGNinePatchNode* createNinePatchNode(QSGEngine* theWrappedObject) const; + QSGRectangleNode* createRectangleNode(QSGEngine* theWrappedObject) const; + QSGAbstractRenderer* createRenderer(QSGEngine* theWrappedObject) const; + void initialize(QSGEngine* theWrappedObject, QOpenGLContext* context); + void invalidate(QSGEngine* theWrappedObject); +}; + + + + + +class PythonQtShell_QSGFlatColorMaterial : public QSGFlatColorMaterial +{ +public: + PythonQtShell_QSGFlatColorMaterial():QSGFlatColorMaterial(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGFlatColorMaterial(); + +QSGMaterialType* type() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGFlatColorMaterial : public QSGFlatColorMaterial +{ public: +inline QSGMaterialType* py_q_type() const { return QSGFlatColorMaterial::type(); } +}; + +class PythonQtWrapper_QSGFlatColorMaterial : public QObject +{ Q_OBJECT +public: +public slots: +QSGFlatColorMaterial* new_QSGFlatColorMaterial(); +void delete_QSGFlatColorMaterial(QSGFlatColorMaterial* obj) { delete obj; } + const QColor* color(QSGFlatColorMaterial* theWrappedObject) const; + void setColor(QSGFlatColorMaterial* theWrappedObject, const QColor& color); + QSGMaterialType* type(QSGFlatColorMaterial* theWrappedObject) const; + QSGMaterialType* py_q_type(QSGFlatColorMaterial* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGFlatColorMaterial*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QSGGeometry : public QSGGeometry +{ +public: + PythonQtShell_QSGGeometry(const QSGGeometry::AttributeSet& attribs, int vertexCount, int indexCount = 0, int indexType = UnsignedShortType):QSGGeometry(attribs, vertexCount, indexCount, indexType),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AttributeType DataPattern DrawingMode Type ) +enum AttributeType{ + UnknownAttribute = QSGGeometry::UnknownAttribute, PositionAttribute = QSGGeometry::PositionAttribute, ColorAttribute = QSGGeometry::ColorAttribute, TexCoordAttribute = QSGGeometry::TexCoordAttribute, TexCoord1Attribute = QSGGeometry::TexCoord1Attribute, TexCoord2Attribute = QSGGeometry::TexCoord2Attribute}; +enum DataPattern{ + AlwaysUploadPattern = QSGGeometry::AlwaysUploadPattern, StreamPattern = QSGGeometry::StreamPattern, DynamicPattern = QSGGeometry::DynamicPattern, StaticPattern = QSGGeometry::StaticPattern}; +enum DrawingMode{ + DrawPoints = QSGGeometry::DrawPoints, DrawLines = QSGGeometry::DrawLines, DrawLineLoop = QSGGeometry::DrawLineLoop, DrawLineStrip = QSGGeometry::DrawLineStrip, DrawTriangles = QSGGeometry::DrawTriangles, DrawTriangleStrip = QSGGeometry::DrawTriangleStrip, DrawTriangleFan = QSGGeometry::DrawTriangleFan}; +enum Type{ + ByteType = QSGGeometry::ByteType, UnsignedByteType = QSGGeometry::UnsignedByteType, ShortType = QSGGeometry::ShortType, UnsignedShortType = QSGGeometry::UnsignedShortType, IntType = QSGGeometry::IntType, UnsignedIntType = QSGGeometry::UnsignedIntType, FloatType = QSGGeometry::FloatType, Bytes2Type = QSGGeometry::Bytes2Type, Bytes3Type = QSGGeometry::Bytes3Type, Bytes4Type = QSGGeometry::Bytes4Type, DoubleType = QSGGeometry::DoubleType}; +public slots: +QSGGeometry* new_QSGGeometry(const QSGGeometry::AttributeSet& attribs, int vertexCount, int indexCount = 0, int indexType = UnsignedShortType); +void delete_QSGGeometry(QSGGeometry* obj) { delete obj; } + void allocate(QSGGeometry* theWrappedObject, int vertexCount, int indexCount = 0); + int attributeCount(QSGGeometry* theWrappedObject) const; + const QSGGeometry::Attribute* attributes(QSGGeometry* theWrappedObject) const; + const QSGGeometry::AttributeSet* static_QSGGeometry_defaultAttributes_ColoredPoint2D(); + const QSGGeometry::AttributeSet* static_QSGGeometry_defaultAttributes_Point2D(); + const QSGGeometry::AttributeSet* static_QSGGeometry_defaultAttributes_TexturedPoint2D(); + unsigned int drawingMode(QSGGeometry* theWrappedObject) const; + int indexCount(QSGGeometry* theWrappedObject) const; + void* indexData(QSGGeometry* theWrappedObject); + const void* indexData(QSGGeometry* theWrappedObject) const; + uint* indexDataAsUInt(QSGGeometry* theWrappedObject); + const uint* indexDataAsUInt(QSGGeometry* theWrappedObject) const; + unsigned short* indexDataAsUShort(QSGGeometry* theWrappedObject); + const unsigned short* indexDataAsUShort(QSGGeometry* theWrappedObject) const; + QSGGeometry::DataPattern indexDataPattern(QSGGeometry* theWrappedObject) const; + int indexType(QSGGeometry* theWrappedObject) const; + float lineWidth(QSGGeometry* theWrappedObject) const; + void markIndexDataDirty(QSGGeometry* theWrappedObject); + void markVertexDataDirty(QSGGeometry* theWrappedObject); + void setDrawingMode(QSGGeometry* theWrappedObject, unsigned int mode); + void setIndexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p); + void setLineWidth(QSGGeometry* theWrappedObject, float w); + void setVertexDataPattern(QSGGeometry* theWrappedObject, QSGGeometry::DataPattern p); + int sizeOfIndex(QSGGeometry* theWrappedObject) const; + int sizeOfVertex(QSGGeometry* theWrappedObject) const; + void static_QSGGeometry_updateColoredRectGeometry(QSGGeometry* g, const QRectF& rect); + void static_QSGGeometry_updateRectGeometry(QSGGeometry* g, const QRectF& rect); + void static_QSGGeometry_updateTexturedRectGeometry(QSGGeometry* g, const QRectF& rect, const QRectF& sourceRect); + int vertexCount(QSGGeometry* theWrappedObject) const; + void* vertexData(QSGGeometry* theWrappedObject); + const void* vertexData(QSGGeometry* theWrappedObject) const; + QSGGeometry::ColoredPoint2D* vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject); + const QSGGeometry::ColoredPoint2D* vertexDataAsColoredPoint2D(QSGGeometry* theWrappedObject) const; + QSGGeometry::Point2D* vertexDataAsPoint2D(QSGGeometry* theWrappedObject); + const QSGGeometry::Point2D* vertexDataAsPoint2D(QSGGeometry* theWrappedObject) const; + QSGGeometry::TexturedPoint2D* vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject); + const QSGGeometry::TexturedPoint2D* vertexDataAsTexturedPoint2D(QSGGeometry* theWrappedObject) const; + QSGGeometry::DataPattern vertexDataPattern(QSGGeometry* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSGGeometryNode : public QSGGeometryNode +{ +public: + PythonQtShell_QSGGeometryNode():QSGGeometryNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometryNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometryNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometryNode* new_QSGGeometryNode(); +void delete_QSGGeometryNode(QSGGeometryNode* obj) { delete obj; } + qreal inheritedOpacity(QSGGeometryNode* theWrappedObject) const; + int renderOrder(QSGGeometryNode* theWrappedObject) const; + void setInheritedOpacity(QSGGeometryNode* theWrappedObject, qreal opacity); + void setRenderOrder(QSGGeometryNode* theWrappedObject, int order); + QString py_toString(QSGGeometryNode*); +}; + + + + + +class PythonQtShell_QSGGeometry__Attribute : public QSGGeometry::Attribute +{ +public: + PythonQtShell_QSGGeometry__Attribute():QSGGeometry::Attribute(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__Attribute(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__Attribute : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::Attribute* new_QSGGeometry__Attribute(); +void delete_QSGGeometry__Attribute(QSGGeometry::Attribute* obj) { delete obj; } + QSGGeometry::Attribute static_QSGGeometry__Attribute_create(int pos, int tupleSize, int primitiveType, bool isPosition = false); + QSGGeometry::Attribute static_QSGGeometry__Attribute_createWithAttributeType(int pos, int tupleSize, int primitiveType, QSGGeometry::AttributeType attributeType); +void py_set_attributeType(QSGGeometry::Attribute* theWrappedObject, QSGGeometry::AttributeType attributeType){ theWrappedObject->attributeType = attributeType; } +QSGGeometry::AttributeType py_get_attributeType(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->attributeType; } +void py_set_isVertexCoordinate(QSGGeometry::Attribute* theWrappedObject, uint isVertexCoordinate){ theWrappedObject->isVertexCoordinate = isVertexCoordinate; } +uint py_get_isVertexCoordinate(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->isVertexCoordinate; } +void py_set_position(QSGGeometry::Attribute* theWrappedObject, int position){ theWrappedObject->position = position; } +int py_get_position(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->position; } +void py_set_reserved(QSGGeometry::Attribute* theWrappedObject, uint reserved){ theWrappedObject->reserved = reserved; } +uint py_get_reserved(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->reserved; } +void py_set_tupleSize(QSGGeometry::Attribute* theWrappedObject, int tupleSize){ theWrappedObject->tupleSize = tupleSize; } +int py_get_tupleSize(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->tupleSize; } +void py_set_type(QSGGeometry::Attribute* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QSGGeometry::Attribute* theWrappedObject){ return theWrappedObject->type; } +}; + + + + + +class PythonQtShell_QSGGeometry__AttributeSet : public QSGGeometry::AttributeSet +{ +public: + PythonQtShell_QSGGeometry__AttributeSet():QSGGeometry::AttributeSet(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__AttributeSet(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__AttributeSet : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::AttributeSet* new_QSGGeometry__AttributeSet(); +void delete_QSGGeometry__AttributeSet(QSGGeometry::AttributeSet* obj) { delete obj; } +const QSGGeometry::Attribute* py_get_attributes(QSGGeometry::AttributeSet* theWrappedObject){ return theWrappedObject->attributes; } +void py_set_count(QSGGeometry::AttributeSet* theWrappedObject, int count){ theWrappedObject->count = count; } +int py_get_count(QSGGeometry::AttributeSet* theWrappedObject){ return theWrappedObject->count; } +void py_set_stride(QSGGeometry::AttributeSet* theWrappedObject, int stride){ theWrappedObject->stride = stride; } +int py_get_stride(QSGGeometry::AttributeSet* theWrappedObject){ return theWrappedObject->stride; } +}; + + + + + +class PythonQtShell_QSGGeometry__ColoredPoint2D : public QSGGeometry::ColoredPoint2D +{ +public: + PythonQtShell_QSGGeometry__ColoredPoint2D():QSGGeometry::ColoredPoint2D(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__ColoredPoint2D(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__ColoredPoint2D : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::ColoredPoint2D* new_QSGGeometry__ColoredPoint2D(); +void delete_QSGGeometry__ColoredPoint2D(QSGGeometry::ColoredPoint2D* obj) { delete obj; } + void set(QSGGeometry::ColoredPoint2D* theWrappedObject, float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na); +void py_set_a(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char a){ theWrappedObject->a = a; } +unsigned char py_get_a(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->a; } +void py_set_b(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char b){ theWrappedObject->b = b; } +unsigned char py_get_b(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->b; } +void py_set_g(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char g){ theWrappedObject->g = g; } +unsigned char py_get_g(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->g; } +void py_set_r(QSGGeometry::ColoredPoint2D* theWrappedObject, unsigned char r){ theWrappedObject->r = r; } +unsigned char py_get_r(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->r; } +void py_set_x(QSGGeometry::ColoredPoint2D* theWrappedObject, float x){ theWrappedObject->x = x; } +float py_get_x(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QSGGeometry::ColoredPoint2D* theWrappedObject, float y){ theWrappedObject->y = y; } +float py_get_y(QSGGeometry::ColoredPoint2D* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QSGGeometry__Point2D : public QSGGeometry::Point2D +{ +public: + PythonQtShell_QSGGeometry__Point2D():QSGGeometry::Point2D(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__Point2D(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__Point2D : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::Point2D* new_QSGGeometry__Point2D(); +void delete_QSGGeometry__Point2D(QSGGeometry::Point2D* obj) { delete obj; } + void set(QSGGeometry::Point2D* theWrappedObject, float nx, float ny); +void py_set_x(QSGGeometry::Point2D* theWrappedObject, float x){ theWrappedObject->x = x; } +float py_get_x(QSGGeometry::Point2D* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QSGGeometry::Point2D* theWrappedObject, float y){ theWrappedObject->y = y; } +float py_get_y(QSGGeometry::Point2D* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtShell_QSGGeometry__TexturedPoint2D : public QSGGeometry::TexturedPoint2D +{ +public: + PythonQtShell_QSGGeometry__TexturedPoint2D():QSGGeometry::TexturedPoint2D(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGGeometry__TexturedPoint2D(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGGeometry__TexturedPoint2D : public QObject +{ Q_OBJECT +public: +public slots: +QSGGeometry::TexturedPoint2D* new_QSGGeometry__TexturedPoint2D(); +void delete_QSGGeometry__TexturedPoint2D(QSGGeometry::TexturedPoint2D* obj) { delete obj; } + void set(QSGGeometry::TexturedPoint2D* theWrappedObject, float nx, float ny, float ntx, float nty); +void py_set_tx(QSGGeometry::TexturedPoint2D* theWrappedObject, float tx){ theWrappedObject->tx = tx; } +float py_get_tx(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->tx; } +void py_set_ty(QSGGeometry::TexturedPoint2D* theWrappedObject, float ty){ theWrappedObject->ty = ty; } +float py_get_ty(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->ty; } +void py_set_x(QSGGeometry::TexturedPoint2D* theWrappedObject, float x){ theWrappedObject->x = x; } +float py_get_x(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QSGGeometry::TexturedPoint2D* theWrappedObject, float y){ theWrappedObject->y = y; } +float py_get_y(QSGGeometry::TexturedPoint2D* theWrappedObject){ return theWrappedObject->y; } +}; + + + + + +class PythonQtPublicPromoter_QSGImageNode : public QSGImageNode +{ public: +inline QSGTexture::Filtering py_q_filtering() const { return this->filtering(); } +inline QSGTexture::Filtering py_q_mipmapFiltering() const { return this->mipmapFiltering(); } +inline bool py_q_ownsTexture() const { return this->ownsTexture(); } +inline QRectF py_q_rect() const { return this->rect(); } +inline void py_q_setFiltering(QSGTexture::Filtering filtering) { this->setFiltering(filtering); } +inline void py_q_setMipmapFiltering(QSGTexture::Filtering filtering) { this->setMipmapFiltering(filtering); } +inline void py_q_setOwnsTexture(bool owns) { this->setOwnsTexture(owns); } +inline void py_q_setRect(const QRectF& rect) { this->setRect(rect); } +inline void py_q_setSourceRect(const QRectF& r) { this->setSourceRect(r); } +inline void py_q_setTexture(QSGTexture* texture) { this->setTexture(texture); } +inline QRectF py_q_sourceRect() const { return this->sourceRect(); } +inline QSGTexture* py_q_texture() const { return this->texture(); } +}; + +class PythonQtWrapper_QSGImageNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(TextureCoordinatesTransformFlag ) +enum TextureCoordinatesTransformFlag{ + NoTransform = QSGImageNode::NoTransform, MirrorHorizontally = QSGImageNode::MirrorHorizontally, MirrorVertically = QSGImageNode::MirrorVertically}; +public slots: +void delete_QSGImageNode(QSGImageNode* obj) { delete obj; } + QSGTexture::Filtering filtering(QSGImageNode* theWrappedObject) const; + QSGTexture::Filtering py_q_filtering(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_filtering());} + QSGTexture::Filtering mipmapFiltering(QSGImageNode* theWrappedObject) const; + QSGTexture::Filtering py_q_mipmapFiltering(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_mipmapFiltering());} + bool ownsTexture(QSGImageNode* theWrappedObject) const; + bool py_q_ownsTexture(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_ownsTexture());} + QRectF rect(QSGImageNode* theWrappedObject) const; + QRectF py_q_rect(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_rect());} + void setFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering); + void py_q_setFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setFiltering(filtering));} + void setMipmapFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering); + void py_q_setMipmapFiltering(QSGImageNode* theWrappedObject, QSGTexture::Filtering filtering){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setMipmapFiltering(filtering));} + void setOwnsTexture(QSGImageNode* theWrappedObject, bool owns); + void py_q_setOwnsTexture(QSGImageNode* theWrappedObject, bool owns){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setOwnsTexture(owns));} + void setRect(QSGImageNode* theWrappedObject, const QRectF& rect); + void py_q_setRect(QSGImageNode* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setRect(rect));} + void setRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setSourceRect(QSGImageNode* theWrappedObject, const QRectF& r); + void py_q_setSourceRect(QSGImageNode* theWrappedObject, const QRectF& r){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setSourceRect(r));} + void setSourceRect(QSGImageNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void setTexture(QSGImageNode* theWrappedObject, QSGTexture* texture); + void py_q_setTexture(QSGImageNode* theWrappedObject, QSGTexture* texture){ (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_setTexture(texture));} + QRectF sourceRect(QSGImageNode* theWrappedObject) const; + QRectF py_q_sourceRect(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_sourceRect());} + QSGTexture* texture(QSGImageNode* theWrappedObject) const; + QSGTexture* py_q_texture(QSGImageNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGImageNode*)theWrappedObject)->py_q_texture());} +}; + + + + + +class PythonQtShell_QSGMaterialType : public QSGMaterialType +{ +public: + PythonQtShell_QSGMaterialType():QSGMaterialType(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGMaterialType(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGMaterialType : public QObject +{ Q_OBJECT +public: +public slots: +QSGMaterialType* new_QSGMaterialType(); +void delete_QSGMaterialType(QSGMaterialType* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QSGNinePatchNode : public QSGNinePatchNode +{ +public: + PythonQtShell_QSGNinePatchNode():QSGNinePatchNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGNinePatchNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; +void setBounds(const QRectF& bounds) override; +void setDevicePixelRatio(qreal ratio) override; +void setPadding(qreal left, qreal top, qreal right, qreal bottom) override; +void setTexture(QSGTexture* texture) override; +void update() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGNinePatchNode : public QSGNinePatchNode +{ public: +inline void py_q_setBounds(const QRectF& bounds) { this->setBounds(bounds); } +inline void py_q_setDevicePixelRatio(qreal ratio) { this->setDevicePixelRatio(ratio); } +inline void py_q_setPadding(qreal left, qreal top, qreal right, qreal bottom) { this->setPadding(left, top, right, bottom); } +inline void py_q_setTexture(QSGTexture* texture) { this->setTexture(texture); } +inline void py_q_update() { this->update(); } +}; + +class PythonQtWrapper_QSGNinePatchNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGNinePatchNode* new_QSGNinePatchNode(); +void delete_QSGNinePatchNode(QSGNinePatchNode* obj) { delete obj; } + void static_QSGNinePatchNode_rebuildGeometry(QSGTexture* texture, QSGGeometry* geometry, const QVector4D& padding, const QRectF& bounds, qreal dpr); + void setBounds(QSGNinePatchNode* theWrappedObject, const QRectF& bounds); + void py_q_setBounds(QSGNinePatchNode* theWrappedObject, const QRectF& bounds){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setBounds(bounds));} + void setDevicePixelRatio(QSGNinePatchNode* theWrappedObject, qreal ratio); + void py_q_setDevicePixelRatio(QSGNinePatchNode* theWrappedObject, qreal ratio){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setDevicePixelRatio(ratio));} + void setPadding(QSGNinePatchNode* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); + void py_q_setPadding(QSGNinePatchNode* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setPadding(left, top, right, bottom));} + void setTexture(QSGNinePatchNode* theWrappedObject, QSGTexture* texture); + void py_q_setTexture(QSGNinePatchNode* theWrappedObject, QSGTexture* texture){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_setTexture(texture));} + void update(QSGNinePatchNode* theWrappedObject); + void py_q_update(QSGNinePatchNode* theWrappedObject){ (((PythonQtPublicPromoter_QSGNinePatchNode*)theWrappedObject)->py_q_update());} +}; + + + + + +class PythonQtShell_QSGNode : public QSGNode +{ +public: + PythonQtShell_QSGNode():QSGNode(),_wrapper(nullptr) {}; + PythonQtShell_QSGNode(QSGNode::NodeType type):QSGNode(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGNode : public QSGNode +{ public: +inline bool py_q_isSubtreeBlocked() const { return QSGNode::isSubtreeBlocked(); } +inline void py_q_preprocess() { QSGNode::preprocess(); } +}; + +class PythonQtWrapper_QSGNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DirtyStateBit Flag NodeType ) +enum DirtyStateBit{ + DirtySubtreeBlocked = QSGNode::DirtySubtreeBlocked, DirtyMatrix = QSGNode::DirtyMatrix, DirtyNodeAdded = QSGNode::DirtyNodeAdded, DirtyNodeRemoved = QSGNode::DirtyNodeRemoved, DirtyGeometry = QSGNode::DirtyGeometry, DirtyMaterial = QSGNode::DirtyMaterial, DirtyOpacity = QSGNode::DirtyOpacity, DirtyForceUpdate = QSGNode::DirtyForceUpdate, DirtyUsePreprocess = QSGNode::DirtyUsePreprocess, DirtyPropagationMask = QSGNode::DirtyPropagationMask}; +enum Flag{ + OwnedByParent = QSGNode::OwnedByParent, UsePreprocess = QSGNode::UsePreprocess, OwnsGeometry = QSGNode::OwnsGeometry, OwnsMaterial = QSGNode::OwnsMaterial, OwnsOpaqueMaterial = QSGNode::OwnsOpaqueMaterial, IsVisitableNode = QSGNode::IsVisitableNode}; +enum NodeType{ + BasicNodeType = QSGNode::BasicNodeType, GeometryNodeType = QSGNode::GeometryNodeType, TransformNodeType = QSGNode::TransformNodeType, ClipNodeType = QSGNode::ClipNodeType, OpacityNodeType = QSGNode::OpacityNodeType, RootNodeType = QSGNode::RootNodeType, RenderNodeType = QSGNode::RenderNodeType}; +public slots: +QSGNode* new_QSGNode(); +QSGNode* new_QSGNode(QSGNode::NodeType type); +void delete_QSGNode(QSGNode* obj) { delete obj; } + void appendChildNode(QSGNode* theWrappedObject, QSGNode* node); + QSGNode* childAtIndex(QSGNode* theWrappedObject, int i) const; + int childCount(QSGNode* theWrappedObject) const; + void clearDirty(QSGNode* theWrappedObject); + QSGNode::DirtyState dirtyState(QSGNode* theWrappedObject) const; + QSGNode* firstChild(QSGNode* theWrappedObject) const; + void insertChildNodeAfter(QSGNode* theWrappedObject, QSGNode* node, QSGNode* after); + void insertChildNodeBefore(QSGNode* theWrappedObject, QSGNode* node, QSGNode* before); + bool isSubtreeBlocked(QSGNode* theWrappedObject) const; + bool py_q_isSubtreeBlocked(QSGNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGNode*)theWrappedObject)->py_q_isSubtreeBlocked());} + QSGNode* lastChild(QSGNode* theWrappedObject) const; + void markDirty(QSGNode* theWrappedObject, QSGNode::DirtyState bits); + QSGNode* nextSibling(QSGNode* theWrappedObject) const; + QSGNode* parent(QSGNode* theWrappedObject) const; + void prependChildNode(QSGNode* theWrappedObject, QSGNode* node); + void preprocess(QSGNode* theWrappedObject); + void py_q_preprocess(QSGNode* theWrappedObject){ (((PythonQtPublicPromoter_QSGNode*)theWrappedObject)->py_q_preprocess());} + QSGNode* previousSibling(QSGNode* theWrappedObject) const; + void removeAllChildNodes(QSGNode* theWrappedObject); + void removeChildNode(QSGNode* theWrappedObject, QSGNode* node); + void reparentChildNodesTo(QSGNode* theWrappedObject, QSGNode* newParent); + void setFlag(QSGNode* theWrappedObject, QSGNode::Flag arg__1, bool arg__2 = true); + QSGNode::NodeType type(QSGNode* theWrappedObject) const; + QString py_toString(QSGNode*); +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp new file mode 100644 index 00000000..6a9992d6 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp @@ -0,0 +1,1959 @@ +#include "com_trolltech_qt_quick1.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QSGNodeVisitor::~PythonQtShell_QSGNodeVisitor() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGNodeVisitor::enterClipNode(QSGClipNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterClipNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGClipNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterClipNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::enterGeometryNode(QSGGeometryNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterGeometryNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGGeometryNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterGeometryNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::enterOpacityNode(QSGOpacityNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterOpacityNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGOpacityNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterOpacityNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::enterTransformNode(QSGTransformNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("enterTransformNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGTransformNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::enterTransformNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveClipNode(QSGClipNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveClipNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGClipNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveClipNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveGeometryNode(QSGGeometryNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveGeometryNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGGeometryNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveGeometryNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveOpacityNode(QSGOpacityNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveOpacityNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGOpacityNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveOpacityNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::leaveTransformNode(QSGTransformNode* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("leaveTransformNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGTransformNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::leaveTransformNode(arg__1); +} +void PythonQtShell_QSGNodeVisitor::visitChildren(QSGNode* n0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visitChildren"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::visitChildren(n0); +} +void PythonQtShell_QSGNodeVisitor::visitNode(QSGNode* n0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("visitNode"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QSGNode*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGNodeVisitor::visitNode(n0); +} +QSGNodeVisitor* PythonQtWrapper_QSGNodeVisitor::new_QSGNodeVisitor() +{ +return new PythonQtShell_QSGNodeVisitor(); } + +void PythonQtWrapper_QSGNodeVisitor::enterClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterClipNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::enterGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterGeometryNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::enterOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterOpacityNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::enterTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_enterTransformNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveClipNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveGeometryNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveOpacityNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::leaveTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_leaveTransformNode(arg__1)); +} + +void PythonQtWrapper_QSGNodeVisitor::visitChildren(QSGNodeVisitor* theWrappedObject, QSGNode* n) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_visitChildren(n)); +} + +void PythonQtWrapper_QSGNodeVisitor::visitNode(QSGNodeVisitor* theWrappedObject, QSGNode* n) +{ + ( ((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->promoted_visitNode(n)); +} + + + +PythonQtShell_QSGOpacityNode::~PythonQtShell_QSGOpacityNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGOpacityNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGOpacityNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGOpacityNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGOpacityNode::preprocess(); +} +QSGOpacityNode* PythonQtWrapper_QSGOpacityNode::new_QSGOpacityNode() +{ +return new PythonQtShell_QSGOpacityNode(); } + +qreal PythonQtWrapper_QSGOpacityNode::combinedOpacity(QSGOpacityNode* theWrappedObject) const +{ + return ( theWrappedObject->combinedOpacity()); +} + +qreal PythonQtWrapper_QSGOpacityNode::opacity(QSGOpacityNode* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +void PythonQtWrapper_QSGOpacityNode::setCombinedOpacity(QSGOpacityNode* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setCombinedOpacity(opacity)); +} + +void PythonQtWrapper_QSGOpacityNode::setOpacity(QSGOpacityNode* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setOpacity(opacity)); +} + +QString PythonQtWrapper_QSGOpacityNode::py_toString(QSGOpacityNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGRectangleNode::~PythonQtShell_QSGRectangleNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QColor PythonQtShell_QSGRectangleNode::color() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("color"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QColor"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QColor returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("color", methodInfo, result); + } else { + returnValue = *((QColor*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QColor(); +} +bool PythonQtShell_QSGRectangleNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRectangleNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGRectangleNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGRectangleNode::preprocess(); +} +QRectF PythonQtShell_QSGRectangleNode::rect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRectF(); +} +void PythonQtShell_QSGRectangleNode::setColor(const QColor& color0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setColor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QColor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&color0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGRectangleNode::setRect(const QRectF& rect0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&rect0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QSGRectangleNode* PythonQtWrapper_QSGRectangleNode::new_QSGRectangleNode() +{ +return new PythonQtShell_QSGRectangleNode(); } + +QColor PythonQtWrapper_QSGRectangleNode::color(QSGRectangleNode* theWrappedObject) const +{ + return ( theWrappedObject->color()); +} + +QRectF PythonQtWrapper_QSGRectangleNode::rect(QSGRectangleNode* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QSGRectangleNode::setColor(QSGRectangleNode* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setColor(color)); +} + +void PythonQtWrapper_QSGRectangleNode::setRect(QSGRectangleNode* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QSGRectangleNode::setRect(QSGRectangleNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->setRect(x, y, w, h)); +} + + + +PythonQtShell_QSGRenderNode::~PythonQtShell_QSGRenderNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGRenderNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRenderNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGRenderNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGRenderNode::preprocess(); +} +QRectF PythonQtShell_QSGRenderNode::rect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("rect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRenderNode::rect(); +} +void PythonQtShell_QSGRenderNode::releaseResources() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("releaseResources"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGRenderNode::releaseResources(); +} +void PythonQtShell_QSGRenderNode::render(const QSGRenderNode::RenderState* state0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("render"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QSGRenderNode::RenderState*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +QSGRenderNode* PythonQtWrapper_QSGRenderNode::new_QSGRenderNode() +{ +return new PythonQtShell_QSGRenderNode(); } + +const QSGClipNode* PythonQtWrapper_QSGRenderNode::clipList(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->clipList()); +} + +qreal PythonQtWrapper_QSGRenderNode::inheritedOpacity(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->inheritedOpacity()); +} + +const QMatrix4x4* PythonQtWrapper_QSGRenderNode::matrix(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->matrix()); +} + +QRectF PythonQtWrapper_QSGRenderNode::rect(QSGRenderNode* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +void PythonQtWrapper_QSGRenderNode::releaseResources(QSGRenderNode* theWrappedObject) +{ + ( theWrappedObject->releaseResources()); +} + +void PythonQtWrapper_QSGRenderNode::render(QSGRenderNode* theWrappedObject, const QSGRenderNode::RenderState* state) +{ + ( theWrappedObject->render(state)); +} + + + +PythonQtShell_QSGRenderNode__RenderState::~PythonQtShell_QSGRenderNode__RenderState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +const QRegion* PythonQtShell_QSGRenderNode__RenderState::clipRegion() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("clipRegion"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"const QRegion*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + const QRegion* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clipRegion", methodInfo, result); + } else { + returnValue = *((const QRegion**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void* PythonQtShell_QSGRenderNode__RenderState::get(const char* state0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("get"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"void*" , "const char*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* returnValue{}; + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("get", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRenderNode::RenderState::get(state0); +} +const QMatrix4x4* PythonQtShell_QSGRenderNode__RenderState::projectionMatrix() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("projectionMatrix"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"const QMatrix4x4*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + const QMatrix4x4* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("projectionMatrix", methodInfo, result); + } else { + returnValue = *((const QMatrix4x4**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +bool PythonQtShell_QSGRenderNode__RenderState::scissorEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scissorEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("scissorEnabled", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +QRect PythonQtShell_QSGRenderNode__RenderState::scissorRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("scissorRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("scissorRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRect(); +} +bool PythonQtShell_QSGRenderNode__RenderState::stencilEnabled() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stencilEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stencilEnabled", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +int PythonQtShell_QSGRenderNode__RenderState::stencilValue() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("stencilValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stencilValue", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QSGRenderNode::RenderState* PythonQtWrapper_QSGRenderNode__RenderState::new_QSGRenderNode__RenderState() +{ +return new PythonQtShell_QSGRenderNode__RenderState(); } + +const QRegion* PythonQtWrapper_QSGRenderNode__RenderState::clipRegion(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->clipRegion()); +} + +void* PythonQtWrapper_QSGRenderNode__RenderState::get(QSGRenderNode::RenderState* theWrappedObject, const char* state) const +{ + return ( theWrappedObject->get(state)); +} + +const QMatrix4x4* PythonQtWrapper_QSGRenderNode__RenderState::projectionMatrix(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->projectionMatrix()); +} + +bool PythonQtWrapper_QSGRenderNode__RenderState::scissorEnabled(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->scissorEnabled()); +} + +QRect PythonQtWrapper_QSGRenderNode__RenderState::scissorRect(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->scissorRect()); +} + +bool PythonQtWrapper_QSGRenderNode__RenderState::stencilEnabled(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->stencilEnabled()); +} + +int PythonQtWrapper_QSGRenderNode__RenderState::stencilValue(QSGRenderNode::RenderState* theWrappedObject) const +{ + return ( theWrappedObject->stencilValue()); +} + + + +PythonQtShell_QSGRootNode::~PythonQtShell_QSGRootNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGRootNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGRootNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGRootNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGRootNode::preprocess(); +} +QSGRootNode* PythonQtWrapper_QSGRootNode::new_QSGRootNode() +{ +return new PythonQtShell_QSGRootNode(); } + +QString PythonQtWrapper_QSGRootNode::py_toString(QSGRootNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QSGTexture::~PythonQtShell_QSGTexture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGTexture::bind() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("bind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QSGTexture::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGTexture::childEvent(event0); +} +void PythonQtShell_QSGTexture::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGTexture::customEvent(event0); +} +bool PythonQtShell_QSGTexture::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::event(event0); +} +bool PythonQtShell_QSGTexture::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::eventFilter(watched0, event1); +} +bool PythonQtShell_QSGTexture::hasAlphaChannel() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasAlphaChannel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasAlphaChannel", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGTexture::hasMipmaps() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasMipmaps"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasMipmaps", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +bool PythonQtShell_QSGTexture::isAtlasTexture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isAtlasTexture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isAtlasTexture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::isAtlasTexture(); +} +QRectF PythonQtShell_QSGTexture::normalizedTextureSubRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("normalizedTextureSubRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("normalizedTextureSubRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::normalizedTextureSubRect(); +} +QSGTexture* PythonQtShell_QSGTexture::removedFromAtlas() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("removedFromAtlas"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGTexture* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removedFromAtlas", methodInfo, result); + } else { + returnValue = *((QSGTexture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTexture::removedFromAtlas(); +} +int PythonQtShell_QSGTexture::textureId() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureId"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return int(); +} +QSize PythonQtShell_QSGTexture::textureSize() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("textureSize"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textureSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSize(); +} +void PythonQtShell_QSGTexture::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGTexture::timerEvent(event0); +} +QSGTexture* PythonQtWrapper_QSGTexture::new_QSGTexture() +{ +return new PythonQtShell_QSGTexture(); } + +const QMetaObject* PythonQtShell_QSGTexture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGTexture::staticMetaObject); + } else { + return &QSGTexture::staticMetaObject; + } +} +int PythonQtShell_QSGTexture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGTexture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSGTexture::AnisotropyLevel PythonQtWrapper_QSGTexture::anisotropyLevel(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->anisotropyLevel()); +} + +void PythonQtWrapper_QSGTexture::bind(QSGTexture* theWrappedObject) +{ + ( theWrappedObject->bind()); +} + +int PythonQtWrapper_QSGTexture::comparisonKey(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->comparisonKey()); +} + +QRectF PythonQtWrapper_QSGTexture::convertToNormalizedSourceRect(QSGTexture* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->convertToNormalizedSourceRect(rect)); +} + +QSGTexture::Filtering PythonQtWrapper_QSGTexture::filtering(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->filtering()); +} + +bool PythonQtWrapper_QSGTexture::hasAlphaChannel(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->hasAlphaChannel()); +} + +bool PythonQtWrapper_QSGTexture::hasMipmaps(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->hasMipmaps()); +} + +QSGTexture::WrapMode PythonQtWrapper_QSGTexture::horizontalWrapMode(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->horizontalWrapMode()); +} + +bool PythonQtWrapper_QSGTexture::isAtlasTexture(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->isAtlasTexture()); +} + +QSGTexture::Filtering PythonQtWrapper_QSGTexture::mipmapFiltering(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->mipmapFiltering()); +} + +QRectF PythonQtWrapper_QSGTexture::normalizedTextureSubRect(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->normalizedTextureSubRect()); +} + +QSGTexture* PythonQtWrapper_QSGTexture::removedFromAtlas(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->removedFromAtlas()); +} + +void PythonQtWrapper_QSGTexture::setAnisotropyLevel(QSGTexture* theWrappedObject, QSGTexture::AnisotropyLevel level) +{ + ( theWrappedObject->setAnisotropyLevel(level)); +} + +void PythonQtWrapper_QSGTexture::setFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter) +{ + ( theWrappedObject->setFiltering(filter)); +} + +void PythonQtWrapper_QSGTexture::setHorizontalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode hwrap) +{ + ( theWrappedObject->setHorizontalWrapMode(hwrap)); +} + +void PythonQtWrapper_QSGTexture::setMipmapFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter) +{ + ( theWrappedObject->setMipmapFiltering(filter)); +} + +void PythonQtWrapper_QSGTexture::setVerticalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode vwrap) +{ + ( theWrappedObject->setVerticalWrapMode(vwrap)); +} + +int PythonQtWrapper_QSGTexture::textureId(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->textureId()); +} + +QSize PythonQtWrapper_QSGTexture::textureSize(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->textureSize()); +} + +void PythonQtWrapper_QSGTexture::updateBindOptions(QSGTexture* theWrappedObject, bool force) +{ + ( theWrappedObject->updateBindOptions(force)); +} + +QSGTexture::WrapMode PythonQtWrapper_QSGTexture::verticalWrapMode(QSGTexture* theWrappedObject) const +{ + return ( theWrappedObject->verticalWrapMode()); +} + + + +PythonQtShell_QSGTextureMaterial::~PythonQtShell_QSGTextureMaterial() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSGMaterialType* PythonQtShell_QSGTextureMaterial::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGMaterialType*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGMaterialType* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QSGMaterialType**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTextureMaterial::type(); +} +QSGTextureMaterial* PythonQtWrapper_QSGTextureMaterial::new_QSGTextureMaterial() +{ +return new PythonQtShell_QSGTextureMaterial(); } + +QSGMaterialType* PythonQtWrapper_QSGTextureMaterial::type(QSGTextureMaterial* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + + + +PythonQtShell_QSGTextureProvider::~PythonQtShell_QSGTextureProvider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSGTextureProvider::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGTextureProvider::childEvent(event0); +} +void PythonQtShell_QSGTextureProvider::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGTextureProvider::customEvent(event0); +} +bool PythonQtShell_QSGTextureProvider::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTextureProvider::event(event0); +} +bool PythonQtShell_QSGTextureProvider::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTextureProvider::eventFilter(watched0, event1); +} +QSGTexture* PythonQtShell_QSGTextureProvider::texture() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("texture"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSGTexture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSGTexture* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("texture", methodInfo, result); + } else { + returnValue = *((QSGTexture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QSGTextureProvider::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGTextureProvider::timerEvent(event0); +} +QSGTextureProvider* PythonQtWrapper_QSGTextureProvider::new_QSGTextureProvider() +{ +return new PythonQtShell_QSGTextureProvider(); } + +const QMetaObject* PythonQtShell_QSGTextureProvider::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSGTextureProvider::staticMetaObject); + } else { + return &QSGTextureProvider::staticMetaObject; + } +} +int PythonQtShell_QSGTextureProvider::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSGTextureProvider::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSGTexture* PythonQtWrapper_QSGTextureProvider::texture(QSGTextureProvider* theWrappedObject) const +{ + return ( theWrappedObject->texture()); +} + + + +PythonQtShell_QSGTransformNode::~PythonQtShell_QSGTransformNode() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QSGTransformNode::isSubtreeBlocked() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isSubtreeBlocked"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSubtreeBlocked", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSGTransformNode::isSubtreeBlocked(); +} +void PythonQtShell_QSGTransformNode::preprocess() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("preprocess"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSGTransformNode::preprocess(); +} +QSGTransformNode* PythonQtWrapper_QSGTransformNode::new_QSGTransformNode() +{ +return new PythonQtShell_QSGTransformNode(); } + +const QMatrix4x4* PythonQtWrapper_QSGTransformNode::combinedMatrix(QSGTransformNode* theWrappedObject) const +{ + return &( theWrappedObject->combinedMatrix()); +} + +const QMatrix4x4* PythonQtWrapper_QSGTransformNode::matrix(QSGTransformNode* theWrappedObject) const +{ + return &( theWrappedObject->matrix()); +} + +void PythonQtWrapper_QSGTransformNode::setCombinedMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setCombinedMatrix(matrix)); +} + +void PythonQtWrapper_QSGTransformNode::setMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix) +{ + ( theWrappedObject->setMatrix(matrix)); +} + +QString PythonQtWrapper_QSGTransformNode::py_toString(QSGTransformNode* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.h b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.h new file mode 100644 index 00000000..751f97bc --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.h @@ -0,0 +1,496 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +class PythonQtShell_QSGNodeVisitor : public QSGNodeVisitor +{ +public: + PythonQtShell_QSGNodeVisitor():QSGNodeVisitor(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGNodeVisitor() override; + +void enterClipNode(QSGClipNode* arg__1) override; +void enterGeometryNode(QSGGeometryNode* arg__1) override; +void enterOpacityNode(QSGOpacityNode* arg__1) override; +void enterTransformNode(QSGTransformNode* arg__1) override; +void leaveClipNode(QSGClipNode* arg__1) override; +void leaveGeometryNode(QSGGeometryNode* arg__1) override; +void leaveOpacityNode(QSGOpacityNode* arg__1) override; +void leaveTransformNode(QSGTransformNode* arg__1) override; +void visitChildren(QSGNode* n) override; +void visitNode(QSGNode* n) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGNodeVisitor : public QSGNodeVisitor +{ public: +inline void promoted_enterClipNode(QSGClipNode* arg__1) { this->enterClipNode(arg__1); } +inline void promoted_enterGeometryNode(QSGGeometryNode* arg__1) { this->enterGeometryNode(arg__1); } +inline void promoted_enterOpacityNode(QSGOpacityNode* arg__1) { this->enterOpacityNode(arg__1); } +inline void promoted_enterTransformNode(QSGTransformNode* arg__1) { this->enterTransformNode(arg__1); } +inline void promoted_leaveClipNode(QSGClipNode* arg__1) { this->leaveClipNode(arg__1); } +inline void promoted_leaveGeometryNode(QSGGeometryNode* arg__1) { this->leaveGeometryNode(arg__1); } +inline void promoted_leaveOpacityNode(QSGOpacityNode* arg__1) { this->leaveOpacityNode(arg__1); } +inline void promoted_leaveTransformNode(QSGTransformNode* arg__1) { this->leaveTransformNode(arg__1); } +inline void promoted_visitChildren(QSGNode* n) { this->visitChildren(n); } +inline void promoted_visitNode(QSGNode* n) { this->visitNode(n); } +inline void py_q_enterClipNode(QSGClipNode* arg__1) { QSGNodeVisitor::enterClipNode(arg__1); } +inline void py_q_enterGeometryNode(QSGGeometryNode* arg__1) { QSGNodeVisitor::enterGeometryNode(arg__1); } +inline void py_q_enterOpacityNode(QSGOpacityNode* arg__1) { QSGNodeVisitor::enterOpacityNode(arg__1); } +inline void py_q_enterTransformNode(QSGTransformNode* arg__1) { QSGNodeVisitor::enterTransformNode(arg__1); } +inline void py_q_leaveClipNode(QSGClipNode* arg__1) { QSGNodeVisitor::leaveClipNode(arg__1); } +inline void py_q_leaveGeometryNode(QSGGeometryNode* arg__1) { QSGNodeVisitor::leaveGeometryNode(arg__1); } +inline void py_q_leaveOpacityNode(QSGOpacityNode* arg__1) { QSGNodeVisitor::leaveOpacityNode(arg__1); } +inline void py_q_leaveTransformNode(QSGTransformNode* arg__1) { QSGNodeVisitor::leaveTransformNode(arg__1); } +inline void py_q_visitChildren(QSGNode* n) { QSGNodeVisitor::visitChildren(n); } +inline void py_q_visitNode(QSGNode* n) { QSGNodeVisitor::visitNode(n); } +}; + +class PythonQtWrapper_QSGNodeVisitor : public QObject +{ Q_OBJECT +public: +public slots: +QSGNodeVisitor* new_QSGNodeVisitor(); +void delete_QSGNodeVisitor(QSGNodeVisitor* obj) { delete obj; } + void enterClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1); + void py_q_enterClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterClipNode(arg__1));} + void enterGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1); + void py_q_enterGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterGeometryNode(arg__1));} + void enterOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1); + void py_q_enterOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterOpacityNode(arg__1));} + void enterTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1); + void py_q_enterTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_enterTransformNode(arg__1));} + void leaveClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1); + void py_q_leaveClipNode(QSGNodeVisitor* theWrappedObject, QSGClipNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveClipNode(arg__1));} + void leaveGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1); + void py_q_leaveGeometryNode(QSGNodeVisitor* theWrappedObject, QSGGeometryNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveGeometryNode(arg__1));} + void leaveOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1); + void py_q_leaveOpacityNode(QSGNodeVisitor* theWrappedObject, QSGOpacityNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveOpacityNode(arg__1));} + void leaveTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1); + void py_q_leaveTransformNode(QSGNodeVisitor* theWrappedObject, QSGTransformNode* arg__1){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_leaveTransformNode(arg__1));} + void visitChildren(QSGNodeVisitor* theWrappedObject, QSGNode* n); + void py_q_visitChildren(QSGNodeVisitor* theWrappedObject, QSGNode* n){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_visitChildren(n));} + void visitNode(QSGNodeVisitor* theWrappedObject, QSGNode* n); + void py_q_visitNode(QSGNodeVisitor* theWrappedObject, QSGNode* n){ (((PythonQtPublicPromoter_QSGNodeVisitor*)theWrappedObject)->py_q_visitNode(n));} +}; + + + + + +class PythonQtShell_QSGOpacityNode : public QSGOpacityNode +{ +public: + PythonQtShell_QSGOpacityNode():QSGOpacityNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGOpacityNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGOpacityNode : public QSGOpacityNode +{ public: +inline bool py_q_isSubtreeBlocked() const { return QSGOpacityNode::isSubtreeBlocked(); } +}; + +class PythonQtWrapper_QSGOpacityNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGOpacityNode* new_QSGOpacityNode(); +void delete_QSGOpacityNode(QSGOpacityNode* obj) { delete obj; } + qreal combinedOpacity(QSGOpacityNode* theWrappedObject) const; + bool py_q_isSubtreeBlocked(QSGOpacityNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGOpacityNode*)theWrappedObject)->py_q_isSubtreeBlocked());} + qreal opacity(QSGOpacityNode* theWrappedObject) const; + void setCombinedOpacity(QSGOpacityNode* theWrappedObject, qreal opacity); + void setOpacity(QSGOpacityNode* theWrappedObject, qreal opacity); + QString py_toString(QSGOpacityNode*); +}; + + + + + +class PythonQtShell_QSGRectangleNode : public QSGRectangleNode +{ +public: + PythonQtShell_QSGRectangleNode():QSGRectangleNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRectangleNode() override; + +QColor color() const override; +bool isSubtreeBlocked() const override; +void preprocess() override; +QRectF rect() const override; +void setColor(const QColor& color) override; +void setRect(const QRectF& rect) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGRectangleNode : public QSGRectangleNode +{ public: +inline QColor py_q_color() const { return this->color(); } +inline QRectF py_q_rect() const { return this->rect(); } +inline void py_q_setColor(const QColor& color) { this->setColor(color); } +inline void py_q_setRect(const QRectF& rect) { this->setRect(rect); } +}; + +class PythonQtWrapper_QSGRectangleNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGRectangleNode* new_QSGRectangleNode(); +void delete_QSGRectangleNode(QSGRectangleNode* obj) { delete obj; } + QColor color(QSGRectangleNode* theWrappedObject) const; + QColor py_q_color(QSGRectangleNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_color());} + QRectF rect(QSGRectangleNode* theWrappedObject) const; + QRectF py_q_rect(QSGRectangleNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_rect());} + void setColor(QSGRectangleNode* theWrappedObject, const QColor& color); + void py_q_setColor(QSGRectangleNode* theWrappedObject, const QColor& color){ (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_setColor(color));} + void setRect(QSGRectangleNode* theWrappedObject, const QRectF& rect); + void py_q_setRect(QSGRectangleNode* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QSGRectangleNode*)theWrappedObject)->py_q_setRect(rect));} + void setRect(QSGRectangleNode* theWrappedObject, qreal x, qreal y, qreal w, qreal h); +}; + + + + + +class PythonQtShell_QSGRenderNode : public QSGRenderNode +{ +public: + PythonQtShell_QSGRenderNode():QSGRenderNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRenderNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; +QRectF rect() const override; +void releaseResources() override; +void render(const QSGRenderNode::RenderState* state) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGRenderNode : public QSGRenderNode +{ public: +inline QRectF py_q_rect() const { return QSGRenderNode::rect(); } +inline void py_q_releaseResources() { QSGRenderNode::releaseResources(); } +inline void py_q_render(const QSGRenderNode::RenderState* state) { this->render(state); } +}; + +class PythonQtWrapper_QSGRenderNode : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RenderingFlag StateFlag ) +enum RenderingFlag{ + BoundedRectRendering = QSGRenderNode::BoundedRectRendering, DepthAwareRendering = QSGRenderNode::DepthAwareRendering, OpaqueRendering = QSGRenderNode::OpaqueRendering}; +enum StateFlag{ + DepthState = QSGRenderNode::DepthState, StencilState = QSGRenderNode::StencilState, ScissorState = QSGRenderNode::ScissorState, ColorState = QSGRenderNode::ColorState, BlendState = QSGRenderNode::BlendState, CullState = QSGRenderNode::CullState, ViewportState = QSGRenderNode::ViewportState, RenderTargetState = QSGRenderNode::RenderTargetState}; +public slots: +QSGRenderNode* new_QSGRenderNode(); +void delete_QSGRenderNode(QSGRenderNode* obj) { delete obj; } + const QSGClipNode* clipList(QSGRenderNode* theWrappedObject) const; + qreal inheritedOpacity(QSGRenderNode* theWrappedObject) const; + const QMatrix4x4* matrix(QSGRenderNode* theWrappedObject) const; + QRectF rect(QSGRenderNode* theWrappedObject) const; + QRectF py_q_rect(QSGRenderNode* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode*)theWrappedObject)->py_q_rect());} + void releaseResources(QSGRenderNode* theWrappedObject); + void py_q_releaseResources(QSGRenderNode* theWrappedObject){ (((PythonQtPublicPromoter_QSGRenderNode*)theWrappedObject)->py_q_releaseResources());} + void render(QSGRenderNode* theWrappedObject, const QSGRenderNode::RenderState* state); + void py_q_render(QSGRenderNode* theWrappedObject, const QSGRenderNode::RenderState* state){ (((PythonQtPublicPromoter_QSGRenderNode*)theWrappedObject)->py_q_render(state));} +}; + + + + + +class PythonQtShell_QSGRenderNode__RenderState : public QSGRenderNode::RenderState +{ +public: + PythonQtShell_QSGRenderNode__RenderState():QSGRenderNode::RenderState(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRenderNode__RenderState() override; + +const QRegion* clipRegion() const override; +void* get(const char* state) const override; +const QMatrix4x4* projectionMatrix() const override; +bool scissorEnabled() const override; +QRect scissorRect() const override; +bool stencilEnabled() const override; +int stencilValue() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGRenderNode__RenderState : public QSGRenderNode::RenderState +{ public: +inline const QRegion* py_q_clipRegion() const { return this->clipRegion(); } +inline void* py_q_get(const char* state) const { return QSGRenderNode::RenderState::get(state); } +inline const QMatrix4x4* py_q_projectionMatrix() const { return this->projectionMatrix(); } +inline bool py_q_scissorEnabled() const { return this->scissorEnabled(); } +inline QRect py_q_scissorRect() const { return this->scissorRect(); } +inline bool py_q_stencilEnabled() const { return this->stencilEnabled(); } +inline int py_q_stencilValue() const { return this->stencilValue(); } +}; + +class PythonQtWrapper_QSGRenderNode__RenderState : public QObject +{ Q_OBJECT +public: +public slots: +QSGRenderNode::RenderState* new_QSGRenderNode__RenderState(); +void delete_QSGRenderNode__RenderState(QSGRenderNode::RenderState* obj) { delete obj; } + const QRegion* clipRegion(QSGRenderNode::RenderState* theWrappedObject) const; + const QRegion* py_q_clipRegion(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_clipRegion());} + void* get(QSGRenderNode::RenderState* theWrappedObject, const char* state) const; + void* py_q_get(QSGRenderNode::RenderState* theWrappedObject, const char* state) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_get(state));} + const QMatrix4x4* projectionMatrix(QSGRenderNode::RenderState* theWrappedObject) const; + const QMatrix4x4* py_q_projectionMatrix(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_projectionMatrix());} + bool scissorEnabled(QSGRenderNode::RenderState* theWrappedObject) const; + bool py_q_scissorEnabled(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_scissorEnabled());} + QRect scissorRect(QSGRenderNode::RenderState* theWrappedObject) const; + QRect py_q_scissorRect(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_scissorRect());} + bool stencilEnabled(QSGRenderNode::RenderState* theWrappedObject) const; + bool py_q_stencilEnabled(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_stencilEnabled());} + int stencilValue(QSGRenderNode::RenderState* theWrappedObject) const; + int py_q_stencilValue(QSGRenderNode::RenderState* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGRenderNode__RenderState*)theWrappedObject)->py_q_stencilValue());} +}; + + + + + +class PythonQtShell_QSGRootNode : public QSGRootNode +{ +public: + PythonQtShell_QSGRootNode():QSGRootNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGRootNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGRootNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGRootNode* new_QSGRootNode(); +void delete_QSGRootNode(QSGRootNode* obj) { delete obj; } + QString py_toString(QSGRootNode*); +}; + + + + + +class PythonQtShell_QSGTexture : public QSGTexture +{ +public: + PythonQtShell_QSGTexture():QSGTexture(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTexture() override; + +void bind() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasAlphaChannel() const override; +bool hasMipmaps() const override; +bool isAtlasTexture() const override; +QRectF normalizedTextureSubRect() const override; +QSGTexture* removedFromAtlas() const override; +int textureId() const override; +QSize textureSize() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGTexture : public QSGTexture +{ public: +inline void py_q_bind() { this->bind(); } +inline bool py_q_hasAlphaChannel() const { return this->hasAlphaChannel(); } +inline bool py_q_hasMipmaps() const { return this->hasMipmaps(); } +inline bool py_q_isAtlasTexture() const { return QSGTexture::isAtlasTexture(); } +inline QRectF py_q_normalizedTextureSubRect() const { return QSGTexture::normalizedTextureSubRect(); } +inline QSGTexture* py_q_removedFromAtlas() const { return QSGTexture::removedFromAtlas(); } +inline int py_q_textureId() const { return this->textureId(); } +inline QSize py_q_textureSize() const { return this->textureSize(); } +}; + +class PythonQtWrapper_QSGTexture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AnisotropyLevel Filtering WrapMode ) +enum AnisotropyLevel{ + AnisotropyNone = QSGTexture::AnisotropyNone, Anisotropy2x = QSGTexture::Anisotropy2x, Anisotropy4x = QSGTexture::Anisotropy4x, Anisotropy8x = QSGTexture::Anisotropy8x, Anisotropy16x = QSGTexture::Anisotropy16x}; +enum Filtering{ + None = QSGTexture::None, Nearest = QSGTexture::Nearest, Linear = QSGTexture::Linear}; +enum WrapMode{ + Repeat = QSGTexture::Repeat, ClampToEdge = QSGTexture::ClampToEdge, MirroredRepeat = QSGTexture::MirroredRepeat}; +public slots: +QSGTexture* new_QSGTexture(); +void delete_QSGTexture(QSGTexture* obj) { delete obj; } + QSGTexture::AnisotropyLevel anisotropyLevel(QSGTexture* theWrappedObject) const; + void bind(QSGTexture* theWrappedObject); + void py_q_bind(QSGTexture* theWrappedObject){ (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_bind());} + int comparisonKey(QSGTexture* theWrappedObject) const; + QRectF convertToNormalizedSourceRect(QSGTexture* theWrappedObject, const QRectF& rect) const; + QSGTexture::Filtering filtering(QSGTexture* theWrappedObject) const; + bool hasAlphaChannel(QSGTexture* theWrappedObject) const; + bool py_q_hasAlphaChannel(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_hasAlphaChannel());} + bool hasMipmaps(QSGTexture* theWrappedObject) const; + bool py_q_hasMipmaps(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_hasMipmaps());} + QSGTexture::WrapMode horizontalWrapMode(QSGTexture* theWrappedObject) const; + bool isAtlasTexture(QSGTexture* theWrappedObject) const; + bool py_q_isAtlasTexture(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_isAtlasTexture());} + QSGTexture::Filtering mipmapFiltering(QSGTexture* theWrappedObject) const; + QRectF normalizedTextureSubRect(QSGTexture* theWrappedObject) const; + QRectF py_q_normalizedTextureSubRect(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_normalizedTextureSubRect());} + QSGTexture* removedFromAtlas(QSGTexture* theWrappedObject) const; + QSGTexture* py_q_removedFromAtlas(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_removedFromAtlas());} + void setAnisotropyLevel(QSGTexture* theWrappedObject, QSGTexture::AnisotropyLevel level); + void setFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter); + void setHorizontalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode hwrap); + void setMipmapFiltering(QSGTexture* theWrappedObject, QSGTexture::Filtering filter); + void setVerticalWrapMode(QSGTexture* theWrappedObject, QSGTexture::WrapMode vwrap); + int textureId(QSGTexture* theWrappedObject) const; + int py_q_textureId(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_textureId());} + QSize textureSize(QSGTexture* theWrappedObject) const; + QSize py_q_textureSize(QSGTexture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTexture*)theWrappedObject)->py_q_textureSize());} + void updateBindOptions(QSGTexture* theWrappedObject, bool force = false); + QSGTexture::WrapMode verticalWrapMode(QSGTexture* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QSGTextureMaterial : public QSGTextureMaterial +{ +public: + PythonQtShell_QSGTextureMaterial():QSGTextureMaterial(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTextureMaterial(); + +QSGMaterialType* type() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGTextureMaterial : public QSGTextureMaterial +{ public: +inline QSGMaterialType* py_q_type() const { return QSGTextureMaterial::type(); } +}; + +class PythonQtWrapper_QSGTextureMaterial : public QObject +{ Q_OBJECT +public: +public slots: +QSGTextureMaterial* new_QSGTextureMaterial(); +void delete_QSGTextureMaterial(QSGTextureMaterial* obj) { delete obj; } + QSGMaterialType* type(QSGTextureMaterial* theWrappedObject) const; + QSGMaterialType* py_q_type(QSGTextureMaterial* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTextureMaterial*)theWrappedObject)->py_q_type());} +}; + + + + + +class PythonQtShell_QSGTextureProvider : public QSGTextureProvider +{ +public: + PythonQtShell_QSGTextureProvider():QSGTextureProvider(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTextureProvider() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QSGTexture* texture() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSGTextureProvider : public QSGTextureProvider +{ public: +inline QSGTexture* py_q_texture() const { return this->texture(); } +}; + +class PythonQtWrapper_QSGTextureProvider : public QObject +{ Q_OBJECT +public: +public slots: +QSGTextureProvider* new_QSGTextureProvider(); +void delete_QSGTextureProvider(QSGTextureProvider* obj) { delete obj; } + QSGTexture* texture(QSGTextureProvider* theWrappedObject) const; + QSGTexture* py_q_texture(QSGTextureProvider* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSGTextureProvider*)theWrappedObject)->py_q_texture());} +}; + + + + + +class PythonQtShell_QSGTransformNode : public QSGTransformNode +{ +public: + PythonQtShell_QSGTransformNode():QSGTransformNode(),_wrapper(nullptr) {}; + + ~PythonQtShell_QSGTransformNode() override; + +bool isSubtreeBlocked() const override; +void preprocess() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QSGTransformNode : public QObject +{ Q_OBJECT +public: +public slots: +QSGTransformNode* new_QSGTransformNode(); +void delete_QSGTransformNode(QSGTransformNode* obj) { delete obj; } + const QMatrix4x4* combinedMatrix(QSGTransformNode* theWrappedObject) const; + const QMatrix4x4* matrix(QSGTransformNode* theWrappedObject) const; + void setCombinedMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix); + void setMatrix(QSGTransformNode* theWrappedObject, const QMatrix4x4& matrix); + QString py_toString(QSGTransformNode*); +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp new file mode 100644 index 00000000..35fcc1eb --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp @@ -0,0 +1,52 @@ +#include +#include +#include "com_trolltech_qt_quick0.h" +#include "com_trolltech_qt_quick1.h" + + + +void PythonQt_init_QtQuick(PyObject* module) { +PythonQt::priv()->registerClass(&QQuickFramebufferObject::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQuickFramebufferObject::Renderer", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QQuickImageProvider", "", "QtQuick", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QQuickItem::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickItemGrabResult::staticMetaObject, "QtQuick", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QQuickItem::UpdatePaintNodeData", "", "QtQuick", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QQuickPaintedItem::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickRenderControl::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickTextDocument::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickTransform::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickView::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickWidget::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QQuickWindow::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGAbstractRenderer::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGBasicGeometryNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGClipNode", "QSGBasicGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGDynamicTexture::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGEngine::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGFlatColorMaterial", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometryNode", "QSGBasicGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry::Attribute", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry::AttributeSet", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry::ColoredPoint2D", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry::Point2D", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGGeometry::TexturedPoint2D", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGImageNode", "QSGGeometryNode", "QtQuick", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QSGMaterialType", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGNinePatchNode", "QSGGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGNode", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGNodeVisitor", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGOpacityNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRectangleNode", "QSGGeometryNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRenderNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRenderNode::RenderState", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGRootNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGTexture::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGTextureMaterial", "", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QSGTextureProvider::staticMetaObject, "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSGTransformNode", "QSGNode", "QtQuick", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QQmlError); +} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql.pri b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql.pri rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp similarity index 81% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index c7dcbee5..99bec1cd 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -12,17 +12,27 @@ #include #include #include +#include +#include #include -#include +#include +#include #include +#include +#include #include #include +#include #include #include #include #include +#include #include #include +#include +#include +#include @@ -280,19 +290,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("beginTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -313,19 +323,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cancelQuery", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -335,6 +345,28 @@ if (_wrapper) { } return QSqlDriver::cancelQuery(); } +void PythonQtShell_QSqlDriver::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlDriver::childEvent(event0); +} void PythonQtShell_QSqlDriver::close() { if (_wrapper) { @@ -345,9 +377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -368,19 +400,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("commitTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -401,19 +433,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlResult*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSqlResult* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createResult", methodInfo, result); } else { returnValue = *((QSqlResult**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -421,7 +453,29 @@ if (_wrapper) { } } } - return 0; + return nullptr; +} +void PythonQtShell_QSqlDriver::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlDriver::customEvent(event0); } QString PythonQtShell_QSqlDriver::escapeIdentifier(const QString& identifier0, QSqlDriver::IdentifierType type1) const { @@ -434,19 +488,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("escapeIdentifier", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -456,6 +510,72 @@ if (_wrapper) { } return QSqlDriver::escapeIdentifier(identifier0, type1); } +bool PythonQtShell_QSqlDriver::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::event(event0); +} +bool PythonQtShell_QSqlDriver::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlDriver::eventFilter(watched0, event1); +} QString PythonQtShell_QSqlDriver::formatValue(const QSqlField& field0, bool trimStrings1) const { if (_wrapper) { @@ -467,19 +587,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QSqlField&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&field0, (void*)&trimStrings1}; + void* args[3] = {nullptr, (void*)&field0, (void*)&trimStrings1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("formatValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -500,19 +620,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -533,19 +653,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QSqlDriver::DriverFeature"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&f0}; + void* args[2] = {nullptr, (void*)&f0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -566,19 +686,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIdentifierEscaped", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -599,19 +719,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isOpen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -632,19 +752,19 @@ if (_wrapper) { 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*)&db0, (void*)&user1, (void*)&password2, (void*)&host3, (void*)&port4, (void*)&connOpts5}; + void* args[7] = {nullptr, (void*)&db0, (void*)&user1, (void*)&password2, (void*)&host3, (void*)&port4, (void*)&connOpts5}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -665,19 +785,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlIndex" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSqlIndex returnValue{}; - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("primaryIndex", methodInfo, result); } else { returnValue = *((QSqlIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -698,19 +818,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlRecord" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSqlRecord returnValue{}; - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); } else { returnValue = *((QSqlRecord*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -731,19 +851,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rollbackTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -763,9 +883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSqlError&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -785,9 +905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&o0}; + void* args[2] = {nullptr, (void*)&o0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -807,9 +927,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -830,19 +950,19 @@ if (_wrapper) { 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*)&type0, (void*)&tableName1, (void*)&rec2, (void*)&preparedStatement3}; + void* args[5] = {nullptr, (void*)&type0, (void*)&tableName1, (void*)&rec2, (void*)&preparedStatement3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sqlStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -863,19 +983,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stripDelimiters", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -896,19 +1016,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subscribeToNotification", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -929,19 +1049,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subscribedToNotifications", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -962,19 +1082,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList" , "QSql::TableType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QStringList returnValue{}; - void* args[2] = {NULL, (void*)&tableType0}; + void* args[2] = {nullptr, (void*)&tableType0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("tables", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -984,6 +1104,28 @@ if (_wrapper) { } return QSqlDriver::tables(tableType0); } +void PythonQtShell_QSqlDriver::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlDriver::timerEvent(event0); +} bool PythonQtShell_QSqlDriver::unsubscribeFromNotification(const QString& name0) { if (_wrapper) { @@ -995,19 +1137,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unsubscribeFromNotification", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1191,19 +1333,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlDriver*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSqlDriver* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); } else { returnValue = *((QSqlDriver**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1211,7 +1353,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QSqlDriverCreatorBase* PythonQtWrapper_QSqlDriverCreatorBase::new_QSqlDriverCreatorBase() { @@ -1224,6 +1366,97 @@ QSqlDriver* PythonQtWrapper_QSqlDriverCreatorBase::createObject(QSqlDriverCreat +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, const QString& errorCode) +{ +return new QSqlError(driverText, databaseText, type, errorCode); } + +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::databaseText(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->databaseText()); +} + +QString PythonQtWrapper_QSqlError::driverText(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->driverText()); +} + +bool PythonQtWrapper_QSqlError::isValid(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QSqlError::nativeErrorCode(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->nativeErrorCode()); +} + +int PythonQtWrapper_QSqlError::number(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->number()); +} + +bool PythonQtWrapper_QSqlError::__ne__(QSqlError* theWrappedObject, const QSqlError& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSqlError::__eq__(QSqlError* theWrappedObject, const QSqlError& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSqlError::setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText) +{ + ( theWrappedObject->setDatabaseText(databaseText)); +} + +void PythonQtWrapper_QSqlError::setDriverText(QSqlError* theWrappedObject, const QString& driverText) +{ + ( theWrappedObject->setDriverText(driverText)); +} + +void PythonQtWrapper_QSqlError::setNumber(QSqlError* theWrappedObject, int number) +{ + ( theWrappedObject->setNumber(number)); +} + +void PythonQtWrapper_QSqlError::setType(QSqlError* theWrappedObject, QSqlError::ErrorType type) +{ + ( theWrappedObject->setType(type)); +} + +void PythonQtWrapper_QSqlError::swap(QSqlError* theWrappedObject, QSqlError& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QSqlError::text(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QSqlError::ErrorType PythonQtWrapper_QSqlError::type(QSqlError* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QSqlError::py_toString(QSqlError* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + QSqlField* PythonQtWrapper_QSqlField::new_QSqlField(const QSqlField& other) { return new QSqlField(other); } @@ -1669,19 +1902,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1702,19 +1935,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1735,19 +1968,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1757,6 +1990,28 @@ if (_wrapper) { } return QSqlQueryModel::canFetchMore(parent0); } +void PythonQtShell_QSqlQueryModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlQueryModel::childEvent(event0); +} void PythonQtShell_QSqlQueryModel::clear() { if (_wrapper) { @@ -1767,9 +2022,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1790,19 +2045,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1812,6 +2067,28 @@ if (_wrapper) { } return QSqlQueryModel::columnCount(parent0); } +void PythonQtShell_QSqlQueryModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlQueryModel::customEvent(event0); +} QVariant PythonQtShell_QSqlQueryModel::data(const QModelIndex& item0, int role1) const { if (_wrapper) { @@ -1823,19 +2100,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&item0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&item0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1856,19 +2133,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1878,6 +2155,72 @@ if (_wrapper) { } return QSqlQueryModel::dropMimeData(data0, action1, row2, column3, parent4); } +bool PythonQtShell_QSqlQueryModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::event(event0); +} +bool PythonQtShell_QSqlQueryModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlQueryModel::eventFilter(watched0, event1); +} void PythonQtShell_QSqlQueryModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -1888,9 +2231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1911,19 +2254,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1944,19 +2287,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1977,19 +2320,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2010,19 +2353,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2043,19 +2386,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2076,19 +2419,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2109,19 +2452,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2142,19 +2485,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2175,19 +2518,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2208,19 +2551,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2241,19 +2584,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2274,19 +2617,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2306,9 +2649,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2329,19 +2672,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2362,19 +2705,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2394,9 +2737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2417,19 +2760,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2450,19 +2793,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2483,19 +2826,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2516,19 +2859,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2549,19 +2892,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2582,19 +2925,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2614,9 +2957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2637,19 +2980,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2670,19 +3013,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2703,19 +3046,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2736,19 +3079,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2758,6 +3101,28 @@ if (_wrapper) { } return QSqlQueryModel::supportedDropActions(); } +void PythonQtShell_QSqlQueryModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlQueryModel::timerEvent(event0); +} QSqlQueryModel* PythonQtWrapper_QSqlQueryModel::new_QSqlQueryModel(QObject* parent) { return new PythonQtShell_QSqlQueryModel(parent); } @@ -3034,6 +3399,41 @@ QString PythonQtWrapper_QSqlRecord::py_toString(QSqlRecord* obj) { +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::displayColumn(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->displayColumn()); +} + +QString PythonQtWrapper_QSqlRelation::indexColumn(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->indexColumn()); +} + +bool PythonQtWrapper_QSqlRelation::isValid(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +void PythonQtWrapper_QSqlRelation::swap(QSqlRelation* theWrappedObject, QSqlRelation& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QSqlRelation::tableName(QSqlRelation* theWrappedObject) const +{ + return ( theWrappedObject->tableName()); +} + + + PythonQtShell_QSqlRelationalTableModel::~PythonQtShell_QSqlRelationalTableModel() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -3049,19 +3449,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3082,19 +3482,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3115,19 +3515,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3137,6 +3537,28 @@ if (_wrapper) { } return QSqlRelationalTableModel::canFetchMore(parent0); } +void PythonQtShell_QSqlRelationalTableModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::childEvent(event0); +} void PythonQtShell_QSqlRelationalTableModel::clear() { if (_wrapper) { @@ -3147,9 +3569,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3170,19 +3592,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3192,6 +3614,28 @@ if (_wrapper) { } return QSqlRelationalTableModel::columnCount(parent0); } +void PythonQtShell_QSqlRelationalTableModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::customEvent(event0); +} QVariant PythonQtShell_QSqlRelationalTableModel::data(const QModelIndex& item0, int role1) const { if (_wrapper) { @@ -3203,19 +3647,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&item0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&item0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3236,19 +3680,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3269,19 +3713,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3291,6 +3735,72 @@ if (_wrapper) { } return QSqlRelationalTableModel::dropMimeData(data0, action1, row2, column3, parent4); } +bool PythonQtShell_QSqlRelationalTableModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::event(event0); +} +bool PythonQtShell_QSqlRelationalTableModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlRelationalTableModel::eventFilter(watched0, event1); +} void PythonQtShell_QSqlRelationalTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -3301,9 +3811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3324,19 +3834,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3357,19 +3867,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3390,19 +3900,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3423,19 +3933,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3456,19 +3966,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3489,19 +3999,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&values0}; + void* args[2] = {nullptr, (void*)&values0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3522,19 +4032,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3555,19 +4065,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3588,19 +4098,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3621,19 +4131,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3654,19 +4164,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3687,19 +4197,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3720,19 +4230,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3753,19 +4263,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3785,9 +4295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3808,19 +4318,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlTableModel*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSqlTableModel* returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("relationModel", methodInfo, result); } else { returnValue = *((QSqlTableModel**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3841,19 +4351,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3874,19 +4384,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3906,9 +4416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3928,9 +4438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3951,19 +4461,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3984,19 +4494,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4017,19 +4527,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4050,19 +4560,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4083,19 +4593,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4116,19 +4626,19 @@ if (_wrapper) { 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*)&item0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4148,9 +4658,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy0}; + void* args[2] = {nullptr, (void*)&strategy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4170,9 +4680,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter0}; + void* args[2] = {nullptr, (void*)&filter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4193,19 +4703,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4226,19 +4736,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4258,9 +4768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QSqlRelation&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&relation1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&relation1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4280,9 +4790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4302,9 +4812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4325,19 +4835,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4357,9 +4867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4380,19 +4890,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4413,19 +4923,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4446,19 +4956,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4479,19 +4989,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4501,6 +5011,28 @@ if (_wrapper) { } return QSqlRelationalTableModel::supportedDropActions(); } +void PythonQtShell_QSqlRelationalTableModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlRelationalTableModel::timerEvent(event0); +} bool PythonQtShell_QSqlRelationalTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { if (_wrapper) { @@ -4512,19 +5044,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&row0, (void*)&values1}; + void* args[3] = {nullptr, (void*)&row0, (void*)&values1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4587,9 +5119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "const QVariant&" , "QSql::ParamType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&placeholder0, (void*)&val1, (void*)&type2}; + void* args[4] = {nullptr, (void*)&placeholder0, (void*)&val1, (void*)&type2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4609,9 +5141,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QVariant&" , "QSql::ParamType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pos0, (void*)&val1, (void*)&type2}; + void* args[4] = {nullptr, (void*)&pos0, (void*)&val1, (void*)&type2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4632,19 +5164,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&i0}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4664,9 +5196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4687,19 +5219,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4720,19 +5252,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arrayBind0}; + void* args[2] = {nullptr, (void*)&arrayBind0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("execBatch", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4753,19 +5285,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&i0}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetch", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4786,19 +5318,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchFirst", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4819,19 +5351,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchLast", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4852,19 +5384,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchNext", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4885,19 +5417,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchPrevious", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4918,19 +5450,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4951,19 +5483,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&i0}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isNull", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4984,19 +5516,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lastInsertId", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5017,19 +5549,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextResult", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5050,19 +5582,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("numRowsAffected", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5083,19 +5615,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5116,19 +5648,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlRecord"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSqlRecord returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); } else { returnValue = *((QSqlRecord*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5149,19 +5681,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&sqlquery0}; + void* args[2] = {nullptr, (void*)&sqlquery0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5182,19 +5714,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&sqlquery0}; + void* args[2] = {nullptr, (void*)&sqlquery0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("savePrepare", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5214,9 +5746,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&a0}; + void* args[2] = {nullptr, (void*)&a0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5236,9 +5768,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&at0}; + void* args[2] = {nullptr, (void*)&at0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5258,9 +5790,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&forward0}; + void* args[2] = {nullptr, (void*)&forward0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5280,9 +5812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSqlError&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5302,9 +5834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSql::NumericalPrecisionPolicy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&policy0}; + void* args[2] = {nullptr, (void*)&policy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5324,9 +5856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5346,9 +5878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&s0}; + void* args[2] = {nullptr, (void*)&s0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5369,19 +5901,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5391,28 +5923,6 @@ if (_wrapper) { } return int(); } -void PythonQtShell_QSqlResult::virtual_hook(int id0, void* data1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("virtual_hook"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&id0, (void*)&data1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSqlResult::virtual_hook(id0, data1); -} QSqlResult* PythonQtWrapper_QSqlResult::new_QSqlResult(const QSqlDriver* db) { return new PythonQtShell_QSqlResult(db); } @@ -5684,19 +6194,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5717,19 +6227,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5750,19 +6260,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5772,6 +6282,28 @@ if (_wrapper) { } return QSqlTableModel::canFetchMore(parent0); } +void PythonQtShell_QSqlTableModel::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::childEvent(event0); +} void PythonQtShell_QSqlTableModel::clear() { if (_wrapper) { @@ -5782,9 +6314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5805,19 +6337,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5827,6 +6359,28 @@ if (_wrapper) { } return QSqlTableModel::columnCount(parent0); } +void PythonQtShell_QSqlTableModel::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::customEvent(event0); +} QVariant PythonQtShell_QSqlTableModel::data(const QModelIndex& idx0, int role1) const { if (_wrapper) { @@ -5838,19 +6392,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&idx0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&idx0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5871,19 +6425,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5904,19 +6458,19 @@ if (_wrapper) { 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*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5926,6 +6480,72 @@ if (_wrapper) { } return QSqlTableModel::dropMimeData(data0, action1, row2, column3, parent4); } +bool PythonQtShell_QSqlTableModel::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::event(event0); +} +bool PythonQtShell_QSqlTableModel::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSqlTableModel::eventFilter(watched0, event1); +} void PythonQtShell_QSqlTableModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { @@ -5936,9 +6556,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5959,19 +6579,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5992,19 +6612,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6025,19 +6645,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6058,19 +6678,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6091,19 +6711,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6124,19 +6744,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&values0}; + void* args[2] = {nullptr, (void*)&values0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6157,19 +6777,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6190,19 +6810,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6223,19 +6843,19 @@ if (_wrapper) { 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*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6256,19 +6876,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6289,19 +6909,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6322,19 +6942,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6355,19 +6975,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6388,19 +7008,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6420,9 +7040,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6443,19 +7063,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6476,19 +7096,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6508,9 +7128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6530,9 +7150,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6553,19 +7173,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6586,19 +7206,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6619,19 +7239,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6652,19 +7272,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6685,19 +7305,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6718,19 +7338,19 @@ if (_wrapper) { 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*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6750,9 +7370,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy0}; + void* args[2] = {nullptr, (void*)&strategy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6772,9 +7392,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter0}; + void* args[2] = {nullptr, (void*)&filter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6795,19 +7415,19 @@ if (_wrapper) { 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*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6828,19 +7448,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6860,9 +7480,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6882,9 +7502,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6905,19 +7525,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6937,9 +7557,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6960,19 +7580,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6993,19 +7613,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7026,19 +7646,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7059,19 +7679,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7081,6 +7701,28 @@ if (_wrapper) { } return QSqlTableModel::supportedDropActions(); } +void PythonQtShell_QSqlTableModel::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSqlTableModel::timerEvent(event0); +} bool PythonQtShell_QSqlTableModel::updateRowInTable(int row0, const QSqlRecord& values1) { if (_wrapper) { @@ -7092,19 +7734,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&row0, (void*)&values1}; + void* args[3] = {nullptr, (void*)&row0, (void*)&values1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.h b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.h similarity index 77% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.h rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.h index 9ec9d31c..4b9a0589 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.h @@ -10,12 +10,18 @@ #include #include #include +#include +#include #include -#include +#include +#include #include +#include +#include #include #include #include +#include #include #include #include @@ -24,6 +30,9 @@ #include #include #include +#include +#include +#include @@ -51,15 +60,15 @@ public slots: 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) {}; + PythonQtShell_QSqlDatabase():QSqlDatabase(),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(QSqlDriver* driver):QSqlDatabase(driver),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(const QSqlDatabase& other):QSqlDatabase(other),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(const QString& type):QSqlDatabase(type),_wrapper(nullptr) {}; ~PythonQtShell_QSqlDatabase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSqlDatabase : public QObject @@ -70,7 +79,7 @@ QSqlDatabase* new_QSqlDatabase(); QSqlDatabase* new_QSqlDatabase(QSqlDriver* driver); QSqlDatabase* new_QSqlDatabase(const QSqlDatabase& other); QSqlDatabase* new_QSqlDatabase(const QString& type); -void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } +void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } QSqlDatabase static_QSqlDatabase_addDatabase(QSqlDriver* driver, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); QSqlDatabase static_QSqlDatabase_addDatabase(const QString& type, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); QSqlDatabase static_QSqlDatabase_cloneDatabase(const QSqlDatabase& other, const QString& connectionName); @@ -124,38 +133,43 @@ void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } class PythonQtShell_QSqlDriver : public QSqlDriver { public: - PythonQtShell_QSqlDriver(QObject* parent = nullptr):QSqlDriver(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlDriver(); - -virtual bool beginTransaction(); -virtual bool cancelQuery(); -virtual void close(); -virtual bool commitTransaction(); -virtual QSqlResult* createResult() const; -virtual QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual QString formatValue(const QSqlField& field, bool trimStrings = false) const; -virtual QVariant handle() const; -virtual bool hasFeature(QSqlDriver::DriverFeature f) const; -virtual bool isIdentifierEscaped(const QString& identifier, QSqlDriver::IdentifierType type) 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 QString stripDelimiters(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual bool subscribeToNotification(const QString& name); -virtual QStringList subscribedToNotifications() const; -virtual QStringList tables(QSql::TableType tableType) const; -virtual bool unsubscribeFromNotification(const QString& name); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlDriver(QObject* parent = nullptr):QSqlDriver(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlDriver() override; + +bool beginTransaction() override; +bool cancelQuery() override; +void childEvent(QChildEvent* event) override; +void close() override; +bool commitTransaction() override; +QSqlResult* createResult() const override; +void customEvent(QEvent* event) override; +QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString formatValue(const QSqlField& field, bool trimStrings = false) const override; +QVariant handle() const override; +bool hasFeature(QSqlDriver::DriverFeature f) const override; +bool isIdentifierEscaped(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool isOpen() const override; +bool open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()) override; +QSqlIndex primaryIndex(const QString& tableName) const override; +QSqlRecord record(const QString& tableName) const override; +bool rollbackTransaction() override; +void setLastError(const QSqlError& e) override; +void setOpen(bool o) override; +void setOpenError(bool e) override; +QString sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const override; +QString stripDelimiters(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool subscribeToNotification(const QString& name) override; +QStringList subscribedToNotifications() const override; +QStringList tables(QSql::TableType tableType) const override; +void timerEvent(QTimerEvent* event) override; +bool unsubscribeFromNotification(const QString& name) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriver : public QSqlDriver @@ -205,7 +219,7 @@ enum StatementType{ WhereStatement = QSqlDriver::WhereStatement, SelectStatement = QSqlDriver::SelectStatement, UpdateStatement = QSqlDriver::UpdateStatement, InsertStatement = QSqlDriver::InsertStatement, DeleteStatement = QSqlDriver::DeleteStatement}; public slots: QSqlDriver* new_QSqlDriver(QObject* parent = nullptr); -void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } +void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } bool beginTransaction(QSqlDriver* theWrappedObject); bool py_q_beginTransaction(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_beginTransaction());} bool py_q_cancelQuery(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_cancelQuery());} @@ -267,13 +281,13 @@ void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase { public: - PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(NULL) {}; + PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(nullptr) {}; - ~PythonQtShell_QSqlDriverCreatorBase(); + ~PythonQtShell_QSqlDriverCreatorBase() override; -virtual QSqlDriver* createObject() const; +QSqlDriver* createObject() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriverCreatorBase : public QSqlDriverCreatorBase @@ -286,7 +300,7 @@ class PythonQtWrapper_QSqlDriverCreatorBase : public QObject public: public slots: QSqlDriverCreatorBase* new_QSqlDriverCreatorBase(); -void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } +void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } QSqlDriver* createObject(QSqlDriverCreatorBase* theWrappedObject) const; QSqlDriver* py_q_createObject(QSqlDriverCreatorBase* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlDriverCreatorBase*)theWrappedObject)->py_q_createObject());} }; @@ -295,6 +309,39 @@ void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } +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, const QString& errorCode = QString()); +QSqlError* new_QSqlError(const QString& driverText, const QString& databaseText, QSqlError::ErrorType type, int number); +void delete_QSqlError(QSqlError* obj) { delete obj; } + QString databaseText(QSqlError* theWrappedObject) const; + QString driverText(QSqlError* theWrappedObject) const; + bool isValid(QSqlError* theWrappedObject) const; + QString nativeErrorCode(QSqlError* theWrappedObject) const; + int number(QSqlError* theWrappedObject) const; + bool __ne__(QSqlError* theWrappedObject, const QSqlError& other) const; + bool __eq__(QSqlError* theWrappedObject, const QSqlError& other) const; + void setDatabaseText(QSqlError* theWrappedObject, const QString& databaseText); + void setDriverText(QSqlError* theWrappedObject, const QString& driverText); + void setNumber(QSqlError* theWrappedObject, int number); + void setType(QSqlError* theWrappedObject, QSqlError::ErrorType type); + void swap(QSqlError* theWrappedObject, QSqlError& other); + QString text(QSqlError* theWrappedObject) const; + QSqlError::ErrorType type(QSqlError* theWrappedObject) const; + QString py_toString(QSqlError*); + bool __nonzero__(QSqlError* obj) { return obj->isValid(); } +}; + + + + + class PythonQtWrapper_QSqlField : public QObject { Q_OBJECT public: @@ -304,7 +351,7 @@ enum RequiredStatus{ public slots: QSqlField* new_QSqlField(const QSqlField& other); QSqlField* new_QSqlField(const QString& fieldName, QVariant::Type type, const QString& tableName); -void delete_QSqlField(QSqlField* obj) { delete obj; } +void delete_QSqlField(QSqlField* obj) { delete obj; } void clear(QSqlField* theWrappedObject); QVariant defaultValue(QSqlField* theWrappedObject) const; bool isAutoValue(QSqlField* theWrappedObject) const; @@ -349,7 +396,7 @@ class PythonQtWrapper_QSqlIndex : public QObject 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; } +void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } void append(QSqlIndex* theWrappedObject, const QSqlField& field); void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); QString cursorName(QSqlIndex* theWrappedObject) const; @@ -376,7 +423,7 @@ 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; } +void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } void addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type = QSql::In); int at(QSqlQuery* theWrappedObject) const; void bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type = QSql::In); @@ -426,49 +473,54 @@ void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } class PythonQtShell_QSqlQueryModel : public QSqlQueryModel { public: - PythonQtShell_QSqlQueryModel(QObject* parent = nullptr):QSqlQueryModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlQueryModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 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 = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) 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 bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlQueryModel(QObject* parent = nullptr):QSqlQueryModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlQueryModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +void queryChange() override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlQueryModel : public QSqlQueryModel @@ -506,7 +558,7 @@ class PythonQtWrapper_QSqlQueryModel : public QObject public: public slots: QSqlQueryModel* new_QSqlQueryModel(QObject* parent = nullptr); -void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } +void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } void beginInsertColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginInsertRows(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginRemoveColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); @@ -552,7 +604,7 @@ class PythonQtWrapper_QSqlRecord : public QObject public slots: QSqlRecord* new_QSqlRecord(); QSqlRecord* new_QSqlRecord(const QSqlRecord& other); -void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } +void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } void append(QSqlRecord* theWrappedObject, const QSqlField& field); void clear(QSqlRecord* theWrappedObject); void clearValues(QSqlRecord* theWrappedObject); @@ -589,66 +641,94 @@ void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } +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 displayColumn(QSqlRelation* theWrappedObject) const; + QString indexColumn(QSqlRelation* theWrappedObject) const; + bool isValid(QSqlRelation* theWrappedObject) const; + void swap(QSqlRelation* theWrappedObject, QSqlRelation& other); + QString tableName(QSqlRelation* theWrappedObject) const; + bool __nonzero__(QSqlRelation* obj) { return obj->isValid(); } +}; + + + + + class PythonQtShell_QSqlRelationalTableModel : public QSqlRelationalTableModel { public: - PythonQtShell_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlRelationalTableModel(parent, db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlRelationalTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 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 = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -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 = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 = QModelIndex()); -virtual void revert(); -virtual void revertRow(int row); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool select(); -virtual bool selectRow(int row); -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 = Qt::EditRole); -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 QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlRelationalTableModel(parent, db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlRelationalTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const override; +bool deleteRowFromTable(int row) override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRowIntoTable(const QSqlRecord& values) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QString orderByClause() const override; +void queryChange() override; +QSqlTableModel* relationModel(int column) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +void revertRow(int row) override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool select() override; +bool selectRow(int row) override; +QString selectStatement() const override; +bool setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole) override; +void setEditStrategy(QSqlTableModel::EditStrategy strategy) override; +void setFilter(const QString& filter) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setRelation(int column, const QSqlRelation& relation) override; +void setSort(int column, Qt::SortOrder order) override; +void setTable(const QString& tableName) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; +bool updateRowInTable(int row, const QSqlRecord& values) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlRelationalTableModel : public QSqlRelationalTableModel @@ -680,7 +760,7 @@ enum JoinMode{ InnerJoin = QSqlRelationalTableModel::InnerJoin, LeftJoin = QSqlRelationalTableModel::LeftJoin}; public slots: QSqlRelationalTableModel* new_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } +void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } void py_q_clear(QSqlRelationalTableModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_clear());} QVariant py_q_data(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_data(item, role));} bool py_q_insertRowIntoTable(QSqlRelationalTableModel* theWrappedObject, const QSqlRecord& values){ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_insertRowIntoTable(values));} @@ -707,41 +787,40 @@ void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj class PythonQtShell_QSqlResult : public QSqlResult { public: - PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlResult(); - -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 void detachFromResultSet(); -virtual bool exec(); -virtual bool execBatch(bool arrayBind = false); -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 bool nextResult(); -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 setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy); -virtual void setQuery(const QString& query); -virtual void setSelect(bool s); -virtual int size(); -virtual void virtual_hook(int id, void* data); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlResult() override; + +void bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) override; +void bindValue(int pos, const QVariant& val, QSql::ParamType type) override; +QVariant data(int i) override; +void detachFromResultSet() override; +bool exec() override; +bool execBatch(bool arrayBind = false) override; +bool fetch(int i) override; +bool fetchFirst() override; +bool fetchLast() override; +bool fetchNext() override; +bool fetchPrevious() override; +QVariant handle() const override; +bool isNull(int i) override; +QVariant lastInsertId() const override; +bool nextResult() override; +int numRowsAffected() override; +bool prepare(const QString& query) override; +QSqlRecord record() const override; +bool reset(const QString& sqlquery) override; +bool savePrepare(const QString& sqlquery) override; +void setActive(bool a) override; +void setAt(int at) override; +void setForwardOnly(bool forward) override; +void setLastError(const QSqlError& e) override; +void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy) override; +void setQuery(const QString& query) override; +void setSelect(bool s) override; +int size() override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlResult : public QSqlResult @@ -839,7 +918,7 @@ enum VirtualHookOperation{ }; public slots: QSqlResult* new_QSqlResult(const QSqlDriver* db); -void delete_QSqlResult(QSqlResult* obj) { delete obj; } +void delete_QSqlResult(QSqlResult* obj) { delete obj; } void addBindValue(QSqlResult* theWrappedObject, const QVariant& val, QSql::ParamType type); int at(QSqlResult* theWrappedObject) const; void bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type); @@ -927,61 +1006,66 @@ void delete_QSqlResult(QSqlResult* obj) { delete obj; } class PythonQtShell_QSqlTableModel : public QSqlTableModel { public: - PythonQtShell_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -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 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 = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -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 = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -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 QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool select(); -virtual bool selectRow(int row); -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 = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSort(int column, Qt::SortOrder order); -virtual void setTable(const QString& tableName); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& idx, int role = Qt::DisplayRole) const override; +bool deleteRowFromTable(int row) override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRowIntoTable(const QSqlRecord& values) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QString orderByClause() const override; +void queryChange() override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +void revertRow(int row) override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool select() override; +bool selectRow(int row) override; +QString selectStatement() const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +void setEditStrategy(QSqlTableModel::EditStrategy strategy) override; +void setFilter(const QString& filter) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSort(int column, Qt::SortOrder order) override; +void setTable(const QString& tableName) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; +bool updateRowInTable(int row, const QSqlRecord& values) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlTableModel : public QSqlTableModel @@ -1030,7 +1114,7 @@ enum EditStrategy{ OnFieldChange = QSqlTableModel::OnFieldChange, OnRowChange = QSqlTableModel::OnRowChange, OnManualSubmit = QSqlTableModel::OnManualSubmit}; public slots: QSqlTableModel* new_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } +void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } void py_q_clear(QSqlTableModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_clear());} QVariant py_q_data(QSqlTableModel* theWrappedObject, const QModelIndex& idx, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_data(idx, role));} QSqlDatabase database(QSqlTableModel* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp similarity index 71% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp index fb993663..3747b859 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp @@ -5,15 +5,17 @@ void PythonQt_init_QtSql(PyObject* module) { -PythonQt::priv()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSqlDatabase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlDriver::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSqlDriverCreatorBase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSqlField", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlIndex", "QSqlRecord", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QSqlError", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlField", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlIndex", "QSqlRecord", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlQueryModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlRelation", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlRelationalTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSqlResult", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSqlTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg.pri b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg.pri rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp similarity index 50% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index 2379a4ce..3985473f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -12,23 +12,48 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include #include -#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include #include #include -#include +#include +#include #include #include #include @@ -37,30 +62,946 @@ PythonQtShell_QGraphicsSvgItem::~PythonQtShell_QGraphicsSvgItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsSvgItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::boundingRect(); +} +void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::childEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::contains(point0); +} +void PythonQtShell_QGraphicsSvgItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::customEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dropEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::event(ev0); +} +bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsSvgItem::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::extension(variant0); +} +void PythonQtShell_QGraphicsSvgItem::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsSvgItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsSvgItem::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsSvgItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsSvgItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsSvgItem::opaqueArea() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::opaqueArea(); +} +void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsSvgItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsSvgItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsSvgItem::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -68,21 +1009,54 @@ if (_wrapper) { } } } - return QGraphicsSvgItem::boundingRect(); + return QGraphicsSvgItem::shape(); } -void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsSvgItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsSvgItem::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -90,7 +1064,7 @@ if (_wrapper) { } } } - QGraphicsSvgItem::paint(painter0, option1, widget2); + QGraphicsSvgItem::timerEvent(event0); } int PythonQtShell_QGraphicsSvgItem::type() const { @@ -103,19 +1077,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -125,6 +1099,28 @@ if (_wrapper) { } return QGraphicsSvgItem::type(); } +void PythonQtShell_QGraphicsSvgItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::wheelEvent(event0); +} QGraphicsSvgItem* PythonQtWrapper_QGraphicsSvgItem::new_QGraphicsSvgItem(QGraphicsItem* parentItem) { return new PythonQtShell_QGraphicsSvgItem(parentItem); } @@ -146,11 +1142,6 @@ int PythonQtShell_QGraphicsSvgItem::qt_metacall(QMetaObject::Call call, int id, int result = QGraphicsSvgItem::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QRectF PythonQtWrapper_QGraphicsSvgItem::boundingRect(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - QString PythonQtWrapper_QGraphicsSvgItem::elementId(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->elementId()); @@ -166,11 +1157,6 @@ QSize PythonQtWrapper_QGraphicsSvgItem::maximumCacheSize(QGraphicsSvgItem* theW return ( theWrappedObject->maximumCacheSize()); } -void PythonQtWrapper_QGraphicsSvgItem::paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - QSvgRenderer* PythonQtWrapper_QGraphicsSvgItem::renderer(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->renderer()); @@ -196,11 +1182,6 @@ void PythonQtWrapper_QGraphicsSvgItem::setSharedRenderer(QGraphicsSvgItem* theWr ( theWrappedObject->setSharedRenderer(renderer)); } -int PythonQtWrapper_QGraphicsSvgItem::type(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { @@ -218,19 +1199,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -250,9 +1231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -273,19 +1254,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -306,19 +1287,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -339,19 +1320,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -372,19 +1353,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -484,6 +1465,138 @@ PythonQtShell_QSvgRenderer::~PythonQtShell_QSvgRenderer() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QSvgRenderer::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgRenderer::childEvent(event0); +} +void PythonQtShell_QSvgRenderer::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgRenderer::customEvent(event0); +} +bool PythonQtShell_QSvgRenderer::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgRenderer::event(event0); +} +bool PythonQtShell_QSvgRenderer::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgRenderer::eventFilter(watched0, event1); +} +void PythonQtShell_QSvgRenderer::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgRenderer::timerEvent(event0); +} QSvgRenderer* PythonQtWrapper_QSvgRenderer::new_QSvgRenderer(QObject* parent) { return new PythonQtShell_QSvgRenderer(parent); } @@ -619,9 +1732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -641,9 +1754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -653,6 +1766,28 @@ if (_wrapper) { } QSvgWidget::changeEvent(arg__1); } +void PythonQtShell_QSvgWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgWidget::childEvent(event0); +} void PythonQtShell_QSvgWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { @@ -663,9 +1798,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -685,9 +1820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -697,6 +1832,28 @@ if (_wrapper) { } QSvgWidget::contextMenuEvent(event0); } +void PythonQtShell_QSvgWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgWidget::customEvent(event0); +} int PythonQtShell_QSvgWidget::devType() const { if (_wrapper) { @@ -708,19 +1865,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -740,9 +1897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -762,9 +1919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -784,9 +1941,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -806,9 +1963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -828,9 +1985,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -851,19 +2008,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -873,6 +2030,39 @@ if (_wrapper) { } return QSvgWidget::event(event0); } +bool PythonQtShell_QSvgWidget::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSvgWidget::eventFilter(watched0, event1); +} void PythonQtShell_QSvgWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { @@ -883,9 +2073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -906,19 +2096,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -938,9 +2128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -961,19 +2151,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -994,19 +2184,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1026,9 +2216,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1048,9 +2238,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1070,9 +2260,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1093,19 +2283,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1125,9 +2315,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1147,9 +2337,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1169,9 +2359,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1192,19 +2382,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1225,19 +2415,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1257,9 +2447,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1279,9 +2469,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1301,9 +2491,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1323,9 +2513,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1345,9 +2535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1368,19 +2558,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1401,19 +2591,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1433,9 +2623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1456,19 +2646,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1488,9 +2678,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1510,9 +2700,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1533,19 +2723,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1565,9 +2755,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1588,19 +2778,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1620,9 +2810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1632,6 +2822,28 @@ if (_wrapper) { } QSvgWidget::tabletEvent(event0); } +void PythonQtShell_QSvgWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSvgWidget::timerEvent(event0); +} void PythonQtShell_QSvgWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { @@ -1642,9 +2854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.h b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.h similarity index 54% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.h rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.h index 123cc743..10669e3b 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.h @@ -10,24 +10,51 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include #include +#include +#include #include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include #include #include #include #include +#include +#include #include #include #include @@ -37,18 +64,55 @@ class PythonQtShell_QGraphicsSvgItem : public QGraphicsSvgItem { public: - PythonQtShell_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(parentItem),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(fileName, parentItem),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsSvgItem(); - -virtual QRectF boundingRect() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual int type() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(parentItem),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(fileName, parentItem),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsSvgItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSvgItem : public QGraphicsSvgItem @@ -67,20 +131,17 @@ enum enum_1{ public slots: QGraphicsSvgItem* new_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr); QGraphicsSvgItem* new_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr); -void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSvgItem* theWrappedObject) const; +void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_boundingRect());} QString elementId(QGraphicsSvgItem* theWrappedObject) const; bool isCachingEnabled(QGraphicsSvgItem* theWrappedObject) const; QSize maximumCacheSize(QGraphicsSvgItem* theWrappedObject) const; - void paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QSvgRenderer* renderer(QGraphicsSvgItem* theWrappedObject) const; void setCachingEnabled(QGraphicsSvgItem* theWrappedObject, bool arg__1); void setElementId(QGraphicsSvgItem* theWrappedObject, const QString& id); void setMaximumCacheSize(QGraphicsSvgItem* theWrappedObject, const QSize& size); void setSharedRenderer(QGraphicsSvgItem* theWrappedObject, QSvgRenderer* renderer); - int type(QGraphicsSvgItem* theWrappedObject) const; int py_q_type(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_type());} }; @@ -91,18 +152,18 @@ void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } class PythonQtShell_QSvgGenerator : public QSvgGenerator { public: - PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(NULL) {}; + PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(nullptr) {}; - ~PythonQtShell_QSvgGenerator(); + ~PythonQtShell_QSvgGenerator() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator @@ -118,7 +179,7 @@ class PythonQtWrapper_QSvgGenerator : public QObject public: public slots: QSvgGenerator* new_QSvgGenerator(); -void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } +void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } QString description(QSvgGenerator* theWrappedObject) const; QString fileName(QSvgGenerator* theWrappedObject) const; int py_q_metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->py_q_metric(metric));} @@ -146,17 +207,22 @@ void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } class PythonQtShell_QSvgRenderer : public QSvgRenderer { public: - PythonQtShell_QSvgRenderer(QObject* parent = nullptr):QSvgRenderer(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = nullptr):QSvgRenderer(filename, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSvgRenderer(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSvgRenderer(QObject* parent = nullptr):QSvgRenderer(parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = nullptr):QSvgRenderer(filename, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSvgRenderer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSvgRenderer : public QObject @@ -167,7 +233,7 @@ QSvgRenderer* new_QSvgRenderer(QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(const QString& filename, QObject* parent = nullptr); -void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } +void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } bool animated(QSvgRenderer* theWrappedObject) const; int animationDuration(QSvgRenderer* theWrappedObject) const; Qt::AspectRatioMode aspectRatioMode(QSvgRenderer* theWrappedObject) const; @@ -196,56 +262,60 @@ void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } class PythonQtShell_QSvgWidget : public QSvgWidget { public: - PythonQtShell_QSvgWidget(QWidget* parent = nullptr):QSvgWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = nullptr):QSvgWidget(file, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSvgWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSvgWidget(QWidget* parent = nullptr):QSvgWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = nullptr):QSvgWidget(file, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSvgWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgWidget : public QSvgWidget @@ -261,7 +331,7 @@ class PythonQtWrapper_QSvgWidget : public QObject public slots: QSvgWidget* new_QSvgWidget(QWidget* parent = nullptr); QSvgWidget* new_QSvgWidget(const QString& file, QWidget* parent = nullptr); -void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } +void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } void py_q_paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QSvgWidget*)theWrappedObject)->py_q_paintEvent(event));} QSvgRenderer* renderer(QSvgWidget* theWrappedObject) const; QSize sizeHint(QSvgWidget* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp diff --git a/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri new file mode 100644 index 00000000..680ce525 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_uitools0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_uitools0.cpp \ + $$PWD/com_trolltech_qt_uitools_init.cpp diff --git a/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp new file mode 100644 index 00000000..dde5bcb8 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -0,0 +1,390 @@ +#include "com_trolltech_qt_uitools0.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QUiLoader::~PythonQtShell_QUiLoader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUiLoader::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUiLoader::childEvent(event0); +} +QAction* PythonQtShell_QUiLoader::createAction(QObject* parent0, const QString& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAction*" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QAction* returnValue{}; + void* args[3] = {nullptr, (void*)&parent0, (void*)&name1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createAction", methodInfo, result); + } else { + returnValue = *((QAction**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createAction(parent0, name1); +} +QActionGroup* PythonQtShell_QUiLoader::createActionGroup(QObject* parent0, const QString& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createActionGroup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QActionGroup*" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QActionGroup* returnValue{}; + void* args[3] = {nullptr, (void*)&parent0, (void*)&name1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createActionGroup", methodInfo, result); + } else { + returnValue = *((QActionGroup**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createActionGroup(parent0, name1); +} +QLayout* PythonQtShell_QUiLoader::createLayout(const QString& className0, QObject* parent1, const QString& name2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QLayout*" , "const QString&" , "QObject*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QLayout* returnValue{}; + void* args[4] = {nullptr, (void*)&className0, (void*)&parent1, (void*)&name2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createLayout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createLayout(className0, parent1, name2); +} +QWidget* PythonQtShell_QUiLoader::createWidget(const QString& className0, QWidget* parent1, const QString& name2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("createWidget"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWidget*" , "const QString&" , "QWidget*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&className0, (void*)&parent1, (void*)&name2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::createWidget(className0, parent1, name2); +} +void PythonQtShell_QUiLoader::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUiLoader::customEvent(event0); +} +bool PythonQtShell_QUiLoader::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::event(event0); +} +bool PythonQtShell_QUiLoader::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUiLoader::eventFilter(watched0, event1); +} +void PythonQtShell_QUiLoader::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUiLoader::timerEvent(event0); +} +QUiLoader* PythonQtWrapper_QUiLoader::new_QUiLoader(QObject* parent) +{ +return new PythonQtShell_QUiLoader(parent); } + +const QMetaObject* PythonQtShell_QUiLoader::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUiLoader::staticMetaObject); + } else { + return &QUiLoader::staticMetaObject; + } +} +int PythonQtShell_QUiLoader::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUiLoader::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QUiLoader::addPluginPath(QUiLoader* theWrappedObject, const QString& path) +{ + ( theWrappedObject->addPluginPath(path)); +} + +QStringList PythonQtWrapper_QUiLoader::availableLayouts(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->availableLayouts()); +} + +QStringList PythonQtWrapper_QUiLoader::availableWidgets(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->availableWidgets()); +} + +void PythonQtWrapper_QUiLoader::clearPluginPaths(QUiLoader* theWrappedObject) +{ + ( theWrappedObject->clearPluginPaths()); +} + +QAction* PythonQtWrapper_QUiLoader::createAction(QUiLoader* theWrappedObject, QObject* parent, const QString& name) +{ + return ( theWrappedObject->createAction(parent, name)); +} + +QActionGroup* PythonQtWrapper_QUiLoader::createActionGroup(QUiLoader* theWrappedObject, QObject* parent, const QString& name) +{ + return ( theWrappedObject->createActionGroup(parent, name)); +} + +QLayout* PythonQtWrapper_QUiLoader::createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent, const QString& name) +{ + return ( theWrappedObject->createLayout(className, parent, name)); +} + +QWidget* PythonQtWrapper_QUiLoader::createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent, const QString& name) +{ + return ( theWrappedObject->createWidget(className, parent, name)); +} + +QString PythonQtWrapper_QUiLoader::errorString(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QUiLoader::isLanguageChangeEnabled(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->isLanguageChangeEnabled()); +} + +bool PythonQtWrapper_QUiLoader::isTranslationEnabled(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->isTranslationEnabled()); +} + +QWidget* PythonQtWrapper_QUiLoader::load(QUiLoader* theWrappedObject, QIODevice* device, QWidget* parentWidget) +{ + return ( theWrappedObject->load(device, parentWidget)); +} + +QStringList PythonQtWrapper_QUiLoader::pluginPaths(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->pluginPaths()); +} + +void PythonQtWrapper_QUiLoader::setLanguageChangeEnabled(QUiLoader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setLanguageChangeEnabled(enabled)); +} + +void PythonQtWrapper_QUiLoader::setTranslationEnabled(QUiLoader* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setTranslationEnabled(enabled)); +} + +void PythonQtWrapper_QUiLoader::setWorkingDirectory(QUiLoader* theWrappedObject, const QDir& dir) +{ + ( theWrappedObject->setWorkingDirectory(dir)); +} + +QDir PythonQtWrapper_QUiLoader::workingDirectory(QUiLoader* theWrappedObject) const +{ + return ( theWrappedObject->workingDirectory()); +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h new file mode 100644 index 00000000..3c35bef4 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h @@ -0,0 +1,80 @@ +#include +#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 = nullptr):QUiLoader(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUiLoader() override; + +void childEvent(QChildEvent* event) override; +QAction* createAction(QObject* parent = nullptr, const QString& name = QString()) override; +QActionGroup* createActionGroup(QObject* parent = nullptr, const QString& name = QString()) override; +QLayout* createLayout(const QString& className, QObject* parent = nullptr, const QString& name = QString()) override; +QWidget* createWidget(const QString& className, QWidget* parent = nullptr, const QString& name = QString()) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUiLoader : public QUiLoader +{ public: +inline QAction* py_q_createAction(QObject* parent = nullptr, const QString& name = QString()) { return QUiLoader::createAction(parent, name); } +inline QActionGroup* py_q_createActionGroup(QObject* parent = nullptr, const QString& name = QString()) { return QUiLoader::createActionGroup(parent, name); } +inline QLayout* py_q_createLayout(const QString& className, QObject* parent = nullptr, const QString& name = QString()) { return QUiLoader::createLayout(className, parent, name); } +inline QWidget* py_q_createWidget(const QString& className, QWidget* parent = nullptr, const QString& name = QString()) { return QUiLoader::createWidget(className, parent, name); } +}; + +class PythonQtWrapper_QUiLoader : public QObject +{ Q_OBJECT +public: +public slots: +QUiLoader* new_QUiLoader(QObject* parent = nullptr); +void delete_QUiLoader(QUiLoader* obj) { delete obj; } + void addPluginPath(QUiLoader* theWrappedObject, const QString& path); + QStringList availableLayouts(QUiLoader* theWrappedObject) const; + QStringList availableWidgets(QUiLoader* theWrappedObject) const; + void clearPluginPaths(QUiLoader* theWrappedObject); + QAction* createAction(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()); + QAction* py_q_createAction(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createAction(parent, name));} + QActionGroup* createActionGroup(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()); + QActionGroup* py_q_createActionGroup(QUiLoader* theWrappedObject, QObject* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createActionGroup(parent, name));} + QLayout* createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent = nullptr, const QString& name = QString()); + QLayout* py_q_createLayout(QUiLoader* theWrappedObject, const QString& className, QObject* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createLayout(className, parent, name));} + QWidget* createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent = nullptr, const QString& name = QString()); + QWidget* py_q_createWidget(QUiLoader* theWrappedObject, const QString& className, QWidget* parent = nullptr, const QString& name = QString()){ return (((PythonQtPublicPromoter_QUiLoader*)theWrappedObject)->py_q_createWidget(className, parent, name));} + QString errorString(QUiLoader* theWrappedObject) const; + bool isLanguageChangeEnabled(QUiLoader* theWrappedObject) const; + bool isTranslationEnabled(QUiLoader* theWrappedObject) const; + QWidget* load(QUiLoader* theWrappedObject, QIODevice* device, QWidget* parentWidget = nullptr); + QStringList pluginPaths(QUiLoader* theWrappedObject) const; + void setLanguageChangeEnabled(QUiLoader* theWrappedObject, bool enabled); + void setTranslationEnabled(QUiLoader* theWrappedObject, bool enabled); + void setWorkingDirectory(QUiLoader* theWrappedObject, const QDir& dir); + QDir workingDirectory(QUiLoader* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp new file mode 100644 index 00000000..068f7b08 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp @@ -0,0 +1,11 @@ +#include +#include +#include "com_trolltech_qt_uitools0.h" + + + +void PythonQt_init_QtUiTools(PyObject* module) { +PythonQt::priv()->registerClass(&QUiLoader::staticMetaObject, "QtUiTools", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml.pri b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml.pri similarity index 64% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml.pri rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml.pri index 08630adb..222476a5 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml.pri @@ -1,6 +1,8 @@ HEADERS += \ $$PWD/com_trolltech_qt_xml0.h \ + $$PWD/com_trolltech_qt_xml1.h \ SOURCES += \ $$PWD/com_trolltech_qt_xml0.cpp \ + $$PWD/com_trolltech_qt_xml1.cpp \ $$PWD/com_trolltech_qt_xml_init.cpp diff --git a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp similarity index 64% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index 7aeccf01..f6a466c7 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -3,9 +3,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -1069,6 +1069,105 @@ QDomText PythonQtWrapper_QDomText::splitText(QDomText* theWrappedObject, int o +PythonQtShell_QXmlAttributes::~PythonQtShell_QXmlAttributes() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QXmlAttributes* PythonQtWrapper_QXmlAttributes::new_QXmlAttributes() +{ +return new PythonQtShell_QXmlAttributes(); } + +QXmlAttributes* PythonQtWrapper_QXmlAttributes::new_QXmlAttributes(const QXmlAttributes& arg__1) +{ +return new PythonQtShell_QXmlAttributes(arg__1); } + +void PythonQtWrapper_QXmlAttributes::append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value) +{ + ( theWrappedObject->append(qName, uri, localPart, value)); +} + +void PythonQtWrapper_QXmlAttributes::clear(QXmlAttributes* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QXmlAttributes::count(QXmlAttributes* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& qName) const +{ + return ( theWrappedObject->index(qName)); +} + +int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const +{ + return ( theWrappedObject->index(uri, localPart)); +} + +int PythonQtWrapper_QXmlAttributes::length(QXmlAttributes* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QString PythonQtWrapper_QXmlAttributes::localName(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->localName(index)); +} + +QXmlAttributes* PythonQtWrapper_QXmlAttributes::operator_assign(QXmlAttributes* theWrappedObject, const QXmlAttributes& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +QString PythonQtWrapper_QXmlAttributes::qName(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->qName(index)); +} + +void PythonQtWrapper_QXmlAttributes::swap(QXmlAttributes* theWrappedObject, QXmlAttributes& other) +{ + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& qName) const +{ + return ( theWrappedObject->type(qName)); +} + +QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const +{ + return ( theWrappedObject->type(uri, localName)); +} + +QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->type(index)); +} + +QString PythonQtWrapper_QXmlAttributes::uri(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->uri(index)); +} + +QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& qName) const +{ + return ( theWrappedObject->value(qName)); +} + +QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const +{ + return ( theWrappedObject->value(uri, localName)); +} + +QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, int index) const +{ + return ( theWrappedObject->value(index)); +} + + + PythonQtShell_QXmlContentHandler::~PythonQtShell_QXmlContentHandler() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -1084,19 +1183,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1117,19 +1216,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1150,19 +1249,19 @@ if (_wrapper) { 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*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; + void* args[4] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1183,19 +1282,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&prefix0}; + void* args[2] = {nullptr, (void*)&prefix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1216,19 +1315,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1249,19 +1348,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1282,19 +1381,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&target0, (void*)&data1}; + void* args[3] = {nullptr, (void*)&target0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1314,9 +1413,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLocator*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator0}; + void* args[2] = {nullptr, (void*)&locator0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1337,19 +1436,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1370,19 +1469,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1403,19 +1502,19 @@ if (_wrapper) { 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*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; + void* args[5] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1436,19 +1535,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&prefix0, (void*)&uri1}; + void* args[3] = {nullptr, (void*)&prefix0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1539,19 +1638,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1572,19 +1671,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1605,19 +1704,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; + void* args[5] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1663,19 +1762,19 @@ if (_wrapper) { 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*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; + void* args[6] = {nullptr, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1696,19 +1795,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1729,19 +1828,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1762,19 +1861,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1825,19 +1924,19 @@ if (_wrapper) { 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*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; + void* args[6] = {nullptr, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1858,19 +1957,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1891,19 +1990,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1924,19 +2023,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1957,19 +2056,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1990,19 +2089,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2023,19 +2122,19 @@ if (_wrapper) { 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*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; + void* args[4] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2056,19 +2155,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2089,19 +2188,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&prefix0}; + void* args[2] = {nullptr, (void*)&prefix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2122,19 +2221,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2155,19 +2254,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2188,19 +2287,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2221,19 +2320,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2254,19 +2353,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2287,19 +2386,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2320,19 +2419,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2353,19 +2452,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&target0, (void*)&data1}; + void* args[3] = {nullptr, (void*)&target0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2386,19 +2485,19 @@ if (_wrapper) { 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*)&publicId0, (void*)&systemId1, (void*)&ret2}; + void* args[4] = {nullptr, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2418,9 +2517,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLocator*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator0}; + void* args[2] = {nullptr, (void*)&locator0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2441,19 +2540,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2474,19 +2573,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2507,19 +2606,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2540,19 +2639,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2573,19 +2672,19 @@ if (_wrapper) { 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*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; + void* args[5] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2606,19 +2705,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2639,19 +2738,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&prefix0, (void*)&uri1}; + void* args[3] = {nullptr, (void*)&prefix0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2672,19 +2771,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; + void* args[5] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2705,19 +2804,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2748,19 +2847,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2781,19 +2880,19 @@ if (_wrapper) { 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*)&publicId0, (void*)&systemId1, (void*)&ret2}; + void* args[4] = {nullptr, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2834,19 +2933,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2867,19 +2966,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2900,19 +2999,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2933,19 +3032,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2996,19 +3095,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3028,9 +3127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3051,19 +3150,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QByteArray&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&beginning1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&beginning1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fromRawData", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3084,19 +3183,19 @@ if (_wrapper) { static const char* argumentList[] ={"QChar"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QChar returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("next", methodInfo, result); } else { returnValue = *((QChar*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3116,9 +3215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3138,9 +3237,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat0}; + void* args[2] = {nullptr, (void*)&dat0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3160,9 +3259,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat0}; + void* args[2] = {nullptr, (void*)&dat0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3232,19 +3331,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3265,19 +3364,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3298,19 +3397,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3331,19 +3430,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3364,19 +3463,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3397,19 +3496,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3430,19 +3529,19 @@ if (_wrapper) { 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*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3463,19 +3562,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3546,19 +3645,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3579,19 +3678,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lineNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3652,487 +3751,1342 @@ QString PythonQtWrapper_QXmlParseException::systemId(QXmlParseException* theWra -QXmlStreamAttributes* PythonQtWrapper_QXmlStreamAttributes::new_QXmlStreamAttributes() -{ -return new QXmlStreamAttributes(); } - -void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) -{ - ( theWrappedObject->append(namespaceUri, name, value)); -} - -void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value) -{ - ( theWrappedObject->append(qualifiedName, value)); -} - -bool PythonQtWrapper_QXmlStreamAttributes::hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const -{ - return ( theWrappedObject->hasAttribute(namespaceUri, name)); -} - -bool PythonQtWrapper_QXmlStreamAttributes::hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const -{ - return ( theWrappedObject->hasAttribute(qualifiedName)); -} - -QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const -{ - return ( theWrappedObject->value(namespaceUri, name)); -} - -QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const -{ - return ( theWrappedObject->value(qualifiedName)); -} - - - -void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QByteArray& data) -{ - ( theWrappedObject->addData(data)); -} - -void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QString& data) -{ - ( theWrappedObject->addData(data)); +PythonQtShell_QXmlReader::~PythonQtShell_QXmlReader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction) +QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { - ( theWrappedObject->addExtraNamespaceDeclaration(extraNamespaceDeclaraction)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("DTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDTDHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); + } else { + returnValue = *((QXmlDTDHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions) -{ - ( theWrappedObject->addExtraNamespaceDeclarations(extraNamespaceDeclaractions)); + return nullptr; } - -bool PythonQtWrapper_QXmlStreamReader::atEnd(QXmlStreamReader* theWrappedObject) const +QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { - return ( theWrappedObject->atEnd()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlContentHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); + } else { + returnValue = *((QXmlContentHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QXmlStreamAttributes PythonQtWrapper_QXmlStreamReader::attributes(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->attributes()); + return nullptr; } - -qint64 PythonQtWrapper_QXmlStreamReader::characterOffset(QXmlStreamReader* theWrappedObject) const +QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { - return ( theWrappedObject->characterOffset()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("declHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDeclHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); + } else { + returnValue = *((QXmlDeclHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamReader::clear(QXmlStreamReader* theWrappedObject) -{ - ( theWrappedObject->clear()); + return nullptr; } - -qint64 PythonQtWrapper_QXmlStreamReader::columnNumber(QXmlStreamReader* theWrappedObject) const +QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { - return ( theWrappedObject->columnNumber()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("entityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlEntityResolver* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); + } else { + returnValue = *((QXmlEntityResolver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QIODevice* PythonQtWrapper_QXmlStreamReader::device(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->device()); + return nullptr; } - -QStringRef PythonQtWrapper_QXmlStreamReader::documentEncoding(QXmlStreamReader* theWrappedObject) const +QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { - return ( theWrappedObject->documentEncoding()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlErrorHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); + } else { + returnValue = *((QXmlErrorHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QStringRef PythonQtWrapper_QXmlStreamReader::documentVersion(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->documentVersion()); + return nullptr; } - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdName(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { - return ( theWrappedObject->dtdName()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("feature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdPublicId(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->dtdPublicId()); + return bool(); } - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdSystemId(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { - return ( theWrappedObject->dtdSystemId()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QVector PythonQtWrapper_QXmlStreamReader::entityDeclarations(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->entityDeclarations()); + return bool(); } - -int PythonQtWrapper_QXmlStreamReader::entityExpansionLimit(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { - return ( theWrappedObject->entityExpansionLimit()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamReader::entityResolver(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->entityResolver()); + return bool(); } - -QXmlStreamReader::Error PythonQtWrapper_QXmlStreamReader::error(QXmlStreamReader* theWrappedObject) const +QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { - return ( theWrappedObject->error()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlLexicalHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); + } else { + returnValue = *((QXmlLexicalHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QXmlStreamReader::errorString(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); + return nullptr; } - -bool PythonQtWrapper_QXmlStreamReader::hasError(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { - return ( theWrappedObject->hasError()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isCDATA(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isCDATA()); + return bool(); } - -bool PythonQtWrapper_QXmlStreamReader::isCharacters(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { - return ( theWrappedObject->isCharacters()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isComment(QXmlStreamReader* theWrappedObject) const + return bool(); +} +void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) const { - return ( theWrappedObject->isComment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("property"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isDTD(QXmlStreamReader* theWrappedObject) const + return nullptr; +} +void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { - return ( theWrappedObject->isDTD()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setContentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isEndDocument(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { - return ( theWrappedObject->isEndDocument()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isEndElement(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { - return ( theWrappedObject->isEndElement()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDeclHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isEntityReference(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { - return ( theWrappedObject->isEntityReference()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEntityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isProcessingInstruction(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { - return ( theWrappedObject->isProcessingInstruction()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setErrorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isStandaloneDocument(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { - return ( theWrappedObject->isStandaloneDocument()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isStartDocument(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { - return ( theWrappedObject->isStartDocument()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setLexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isStartElement(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { - return ( theWrappedObject->isStartElement()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } + +} +QXmlReader* PythonQtWrapper_QXmlReader::new_QXmlReader() +{ +return new PythonQtShell_QXmlReader(); } -bool PythonQtWrapper_QXmlStreamReader::isWhitespace(QXmlStreamReader* theWrappedObject) const +QXmlDTDHandler* PythonQtWrapper_QXmlReader::DTDHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->isWhitespace()); + return ( theWrappedObject->DTDHandler()); } -qint64 PythonQtWrapper_QXmlStreamReader::lineNumber(QXmlStreamReader* theWrappedObject) const +QXmlContentHandler* PythonQtWrapper_QXmlReader::contentHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->lineNumber()); + return ( theWrappedObject->contentHandler()); } -QStringRef PythonQtWrapper_QXmlStreamReader::name(QXmlStreamReader* theWrappedObject) const +QXmlDeclHandler* PythonQtWrapper_QXmlReader::declHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->name()); + return ( theWrappedObject->declHandler()); } -QVector PythonQtWrapper_QXmlStreamReader::namespaceDeclarations(QXmlStreamReader* theWrappedObject) const +QXmlEntityResolver* PythonQtWrapper_QXmlReader::entityResolver(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->namespaceDeclarations()); + return ( theWrappedObject->entityResolver()); } -bool PythonQtWrapper_QXmlStreamReader::namespaceProcessing(QXmlStreamReader* theWrappedObject) const +QXmlErrorHandler* PythonQtWrapper_QXmlReader::errorHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->namespaceProcessing()); + return ( theWrappedObject->errorHandler()); } -QStringRef PythonQtWrapper_QXmlStreamReader::namespaceUri(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::feature(QXmlReader* theWrappedObject, const QString& name, bool* ok) const { - return ( theWrappedObject->namespaceUri()); + return ( theWrappedObject->feature(name, ok)); } -QVector PythonQtWrapper_QXmlStreamReader::notationDeclarations(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::hasFeature(QXmlReader* theWrappedObject, const QString& name) const { - return ( theWrappedObject->notationDeclarations()); + return ( theWrappedObject->hasFeature(name)); } -QStringRef PythonQtWrapper_QXmlStreamReader::prefix(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::hasProperty(QXmlReader* theWrappedObject, const QString& name) const { - return ( theWrappedObject->prefix()); + return ( theWrappedObject->hasProperty(name)); } -QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionData(QXmlStreamReader* theWrappedObject) const +QXmlLexicalHandler* PythonQtWrapper_QXmlReader::lexicalHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->processingInstructionData()); + return ( theWrappedObject->lexicalHandler()); } -QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionTarget(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::parse(QXmlReader* theWrappedObject, const QXmlInputSource& input) { - return ( theWrappedObject->processingInstructionTarget()); + return ( theWrappedObject->parse(input)); } -QStringRef PythonQtWrapper_QXmlStreamReader::qualifiedName(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::parse(QXmlReader* theWrappedObject, const QXmlInputSource* input) { - return ( theWrappedObject->qualifiedName()); + return ( theWrappedObject->parse(input)); } -void PythonQtWrapper_QXmlStreamReader::raiseError(QXmlStreamReader* theWrappedObject, const QString& message) +void* PythonQtWrapper_QXmlReader::property(QXmlReader* theWrappedObject, const QString& name, bool* ok) const { - ( theWrappedObject->raiseError(message)); + return ( theWrappedObject->property(name, ok)); } -QString PythonQtWrapper_QXmlStreamReader::readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour) +void PythonQtWrapper_QXmlReader::setContentHandler(QXmlReader* theWrappedObject, QXmlContentHandler* handler) { - return ( theWrappedObject->readElementText(behaviour)); + ( theWrappedObject->setContentHandler(handler)); } -QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::readNext(QXmlStreamReader* theWrappedObject) +void PythonQtWrapper_QXmlReader::setDTDHandler(QXmlReader* theWrappedObject, QXmlDTDHandler* handler) { - return ( theWrappedObject->readNext()); + ( theWrappedObject->setDTDHandler(handler)); } -bool PythonQtWrapper_QXmlStreamReader::readNextStartElement(QXmlStreamReader* theWrappedObject) +void PythonQtWrapper_QXmlReader::setDeclHandler(QXmlReader* theWrappedObject, QXmlDeclHandler* handler) { - return ( theWrappedObject->readNextStartElement()); + ( theWrappedObject->setDeclHandler(handler)); } -void PythonQtWrapper_QXmlStreamReader::setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device) +void PythonQtWrapper_QXmlReader::setEntityResolver(QXmlReader* theWrappedObject, QXmlEntityResolver* handler) { - ( theWrappedObject->setDevice(device)); + ( theWrappedObject->setEntityResolver(handler)); } -void PythonQtWrapper_QXmlStreamReader::setEntityExpansionLimit(QXmlStreamReader* theWrappedObject, int limit) +void PythonQtWrapper_QXmlReader::setErrorHandler(QXmlReader* theWrappedObject, QXmlErrorHandler* handler) { - ( theWrappedObject->setEntityExpansionLimit(limit)); + ( theWrappedObject->setErrorHandler(handler)); } -void PythonQtWrapper_QXmlStreamReader::setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver) +void PythonQtWrapper_QXmlReader::setFeature(QXmlReader* theWrappedObject, const QString& name, bool value) { - ( theWrappedObject->setEntityResolver(resolver)); + ( theWrappedObject->setFeature(name, value)); } -void PythonQtWrapper_QXmlStreamReader::setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1) +void PythonQtWrapper_QXmlReader::setLexicalHandler(QXmlReader* theWrappedObject, QXmlLexicalHandler* handler) { - ( theWrappedObject->setNamespaceProcessing(arg__1)); + ( theWrappedObject->setLexicalHandler(handler)); } -void PythonQtWrapper_QXmlStreamReader::skipCurrentElement(QXmlStreamReader* theWrappedObject) +void PythonQtWrapper_QXmlReader::setProperty(QXmlReader* theWrappedObject, const QString& name, void* value) { - ( theWrappedObject->skipCurrentElement()); + ( theWrappedObject->setProperty(name, value)); } -QStringRef PythonQtWrapper_QXmlStreamReader::text(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} -QString PythonQtWrapper_QXmlStreamReader::tokenString(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->tokenString()); -} -QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::tokenType(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->tokenType()); +PythonQtShell_QXmlSimpleReader::~PythonQtShell_QXmlSimpleReader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - - - -bool PythonQtWrapper_QXmlStreamWriter::autoFormatting(QXmlStreamWriter* theWrappedObject) const +QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { - return ( theWrappedObject->autoFormatting()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("DTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDTDHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("DTDHandler", methodInfo, result); + } else { + returnValue = *((QXmlDTDHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QXmlStreamWriter::autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->autoFormattingIndent()); + return QXmlSimpleReader::DTDHandler(); } - -QTextCodec* PythonQtWrapper_QXmlStreamWriter::codec(QXmlStreamWriter* theWrappedObject) const +QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { - return ( theWrappedObject->codec()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlContentHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contentHandler", methodInfo, result); + } else { + returnValue = *((QXmlContentHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QIODevice* PythonQtWrapper_QXmlStreamWriter::device(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->device()); + return QXmlSimpleReader::contentHandler(); } - -bool PythonQtWrapper_QXmlStreamWriter::hasError(QXmlStreamWriter* theWrappedObject) const +QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { - return ( theWrappedObject->hasError()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("declHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlDeclHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("declHandler", methodInfo, result); + } else { + returnValue = *((QXmlDeclHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setAutoFormatting(arg__1)); + return QXmlSimpleReader::declHandler(); } - -void PythonQtWrapper_QXmlStreamWriter::setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spacesOrTabs) +QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { - ( theWrappedObject->setAutoFormattingIndent(spacesOrTabs)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("entityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlEntityResolver* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("entityResolver", methodInfo, result); + } else { + returnValue = *((QXmlEntityResolver**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec) -{ - ( theWrappedObject->setCodec(codec)); + return QXmlSimpleReader::entityResolver(); } - -void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName) +QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { - ( theWrappedObject->setCodec(codecName)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("errorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlErrorHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("errorHandler", methodInfo, result); + } else { + returnValue = *((QXmlErrorHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); + return QXmlSimpleReader::errorHandler(); } - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) +bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) const { - ( theWrappedObject->writeAttribute(namespaceUri, name, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("feature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("feature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value) -{ - ( theWrappedObject->writeAttribute(qualifiedName, value)); + return QXmlSimpleReader::feature(name0, ok1); } - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute) +bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { - ( theWrappedObject->writeAttribute(attribute)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes) -{ - ( theWrappedObject->writeAttributes(attributes)); + return QXmlSimpleReader::hasFeature(name0); } - -void PythonQtWrapper_QXmlStreamWriter::writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text) +bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { - ( theWrappedObject->writeCDATA(text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hasProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasProperty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text) -{ - ( theWrappedObject->writeCharacters(text)); + return QXmlSimpleReader::hasProperty(name0); } - -void PythonQtWrapper_QXmlStreamWriter::writeComment(QXmlStreamWriter* theWrappedObject, const QString& text) +QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { - ( theWrappedObject->writeComment(text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("lexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QXmlLexicalHandler* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lexicalHandler", methodInfo, result); + } else { + returnValue = *((QXmlLexicalHandler**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader) -{ - ( theWrappedObject->writeCurrentToken(reader)); + return QXmlSimpleReader::lexicalHandler(); } - -void PythonQtWrapper_QXmlStreamWriter::writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd) +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { - ( theWrappedObject->writeDTD(dtd)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri) -{ - ( theWrappedObject->writeDefaultNamespace(namespaceUri)); + return QXmlSimpleReader::parse(input0); } - -void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { - ( theWrappedObject->writeEmptyElement(namespaceUri, name)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) + return QXmlSimpleReader::parse(input0); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool incremental1) { - ( theWrappedObject->writeEmptyElement(qualifiedName)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlInputSource*" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&incremental1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parse", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEndDocument(QXmlStreamWriter* theWrappedObject) + return QXmlSimpleReader::parse(input0, incremental1); +} +bool PythonQtShell_QXmlSimpleReader::parseContinue() { - ( theWrappedObject->writeEndDocument()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("parseContinue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parseContinue", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEndElement(QXmlStreamWriter* theWrappedObject) + return QXmlSimpleReader::parseContinue(); +} +void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok1) const { - ( theWrappedObject->writeEndElement()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("property"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"void*" , "const QString&" , "bool*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* returnValue{}; + void* args[3] = {nullptr, (void*)&name0, (void*)&ok1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); + } else { + returnValue = *((void**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name) + return QXmlSimpleReader::property(name0, ok1); +} +void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler0) { - ( theWrappedObject->writeEntityReference(name)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setContentHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlContentHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix) + QXmlSimpleReader::setContentHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { - ( theWrappedObject->writeNamespace(namespaceUri, prefix)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDTDHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDTDHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data) + QXmlSimpleReader::setDTDHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { - ( theWrappedObject->writeProcessingInstruction(target, data)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setDeclHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlDeclHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject) + QXmlSimpleReader::setDeclHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler0) { - ( theWrappedObject->writeStartDocument()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setEntityResolver"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlEntityResolver*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version) + QXmlSimpleReader::setEntityResolver(handler0); +} +void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0) { - ( theWrappedObject->writeStartDocument(version)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setErrorHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlErrorHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version, bool standalone) + QXmlSimpleReader::setErrorHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool value1) { - ( theWrappedObject->writeStartDocument(version, standalone)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setFeature"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) + QXmlSimpleReader::setFeature(name0, value1); +} +void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler0) { - ( theWrappedObject->writeStartElement(namespaceUri, name)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setLexicalHandler"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QXmlLexicalHandler*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&handler0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) + QXmlSimpleReader::setLexicalHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* value1) { - ( theWrappedObject->writeStartElement(qualifiedName)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("setProperty"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "void*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSimpleReader::setProperty(name0, value1); } +QXmlSimpleReader* PythonQtWrapper_QXmlSimpleReader::new_QXmlSimpleReader() +{ +return new PythonQtShell_QXmlSimpleReader(); } -void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text) +bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental) { - ( theWrappedObject->writeTextElement(namespaceUri, name, text)); + return ( theWrappedObject->parse(input, incremental)); } -void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text) +bool PythonQtWrapper_QXmlSimpleReader::parseContinue(QXmlSimpleReader* theWrappedObject) { - ( theWrappedObject->writeTextElement(qualifiedName, text)); + return ( theWrappedObject->parseContinue()); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.h b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.h similarity index 67% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.h rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.h index 63436afb..28a186dd 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.h @@ -1,9 +1,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -16,7 +16,7 @@ class PythonQtWrapper_QDomAttr : public QObject public slots: QDomAttr* new_QDomAttr(); QDomAttr* new_QDomAttr(const QDomAttr& x); -void delete_QDomAttr(QDomAttr* obj) { delete obj; } +void delete_QDomAttr(QDomAttr* obj) { delete obj; } QString name(QDomAttr* theWrappedObject) const; QDomElement ownerElement(QDomAttr* theWrappedObject) const; void setValue(QDomAttr* theWrappedObject, const QString& arg__1); @@ -35,7 +35,7 @@ class PythonQtWrapper_QDomCDATASection : public QObject public slots: QDomCDATASection* new_QDomCDATASection(); QDomCDATASection* new_QDomCDATASection(const QDomCDATASection& x); -void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } +void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } bool __nonzero__(QDomCDATASection* obj) { return !obj->isNull(); } }; @@ -49,7 +49,7 @@ class PythonQtWrapper_QDomCharacterData : public QObject public slots: QDomCharacterData* new_QDomCharacterData(); QDomCharacterData* new_QDomCharacterData(const QDomCharacterData& x); -void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } +void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } void appendData(QDomCharacterData* theWrappedObject, const QString& arg); QString data(QDomCharacterData* theWrappedObject) const; void deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); @@ -71,7 +71,7 @@ class PythonQtWrapper_QDomComment : public QObject public slots: QDomComment* new_QDomComment(); QDomComment* new_QDomComment(const QDomComment& x); -void delete_QDomComment(QDomComment* obj) { delete obj; } +void delete_QDomComment(QDomComment* obj) { delete obj; } bool __nonzero__(QDomComment* obj) { return !obj->isNull(); } }; @@ -87,7 +87,7 @@ 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; } +void delete_QDomDocument(QDomDocument* obj) { delete obj; } QDomAttr createAttribute(QDomDocument* theWrappedObject, const QString& name); QDomAttr createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); QDomCDATASection createCDATASection(QDomDocument* theWrappedObject, const QString& data); @@ -130,7 +130,7 @@ class PythonQtWrapper_QDomDocumentFragment : public QObject public slots: QDomDocumentFragment* new_QDomDocumentFragment(); QDomDocumentFragment* new_QDomDocumentFragment(const QDomDocumentFragment& x); -void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } +void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } bool __nonzero__(QDomDocumentFragment* obj) { return !obj->isNull(); } }; @@ -144,7 +144,7 @@ class PythonQtWrapper_QDomDocumentType : public QObject public slots: QDomDocumentType* new_QDomDocumentType(); QDomDocumentType* new_QDomDocumentType(const QDomDocumentType& x); -void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } +void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } QDomNamedNodeMap entities(QDomDocumentType* theWrappedObject) const; QString internalSubset(QDomDocumentType* theWrappedObject) const; QString name(QDomDocumentType* theWrappedObject) const; @@ -164,7 +164,7 @@ class PythonQtWrapper_QDomElement : public QObject public slots: QDomElement* new_QDomElement(); QDomElement* new_QDomElement(const QDomElement& x); -void delete_QDomElement(QDomElement* obj) { delete obj; } +void delete_QDomElement(QDomElement* obj) { delete obj; } QString attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue = QString()) const; QString attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue = QString()) const; QDomAttr attributeNode(QDomElement* theWrappedObject, const QString& name); @@ -204,7 +204,7 @@ class PythonQtWrapper_QDomEntity : public QObject public slots: QDomEntity* new_QDomEntity(); QDomEntity* new_QDomEntity(const QDomEntity& x); -void delete_QDomEntity(QDomEntity* obj) { delete obj; } +void delete_QDomEntity(QDomEntity* obj) { delete obj; } QString notationName(QDomEntity* theWrappedObject) const; QString publicId(QDomEntity* theWrappedObject) const; QString systemId(QDomEntity* theWrappedObject) const; @@ -221,7 +221,7 @@ class PythonQtWrapper_QDomEntityReference : public QObject public slots: QDomEntityReference* new_QDomEntityReference(); QDomEntityReference* new_QDomEntityReference(const QDomEntityReference& x); -void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } +void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } bool __nonzero__(QDomEntityReference* obj) { return !obj->isNull(); } }; @@ -238,7 +238,7 @@ enum InvalidDataPolicy{ public slots: QDomImplementation* new_QDomImplementation(); QDomImplementation* new_QDomImplementation(const QDomImplementation& arg__1); -void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } +void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } QDomDocument createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype); QDomDocumentType createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId); bool hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const; @@ -260,7 +260,7 @@ class PythonQtWrapper_QDomNamedNodeMap : public QObject public slots: QDomNamedNodeMap* new_QDomNamedNodeMap(); QDomNamedNodeMap* new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1); -void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } +void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } bool contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const; int count(QDomNamedNodeMap* theWrappedObject) const; bool isEmpty(QDomNamedNodeMap* theWrappedObject) const; @@ -293,7 +293,7 @@ enum NodeType{ public slots: QDomNode* new_QDomNode(); QDomNode* new_QDomNode(const QDomNode& arg__1); -void delete_QDomNode(QDomNode* obj) { delete obj; } +void delete_QDomNode(QDomNode* obj) { delete obj; } QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild); QDomNodeList childNodes(QDomNode* theWrappedObject) const; void clear(QDomNode* theWrappedObject); @@ -371,7 +371,7 @@ class PythonQtWrapper_QDomNodeList : public QObject public slots: QDomNodeList* new_QDomNodeList(); QDomNodeList* new_QDomNodeList(const QDomNodeList& arg__1); -void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } +void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } QDomNode at(QDomNodeList* theWrappedObject, int index) const; int count(QDomNodeList* theWrappedObject) const; bool isEmpty(QDomNodeList* theWrappedObject) const; @@ -393,7 +393,7 @@ class PythonQtWrapper_QDomNotation : public QObject public slots: QDomNotation* new_QDomNotation(); QDomNotation* new_QDomNotation(const QDomNotation& x); -void delete_QDomNotation(QDomNotation* obj) { delete obj; } +void delete_QDomNotation(QDomNotation* obj) { delete obj; } QString publicId(QDomNotation* theWrappedObject) const; QString systemId(QDomNotation* theWrappedObject) const; bool __nonzero__(QDomNotation* obj) { return !obj->isNull(); } @@ -409,7 +409,7 @@ class PythonQtWrapper_QDomProcessingInstruction : public QObject public slots: QDomProcessingInstruction* new_QDomProcessingInstruction(); QDomProcessingInstruction* new_QDomProcessingInstruction(const QDomProcessingInstruction& x); -void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } +void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } QString data(QDomProcessingInstruction* theWrappedObject) const; void setData(QDomProcessingInstruction* theWrappedObject, const QString& d); QString target(QDomProcessingInstruction* theWrappedObject) const; @@ -426,7 +426,7 @@ class PythonQtWrapper_QDomText : public QObject public slots: QDomText* new_QDomText(); QDomText* new_QDomText(const QDomText& x); -void delete_QDomText(QDomText* obj) { delete obj; } +void delete_QDomText(QDomText* obj) { delete obj; } QDomText splitText(QDomText* theWrappedObject, int offset); bool __nonzero__(QDomText* obj) { return !obj->isNull(); } }; @@ -435,27 +435,69 @@ void delete_QDomText(QDomText* obj) { delete obj; } +class PythonQtShell_QXmlAttributes : public QXmlAttributes +{ +public: + PythonQtShell_QXmlAttributes():QXmlAttributes(),_wrapper(nullptr) {}; + PythonQtShell_QXmlAttributes(const QXmlAttributes& arg__1):QXmlAttributes(arg__1),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlAttributes() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlAttributes : public QObject +{ Q_OBJECT +public: +public slots: +QXmlAttributes* new_QXmlAttributes(); +QXmlAttributes* new_QXmlAttributes(const QXmlAttributes& arg__1); +void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; } + void append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value); + void clear(QXmlAttributes* theWrappedObject); + int count(QXmlAttributes* theWrappedObject) const; + int index(QXmlAttributes* theWrappedObject, const QString& qName) const; + int index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const; + int length(QXmlAttributes* theWrappedObject) const; + QString localName(QXmlAttributes* theWrappedObject, int index) const; + QXmlAttributes* operator_assign(QXmlAttributes* theWrappedObject, const QXmlAttributes& arg__1); + QString qName(QXmlAttributes* theWrappedObject, int index) const; + void swap(QXmlAttributes* theWrappedObject, QXmlAttributes& other); + QString type(QXmlAttributes* theWrappedObject, const QString& qName) const; + QString type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; + QString type(QXmlAttributes* theWrappedObject, int index) const; + QString uri(QXmlAttributes* theWrappedObject, int index) const; + QString value(QXmlAttributes* theWrappedObject, const QString& qName) const; + QString value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; + QString value(QXmlAttributes* theWrappedObject, int index) const; +}; + + + + + class PythonQtShell_QXmlContentHandler : public QXmlContentHandler { public: - PythonQtShell_QXmlContentHandler():QXmlContentHandler(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlContentHandler(); - -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; + PythonQtShell_QXmlContentHandler():QXmlContentHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlContentHandler() override; + +bool characters(const QString& ch) override; +bool endDocument() override; +bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) override; +bool endPrefixMapping(const QString& prefix) override; +QString errorString() const override; +bool ignorableWhitespace(const QString& ch) override; +bool processingInstruction(const QString& target, const QString& data) override; +void setDocumentLocator(QXmlLocator* locator) override; +bool skippedEntity(const QString& name) override; +bool startDocument() override; +bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) override; +bool startPrefixMapping(const QString& prefix, const QString& uri) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlContentHandler : public QXmlContentHandler @@ -479,7 +521,7 @@ class PythonQtWrapper_QXmlContentHandler : public QObject public: public slots: QXmlContentHandler* new_QXmlContentHandler(); -void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } +void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } bool characters(QXmlContentHandler* theWrappedObject, const QString& ch); bool py_q_characters(QXmlContentHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_characters(ch));} bool endDocument(QXmlContentHandler* theWrappedObject); @@ -513,15 +555,15 @@ void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } class PythonQtShell_QXmlDTDHandler : public QXmlDTDHandler { public: - PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlDTDHandler(); + ~PythonQtShell_QXmlDTDHandler() override; -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); +QString errorString() const override; +bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDTDHandler : public QXmlDTDHandler @@ -536,7 +578,7 @@ class PythonQtWrapper_QXmlDTDHandler : public QObject public: public slots: QXmlDTDHandler* new_QXmlDTDHandler(); -void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } +void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } QString errorString(QXmlDTDHandler* theWrappedObject) const; QString py_q_errorString(QXmlDTDHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlDTDHandler*)theWrappedObject)->py_q_errorString());} bool notationDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); @@ -552,16 +594,16 @@ void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } class PythonQtShell_QXmlDeclHandler : public QXmlDeclHandler { public: - PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlDeclHandler(); + ~PythonQtShell_QXmlDeclHandler() override; -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); +bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) override; +QString errorString() const override; +bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool internalEntityDecl(const QString& name, const QString& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDeclHandler : public QXmlDeclHandler @@ -577,7 +619,7 @@ class PythonQtWrapper_QXmlDeclHandler : public QObject public: public slots: QXmlDeclHandler* new_QXmlDeclHandler(); -void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } +void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } bool attributeDecl(QXmlDeclHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); bool py_q_attributeDecl(QXmlDeclHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value){ return (((PythonQtPublicPromoter_QXmlDeclHandler*)theWrappedObject)->py_q_attributeDecl(eName, aName, type, valueDefault, value));} QString errorString(QXmlDeclHandler* theWrappedObject) const; @@ -595,40 +637,40 @@ void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } class PythonQtShell_QXmlDefaultHandler : public QXmlDefaultHandler { public: - PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlDefaultHandler(); - -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; + PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlDefaultHandler() override; + +bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) override; +bool characters(const QString& ch) override; +bool comment(const QString& ch) override; +bool endCDATA() override; +bool endDTD() override; +bool endDocument() override; +bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) override; +bool endEntity(const QString& name) override; +bool endPrefixMapping(const QString& prefix) override; +bool error(const QXmlParseException& exception) override; +QString errorString() const override; +bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool fatalError(const QXmlParseException& exception) override; +bool ignorableWhitespace(const QString& ch) override; +bool internalEntityDecl(const QString& name, const QString& value) override; +bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool processingInstruction(const QString& target, const QString& data) override; +bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; +void setDocumentLocator(QXmlLocator* locator) override; +bool skippedEntity(const QString& name) override; +bool startCDATA() override; +bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; +bool startDocument() override; +bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) override; +bool startEntity(const QString& name) override; +bool startPrefixMapping(const QString& prefix, const QString& uri) override; +bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; +bool warning(const QXmlParseException& exception) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDefaultHandler : public QXmlDefaultHandler @@ -668,7 +710,7 @@ class PythonQtWrapper_QXmlDefaultHandler : public QObject public: public slots: QXmlDefaultHandler* new_QXmlDefaultHandler(); -void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } +void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } bool py_q_attributeDecl(QXmlDefaultHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_attributeDecl(eName, aName, type, valueDefault, value));} bool py_q_characters(QXmlDefaultHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_characters(ch));} bool py_q_comment(QXmlDefaultHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_comment(ch));} @@ -706,14 +748,14 @@ void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } class PythonQtShell_QXmlEntityResolver : public QXmlEntityResolver { public: - PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(NULL) {}; + PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlEntityResolver(); + ~PythonQtShell_QXmlEntityResolver() override; -virtual QString errorString() const; -virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); +QString errorString() const override; +bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlEntityResolver : public QXmlEntityResolver @@ -727,7 +769,7 @@ class PythonQtWrapper_QXmlEntityResolver : public QObject public: public slots: QXmlEntityResolver* new_QXmlEntityResolver(); -void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } +void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } QString errorString(QXmlEntityResolver* theWrappedObject) const; QString py_q_errorString(QXmlEntityResolver* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlEntityResolver*)theWrappedObject)->py_q_errorString());} bool resolveEntity(QXmlEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret); @@ -741,16 +783,16 @@ void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } class PythonQtShell_QXmlErrorHandler : public QXmlErrorHandler { public: - PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlErrorHandler(); + ~PythonQtShell_QXmlErrorHandler() override; -virtual bool error(const QXmlParseException& exception); -virtual QString errorString() const; -virtual bool fatalError(const QXmlParseException& exception); -virtual bool warning(const QXmlParseException& exception); +bool error(const QXmlParseException& exception) override; +QString errorString() const override; +bool fatalError(const QXmlParseException& exception) override; +bool warning(const QXmlParseException& exception) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlErrorHandler : public QXmlErrorHandler @@ -766,7 +808,7 @@ class PythonQtWrapper_QXmlErrorHandler : public QObject public: public slots: QXmlErrorHandler* new_QXmlErrorHandler(); -void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } +void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } bool error(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception); bool py_q_error(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlErrorHandler*)theWrappedObject)->py_q_error(exception));} QString errorString(QXmlErrorHandler* theWrappedObject) const; @@ -784,20 +826,20 @@ void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } class PythonQtShell_QXmlInputSource : public QXmlInputSource { public: - PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(NULL) {}; - PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(NULL) {}; + PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(nullptr) {}; + PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlInputSource(); + ~PythonQtShell_QXmlInputSource() override; -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); +QString data() const override; +void fetchData() override; +QString fromRawData(const QByteArray& data, bool beginning = false) override; +QChar next() override; +void reset() override; +void setData(const QByteArray& dat) override; +void setData(const QString& dat) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlInputSource : public QXmlInputSource @@ -818,7 +860,7 @@ class PythonQtWrapper_QXmlInputSource : public QObject public slots: QXmlInputSource* new_QXmlInputSource(); QXmlInputSource* new_QXmlInputSource(QIODevice* dev); -void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } +void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } QString data(QXmlInputSource* theWrappedObject) const; QString py_q_data(QXmlInputSource* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_data());} void fetchData(QXmlInputSource* theWrappedObject); @@ -842,20 +884,20 @@ void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } class PythonQtShell_QXmlLexicalHandler : public QXmlLexicalHandler { public: - PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlLexicalHandler(); + ~PythonQtShell_QXmlLexicalHandler() override; -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); +bool comment(const QString& ch) override; +bool endCDATA() override; +bool endDTD() override; +bool endEntity(const QString& name) override; +QString errorString() const override; +bool startCDATA() override; +bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; +bool startEntity(const QString& name) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLexicalHandler : public QXmlLexicalHandler @@ -875,7 +917,7 @@ class PythonQtWrapper_QXmlLexicalHandler : public QObject public: public slots: QXmlLexicalHandler* new_QXmlLexicalHandler(); -void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } +void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } bool comment(QXmlLexicalHandler* theWrappedObject, const QString& ch); bool py_q_comment(QXmlLexicalHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_comment(ch));} bool endCDATA(QXmlLexicalHandler* theWrappedObject); @@ -901,14 +943,14 @@ void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } class PythonQtShell_QXmlLocator : public QXmlLocator { public: - PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(NULL) {}; + PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlLocator(); + ~PythonQtShell_QXmlLocator() override; -virtual int columnNumber() const; -virtual int lineNumber() const; +int columnNumber() const override; +int lineNumber() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLocator : public QXmlLocator @@ -922,7 +964,7 @@ class PythonQtWrapper_QXmlLocator : public QObject public: public slots: QXmlLocator* new_QXmlLocator(); -void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } +void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } int columnNumber(QXmlLocator* theWrappedObject) const; int py_q_columnNumber(QXmlLocator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlLocator*)theWrappedObject)->py_q_columnNumber());} int lineNumber(QXmlLocator* theWrappedObject) const; @@ -939,7 +981,7 @@ class PythonQtWrapper_QXmlParseException : public QObject public slots: QXmlParseException* new_QXmlParseException(const QString& name = QString(), int c = -1, int l = -1, const QString& p = QString(), const QString& s = QString()); QXmlParseException* new_QXmlParseException(const QXmlParseException& other); -void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } +void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } int columnNumber(QXmlParseException* theWrappedObject) const; int lineNumber(QXmlParseException* theWrappedObject) const; QString message(QXmlParseException* theWrappedObject) const; @@ -951,140 +993,202 @@ void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } -class PythonQtWrapper_QXmlStreamAttributes : public QObject -{ Q_OBJECT +class PythonQtShell_QXmlReader : public QXmlReader +{ public: -public slots: -QXmlStreamAttributes* new_QXmlStreamAttributes(); -QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other) { -QXmlStreamAttributes* a = new QXmlStreamAttributes(); -*((QXmlStreamAttributes*)a) = other; -return a; } -void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } - void append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); - void append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value); - bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; - bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; - QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; - QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; + PythonQtShell_QXmlReader():QXmlReader(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlReader() override; + +QXmlDTDHandler* DTDHandler() const override; +QXmlContentHandler* contentHandler() const override; +QXmlDeclHandler* declHandler() const override; +QXmlEntityResolver* entityResolver() const override; +QXmlErrorHandler* errorHandler() const override; +bool feature(const QString& name, bool* ok = nullptr) const override; +bool hasFeature(const QString& name) const override; +bool hasProperty(const QString& name) const override; +QXmlLexicalHandler* lexicalHandler() const override; +bool parse(const QXmlInputSource& input) override; +bool parse(const QXmlInputSource* input) override; +void* property(const QString& name, bool* ok = nullptr) const override; +void setContentHandler(QXmlContentHandler* handler) override; +void setDTDHandler(QXmlDTDHandler* handler) override; +void setDeclHandler(QXmlDeclHandler* handler) override; +void setEntityResolver(QXmlEntityResolver* handler) override; +void setErrorHandler(QXmlErrorHandler* handler) override; +void setFeature(const QString& name, bool value) override; +void setLexicalHandler(QXmlLexicalHandler* handler) override; +void setProperty(const QString& name, void* value) override; + + PythonQtInstanceWrapper* _wrapper; }; +class PythonQtPublicPromoter_QXmlReader : public QXmlReader +{ public: +inline QXmlDTDHandler* py_q_DTDHandler() const { return this->DTDHandler(); } +inline QXmlContentHandler* py_q_contentHandler() const { return this->contentHandler(); } +inline QXmlDeclHandler* py_q_declHandler() const { return this->declHandler(); } +inline QXmlEntityResolver* py_q_entityResolver() const { return this->entityResolver(); } +inline QXmlErrorHandler* py_q_errorHandler() const { return this->errorHandler(); } +inline bool py_q_feature(const QString& name, bool* ok = nullptr) const { return this->feature(name, ok); } +inline bool py_q_hasFeature(const QString& name) const { return this->hasFeature(name); } +inline bool py_q_hasProperty(const QString& name) const { return this->hasProperty(name); } +inline QXmlLexicalHandler* py_q_lexicalHandler() const { return this->lexicalHandler(); } +inline bool py_q_parse(const QXmlInputSource& input) { return this->parse(input); } +inline bool py_q_parse(const QXmlInputSource* input) { return this->parse(input); } +inline void* py_q_property(const QString& name, bool* ok = nullptr) const { return this->property(name, ok); } +inline void py_q_setContentHandler(QXmlContentHandler* handler) { this->setContentHandler(handler); } +inline void py_q_setDTDHandler(QXmlDTDHandler* handler) { this->setDTDHandler(handler); } +inline void py_q_setDeclHandler(QXmlDeclHandler* handler) { this->setDeclHandler(handler); } +inline void py_q_setEntityResolver(QXmlEntityResolver* handler) { this->setEntityResolver(handler); } +inline void py_q_setErrorHandler(QXmlErrorHandler* handler) { this->setErrorHandler(handler); } +inline void py_q_setFeature(const QString& name, bool value) { this->setFeature(name, value); } +inline void py_q_setLexicalHandler(QXmlLexicalHandler* handler) { this->setLexicalHandler(handler); } +inline void py_q_setProperty(const QString& name, void* value) { this->setProperty(name, value); } +}; - - - -class PythonQtWrapper_QXmlStreamReader : public QObject +class PythonQtWrapper_QXmlReader : public QObject { Q_OBJECT public: -Q_ENUMS(Error ReadElementTextBehaviour TokenType ) -enum Error{ - NoError = QXmlStreamReader::NoError, UnexpectedElementError = QXmlStreamReader::UnexpectedElementError, CustomError = QXmlStreamReader::CustomError, NotWellFormedError = QXmlStreamReader::NotWellFormedError, PrematureEndOfDocumentError = QXmlStreamReader::PrematureEndOfDocumentError}; -enum ReadElementTextBehaviour{ - ErrorOnUnexpectedElement = QXmlStreamReader::ErrorOnUnexpectedElement, IncludeChildElements = QXmlStreamReader::IncludeChildElements, SkipChildElements = QXmlStreamReader::SkipChildElements}; -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: -void delete_QXmlStreamReader(QXmlStreamReader* obj) { delete obj; } - void addData(QXmlStreamReader* theWrappedObject, const QByteArray& data); - void addData(QXmlStreamReader* theWrappedObject, const QString& data); - void addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction); - void addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions); - bool atEnd(QXmlStreamReader* theWrappedObject) const; - QXmlStreamAttributes attributes(QXmlStreamReader* theWrappedObject) const; - qint64 characterOffset(QXmlStreamReader* theWrappedObject) const; - void clear(QXmlStreamReader* theWrappedObject); - qint64 columnNumber(QXmlStreamReader* theWrappedObject) const; - QIODevice* device(QXmlStreamReader* theWrappedObject) const; - QStringRef documentEncoding(QXmlStreamReader* theWrappedObject) const; - QStringRef documentVersion(QXmlStreamReader* theWrappedObject) const; - QStringRef dtdName(QXmlStreamReader* theWrappedObject) const; - QStringRef dtdPublicId(QXmlStreamReader* theWrappedObject) const; - QStringRef dtdSystemId(QXmlStreamReader* theWrappedObject) const; - QVector entityDeclarations(QXmlStreamReader* theWrappedObject) const; - int entityExpansionLimit(QXmlStreamReader* theWrappedObject) const; - QXmlStreamEntityResolver* entityResolver(QXmlStreamReader* theWrappedObject) const; - QXmlStreamReader::Error error(QXmlStreamReader* theWrappedObject) const; - QString errorString(QXmlStreamReader* theWrappedObject) const; - bool hasError(QXmlStreamReader* theWrappedObject) const; - bool isCDATA(QXmlStreamReader* theWrappedObject) const; - bool isCharacters(QXmlStreamReader* theWrappedObject) const; - bool isComment(QXmlStreamReader* theWrappedObject) const; - bool isDTD(QXmlStreamReader* theWrappedObject) const; - bool isEndDocument(QXmlStreamReader* theWrappedObject) const; - bool isEndElement(QXmlStreamReader* theWrappedObject) const; - bool isEntityReference(QXmlStreamReader* theWrappedObject) const; - bool isProcessingInstruction(QXmlStreamReader* theWrappedObject) const; - bool isStandaloneDocument(QXmlStreamReader* theWrappedObject) const; - bool isStartDocument(QXmlStreamReader* theWrappedObject) const; - bool isStartElement(QXmlStreamReader* theWrappedObject) const; - bool isWhitespace(QXmlStreamReader* theWrappedObject) const; - qint64 lineNumber(QXmlStreamReader* theWrappedObject) const; - QStringRef name(QXmlStreamReader* theWrappedObject) const; - QVector namespaceDeclarations(QXmlStreamReader* theWrappedObject) const; - bool namespaceProcessing(QXmlStreamReader* theWrappedObject) const; - QStringRef namespaceUri(QXmlStreamReader* theWrappedObject) const; - QVector notationDeclarations(QXmlStreamReader* theWrappedObject) const; - QStringRef prefix(QXmlStreamReader* theWrappedObject) const; - QStringRef processingInstructionData(QXmlStreamReader* theWrappedObject) const; - QStringRef processingInstructionTarget(QXmlStreamReader* theWrappedObject) const; - QStringRef qualifiedName(QXmlStreamReader* theWrappedObject) const; - void raiseError(QXmlStreamReader* theWrappedObject, const QString& message = QString()); - QString readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour = QXmlStreamReader::ErrorOnUnexpectedElement); - QXmlStreamReader::TokenType readNext(QXmlStreamReader* theWrappedObject); - bool readNextStartElement(QXmlStreamReader* theWrappedObject); - void setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device); - void setEntityExpansionLimit(QXmlStreamReader* theWrappedObject, int limit); - void setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver); - void setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1); - void skipCurrentElement(QXmlStreamReader* theWrappedObject); - QStringRef text(QXmlStreamReader* theWrappedObject) const; - QString tokenString(QXmlStreamReader* theWrappedObject) const; - QXmlStreamReader::TokenType tokenType(QXmlStreamReader* theWrappedObject) const; +QXmlReader* new_QXmlReader(); +void delete_QXmlReader(QXmlReader* obj) { delete obj; } + QXmlDTDHandler* DTDHandler(QXmlReader* theWrappedObject) const; + QXmlDTDHandler* py_q_DTDHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_DTDHandler());} + QXmlContentHandler* contentHandler(QXmlReader* theWrappedObject) const; + QXmlContentHandler* py_q_contentHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_contentHandler());} + QXmlDeclHandler* declHandler(QXmlReader* theWrappedObject) const; + QXmlDeclHandler* py_q_declHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_declHandler());} + QXmlEntityResolver* entityResolver(QXmlReader* theWrappedObject) const; + QXmlEntityResolver* py_q_entityResolver(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_entityResolver());} + QXmlErrorHandler* errorHandler(QXmlReader* theWrappedObject) const; + QXmlErrorHandler* py_q_errorHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_errorHandler());} + bool feature(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const; + bool py_q_feature(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_feature(name, ok));} + bool hasFeature(QXmlReader* theWrappedObject, const QString& name) const; + bool py_q_hasFeature(QXmlReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_hasFeature(name));} + bool hasProperty(QXmlReader* theWrappedObject, const QString& name) const; + bool py_q_hasProperty(QXmlReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_hasProperty(name));} + QXmlLexicalHandler* lexicalHandler(QXmlReader* theWrappedObject) const; + QXmlLexicalHandler* py_q_lexicalHandler(QXmlReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_lexicalHandler());} + bool parse(QXmlReader* theWrappedObject, const QXmlInputSource& input); + bool py_q_parse(QXmlReader* theWrappedObject, const QXmlInputSource& input){ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_parse(input));} + bool parse(QXmlReader* theWrappedObject, const QXmlInputSource* input); + bool py_q_parse(QXmlReader* theWrappedObject, const QXmlInputSource* input){ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_parse(input));} + void* property(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const; + void* py_q_property(QXmlReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_property(name, ok));} + void setContentHandler(QXmlReader* theWrappedObject, QXmlContentHandler* handler); + void py_q_setContentHandler(QXmlReader* theWrappedObject, QXmlContentHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setContentHandler(handler));} + void setDTDHandler(QXmlReader* theWrappedObject, QXmlDTDHandler* handler); + void py_q_setDTDHandler(QXmlReader* theWrappedObject, QXmlDTDHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setDTDHandler(handler));} + void setDeclHandler(QXmlReader* theWrappedObject, QXmlDeclHandler* handler); + void py_q_setDeclHandler(QXmlReader* theWrappedObject, QXmlDeclHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setDeclHandler(handler));} + void setEntityResolver(QXmlReader* theWrappedObject, QXmlEntityResolver* handler); + void py_q_setEntityResolver(QXmlReader* theWrappedObject, QXmlEntityResolver* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setEntityResolver(handler));} + void setErrorHandler(QXmlReader* theWrappedObject, QXmlErrorHandler* handler); + void py_q_setErrorHandler(QXmlReader* theWrappedObject, QXmlErrorHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setErrorHandler(handler));} + void setFeature(QXmlReader* theWrappedObject, const QString& name, bool value); + void py_q_setFeature(QXmlReader* theWrappedObject, const QString& name, bool value){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setFeature(name, value));} + void setLexicalHandler(QXmlReader* theWrappedObject, QXmlLexicalHandler* handler); + void py_q_setLexicalHandler(QXmlReader* theWrappedObject, QXmlLexicalHandler* handler){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setLexicalHandler(handler));} + void setProperty(QXmlReader* theWrappedObject, const QString& name, void* value); + void py_q_setProperty(QXmlReader* theWrappedObject, const QString& name, void* value){ (((PythonQtPublicPromoter_QXmlReader*)theWrappedObject)->py_q_setProperty(name, value));} }; -class PythonQtWrapper_QXmlStreamWriter : public QObject +class PythonQtShell_QXmlSimpleReader : public QXmlSimpleReader +{ +public: + PythonQtShell_QXmlSimpleReader():QXmlSimpleReader(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlSimpleReader() override; + +QXmlDTDHandler* DTDHandler() const override; +QXmlContentHandler* contentHandler() const override; +QXmlDeclHandler* declHandler() const override; +QXmlEntityResolver* entityResolver() const override; +QXmlErrorHandler* errorHandler() const override; +bool feature(const QString& name, bool* ok = nullptr) const override; +bool hasFeature(const QString& name) const override; +bool hasProperty(const QString& name) const override; +QXmlLexicalHandler* lexicalHandler() const override; +bool parse(const QXmlInputSource& input) override; +bool parse(const QXmlInputSource* input) override; +bool parse(const QXmlInputSource* input, bool incremental) override; +bool parseContinue() override; +void* property(const QString& name, bool* ok = nullptr) const override; +void setContentHandler(QXmlContentHandler* handler) override; +void setDTDHandler(QXmlDTDHandler* handler) override; +void setDeclHandler(QXmlDeclHandler* handler) override; +void setEntityResolver(QXmlEntityResolver* handler) override; +void setErrorHandler(QXmlErrorHandler* handler) override; +void setFeature(const QString& name, bool value) override; +void setLexicalHandler(QXmlLexicalHandler* handler) override; +void setProperty(const QString& name, void* value) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlSimpleReader : public QXmlSimpleReader +{ public: +inline QXmlDTDHandler* py_q_DTDHandler() const { return QXmlSimpleReader::DTDHandler(); } +inline QXmlContentHandler* py_q_contentHandler() const { return QXmlSimpleReader::contentHandler(); } +inline QXmlDeclHandler* py_q_declHandler() const { return QXmlSimpleReader::declHandler(); } +inline QXmlEntityResolver* py_q_entityResolver() const { return QXmlSimpleReader::entityResolver(); } +inline QXmlErrorHandler* py_q_errorHandler() const { return QXmlSimpleReader::errorHandler(); } +inline bool py_q_feature(const QString& name, bool* ok = nullptr) const { return QXmlSimpleReader::feature(name, ok); } +inline bool py_q_hasFeature(const QString& name) const { return QXmlSimpleReader::hasFeature(name); } +inline bool py_q_hasProperty(const QString& name) const { return QXmlSimpleReader::hasProperty(name); } +inline QXmlLexicalHandler* py_q_lexicalHandler() const { return QXmlSimpleReader::lexicalHandler(); } +inline bool py_q_parse(const QXmlInputSource& input) { return QXmlSimpleReader::parse(input); } +inline bool py_q_parse(const QXmlInputSource* input) { return QXmlSimpleReader::parse(input); } +inline bool py_q_parse(const QXmlInputSource* input, bool incremental) { return QXmlSimpleReader::parse(input, incremental); } +inline bool py_q_parseContinue() { return QXmlSimpleReader::parseContinue(); } +inline void* py_q_property(const QString& name, bool* ok = nullptr) const { return QXmlSimpleReader::property(name, ok); } +inline void py_q_setContentHandler(QXmlContentHandler* handler) { QXmlSimpleReader::setContentHandler(handler); } +inline void py_q_setDTDHandler(QXmlDTDHandler* handler) { QXmlSimpleReader::setDTDHandler(handler); } +inline void py_q_setDeclHandler(QXmlDeclHandler* handler) { QXmlSimpleReader::setDeclHandler(handler); } +inline void py_q_setEntityResolver(QXmlEntityResolver* handler) { QXmlSimpleReader::setEntityResolver(handler); } +inline void py_q_setErrorHandler(QXmlErrorHandler* handler) { QXmlSimpleReader::setErrorHandler(handler); } +inline void py_q_setFeature(const QString& name, bool value) { QXmlSimpleReader::setFeature(name, value); } +inline void py_q_setLexicalHandler(QXmlLexicalHandler* handler) { QXmlSimpleReader::setLexicalHandler(handler); } +inline void py_q_setProperty(const QString& name, void* value) { QXmlSimpleReader::setProperty(name, value); } +}; + +class PythonQtWrapper_QXmlSimpleReader : public QObject { Q_OBJECT public: public slots: -void delete_QXmlStreamWriter(QXmlStreamWriter* obj) { delete obj; } - bool autoFormatting(QXmlStreamWriter* theWrappedObject) const; - int autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const; - QTextCodec* codec(QXmlStreamWriter* theWrappedObject) const; - QIODevice* device(QXmlStreamWriter* theWrappedObject) const; - bool hasError(QXmlStreamWriter* theWrappedObject) const; - void setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1); - void setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spacesOrTabs); - void setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec); - void setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName); - void setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device); - void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); - void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value); - void writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute); - void writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes); - void writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text); - void writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text); - void writeComment(QXmlStreamWriter* theWrappedObject, const QString& text); - void writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader); - void writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd); - void writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri); - void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); - void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); - void writeEndDocument(QXmlStreamWriter* theWrappedObject); - void writeEndElement(QXmlStreamWriter* theWrappedObject); - void writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name); - void writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix = QString()); - void writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data = QString()); - void writeStartDocument(QXmlStreamWriter* theWrappedObject); - void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version); - void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version, bool standalone); - void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); - void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); - void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text); - void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text); +QXmlSimpleReader* new_QXmlSimpleReader(); +void delete_QXmlSimpleReader(QXmlSimpleReader* obj) { delete obj; } + QXmlDTDHandler* py_q_DTDHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_DTDHandler());} + QXmlContentHandler* py_q_contentHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_contentHandler());} + QXmlDeclHandler* py_q_declHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_declHandler());} + QXmlEntityResolver* py_q_entityResolver(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_entityResolver());} + QXmlErrorHandler* py_q_errorHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_errorHandler());} + bool py_q_feature(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_feature(name, ok));} + bool py_q_hasFeature(QXmlSimpleReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_hasFeature(name));} + bool py_q_hasProperty(QXmlSimpleReader* theWrappedObject, const QString& name) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_hasProperty(name));} + QXmlLexicalHandler* py_q_lexicalHandler(QXmlSimpleReader* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_lexicalHandler());} + bool py_q_parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource& input){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parse(input));} + bool py_q_parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parse(input));} + bool parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental); + bool py_q_parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parse(input, incremental));} + bool parseContinue(QXmlSimpleReader* theWrappedObject); + bool py_q_parseContinue(QXmlSimpleReader* theWrappedObject){ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_parseContinue());} + void* py_q_property(QXmlSimpleReader* theWrappedObject, const QString& name, bool* ok = nullptr) const{ return (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_property(name, ok));} + void py_q_setContentHandler(QXmlSimpleReader* theWrappedObject, QXmlContentHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setContentHandler(handler));} + void py_q_setDTDHandler(QXmlSimpleReader* theWrappedObject, QXmlDTDHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setDTDHandler(handler));} + void py_q_setDeclHandler(QXmlSimpleReader* theWrappedObject, QXmlDeclHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setDeclHandler(handler));} + void py_q_setEntityResolver(QXmlSimpleReader* theWrappedObject, QXmlEntityResolver* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setEntityResolver(handler));} + void py_q_setErrorHandler(QXmlSimpleReader* theWrappedObject, QXmlErrorHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setErrorHandler(handler));} + void py_q_setFeature(QXmlSimpleReader* theWrappedObject, const QString& name, bool value){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setFeature(name, value));} + void py_q_setLexicalHandler(QXmlSimpleReader* theWrappedObject, QXmlLexicalHandler* handler){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setLexicalHandler(handler));} + void py_q_setProperty(QXmlSimpleReader* theWrappedObject, const QString& name, void* value){ (((PythonQtPublicPromoter_QXmlSimpleReader*)theWrappedObject)->py_q_setProperty(name, value));} }; diff --git a/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp new file mode 100644 index 00000000..c7a9e809 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp @@ -0,0 +1,921 @@ +#include "com_trolltech_qt_xml1.h" +#include +#include +#include +#include +#include +#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); } + +bool PythonQtWrapper_QXmlStreamAttribute::isDefault(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::name(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::namespaceUri(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +bool PythonQtWrapper_QXmlStreamAttribute::__ne__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamAttribute::__eq__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::prefix(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::qualifiedName(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->qualifiedName()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttribute::value(QXmlStreamAttribute* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +QXmlStreamAttributes* PythonQtWrapper_QXmlStreamAttributes::new_QXmlStreamAttributes() +{ +return new QXmlStreamAttributes(); } + +void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) +{ + ( theWrappedObject->append(namespaceUri, name, value)); +} + +void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value) +{ + ( theWrappedObject->append(qualifiedName, value)); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::at(QXmlStreamAttributes* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); +} + +int PythonQtWrapper_QXmlStreamAttributes::capacity(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); +} + +void PythonQtWrapper_QXmlStreamAttributes::clear(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::constFirst(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::constLast(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->constLast()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->contains(t)); +} + +int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->count(t)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::empty(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->empty()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::endsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->endsWith(t)); +} + +QVector* PythonQtWrapper_QXmlStreamAttributes::fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size) +{ + return &( theWrappedObject->fill(t, size)); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::first(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->first()); +} + +QVector PythonQtWrapper_QXmlStreamAttributes::static_QXmlStreamAttributes_fromList(const QList& list) +{ + return (QXmlStreamAttributes::fromList(list)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const +{ + return ( theWrappedObject->hasAttribute(namespaceUri, name)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const +{ + return ( theWrappedObject->hasAttribute(qualifiedName)); +} + +int PythonQtWrapper_QXmlStreamAttributes::indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::isEmpty(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::isSharedWith(QXmlStreamAttributes* theWrappedObject, const QVector& other) const +{ + return ( theWrappedObject->isSharedWith(other)); +} + +const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::last(QXmlStreamAttributes* theWrappedObject) const +{ + return &( theWrappedObject->last()); +} + +int PythonQtWrapper_QXmlStreamAttributes::lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const +{ + return ( theWrappedObject->lastIndexOf(t, from)); +} + +int PythonQtWrapper_QXmlStreamAttributes::length(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +QVector PythonQtWrapper_QXmlStreamAttributes::mid(QXmlStreamAttributes* theWrappedObject, int pos, int len) const +{ + return ( theWrappedObject->mid(pos, len)); +} + +void PythonQtWrapper_QXmlStreamAttributes::move(QXmlStreamAttributes* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); +} + +bool PythonQtWrapper_QXmlStreamAttributes::__ne__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)!= v); +} + +bool PythonQtWrapper_QXmlStreamAttributes::__eq__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)== v); +} + +void PythonQtWrapper_QXmlStreamAttributes::prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) +{ + ( theWrappedObject->prepend(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); +} + +void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i, int n) +{ + ( theWrappedObject->remove(i, n)); +} + +int PythonQtWrapper_QXmlStreamAttributes::removeAll(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) +{ + return ( theWrappedObject->removeAll(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::removeAt(QXmlStreamAttributes* theWrappedObject, int i) +{ + ( theWrappedObject->removeAt(i)); +} + +void PythonQtWrapper_QXmlStreamAttributes::removeFirst(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); +} + +void PythonQtWrapper_QXmlStreamAttributes::removeLast(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->removeLast()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::removeOne(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) +{ + return ( theWrappedObject->removeOne(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t) +{ + ( theWrappedObject->replace(i, t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::reserve(QXmlStreamAttributes* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); +} + +void PythonQtWrapper_QXmlStreamAttributes::resize(QXmlStreamAttributes* theWrappedObject, int size) +{ + ( theWrappedObject->resize(size)); +} + +void PythonQtWrapper_QXmlStreamAttributes::setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); +} + +void PythonQtWrapper_QXmlStreamAttributes::shrink_to_fit(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->shrink_to_fit()); +} + +int PythonQtWrapper_QXmlStreamAttributes::size(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QXmlStreamAttributes::squeeze(QXmlStreamAttributes* theWrappedObject) +{ + ( theWrappedObject->squeeze()); +} + +bool PythonQtWrapper_QXmlStreamAttributes::startsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const +{ + return ( theWrappedObject->startsWith(t)); +} + +void PythonQtWrapper_QXmlStreamAttributes::swap(QXmlStreamAttributes* theWrappedObject, QVector& other) +{ + ( theWrappedObject->swap(other)); +} + +void PythonQtWrapper_QXmlStreamAttributes::swapItemsAt(QXmlStreamAttributes* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swapItemsAt(i, j)); +} + +QXmlStreamAttribute PythonQtWrapper_QXmlStreamAttributes::takeAt(QXmlStreamAttributes* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); +} + +QXmlStreamAttribute PythonQtWrapper_QXmlStreamAttributes::takeFirst(QXmlStreamAttributes* theWrappedObject) +{ + return ( theWrappedObject->takeFirst()); +} + +QXmlStreamAttribute PythonQtWrapper_QXmlStreamAttributes::takeLast(QXmlStreamAttributes* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); +} + +QList PythonQtWrapper_QXmlStreamAttributes::toList(QXmlStreamAttributes* theWrappedObject) const +{ + return ( theWrappedObject->toList()); +} + +QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const +{ + return ( theWrappedObject->value(namespaceUri, name)); +} + +QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const +{ + return ( theWrappedObject->value(qualifiedName)); +} + + + +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::name(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::notationName(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->notationName()); +} + +bool PythonQtWrapper_QXmlStreamEntityDeclaration::__ne__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamEntityDeclaration::__eq__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::publicId(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::systemId(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + +QStringRef PythonQtWrapper_QXmlStreamEntityDeclaration::value(QXmlStreamEntityDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +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); } + +QStringRef PythonQtWrapper_QXmlStreamNamespaceDeclaration::namespaceUri(QXmlStreamNamespaceDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +bool PythonQtWrapper_QXmlStreamNamespaceDeclaration::__ne__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamNamespaceDeclaration::__eq__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamNamespaceDeclaration::prefix(QXmlStreamNamespaceDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + + + +QXmlStreamNotationDeclaration* PythonQtWrapper_QXmlStreamNotationDeclaration::new_QXmlStreamNotationDeclaration() +{ +return new QXmlStreamNotationDeclaration(); } + +QXmlStreamNotationDeclaration* PythonQtWrapper_QXmlStreamNotationDeclaration::new_QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration& arg__1) +{ +return new QXmlStreamNotationDeclaration(arg__1); } + +QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::name(QXmlStreamNotationDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +bool PythonQtWrapper_QXmlStreamNotationDeclaration::__ne__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlStreamNotationDeclaration::__eq__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const +{ + return ( (*theWrappedObject)== other); +} + +QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::publicId(QXmlStreamNotationDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->publicId()); +} + +QStringRef PythonQtWrapper_QXmlStreamNotationDeclaration::systemId(QXmlStreamNotationDeclaration* theWrappedObject) const +{ + return ( theWrappedObject->systemId()); +} + + + +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); } + +void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QByteArray& data) +{ + ( theWrappedObject->addData(data)); +} + +void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QString& data) +{ + ( theWrappedObject->addData(data)); +} + +void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction) +{ + ( theWrappedObject->addExtraNamespaceDeclaration(extraNamespaceDeclaraction)); +} + +void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions) +{ + ( theWrappedObject->addExtraNamespaceDeclarations(extraNamespaceDeclaractions)); +} + +bool PythonQtWrapper_QXmlStreamReader::atEnd(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->atEnd()); +} + +QXmlStreamAttributes PythonQtWrapper_QXmlStreamReader::attributes(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->attributes()); +} + +qint64 PythonQtWrapper_QXmlStreamReader::characterOffset(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->characterOffset()); +} + +void PythonQtWrapper_QXmlStreamReader::clear(QXmlStreamReader* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +qint64 PythonQtWrapper_QXmlStreamReader::columnNumber(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->columnNumber()); +} + +QIODevice* PythonQtWrapper_QXmlStreamReader::device(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::documentEncoding(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->documentEncoding()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::documentVersion(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->documentVersion()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::dtdName(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->dtdName()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::dtdPublicId(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->dtdPublicId()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::dtdSystemId(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->dtdSystemId()); +} + +QVector PythonQtWrapper_QXmlStreamReader::entityDeclarations(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->entityDeclarations()); +} + +int PythonQtWrapper_QXmlStreamReader::entityExpansionLimit(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->entityExpansionLimit()); +} + +QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamReader::entityResolver(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->entityResolver()); +} + +QXmlStreamReader::Error PythonQtWrapper_QXmlStreamReader::error(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QXmlStreamReader::errorString(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); +} + +bool PythonQtWrapper_QXmlStreamReader::hasError(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +bool PythonQtWrapper_QXmlStreamReader::isCDATA(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isCDATA()); +} + +bool PythonQtWrapper_QXmlStreamReader::isCharacters(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isCharacters()); +} + +bool PythonQtWrapper_QXmlStreamReader::isComment(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isComment()); +} + +bool PythonQtWrapper_QXmlStreamReader::isDTD(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isDTD()); +} + +bool PythonQtWrapper_QXmlStreamReader::isEndDocument(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isEndDocument()); +} + +bool PythonQtWrapper_QXmlStreamReader::isEndElement(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isEndElement()); +} + +bool PythonQtWrapper_QXmlStreamReader::isEntityReference(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isEntityReference()); +} + +bool PythonQtWrapper_QXmlStreamReader::isProcessingInstruction(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isProcessingInstruction()); +} + +bool PythonQtWrapper_QXmlStreamReader::isStandaloneDocument(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isStandaloneDocument()); +} + +bool PythonQtWrapper_QXmlStreamReader::isStartDocument(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isStartDocument()); +} + +bool PythonQtWrapper_QXmlStreamReader::isStartElement(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isStartElement()); +} + +bool PythonQtWrapper_QXmlStreamReader::isWhitespace(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->isWhitespace()); +} + +qint64 PythonQtWrapper_QXmlStreamReader::lineNumber(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->lineNumber()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::name(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QVector PythonQtWrapper_QXmlStreamReader::namespaceDeclarations(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->namespaceDeclarations()); +} + +bool PythonQtWrapper_QXmlStreamReader::namespaceProcessing(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->namespaceProcessing()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::namespaceUri(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +QVector PythonQtWrapper_QXmlStreamReader::notationDeclarations(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->notationDeclarations()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::prefix(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionData(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->processingInstructionData()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionTarget(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->processingInstructionTarget()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::qualifiedName(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->qualifiedName()); +} + +void PythonQtWrapper_QXmlStreamReader::raiseError(QXmlStreamReader* theWrappedObject, const QString& message) +{ + ( theWrappedObject->raiseError(message)); +} + +QString PythonQtWrapper_QXmlStreamReader::readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour) +{ + return ( theWrappedObject->readElementText(behaviour)); +} + +QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::readNext(QXmlStreamReader* theWrappedObject) +{ + return ( theWrappedObject->readNext()); +} + +bool PythonQtWrapper_QXmlStreamReader::readNextStartElement(QXmlStreamReader* theWrappedObject) +{ + return ( theWrappedObject->readNextStartElement()); +} + +void PythonQtWrapper_QXmlStreamReader::setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); +} + +void PythonQtWrapper_QXmlStreamReader::setEntityExpansionLimit(QXmlStreamReader* theWrappedObject, int limit) +{ + ( theWrappedObject->setEntityExpansionLimit(limit)); +} + +void PythonQtWrapper_QXmlStreamReader::setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver) +{ + ( theWrappedObject->setEntityResolver(resolver)); +} + +void PythonQtWrapper_QXmlStreamReader::setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setNamespaceProcessing(arg__1)); +} + +void PythonQtWrapper_QXmlStreamReader::skipCurrentElement(QXmlStreamReader* theWrappedObject) +{ + ( theWrappedObject->skipCurrentElement()); +} + +QStringRef PythonQtWrapper_QXmlStreamReader::text(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QString PythonQtWrapper_QXmlStreamReader::tokenString(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->tokenString()); +} + +QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::tokenType(QXmlStreamReader* theWrappedObject) const +{ + return ( theWrappedObject->tokenType()); +} + + + +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); } + +bool PythonQtWrapper_QXmlStreamWriter::autoFormatting(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->autoFormatting()); +} + +int PythonQtWrapper_QXmlStreamWriter::autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->autoFormattingIndent()); +} + +QTextCodec* PythonQtWrapper_QXmlStreamWriter::codec(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QIODevice* PythonQtWrapper_QXmlStreamWriter::device(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +bool PythonQtWrapper_QXmlStreamWriter::hasError(QXmlStreamWriter* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +void PythonQtWrapper_QXmlStreamWriter::setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoFormatting(arg__1)); +} + +void PythonQtWrapper_QXmlStreamWriter::setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spacesOrTabs) +{ + ( theWrappedObject->setAutoFormattingIndent(spacesOrTabs)); +} + +void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + +void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName) +{ + ( theWrappedObject->setCodec(codecName)); +} + +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::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::writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes) +{ + ( theWrappedObject->writeAttributes(attributes)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text) +{ + ( theWrappedObject->writeCDATA(text)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text) +{ + ( theWrappedObject->writeCharacters(text)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeComment(QXmlStreamWriter* theWrappedObject, const QString& text) +{ + ( theWrappedObject->writeComment(text)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader) +{ + ( theWrappedObject->writeCurrentToken(reader)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd) +{ + ( theWrappedObject->writeDTD(dtd)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri) +{ + ( theWrappedObject->writeDefaultNamespace(namespaceUri)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) +{ + ( theWrappedObject->writeEmptyElement(namespaceUri, name)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) +{ + ( theWrappedObject->writeEmptyElement(qualifiedName)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEndDocument(QXmlStreamWriter* theWrappedObject) +{ + ( theWrappedObject->writeEndDocument()); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEndElement(QXmlStreamWriter* theWrappedObject) +{ + ( theWrappedObject->writeEndElement()); +} + +void PythonQtWrapper_QXmlStreamWriter::writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name) +{ + ( theWrappedObject->writeEntityReference(name)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix) +{ + ( theWrappedObject->writeNamespace(namespaceUri, prefix)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data) +{ + ( theWrappedObject->writeProcessingInstruction(target, data)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject) +{ + ( theWrappedObject->writeStartDocument()); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version) +{ + ( theWrappedObject->writeStartDocument(version)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version, bool standalone) +{ + ( theWrappedObject->writeStartDocument(version, standalone)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) +{ + ( theWrappedObject->writeStartElement(namespaceUri, name)); +} + +void PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) +{ + ( theWrappedObject->writeStartElement(qualifiedName)); +} + +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)); +} + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.h b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.h new file mode 100644 index 00000000..a9105fa0 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.h @@ -0,0 +1,281 @@ +#include +#include +#include +#include +#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; } + bool isDefault(QXmlStreamAttribute* theWrappedObject) const; + QStringRef name(QXmlStreamAttribute* theWrappedObject) const; + QStringRef namespaceUri(QXmlStreamAttribute* theWrappedObject) const; + bool __ne__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const; + bool __eq__(QXmlStreamAttribute* theWrappedObject, const QXmlStreamAttribute& other) const; + QStringRef prefix(QXmlStreamAttribute* theWrappedObject) const; + QStringRef qualifiedName(QXmlStreamAttribute* theWrappedObject) const; + QStringRef value(QXmlStreamAttribute* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlStreamAttributes : public QObject +{ Q_OBJECT +public: +public slots: +QXmlStreamAttributes* new_QXmlStreamAttributes(); +QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other) { +QXmlStreamAttributes* a = new QXmlStreamAttributes(); +*((QXmlStreamAttributes*)a) = other; +return a; } +void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } + void append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); + void append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value); + const QXmlStreamAttribute* at(QXmlStreamAttributes* theWrappedObject, int i) const; + int capacity(QXmlStreamAttributes* theWrappedObject) const; + void clear(QXmlStreamAttributes* theWrappedObject); + const QXmlStreamAttribute* constFirst(QXmlStreamAttributes* theWrappedObject) const; + const QXmlStreamAttribute* constLast(QXmlStreamAttributes* theWrappedObject) const; + bool contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + int count(QXmlStreamAttributes* theWrappedObject) const; + int count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + bool empty(QXmlStreamAttributes* theWrappedObject) const; + bool endsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + QVector* fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size = -1); + const QXmlStreamAttribute* first(QXmlStreamAttributes* theWrappedObject) const; + QVector static_QXmlStreamAttributes_fromList(const QList& list); + bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; + bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; + int indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from = 0) const; + bool isEmpty(QXmlStreamAttributes* theWrappedObject) const; + bool isSharedWith(QXmlStreamAttributes* theWrappedObject, const QVector& other) const; + const QXmlStreamAttribute* last(QXmlStreamAttributes* theWrappedObject) const; + int lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from = -1) const; + int length(QXmlStreamAttributes* theWrappedObject) const; + QVector mid(QXmlStreamAttributes* theWrappedObject, int pos, int len = -1) const; + void move(QXmlStreamAttributes* theWrappedObject, int from, int to); + bool __ne__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const; + bool __eq__(QXmlStreamAttributes* theWrappedObject, const QVector& v) const; + void prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); + void remove(QXmlStreamAttributes* theWrappedObject, int i); + void remove(QXmlStreamAttributes* theWrappedObject, int i, int n); + int removeAll(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); + void removeAt(QXmlStreamAttributes* theWrappedObject, int i); + void removeFirst(QXmlStreamAttributes* theWrappedObject); + void removeLast(QXmlStreamAttributes* theWrappedObject); + bool removeOne(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); + void replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t); + void reserve(QXmlStreamAttributes* theWrappedObject, int size); + void resize(QXmlStreamAttributes* theWrappedObject, int size); + void setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable); + void shrink_to_fit(QXmlStreamAttributes* theWrappedObject); + int size(QXmlStreamAttributes* theWrappedObject) const; + void squeeze(QXmlStreamAttributes* theWrappedObject); + bool startsWith(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; + void swap(QXmlStreamAttributes* theWrappedObject, QVector& other); + void swapItemsAt(QXmlStreamAttributes* theWrappedObject, int i, int j); + QXmlStreamAttribute takeAt(QXmlStreamAttributes* theWrappedObject, int i); + QXmlStreamAttribute takeFirst(QXmlStreamAttributes* theWrappedObject); + QXmlStreamAttribute takeLast(QXmlStreamAttributes* theWrappedObject); + QList toList(QXmlStreamAttributes* theWrappedObject) const; + QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; + QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; + bool __nonzero__(QXmlStreamAttributes* obj) { return !obj->isEmpty(); } +}; + + + + + +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 name(QXmlStreamEntityDeclaration* theWrappedObject) const; + QStringRef notationName(QXmlStreamEntityDeclaration* theWrappedObject) const; + bool __ne__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const; + bool __eq__(QXmlStreamEntityDeclaration* theWrappedObject, const QXmlStreamEntityDeclaration& other) const; + QStringRef publicId(QXmlStreamEntityDeclaration* theWrappedObject) const; + QStringRef systemId(QXmlStreamEntityDeclaration* theWrappedObject) const; + QStringRef value(QXmlStreamEntityDeclaration* theWrappedObject) const; +}; + + + + + +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; } + QStringRef namespaceUri(QXmlStreamNamespaceDeclaration* theWrappedObject) const; + bool __ne__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const; + bool __eq__(QXmlStreamNamespaceDeclaration* theWrappedObject, const QXmlStreamNamespaceDeclaration& other) const; + QStringRef prefix(QXmlStreamNamespaceDeclaration* theWrappedObject) const; +}; + + + + + +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; } + QStringRef name(QXmlStreamNotationDeclaration* theWrappedObject) const; + bool __ne__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const; + bool __eq__(QXmlStreamNotationDeclaration* theWrappedObject, const QXmlStreamNotationDeclaration& other) const; + QStringRef publicId(QXmlStreamNotationDeclaration* theWrappedObject) const; + QStringRef systemId(QXmlStreamNotationDeclaration* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QXmlStreamReader : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Error ReadElementTextBehaviour TokenType ) +enum Error{ + NoError = QXmlStreamReader::NoError, UnexpectedElementError = QXmlStreamReader::UnexpectedElementError, CustomError = QXmlStreamReader::CustomError, NotWellFormedError = QXmlStreamReader::NotWellFormedError, PrematureEndOfDocumentError = QXmlStreamReader::PrematureEndOfDocumentError}; +enum ReadElementTextBehaviour{ + ErrorOnUnexpectedElement = QXmlStreamReader::ErrorOnUnexpectedElement, IncludeChildElements = QXmlStreamReader::IncludeChildElements, SkipChildElements = QXmlStreamReader::SkipChildElements}; +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; } + void addData(QXmlStreamReader* theWrappedObject, const QByteArray& data); + void addData(QXmlStreamReader* theWrappedObject, const QString& data); + void addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction); + void addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions); + bool atEnd(QXmlStreamReader* theWrappedObject) const; + QXmlStreamAttributes attributes(QXmlStreamReader* theWrappedObject) const; + qint64 characterOffset(QXmlStreamReader* theWrappedObject) const; + void clear(QXmlStreamReader* theWrappedObject); + qint64 columnNumber(QXmlStreamReader* theWrappedObject) const; + QIODevice* device(QXmlStreamReader* theWrappedObject) const; + QStringRef documentEncoding(QXmlStreamReader* theWrappedObject) const; + QStringRef documentVersion(QXmlStreamReader* theWrappedObject) const; + QStringRef dtdName(QXmlStreamReader* theWrappedObject) const; + QStringRef dtdPublicId(QXmlStreamReader* theWrappedObject) const; + QStringRef dtdSystemId(QXmlStreamReader* theWrappedObject) const; + QVector entityDeclarations(QXmlStreamReader* theWrappedObject) const; + int entityExpansionLimit(QXmlStreamReader* theWrappedObject) const; + QXmlStreamEntityResolver* entityResolver(QXmlStreamReader* theWrappedObject) const; + QXmlStreamReader::Error error(QXmlStreamReader* theWrappedObject) const; + QString errorString(QXmlStreamReader* theWrappedObject) const; + bool hasError(QXmlStreamReader* theWrappedObject) const; + bool isCDATA(QXmlStreamReader* theWrappedObject) const; + bool isCharacters(QXmlStreamReader* theWrappedObject) const; + bool isComment(QXmlStreamReader* theWrappedObject) const; + bool isDTD(QXmlStreamReader* theWrappedObject) const; + bool isEndDocument(QXmlStreamReader* theWrappedObject) const; + bool isEndElement(QXmlStreamReader* theWrappedObject) const; + bool isEntityReference(QXmlStreamReader* theWrappedObject) const; + bool isProcessingInstruction(QXmlStreamReader* theWrappedObject) const; + bool isStandaloneDocument(QXmlStreamReader* theWrappedObject) const; + bool isStartDocument(QXmlStreamReader* theWrappedObject) const; + bool isStartElement(QXmlStreamReader* theWrappedObject) const; + bool isWhitespace(QXmlStreamReader* theWrappedObject) const; + qint64 lineNumber(QXmlStreamReader* theWrappedObject) const; + QStringRef name(QXmlStreamReader* theWrappedObject) const; + QVector namespaceDeclarations(QXmlStreamReader* theWrappedObject) const; + bool namespaceProcessing(QXmlStreamReader* theWrappedObject) const; + QStringRef namespaceUri(QXmlStreamReader* theWrappedObject) const; + QVector notationDeclarations(QXmlStreamReader* theWrappedObject) const; + QStringRef prefix(QXmlStreamReader* theWrappedObject) const; + QStringRef processingInstructionData(QXmlStreamReader* theWrappedObject) const; + QStringRef processingInstructionTarget(QXmlStreamReader* theWrappedObject) const; + QStringRef qualifiedName(QXmlStreamReader* theWrappedObject) const; + void raiseError(QXmlStreamReader* theWrappedObject, const QString& message = QString()); + QString readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour = QXmlStreamReader::ErrorOnUnexpectedElement); + QXmlStreamReader::TokenType readNext(QXmlStreamReader* theWrappedObject); + bool readNextStartElement(QXmlStreamReader* theWrappedObject); + void setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device); + void setEntityExpansionLimit(QXmlStreamReader* theWrappedObject, int limit); + void setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver); + void setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1); + void skipCurrentElement(QXmlStreamReader* theWrappedObject); + QStringRef text(QXmlStreamReader* theWrappedObject) const; + QString tokenString(QXmlStreamReader* theWrappedObject) const; + QXmlStreamReader::TokenType tokenType(QXmlStreamReader* theWrappedObject) const; +}; + + + + + +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; } + bool autoFormatting(QXmlStreamWriter* theWrappedObject) const; + int autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const; + QTextCodec* codec(QXmlStreamWriter* theWrappedObject) const; + QIODevice* device(QXmlStreamWriter* theWrappedObject) const; + bool hasError(QXmlStreamWriter* theWrappedObject) const; + void setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1); + void setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spacesOrTabs); + void setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec); + void setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName); + void setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device); + void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); + void writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value); + void writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute); + void writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes); + void writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text); + void writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text); + void writeComment(QXmlStreamWriter* theWrappedObject, const QString& text); + void writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader); + void writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd); + void writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri); + void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); + void writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); + void writeEndDocument(QXmlStreamWriter* theWrappedObject); + void writeEndElement(QXmlStreamWriter* theWrappedObject); + void writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name); + void writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix = QString()); + void writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data = QString()); + void writeStartDocument(QXmlStreamWriter* theWrappedObject); + void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version); + void writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version, bool standalone); + void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name); + void writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName); + void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text); + void writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text); +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp similarity index 58% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp index 343b186e..fa280697 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp @@ -1,27 +1,29 @@ #include #include #include "com_trolltech_qt_xml0.h" +#include "com_trolltech_qt_xml1.h" void PythonQt_init_QtXml(PyObject* module) { -PythonQt::priv()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlContentHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDTDHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDeclHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -37,12 +39,20 @@ PythonQt::priv()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCrea PythonQt::priv()->registerCPPClass("QXmlInputSource", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLexicalHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLocator", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamAttributes", "", "QtXml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamReader", "", "QtXml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamWriter", "", "QtXml", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlReader", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSimpleReader", "QXmlReader", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlStreamAttribute", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamAttributes", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamEntityDeclaration", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamNamespaceDeclaration", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamNotationDeclaration", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlStreamReader", "", "QtXml", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlStreamWriter", "", "QtXml", PythonQtCreateObject, nullptr, module, 0); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QXmlStreamAttribute); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamAttribute); PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamEntityDeclaration); PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamNamespaceDeclaration); PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlStreamNotationDeclaration); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.cpp deleted file mode 100644 index e4e76b8f..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ /dev/null @@ -1,4049 +0,0 @@ -#include "com_trolltech_qt_core1.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 - -QString PythonQtWrapper_QLibrary::errorString(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -QString PythonQtWrapper_QLibrary::fileName(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QLibrary::static_QLibrary_isLibrary(const QString& fileName) -{ - return (QLibrary::isLibrary(fileName)); -} - -bool PythonQtWrapper_QLibrary::isLoaded(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->isLoaded()); -} - -bool PythonQtWrapper_QLibrary::load(QLibrary* theWrappedObject) -{ - return ( theWrappedObject->load()); -} - -QLibrary::LoadHints PythonQtWrapper_QLibrary::loadHints(QLibrary* theWrappedObject) const -{ - return ( theWrappedObject->loadHints()); -} - -void PythonQtWrapper_QLibrary::setFileName(QLibrary* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} - -void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version) -{ - ( theWrappedObject->setFileNameAndVersion(fileName, version)); -} - -void PythonQtWrapper_QLibrary::setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum) -{ - ( theWrappedObject->setFileNameAndVersion(fileName, verNum)); -} - -void PythonQtWrapper_QLibrary::setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints) -{ - ( theWrappedObject->setLoadHints(hints)); -} - -bool PythonQtWrapper_QLibrary::unload(QLibrary* theWrappedObject) -{ - return ( theWrappedObject->unload()); -} - - - -QDate PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildDate() -{ - return (QLibraryInfo::buildDate()); -} - -bool PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_isDebugBuild() -{ - return (QLibraryInfo::isDebugBuild()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensedProducts() -{ - return (QLibraryInfo::licensedProducts()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensee() -{ - return (QLibraryInfo::licensee()); -} - -QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1) -{ - return (QLibraryInfo::location(arg__1)); -} - -QStringList PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_platformPluginArguments(const QString& platformName) -{ - return (QLibraryInfo::platformPluginArguments(platformName)); -} - - - -QLockFile::LockError PythonQtWrapper_QLockFile::error(QLockFile* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -bool PythonQtWrapper_QLockFile::getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const -{ - return ( theWrappedObject->getLockInfo(pid, hostname, appname)); -} - -bool PythonQtWrapper_QLockFile::isLocked(QLockFile* theWrappedObject) const -{ - return ( theWrappedObject->isLocked()); -} - -bool PythonQtWrapper_QLockFile::lock(QLockFile* theWrappedObject) -{ - return ( theWrappedObject->lock()); -} - -bool PythonQtWrapper_QLockFile::removeStaleLockFile(QLockFile* theWrappedObject) -{ - return ( theWrappedObject->removeStaleLockFile()); -} - -void PythonQtWrapper_QLockFile::setStaleLockTime(QLockFile* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setStaleLockTime(arg__1)); -} - -int PythonQtWrapper_QLockFile::staleLockTime(QLockFile* theWrappedObject) const -{ - return ( theWrappedObject->staleLockTime()); -} - -bool PythonQtWrapper_QLockFile::tryLock(QLockFile* theWrappedObject, int timeout) -{ - return ( theWrappedObject->tryLock(timeout)); -} - -void PythonQtWrapper_QLockFile::unlock(QLockFile* theWrappedObject) -{ - ( theWrappedObject->unlock()); -} - - - -const char* PythonQtWrapper_QLoggingCategory::categoryName(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->categoryName()); -} - -QLoggingCategory* PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_defaultCategory() -{ - return (QLoggingCategory::defaultCategory()); -} - -bool PythonQtWrapper_QLoggingCategory::isCriticalEnabled(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->isCriticalEnabled()); -} - -bool PythonQtWrapper_QLoggingCategory::isDebugEnabled(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->isDebugEnabled()); -} - -bool PythonQtWrapper_QLoggingCategory::isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const -{ - return ( theWrappedObject->isEnabled(type)); -} - -bool PythonQtWrapper_QLoggingCategory::isInfoEnabled(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->isInfoEnabled()); -} - -bool PythonQtWrapper_QLoggingCategory::isWarningEnabled(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->isWarningEnabled()); -} - -void PythonQtWrapper_QLoggingCategory::setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable) -{ - ( theWrappedObject->setEnabled(type, enable)); -} - -void PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_setFilterRules(const QString& rules) -{ - (QLoggingCategory::setFilterRules(rules)); -} - - - -PythonQtShell_QMarginsF::~PythonQtShell_QMarginsF() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF() -{ -return new PythonQtShell_QMarginsF(); } - -QMarginsF PythonQtWrapper_QMarginsF::__div__(QMarginsF* theWrappedObject, qreal divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QMarginsF* PythonQtWrapper_QMarginsF::__idiv__(QMarginsF* theWrappedObject, qreal divisor) -{ - return &( (*theWrappedObject)/= divisor); -} - -void PythonQtWrapper_QMarginsF::writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QMarginsF::readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QMarginsF::py_toString(QMarginsF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -bool PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device) -{ - return ( theWrappedObject->addData(device)); -} - -void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data) -{ - ( theWrappedObject->addData(data)); -} - -void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length) -{ - ( theWrappedObject->addData(data, length)); -} - -QByteArray PythonQtWrapper_QMessageAuthenticationCode::static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method) -{ - return (QMessageAuthenticationCode::hash(message, key, method)); -} - -void PythonQtWrapper_QMessageAuthenticationCode::reset(QMessageAuthenticationCode* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -QByteArray PythonQtWrapper_QMessageAuthenticationCode::result(QMessageAuthenticationCode* theWrappedObject) const -{ - return ( theWrappedObject->result()); -} - -void PythonQtWrapper_QMessageAuthenticationCode::setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key) -{ - ( theWrappedObject->setKey(key)); -} - - - -PythonQtShell_QMessageLogContext::~PythonQtShell_QMessageLogContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext() -{ -return new PythonQtShell_QMessageLogContext(); } - - - - - -QMetaClassInfo* PythonQtWrapper_QMetaClassInfo::new_QMetaClassInfo() -{ -return new QMetaClassInfo(); } - -const QMetaObject* PythonQtWrapper_QMetaClassInfo::enclosingMetaObject(QMetaClassInfo* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -const char* PythonQtWrapper_QMetaClassInfo::name(QMetaClassInfo* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -const char* PythonQtWrapper_QMetaClassInfo::value(QMetaClassInfo* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - - - -QMetaEnum* PythonQtWrapper_QMetaEnum::new_QMetaEnum() -{ -return new QMetaEnum(); } - -const QMetaObject* PythonQtWrapper_QMetaEnum::enclosingMetaObject(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -const char* PythonQtWrapper_QMetaEnum::enumName(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->enumName()); -} - -bool PythonQtWrapper_QMetaEnum::isFlag(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->isFlag()); -} - -bool PythonQtWrapper_QMetaEnum::isScoped(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->isScoped()); -} - -bool PythonQtWrapper_QMetaEnum::isValid(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -const char* PythonQtWrapper_QMetaEnum::key(QMetaEnum* theWrappedObject, int index) const -{ - return ( theWrappedObject->key(index)); -} - -int PythonQtWrapper_QMetaEnum::keyCount(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->keyCount()); -} - -int PythonQtWrapper_QMetaEnum::keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok) const -{ - return ( theWrappedObject->keyToValue(key, ok)); -} - -int PythonQtWrapper_QMetaEnum::keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok) const -{ - return ( theWrappedObject->keysToValue(keys, ok)); -} - -const char* PythonQtWrapper_QMetaEnum::name(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -const char* PythonQtWrapper_QMetaEnum::scope(QMetaEnum* theWrappedObject) const -{ - return ( theWrappedObject->scope()); -} - -int PythonQtWrapper_QMetaEnum::value(QMetaEnum* theWrappedObject, int index) const -{ - return ( theWrappedObject->value(index)); -} - -const char* PythonQtWrapper_QMetaEnum::valueToKey(QMetaEnum* theWrappedObject, int value) const -{ - return ( theWrappedObject->valueToKey(value)); -} - -QByteArray PythonQtWrapper_QMetaEnum::valueToKeys(QMetaEnum* theWrappedObject, int value) const -{ - return ( theWrappedObject->valueToKeys(value)); -} - - - -QMetaMethod* PythonQtWrapper_QMetaMethod::new_QMetaMethod() -{ -return new QMetaMethod(); } - -QMetaMethod::Access PythonQtWrapper_QMetaMethod::access(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->access()); -} - -int PythonQtWrapper_QMetaMethod::attributes(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->attributes()); -} - -const QMetaObject* PythonQtWrapper_QMetaMethod::enclosingMetaObject(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -void PythonQtWrapper_QMetaMethod::getParameterTypes(QMetaMethod* theWrappedObject, int* types) const -{ - ( theWrappedObject->getParameterTypes(types)); -} - -bool PythonQtWrapper_QMetaMethod::isValid(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -int PythonQtWrapper_QMetaMethod::methodIndex(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->methodIndex()); -} - -QByteArray PythonQtWrapper_QMetaMethod::methodSignature(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->methodSignature()); -} - -QMetaMethod::MethodType PythonQtWrapper_QMetaMethod::methodType(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->methodType()); -} - -QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -bool PythonQtWrapper_QMetaMethod::__eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) -{ - return ( (*theWrappedObject)== m2); -} - -int PythonQtWrapper_QMetaMethod::parameterCount(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->parameterCount()); -} - -QList PythonQtWrapper_QMetaMethod::parameterNames(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->parameterNames()); -} - -int PythonQtWrapper_QMetaMethod::parameterType(QMetaMethod* theWrappedObject, int index) const -{ - return ( theWrappedObject->parameterType(index)); -} - -QList PythonQtWrapper_QMetaMethod::parameterTypes(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->parameterTypes()); -} - -int PythonQtWrapper_QMetaMethod::returnType(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->returnType()); -} - -int PythonQtWrapper_QMetaMethod::revision(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->revision()); -} - -const char* PythonQtWrapper_QMetaMethod::tag(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->tag()); -} - -const char* PythonQtWrapper_QMetaMethod::typeName(QMetaMethod* theWrappedObject) const -{ - return ( theWrappedObject->typeName()); -} - - - -QMetaProperty* PythonQtWrapper_QMetaProperty::new_QMetaProperty() -{ -return new QMetaProperty(); } - -const QMetaObject* PythonQtWrapper_QMetaProperty::enclosingMetaObject(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->enclosingMetaObject()); -} - -QMetaEnum PythonQtWrapper_QMetaProperty::enumerator(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->enumerator()); -} - -bool PythonQtWrapper_QMetaProperty::hasNotifySignal(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->hasNotifySignal()); -} - -bool PythonQtWrapper_QMetaProperty::hasStdCppSet(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->hasStdCppSet()); -} - -bool PythonQtWrapper_QMetaProperty::isConstant(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isConstant()); -} - -bool PythonQtWrapper_QMetaProperty::isDesignable(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isDesignable(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isEditable(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isEditable(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isEnumType(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isEnumType()); -} - -bool PythonQtWrapper_QMetaProperty::isFinal(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isFinal()); -} - -bool PythonQtWrapper_QMetaProperty::isFlagType(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isFlagType()); -} - -bool PythonQtWrapper_QMetaProperty::isReadable(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isReadable()); -} - -bool PythonQtWrapper_QMetaProperty::isRequired(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isRequired()); -} - -bool PythonQtWrapper_QMetaProperty::isResettable(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isResettable()); -} - -bool PythonQtWrapper_QMetaProperty::isScriptable(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isScriptable(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isStored(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isStored(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isUser(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->isUser(obj)); -} - -bool PythonQtWrapper_QMetaProperty::isValid(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QMetaProperty::isWritable(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -const char* PythonQtWrapper_QMetaProperty::name(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -QMetaMethod PythonQtWrapper_QMetaProperty::notifySignal(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->notifySignal()); -} - -int PythonQtWrapper_QMetaProperty::notifySignalIndex(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->notifySignalIndex()); -} - -int PythonQtWrapper_QMetaProperty::propertyIndex(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->propertyIndex()); -} - -QVariant PythonQtWrapper_QMetaProperty::read(QMetaProperty* theWrappedObject, const QObject* obj) const -{ - return ( theWrappedObject->read(obj)); -} - -QVariant PythonQtWrapper_QMetaProperty::readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const -{ - return ( theWrappedObject->readOnGadget(gadget)); -} - -int PythonQtWrapper_QMetaProperty::relativePropertyIndex(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->relativePropertyIndex()); -} - -bool PythonQtWrapper_QMetaProperty::reset(QMetaProperty* theWrappedObject, QObject* obj) const -{ - return ( theWrappedObject->reset(obj)); -} - -bool PythonQtWrapper_QMetaProperty::resetOnGadget(QMetaProperty* theWrappedObject, void* gadget) const -{ - return ( theWrappedObject->resetOnGadget(gadget)); -} - -int PythonQtWrapper_QMetaProperty::revision(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->revision()); -} - -QVariant::Type PythonQtWrapper_QMetaProperty::type(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -const char* PythonQtWrapper_QMetaProperty::typeName(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->typeName()); -} - -int PythonQtWrapper_QMetaProperty::userType(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->userType()); -} - -bool PythonQtWrapper_QMetaProperty::write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const -{ - return ( theWrappedObject->write(obj, value)); -} - -bool PythonQtWrapper_QMetaProperty::writeOnGadget(QMetaProperty* theWrappedObject, void* gadget, const QVariant& value) const -{ - return ( theWrappedObject->writeOnGadget(gadget, value)); -} - - - -QMetaType* PythonQtWrapper_QMetaType::new_QMetaType(const int type) -{ -return new QMetaType(type); } - -bool PythonQtWrapper_QMetaType::static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result) -{ - return (QMetaType::compare(lhs, rhs, typeId, result)); -} - -void* PythonQtWrapper_QMetaType::static_QMetaType_construct(int type, void* where, const void* copy) -{ - return (QMetaType::construct(type, where, copy)); -} - -void* PythonQtWrapper_QMetaType::construct(QMetaType* theWrappedObject, void* where, const void* copy) const -{ - return ( theWrappedObject->construct(where, copy)); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId) -{ - return (QMetaType::convert(from, fromTypeId, to, toTypeId)); -} - -void* PythonQtWrapper_QMetaType::create(QMetaType* theWrappedObject, const void* copy) const -{ - return ( theWrappedObject->create(copy)); -} - -void* PythonQtWrapper_QMetaType::static_QMetaType_create(int type, const void* copy) -{ - return (QMetaType::create(type, copy)); -} - -void PythonQtWrapper_QMetaType::static_QMetaType_destroy(int type, void* data) -{ - (QMetaType::destroy(type, data)); -} - -void PythonQtWrapper_QMetaType::destroy(QMetaType* theWrappedObject, void* data) const -{ - ( theWrappedObject->destroy(data)); -} - -void PythonQtWrapper_QMetaType::static_QMetaType_destruct(int type, void* where) -{ - (QMetaType::destruct(type, where)); -} - -void PythonQtWrapper_QMetaType::destruct(QMetaType* theWrappedObject, void* data) const -{ - ( theWrappedObject->destruct(data)); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_equals(const void* lhs, const void* rhs, int typeId, int* result) -{ - return (QMetaType::equals(lhs, rhs, typeId, result)); -} - -QMetaType::TypeFlags PythonQtWrapper_QMetaType::flags(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredComparators(int typeId) -{ - return (QMetaType::hasRegisteredComparators(typeId)); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredConverterFunction(int fromTypeId, int toTypeId) -{ - return (QMetaType::hasRegisteredConverterFunction(fromTypeId, toTypeId)); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredDebugStreamOperator(int typeId) -{ - return (QMetaType::hasRegisteredDebugStreamOperator(typeId)); -} - -int PythonQtWrapper_QMetaType::id(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->id()); -} - -bool PythonQtWrapper_QMetaType::isRegistered(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->isRegistered()); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_isRegistered(int type) -{ - return (QMetaType::isRegistered(type)); -} - -bool PythonQtWrapper_QMetaType::isValid(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_load(QDataStream& stream, int type, void* data) -{ - return (QMetaType::load(stream, type, data)); -} - -const QMetaObject* PythonQtWrapper_QMetaType::metaObject(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->metaObject()); -} - -const QMetaObject* PythonQtWrapper_QMetaType::static_QMetaType_metaObjectForType(int type) -{ - return (QMetaType::metaObjectForType(type)); -} - -QByteArray PythonQtWrapper_QMetaType::name(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId) -{ - return (QMetaType::registerNormalizedTypedef(normalizedTypeName, aliasId)); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_registerTypedef(const char* typeName, int aliasId) -{ - return (QMetaType::registerTypedef(typeName, aliasId)); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_save(QDataStream& stream, int type, const void* data) -{ - return (QMetaType::save(stream, type, data)); -} - -int PythonQtWrapper_QMetaType::sizeOf(QMetaType* theWrappedObject) const -{ - return ( theWrappedObject->sizeOf()); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_sizeOf(int type) -{ - return (QMetaType::sizeOf(type)); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_type(const QByteArray& typeName) -{ - return (QMetaType::type(typeName)); -} - -int PythonQtWrapper_QMetaType::static_QMetaType_type(const char* typeName) -{ - return (QMetaType::type(typeName)); -} - -QMetaType::TypeFlags PythonQtWrapper_QMetaType::static_QMetaType_typeFlags(int type) -{ - return (QMetaType::typeFlags(type)); -} - -const char* PythonQtWrapper_QMetaType::static_QMetaType_typeName(int type) -{ - return (QMetaType::typeName(type)); -} - -bool PythonQtWrapper_QMetaType::static_QMetaType_unregisterType(int type) -{ - return (QMetaType::unregisterType(type)); -} - - - -PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStringList PythonQtShell_QMimeData::formats() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("formats"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMimeData::formats(); -} -bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasFormat"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&mimetype0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMimeData::hasFormat(mimetype0); -} -QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("retrieveData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&mimetype0, (void*)&preferredType1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMimeData::retrieveData(mimetype0, preferredType1); -} -QMimeData* PythonQtWrapper_QMimeData::new_QMimeData() -{ -return new PythonQtShell_QMimeData(); } - -const QMetaObject* PythonQtShell_QMimeData::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMimeData::staticMetaObject); - } else { - return &QMimeData::staticMetaObject; - } -} -int PythonQtShell_QMimeData::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMimeData::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QMimeData::clear(QMimeData* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QVariant PythonQtWrapper_QMimeData::colorData(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->colorData()); -} - -QByteArray PythonQtWrapper_QMimeData::data(QMimeData* theWrappedObject, const QString& mimetype) const -{ - return ( theWrappedObject->data(mimetype)); -} - -QStringList PythonQtWrapper_QMimeData::formats(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->formats()); -} - -bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasColor()); -} - -bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const -{ - return ( theWrappedObject->hasFormat(mimetype)); -} - -bool PythonQtWrapper_QMimeData::hasHtml(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasHtml()); -} - -bool PythonQtWrapper_QMimeData::hasImage(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasImage()); -} - -bool PythonQtWrapper_QMimeData::hasText(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasText()); -} - -bool PythonQtWrapper_QMimeData::hasUrls(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->hasUrls()); -} - -QString PythonQtWrapper_QMimeData::html(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->html()); -} - -QVariant PythonQtWrapper_QMimeData::imageData(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->imageData()); -} - -void PythonQtWrapper_QMimeData::removeFormat(QMimeData* theWrappedObject, const QString& mimetype) -{ - ( theWrappedObject->removeFormat(mimetype)); -} - -QVariant PythonQtWrapper_QMimeData::retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const -{ - return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_retrieveData(mimetype, preferredType)); -} - -void PythonQtWrapper_QMimeData::setColorData(QMimeData* theWrappedObject, const QVariant& color) -{ - ( theWrappedObject->setColorData(color)); -} - -void PythonQtWrapper_QMimeData::setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data) -{ - ( theWrappedObject->setData(mimetype, data)); -} - -void PythonQtWrapper_QMimeData::setHtml(QMimeData* theWrappedObject, const QString& html) -{ - ( theWrappedObject->setHtml(html)); -} - -void PythonQtWrapper_QMimeData::setImageData(QMimeData* theWrappedObject, const QVariant& image) -{ - ( theWrappedObject->setImageData(image)); -} - -void PythonQtWrapper_QMimeData::setText(QMimeData* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -void PythonQtWrapper_QMimeData::setUrls(QMimeData* theWrappedObject, const QList& urls) -{ - ( theWrappedObject->setUrls(urls)); -} - -QString PythonQtWrapper_QMimeData::text(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QList PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const -{ - return ( theWrappedObject->urls()); -} - - - -QList PythonQtWrapper_QMimeDatabase::allMimeTypes(QMimeDatabase* theWrappedObject) const -{ - return ( theWrappedObject->allMimeTypes()); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const -{ - return ( theWrappedObject->mimeTypeForData(device)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const -{ - return ( theWrappedObject->mimeTypeForData(data)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode) const -{ - return ( theWrappedObject->mimeTypeForFile(fileInfo, mode)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode) const -{ - return ( theWrappedObject->mimeTypeForFile(fileName, mode)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const -{ - return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, device)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const -{ - return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, data)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const -{ - return ( theWrappedObject->mimeTypeForName(nameOrAlias)); -} - -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const -{ - return ( theWrappedObject->mimeTypeForUrl(url)); -} - -QList PythonQtWrapper_QMimeDatabase::mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->mimeTypesForFileName(fileName)); -} - -QString PythonQtWrapper_QMimeDatabase::suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const -{ - return ( theWrappedObject->suffixForFileName(fileName)); -} - - - -PythonQtShell_QOperatingSystemVersion::~PythonQtShell_QOperatingSystemVersion() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QOperatingSystemVersion* PythonQtWrapper_QOperatingSystemVersion::new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor, int vmicro) -{ -return new PythonQtShell_QOperatingSystemVersion(osType, vmajor, vminor, vmicro); } - -QOperatingSystemVersion PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_current() -{ - return (QOperatingSystemVersion::current()); -} - -QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_currentType() -{ - return (QOperatingSystemVersion::currentType()); -} - -int PythonQtWrapper_QOperatingSystemVersion::majorVersion(QOperatingSystemVersion* theWrappedObject) const -{ - return ( theWrappedObject->majorVersion()); -} - -int PythonQtWrapper_QOperatingSystemVersion::microVersion(QOperatingSystemVersion* theWrappedObject) const -{ - return ( theWrappedObject->microVersion()); -} - -int PythonQtWrapper_QOperatingSystemVersion::minorVersion(QOperatingSystemVersion* theWrappedObject) const -{ - return ( theWrappedObject->minorVersion()); -} - -QString PythonQtWrapper_QOperatingSystemVersion::name(QOperatingSystemVersion* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -int PythonQtWrapper_QOperatingSystemVersion::segmentCount(QOperatingSystemVersion* theWrappedObject) const -{ - return ( theWrappedObject->segmentCount()); -} - -QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::type(QOperatingSystemVersion* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QOperatingSystemVersion::py_toString(QOperatingSystemVersion* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QParallelAnimationGroup::duration() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QParallelAnimationGroup::duration(); -} -bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QParallelAnimationGroup::event(event0); -} -void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)¤tTime0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QParallelAnimationGroup::updateCurrentTime(currentTime0); -} -void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QParallelAnimationGroup::updateDirection(direction0); -} -void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QParallelAnimationGroup::updateState(newState0, oldState1); -} -QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) -{ -return new PythonQtShell_QParallelAnimationGroup(parent); } - -const QMetaObject* PythonQtShell_QParallelAnimationGroup::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QParallelAnimationGroup::staticMetaObject); - } else { - return &QParallelAnimationGroup::staticMetaObject; - } -} -int PythonQtShell_QParallelAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QParallelAnimationGroup::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QPauseAnimation::duration() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPauseAnimation::duration(); -} -bool PythonQtShell_QPauseAnimation::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPauseAnimation::event(e0); -} -void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPauseAnimation::updateCurrentTime(arg__1); -} -void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPauseAnimation::updateDirection(direction0); -} -void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPauseAnimation::updateState(newState0, oldState1); -} -QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) -{ -return new PythonQtShell_QPauseAnimation(parent); } - -QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) -{ -return new PythonQtShell_QPauseAnimation(msecs, parent); } - -const QMetaObject* PythonQtShell_QPauseAnimation::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPauseAnimation::staticMetaObject); - } else { - return &QPauseAnimation::staticMetaObject; - } -} -int PythonQtShell_QPauseAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPauseAnimation::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) -{ - ( theWrappedObject->setDuration(msecs)); -} - - - -PythonQtShell_QProcess::~PythonQtShell_QProcess() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QProcess::atEnd() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::atEnd(); -} -qint64 PythonQtShell_QProcess::bytesAvailable() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::bytesAvailable(); -} -qint64 PythonQtShell_QProcess::bytesToWrite() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::bytesToWrite(); -} -bool PythonQtShell_QProcess::canReadLine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::canReadLine(); -} -void PythonQtShell_QProcess::close() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QProcess::close(); -} -bool PythonQtShell_QProcess::isSequential() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::isSequential(); -} -bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::open(mode0); -} -qint64 PythonQtShell_QProcess::pos() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::pos(); -} -qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::readData(data0, maxlen1); -} -qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::readLineData(data0, maxlen1); -} -bool PythonQtShell_QProcess::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::reset(); -} -bool PythonQtShell_QProcess::seek(qint64 pos0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::seek(pos0); -} -void PythonQtShell_QProcess::setupChildProcess() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupChildProcess"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QProcess::setupChildProcess(); -} -qint64 PythonQtShell_QProcess::size() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::size(); -} -bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QProcess::writeData(data0, len1); -} -QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) -{ -return new PythonQtShell_QProcess(parent); } - -const QMetaObject* PythonQtShell_QProcess::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProcess::staticMetaObject); - } else { - return &QProcess::staticMetaObject; - } -} -int PythonQtShell_QProcess::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProcess::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QStringList PythonQtWrapper_QProcess::arguments(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->arguments()); -} - -void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) -{ - ( theWrappedObject->closeReadChannel(channel)); -} - -void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) -{ - ( theWrappedObject->closeWriteChannel()); -} - -QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->environment()); -} - -QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& command) -{ - return (QProcess::execute(command)); -} - -int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) -{ - return (QProcess::execute(program, arguments)); -} - -int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->exitCode()); -} - -QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->exitStatus()); -} - -QProcess::InputChannelMode PythonQtWrapper_QProcess::inputChannelMode(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->inputChannelMode()); -} - -QString PythonQtWrapper_QProcess::static_QProcess_nullDevice() -{ - return (QProcess::nullDevice()); -} - -QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->processChannelMode()); -} - -QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->processEnvironment()); -} - -qint64 PythonQtWrapper_QProcess::processId(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->processId()); -} - -QString PythonQtWrapper_QProcess::program(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->program()); -} - -QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) -{ - return ( theWrappedObject->readAllStandardError()); -} - -QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) -{ - return ( theWrappedObject->readAllStandardOutput()); -} - -QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->readChannel()); -} - -void PythonQtWrapper_QProcess::setArguments(QProcess* theWrappedObject, const QStringList& arguments) -{ - ( theWrappedObject->setArguments(arguments)); -} - -void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) -{ - ( theWrappedObject->setEnvironment(environment)); -} - -void PythonQtWrapper_QProcess::setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode) -{ - ( theWrappedObject->setInputChannelMode(mode)); -} - -void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) -{ - ( theWrappedObject->setProcessChannelMode(mode)); -} - -void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) -{ - ( theWrappedObject->setProcessEnvironment(environment)); -} - -void PythonQtWrapper_QProcess::setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state) -{ - ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setProcessState(state)); -} - -void PythonQtWrapper_QProcess::setProgram(QProcess* theWrappedObject, const QString& program) -{ - ( theWrappedObject->setProgram(program)); -} - -void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) -{ - ( theWrappedObject->setReadChannel(channel)); -} - -void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) -{ - ( theWrappedObject->setStandardErrorFile(fileName, mode)); -} - -void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setStandardInputFile(fileName)); -} - -void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) -{ - ( theWrappedObject->setStandardOutputFile(fileName, mode)); -} - -void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) -{ - ( theWrappedObject->setStandardOutputProcess(destination)); -} - -void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) -{ - ( theWrappedObject->setWorkingDirectory(dir)); -} - -void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); -} - -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(mode)); -} - -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(command, mode)); -} - -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(program, arguments, mode)); -} - -bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& command) -{ - return (QProcess::startDetached(command)); -} - -bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) -{ - return (QProcess::startDetached(program, arguments)); -} - -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::startDetached(QProcess* theWrappedObject, qint64* pid) -{ - return ( theWrappedObject->startDetached(pid)); -} - -QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() -{ - return (QProcess::systemEnvironment()); -} - -bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForFinished(msecs)); -} - -bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForStarted(msecs)); -} - -QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->workingDirectory()); -} - - - -PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QPropertyAnimation::duration() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPropertyAnimation::duration(); -} -bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPropertyAnimation::event(event0); -} -QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("interpolated"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&" , "const QVariant&" , "qreal"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue{}; - void* args[4] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPropertyAnimation::interpolated(from0, to1, progress2); -} -void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPropertyAnimation::updateCurrentTime(arg__1); -} -void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentValue"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPropertyAnimation::updateCurrentValue(value0); -} -void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPropertyAnimation::updateDirection(direction0); -} -void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPropertyAnimation::updateState(newState0, oldState1); -} -QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) -{ -return new PythonQtShell_QPropertyAnimation(parent); } - -QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) -{ -return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } - -const QMetaObject* PythonQtShell_QPropertyAnimation::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPropertyAnimation::staticMetaObject); - } else { - return &QPropertyAnimation::staticMetaObject; - } -} -int PythonQtShell_QPropertyAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPropertyAnimation::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const -{ - return ( theWrappedObject->propertyName()); -} - -void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) -{ - ( theWrappedObject->setPropertyName(propertyName)); -} - -void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) -{ - ( theWrappedObject->setTargetObject(target)); -} - -QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const -{ - return ( theWrappedObject->targetObject()); -} - - - -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const QRandomGenerator& other) -{ -return new QRandomGenerator64(other); } - -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(const unsigned int* begin, const unsigned int* end) -{ -return new QRandomGenerator64(begin, end); } - -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::new_QRandomGenerator64(unsigned int seedValue) -{ -return new QRandomGenerator64(seedValue); } - -void PythonQtWrapper_QRandomGenerator64::discard(QRandomGenerator64* theWrappedObject, quint64 z) -{ - ( theWrappedObject->discard(z)); -} - -quint64 PythonQtWrapper_QRandomGenerator64::generate(QRandomGenerator64* theWrappedObject) -{ - return ( theWrappedObject->generate()); -} - -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_global() -{ - return (QRandomGenerator64::global()); -} - -quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_max() -{ - return (QRandomGenerator64::max()); -} - -quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_min() -{ - return (QRandomGenerator64::min()); -} - -quint64 PythonQtWrapper_QRandomGenerator64::operator_cast_(QRandomGenerator64* theWrappedObject) -{ - return ( theWrappedObject->operator()()); -} - -QRandomGenerator64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_securelySeeded() -{ - return (QRandomGenerator64::securelySeeded()); -} - -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_system() -{ - return (QRandomGenerator64::system()); -} - - - -void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) -{ - ( theWrappedObject->lockForRead()); -} - -void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) -{ - ( theWrappedObject->lockForWrite()); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) -{ - return ( theWrappedObject->tryLockForRead()); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) -{ - return ( theWrappedObject->tryLockForRead(timeout)); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) -{ - return ( theWrappedObject->tryLockForWrite()); -} - -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) -{ - return ( theWrappedObject->tryLockForWrite(timeout)); -} - -void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) -{ - ( theWrappedObject->unlock()); -} - - - -PythonQtShell_QResource::~PythonQtShell_QResource() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QResource* PythonQtWrapper_QResource::new_QResource(const QString& file, const QLocale& locale) -{ -return new PythonQtShell_QResource(file, locale); } - -QString PythonQtWrapper_QResource::absoluteFilePath(QResource* theWrappedObject) const -{ - return ( theWrappedObject->absoluteFilePath()); -} - -void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) -{ - (QResource::addSearchPath(path)); -} - -QStringList PythonQtWrapper_QResource::children(QResource* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_children()); -} - -const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const -{ - return ( theWrappedObject->isCompressed()); -} - -bool PythonQtWrapper_QResource::isDir(QResource* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isDir()); -} - -bool PythonQtWrapper_QResource::isFile(QResource* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isFile()); -} - -bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QDateTime PythonQtWrapper_QResource::lastModified(QResource* theWrappedObject) const -{ - return ( theWrappedObject->lastModified()); -} - -QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - -bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) -{ - return (QResource::registerResource(rccFilename, resourceRoot)); -} - -bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) -{ - return (QResource::registerResource(rccData, resourceRoot)); -} - -QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() -{ - return (QResource::searchPaths()); -} - -void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) -{ - ( theWrappedObject->setFileName(file)); -} - -void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) -{ - ( theWrappedObject->setLocale(locale)); -} - -qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QByteArray PythonQtWrapper_QResource::uncompressedData(QResource* theWrappedObject) const -{ - return ( theWrappedObject->uncompressedData()); -} - -qint64 PythonQtWrapper_QResource::uncompressedSize(QResource* theWrappedObject) const -{ - return ( theWrappedObject->uncompressedSize()); -} - -bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) -{ - return (QResource::unregisterResource(rccFilename, resourceRoot)); -} - -bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) -{ - return (QResource::unregisterResource(rccData, resourceRoot)); -} - - - -PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QRunnable::run() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("run"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - -} -QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() -{ -return new PythonQtShell_QRunnable(); } - -bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const -{ - return ( theWrappedObject->autoDelete()); -} - -void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject) -{ - ( theWrappedObject->run()); -} - -void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) -{ - ( theWrappedObject->setAutoDelete(_autoDelete)); -} - - - -PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QSaveFile::atEnd() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::atEnd(); -} -qint64 PythonQtShell_QSaveFile::bytesAvailable() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::bytesAvailable(); -} -qint64 PythonQtShell_QSaveFile::bytesToWrite() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::bytesToWrite(); -} -bool PythonQtShell_QSaveFile::canReadLine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::canReadLine(); -} -QString PythonQtShell_QSaveFile::fileName() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fileName"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::fileName(); -} -bool PythonQtShell_QSaveFile::isSequential() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::isSequential(); -} -bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::open(flags0); -} -QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("permissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::permissions(); -} -qint64 PythonQtShell_QSaveFile::pos() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::pos(); -} -qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::readData(data0, maxlen1); -} -qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::readLineData(data0, maxlen1); -} -bool PythonQtShell_QSaveFile::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::reset(); -} -bool PythonQtShell_QSaveFile::resize(qint64 sz0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::resize(sz0); -} -bool PythonQtShell_QSaveFile::seek(qint64 offset0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::seek(offset0); -} -bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissionSpec0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::setPermissions(permissionSpec0); -} -qint64 PythonQtShell_QSaveFile::size() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::size(); -} -bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::waitForBytesWritten(msecs0); -} -bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::waitForReadyRead(msecs0); -} -qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSaveFile::writeData(data0, len1); -} -QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(QObject* parent) -{ -return new PythonQtShell_QSaveFile(parent); } - -QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name) -{ -return new PythonQtShell_QSaveFile(name); } - -QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name, QObject* parent) -{ -return new PythonQtShell_QSaveFile(name, parent); } - -const QMetaObject* PythonQtShell_QSaveFile::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSaveFile::staticMetaObject); - } else { - return &QSaveFile::staticMetaObject; - } -} -int PythonQtShell_QSaveFile::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSaveFile::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QSaveFile::cancelWriting(QSaveFile* theWrappedObject) -{ - ( theWrappedObject->cancelWriting()); -} - -bool PythonQtWrapper_QSaveFile::commit(QSaveFile* theWrappedObject) -{ - return ( theWrappedObject->commit()); -} - -bool PythonQtWrapper_QSaveFile::directWriteFallback(QSaveFile* theWrappedObject) const -{ - return ( theWrappedObject->directWriteFallback()); -} - -void PythonQtWrapper_QSaveFile::setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setDirectWriteFallback(enabled)); -} - -void PythonQtWrapper_QSaveFile::setFileName(QSaveFile* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setFileName(name)); -} - - - -void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) -{ - ( theWrappedObject->acquire(n)); -} - -int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const -{ - return ( theWrappedObject->available()); -} - -void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) -{ - ( theWrappedObject->release(n)); -} - -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) -{ - return ( theWrappedObject->tryAcquire(n)); -} - -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) -{ - return ( theWrappedObject->tryAcquire(n, timeout)); -} - - - -PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QSequentialAnimationGroup::duration() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSequentialAnimationGroup::duration(); -} -bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSequentialAnimationGroup::event(event0); -} -void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QSequentialAnimationGroup::updateCurrentTime(arg__1); -} -void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSequentialAnimationGroup::updateDirection(direction0); -} -void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSequentialAnimationGroup::updateState(newState0, oldState1); -} -QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) -{ -return new PythonQtShell_QSequentialAnimationGroup(parent); } - -const QMetaObject* PythonQtShell_QSequentialAnimationGroup::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSequentialAnimationGroup::staticMetaObject); - } else { - return &QSequentialAnimationGroup::staticMetaObject; - } -} -int PythonQtShell_QSequentialAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSequentialAnimationGroup::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) -{ - return ( theWrappedObject->addPause(msecs)); -} - -QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const -{ - return ( theWrappedObject->currentAnimation()); -} - -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) -{ - return ( theWrappedObject->insertPause(index, msecs)); -} - - - -PythonQtShell_QSettings::~PythonQtShell_QSettings() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QSettings::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QSettings::event(event0); -} -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, QObject* parent) -{ -return new PythonQtShell_QSettings(scope, 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); } - -const QMetaObject* PythonQtShell_QSettings::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSettings::staticMetaObject); - } else { - return &QSettings::staticMetaObject; - } -} -int PythonQtShell_QSettings::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSettings::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QStringList PythonQtWrapper_QSettings::allKeys(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->allKeys()); -} - -QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->applicationName()); -} - -void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) -{ - ( theWrappedObject->beginGroup(prefix)); -} - -int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) -{ - return ( theWrappedObject->beginReadArray(prefix)); -} - -void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) -{ - ( theWrappedObject->beginWriteArray(prefix, size)); -} - -QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->childGroups()); -} - -QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->childKeys()); -} - -void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const -{ - return ( theWrappedObject->contains(key)); -} - -QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() -{ - return (QSettings::defaultFormat()); -} - -void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) -{ - ( theWrappedObject->endArray()); -} - -void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) -{ - ( theWrappedObject->endGroup()); -} - -bool PythonQtWrapper_QSettings::event(QSettings* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QSettings*)theWrappedObject)->promoted_event(event)); -} - -bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->fallbacksEnabled()); -} - -QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -QTextCodec* PythonQtWrapper_QSettings::iniCodec(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->iniCodec()); -} - -bool PythonQtWrapper_QSettings::isAtomicSyncRequired(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->isAtomicSyncRequired()); -} - -bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->isWritable()); -} - -QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->organizationName()); -} - -void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) -{ - ( theWrappedObject->remove(key)); -} - -QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->scope()); -} - -void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) -{ - ( theWrappedObject->setArrayIndex(i)); -} - -void PythonQtWrapper_QSettings::setAtomicSyncRequired(QSettings* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAtomicSyncRequired(enable)); -} - -void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) -{ - (QSettings::setDefaultFormat(format)); -} - -void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) -{ - ( theWrappedObject->setFallbacksEnabled(b)); -} - -void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) -{ - ( theWrappedObject->setIniCodec(codec)); -} - -void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) -{ - ( theWrappedObject->setIniCodec(codecName)); -} - -void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) -{ - (QSettings::setPath(format, scope, path)); -} - -void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) -{ - ( theWrappedObject->setValue(key, value)); -} - -QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const -{ - return ( theWrappedObject->status()); -} - -void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) -{ - ( theWrappedObject->sync()); -} - -QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const -{ - return ( theWrappedObject->value(key, defaultValue)); -} - - - -bool PythonQtWrapper_QSharedMemory::attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode) -{ - return ( theWrappedObject->attach(mode)); -} - -const void* PythonQtWrapper_QSharedMemory::constData(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->constData()); -} - -bool PythonQtWrapper_QSharedMemory::create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode) -{ - return ( theWrappedObject->create(size, mode)); -} - -void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) -{ - return ( theWrappedObject->data()); -} - -const void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -QSharedMemory::SharedMemoryError PythonQtWrapper_QSharedMemory::error(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->error()); -} - -QString PythonQtWrapper_QSharedMemory::errorString(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); -} - -bool PythonQtWrapper_QSharedMemory::isAttached(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->isAttached()); -} - -QString PythonQtWrapper_QSharedMemory::key(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->key()); -} - -bool PythonQtWrapper_QSharedMemory::lock(QSharedMemory* theWrappedObject) -{ - return ( theWrappedObject->lock()); -} - -QString PythonQtWrapper_QSharedMemory::nativeKey(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->nativeKey()); -} - -void PythonQtWrapper_QSharedMemory::setKey(QSharedMemory* theWrappedObject, const QString& key) -{ - ( theWrappedObject->setKey(key)); -} - -void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) -{ - ( theWrappedObject->setNativeKey(key)); -} - -int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) -{ - return ( theWrappedObject->unlock()); -} - - - -PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QSignalMapper* PythonQtWrapper_QSignalMapper::new_QSignalMapper(QObject* parent) -{ -return new PythonQtShell_QSignalMapper(parent); } - -const QMetaObject* PythonQtShell_QSignalMapper::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSignalMapper::staticMetaObject); - } else { - return &QSignalMapper::staticMetaObject; - } -} -int PythonQtShell_QSignalMapper::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSignalMapper::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const -{ - return ( theWrappedObject->mapping(object)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QWidget* widget) const -{ - return ( theWrappedObject->mapping(widget)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const -{ - return ( theWrappedObject->mapping(text)); -} - -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const -{ - return ( theWrappedObject->mapping(id)); -} - -void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) -{ - ( theWrappedObject->removeMappings(sender)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) -{ - ( theWrappedObject->setMapping(sender, object)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget) -{ - ( theWrappedObject->setMapping(sender, widget)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) -{ - ( theWrappedObject->setMapping(sender, text)); -} - -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) -{ - ( theWrappedObject->setMapping(sender, id)); -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.h deleted file mode 100644 index 3b2e9b39..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.h +++ /dev/null @@ -1,1178 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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_QLibrary : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LoadHint ) -Q_FLAGS(LoadHints ) -enum LoadHint{ - ResolveAllSymbolsHint = QLibrary::ResolveAllSymbolsHint, ExportExternalSymbolsHint = QLibrary::ExportExternalSymbolsHint, LoadArchiveMemberHint = QLibrary::LoadArchiveMemberHint, PreventUnloadHint = QLibrary::PreventUnloadHint, DeepBindHint = QLibrary::DeepBindHint}; -Q_DECLARE_FLAGS(LoadHints, LoadHint) -public slots: -void delete_QLibrary(QLibrary* obj) { delete obj; } - QString errorString(QLibrary* theWrappedObject) const; - QString fileName(QLibrary* theWrappedObject) const; - bool static_QLibrary_isLibrary(const QString& fileName); - bool isLoaded(QLibrary* theWrappedObject) const; - bool load(QLibrary* theWrappedObject); - QLibrary::LoadHints loadHints(QLibrary* theWrappedObject) const; - void setFileName(QLibrary* theWrappedObject, const QString& fileName); - void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, const QString& version); - void setFileNameAndVersion(QLibrary* theWrappedObject, const QString& fileName, int verNum); - void setLoadHints(QLibrary* theWrappedObject, QLibrary::LoadHints hints); - bool unload(QLibrary* theWrappedObject); -}; - - - - - -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, LibraryExecutablesPath = QLibraryInfo::LibraryExecutablesPath, BinariesPath = QLibraryInfo::BinariesPath, PluginsPath = QLibraryInfo::PluginsPath, ImportsPath = QLibraryInfo::ImportsPath, Qml2ImportsPath = QLibraryInfo::Qml2ImportsPath, ArchDataPath = QLibraryInfo::ArchDataPath, DataPath = QLibraryInfo::DataPath, TranslationsPath = QLibraryInfo::TranslationsPath, ExamplesPath = QLibraryInfo::ExamplesPath, TestsPath = QLibraryInfo::TestsPath, SettingsPath = QLibraryInfo::SettingsPath}; -public slots: -void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } - QDate static_QLibraryInfo_buildDate(); - bool static_QLibraryInfo_isDebugBuild(); - QString static_QLibraryInfo_licensedProducts(); - QString static_QLibraryInfo_licensee(); - QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1); - QStringList static_QLibraryInfo_platformPluginArguments(const QString& platformName); -}; - - - - - -class PythonQtWrapper_QLockFile : public QObject -{ Q_OBJECT -public: -Q_ENUMS(LockError ) -enum LockError{ - NoError = QLockFile::NoError, LockFailedError = QLockFile::LockFailedError, PermissionError = QLockFile::PermissionError, UnknownError = QLockFile::UnknownError}; -public slots: -void delete_QLockFile(QLockFile* obj) { delete obj; } - QLockFile::LockError error(QLockFile* theWrappedObject) const; - bool getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const; - bool isLocked(QLockFile* theWrappedObject) const; - bool lock(QLockFile* theWrappedObject); - bool removeStaleLockFile(QLockFile* theWrappedObject); - void setStaleLockTime(QLockFile* theWrappedObject, int arg__1); - int staleLockTime(QLockFile* theWrappedObject) const; - bool tryLock(QLockFile* theWrappedObject, int timeout = 0); - void unlock(QLockFile* theWrappedObject); -}; - - - - - -class PythonQtWrapper_QLoggingCategory : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QLoggingCategory(QLoggingCategory* obj) { delete obj; } - const char* categoryName(QLoggingCategory* theWrappedObject) const; - QLoggingCategory* static_QLoggingCategory_defaultCategory(); - bool isCriticalEnabled(QLoggingCategory* theWrappedObject) const; - bool isDebugEnabled(QLoggingCategory* theWrappedObject) const; - bool isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const; - bool isInfoEnabled(QLoggingCategory* theWrappedObject) const; - bool isWarningEnabled(QLoggingCategory* theWrappedObject) const; - void setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable); - void static_QLoggingCategory_setFilterRules(const QString& rules); -}; - - - - - -class PythonQtShell_QMarginsF : public QMarginsF -{ -public: - PythonQtShell_QMarginsF():QMarginsF(),_wrapper(NULL) {}; - - ~PythonQtShell_QMarginsF(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMarginsF : public QObject -{ Q_OBJECT -public: -public slots: -QMarginsF* new_QMarginsF(); -void delete_QMarginsF(QMarginsF* obj) { delete obj; } - QMarginsF __div__(QMarginsF* theWrappedObject, qreal divisor); - QMarginsF* __idiv__(QMarginsF* theWrappedObject, qreal divisor); - void writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1); - void readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1); - QString py_toString(QMarginsF*); -}; - - - - - -class PythonQtWrapper_QMessageAuthenticationCode : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QMessageAuthenticationCode(QMessageAuthenticationCode* obj) { delete obj; } - bool addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device); - void addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data); - void addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length); - QByteArray static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method); - void reset(QMessageAuthenticationCode* theWrappedObject); - QByteArray result(QMessageAuthenticationCode* theWrappedObject) const; - void setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key); -}; - - - - - -class PythonQtShell_QMessageLogContext : public QMessageLogContext -{ -public: - PythonQtShell_QMessageLogContext():QMessageLogContext(),_wrapper(NULL) {}; - - ~PythonQtShell_QMessageLogContext(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMessageLogContext : public QObject -{ Q_OBJECT -public: -public slots: -QMessageLogContext* new_QMessageLogContext(); -void delete_QMessageLogContext(QMessageLogContext* obj) { delete obj; } -const char* py_get_category(QMessageLogContext* theWrappedObject){ return theWrappedObject->category; } -const char* py_get_file(QMessageLogContext* theWrappedObject){ return theWrappedObject->file; } -const char* py_get_function(QMessageLogContext* theWrappedObject){ return theWrappedObject->function; } -void py_set_line(QMessageLogContext* theWrappedObject, int line){ theWrappedObject->line = line; } -int py_get_line(QMessageLogContext* theWrappedObject){ return theWrappedObject->line; } -void py_set_version(QMessageLogContext* theWrappedObject, int version){ theWrappedObject->version = version; } -int py_get_version(QMessageLogContext* theWrappedObject){ return theWrappedObject->version; } -}; - - - - - -class PythonQtWrapper_QMessageLogger : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QMessageLogger(QMessageLogger* obj) { delete obj; } -}; - - - - - -class PythonQtWrapper_QMetaClassInfo : public QObject -{ Q_OBJECT -public: -public slots: -QMetaClassInfo* new_QMetaClassInfo(); -void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } - const QMetaObject* enclosingMetaObject(QMetaClassInfo* theWrappedObject) const; - const char* name(QMetaClassInfo* theWrappedObject) const; - const char* value(QMetaClassInfo* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QMetaEnum : public QObject -{ Q_OBJECT -public: -public slots: -QMetaEnum* new_QMetaEnum(); -void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } - const QMetaObject* enclosingMetaObject(QMetaEnum* theWrappedObject) const; - const char* enumName(QMetaEnum* theWrappedObject) const; - bool isFlag(QMetaEnum* theWrappedObject) const; - bool isScoped(QMetaEnum* theWrappedObject) const; - bool isValid(QMetaEnum* theWrappedObject) const; - const char* key(QMetaEnum* theWrappedObject, int index) const; - int keyCount(QMetaEnum* theWrappedObject) const; - int keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok = nullptr) const; - int keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok = nullptr) const; - const char* name(QMetaEnum* theWrappedObject) const; - const char* scope(QMetaEnum* theWrappedObject) const; - int value(QMetaEnum* theWrappedObject, int index) const; - const char* valueToKey(QMetaEnum* theWrappedObject, int value) const; - QByteArray valueToKeys(QMetaEnum* theWrappedObject, int value) const; - bool __nonzero__(QMetaEnum* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QMetaMethod : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Access Attributes MethodType ) -enum Access{ - Private = QMetaMethod::Private, Protected = QMetaMethod::Protected, Public = QMetaMethod::Public}; -enum Attributes{ - Compatibility = QMetaMethod::Compatibility, Cloned = QMetaMethod::Cloned, Scriptable = QMetaMethod::Scriptable}; -enum MethodType{ - Method = QMetaMethod::Method, Signal = QMetaMethod::Signal, Slot = QMetaMethod::Slot, Constructor = QMetaMethod::Constructor}; -public slots: -QMetaMethod* new_QMetaMethod(); -void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } - QMetaMethod::Access access(QMetaMethod* theWrappedObject) const; - int attributes(QMetaMethod* theWrappedObject) const; - const QMetaObject* enclosingMetaObject(QMetaMethod* theWrappedObject) const; - void getParameterTypes(QMetaMethod* theWrappedObject, int* types) const; - bool isValid(QMetaMethod* theWrappedObject) const; - int methodIndex(QMetaMethod* theWrappedObject) const; - QByteArray methodSignature(QMetaMethod* theWrappedObject) const; - QMetaMethod::MethodType methodType(QMetaMethod* theWrappedObject) const; - QByteArray name(QMetaMethod* theWrappedObject) const; - bool __eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); - int parameterCount(QMetaMethod* theWrappedObject) const; - QList parameterNames(QMetaMethod* theWrappedObject) const; - int parameterType(QMetaMethod* theWrappedObject, int index) const; - QList parameterTypes(QMetaMethod* theWrappedObject) const; - int returnType(QMetaMethod* theWrappedObject) const; - int revision(QMetaMethod* theWrappedObject) const; - const char* tag(QMetaMethod* theWrappedObject) const; - const char* typeName(QMetaMethod* theWrappedObject) const; - bool __nonzero__(QMetaMethod* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QMetaProperty : public QObject -{ Q_OBJECT -public: -public slots: -QMetaProperty* new_QMetaProperty(); -void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } - const QMetaObject* enclosingMetaObject(QMetaProperty* theWrappedObject) const; - QMetaEnum enumerator(QMetaProperty* theWrappedObject) const; - bool hasNotifySignal(QMetaProperty* theWrappedObject) const; - bool hasStdCppSet(QMetaProperty* theWrappedObject) const; - bool isConstant(QMetaProperty* theWrappedObject) const; - bool isDesignable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; - bool isEditable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; - bool isEnumType(QMetaProperty* theWrappedObject) const; - bool isFinal(QMetaProperty* theWrappedObject) const; - bool isFlagType(QMetaProperty* theWrappedObject) const; - bool isReadable(QMetaProperty* theWrappedObject) const; - bool isRequired(QMetaProperty* theWrappedObject) const; - bool isResettable(QMetaProperty* theWrappedObject) const; - bool isScriptable(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; - bool isStored(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; - bool isUser(QMetaProperty* theWrappedObject, const QObject* obj = nullptr) const; - bool isValid(QMetaProperty* theWrappedObject) const; - bool isWritable(QMetaProperty* theWrappedObject) const; - const char* name(QMetaProperty* theWrappedObject) const; - QMetaMethod notifySignal(QMetaProperty* theWrappedObject) const; - int notifySignalIndex(QMetaProperty* theWrappedObject) const; - int propertyIndex(QMetaProperty* theWrappedObject) const; - QVariant read(QMetaProperty* theWrappedObject, const QObject* obj) const; - QVariant readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const; - int relativePropertyIndex(QMetaProperty* theWrappedObject) const; - bool reset(QMetaProperty* theWrappedObject, QObject* obj) const; - bool resetOnGadget(QMetaProperty* theWrappedObject, void* gadget) const; - int revision(QMetaProperty* theWrappedObject) const; - QVariant::Type type(QMetaProperty* theWrappedObject) const; - const char* typeName(QMetaProperty* theWrappedObject) const; - int userType(QMetaProperty* theWrappedObject) const; - bool write(QMetaProperty* theWrappedObject, QObject* obj, const QVariant& value) const; - bool writeOnGadget(QMetaProperty* theWrappedObject, void* gadget, const QVariant& value) const; - bool __nonzero__(QMetaProperty* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QMetaType : public QObject -{ Q_OBJECT -public: -Q_ENUMS(TypeFlag ) -Q_FLAGS(TypeFlags ) -enum TypeFlag{ - NeedsConstruction = QMetaType::NeedsConstruction, NeedsDestruction = QMetaType::NeedsDestruction, MovableType = QMetaType::MovableType, PointerToQObject = QMetaType::PointerToQObject, IsEnumeration = QMetaType::IsEnumeration, SharedPointerToQObject = QMetaType::SharedPointerToQObject, WeakPointerToQObject = QMetaType::WeakPointerToQObject, TrackingPointerToQObject = QMetaType::TrackingPointerToQObject, WasDeclaredAsMetaType = QMetaType::WasDeclaredAsMetaType, IsGadget = QMetaType::IsGadget, PointerToGadget = QMetaType::PointerToGadget}; -Q_DECLARE_FLAGS(TypeFlags, TypeFlag) -public slots: -QMetaType* new_QMetaType(const int type = QMetaType::UnknownType); -void delete_QMetaType(QMetaType* obj) { delete obj; } - bool static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result); - void* static_QMetaType_construct(int type, void* where, const void* copy); - void* construct(QMetaType* theWrappedObject, void* where, const void* copy = nullptr) const; - bool static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId); - void* create(QMetaType* theWrappedObject, const void* copy = nullptr) const; - void* static_QMetaType_create(int type, const void* copy = nullptr); - void static_QMetaType_destroy(int type, void* data); - void destroy(QMetaType* theWrappedObject, void* data) const; - void static_QMetaType_destruct(int type, void* where); - void destruct(QMetaType* theWrappedObject, void* data) const; - bool static_QMetaType_equals(const void* lhs, const void* rhs, int typeId, int* result); - QMetaType::TypeFlags flags(QMetaType* theWrappedObject) const; - bool static_QMetaType_hasRegisteredComparators(int typeId); - bool static_QMetaType_hasRegisteredConverterFunction(int fromTypeId, int toTypeId); - bool static_QMetaType_hasRegisteredDebugStreamOperator(int typeId); - int id(QMetaType* theWrappedObject) const; - bool isRegistered(QMetaType* theWrappedObject) const; - bool static_QMetaType_isRegistered(int type); - bool isValid(QMetaType* theWrappedObject) const; - bool static_QMetaType_load(QDataStream& stream, int type, void* data); - const QMetaObject* metaObject(QMetaType* theWrappedObject) const; - const QMetaObject* static_QMetaType_metaObjectForType(int type); - QByteArray name(QMetaType* theWrappedObject) const; - int static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId); - int static_QMetaType_registerTypedef(const char* typeName, int aliasId); - bool static_QMetaType_save(QDataStream& stream, int type, const void* data); - int sizeOf(QMetaType* theWrappedObject) const; - int static_QMetaType_sizeOf(int type); - int static_QMetaType_type(const QByteArray& typeName); - int static_QMetaType_type(const char* typeName); - QMetaType::TypeFlags static_QMetaType_typeFlags(int type); - const char* static_QMetaType_typeName(int type); - bool static_QMetaType_unregisterType(int type); - bool __nonzero__(QMetaType* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QMimeData : public QMimeData -{ -public: - PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {}; - - ~PythonQtShell_QMimeData(); - -virtual QStringList formats() const; -virtual bool hasFormat(const QString& mimetype) const; -virtual QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMimeData : public QMimeData -{ public: -inline QVariant promoted_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return this->retrieveData(mimetype, preferredType); } -inline QStringList py_q_formats() const { return QMimeData::formats(); } -inline bool py_q_hasFormat(const QString& mimetype) const { return QMimeData::hasFormat(mimetype); } -inline QVariant py_q_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 clear(QMimeData* theWrappedObject); - QVariant colorData(QMimeData* theWrappedObject) const; - QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; - QStringList formats(QMimeData* theWrappedObject) const; - QStringList py_q_formats(QMimeData* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_formats());} - bool hasColor(QMimeData* theWrappedObject) const; - bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const; - bool py_q_hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_hasFormat(mimetype));} - bool hasHtml(QMimeData* theWrappedObject) const; - bool hasImage(QMimeData* theWrappedObject) const; - bool hasText(QMimeData* theWrappedObject) const; - bool hasUrls(QMimeData* theWrappedObject) const; - QString html(QMimeData* theWrappedObject) const; - QVariant imageData(QMimeData* theWrappedObject) const; - void removeFormat(QMimeData* theWrappedObject, const QString& mimetype); - QVariant retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const; - QVariant py_q_retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const{ return (((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->py_q_retrieveData(mimetype, preferredType));} - void setColorData(QMimeData* theWrappedObject, const QVariant& color); - void setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data); - void setHtml(QMimeData* theWrappedObject, const QString& html); - void setImageData(QMimeData* theWrappedObject, const QVariant& image); - void setText(QMimeData* theWrappedObject, const QString& text); - void setUrls(QMimeData* theWrappedObject, const QList& urls); - QString text(QMimeData* theWrappedObject) const; - QList urls(QMimeData* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QMimeDatabase : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MatchMode ) -enum MatchMode{ - MatchDefault = QMimeDatabase::MatchDefault, MatchExtension = QMimeDatabase::MatchExtension, MatchContent = QMimeDatabase::MatchContent}; -public slots: -void delete_QMimeDatabase(QMimeDatabase* obj) { delete obj; } - QList allMimeTypes(QMimeDatabase* theWrappedObject) const; - QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const; - QMimeType mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const; - QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; - QMimeType mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; - QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const; - QMimeType mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const; - QMimeType mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const; - QMimeType mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const; - QList mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; - QString suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const; -}; - - - - - -class PythonQtShell_QOperatingSystemVersion : public QOperatingSystemVersion -{ -public: - PythonQtShell_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1):QOperatingSystemVersion(osType, vmajor, vminor, vmicro),_wrapper(NULL) {}; - - ~PythonQtShell_QOperatingSystemVersion(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QOperatingSystemVersion : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OSType ) -enum OSType{ - Unknown = QOperatingSystemVersion::Unknown, Windows = QOperatingSystemVersion::Windows, MacOS = QOperatingSystemVersion::MacOS, IOS = QOperatingSystemVersion::IOS, TvOS = QOperatingSystemVersion::TvOS, WatchOS = QOperatingSystemVersion::WatchOS, Android = QOperatingSystemVersion::Android}; -public slots: -QOperatingSystemVersion* new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1); -void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; } - QOperatingSystemVersion static_QOperatingSystemVersion_current(); - QOperatingSystemVersion::OSType static_QOperatingSystemVersion_currentType(); - int majorVersion(QOperatingSystemVersion* theWrappedObject) const; - int microVersion(QOperatingSystemVersion* theWrappedObject) const; - int minorVersion(QOperatingSystemVersion* theWrappedObject) const; - QString name(QOperatingSystemVersion* theWrappedObject) const; - int segmentCount(QOperatingSystemVersion* theWrappedObject) const; - QOperatingSystemVersion::OSType type(QOperatingSystemVersion* theWrappedObject) const; - QString py_toString(QOperatingSystemVersion*); -}; - - - - - -class PythonQtShell_QParallelAnimationGroup : public QParallelAnimationGroup -{ -public: - PythonQtShell_QParallelAnimationGroup(QObject* parent = nullptr):QParallelAnimationGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QParallelAnimationGroup(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QParallelAnimationGroup : public QParallelAnimationGroup -{ public: -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline void promoted_updateCurrentTime(int currentTime) { this->updateCurrentTime(currentTime); } -inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { this->updateDirection(direction); } -inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } -inline int py_q_duration() const { return QParallelAnimationGroup::duration(); } -inline bool py_q_event(QEvent* event) { return QParallelAnimationGroup::event(event); } -inline void py_q_updateCurrentTime(int currentTime) { QParallelAnimationGroup::updateCurrentTime(currentTime); } -inline void py_q_updateDirection(QAbstractAnimation::Direction direction) { QParallelAnimationGroup::updateDirection(direction); } -inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QParallelAnimationGroup::updateState(newState, oldState); } -}; - -class PythonQtWrapper_QParallelAnimationGroup : public QObject -{ Q_OBJECT -public: -public slots: -QParallelAnimationGroup* new_QParallelAnimationGroup(QObject* parent = nullptr); -void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; } - int py_q_duration(QParallelAnimationGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_duration());} - bool py_q_event(QParallelAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_event(event));} - void py_q_updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateCurrentTime(currentTime));} - void py_q_updateDirection(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateDirection(direction));} - void py_q_updateState(QParallelAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateState(newState, oldState));} -}; - - - - - -class PythonQtShell_QPauseAnimation : public QPauseAnimation -{ -public: - PythonQtShell_QPauseAnimation(QObject* parent = nullptr):QPauseAnimation(parent),_wrapper(NULL) {}; - PythonQtShell_QPauseAnimation(int msecs, QObject* parent = nullptr):QPauseAnimation(msecs, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPauseAnimation(); - -virtual int duration() const; -virtual bool event(QEvent* e); -virtual void updateCurrentTime(int arg__1); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPauseAnimation : public QPauseAnimation -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_updateCurrentTime(int arg__1) { this->updateCurrentTime(arg__1); } -inline int py_q_duration() const { return QPauseAnimation::duration(); } -inline bool py_q_event(QEvent* e) { return QPauseAnimation::event(e); } -inline void py_q_updateCurrentTime(int arg__1) { QPauseAnimation::updateCurrentTime(arg__1); } -}; - -class PythonQtWrapper_QPauseAnimation : public QObject -{ Q_OBJECT -public: -public slots: -QPauseAnimation* new_QPauseAnimation(QObject* parent = nullptr); -QPauseAnimation* new_QPauseAnimation(int msecs, QObject* parent = nullptr); -void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } - int py_q_duration(QPauseAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_duration());} - bool py_q_event(QPauseAnimation* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_event(e));} - void setDuration(QPauseAnimation* theWrappedObject, int msecs); - void py_q_updateCurrentTime(QPauseAnimation* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_updateCurrentTime(arg__1));} -}; - - - - - -class PythonQtShell_QProcess : public QProcess -{ -public: - PythonQtShell_QProcess(QObject* parent = nullptr):QProcess(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QProcess(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite); -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 bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QProcess : public QProcess -{ public: -inline qint64 promoted_readData(char* data, qint64 maxlen) { return this->readData(data, maxlen); } -inline void promoted_setProcessState(QProcess::ProcessState state) { this->setProcessState(state); } -inline void promoted_setupChildProcess() { this->setupChildProcess(); } -inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -inline bool py_q_atEnd() const { return QProcess::atEnd(); } -inline qint64 py_q_bytesAvailable() const { return QProcess::bytesAvailable(); } -inline qint64 py_q_bytesToWrite() const { return QProcess::bytesToWrite(); } -inline bool py_q_canReadLine() const { return QProcess::canReadLine(); } -inline void py_q_close() { QProcess::close(); } -inline bool py_q_isSequential() const { return QProcess::isSequential(); } -inline bool py_q_open(QIODevice::OpenMode mode = QIODevice::ReadWrite) { return QProcess::open(mode); } -inline qint64 py_q_readData(char* data, qint64 maxlen) { return QProcess::readData(data, maxlen); } -inline void py_q_setupChildProcess() { QProcess::setupChildProcess(); } -inline bool py_q_waitForBytesWritten(int msecs = 30000) { return QProcess::waitForBytesWritten(msecs); } -inline bool py_q_waitForReadyRead(int msecs = 30000) { return QProcess::waitForReadyRead(msecs); } -inline qint64 py_q_writeData(const char* data, qint64 len) { return QProcess::writeData(data, len); } -}; - -class PythonQtWrapper_QProcess : public QObject -{ Q_OBJECT -public: -public slots: -QProcess* new_QProcess(QObject* parent = nullptr); -void delete_QProcess(QProcess* obj) { delete obj; } - QStringList arguments(QProcess* theWrappedObject) const; - bool py_q_atEnd(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_atEnd());} - qint64 py_q_bytesAvailable(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_bytesAvailable());} - qint64 py_q_bytesToWrite(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_bytesToWrite());} - bool py_q_canReadLine(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_canReadLine());} - void py_q_close(QProcess* theWrappedObject){ (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_close());} - void closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); - void closeWriteChannel(QProcess* theWrappedObject); - QStringList environment(QProcess* theWrappedObject) const; - QProcess::ProcessError error(QProcess* theWrappedObject) const; - int static_QProcess_execute(const QString& command); - int static_QProcess_execute(const QString& program, const QStringList& arguments); - int exitCode(QProcess* theWrappedObject) const; - QProcess::ExitStatus exitStatus(QProcess* theWrappedObject) const; - QProcess::InputChannelMode inputChannelMode(QProcess* theWrappedObject) const; - bool py_q_isSequential(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_isSequential());} - QString static_QProcess_nullDevice(); - bool py_q_open(QProcess* theWrappedObject, QIODevice::OpenMode mode = QIODevice::ReadWrite){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_open(mode));} - QProcess::ProcessChannelMode processChannelMode(QProcess* theWrappedObject) const; - QProcessEnvironment processEnvironment(QProcess* theWrappedObject) const; - qint64 processId(QProcess* theWrappedObject) const; - QString program(QProcess* theWrappedObject) const; - QByteArray readAllStandardError(QProcess* theWrappedObject); - QByteArray readAllStandardOutput(QProcess* theWrappedObject); - QProcess::ProcessChannel readChannel(QProcess* theWrappedObject) const; - qint64 py_q_readData(QProcess* theWrappedObject, char* data, qint64 maxlen){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_readData(data, maxlen));} - void setArguments(QProcess* theWrappedObject, const QStringList& arguments); - void setEnvironment(QProcess* theWrappedObject, const QStringList& environment); - void setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode); - void setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode); - void setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment); - void setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state); - void setProgram(QProcess* theWrappedObject, const QString& program); - void setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel); - void setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); - void setStandardInputFile(QProcess* theWrappedObject, const QString& fileName); - void setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode = QIODevice::Truncate); - void setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination); - void setWorkingDirectory(QProcess* theWrappedObject, const QString& dir); - void setupChildProcess(QProcess* theWrappedObject); - void py_q_setupChildProcess(QProcess* theWrappedObject){ (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_setupChildProcess());} - void start(QProcess* theWrappedObject, QIODevice::OpenMode mode = QIODevice::ReadWrite); - void start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode = QIODevice::ReadWrite); - void start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode = QIODevice::ReadWrite); - bool static_QProcess_startDetached(const QString& command); - bool static_QProcess_startDetached(const QString& program, const QStringList& arguments); - bool static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid = nullptr); - bool startDetached(QProcess* theWrappedObject, qint64* pid = nullptr); - QProcess::ProcessState state(QProcess* theWrappedObject) const; - QStringList static_QProcess_systemEnvironment(); - bool py_q_waitForBytesWritten(QProcess* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_waitForBytesWritten(msecs));} - bool waitForFinished(QProcess* theWrappedObject, int msecs = 30000); - bool py_q_waitForReadyRead(QProcess* theWrappedObject, int msecs = 30000){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_waitForReadyRead(msecs));} - bool waitForStarted(QProcess* theWrappedObject, int msecs = 30000); - QString workingDirectory(QProcess* theWrappedObject) const; - qint64 py_q_writeData(QProcess* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_writeData(data, len));} -}; - - - - - -class PythonQtShell_QPropertyAnimation : public QPropertyAnimation -{ -public: - PythonQtShell_QPropertyAnimation(QObject* parent = nullptr):QPropertyAnimation(parent),_wrapper(NULL) {}; - PythonQtShell_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr):QPropertyAnimation(target, propertyName, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPropertyAnimation(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; -virtual void updateCurrentTime(int arg__1); -virtual void updateCurrentValue(const QVariant& value); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPropertyAnimation : public QPropertyAnimation -{ public: -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline void promoted_updateCurrentValue(const QVariant& value) { this->updateCurrentValue(value); } -inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } -inline bool py_q_event(QEvent* event) { return QPropertyAnimation::event(event); } -inline void py_q_updateCurrentValue(const QVariant& value) { QPropertyAnimation::updateCurrentValue(value); } -inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QPropertyAnimation::updateState(newState, oldState); } -}; - -class PythonQtWrapper_QPropertyAnimation : public QObject -{ Q_OBJECT -public: -public slots: -QPropertyAnimation* new_QPropertyAnimation(QObject* parent = nullptr); -QPropertyAnimation* new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr); -void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } - bool py_q_event(QPropertyAnimation* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_event(event));} - QByteArray propertyName(QPropertyAnimation* theWrappedObject) const; - void setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName); - void setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target); - QObject* targetObject(QPropertyAnimation* theWrappedObject) const; - void py_q_updateCurrentValue(QPropertyAnimation* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_updateCurrentValue(value));} - void py_q_updateState(QPropertyAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_updateState(newState, oldState));} -}; - - - - - -class PythonQtWrapper_QRandomGenerator64 : public QObject -{ Q_OBJECT -public: -public slots: -QRandomGenerator64* new_QRandomGenerator64(const QRandomGenerator& other); -QRandomGenerator64* new_QRandomGenerator64(const unsigned int* begin, const unsigned int* end); -QRandomGenerator64* new_QRandomGenerator64(unsigned int seedValue = 1); -void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } - void discard(QRandomGenerator64* theWrappedObject, quint64 z); - quint64 generate(QRandomGenerator64* theWrappedObject); - QRandomGenerator64* static_QRandomGenerator64_global(); - quint64 static_QRandomGenerator64_max(); - quint64 static_QRandomGenerator64_min(); - quint64 operator_cast_(QRandomGenerator64* theWrappedObject); - QRandomGenerator64 static_QRandomGenerator64_securelySeeded(); - QRandomGenerator64* static_QRandomGenerator64_system(); -}; - - - - - -class PythonQtWrapper_QReadWriteLock : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RecursionMode ) -enum RecursionMode{ - NonRecursive = QReadWriteLock::NonRecursive, Recursive = QReadWriteLock::Recursive}; -public slots: -void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } - void lockForRead(QReadWriteLock* theWrappedObject); - void lockForWrite(QReadWriteLock* theWrappedObject); - bool tryLockForRead(QReadWriteLock* theWrappedObject); - bool tryLockForRead(QReadWriteLock* theWrappedObject, int timeout); - bool tryLockForWrite(QReadWriteLock* theWrappedObject); - bool tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout); - void unlock(QReadWriteLock* theWrappedObject); -}; - - - - - -class PythonQtShell_QResource : public QResource -{ -public: - PythonQtShell_QResource(const QString& file = QString(), const QLocale& locale = QLocale()):QResource(file, locale),_wrapper(NULL) {}; - - ~PythonQtShell_QResource(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QResource : public QResource -{ public: -inline QStringList promoted_children() const { return this->children(); } -inline bool promoted_isDir() const { return this->isDir(); } -inline bool promoted_isFile() const { return this->isFile(); } -}; - -class PythonQtWrapper_QResource : public QObject -{ Q_OBJECT -public: -public slots: -QResource* new_QResource(const QString& file = QString(), const QLocale& locale = QLocale()); -void delete_QResource(QResource* obj) { delete obj; } - QString absoluteFilePath(QResource* theWrappedObject) const; - void static_QResource_addSearchPath(const QString& path); - QStringList children(QResource* theWrappedObject) const; - const uchar* data(QResource* theWrappedObject) const; - QString fileName(QResource* theWrappedObject) const; - bool isCompressed(QResource* theWrappedObject) const; - bool isDir(QResource* theWrappedObject) const; - bool isFile(QResource* theWrappedObject) const; - bool isValid(QResource* theWrappedObject) const; - QDateTime lastModified(QResource* theWrappedObject) const; - QLocale locale(QResource* theWrappedObject) const; - bool static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot = QString()); - bool static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot = QString()); - QStringList static_QResource_searchPaths(); - void setFileName(QResource* theWrappedObject, const QString& file); - void setLocale(QResource* theWrappedObject, const QLocale& locale); - qint64 size(QResource* theWrappedObject) const; - QByteArray uncompressedData(QResource* theWrappedObject) const; - qint64 uncompressedSize(QResource* theWrappedObject) const; - bool static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot = QString()); - bool static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot = QString()); - bool __nonzero__(QResource* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QRunnable : public QRunnable -{ -public: - PythonQtShell_QRunnable():QRunnable(),_wrapper(NULL) {}; - - ~PythonQtShell_QRunnable(); - -virtual void run(); - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRunnable : public QRunnable -{ public: -inline void py_q_run() { this->run(); } -}; - -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 run(QRunnable* theWrappedObject); - void py_q_run(QRunnable* theWrappedObject){ (((PythonQtPublicPromoter_QRunnable*)theWrappedObject)->py_q_run());} - void setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete); -}; - - - - - -class PythonQtShell_QSaveFile : public QSaveFile -{ -public: - PythonQtShell_QSaveFile(QObject* parent = nullptr):QSaveFile(parent),_wrapper(NULL) {}; - PythonQtShell_QSaveFile(const QString& name):QSaveFile(name),_wrapper(NULL) {}; - PythonQtShell_QSaveFile(const QString& name, QObject* parent):QSaveFile(name, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSaveFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSaveFile : public QSaveFile -{ public: -inline qint64 promoted_writeData(const char* data, qint64 len) { return this->writeData(data, len); } -inline QString py_q_fileName() const { return QSaveFile::fileName(); } -inline bool py_q_open(QIODevice::OpenMode flags) { return QSaveFile::open(flags); } -inline qint64 py_q_writeData(const char* data, qint64 len) { return QSaveFile::writeData(data, len); } -}; - -class PythonQtWrapper_QSaveFile : public QObject -{ Q_OBJECT -public: -public slots: -QSaveFile* new_QSaveFile(QObject* parent = nullptr); -QSaveFile* new_QSaveFile(const QString& name); -QSaveFile* new_QSaveFile(const QString& name, QObject* parent); -void delete_QSaveFile(QSaveFile* obj) { delete obj; } - void cancelWriting(QSaveFile* theWrappedObject); - bool commit(QSaveFile* theWrappedObject); - bool directWriteFallback(QSaveFile* theWrappedObject) const; - QString py_q_fileName(QSaveFile* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_fileName());} - bool py_q_open(QSaveFile* theWrappedObject, QIODevice::OpenMode flags){ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_open(flags));} - void setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled); - void setFileName(QSaveFile* theWrappedObject, const QString& name); - qint64 py_q_writeData(QSaveFile* theWrappedObject, const char* data, qint64 len){ return (((PythonQtPublicPromoter_QSaveFile*)theWrappedObject)->py_q_writeData(data, len));} -}; - - - - - -class PythonQtWrapper_QSemaphore : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QSemaphore(QSemaphore* obj) { delete obj; } - void acquire(QSemaphore* theWrappedObject, int n = 1); - int available(QSemaphore* theWrappedObject) const; - void release(QSemaphore* theWrappedObject, int n = 1); - bool tryAcquire(QSemaphore* theWrappedObject, int n = 1); - bool tryAcquire(QSemaphore* theWrappedObject, int n, int timeout); -}; - - - - - -class PythonQtShell_QSequentialAnimationGroup : public QSequentialAnimationGroup -{ -public: - PythonQtShell_QSequentialAnimationGroup(QObject* parent = nullptr):QSequentialAnimationGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSequentialAnimationGroup(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int arg__1); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSequentialAnimationGroup : public QSequentialAnimationGroup -{ public: -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline void promoted_updateCurrentTime(int arg__1) { this->updateCurrentTime(arg__1); } -inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { this->updateDirection(direction); } -inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { this->updateState(newState, oldState); } -inline int py_q_duration() const { return QSequentialAnimationGroup::duration(); } -inline bool py_q_event(QEvent* event) { return QSequentialAnimationGroup::event(event); } -inline void py_q_updateCurrentTime(int arg__1) { QSequentialAnimationGroup::updateCurrentTime(arg__1); } -inline void py_q_updateDirection(QAbstractAnimation::Direction direction) { QSequentialAnimationGroup::updateDirection(direction); } -inline void py_q_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QSequentialAnimationGroup::updateState(newState, oldState); } -}; - -class PythonQtWrapper_QSequentialAnimationGroup : public QObject -{ Q_OBJECT -public: -public slots: -QSequentialAnimationGroup* new_QSequentialAnimationGroup(QObject* parent = nullptr); -void delete_QSequentialAnimationGroup(QSequentialAnimationGroup* obj) { delete obj; } - QPauseAnimation* addPause(QSequentialAnimationGroup* theWrappedObject, int msecs); - QAbstractAnimation* currentAnimation(QSequentialAnimationGroup* theWrappedObject) const; - int py_q_duration(QSequentialAnimationGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_duration());} - bool py_q_event(QSequentialAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_event(event));} - QPauseAnimation* insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs); - void py_q_updateCurrentTime(QSequentialAnimationGroup* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateCurrentTime(arg__1));} - void py_q_updateDirection(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::Direction direction){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateDirection(direction));} - void py_q_updateState(QSequentialAnimationGroup* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState){ (((PythonQtPublicPromoter_QSequentialAnimationGroup*)theWrappedObject)->py_q_updateState(newState, oldState));} -}; - - - - - -class PythonQtShell_QSettings : public QSettings -{ -public: - PythonQtShell_QSettings(QObject* parent = nullptr):QSettings(parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(format, scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Scope scope, QObject* parent = nullptr):QSettings(scope, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr):QSettings(fileName, format, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(organization, application, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSettings(); - -virtual bool event(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QSettings : public QSettings -{ public: -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline bool py_q_event(QEvent* event) { return QSettings::event(event); } -}; - -class PythonQtWrapper_QSettings : public QObject -{ Q_OBJECT -public: -public slots: -QSettings* new_QSettings(QObject* parent = nullptr); -QSettings* new_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr); -QSettings* new_QSettings(QSettings::Scope scope, QObject* parent = nullptr); -QSettings* new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr); -QSettings* new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr); -QSettings* new_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr); -void delete_QSettings(QSettings* obj) { delete obj; } - QStringList allKeys(QSettings* theWrappedObject) const; - QString applicationName(QSettings* theWrappedObject) const; - void beginGroup(QSettings* theWrappedObject, const QString& prefix); - int beginReadArray(QSettings* theWrappedObject, const QString& prefix); - void beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size = -1); - QStringList childGroups(QSettings* theWrappedObject) const; - QStringList childKeys(QSettings* theWrappedObject) const; - void clear(QSettings* theWrappedObject); - bool contains(QSettings* theWrappedObject, const QString& key) const; - QSettings::Format static_QSettings_defaultFormat(); - void endArray(QSettings* theWrappedObject); - void endGroup(QSettings* theWrappedObject); - bool event(QSettings* theWrappedObject, QEvent* event); - bool py_q_event(QSettings* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSettings*)theWrappedObject)->py_q_event(event));} - bool fallbacksEnabled(QSettings* theWrappedObject) const; - QString fileName(QSettings* theWrappedObject) const; - QSettings::Format format(QSettings* theWrappedObject) const; - QString group(QSettings* theWrappedObject) const; - QTextCodec* iniCodec(QSettings* theWrappedObject) const; - bool isAtomicSyncRequired(QSettings* theWrappedObject) const; - bool isWritable(QSettings* theWrappedObject) const; - QString organizationName(QSettings* theWrappedObject) const; - void remove(QSettings* theWrappedObject, const QString& key); - QSettings::Scope scope(QSettings* theWrappedObject) const; - void setArrayIndex(QSettings* theWrappedObject, int i); - void setAtomicSyncRequired(QSettings* theWrappedObject, bool enable); - void static_QSettings_setDefaultFormat(QSettings::Format format); - void setFallbacksEnabled(QSettings* theWrappedObject, bool b); - void setIniCodec(QSettings* theWrappedObject, QTextCodec* codec); - void setIniCodec(QSettings* theWrappedObject, const char* codecName); - void static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path); - void setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value); - QSettings::Status status(QSettings* theWrappedObject) const; - void sync(QSettings* theWrappedObject); - QVariant value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue = QVariant()) const; -}; - - - - - -class PythonQtWrapper_QSharedMemory : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AccessMode SharedMemoryError ) -enum AccessMode{ - ReadOnly = QSharedMemory::ReadOnly, ReadWrite = QSharedMemory::ReadWrite}; -enum SharedMemoryError{ - NoError = QSharedMemory::NoError, PermissionDenied = QSharedMemory::PermissionDenied, InvalidSize = QSharedMemory::InvalidSize, KeyError = QSharedMemory::KeyError, AlreadyExists = QSharedMemory::AlreadyExists, NotFound = QSharedMemory::NotFound, LockError = QSharedMemory::LockError, OutOfResources = QSharedMemory::OutOfResources, UnknownError = QSharedMemory::UnknownError}; -public slots: -void delete_QSharedMemory(QSharedMemory* obj) { delete obj; } - bool attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); - const void* constData(QSharedMemory* theWrappedObject) const; - bool create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); - void* data(QSharedMemory* theWrappedObject); - const void* data(QSharedMemory* theWrappedObject) const; - QSharedMemory::SharedMemoryError error(QSharedMemory* theWrappedObject) const; - QString errorString(QSharedMemory* theWrappedObject) const; - bool isAttached(QSharedMemory* theWrappedObject) const; - QString key(QSharedMemory* theWrappedObject) const; - bool lock(QSharedMemory* theWrappedObject); - QString nativeKey(QSharedMemory* theWrappedObject) const; - void setKey(QSharedMemory* theWrappedObject, const QString& key); - void setNativeKey(QSharedMemory* theWrappedObject, const QString& key); - int size(QSharedMemory* theWrappedObject) const; - bool unlock(QSharedMemory* theWrappedObject); -}; - - - - - -class PythonQtShell_QSignalMapper : public QSignalMapper -{ -public: - PythonQtShell_QSignalMapper(QObject* parent = nullptr):QSignalMapper(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSignalMapper(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QSignalMapper : public QObject -{ Q_OBJECT -public: -public slots: -QSignalMapper* new_QSignalMapper(QObject* parent = nullptr); -void delete_QSignalMapper(QSignalMapper* obj) { delete obj; } - QObject* mapping(QSignalMapper* theWrappedObject, QObject* object) const; - QObject* mapping(QSignalMapper* theWrappedObject, QWidget* widget) const; - QObject* mapping(QSignalMapper* theWrappedObject, const QString& text) const; - QObject* mapping(QSignalMapper* theWrappedObject, int id) const; - void removeMappings(QSignalMapper* theWrappedObject, QObject* sender); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text); - void setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id); -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp deleted file mode 100644 index ef822d0e..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp +++ /dev/null @@ -1,938 +0,0 @@ -#include "com_trolltech_qt_core_builtin0.h" -#include -#include -#include -#include -#include -#include -#include -#include -#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::addDays(QDate* theWrappedObject, qint64 days) const -{ - return ( theWrappedObject->addDays(days)); -} - -QDate PythonQtWrapper_QDate::addMonths(QDate* theWrappedObject, int months) const -{ - return ( theWrappedObject->addMonths(months)); -} - -QDate PythonQtWrapper_QDate::addYears(QDate* theWrappedObject, int years) const -{ - return ( theWrappedObject->addYears(years)); -} - -QDate PythonQtWrapper_QDate::static_QDate_currentDate() -{ - return (QDate::currentDate()); -} - -int PythonQtWrapper_QDate::day(QDate* theWrappedObject) const -{ - return ( theWrappedObject->day()); -} - -int PythonQtWrapper_QDate::dayOfWeek(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfWeek()); -} - -int PythonQtWrapper_QDate::dayOfYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfYear()); -} - -int PythonQtWrapper_QDate::daysInMonth(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInMonth()); -} - -int PythonQtWrapper_QDate::daysInYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInYear()); -} - -qint64 PythonQtWrapper_QDate::daysTo(QDate* theWrappedObject, const QDate& arg__1) const -{ - return ( theWrappedObject->daysTo(arg__1)); -} - -QDateTime PythonQtWrapper_QDate::endOfDay(QDate* theWrappedObject, Qt::TimeSpec spec, int offsetSeconds) const -{ - return ( theWrappedObject->endOfDay(spec, offsetSeconds)); -} - -QDateTime PythonQtWrapper_QDate::endOfDay(QDate* theWrappedObject, const QTimeZone& zone) const -{ - return ( theWrappedObject->endOfDay(zone)); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromJulianDay(qint64 jd_) -{ - return (QDate::fromJulianDay(jd_)); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, Qt::DateFormat f) -{ - return (QDate::fromString(s, f)); -} - -QDate PythonQtWrapper_QDate::static_QDate_fromString(const QString& s, const QString& format) -{ - return (QDate::fromString(s, format)); -} - -void PythonQtWrapper_QDate::getDate(QDate* theWrappedObject, int* year, int* month, int* day) -{ - ( theWrappedObject->getDate(year, month, day)); -} - -void PythonQtWrapper_QDate::getDate(QDate* theWrappedObject, int* year, int* month, int* day) const -{ - ( theWrappedObject->getDate(year, month, day)); -} - -bool PythonQtWrapper_QDate::static_QDate_isLeapYear(int year) -{ - return (QDate::isLeapYear(year)); -} - -bool PythonQtWrapper_QDate::isNull(QDate* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QDate::isValid(QDate* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QDate::static_QDate_isValid(int y, int m, int d) -{ - return (QDate::isValid(y, m, d)); -} - -QString PythonQtWrapper_QDate::static_QDate_longDayName(int weekday, QDate::MonthNameType type) -{ - return (QDate::longDayName(weekday, type)); -} - -QString PythonQtWrapper_QDate::static_QDate_longMonthName(int month, QDate::MonthNameType type) -{ - return (QDate::longMonthName(month, type)); -} - -int PythonQtWrapper_QDate::month(QDate* theWrappedObject) const -{ - return ( theWrappedObject->month()); -} - -bool PythonQtWrapper_QDate::__ne__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QDate::__lt__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)< other); -} - -void PythonQtWrapper_QDate::writeTo(QDate* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QDate::__le__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)<= other); -} - -bool PythonQtWrapper_QDate::__eq__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)== other); -} - -bool PythonQtWrapper_QDate::__gt__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)> other); -} - -bool PythonQtWrapper_QDate::__ge__(QDate* theWrappedObject, const QDate& other) const -{ - return ( (*theWrappedObject)>= other); -} - -void PythonQtWrapper_QDate::readFrom(QDate* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -bool PythonQtWrapper_QDate::setDate(QDate* theWrappedObject, int year, int month, int day) -{ - return ( theWrappedObject->setDate(year, month, day)); -} - -QString PythonQtWrapper_QDate::static_QDate_shortDayName(int weekday, QDate::MonthNameType type) -{ - return (QDate::shortDayName(weekday, type)); -} - -QString PythonQtWrapper_QDate::static_QDate_shortMonthName(int month, QDate::MonthNameType type) -{ - return (QDate::shortMonthName(month, type)); -} - -QDateTime PythonQtWrapper_QDate::startOfDay(QDate* theWrappedObject, Qt::TimeSpec spec, int offsetSeconds) const -{ - return ( theWrappedObject->startOfDay(spec, offsetSeconds)); -} - -QDateTime PythonQtWrapper_QDate::startOfDay(QDate* theWrappedObject, const QTimeZone& zone) const -{ - return ( theWrappedObject->startOfDay(zone)); -} - -qint64 PythonQtWrapper_QDate::toJulianDay(QDate* theWrappedObject) const -{ - return ( theWrappedObject->toJulianDay()); -} - -QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, Qt::DateFormat format) const -{ - return ( theWrappedObject->toString(format)); -} - -QString PythonQtWrapper_QDate::toString(QDate* theWrappedObject, const QString& format) const -{ - return ( theWrappedObject->toString(format)); -} - -int PythonQtWrapper_QDate::weekNumber(QDate* theWrappedObject, int* yearNum) const -{ - return ( theWrappedObject->weekNumber(yearNum)); -} - -int PythonQtWrapper_QDate::year(QDate* theWrappedObject) const -{ - return ( theWrappedObject->year()); -} - -QString PythonQtWrapper_QDate::py_toString(QDate* obj) { return obj->toString(); } - - -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); } - -QPoint PythonQtWrapper_QLine::center(QLine* theWrappedObject) const -{ - return ( theWrappedObject->center()); -} - -int PythonQtWrapper_QLine::dx(QLine* theWrappedObject) const -{ - return ( theWrappedObject->dx()); -} - -int PythonQtWrapper_QLine::dy(QLine* theWrappedObject) const -{ - return ( theWrappedObject->dy()); -} - -bool PythonQtWrapper_QLine::isNull(QLine* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QLine::__ne__(QLine* theWrappedObject, const QLine& d) const -{ - return ( (*theWrappedObject)!= d); -} - -QLine PythonQtWrapper_QLine::__mul__(QLine* theWrappedObject, const QMatrix& m) -{ - return ( (*theWrappedObject)* m); -} - -QLine PythonQtWrapper_QLine::__mul__(QLine* theWrappedObject, const QTransform& m) -{ - return ( (*theWrappedObject)* m); -} - -void PythonQtWrapper_QLine::writeTo(QLine* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QLine::__eq__(QLine* theWrappedObject, const QLine& d) const -{ - return ( (*theWrappedObject)== d); -} - -void PythonQtWrapper_QLine::readFrom(QLine* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QPoint PythonQtWrapper_QLine::p1(QLine* theWrappedObject) const -{ - return ( theWrappedObject->p1()); -} - -QPoint PythonQtWrapper_QLine::p2(QLine* theWrappedObject) const -{ - return ( theWrappedObject->p2()); -} - -void PythonQtWrapper_QLine::setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2) -{ - ( theWrappedObject->setLine(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QLine::setP1(QLine* theWrappedObject, const QPoint& p1) -{ - ( theWrappedObject->setP1(p1)); -} - -void PythonQtWrapper_QLine::setP2(QLine* theWrappedObject, const QPoint& p2) -{ - ( theWrappedObject->setP2(p2)); -} - -void PythonQtWrapper_QLine::setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2) -{ - ( theWrappedObject->setPoints(p1, p2)); -} - -void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, const QPoint& p) -{ - ( theWrappedObject->translate(p)); -} - -void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, int dx, int dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -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()); -} - -int PythonQtWrapper_QLine::y2(QLine* theWrappedObject) const -{ - return ( theWrappedObject->y2()); -} - -QString PythonQtWrapper_QLine::py_toString(QLine* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -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); } - -qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->angle()); -} - -qreal PythonQtWrapper_QLineF::angle(QLineF* theWrappedObject, const QLineF& l) const -{ - return ( theWrappedObject->angle(l)); -} - -qreal PythonQtWrapper_QLineF::angleTo(QLineF* theWrappedObject, const QLineF& l) const -{ - return ( theWrappedObject->angleTo(l)); -} - -QPointF PythonQtWrapper_QLineF::center(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->center()); -} - -qreal PythonQtWrapper_QLineF::dx(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->dx()); -} - -qreal PythonQtWrapper_QLineF::dy(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->dy()); -} - -QLineF PythonQtWrapper_QLineF::static_QLineF_fromPolar(qreal length, qreal angle) -{ - return (QLineF::fromPolar(length, angle)); -} - -QLineF::IntersectType PythonQtWrapper_QLineF::intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const -{ - return ( theWrappedObject->intersect(l, intersectionPoint)); -} - -bool PythonQtWrapper_QLineF::isNull(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -qreal PythonQtWrapper_QLineF::length(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -QLineF PythonQtWrapper_QLineF::normalVector(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->normalVector()); -} - -bool PythonQtWrapper_QLineF::__ne__(QLineF* theWrappedObject, const QLineF& d) const -{ - return ( (*theWrappedObject)!= d); -} - -QLineF PythonQtWrapper_QLineF::__mul__(QLineF* theWrappedObject, const QMatrix& m) -{ - return ( (*theWrappedObject)* m); -} - -QLineF PythonQtWrapper_QLineF::__mul__(QLineF* theWrappedObject, const QTransform& m) -{ - return ( (*theWrappedObject)* m); -} - -void PythonQtWrapper_QLineF::writeTo(QLineF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QLineF::__eq__(QLineF* theWrappedObject, const QLineF& d) const -{ - return ( (*theWrappedObject)== d); -} - -void PythonQtWrapper_QLineF::readFrom(QLineF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QPointF PythonQtWrapper_QLineF::p1(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->p1()); -} - -QPointF PythonQtWrapper_QLineF::p2(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->p2()); -} - -QPointF PythonQtWrapper_QLineF::pointAt(QLineF* theWrappedObject, qreal t) const -{ - return ( theWrappedObject->pointAt(t)); -} - -void PythonQtWrapper_QLineF::setAngle(QLineF* theWrappedObject, qreal angle) -{ - ( theWrappedObject->setAngle(angle)); -} - -void PythonQtWrapper_QLineF::setLength(QLineF* theWrappedObject, qreal len) -{ - ( theWrappedObject->setLength(len)); -} - -void PythonQtWrapper_QLineF::setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) -{ - ( theWrappedObject->setLine(x1, y1, x2, y2)); -} - -void PythonQtWrapper_QLineF::setP1(QLineF* theWrappedObject, const QPointF& p1) -{ - ( theWrappedObject->setP1(p1)); -} - -void PythonQtWrapper_QLineF::setP2(QLineF* theWrappedObject, const QPointF& p2) -{ - ( theWrappedObject->setP2(p2)); -} - -void PythonQtWrapper_QLineF::setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2) -{ - ( theWrappedObject->setPoints(p1, p2)); -} - -QLine PythonQtWrapper_QLineF::toLine(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->toLine()); -} - -void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->translate(p)); -} - -void PythonQtWrapper_QLineF::translate(QLineF* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); -} - -QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, const QPointF& p) const -{ - return ( theWrappedObject->translated(p)); -} - -QLineF PythonQtWrapper_QLineF::translated(QLineF* theWrappedObject, qreal dx, qreal dy) const -{ - return ( theWrappedObject->translated(dx, dy)); -} - -QLineF PythonQtWrapper_QLineF::unitVector(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->unitVector()); -} - -qreal PythonQtWrapper_QLineF::x1(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->x1()); -} - -qreal PythonQtWrapper_QLineF::x2(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->x2()); -} - -qreal PythonQtWrapper_QLineF::y1(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->y1()); -} - -qreal PythonQtWrapper_QLineF::y2(QLineF* theWrappedObject) const -{ - return ( theWrappedObject->y2()); -} - -QString PythonQtWrapper_QLineF::py_toString(QLineF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QRect::~PythonQtShell_QRect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRect* PythonQtWrapper_QRect::new_QRect() -{ -return new PythonQtShell_QRect(); } - -void PythonQtWrapper_QRect::writeTo(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QRect::readFrom(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QRect::py_toString(QRect* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -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); } - -QTime PythonQtWrapper_QTime::addMSecs(QTime* theWrappedObject, int ms) const -{ - return ( theWrappedObject->addMSecs(ms)); -} - -QTime PythonQtWrapper_QTime::addSecs(QTime* theWrappedObject, int secs) const -{ - return ( theWrappedObject->addSecs(secs)); -} - -QTime PythonQtWrapper_QTime::static_QTime_currentTime() -{ - return (QTime::currentTime()); -} - -int PythonQtWrapper_QTime::elapsed(QTime* theWrappedObject) const -{ - return ( theWrappedObject->elapsed()); -} - -QTime PythonQtWrapper_QTime::static_QTime_fromMSecsSinceStartOfDay(int msecs) -{ - return (QTime::fromMSecsSinceStartOfDay(msecs)); -} - -QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, Qt::DateFormat f) -{ - return (QTime::fromString(s, f)); -} - -QTime PythonQtWrapper_QTime::static_QTime_fromString(const QString& s, const QString& format) -{ - return (QTime::fromString(s, format)); -} - -int PythonQtWrapper_QTime::hour(QTime* theWrappedObject) const -{ - return ( theWrappedObject->hour()); -} - -bool PythonQtWrapper_QTime::isNull(QTime* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QTime::isValid(QTime* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QTime::static_QTime_isValid(int h, int m, int s, int ms) -{ - return (QTime::isValid(h, m, s, ms)); -} - -int PythonQtWrapper_QTime::minute(QTime* theWrappedObject) const -{ - return ( theWrappedObject->minute()); -} - -int PythonQtWrapper_QTime::msec(QTime* theWrappedObject) const -{ - return ( theWrappedObject->msec()); -} - -int PythonQtWrapper_QTime::msecsSinceStartOfDay(QTime* theWrappedObject) const -{ - return ( theWrappedObject->msecsSinceStartOfDay()); -} - -int PythonQtWrapper_QTime::msecsTo(QTime* theWrappedObject, const QTime& arg__1) const -{ - return ( theWrappedObject->msecsTo(arg__1)); -} - -bool PythonQtWrapper_QTime::__ne__(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QTime::__lt__(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)< other); -} - -void PythonQtWrapper_QTime::writeTo(QTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QTime::__le__(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)<= other); -} - -bool PythonQtWrapper_QTime::__eq__(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)== other); -} - -bool PythonQtWrapper_QTime::__gt__(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)> other); -} - -bool PythonQtWrapper_QTime::__ge__(QTime* theWrappedObject, const QTime& other) const -{ - return ( (*theWrappedObject)>= other); -} - -void PythonQtWrapper_QTime::readFrom(QTime* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -int PythonQtWrapper_QTime::restart(QTime* theWrappedObject) -{ - return ( theWrappedObject->restart()); -} - -int PythonQtWrapper_QTime::second(QTime* theWrappedObject) const -{ - return ( theWrappedObject->second()); -} - -int PythonQtWrapper_QTime::secsTo(QTime* theWrappedObject, const QTime& arg__1) const -{ - return ( theWrappedObject->secsTo(arg__1)); -} - -bool PythonQtWrapper_QTime::setHMS(QTime* theWrappedObject, int h, int m, int s, int ms) -{ - return ( theWrappedObject->setHMS(h, m, s, ms)); -} - -void PythonQtWrapper_QTime::start(QTime* theWrappedObject) -{ - ( theWrappedObject->start()); -} - -QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, Qt::DateFormat f) const -{ - return ( theWrappedObject->toString(f)); -} - -QString PythonQtWrapper_QTime::toString(QTime* theWrappedObject, const QString& format) const -{ - return ( theWrappedObject->toString(format)); -} - -QString PythonQtWrapper_QTime::py_toString(QTime* obj) { return obj->toString(); } - - -QUrl* PythonQtWrapper_QUrl::new_QUrl() -{ -return new QUrl(); } - -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::writeTo(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QUrl::readFrom(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QUrl::py_toString(QUrl* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QTextStream* PythonQtWrapper_Qt::static_Qt_bin(QTextStream& s) -{ - return &(Qt::bin(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_bom(QTextStream& s) -{ - return &(Qt::bom(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_center(QTextStream& s) -{ - return &(Qt::center(s)); -} - -QTextCodec* PythonQtWrapper_Qt::static_Qt_codecForHtml(const QByteArray& ba) -{ - return (Qt::codecForHtml(ba)); -} - -QString PythonQtWrapper_Qt::static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode) -{ - return (Qt::convertFromPlainText(plain, mode)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_dec(QTextStream& s) -{ - return &(Qt::dec(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_endl(QTextStream& s) -{ - return &(Qt::endl(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_fixed(QTextStream& s) -{ - return &(Qt::fixed(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_flush(QTextStream& s) -{ - return &(Qt::flush(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_forcepoint(QTextStream& s) -{ - return &(Qt::forcepoint(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_forcesign(QTextStream& s) -{ - return &(Qt::forcesign(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_hex(QTextStream& s) -{ - return &(Qt::hex(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_left(QTextStream& s) -{ - return &(Qt::left(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_lowercasebase(QTextStream& s) -{ - return &(Qt::lowercasebase(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_lowercasedigits(QTextStream& s) -{ - return &(Qt::lowercasedigits(s)); -} - -bool PythonQtWrapper_Qt::static_Qt_mightBeRichText(const QString& arg__1) -{ - return (Qt::mightBeRichText(arg__1)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_noforcepoint(QTextStream& s) -{ - return &(Qt::noforcepoint(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_noforcesign(QTextStream& s) -{ - return &(Qt::noforcesign(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_noshowbase(QTextStream& s) -{ - return &(Qt::noshowbase(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_oct(QTextStream& s) -{ - return &(Qt::oct(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_reset(QTextStream& s) -{ - return &(Qt::reset(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_right(QTextStream& s) -{ - return &(Qt::right(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_scientific(QTextStream& s) -{ - return &(Qt::scientific(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_showbase(QTextStream& s) -{ - return &(Qt::showbase(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_uppercasebase(QTextStream& s) -{ - return &(Qt::uppercasebase(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_uppercasedigits(QTextStream& s) -{ - return &(Qt::uppercasedigits(s)); -} - -QTextStream* PythonQtWrapper_Qt::static_Qt_ws(QTextStream& s) -{ - return &(Qt::ws(s)); -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h deleted file mode 100644 index f2c3f618..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h +++ /dev/null @@ -1,332 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtWrapper_QDate : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MonthNameType ) -enum MonthNameType{ - DateFormat = QDate::DateFormat, StandaloneFormat = QDate::StandaloneFormat}; -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 addDays(QDate* theWrappedObject, qint64 days) const; - QDate addMonths(QDate* theWrappedObject, int months) const; - QDate addYears(QDate* theWrappedObject, int years) const; - QDate static_QDate_currentDate(); - int day(QDate* theWrappedObject) const; - int dayOfWeek(QDate* theWrappedObject) const; - int dayOfYear(QDate* theWrappedObject) const; - int daysInMonth(QDate* theWrappedObject) const; - int daysInYear(QDate* theWrappedObject) const; - qint64 daysTo(QDate* theWrappedObject, const QDate& arg__1) const; - QDateTime endOfDay(QDate* theWrappedObject, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; - QDateTime endOfDay(QDate* theWrappedObject, const QTimeZone& zone) const; - QDate static_QDate_fromJulianDay(qint64 jd_); - QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); - QDate static_QDate_fromString(const QString& s, const QString& format); - void getDate(QDate* theWrappedObject, int* year, int* month, int* day); - void getDate(QDate* theWrappedObject, int* year, int* month, int* day) const; - bool static_QDate_isLeapYear(int year); - bool isNull(QDate* theWrappedObject) const; - bool isValid(QDate* theWrappedObject) const; - bool static_QDate_isValid(int y, int m, int d); - QString static_QDate_longDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); - QString static_QDate_longMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); - int month(QDate* theWrappedObject) const; - bool __ne__(QDate* theWrappedObject, const QDate& other) const; - bool __lt__(QDate* theWrappedObject, const QDate& other) const; - void writeTo(QDate* theWrappedObject, QDataStream& arg__1); - bool __le__(QDate* theWrappedObject, const QDate& other) const; - bool __eq__(QDate* theWrappedObject, const QDate& other) const; - bool __gt__(QDate* theWrappedObject, const QDate& other) const; - bool __ge__(QDate* theWrappedObject, const QDate& other) const; - void readFrom(QDate* theWrappedObject, QDataStream& arg__1); - bool setDate(QDate* theWrappedObject, int year, int month, int day); - QString static_QDate_shortDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); - QString static_QDate_shortMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); - QDateTime startOfDay(QDate* theWrappedObject, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; - QDateTime startOfDay(QDate* theWrappedObject, const QTimeZone& zone) const; - qint64 toJulianDay(QDate* theWrappedObject) const; - QString toString(QDate* theWrappedObject, Qt::DateFormat format = Qt::TextDate) const; - QString toString(QDate* theWrappedObject, const QString& format) const; - int weekNumber(QDate* theWrappedObject, int* yearNum = nullptr) const; - int year(QDate* theWrappedObject) const; - QString py_toString(QDate*); - bool __nonzero__(QDate* obj) { return obj->isValid(); } -}; - - - - - -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; } - QPoint center(QLine* theWrappedObject) const; - int dx(QLine* theWrappedObject) const; - int dy(QLine* theWrappedObject) const; - bool isNull(QLine* theWrappedObject) const; - bool __ne__(QLine* theWrappedObject, const QLine& d) const; - QLine __mul__(QLine* theWrappedObject, const QMatrix& m); - QLine __mul__(QLine* theWrappedObject, const QTransform& m); - void writeTo(QLine* theWrappedObject, QDataStream& arg__1); - bool __eq__(QLine* theWrappedObject, const QLine& d) const; - void readFrom(QLine* theWrappedObject, QDataStream& arg__1); - QPoint p1(QLine* theWrappedObject) const; - QPoint p2(QLine* theWrappedObject) const; - void setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2); - void setP1(QLine* theWrappedObject, const QPoint& p1); - void setP2(QLine* theWrappedObject, const QPoint& p2); - void setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2); - void translate(QLine* theWrappedObject, const QPoint& p); - void translate(QLine* theWrappedObject, int dx, int dy); - QLine translated(QLine* theWrappedObject, const QPoint& p) const; - QLine translated(QLine* theWrappedObject, int dx, int dy) const; - int x1(QLine* theWrappedObject) const; - int x2(QLine* theWrappedObject) const; - int y1(QLine* theWrappedObject) const; - int y2(QLine* theWrappedObject) const; - QString py_toString(QLine*); - bool __nonzero__(QLine* obj) { return !obj->isNull(); } -}; - - - - - -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; } - qreal angle(QLineF* theWrappedObject) const; - qreal angle(QLineF* theWrappedObject, const QLineF& l) const; - qreal angleTo(QLineF* theWrappedObject, const QLineF& l) const; - QPointF center(QLineF* theWrappedObject) const; - qreal dx(QLineF* theWrappedObject) const; - qreal dy(QLineF* theWrappedObject) const; - QLineF static_QLineF_fromPolar(qreal length, qreal angle); - QLineF::IntersectType intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const; - bool isNull(QLineF* theWrappedObject) const; - qreal length(QLineF* theWrappedObject) const; - QLineF normalVector(QLineF* theWrappedObject) const; - bool __ne__(QLineF* theWrappedObject, const QLineF& d) const; - QLineF __mul__(QLineF* theWrappedObject, const QMatrix& m); - QLineF __mul__(QLineF* theWrappedObject, const QTransform& m); - void writeTo(QLineF* theWrappedObject, QDataStream& arg__1); - bool __eq__(QLineF* theWrappedObject, const QLineF& d) const; - void readFrom(QLineF* theWrappedObject, QDataStream& arg__1); - QPointF p1(QLineF* theWrappedObject) const; - QPointF p2(QLineF* theWrappedObject) const; - QPointF pointAt(QLineF* theWrappedObject, qreal t) const; - void setAngle(QLineF* theWrappedObject, qreal angle); - void setLength(QLineF* theWrappedObject, qreal len); - void setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2); - void setP1(QLineF* theWrappedObject, const QPointF& p1); - void setP2(QLineF* theWrappedObject, const QPointF& p2); - void setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2); - QLine toLine(QLineF* theWrappedObject) const; - void translate(QLineF* theWrappedObject, const QPointF& p); - void translate(QLineF* theWrappedObject, qreal dx, qreal dy); - QLineF translated(QLineF* theWrappedObject, const QPointF& p) const; - QLineF translated(QLineF* theWrappedObject, qreal dx, qreal dy) const; - QLineF unitVector(QLineF* theWrappedObject) const; - qreal x1(QLineF* theWrappedObject) const; - qreal x2(QLineF* theWrappedObject) const; - qreal y1(QLineF* theWrappedObject) const; - qreal y2(QLineF* theWrappedObject) const; - QString py_toString(QLineF*); - bool __nonzero__(QLineF* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QRect : public QRect -{ -public: - PythonQtShell_QRect():QRect(),_wrapper(NULL) {}; - - ~PythonQtShell_QRect(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QRect : public QObject -{ Q_OBJECT -public: -public slots: -QRect* new_QRect(); -QRect* new_QRect(const QRect& other) { -PythonQtShell_QRect* a = new PythonQtShell_QRect(); -*((QRect*)a) = other; -return a; } -void delete_QRect(QRect* obj) { delete obj; } - void writeTo(QRect* theWrappedObject, QDataStream& arg__1); - void readFrom(QRect* theWrappedObject, QDataStream& arg__1); - QString py_toString(QRect*); -}; - - - - - -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; } - QTime addMSecs(QTime* theWrappedObject, int ms) const; - QTime addSecs(QTime* theWrappedObject, int secs) const; - QTime static_QTime_currentTime(); - int elapsed(QTime* theWrappedObject) const; - QTime static_QTime_fromMSecsSinceStartOfDay(int msecs); - QTime static_QTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate); - QTime static_QTime_fromString(const QString& s, const QString& format); - int hour(QTime* theWrappedObject) const; - bool isNull(QTime* theWrappedObject) const; - bool isValid(QTime* theWrappedObject) const; - bool static_QTime_isValid(int h, int m, int s, int ms = 0); - int minute(QTime* theWrappedObject) const; - int msec(QTime* theWrappedObject) const; - int msecsSinceStartOfDay(QTime* theWrappedObject) const; - int msecsTo(QTime* theWrappedObject, const QTime& arg__1) const; - bool __ne__(QTime* theWrappedObject, const QTime& other) const; - bool __lt__(QTime* theWrappedObject, const QTime& other) const; - void writeTo(QTime* theWrappedObject, QDataStream& arg__1); - bool __le__(QTime* theWrappedObject, const QTime& other) const; - bool __eq__(QTime* theWrappedObject, const QTime& other) const; - bool __gt__(QTime* theWrappedObject, const QTime& other) const; - bool __ge__(QTime* theWrappedObject, const QTime& other) const; - void readFrom(QTime* theWrappedObject, QDataStream& arg__1); - int restart(QTime* theWrappedObject); - int second(QTime* theWrappedObject) const; - int secsTo(QTime* theWrappedObject, const QTime& arg__1) const; - bool setHMS(QTime* theWrappedObject, int h, int m, int s, int ms = 0); - void start(QTime* theWrappedObject); - QString toString(QTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const; - QString toString(QTime* theWrappedObject, const QString& format) const; - QString py_toString(QTime*); - bool __nonzero__(QTime* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QUrl : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ComponentFormattingOption ParsingMode UrlFormattingOption ) -Q_FLAGS(ComponentFormattingOptions ) -enum ComponentFormattingOption{ - PrettyDecoded = QUrl::PrettyDecoded, EncodeSpaces = QUrl::EncodeSpaces, EncodeUnicode = QUrl::EncodeUnicode, EncodeDelimiters = QUrl::EncodeDelimiters, EncodeReserved = QUrl::EncodeReserved, DecodeReserved = QUrl::DecodeReserved, FullyEncoded = QUrl::FullyEncoded, FullyDecoded = QUrl::FullyDecoded}; -enum ParsingMode{ - TolerantMode = QUrl::TolerantMode, StrictMode = QUrl::StrictMode, DecodedMode = QUrl::DecodedMode}; -enum UrlFormattingOption{ - 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, PreferLocalFile = QUrl::PreferLocalFile, StripTrailingSlash = QUrl::StripTrailingSlash, RemoveFilename = QUrl::RemoveFilename, NormalizePathSegments = QUrl::NormalizePathSegments}; -Q_DECLARE_FLAGS(ComponentFormattingOptions, ComponentFormattingOption) -public slots: -QUrl* new_QUrl(); -QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); -QUrl* new_QUrl(const QUrl& copy); -void delete_QUrl(QUrl* obj) { delete obj; } - void writeTo(QUrl* theWrappedObject, QDataStream& arg__1); - void readFrom(QUrl* theWrappedObject, QDataStream& arg__1); - QString py_toString(QUrl*); -}; - - - - - -class PythonQtWrapper_Qt : public QObject -{ Q_OBJECT -public: -Q_ENUMS(GlobalColor KeyboardModifier ) -Q_FLAGS(KeyboardModifiers ) -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 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}; -Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier) -public slots: - QTextStream* static_Qt_bin(QTextStream& s); - QTextStream* static_Qt_bom(QTextStream& s); - QTextStream* static_Qt_center(QTextStream& s); - QTextCodec* static_Qt_codecForHtml(const QByteArray& ba); - QString static_Qt_convertFromPlainText(const QString& plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); - QTextStream* static_Qt_dec(QTextStream& s); - QTextStream* static_Qt_endl(QTextStream& s); - QTextStream* static_Qt_fixed(QTextStream& s); - QTextStream* static_Qt_flush(QTextStream& s); - QTextStream* static_Qt_forcepoint(QTextStream& s); - QTextStream* static_Qt_forcesign(QTextStream& s); - QTextStream* static_Qt_hex(QTextStream& s); - QTextStream* static_Qt_left(QTextStream& s); - QTextStream* static_Qt_lowercasebase(QTextStream& s); - QTextStream* static_Qt_lowercasedigits(QTextStream& s); - bool static_Qt_mightBeRichText(const QString& arg__1); - QTextStream* static_Qt_noforcepoint(QTextStream& s); - QTextStream* static_Qt_noforcesign(QTextStream& s); - QTextStream* static_Qt_noshowbase(QTextStream& s); - QTextStream* static_Qt_oct(QTextStream& s); - QTextStream* static_Qt_reset(QTextStream& s); - QTextStream* static_Qt_right(QTextStream& s); - QTextStream* static_Qt_scientific(QTextStream& s); - QTextStream* static_Qt_showbase(QTextStream& s); - QTextStream* static_Qt_uppercasebase(QTextStream& s); - QTextStream* static_Qt_uppercasedigits(QTextStream& s); - QTextStream* static_Qt_ws(QTextStream& s); -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp deleted file mode 100644 index 3e8eb574..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include "com_trolltech_qt_core_builtin0.h" - - -void PythonQt_init_QtCoreBuiltin(PyObject* module) { -PythonQt::priv()->registerCPPClass("QDate", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLine", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTime", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QUrl", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("Qt", "", "QtCore", PythonQtCreateObject, NULL, module, 0); - - -} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp deleted file mode 100644 index b38b278e..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ /dev/null @@ -1,8519 +0,0 @@ -#include "com_trolltech_qt_gui5.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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QMessageBox::accept() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::accept(); -} -void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::actionEvent(event0); -} -void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::changeEvent(event0); -} -void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::closeEvent(event0); -} -void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::contextMenuEvent(arg__1); -} -int PythonQtShell_QMessageBox::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::devType(); -} -void PythonQtShell_QMessageBox::done(int arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::done(arg__1); -} -void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::dragEnterEvent(event0); -} -void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::dragLeaveEvent(event0); -} -void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::dragMoveEvent(event0); -} -void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::dropEvent(event0); -} -void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::enterEvent(event0); -} -bool PythonQtShell_QMessageBox::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::event(e0); -} -bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QMessageBox::exec() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::exec(); -} -void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::focusInEvent(event0); -} -bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::focusNextPrevChild(next0); -} -void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::focusOutEvent(event0); -} -bool PythonQtShell_QMessageBox::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::hasHeightForWidth(); -} -int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::heightForWidth(arg__1); -} -void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::hideEvent(event0); -} -void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::initPainter(painter0); -} -void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::inputMethodQuery(arg__1); -} -void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::keyPressEvent(event0); -} -void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::keyReleaseEvent(event0); -} -void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::leaveEvent(event0); -} -int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::metric(arg__1); -} -QSize PythonQtShell_QMessageBox::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::minimumSizeHint(); -} -void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::mouseMoveEvent(event0); -} -void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::mousePressEvent(event0); -} -void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::mouseReleaseEvent(event0); -} -void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::moveEvent(event0); -} -bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::paintEngine(); -} -void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::redirected(offset0); -} -void PythonQtShell_QMessageBox::reject() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::reject(); -} -void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::resizeEvent(event0); -} -void PythonQtShell_QMessageBox::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::setVisible(visible0); -} -QPainter* PythonQtShell_QMessageBox::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::sharedPainter(); -} -void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::showEvent(event0); -} -QSize PythonQtShell_QMessageBox::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMessageBox::sizeHint(); -} -void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::tabletEvent(event0); -} -void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMessageBox::wheelEvent(event0); -} -QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QMessageBox(icon, title, text, buttons, parent, flags); } - -QMessageBox* PythonQtWrapper_QMessageBox::new_QMessageBox(QWidget* parent) -{ -return new PythonQtShell_QMessageBox(parent); } - -const QMetaObject* PythonQtShell_QMessageBox::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMessageBox::staticMetaObject); - } else { - return &QMessageBox::staticMetaObject; - } -} -int PythonQtShell_QMessageBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMessageBox::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QMessageBox::static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text) -{ - (QMessageBox::about(parent, title, text)); -} - -void PythonQtWrapper_QMessageBox::static_QMessageBox_aboutQt(QWidget* parent, const QString& title) -{ - (QMessageBox::aboutQt(parent, title)); -} - -void PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role) -{ - ( theWrappedObject->addButton(button, role)); -} - -QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) -{ - return ( theWrappedObject->addButton(button)); -} - -QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role) -{ - return ( theWrappedObject->addButton(text, role)); -} - -QAbstractButton* PythonQtWrapper_QMessageBox::button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const -{ - return ( theWrappedObject->button(which)); -} - -QMessageBox::ButtonRole PythonQtWrapper_QMessageBox::buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const -{ - return ( theWrappedObject->buttonRole(button)); -} - -QList PythonQtWrapper_QMessageBox::buttons(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -QCheckBox* PythonQtWrapper_QMessageBox::checkBox(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->checkBox()); -} - -QAbstractButton* PythonQtWrapper_QMessageBox::clickedButton(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->clickedButton()); -} - -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)); -} - -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)); -} - -QPushButton* PythonQtWrapper_QMessageBox::defaultButton(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->defaultButton()); -} - -QString PythonQtWrapper_QMessageBox::detailedText(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->detailedText()); -} - -QAbstractButton* PythonQtWrapper_QMessageBox::escapeButton(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->escapeButton()); -} - -QMessageBox::Icon PythonQtWrapper_QMessageBox::icon(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -QPixmap PythonQtWrapper_QMessageBox::iconPixmap(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->iconPixmap()); -} - -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)); -} - -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)); -} - -QString PythonQtWrapper_QMessageBox::informativeText(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->informativeText()); -} - -void PythonQtWrapper_QMessageBox::open(QMessageBox* theWrappedObject, QObject* receiver, const char* member) -{ - ( theWrappedObject->open(receiver, member)); -} - -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)); -} - -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::removeButton(QMessageBox* theWrappedObject, QAbstractButton* button) -{ - ( theWrappedObject->removeButton(button)); -} - -void PythonQtWrapper_QMessageBox::setCheckBox(QMessageBox* theWrappedObject, QCheckBox* cb) -{ - ( theWrappedObject->setCheckBox(cb)); -} - -void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) -{ - ( theWrappedObject->setDefaultButton(button)); -} - -void PythonQtWrapper_QMessageBox::setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button) -{ - ( theWrappedObject->setDefaultButton(button)); -} - -void PythonQtWrapper_QMessageBox::setDetailedText(QMessageBox* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setDetailedText(text)); -} - -void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button) -{ - ( theWrappedObject->setEscapeButton(button)); -} - -void PythonQtWrapper_QMessageBox::setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) -{ - ( theWrappedObject->setEscapeButton(button)); -} - -void PythonQtWrapper_QMessageBox::setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1) -{ - ( theWrappedObject->setIcon(arg__1)); -} - -void PythonQtWrapper_QMessageBox::setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap) -{ - ( theWrappedObject->setIconPixmap(pixmap)); -} - -void PythonQtWrapper_QMessageBox::setInformativeText(QMessageBox* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setInformativeText(text)); -} - -void PythonQtWrapper_QMessageBox::setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons) -{ - ( theWrappedObject->setStandardButtons(buttons)); -} - -void PythonQtWrapper_QMessageBox::setText(QMessageBox* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -void PythonQtWrapper_QMessageBox::setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format) -{ - ( theWrappedObject->setTextFormat(format)); -} - -void PythonQtWrapper_QMessageBox::setTextInteractionFlags(QMessageBox* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); -} - -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const -{ - return ( theWrappedObject->standardButton(button)); -} - -QMessageBox::StandardButtons PythonQtWrapper_QMessageBox::standardButtons(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->standardButtons()); -} - -QString PythonQtWrapper_QMessageBox::text(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -Qt::TextFormat PythonQtWrapper_QMessageBox::textFormat(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->textFormat()); -} - -Qt::TextInteractionFlags PythonQtWrapper_QMessageBox::textInteractionFlags(QMessageBox* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); -} - -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_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) -{ - return (QMessageBox::warning(parent, title, text, button0, button1)); -} - - - -PythonQtShell_QMouseEvent::~PythonQtShell_QMouseEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QMouseEvent(type, localPos, button, buttons, modifiers); } - -QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QMouseEvent(type, localPos, screenPos, button, buttons, modifiers); } - -QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers); } - -QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source) -{ -return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source); } - -Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->button()); -} - -Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -Qt::MouseEventFlags PythonQtWrapper_QMouseEvent::flags(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QPoint PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalPos()); -} - -int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - -int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -const QPointF* PythonQtWrapper_QMouseEvent::localPos(QMouseEvent* theWrappedObject) const -{ - return &( theWrappedObject->localPos()); -} - -QPoint PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -const QPointF* PythonQtWrapper_QMouseEvent::screenPos(QMouseEvent* theWrappedObject) const -{ - return &( theWrappedObject->screenPos()); -} - -void PythonQtWrapper_QMouseEvent::setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition) -{ - ( theWrappedObject->setLocalPos(localPosition)); -} - -Qt::MouseEventSource PythonQtWrapper_QMouseEvent::source(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - -const QPointF* PythonQtWrapper_QMouseEvent::windowPos(QMouseEvent* theWrappedObject) const -{ - return &( theWrappedObject->windowPos()); -} - -int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - - - -PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QMouseEventTransition::event(e0); -} -bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMouseEventTransition::eventTest(event0); -} -void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMouseEventTransition::onTransition(event0); -} -QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState) -{ -return new PythonQtShell_QMouseEventTransition(object, type, button, sourceState); } - -QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QState* sourceState) -{ -return new PythonQtShell_QMouseEventTransition(sourceState); } - -const QMetaObject* PythonQtShell_QMouseEventTransition::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMouseEventTransition::staticMetaObject); - } else { - return &QMouseEventTransition::staticMetaObject; - } -} -int PythonQtShell_QMouseEventTransition::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMouseEventTransition::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::MouseButton PythonQtWrapper_QMouseEventTransition::button(QMouseEventTransition* theWrappedObject) const -{ - return ( theWrappedObject->button()); -} - -QPainterPath PythonQtWrapper_QMouseEventTransition::hitTestPath(QMouseEventTransition* theWrappedObject) const -{ - return ( theWrappedObject->hitTestPath()); -} - -Qt::KeyboardModifiers PythonQtWrapper_QMouseEventTransition::modifierMask(QMouseEventTransition* theWrappedObject) const -{ - return ( theWrappedObject->modifierMask()); -} - -void PythonQtWrapper_QMouseEventTransition::setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button) -{ - ( theWrappedObject->setButton(button)); -} - -void PythonQtWrapper_QMouseEventTransition::setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->setHitTestPath(path)); -} - -void PythonQtWrapper_QMouseEventTransition::setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifierMask(modifiers)); -} - - - -PythonQtShell_QMoveEvent::~PythonQtShell_QMoveEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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()); -} - - - -PythonQtShell_QMovie::~PythonQtShell_QMovie() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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); } - -const QMetaObject* PythonQtShell_QMovie::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMovie::staticMetaObject); - } else { - return &QMovie::staticMetaObject; - } -} -int PythonQtShell_QMovie::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMovie::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QColor PythonQtWrapper_QMovie::backgroundColor(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->backgroundColor()); -} - -QMovie::CacheMode PythonQtWrapper_QMovie::cacheMode(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->cacheMode()); -} - -int PythonQtWrapper_QMovie::currentFrameNumber(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->currentFrameNumber()); -} - -QImage PythonQtWrapper_QMovie::currentImage(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->currentImage()); -} - -QPixmap PythonQtWrapper_QMovie::currentPixmap(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->currentPixmap()); -} - -QIODevice* PythonQtWrapper_QMovie::device(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -QString PythonQtWrapper_QMovie::fileName(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -QByteArray PythonQtWrapper_QMovie::format(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -int PythonQtWrapper_QMovie::frameCount(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->frameCount()); -} - -QRect PythonQtWrapper_QMovie::frameRect(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->frameRect()); -} - -bool PythonQtWrapper_QMovie::isValid(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QMovie::jumpToFrame(QMovie* theWrappedObject, int frameNumber) -{ - return ( theWrappedObject->jumpToFrame(frameNumber)); -} - -QImageReader::ImageReaderError PythonQtWrapper_QMovie::lastError(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->lastError()); -} - -QString PythonQtWrapper_QMovie::lastErrorString(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->lastErrorString()); -} - -int PythonQtWrapper_QMovie::loopCount(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->loopCount()); -} - -int PythonQtWrapper_QMovie::nextFrameDelay(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->nextFrameDelay()); -} - -QSize PythonQtWrapper_QMovie::scaledSize(QMovie* theWrappedObject) -{ - return ( theWrappedObject->scaledSize()); -} - -void PythonQtWrapper_QMovie::setBackgroundColor(QMovie* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setBackgroundColor(color)); -} - -void PythonQtWrapper_QMovie::setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode) -{ - ( theWrappedObject->setCacheMode(mode)); -} - -void PythonQtWrapper_QMovie::setDevice(QMovie* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); -} - -void PythonQtWrapper_QMovie::setFileName(QMovie* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); -} - -void PythonQtWrapper_QMovie::setFormat(QMovie* theWrappedObject, const QByteArray& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QMovie::setScaledSize(QMovie* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setScaledSize(size)); -} - -int PythonQtWrapper_QMovie::speed(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->speed()); -} - -QMovie::MovieState PythonQtWrapper_QMovie::state(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -QList PythonQtWrapper_QMovie::static_QMovie_supportedFormats() -{ - return (QMovie::supportedFormats()); -} - - - -PythonQtShell_QNativeGestureEvent::~PythonQtShell_QNativeGestureEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QNativeGestureEvent* PythonQtWrapper_QNativeGestureEvent::new_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument) -{ -return new PythonQtShell_QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument); } - -QNativeGestureEvent* PythonQtWrapper_QNativeGestureEvent::new_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument) -{ -return new PythonQtShell_QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument); } - -const QTouchDevice* PythonQtWrapper_QNativeGestureEvent::device(QNativeGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -Qt::NativeGestureType PythonQtWrapper_QNativeGestureEvent::gestureType(QNativeGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->gestureType()); -} - -const QPoint PythonQtWrapper_QNativeGestureEvent::globalPos(QNativeGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalPos()); -} - -const QPointF* PythonQtWrapper_QNativeGestureEvent::localPos(QNativeGestureEvent* theWrappedObject) const -{ - return &( theWrappedObject->localPos()); -} - -const QPoint PythonQtWrapper_QNativeGestureEvent::pos(QNativeGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -const QPointF* PythonQtWrapper_QNativeGestureEvent::screenPos(QNativeGestureEvent* theWrappedObject) const -{ - return &( theWrappedObject->screenPos()); -} - -qreal PythonQtWrapper_QNativeGestureEvent::value(QNativeGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -const QPointF* PythonQtWrapper_QNativeGestureEvent::windowPos(QNativeGestureEvent* theWrappedObject) const -{ - return &( theWrappedObject->windowPos()); -} - - - -PythonQtShell_QOffscreenSurface::~PythonQtShell_QOffscreenSurface() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("format"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSurfaceFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); - } else { - returnValue = *((QSurfaceFormat*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOffscreenSurface::format(); -} -QSize PythonQtShell_QOffscreenSurface::size() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("size", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOffscreenSurface::size(); -} -QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("surfaceType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSurface::SurfaceType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); - } else { - returnValue = *((QSurface::SurfaceType*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOffscreenSurface::surfaceType(); -} -QOffscreenSurface* PythonQtWrapper_QOffscreenSurface::new_QOffscreenSurface() -{ -return new PythonQtShell_QOffscreenSurface(); } - -const QMetaObject* PythonQtShell_QOffscreenSurface::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOffscreenSurface::staticMetaObject); - } else { - return &QOffscreenSurface::staticMetaObject; - } -} -int PythonQtShell_QOffscreenSurface::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOffscreenSurface::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QOffscreenSurface::create(QOffscreenSurface* theWrappedObject) -{ - ( theWrappedObject->create()); -} - -void PythonQtWrapper_QOffscreenSurface::destroy(QOffscreenSurface* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -QSurfaceFormat PythonQtWrapper_QOffscreenSurface::format(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -bool PythonQtWrapper_QOffscreenSurface::isValid(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void* PythonQtWrapper_QOffscreenSurface::nativeHandle(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->nativeHandle()); -} - -QSurfaceFormat PythonQtWrapper_QOffscreenSurface::requestedFormat(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->requestedFormat()); -} - -void PythonQtWrapper_QOffscreenSurface::setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QOffscreenSurface::setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle) -{ - ( theWrappedObject->setNativeHandle(handle)); -} - -QSize PythonQtWrapper_QOffscreenSurface::size(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QSurface::SurfaceType PythonQtWrapper_QOffscreenSurface::surfaceType(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->surfaceType()); -} - - - -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer() -{ -return new QOpenGLBuffer(); } - -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(QOpenGLBuffer::Type type) -{ -return new QOpenGLBuffer(type); } - -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(const QOpenGLBuffer& other) -{ -return new QOpenGLBuffer(other); } - -void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count) -{ - ( theWrappedObject->allocate(data, count)); -} - -void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, int count) -{ - ( theWrappedObject->allocate(count)); -} - -bool PythonQtWrapper_QOpenGLBuffer::bind(QOpenGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -GLuint PythonQtWrapper_QOpenGLBuffer::bufferId(QOpenGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->bufferId()); -} - -bool PythonQtWrapper_QOpenGLBuffer::create(QOpenGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -void PythonQtWrapper_QOpenGLBuffer::destroy(QOpenGLBuffer* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -bool PythonQtWrapper_QOpenGLBuffer::isCreated(QOpenGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); -} - -void* PythonQtWrapper_QOpenGLBuffer::map(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::Access access) -{ - return ( theWrappedObject->map(access)); -} - -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::operator_assign(QOpenGLBuffer* theWrappedObject, const QOpenGLBuffer& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QOpenGLBuffer::read(QOpenGLBuffer* theWrappedObject, int offset, void* data, int count) -{ - return ( theWrappedObject->read(offset, data, count)); -} - -void PythonQtWrapper_QOpenGLBuffer::release(QOpenGLBuffer* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -void PythonQtWrapper_QOpenGLBuffer::static_QOpenGLBuffer_release(QOpenGLBuffer::Type type) -{ - (QOpenGLBuffer::release(type)); -} - -void PythonQtWrapper_QOpenGLBuffer::setUsagePattern(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::UsagePattern value) -{ - ( theWrappedObject->setUsagePattern(value)); -} - -int PythonQtWrapper_QOpenGLBuffer::size(QOpenGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QOpenGLBuffer::Type PythonQtWrapper_QOpenGLBuffer::type(QOpenGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -bool PythonQtWrapper_QOpenGLBuffer::unmap(QOpenGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->unmap()); -} - -QOpenGLBuffer::UsagePattern PythonQtWrapper_QOpenGLBuffer::usagePattern(QOpenGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->usagePattern()); -} - -void PythonQtWrapper_QOpenGLBuffer::write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count) -{ - ( theWrappedObject->write(offset, data, count)); -} - - - -PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QOpenGLContext* PythonQtWrapper_QOpenGLContext::new_QOpenGLContext(QObject* parent) -{ -return new PythonQtShell_QOpenGLContext(parent); } - -const QMetaObject* PythonQtShell_QOpenGLContext::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLContext::staticMetaObject); - } else { - return &QOpenGLContext::staticMetaObject; - } -} -int PythonQtShell_QOpenGLContext::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLContext::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second) -{ - return (QOpenGLContext::areSharing(first, second)); -} - -bool PythonQtWrapper_QOpenGLContext::create(QOpenGLContext* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_currentContext() -{ - return (QOpenGLContext::currentContext()); -} - -GLuint PythonQtWrapper_QOpenGLContext::defaultFramebufferObject(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->defaultFramebufferObject()); -} - -void PythonQtWrapper_QOpenGLContext::doneCurrent(QOpenGLContext* theWrappedObject) -{ - ( theWrappedObject->doneCurrent()); -} - -QSet PythonQtWrapper_QOpenGLContext::extensions(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->extensions()); -} - -QSurfaceFormat PythonQtWrapper_QOpenGLContext::format(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QOpenGLFunctions* PythonQtWrapper_QOpenGLContext::functions(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->functions()); -} - -QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_globalShareContext() -{ - return (QOpenGLContext::globalShareContext()); -} - -bool PythonQtWrapper_QOpenGLContext::hasExtension(QOpenGLContext* theWrappedObject, const QByteArray& extension) const -{ - return ( theWrappedObject->hasExtension(extension)); -} - -bool PythonQtWrapper_QOpenGLContext::isOpenGLES(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isOpenGLES()); -} - -bool PythonQtWrapper_QOpenGLContext::isValid(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QOpenGLContext::makeCurrent(QOpenGLContext* theWrappedObject, QSurface* surface) -{ - return ( theWrappedObject->makeCurrent(surface)); -} - -QVariant PythonQtWrapper_QOpenGLContext::nativeHandle(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->nativeHandle()); -} - -void* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleHandle() -{ - return (QOpenGLContext::openGLModuleHandle()); -} - -QOpenGLContext::OpenGLModuleType PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleType() -{ - return (QOpenGLContext::openGLModuleType()); -} - -void PythonQtWrapper_QOpenGLContext::setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QOpenGLContext::setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle) -{ - ( theWrappedObject->setNativeHandle(handle)); -} - -void PythonQtWrapper_QOpenGLContext::setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext) -{ - ( theWrappedObject->setShareContext(shareContext)); -} - -QOpenGLContext* PythonQtWrapper_QOpenGLContext::shareContext(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->shareContext()); -} - -QOpenGLContextGroup* PythonQtWrapper_QOpenGLContext::shareGroup(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->shareGroup()); -} - -bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_supportsThreadedOpenGL() -{ - return (QOpenGLContext::supportsThreadedOpenGL()); -} - -QSurface* PythonQtWrapper_QOpenGLContext::surface(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->surface()); -} - -void PythonQtWrapper_QOpenGLContext::swapBuffers(QOpenGLContext* theWrappedObject, QSurface* surface) -{ - ( theWrappedObject->swapBuffers(surface)); -} - -QString PythonQtWrapper_QOpenGLContext::py_toString(QOpenGLContext* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -QOpenGLContextGroup* PythonQtWrapper_QOpenGLContextGroup::static_QOpenGLContextGroup_currentContextGroup() -{ - return (QOpenGLContextGroup::currentContextGroup()); -} - -QList PythonQtWrapper_QOpenGLContextGroup::shares(QOpenGLContextGroup* theWrappedObject) const -{ - return ( theWrappedObject->shares()); -} - -QString PythonQtWrapper_QOpenGLContextGroup::py_toString(QOpenGLContextGroup* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -PythonQtShell_QOpenGLFramebufferObject::~PythonQtShell_QOpenGLFramebufferObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, GLenum target) -{ -return new PythonQtShell_QOpenGLFramebufferObject(size, target); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) -{ -return new PythonQtShell_QOpenGLFramebufferObject(size, attachment, target, internalFormat); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format) -{ -return new PythonQtShell_QOpenGLFramebufferObject(size, format); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, GLenum target) -{ -return new PythonQtShell_QOpenGLFramebufferObject(width, height, target); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) -{ -return new PythonQtShell_QOpenGLFramebufferObject(width, height, attachment, target, internalFormat); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format) -{ -return new PythonQtShell_QOpenGLFramebufferObject(width, height, format); } - -void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat) -{ - ( theWrappedObject->addColorAttachment(size, internalFormat)); -} - -void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat) -{ - ( theWrappedObject->addColorAttachment(width, height, internalFormat)); -} - -QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObject::attachment(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->attachment()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObject::bind(QOpenGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_bindDefault() -{ - return (QOpenGLFramebufferObject::bindDefault()); -} - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers, GLenum filter) -{ - (QOpenGLFramebufferObject::blitFramebuffer(target, source, buffers, filter)); -} - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) -{ - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); -} - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex) -{ - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex)); -} - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy) -{ - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex, restorePolicy)); -} - -QOpenGLFramebufferObjectFormat PythonQtWrapper_QOpenGLFramebufferObject::format(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::handle(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit() -{ - return (QOpenGLFramebufferObject::hasOpenGLFramebufferBlit()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects() -{ - return (QOpenGLFramebufferObject::hasOpenGLFramebufferObjects()); -} - -int PythonQtWrapper_QOpenGLFramebufferObject::height(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObject::isBound(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->isBound()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObject::isValid(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObject::release(QOpenGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->release()); -} - -void PythonQtWrapper_QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) -{ - ( theWrappedObject->setAttachment(attachment)); -} - -QSize PythonQtWrapper_QOpenGLFramebufferObject::size(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QVector PythonQtWrapper_QOpenGLFramebufferObject::sizes(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->sizes()); -} - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->takeTexture()); -} - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex) -{ - return ( theWrappedObject->takeTexture(colorAttachmentIndex)); -} - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::texture(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->texture()); -} - -QVector PythonQtWrapper_QOpenGLFramebufferObject::textures(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->textures()); -} - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->toImage()); -} - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const -{ - return ( theWrappedObject->toImage(flipped)); -} - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const -{ - return ( theWrappedObject->toImage(flipped, colorAttachmentIndex)); -} - -int PythonQtWrapper_QOpenGLFramebufferObject::width(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - - - -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat() -{ -return new QOpenGLFramebufferObjectFormat(); } - -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other) -{ -return new QOpenGLFramebufferObjectFormat(other); } - -QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObjectFormat::attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->attachment()); -} - -GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->internalTextureFormat()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->mipmap()); -} - -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const -{ - return ( (*theWrappedObject)== other); -} - -int PythonQtWrapper_QOpenGLFramebufferObjectFormat::samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->samples()); -} - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) -{ - ( theWrappedObject->setAttachment(attachment)); -} - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) -{ - ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); -} - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setMipmap(enabled)); -} - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples) -{ - ( theWrappedObject->setSamples(samples)); -} - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target) -{ - ( theWrappedObject->setTextureTarget(target)); -} - -GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->textureTarget()); -} - - - -PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QOpenGLPaintDevice::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLPaintDevice::devType(); -} -void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ensureActiveTarget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLPaintDevice::ensureActiveTarget(); -} -void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLPaintDevice::initPainter(painter0); -} -int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLPaintDevice::metric(metric0); -} -QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLPaintDevice::paintEngine(); -} -QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLPaintDevice::redirected(offset0); -} -QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLPaintDevice::sharedPainter(); -} -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice() -{ -return new PythonQtShell_QOpenGLPaintDevice(); } - -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(const QSize& size) -{ -return new PythonQtShell_QOpenGLPaintDevice(size); } - -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(int width, int height) -{ -return new PythonQtShell_QOpenGLPaintDevice(width, height); } - -QOpenGLContext* PythonQtWrapper_QOpenGLPaintDevice::context(QOpenGLPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->dotsPerMeterX()); -} - -qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->dotsPerMeterY()); -} - -void PythonQtWrapper_QOpenGLPaintDevice::ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject) -{ - ( theWrappedObject->ensureActiveTarget()); -} - -bool PythonQtWrapper_QOpenGLPaintDevice::paintFlipped(QOpenGLPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->paintFlipped()); -} - -void PythonQtWrapper_QOpenGLPaintDevice::setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio) -{ - ( theWrappedObject->setDevicePixelRatio(devicePixelRatio)); -} - -void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setDotsPerMeterX(arg__1)); -} - -void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setDotsPerMeterY(arg__1)); -} - -void PythonQtWrapper_QOpenGLPaintDevice::setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped) -{ - ( theWrappedObject->setPaintFlipped(flipped)); -} - -void PythonQtWrapper_QOpenGLPaintDevice::setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setSize(size)); -} - -QSize PythonQtWrapper_QOpenGLPaintDevice::size(QOpenGLPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - - - -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source) -{ - return ( theWrappedObject->compileSourceCode(source)); -} - -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source) -{ - return ( theWrappedObject->compileSourceCode(source)); -} - -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const char* source) -{ - return ( theWrappedObject->compileSourceCode(source)); -} - -bool PythonQtWrapper_QOpenGLShader::compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->compileSourceFile(fileName)); -} - -bool PythonQtWrapper_QOpenGLShader::static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context) -{ - return (QOpenGLShader::hasOpenGLShaders(type, context)); -} - -bool PythonQtWrapper_QOpenGLShader::isCompiled(QOpenGLShader* theWrappedObject) const -{ - return ( theWrappedObject->isCompiled()); -} - -QString PythonQtWrapper_QOpenGLShader::log(QOpenGLShader* theWrappedObject) const -{ - return ( theWrappedObject->log()); -} - -GLuint PythonQtWrapper_QOpenGLShader::shaderId(QOpenGLShader* theWrappedObject) const -{ - return ( theWrappedObject->shaderId()); -} - -QOpenGLShader::ShaderType PythonQtWrapper_QOpenGLShader::shaderType(QOpenGLShader* theWrappedObject) const -{ - return ( theWrappedObject->shaderType()); -} - -QByteArray PythonQtWrapper_QOpenGLShader::sourceCode(QOpenGLShader* theWrappedObject) const -{ - return ( theWrappedObject->sourceCode()); -} - - - -PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QOpenGLShaderProgram::link() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("link"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("link", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLShaderProgram::link(); -} -QOpenGLShaderProgram* PythonQtWrapper_QOpenGLShaderProgram::new_QOpenGLShaderProgram(QObject* parent) -{ -return new PythonQtShell_QOpenGLShaderProgram(parent); } - -const QMetaObject* PythonQtShell_QOpenGLShaderProgram::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLShaderProgram::staticMetaObject); - } else { - return &QOpenGLShaderProgram::staticMetaObject; - } -} -int PythonQtShell_QOpenGLShaderProgram::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLShaderProgram::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) -{ - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) -{ - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) -{ - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) -{ - return ( theWrappedObject->addCacheableShaderFromSourceFile(type, fileName)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) -{ - return ( theWrappedObject->addShader(shader)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) -{ - return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::bind(QOpenGLShaderProgram* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::create(QOpenGLShaderProgram* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -QVector PythonQtWrapper_QOpenGLShaderProgram::defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->defaultInnerTessellationLevels()); -} - -QVector PythonQtWrapper_QOpenGLShaderProgram::defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->defaultOuterTessellationLevels()); -} - -void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) -{ - ( theWrappedObject->disableAttributeArray(name)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) -{ - ( theWrappedObject->disableAttributeArray(location)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) -{ - ( theWrappedObject->enableAttributeArray(name)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) -{ - ( theWrappedObject->enableAttributeArray(location)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context) -{ - return (QOpenGLShaderProgram::hasOpenGLShaderPrograms(context)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::isLinked(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->isLinked()); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::link(QOpenGLShaderProgram* theWrappedObject) -{ - return ( theWrappedObject->link()); -} - -QString PythonQtWrapper_QOpenGLShaderProgram::log(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->log()); -} - -int PythonQtWrapper_QOpenGLShaderProgram::maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->maxGeometryOutputVertices()); -} - -int PythonQtWrapper_QOpenGLShaderProgram::patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->patchVertexCount()); -} - -GLuint PythonQtWrapper_QOpenGLShaderProgram::programId(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->programId()); -} - -void PythonQtWrapper_QOpenGLShaderProgram::release(QOpenGLShaderProgram* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -void PythonQtWrapper_QOpenGLShaderProgram::removeAllShaders(QOpenGLShaderProgram* theWrappedObject) -{ - ( theWrappedObject->removeAllShaders()); -} - -void PythonQtWrapper_QOpenGLShaderProgram::removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) -{ - ( theWrappedObject->removeShader(shader)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setAttributeValue(name, x, y)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setAttributeValue(name, x, y, z)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setAttributeValue(name, x, y, z, w)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) -{ - ( theWrappedObject->setAttributeValue(name, values, columns, rows)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setAttributeValue(location, x, y)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setAttributeValue(location, x, y, z)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setAttributeValue(location, x, y, z, w)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) -{ - ( theWrappedObject->setAttributeValue(location, values, columns, rows)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) -{ - ( theWrappedObject->setDefaultInnerTessellationLevels(levels)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) -{ - ( theWrappedObject->setDefaultOuterTessellationLevels(levels)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count) -{ - ( theWrappedObject->setPatchVertexCount(count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setUniformValue(name, x, y)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setUniformValue(name, x, y, z)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setUniformValue(name, x, y, z, w)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color) -{ - ( theWrappedObject->setUniformValue(name, color)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) -{ - ( theWrappedObject->setUniformValue(name, point)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) -{ - ( theWrappedObject->setUniformValue(name, point)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size) -{ - ( theWrappedObject->setUniformValue(name, size)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) -{ - ( theWrappedObject->setUniformValue(name, size)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setUniformValue(location, x, y)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setUniformValue(location, x, y, z)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setUniformValue(location, x, y, z, w)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color) -{ - ( theWrappedObject->setUniformValue(location, color)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point) -{ - ( theWrappedObject->setUniformValue(location, point)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point) -{ - ( theWrappedObject->setUniformValue(location, point)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size) -{ - ( theWrappedObject->setUniformValue(location, size)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size) -{ - ( theWrappedObject->setUniformValue(location, size)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) -{ - ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) -{ - ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -QList PythonQtWrapper_QOpenGLShaderProgram::shaders(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->shaders()); -} - -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const -{ - return ( theWrappedObject->uniformLocation(name)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->uniformLocation(name)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const -{ - return ( theWrappedObject->uniformLocation(name)); -} - - - -void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject) -{ - ( theWrappedObject->allocateStorage()); -} - -void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) -{ - ( theWrappedObject->allocateStorage(pixelFormat, pixelType)); -} - -void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject) -{ - ( theWrappedObject->bind()); -} - -void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) -{ - ( theWrappedObject->bind(unit, reset)); -} - -QColor PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->borderColor()); -} - -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, float* border) const -{ - ( theWrappedObject->borderColor(border)); -} - -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, int* border) const -{ - ( theWrappedObject->borderColor(border)); -} - -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const -{ - ( theWrappedObject->borderColor(border)); -} - -GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target) -{ - return (QOpenGLTexture::boundTextureId(target)); -} - -GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target) -{ - return (QOpenGLTexture::boundTextureId(unit, target)); -} - -QOpenGLTexture::ComparisonFunction PythonQtWrapper_QOpenGLTexture::comparisonFunction(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->comparisonFunction()); -} - -QOpenGLTexture::ComparisonMode PythonQtWrapper_QOpenGLTexture::comparisonMode(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->comparisonMode()); -} - -bool PythonQtWrapper_QOpenGLTexture::create(QOpenGLTexture* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const -{ - return ( theWrappedObject->createTextureView(target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer)); -} - -int PythonQtWrapper_QOpenGLTexture::depth(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->depth()); -} - -QOpenGLTexture::DepthStencilMode PythonQtWrapper_QOpenGLTexture::depthStencilMode(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->depthStencilMode()); -} - -void PythonQtWrapper_QOpenGLTexture::destroy(QOpenGLTexture* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -int PythonQtWrapper_QOpenGLTexture::faces(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->faces()); -} - -QOpenGLTexture::TextureFormat PythonQtWrapper_QOpenGLTexture::format(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject) -{ - ( theWrappedObject->generateMipMaps()); -} - -void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel) -{ - ( theWrappedObject->generateMipMaps(baseLevel, resetBaseLevel)); -} - -bool PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature) -{ - return (QOpenGLTexture::hasFeature(feature)); -} - -int PythonQtWrapper_QOpenGLTexture::height(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -bool PythonQtWrapper_QOpenGLTexture::isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->isAutoMipMapGenerationEnabled()); -} - -bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->isBound()); -} - -bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject, uint unit) -{ - return ( theWrappedObject->isBound(unit)); -} - -bool PythonQtWrapper_QOpenGLTexture::isCreated(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); -} - -bool PythonQtWrapper_QOpenGLTexture::isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->isFixedSamplePositions()); -} - -bool PythonQtWrapper_QOpenGLTexture::isStorageAllocated(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->isStorageAllocated()); -} - -bool PythonQtWrapper_QOpenGLTexture::isTextureView(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->isTextureView()); -} - -int PythonQtWrapper_QOpenGLTexture::layers(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->layers()); -} - -QPair PythonQtWrapper_QOpenGLTexture::levelOfDetailRange(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->levelOfDetailRange()); -} - -float PythonQtWrapper_QOpenGLTexture::levelofDetailBias(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->levelofDetailBias()); -} - -QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::magnificationFilter(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->magnificationFilter()); -} - -float PythonQtWrapper_QOpenGLTexture::maximumAnisotropy(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->maximumAnisotropy()); -} - -float PythonQtWrapper_QOpenGLTexture::maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->maximumLevelOfDetail()); -} - -int PythonQtWrapper_QOpenGLTexture::maximumMipLevels(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->maximumMipLevels()); -} - -QPair PythonQtWrapper_QOpenGLTexture::minMagFilters(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->minMagFilters()); -} - -QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::minificationFilter(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->minificationFilter()); -} - -float PythonQtWrapper_QOpenGLTexture::minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->minimumLevelOfDetail()); -} - -int PythonQtWrapper_QOpenGLTexture::mipBaseLevel(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->mipBaseLevel()); -} - -QPair PythonQtWrapper_QOpenGLTexture::mipLevelRange(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->mipLevelRange()); -} - -int PythonQtWrapper_QOpenGLTexture::mipLevels(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->mipLevels()); -} - -int PythonQtWrapper_QOpenGLTexture::mipMaxLevel(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->mipMaxLevel()); -} - -void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) -{ - ( theWrappedObject->release(unit, reset)); -} - -int PythonQtWrapper_QOpenGLTexture::samples(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->samples()); -} - -void PythonQtWrapper_QOpenGLTexture::setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAutoMipMapGenerationEnabled(enabled)); -} - -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, QColor color) -{ - ( theWrappedObject->setBorderColor(color)); -} - -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a) -{ - ( theWrappedObject->setBorderColor(r, g, b, a)); -} - -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a) -{ - ( theWrappedObject->setBorderColor(r, g, b, a)); -} - -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a) -{ - ( theWrappedObject->setBorderColor(r, g, b, a)); -} - -void PythonQtWrapper_QOpenGLTexture::setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function) -{ - ( theWrappedObject->setComparisonFunction(function)); -} - -void PythonQtWrapper_QOpenGLTexture::setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode) -{ - ( theWrappedObject->setComparisonMode(mode)); -} - -void PythonQtWrapper_QOpenGLTexture::setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) -{ - ( theWrappedObject->setData(image, genMipMaps)); -} - -void PythonQtWrapper_QOpenGLTexture::setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode) -{ - ( theWrappedObject->setDepthStencilMode(mode)); -} - -void PythonQtWrapper_QOpenGLTexture::setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed) -{ - ( theWrappedObject->setFixedSamplePositions(fixed)); -} - -void PythonQtWrapper_QOpenGLTexture::setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QOpenGLTexture::setLayers(QOpenGLTexture* theWrappedObject, int layers) -{ - ( theWrappedObject->setLayers(layers)); -} - -void PythonQtWrapper_QOpenGLTexture::setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max) -{ - ( theWrappedObject->setLevelOfDetailRange(min, max)); -} - -void PythonQtWrapper_QOpenGLTexture::setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias) -{ - ( theWrappedObject->setLevelofDetailBias(bias)); -} - -void PythonQtWrapper_QOpenGLTexture::setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) -{ - ( theWrappedObject->setMagnificationFilter(filter)); -} - -void PythonQtWrapper_QOpenGLTexture::setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy) -{ - ( theWrappedObject->setMaximumAnisotropy(anisotropy)); -} - -void PythonQtWrapper_QOpenGLTexture::setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) -{ - ( theWrappedObject->setMaximumLevelOfDetail(value)); -} - -void PythonQtWrapper_QOpenGLTexture::setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter) -{ - ( theWrappedObject->setMinMagFilters(minificationFilter, magnificationFilter)); -} - -void PythonQtWrapper_QOpenGLTexture::setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) -{ - ( theWrappedObject->setMinificationFilter(filter)); -} - -void PythonQtWrapper_QOpenGLTexture::setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) -{ - ( theWrappedObject->setMinimumLevelOfDetail(value)); -} - -void PythonQtWrapper_QOpenGLTexture::setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel) -{ - ( theWrappedObject->setMipBaseLevel(baseLevel)); -} - -void PythonQtWrapper_QOpenGLTexture::setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel) -{ - ( theWrappedObject->setMipLevelRange(baseLevel, maxLevel)); -} - -void PythonQtWrapper_QOpenGLTexture::setMipLevels(QOpenGLTexture* theWrappedObject, int levels) -{ - ( theWrappedObject->setMipLevels(levels)); -} - -void PythonQtWrapper_QOpenGLTexture::setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel) -{ - ( theWrappedObject->setMipMaxLevel(maxLevel)); -} - -void PythonQtWrapper_QOpenGLTexture::setSamples(QOpenGLTexture* theWrappedObject, int samples) -{ - ( theWrappedObject->setSamples(samples)); -} - -void PythonQtWrapper_QOpenGLTexture::setSize(QOpenGLTexture* theWrappedObject, int width, int height, int depth) -{ - ( theWrappedObject->setSize(width, height, depth)); -} - -void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value) -{ - ( theWrappedObject->setSwizzleMask(component, value)); -} - -void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a) -{ - ( theWrappedObject->setSwizzleMask(r, g, b, a)); -} - -void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode) -{ - ( theWrappedObject->setWrapMode(direction, mode)); -} - -void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode) -{ - ( theWrappedObject->setWrapMode(mode)); -} - -QOpenGLTexture::SwizzleValue PythonQtWrapper_QOpenGLTexture::swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const -{ - return ( theWrappedObject->swizzleMask(component)); -} - -QOpenGLTexture::Target PythonQtWrapper_QOpenGLTexture::target(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->target()); -} - -GLuint PythonQtWrapper_QOpenGLTexture::textureId(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->textureId()); -} - -int PythonQtWrapper_QOpenGLTexture::width(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -QOpenGLTexture::WrapMode PythonQtWrapper_QOpenGLTexture::wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const -{ - return ( theWrappedObject->wrapMode(direction)); -} - -QString PythonQtWrapper_QOpenGLTexture::py_toString(QOpenGLTexture* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -void PythonQtWrapper_QOpenGLTextureBlitter::bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target) -{ - ( theWrappedObject->bind(target)); -} - -void PythonQtWrapper_QOpenGLTextureBlitter::blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin) -{ - ( theWrappedObject->blit(texture, targetTransform, sourceOrigin)); -} - -bool PythonQtWrapper_QOpenGLTextureBlitter::create(QOpenGLTextureBlitter* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -void PythonQtWrapper_QOpenGLTextureBlitter::destroy(QOpenGLTextureBlitter* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -bool PythonQtWrapper_QOpenGLTextureBlitter::isCreated(QOpenGLTextureBlitter* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); -} - -void PythonQtWrapper_QOpenGLTextureBlitter::release(QOpenGLTextureBlitter* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -void PythonQtWrapper_QOpenGLTextureBlitter::setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity) -{ - ( theWrappedObject->setOpacity(opacity)); -} - -void PythonQtWrapper_QOpenGLTextureBlitter::setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle) -{ - ( theWrappedObject->setRedBlueSwizzle(swizzle)); -} - -bool PythonQtWrapper_QOpenGLTextureBlitter::supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const -{ - return ( theWrappedObject->supportsExternalOESTarget()); -} - -QMatrix4x4 PythonQtWrapper_QOpenGLTextureBlitter::static_QOpenGLTextureBlitter_targetTransform(const QRectF& target, const QRect& viewport) -{ - return (QOpenGLTextureBlitter::targetTransform(target, viewport)); -} - - - -bool PythonQtWrapper_QOpenGLTimeMonitor::create(QOpenGLTimeMonitor* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -void PythonQtWrapper_QOpenGLTimeMonitor::destroy(QOpenGLTimeMonitor* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -bool PythonQtWrapper_QOpenGLTimeMonitor::isCreated(QOpenGLTimeMonitor* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); -} - -bool PythonQtWrapper_QOpenGLTimeMonitor::isResultAvailable(QOpenGLTimeMonitor* theWrappedObject) const -{ - return ( theWrappedObject->isResultAvailable()); -} - -QVector PythonQtWrapper_QOpenGLTimeMonitor::objectIds(QOpenGLTimeMonitor* theWrappedObject) const -{ - return ( theWrappedObject->objectIds()); -} - -int PythonQtWrapper_QOpenGLTimeMonitor::recordSample(QOpenGLTimeMonitor* theWrappedObject) -{ - return ( theWrappedObject->recordSample()); -} - -void PythonQtWrapper_QOpenGLTimeMonitor::reset(QOpenGLTimeMonitor* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -int PythonQtWrapper_QOpenGLTimeMonitor::sampleCount(QOpenGLTimeMonitor* theWrappedObject) const -{ - return ( theWrappedObject->sampleCount()); -} - -void PythonQtWrapper_QOpenGLTimeMonitor::setSampleCount(QOpenGLTimeMonitor* theWrappedObject, int sampleCount) -{ - ( theWrappedObject->setSampleCount(sampleCount)); -} - -QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForIntervals(QOpenGLTimeMonitor* theWrappedObject) const -{ - return ( theWrappedObject->waitForIntervals()); -} - -QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForSamples(QOpenGLTimeMonitor* theWrappedObject) const -{ - return ( theWrappedObject->waitForSamples()); -} - - - -void PythonQtWrapper_QOpenGLTimerQuery::begin(QOpenGLTimerQuery* theWrappedObject) -{ - ( theWrappedObject->begin()); -} - -bool PythonQtWrapper_QOpenGLTimerQuery::create(QOpenGLTimerQuery* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -void PythonQtWrapper_QOpenGLTimerQuery::destroy(QOpenGLTimerQuery* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -void PythonQtWrapper_QOpenGLTimerQuery::end(QOpenGLTimerQuery* theWrappedObject) -{ - ( theWrappedObject->end()); -} - -bool PythonQtWrapper_QOpenGLTimerQuery::isCreated(QOpenGLTimerQuery* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); -} - -bool PythonQtWrapper_QOpenGLTimerQuery::isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const -{ - return ( theWrappedObject->isResultAvailable()); -} - -GLuint PythonQtWrapper_QOpenGLTimerQuery::objectId(QOpenGLTimerQuery* theWrappedObject) const -{ - return ( theWrappedObject->objectId()); -} - -void PythonQtWrapper_QOpenGLTimerQuery::recordTimestamp(QOpenGLTimerQuery* theWrappedObject) -{ - ( theWrappedObject->recordTimestamp()); -} - -GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForResult(QOpenGLTimerQuery* theWrappedObject) const -{ - return ( theWrappedObject->waitForResult()); -} - -GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const -{ - return ( theWrappedObject->waitForTimestamp()); -} - - - -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile() -{ -return new QOpenGLVersionProfile(); } - -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other) -{ -return new QOpenGLVersionProfile(other); } - -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QSurfaceFormat& format) -{ -return new QOpenGLVersionProfile(format); } - -bool PythonQtWrapper_QOpenGLVersionProfile::hasProfiles(QOpenGLVersionProfile* theWrappedObject) const -{ - return ( theWrappedObject->hasProfiles()); -} - -bool PythonQtWrapper_QOpenGLVersionProfile::isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const -{ - return ( theWrappedObject->isLegacyVersion()); -} - -bool PythonQtWrapper_QOpenGLVersionProfile::isValid(QOpenGLVersionProfile* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) -{ - return &( (*theWrappedObject)= rhs); -} - -bool PythonQtWrapper_QOpenGLVersionProfile::__eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) -{ - return ( (*theWrappedObject)== rhs); -} - -QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QOpenGLVersionProfile::profile(QOpenGLVersionProfile* theWrappedObject) const -{ - return ( theWrappedObject->profile()); -} - -void PythonQtWrapper_QOpenGLVersionProfile::setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) -{ - ( theWrappedObject->setProfile(profile)); -} - -void PythonQtWrapper_QOpenGLVersionProfile::setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion) -{ - ( theWrappedObject->setVersion(majorVersion, minorVersion)); -} - -QPair PythonQtWrapper_QOpenGLVersionProfile::version(QOpenGLVersionProfile* theWrappedObject) const -{ - return ( theWrappedObject->version()); -} - -QString PythonQtWrapper_QOpenGLVersionProfile::py_toString(QOpenGLVersionProfile* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -void PythonQtWrapper_QOpenGLVertexArrayObject::bind(QOpenGLVertexArrayObject* theWrappedObject) -{ - ( theWrappedObject->bind()); -} - -bool PythonQtWrapper_QOpenGLVertexArrayObject::create(QOpenGLVertexArrayObject* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -void PythonQtWrapper_QOpenGLVertexArrayObject::destroy(QOpenGLVertexArrayObject* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -bool PythonQtWrapper_QOpenGLVertexArrayObject::isCreated(QOpenGLVertexArrayObject* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); -} - -GLuint PythonQtWrapper_QOpenGLVertexArrayObject::objectId(QOpenGLVertexArrayObject* theWrappedObject) const -{ - return ( theWrappedObject->objectId()); -} - -void PythonQtWrapper_QOpenGLVertexArrayObject::release(QOpenGLVertexArrayObject* theWrappedObject) -{ - ( theWrappedObject->release()); -} - - - -PythonQtShell_QOpenGLWidget::~PythonQtShell_QOpenGLWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::actionEvent(event0); -} -void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::changeEvent(arg__1); -} -void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::closeEvent(event0); -} -void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::contextMenuEvent(event0); -} -int PythonQtShell_QOpenGLWidget::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::devType(); -} -void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::dragEnterEvent(event0); -} -void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::dragMoveEvent(event0); -} -void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::dropEvent(event0); -} -void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::enterEvent(event0); -} -bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::event(e0); -} -void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::focusInEvent(event0); -} -bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::focusOutEvent(event0); -} -bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::hasHeightForWidth(); -} -int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::heightForWidth(arg__1); -} -void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::hideEvent(event0); -} -void PythonQtShell_QOpenGLWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::initPainter(painter0); -} -void PythonQtShell_QOpenGLWidget::initializeGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initializeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::initializeGL(); -} -void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::keyPressEvent(event0); -} -void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::keyReleaseEvent(event0); -} -void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::leaveEvent(event0); -} -int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::metric(metric0); -} -QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::minimumSizeHint(); -} -void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::mouseMoveEvent(event0); -} -void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::mousePressEvent(event0); -} -void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::mouseReleaseEvent(event0); -} -void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::moveEvent(event0); -} -bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::paintEngine(); -} -void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::paintEvent(e0); -} -void PythonQtShell_QOpenGLWidget::paintGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::paintGL(); -} -QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::redirected(p0); -} -void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::resizeEvent(e0); -} -void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w0, (void*)&h1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::resizeGL(w0, h1); -} -void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::setVisible(visible0); -} -QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::sharedPainter(); -} -void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::showEvent(event0); -} -QSize PythonQtShell_QOpenGLWidget::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::sizeHint(); -} -void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::tabletEvent(event0); -} -void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::wheelEvent(event0); -} -QOpenGLWidget* PythonQtWrapper_QOpenGLWidget::new_QOpenGLWidget(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QOpenGLWidget(parent, f); } - -const QMetaObject* PythonQtShell_QOpenGLWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWidget::staticMetaObject); - } else { - return &QOpenGLWidget::staticMetaObject; - } -} -int PythonQtShell_QOpenGLWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QOpenGLContext* PythonQtWrapper_QOpenGLWidget::context(QOpenGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -GLuint PythonQtWrapper_QOpenGLWidget::defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->defaultFramebufferObject()); -} - -void PythonQtWrapper_QOpenGLWidget::doneCurrent(QOpenGLWidget* theWrappedObject) -{ - ( theWrappedObject->doneCurrent()); -} - -QSurfaceFormat PythonQtWrapper_QOpenGLWidget::format(QOpenGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QImage PythonQtWrapper_QOpenGLWidget::grabFramebuffer(QOpenGLWidget* theWrappedObject) -{ - return ( theWrappedObject->grabFramebuffer()); -} - -void PythonQtWrapper_QOpenGLWidget::initializeGL(QOpenGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_initializeGL()); -} - -bool PythonQtWrapper_QOpenGLWidget::isValid(QOpenGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QOpenGLWidget::makeCurrent(QOpenGLWidget* theWrappedObject) -{ - ( theWrappedObject->makeCurrent()); -} - -void PythonQtWrapper_QOpenGLWidget::paintGL(QOpenGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_paintGL()); -} - -void PythonQtWrapper_QOpenGLWidget::resizeGL(QOpenGLWidget* theWrappedObject, int w, int h) -{ - ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); -} - -void PythonQtWrapper_QOpenGLWidget::setFormat(QOpenGLWidget* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QOpenGLWidget::setTextureFormat(QOpenGLWidget* theWrappedObject, GLenum texFormat) -{ - ( theWrappedObject->setTextureFormat(texFormat)); -} - -void PythonQtWrapper_QOpenGLWidget::setUpdateBehavior(QOpenGLWidget* theWrappedObject, QOpenGLWidget::UpdateBehavior updateBehavior) -{ - ( theWrappedObject->setUpdateBehavior(updateBehavior)); -} - -GLenum PythonQtWrapper_QOpenGLWidget::textureFormat(QOpenGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->textureFormat()); -} - -QOpenGLWidget::UpdateBehavior PythonQtWrapper_QOpenGLWidget::updateBehavior(QOpenGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->updateBehavior()); -} - - - -PythonQtShell_QOpenGLWindow::~PythonQtShell_QOpenGLWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QOpenGLWindow::initializeGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initializeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::initializeGL(); -} -int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWindow::metric(metric0); -} -void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::paintEvent(event0); -} -void PythonQtShell_QOpenGLWindow::paintGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::paintGL(); -} -void PythonQtShell_QOpenGLWindow::paintOverGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintOverGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::paintOverGL(); -} -void PythonQtShell_QOpenGLWindow::paintUnderGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintUnderGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::paintUnderGL(); -} -QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWindow::redirected(arg__1); -} -void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::resizeEvent(event0); -} -void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&w0, (void*)&h1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::resizeGL(w0, h1); -} -QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) -{ -return new PythonQtShell_QOpenGLWindow(shareContext, updateBehavior, parent); } - -QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) -{ -return new PythonQtShell_QOpenGLWindow(updateBehavior, parent); } - -const QMetaObject* PythonQtShell_QOpenGLWindow::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWindow::staticMetaObject); - } else { - return &QOpenGLWindow::staticMetaObject; - } -} -int PythonQtShell_QOpenGLWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLWindow::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QOpenGLContext* PythonQtWrapper_QOpenGLWindow::context(QOpenGLWindow* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -GLuint PythonQtWrapper_QOpenGLWindow::defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const -{ - return ( theWrappedObject->defaultFramebufferObject()); -} - -void PythonQtWrapper_QOpenGLWindow::doneCurrent(QOpenGLWindow* theWrappedObject) -{ - ( theWrappedObject->doneCurrent()); -} - -QImage PythonQtWrapper_QOpenGLWindow::grabFramebuffer(QOpenGLWindow* theWrappedObject) -{ - return ( theWrappedObject->grabFramebuffer()); -} - -void PythonQtWrapper_QOpenGLWindow::initializeGL(QOpenGLWindow* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_initializeGL()); -} - -bool PythonQtWrapper_QOpenGLWindow::isValid(QOpenGLWindow* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QOpenGLWindow::makeCurrent(QOpenGLWindow* theWrappedObject) -{ - ( theWrappedObject->makeCurrent()); -} - -int PythonQtWrapper_QOpenGLWindow::metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_metric(metric)); -} - -void PythonQtWrapper_QOpenGLWindow::paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintEvent(event)); -} - -void PythonQtWrapper_QOpenGLWindow::paintGL(QOpenGLWindow* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintGL()); -} - -void PythonQtWrapper_QOpenGLWindow::paintOverGL(QOpenGLWindow* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintOverGL()); -} - -void PythonQtWrapper_QOpenGLWindow::paintUnderGL(QOpenGLWindow* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintUnderGL()); -} - -QPaintDevice* PythonQtWrapper_QOpenGLWindow::redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_redirected(arg__1)); -} - -void PythonQtWrapper_QOpenGLWindow::resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeEvent(event)); -} - -void PythonQtWrapper_QOpenGLWindow::resizeGL(QOpenGLWindow* theWrappedObject, int w, int h) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeGL(w, h)); -} - -QOpenGLContext* PythonQtWrapper_QOpenGLWindow::shareContext(QOpenGLWindow* theWrappedObject) const -{ - return ( theWrappedObject->shareContext()); -} - -QOpenGLWindow::UpdateBehavior PythonQtWrapper_QOpenGLWindow::updateBehavior(QOpenGLWindow* theWrappedObject) const -{ - return ( theWrappedObject->updateBehavior()); -} - - - -PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPageSetupDialog::accept() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::accept(); -} -void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::actionEvent(event0); -} -void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::changeEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::closeEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::contextMenuEvent(arg__1); -} -int PythonQtShell_QPageSetupDialog::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::devType(); -} -void PythonQtShell_QPageSetupDialog::done(int result0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::done(result0); -} -void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::dragEnterEvent(event0); -} -void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::dragLeaveEvent(event0); -} -void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::dragMoveEvent(event0); -} -void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::dropEvent(event0); -} -void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::enterEvent(event0); -} -bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::event(event0); -} -bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QPageSetupDialog::exec() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::exec(); -} -void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::focusInEvent(event0); -} -bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::focusNextPrevChild(next0); -} -void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::focusOutEvent(event0); -} -bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::hasHeightForWidth(); -} -int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::heightForWidth(arg__1); -} -void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::hideEvent(event0); -} -void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::initPainter(painter0); -} -void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::inputMethodQuery(arg__1); -} -void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::keyPressEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::keyReleaseEvent(event0); -} -void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::leaveEvent(event0); -} -int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::metric(arg__1); -} -QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::minimumSizeHint(); -} -void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::mouseMoveEvent(event0); -} -void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::mousePressEvent(event0); -} -void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::mouseReleaseEvent(event0); -} -void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::moveEvent(event0); -} -bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::paintEngine(); -} -void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::redirected(offset0); -} -void PythonQtShell_QPageSetupDialog::reject() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::reject(); -} -void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::resizeEvent(arg__1); -} -void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::setVisible(visible0); -} -QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::sharedPainter(); -} -void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::showEvent(arg__1); -} -QSize PythonQtShell_QPageSetupDialog::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::sizeHint(); -} -void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::tabletEvent(event0); -} -void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPageSetupDialog::wheelEvent(event0); -} -QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) -{ -return new PythonQtShell_QPageSetupDialog(printer, parent); } - -QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QWidget* parent) -{ -return new PythonQtShell_QPageSetupDialog(parent); } - -const QMetaObject* PythonQtShell_QPageSetupDialog::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPageSetupDialog::staticMetaObject); - } else { - return &QPageSetupDialog::staticMetaObject; - } -} -int PythonQtShell_QPageSetupDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPageSetupDialog::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QPageSetupDialog::open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member) -{ - ( theWrappedObject->open(receiver, member)); -} - -QPrinter* PythonQtWrapper_QPageSetupDialog::printer(QPageSetupDialog* theWrappedObject) -{ - return ( theWrappedObject->printer()); -} - - - -PythonQtShell_QPagedPaintDevice::~PythonQtShell_QPagedPaintDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QPagedPaintDevice::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::devType(); -} -void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::initPainter(painter0); -} -int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::metric(metric0); -} -bool PythonQtShell_QPagedPaintDevice::newPage() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return bool(); -} -QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return 0; -} -QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::redirected(offset0); -} -void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margins& margins0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&margins0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::setMargins(margins0); -} -void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize size0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::setPageSize(size0); -} -void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSizeMM"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::setPageSizeMM(size0); -} -QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::sharedPainter(); -} -QPagedPaintDevice* PythonQtWrapper_QPagedPaintDevice::new_QPagedPaintDevice() -{ -return new PythonQtShell_QPagedPaintDevice(); } - -QPageLayout* PythonQtWrapper_QPagedPaintDevice::devicePageLayout(QPagedPaintDevice* theWrappedObject) -{ - return &( ((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->promoted_devicePageLayout()); -} - -QPagedPaintDevice::Margins PythonQtWrapper_QPagedPaintDevice::margins(QPagedPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->margins()); -} - -bool PythonQtWrapper_QPagedPaintDevice::newPage(QPagedPaintDevice* theWrappedObject) -{ - return ( theWrappedObject->newPage()); -} - -QPageLayout PythonQtWrapper_QPagedPaintDevice::pageLayout(QPagedPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->pageLayout()); -} - -QPagedPaintDevice::PageSize PythonQtWrapper_QPagedPaintDevice::pageSize(QPagedPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->pageSize()); -} - -QSizeF PythonQtWrapper_QPagedPaintDevice::pageSizeMM(QPagedPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->pageSizeMM()); -} - -void PythonQtWrapper_QPagedPaintDevice::setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins) -{ - ( theWrappedObject->setMargins(margins)); -} - -bool PythonQtWrapper_QPagedPaintDevice::setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout) -{ - return ( theWrappedObject->setPageLayout(pageLayout)); -} - -bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins) -{ - return ( theWrappedObject->setPageMargins(margins)); -} - -bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units) -{ - return ( theWrappedObject->setPageMargins(margins, units)); -} - -bool PythonQtWrapper_QPagedPaintDevice::setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation) -{ - return ( theWrappedObject->setPageOrientation(orientation)); -} - -void PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size) -{ - ( theWrappedObject->setPageSize(size)); -} - -bool PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize) -{ - return ( theWrappedObject->setPageSize(pageSize)); -} - -void PythonQtWrapper_QPagedPaintDevice::setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setPageSizeMM(size)); -} - - - -PythonQtShell_QPagedPaintDevice__Margins::~PythonQtShell_QPagedPaintDevice__Margins() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QPagedPaintDevice::Margins* PythonQtWrapper_QPagedPaintDevice__Margins::new_QPagedPaintDevice__Margins() -{ -return new PythonQtShell_QPagedPaintDevice__Margins(); } - - - -PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QPaintDevice::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPaintDevice::devType(); -} -void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintDevice::initPainter(painter0); -} -int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPaintDevice::metric(metric0); -} -QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return 0; -} -QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPaintDevice::redirected(offset0); -} -QPainter* PythonQtShell_QPaintDevice::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPaintDevice::sharedPainter(); -} -QPaintDevice* PythonQtWrapper_QPaintDevice::new_QPaintDevice() -{ -return new PythonQtShell_QPaintDevice(); } - -int PythonQtWrapper_QPaintDevice::colorCount(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->colorCount()); -} - -int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->depth()); -} - -int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->devType()); -} - -int PythonQtWrapper_QPaintDevice::devicePixelRatio(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->devicePixelRatio()); -} - -qreal PythonQtWrapper_QPaintDevice::devicePixelRatioF(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->devicePixelRatioF()); -} - -qreal PythonQtWrapper_QPaintDevice::static_QPaintDevice_devicePixelRatioFScale() -{ - return (QPaintDevice::devicePixelRatioFScale()); -} - -int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->heightMM()); -} - -void PythonQtWrapper_QPaintDevice::initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const -{ - ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_initPainter(painter)); -} - -int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->logicalDpiX()); -} - -int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->logicalDpiY()); -} - -int PythonQtWrapper_QPaintDevice::metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_metric(metric)); -} - -QPaintEngine* PythonQtWrapper_QPaintDevice::paintEngine(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->paintEngine()); -} - -bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->paintingActive()); -} - -int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->physicalDpiX()); -} - -int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->physicalDpiY()); -} - -QPaintDevice* PythonQtWrapper_QPaintDevice::redirected(QPaintDevice* theWrappedObject, QPoint* offset) const -{ - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_redirected(offset)); -} - -QPainter* PythonQtWrapper_QPaintDevice::sharedPainter(QPaintDevice* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_sharedPainter()); -} - -int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const -{ - return ( theWrappedObject->widthMM()); -} - - - -PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("begin"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QPaintDevice*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&pdev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return bool(); -} -QPoint PythonQtShell_QPaintEngine::coordinateOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("coordinateOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPaintEngine::coordinateOffset(); -} -void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawEllipse"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&r0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawEllipse(r0); -} -void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawEllipse"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&r0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawEllipse(r0); -} -void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawImage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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*)&r0, (void*)&pm1, (void*)&sr2, (void*)&flags3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawImage(r0, pm1, sr2, flags3); -} -void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawLines"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QLine*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&lines0, (void*)&lineCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawLines(lines0, lineCount1); -} -void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawLines"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QLineF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&lines0, (void*)&lineCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawLines(lines0, lineCount1); -} -void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPainterPath&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&path0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawPath(path0); -} -void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&r0, (void*)&pm1, (void*)&sr2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - -} -void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPoints"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPoint*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&points0, (void*)&pointCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawPoints(points0, pointCount1); -} -void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPoints"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPointF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&points0, (void*)&pointCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawPoints(points0, pointCount1); -} -void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPolygon"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawPolygon(points0, pointCount1, mode2); -} -void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPolygon"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawPolygon(points0, pointCount1, mode2); -} -void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawRects"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rects0, (void*)&rectCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawRects(rects0, rectCount1); -} -void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawRects"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rects0, (void*)&rectCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawRects(rects0, rectCount1); -} -void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawTextItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&p0, (void*)&textItem1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawTextItem(p0, textItem1); -} -void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawTiledPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&r0, (void*)&pixmap1, (void*)&s2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawTiledPixmap(r0, pixmap1, s2); -} -bool PythonQtShell_QPaintEngine::end() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("end"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return bool(); -} -QPaintEngine::Type PythonQtShell_QPaintEngine::type() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QPaintEngine::Type(); -} -void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPaintEngineState&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - -} -QPaintEngine* PythonQtWrapper_QPaintEngine::new_QPaintEngine(QPaintEngine::PaintEngineFeatures features) -{ -return new PythonQtShell_QPaintEngine(features); } - -bool PythonQtWrapper_QPaintEngine::begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev) -{ - return ( theWrappedObject->begin(pdev)); -} - -void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) -{ - ( theWrappedObject->clearDirty(df)); -} - -QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->coordinateOffset()); -} - -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(r, pm, sr, flags)); -} - -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) -{ - ( theWrappedObject->drawLines(lines, lineCount)); -} - -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) -{ - ( theWrappedObject->drawLines(lines, lineCount)); -} - -void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->drawPath(path)); -} - -void PythonQtWrapper_QPaintEngine::drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr) -{ - ( theWrappedObject->drawPixmap(r, pm, sr)); -} - -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) -{ - ( theWrappedObject->drawPoints(points, pointCount)); -} - -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) -{ - ( theWrappedObject->drawPoints(points, pointCount)); -} - -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) -{ - ( theWrappedObject->drawPolygon(points, pointCount, mode)); -} - -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) -{ - ( theWrappedObject->drawPolygon(points, pointCount, mode)); -} - -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) -{ - ( theWrappedObject->drawRects(rects, rectCount)); -} - -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) -{ - ( theWrappedObject->drawRects(rects, rectCount)); -} - -void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) -{ - ( theWrappedObject->drawTextItem(p, textItem)); -} - -void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) -{ - ( theWrappedObject->drawTiledPixmap(r, pixmap, s)); -} - -bool PythonQtWrapper_QPaintEngine::end(QPaintEngine* theWrappedObject) -{ - return ( theWrappedObject->end()); -} - -bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const -{ - return ( theWrappedObject->hasFeature(feature)); -} - -bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -bool PythonQtWrapper_QPaintEngine::isExtended(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->isExtended()); -} - -QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->paintDevice()); -} - -QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->painter()); -} - -void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) -{ - ( theWrappedObject->setActive(newState)); -} - -void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) -{ - ( theWrappedObject->setDirty(df)); -} - -void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) -{ - ( theWrappedObject->setSystemClip(baseClip)); -} - -void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setSystemRect(rect)); -} - -void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) -{ - ( theWrappedObject->syncState()); -} - -QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->systemClip()); -} - -QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->systemRect()); -} - -bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) -{ - return ( theWrappedObject->testDirty(df)); -} - -QPaintEngine::Type PythonQtWrapper_QPaintEngine::type(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QPaintEngine::updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state) -{ - ( theWrappedObject->updateState(state)); -} - - - -PythonQtShell_QPaintEngineState::~PythonQtShell_QPaintEngineState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() -{ -return new PythonQtShell_QPaintEngineState(); } - -QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->backgroundBrush()); -} - -Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->backgroundMode()); -} - -QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->brush()); -} - -bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->brushNeedsResolving()); -} - -QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->brushOrigin()); -} - -Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->clipOperation()); -} - -QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->clipPath()); -} - -QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->clipRegion()); -} - -QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->compositionMode()); -} - -QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->isClipEnabled()); -} - -QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->matrix()); -} - -qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); -} - -QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->painter()); -} - -QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->pen()); -} - -bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->penNeedsResolving()); -} - -QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->renderHints()); -} - -QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} - -QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const -{ - return ( theWrappedObject->transform()); -} - - - -PythonQtShell_QPaintEvent::~PythonQtShell_QPaintEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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 QRect* PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const -{ - return &( theWrappedObject->rect()); -} - -const QRegion* PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const -{ - return &( theWrappedObject->region()); -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.h deleted file mode 100644 index 6f84be59..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.h +++ /dev/null @@ -1,2216 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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 PixmapFragmentHint RenderHint ) -Q_FLAGS(PixmapFragmentHints 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, RasterOp_SourceOrDestination = QPainter::RasterOp_SourceOrDestination, RasterOp_SourceAndDestination = QPainter::RasterOp_SourceAndDestination, RasterOp_SourceXorDestination = QPainter::RasterOp_SourceXorDestination, RasterOp_NotSourceAndNotDestination = QPainter::RasterOp_NotSourceAndNotDestination, RasterOp_NotSourceOrNotDestination = QPainter::RasterOp_NotSourceOrNotDestination, RasterOp_NotSourceXorDestination = QPainter::RasterOp_NotSourceXorDestination, RasterOp_NotSource = QPainter::RasterOp_NotSource, RasterOp_NotSourceAndDestination = QPainter::RasterOp_NotSourceAndDestination, RasterOp_SourceAndNotDestination = QPainter::RasterOp_SourceAndNotDestination, RasterOp_NotSourceOrDestination = QPainter::RasterOp_NotSourceOrDestination, RasterOp_SourceOrNotDestination = QPainter::RasterOp_SourceOrNotDestination, RasterOp_ClearDestination = QPainter::RasterOp_ClearDestination, RasterOp_SetDestination = QPainter::RasterOp_SetDestination, RasterOp_NotDestination = QPainter::RasterOp_NotDestination}; -enum PixmapFragmentHint{ - OpaqueHint = QPainter::OpaqueHint}; -enum RenderHint{ - Antialiasing = QPainter::Antialiasing, TextAntialiasing = QPainter::TextAntialiasing, SmoothPixmapTransform = QPainter::SmoothPixmapTransform, HighQualityAntialiasing = QPainter::HighQualityAntialiasing, NonCosmeticDefaultPen = QPainter::NonCosmeticDefaultPen, Qt4CompatiblePainting = QPainter::Qt4CompatiblePainting, LosslessImageRendering = QPainter::LosslessImageRendering}; -Q_DECLARE_FLAGS(PixmapFragmentHints, PixmapFragmentHint) -Q_DECLARE_FLAGS(RenderHints, RenderHint) -public slots: -void delete_QPainter(QPainter* obj) { delete obj; } - const QBrush* background(QPainter* theWrappedObject) const; - Qt::BGMode backgroundMode(QPainter* theWrappedObject) const; - bool begin(QPainter* theWrappedObject, QPaintDevice* arg__1); - void beginNativePainting(QPainter* theWrappedObject); - QRect boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text); - QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o = QTextOption()); - QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text); - QRect boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text); - const QBrush* brush(QPainter* theWrappedObject) const; - QPoint brushOrigin(QPainter* theWrappedObject) const; - QRectF clipBoundingRect(QPainter* theWrappedObject) const; - QPainterPath clipPath(QPainter* theWrappedObject) const; - QRegion clipRegion(QPainter* theWrappedObject) const; - QMatrix combinedMatrix(QPainter* theWrappedObject) const; - QTransform combinedTransform(QPainter* theWrappedObject) const; - QPainter::CompositionMode compositionMode(QPainter* theWrappedObject) const; - QPaintDevice* device(QPainter* theWrappedObject) const; - const QMatrix* deviceMatrix(QPainter* theWrappedObject) const; - const QTransform* deviceTransform(QPainter* theWrappedObject) const; - void drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon); - void drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon); - void drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry); - void drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry); - void drawEllipse(QPainter* theWrappedObject, const QRect& r); - void drawEllipse(QPainter* theWrappedObject, const QRectF& r); - void drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h); - void drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun); - void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, 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 QLine& line); - void drawLine(QPainter* theWrappedObject, const QLineF& line); - void drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2); - void drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2); - void drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2); - void drawLines(QPainter* theWrappedObject, const QVector& lines); - void drawLines(QPainter* theWrappedObject, const QVector& lines); - void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); - void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); - void drawPath(QPainter* theWrappedObject, const QPainterPath& path); - void drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture); - void drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture); - void drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture); - void drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr); - void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr); - void drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect); - void drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect); - void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh); - void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh); - void drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints = QPainter::PixmapFragmentHints()); - void drawPoint(QPainter* theWrappedObject, const QPoint& p); - void drawPoint(QPainter* theWrappedObject, const QPointF& pt); - void drawPoint(QPainter* theWrappedObject, int x, int y); - void drawPoints(QPainter* theWrappedObject, const QPolygon& points); - void drawPoints(QPainter* theWrappedObject, const QPolygonF& points); - void drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); - void drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); - void drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon); - void drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline); - void drawRect(QPainter* theWrappedObject, const QRect& rect); - void drawRect(QPainter* theWrappedObject, const QRectF& rect); - void drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h); - void drawRects(QPainter* theWrappedObject, const QVector& rectangles); - void drawRects(QPainter* theWrappedObject, const QVector& rectangles); - void drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround = 25, int yround = 25); - void drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround = 25, int yround = 25); - void drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5 = 25, int arg__6 = 25); - void drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText); - void drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText); - void drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText); - void drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s); - void drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s); - void drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br = nullptr); - void drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o = QTextOption()); - void drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br = nullptr); - void drawText(QPainter* theWrappedObject, int x, int y, const QString& s); - void drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br = nullptr); - void drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti); - void drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti); - void drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti); - void drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3 = QPoint()); - void drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset = QPointF()); - void drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx = 0, int sy = 0); - bool end(QPainter* theWrappedObject); - void endNativePainting(QPainter* theWrappedObject); - void eraseRect(QPainter* theWrappedObject, const QRect& arg__1); - void eraseRect(QPainter* theWrappedObject, const QRectF& arg__1); - void eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h); - void fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush); - void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2); - void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color); - void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style); - void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c); - void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2); - void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color); - void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style); - void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color); - const QFont* font(QPainter* theWrappedObject) const; - QFontInfo fontInfo(QPainter* theWrappedObject) const; - QFontMetrics fontMetrics(QPainter* theWrappedObject) const; - bool hasClipping(QPainter* theWrappedObject) const; - void initFrom(QPainter* theWrappedObject, const QPaintDevice* device); - bool isActive(QPainter* theWrappedObject) const; - Qt::LayoutDirection layoutDirection(QPainter* theWrappedObject) const; - qreal opacity(QPainter* theWrappedObject) const; - QPaintEngine* paintEngine(QPainter* theWrappedObject) const; - const QPen* pen(QPainter* theWrappedObject) const; - QPaintDevice* static_QPainter_redirected(const QPaintDevice* device, QPoint* offset = nullptr); - QPainter::RenderHints renderHints(QPainter* theWrappedObject) const; - void resetMatrix(QPainter* theWrappedObject); - void resetTransform(QPainter* theWrappedObject); - void restore(QPainter* theWrappedObject); - void static_QPainter_restoreRedirected(const QPaintDevice* device); - void rotate(QPainter* theWrappedObject, qreal a); - void save(QPainter* theWrappedObject); - void scale(QPainter* theWrappedObject, qreal sx, qreal sy); - void setBackground(QPainter* theWrappedObject, const QBrush& bg); - void setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode); - void setBrush(QPainter* theWrappedObject, const QBrush& brush); - void setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1); - void setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1); - void setBrushOrigin(QPainter* theWrappedObject, int x, int y); - void setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipping(QPainter* theWrappedObject, bool enable); - void setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode); - void setFont(QPainter* theWrappedObject, const QFont& f); - void setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction); - void setOpacity(QPainter* theWrappedObject, qreal opacity); - void setPen(QPainter* theWrappedObject, Qt::PenStyle style); - void setPen(QPainter* theWrappedObject, const QColor& color); - void setPen(QPainter* theWrappedObject, const QPen& pen); - void static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset = QPoint()); - void setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on = true); - void setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on = true); - void setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine = false); - void setViewTransformEnabled(QPainter* theWrappedObject, bool enable); - void setViewport(QPainter* theWrappedObject, const QRect& viewport); - void setViewport(QPainter* theWrappedObject, int x, int y, int w, int h); - void setWindow(QPainter* theWrappedObject, const QRect& window); - void setWindow(QPainter* theWrappedObject, int x, int y, int w, int h); - void setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine = false); - void setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled); - void setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine = false); - void shear(QPainter* theWrappedObject, qreal sh, qreal sv); - void strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen); - bool testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const; - const QTransform* transform(QPainter* theWrappedObject) const; - void translate(QPainter* theWrappedObject, const QPoint& offset); - void translate(QPainter* theWrappedObject, const QPointF& offset); - void translate(QPainter* theWrappedObject, qreal dx, qreal dy); - bool viewTransformEnabled(QPainter* theWrappedObject) const; - QRect viewport(QPainter* theWrappedObject) const; - QRect window(QPainter* theWrappedObject) const; - const QMatrix* worldMatrix(QPainter* theWrappedObject) const; - bool worldMatrixEnabled(QPainter* theWrappedObject) const; - const QTransform* worldTransform(QPainter* theWrappedObject) const; -}; - - - - - -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(const QPainterPath& other); -QPainterPath* new_QPainterPath(const QPointF& startPoint); -void delete_QPainterPath(QPainterPath* obj) { delete obj; } - void addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry); - void addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode); - void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text); - void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle); - void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); - void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); - void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y); - void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y); - QPainterPath __mul__(QPainterPath* theWrappedObject, const QMatrix& m); - QPainterPath __mul__(QPainterPath* theWrappedObject, const QTransform& m); - void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1); - void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1); - void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); - void translate(QPainterPath* theWrappedObject, const QPointF& offset); - QPainterPath translated(QPainterPath* theWrappedObject, const QPointF& offset) const; - QString py_toString(QPainterPath*); -}; - - - - - -class PythonQtWrapper_QPainterPathStroker : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } - Qt::PenCapStyle capStyle(QPainterPathStroker* theWrappedObject) const; - QPainterPath createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const; - qreal curveThreshold(QPainterPathStroker* theWrappedObject) const; - qreal dashOffset(QPainterPathStroker* theWrappedObject) const; - QVector dashPattern(QPainterPathStroker* theWrappedObject) const; - Qt::PenJoinStyle joinStyle(QPainterPathStroker* theWrappedObject) const; - qreal miterLimit(QPainterPathStroker* theWrappedObject) const; - void setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style); - void setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold); - void setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset); - void setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1); - void setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern); - void setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style); - void setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length); - void setWidth(QPainterPathStroker* theWrappedObject, qreal width); - qreal width(QPainterPathStroker* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QPainterPath__Element : public QPainterPath::Element -{ -public: - PythonQtShell_QPainterPath__Element():QPainterPath::Element(),_wrapper(NULL) {}; - - ~PythonQtShell_QPainterPath__Element(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPainterPath__Element : public QObject -{ Q_OBJECT -public: -public slots: -QPainterPath::Element* new_QPainterPath__Element(); -QPainterPath::Element* new_QPainterPath__Element(const QPainterPath::Element& other) { -PythonQtShell_QPainterPath__Element* a = new PythonQtShell_QPainterPath__Element(); -*((QPainterPath::Element*)a) = other; -return a; } -void delete_QPainterPath__Element(QPainterPath::Element* obj) { delete obj; } - bool isCurveTo(QPainterPath::Element* theWrappedObject) const; - bool isLineTo(QPainterPath::Element* theWrappedObject) const; - bool isMoveTo(QPainterPath::Element* theWrappedObject) const; - QPointF operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const; - bool __ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; - bool __eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; -void py_set_type(QPainterPath::Element* theWrappedObject, QPainterPath::ElementType type){ theWrappedObject->type = type; } -QPainterPath::ElementType py_get_type(QPainterPath::Element* theWrappedObject){ return theWrappedObject->type; } -void py_set_x(QPainterPath::Element* theWrappedObject, qreal x){ theWrappedObject->x = x; } -qreal py_get_x(QPainterPath::Element* theWrappedObject){ return theWrappedObject->x; } -void py_set_y(QPainterPath::Element* theWrappedObject, qreal y){ theWrappedObject->y = y; } -qreal py_get_y(QPainterPath::Element* theWrappedObject){ return theWrappedObject->y; } -}; - - - - - -class PythonQtShell_QPainter__PixmapFragment : public QPainter::PixmapFragment -{ -public: - PythonQtShell_QPainter__PixmapFragment():QPainter::PixmapFragment(),_wrapper(NULL) {}; - - ~PythonQtShell_QPainter__PixmapFragment(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPainter__PixmapFragment : public QObject -{ Q_OBJECT -public: -public slots: -QPainter::PixmapFragment* new_QPainter__PixmapFragment(); -QPainter::PixmapFragment* new_QPainter__PixmapFragment(const QPainter::PixmapFragment& other) { -PythonQtShell_QPainter__PixmapFragment* a = new PythonQtShell_QPainter__PixmapFragment(); -*((QPainter::PixmapFragment*)a) = other; -return a; } -void delete_QPainter__PixmapFragment(QPainter::PixmapFragment* obj) { delete obj; } - QPainter::PixmapFragment static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX = 1, qreal scaleY = 1, qreal rotation = 0, qreal opacity = 1); -void py_set_height(QPainter::PixmapFragment* theWrappedObject, qreal height){ theWrappedObject->height = height; } -qreal py_get_height(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->height; } -void py_set_opacity(QPainter::PixmapFragment* theWrappedObject, qreal opacity){ theWrappedObject->opacity = opacity; } -qreal py_get_opacity(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->opacity; } -void py_set_rotation(QPainter::PixmapFragment* theWrappedObject, qreal rotation){ theWrappedObject->rotation = rotation; } -qreal py_get_rotation(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->rotation; } -void py_set_scaleX(QPainter::PixmapFragment* theWrappedObject, qreal scaleX){ theWrappedObject->scaleX = scaleX; } -qreal py_get_scaleX(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleX; } -void py_set_scaleY(QPainter::PixmapFragment* theWrappedObject, qreal scaleY){ theWrappedObject->scaleY = scaleY; } -qreal py_get_scaleY(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleY; } -void py_set_sourceLeft(QPainter::PixmapFragment* theWrappedObject, qreal sourceLeft){ theWrappedObject->sourceLeft = sourceLeft; } -qreal py_get_sourceLeft(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceLeft; } -void py_set_sourceTop(QPainter::PixmapFragment* theWrappedObject, qreal sourceTop){ theWrappedObject->sourceTop = sourceTop; } -qreal py_get_sourceTop(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceTop; } -void py_set_width(QPainter::PixmapFragment* theWrappedObject, qreal width){ theWrappedObject->width = width; } -qreal py_get_width(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->width; } -void py_set_x(QPainter::PixmapFragment* theWrappedObject, qreal x){ theWrappedObject->x = x; } -qreal py_get_x(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->x; } -void py_set_y(QPainter::PixmapFragment* theWrappedObject, qreal y){ theWrappedObject->y = y; } -qreal py_get_y(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->y; } -}; - - - - - -class PythonQtWrapper_QPanGesture : public QObject -{ Q_OBJECT -public: -public slots: -QPanGesture* new_QPanGesture(QObject* parent = nullptr); -void delete_QPanGesture(QPanGesture* obj) { delete obj; } - qreal acceleration(QPanGesture* theWrappedObject) const; - QPointF delta(QPanGesture* theWrappedObject) const; - QPointF lastOffset(QPanGesture* theWrappedObject) const; - QPointF offset(QPanGesture* theWrappedObject) const; - void setAcceleration(QPanGesture* theWrappedObject, qreal value); - void setLastOffset(QPanGesture* theWrappedObject, const QPointF& value); - void setOffset(QPanGesture* theWrappedObject, const QPointF& value); -}; - - - - - -class PythonQtShell_QPdfWriter : public QPdfWriter -{ -public: - PythonQtShell_QPdfWriter(QIODevice* device):QPdfWriter(device),_wrapper(NULL) {}; - PythonQtShell_QPdfWriter(const QString& filename):QPdfWriter(filename),_wrapper(NULL) {}; - - ~PythonQtShell_QPdfWriter(); - -virtual int metric(QPaintDevice::PaintDeviceMetric id) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual void setMargins(const QPagedPaintDevice::Margins& m); -virtual void setPageSize(QPagedPaintDevice::PageSize size); -virtual void setPageSizeMM(const QSizeF& size); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPdfWriter : public QPdfWriter -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric id) const { return this->metric(id); } -inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric id) const { return QPdfWriter::metric(id); } -inline bool py_q_newPage() { return QPdfWriter::newPage(); } -inline QPaintEngine* py_q_paintEngine() const { return QPdfWriter::paintEngine(); } -inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPdfWriter::setMargins(m); } -inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPdfWriter::setPageSize(size); } -inline void py_q_setPageSizeMM(const QSizeF& size) { QPdfWriter::setPageSizeMM(size); } -}; - -class PythonQtWrapper_QPdfWriter : public QObject -{ Q_OBJECT -public: -public slots: -QPdfWriter* new_QPdfWriter(QIODevice* device); -QPdfWriter* new_QPdfWriter(const QString& filename); -void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } - void addFileAttachment(QPdfWriter* theWrappedObject, const QString& fileName, const QByteArray& data, const QString& mimeType = QString()); - QString creator(QPdfWriter* theWrappedObject) const; - QByteArray documentXmpMetadata(QPdfWriter* theWrappedObject) const; - int metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const; - int py_q_metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_metric(id));} - bool newPage(QPdfWriter* theWrappedObject); - bool py_q_newPage(QPdfWriter* theWrappedObject){ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_newPage());} - QPaintEngine* paintEngine(QPdfWriter* theWrappedObject) const; - QPaintEngine* py_q_paintEngine(QPdfWriter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_paintEngine());} - QPagedPaintDevice::PdfVersion pdfVersion(QPdfWriter* theWrappedObject) const; - int resolution(QPdfWriter* theWrappedObject) const; - void setCreator(QPdfWriter* theWrappedObject, const QString& creator); - void setDocumentXmpMetadata(QPdfWriter* theWrappedObject, const QByteArray& xmpMetadata); - void setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m); - void py_q_setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setMargins(m));} - void setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size); - void py_q_setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSize(size));} - void setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size); - void py_q_setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSizeMM(size));} - void setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version); - void setResolution(QPdfWriter* theWrappedObject, int resolution); - void setTitle(QPdfWriter* theWrappedObject, const QString& title); - QString title(QPdfWriter* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin -{ -public: - PythonQtShell_QPictureFormatPlugin(QObject* parent = nullptr):QPictureFormatPlugin(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPictureFormatPlugin(); - -virtual bool installIOHandler(const QString& format); -virtual bool loadPicture(const QString& format, const QString& filename, QPicture* pic); -virtual bool savePicture(const QString& format, const QString& filename, const QPicture& pic); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin -{ public: -inline bool py_q_installIOHandler(const QString& format) { return this->installIOHandler(format); } -inline bool py_q_loadPicture(const QString& format, const QString& filename, QPicture* pic) { return QPictureFormatPlugin::loadPicture(format, filename, pic); } -inline bool py_q_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 = nullptr); -void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } - bool installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format); - bool py_q_installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_installIOHandler(format));} - bool loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic); - bool py_q_loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_loadPicture(format, filename, pic));} - bool savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic); - bool py_q_savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_savePicture(format, filename, pic));} -}; - - - - - -class PythonQtWrapper_QPictureIO : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QPictureIO(QPictureIO* obj) { delete obj; } - QString description(QPictureIO* theWrappedObject) const; - QString fileName(QPictureIO* theWrappedObject) const; - const char* format(QPictureIO* theWrappedObject) const; - float gamma(QPictureIO* theWrappedObject) const; - QList static_QPictureIO_inputFormats(); - QIODevice* ioDevice(QPictureIO* theWrappedObject) const; - QList static_QPictureIO_outputFormats(); - const char* parameters(QPictureIO* theWrappedObject) const; - const QPicture* picture(QPictureIO* theWrappedObject) const; - QByteArray static_QPictureIO_pictureFormat(QIODevice* arg__1); - QByteArray static_QPictureIO_pictureFormat(const QString& fileName); - int quality(QPictureIO* theWrappedObject) const; - bool read(QPictureIO* theWrappedObject); - void setDescription(QPictureIO* theWrappedObject, const QString& arg__1); - void setFileName(QPictureIO* theWrappedObject, const QString& arg__1); - void setFormat(QPictureIO* theWrappedObject, const char* arg__1); - void setGamma(QPictureIO* theWrappedObject, float arg__1); - void setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1); - void setParameters(QPictureIO* theWrappedObject, const char* arg__1); - void setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1); - void setQuality(QPictureIO* theWrappedObject, int arg__1); - void setStatus(QPictureIO* theWrappedObject, int arg__1); - int status(QPictureIO* theWrappedObject) const; - bool write(QPictureIO* theWrappedObject); -}; - - - - - -class PythonQtWrapper_QPinchGesture : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ChangeFlag ) -Q_FLAGS(ChangeFlags ) -enum ChangeFlag{ - ScaleFactorChanged = QPinchGesture::ScaleFactorChanged, RotationAngleChanged = QPinchGesture::RotationAngleChanged, CenterPointChanged = QPinchGesture::CenterPointChanged}; -Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) -public slots: -QPinchGesture* new_QPinchGesture(QObject* parent = nullptr); -void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } - QPointF centerPoint(QPinchGesture* theWrappedObject) const; - QPinchGesture::ChangeFlags changeFlags(QPinchGesture* theWrappedObject) const; - QPointF lastCenterPoint(QPinchGesture* theWrappedObject) const; - qreal lastRotationAngle(QPinchGesture* theWrappedObject) const; - qreal lastScaleFactor(QPinchGesture* theWrappedObject) const; - qreal rotationAngle(QPinchGesture* theWrappedObject) const; - qreal scaleFactor(QPinchGesture* theWrappedObject) const; - void setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); - void setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); - void setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); - void setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value); - void setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value); - void setRotationAngle(QPinchGesture* theWrappedObject, qreal value); - void setScaleFactor(QPinchGesture* theWrappedObject, qreal value); - void setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); - void setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); - void setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value); - void setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value); - QPointF startCenterPoint(QPinchGesture* theWrappedObject) const; - QPinchGesture::ChangeFlags totalChangeFlags(QPinchGesture* theWrappedObject) const; - qreal totalRotationAngle(QPinchGesture* theWrappedObject) const; - qreal totalScaleFactor(QPinchGesture* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout -{ -public: - PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(NULL) {}; - - ~PythonQtShell_QPlainTextDocumentLayout(); - -virtual QRectF blockBoundingRect(const QTextBlock& block) const; -virtual void documentChanged(int from, int arg__2, int charsAdded); -virtual QSizeF documentSize() const; -virtual void draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2); -virtual void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); -virtual QRectF frameBoundingRect(QTextFrame* arg__1) const; -virtual int hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const; -virtual int pageCount() const; -virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPlainTextDocumentLayout : public QPlainTextDocumentLayout -{ public: -inline void promoted_documentChanged(int from, int arg__2, int charsAdded) { this->documentChanged(from, arg__2, charsAdded); } -inline QRectF py_q_blockBoundingRect(const QTextBlock& block) const { return QPlainTextDocumentLayout::blockBoundingRect(block); } -inline void py_q_documentChanged(int from, int arg__2, int charsAdded) { QPlainTextDocumentLayout::documentChanged(from, arg__2, charsAdded); } -inline QSizeF py_q_documentSize() const { return QPlainTextDocumentLayout::documentSize(); } -inline void py_q_draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { QPlainTextDocumentLayout::draw(arg__1, arg__2); } -inline QRectF py_q_frameBoundingRect(QTextFrame* arg__1) const { return QPlainTextDocumentLayout::frameBoundingRect(arg__1); } -inline int py_q_hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); } -inline int py_q_pageCount() const { return QPlainTextDocumentLayout::pageCount(); } -}; - -class PythonQtWrapper_QPlainTextDocumentLayout : public QObject -{ Q_OBJECT -public: -public slots: -QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); -void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } - QRectF py_q_blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} - int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const; - void py_q_documentChanged(QPlainTextDocumentLayout* theWrappedObject, int from, int arg__2, int charsAdded){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentChanged(from, arg__2, charsAdded));} - QSizeF py_q_documentSize(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentSize());} - void py_q_draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_draw(arg__1, arg__2));} - void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; - QRectF py_q_frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_frameBoundingRect(arg__1));} - int py_q_hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_hitTest(arg__1, arg__2));} - int py_q_pageCount(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_pageCount());} - void requestUpdate(QPlainTextDocumentLayout* theWrappedObject); - void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width); -}; - - - - - -class PythonQtShell_QPlainTextEdit : public QPlainTextEdit -{ -public: - PythonQtShell_QPlainTextEdit(QWidget* parent = nullptr):QPlainTextEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = nullptr):QPlainTextEdit(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPlainTextEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -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 bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit -{ public: -inline QRectF promoted_blockBoundingGeometry(const QTextBlock& block) const { return this->blockBoundingGeometry(block); } -inline QRectF promoted_blockBoundingRect(const QTextBlock& block) const { return this->blockBoundingRect(block); } -inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } -inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } -inline QPointF promoted_contentOffset() const { return this->contentOffset(); } -inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } -inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } -inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } -inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } -inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline QTextBlock promoted_firstVisibleBlock() const { return this->firstVisibleBlock(); } -inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } -inline QAbstractTextDocumentLayout::PaintContext promoted_getPaintContext() const { return this->getPaintContext(); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } -inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } -inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } -inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } -inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } -inline void promoted_zoomInF(float range) { this->zoomInF(range); } -inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QPlainTextEdit::canInsertFromMimeData(source); } -inline void py_q_changeEvent(QEvent* e) { QPlainTextEdit::changeEvent(e); } -inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QPlainTextEdit::contextMenuEvent(e); } -inline QMimeData* py_q_createMimeDataFromSelection() const { return QPlainTextEdit::createMimeDataFromSelection(); } -inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QPlainTextEdit::doSetTextCursor(cursor); } -inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QPlainTextEdit::dragEnterEvent(e); } -inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QPlainTextEdit::dragLeaveEvent(e); } -inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QPlainTextEdit::dragMoveEvent(e); } -inline void py_q_dropEvent(QDropEvent* e) { QPlainTextEdit::dropEvent(e); } -inline bool py_q_event(QEvent* e) { return QPlainTextEdit::event(e); } -inline void py_q_focusInEvent(QFocusEvent* e) { QPlainTextEdit::focusInEvent(e); } -inline bool py_q_focusNextPrevChild(bool next) { return QPlainTextEdit::focusNextPrevChild(next); } -inline void py_q_focusOutEvent(QFocusEvent* e) { QPlainTextEdit::focusOutEvent(e); } -inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QPlainTextEdit::inputMethodEvent(arg__1); } -inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QPlainTextEdit::inputMethodQuery(property); } -inline void py_q_insertFromMimeData(const QMimeData* source) { QPlainTextEdit::insertFromMimeData(source); } -inline void py_q_keyPressEvent(QKeyEvent* e) { QPlainTextEdit::keyPressEvent(e); } -inline void py_q_keyReleaseEvent(QKeyEvent* e) { QPlainTextEdit::keyReleaseEvent(e); } -inline QVariant py_q_loadResource(int type, const QUrl& name) { return QPlainTextEdit::loadResource(type, name); } -inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QPlainTextEdit::mouseDoubleClickEvent(e); } -inline void py_q_mouseMoveEvent(QMouseEvent* e) { QPlainTextEdit::mouseMoveEvent(e); } -inline void py_q_mousePressEvent(QMouseEvent* e) { QPlainTextEdit::mousePressEvent(e); } -inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QPlainTextEdit::mouseReleaseEvent(e); } -inline void py_q_paintEvent(QPaintEvent* e) { QPlainTextEdit::paintEvent(e); } -inline void py_q_resizeEvent(QResizeEvent* e) { QPlainTextEdit::resizeEvent(e); } -inline void py_q_scrollContentsBy(int dx, int dy) { QPlainTextEdit::scrollContentsBy(dx, dy); } -inline void py_q_showEvent(QShowEvent* arg__1) { QPlainTextEdit::showEvent(arg__1); } -inline void py_q_timerEvent(QTimerEvent* e) { QPlainTextEdit::timerEvent(e); } -inline void py_q_wheelEvent(QWheelEvent* e) { QPlainTextEdit::wheelEvent(e); } -}; - -class PythonQtWrapper_QPlainTextEdit : public QObject -{ Q_OBJECT -public: -public slots: -QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = nullptr); -QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = nullptr); -void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } - QString anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; - bool backgroundVisible(QPlainTextEdit* theWrappedObject) const; - QRectF blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; - QRectF blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; - int blockCount(QPlainTextEdit* theWrappedObject) const; - bool canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const; - bool py_q_canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} - bool canPaste(QPlainTextEdit* theWrappedObject) const; - bool centerOnScroll(QPlainTextEdit* theWrappedObject) const; - void py_q_changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_changeEvent(e));} - QPointF contentOffset(QPlainTextEdit* theWrappedObject) const; - void py_q_contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} - QMimeData* createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const; - QMimeData* py_q_createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} - QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject); - QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position); - QTextCharFormat currentCharFormat(QPlainTextEdit* theWrappedObject) const; - QTextCursor cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; - QRect cursorRect(QPlainTextEdit* theWrappedObject) const; - QRect cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const; - int cursorWidth(QPlainTextEdit* theWrappedObject) const; - void doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); - void py_q_doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} - QTextDocument* document(QPlainTextEdit* theWrappedObject) const; - QString documentTitle(QPlainTextEdit* theWrappedObject) const; - void py_q_dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} - void py_q_dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} - void py_q_dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} - void py_q_dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dropEvent(e));} - void ensureCursorVisible(QPlainTextEdit* theWrappedObject); - bool py_q_event(QPlainTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_event(e));} - QList extraSelections(QPlainTextEdit* theWrappedObject) const; - bool find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - bool find(QPlainTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - bool find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - QTextBlock firstVisibleBlock(QPlainTextEdit* theWrappedObject) const; - void py_q_focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} - bool py_q_focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} - QAbstractTextDocumentLayout::PaintContext getPaintContext(QPlainTextEdit* theWrappedObject) const; - void py_q_inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} - QVariant py_q_inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} - QVariant inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; - void insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source); - void py_q_insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} - bool isReadOnly(QPlainTextEdit* theWrappedObject) const; - bool isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const; - void py_q_keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} - void py_q_keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} - QPlainTextEdit::LineWrapMode lineWrapMode(QPlainTextEdit* theWrappedObject) const; - QVariant loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name); - QVariant py_q_loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} - int maximumBlockCount(QPlainTextEdit* theWrappedObject) const; - void mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier); - void py_q_mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} - void py_q_mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} - void py_q_mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} - void py_q_mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} - void moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - bool overwriteMode(QPlainTextEdit* theWrappedObject) const; - void py_q_paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_paintEvent(e));} - QString placeholderText(QPlainTextEdit* theWrappedObject) const; - void print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; - void py_q_resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} - void py_q_scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible); - void setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled); - void setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format); - void setCursorWidth(QPlainTextEdit* theWrappedObject, int width); - void setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document); - void setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title); - void setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections); - void setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode); - void setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum); - void setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite); - void setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText); - void setReadOnly(QPlainTextEdit* theWrappedObject, bool ro); - void setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b); - void setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance); - void setTabStopWidth(QPlainTextEdit* theWrappedObject, int width); - void setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); - void setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); - void setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable); - void setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy); - void py_q_showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} - bool tabChangesFocus(QPlainTextEdit* theWrappedObject) const; - qreal tabStopDistance(QPlainTextEdit* theWrappedObject) const; - int tabStopWidth(QPlainTextEdit* theWrappedObject) const; - QTextCursor textCursor(QPlainTextEdit* theWrappedObject) const; - Qt::TextInteractionFlags textInteractionFlags(QPlainTextEdit* theWrappedObject) const; - void timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e); - void py_q_timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_timerEvent(e));} - QString toPlainText(QPlainTextEdit* theWrappedObject) const; - void py_q_wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} - QTextOption::WrapMode wordWrapMode(QPlainTextEdit* theWrappedObject) const; - void zoomInF(QPlainTextEdit* theWrappedObject, float range); -}; - - - - - -class PythonQtShell_QPlatformSurfaceEvent : public QPlatformSurfaceEvent -{ -public: - PythonQtShell_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType):QPlatformSurfaceEvent(surfaceEventType),_wrapper(NULL) {}; - - ~PythonQtShell_QPlatformSurfaceEvent(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPlatformSurfaceEvent : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SurfaceEventType ) -enum SurfaceEventType{ - SurfaceCreated = QPlatformSurfaceEvent::SurfaceCreated, SurfaceAboutToBeDestroyed = QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed}; -public slots: -QPlatformSurfaceEvent* new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType); -void delete_QPlatformSurfaceEvent(QPlatformSurfaceEvent* obj) { delete obj; } - QPlatformSurfaceEvent::SurfaceEventType surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QPrintDialog : public QPrintDialog -{ -public: - PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QPrintDialog(printer, parent),_wrapper(NULL) {}; - PythonQtShell_QPrintDialog(QWidget* parent = nullptr):QPrintDialog(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog -{ public: -inline void py_q_accept() { QPrintDialog::accept(); } -inline void py_q_done(int result) { QPrintDialog::done(result); } -inline int py_q_exec() { return QPrintDialog::exec(); } -inline void py_q_setVisible(bool visible) { QPrintDialog::setVisible(visible); } -}; - -class PythonQtWrapper_QPrintDialog : public QObject -{ Q_OBJECT -public: -public slots: -QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr); -QPrintDialog* new_QPrintDialog(QWidget* parent = nullptr); -void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } - void py_q_accept(QPrintDialog* theWrappedObject){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_accept());} - void py_q_done(QPrintDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_done(result));} - int py_q_exec(QPrintDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_exec());} - void open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member); - QAbstractPrintDialog::PrintDialogOptions options(QPrintDialog* theWrappedObject) const; - void setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on = true); - void setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); - void py_q_setVisible(QPrintDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_setVisible(visible));} - bool testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; -}; - - - - - -class PythonQtShell_QPrintEngine : public QPrintEngine -{ -public: - PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintEngine(); - -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 PythonQtPublicPromoter_QPrintEngine : public QPrintEngine -{ public: -inline bool py_q_abort() { return this->abort(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } -inline bool py_q_newPage() { return this->newPage(); } -inline QPrinter::PrinterState py_q_printerState() const { return this->printerState(); } -inline QVariant py_q_property(QPrintEngine::PrintEnginePropertyKey key) const { return this->property(key); } -inline void py_q_setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) { this->setProperty(key, value); } -}; - -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_Duplex = QPrintEngine::PPK_Duplex, PPK_PaperSources = QPrintEngine::PPK_PaperSources, PPK_CustomPaperSize = QPrintEngine::PPK_CustomPaperSize, PPK_PageMargins = QPrintEngine::PPK_PageMargins, PPK_CopyCount = QPrintEngine::PPK_CopyCount, PPK_SupportsMultipleCopies = QPrintEngine::PPK_SupportsMultipleCopies, PPK_PaperName = QPrintEngine::PPK_PaperName, PPK_QPageSize = QPrintEngine::PPK_QPageSize, PPK_QPageMargins = QPrintEngine::PPK_QPageMargins, PPK_QPageLayout = QPrintEngine::PPK_QPageLayout, PPK_PaperSize = QPrintEngine::PPK_PaperSize, PPK_CustomBase = QPrintEngine::PPK_CustomBase}; -public slots: -QPrintEngine* new_QPrintEngine(); -void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } - bool abort(QPrintEngine* theWrappedObject); - bool py_q_abort(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_abort());} - int metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; - int py_q_metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_metric(arg__1));} - bool newPage(QPrintEngine* theWrappedObject); - bool py_q_newPage(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_newPage());} - QPrinter::PrinterState printerState(QPrintEngine* theWrappedObject) const; - QPrinter::PrinterState py_q_printerState(QPrintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_printerState());} - QVariant property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const; - QVariant py_q_property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_property(key));} - void setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); - void py_q_setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value){ (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_setProperty(key, value));} -}; - - - - - -class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog -{ -public: - PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(printer, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintPreviewDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPrintPreviewDialog : public QPrintPreviewDialog -{ public: -inline void py_q_done(int result) { QPrintPreviewDialog::done(result); } -inline void py_q_setVisible(bool visible) { QPrintPreviewDialog::setVisible(visible); } -}; - -class PythonQtWrapper_QPrintPreviewDialog : public QObject -{ Q_OBJECT -public: -public slots: -QPrintPreviewDialog* new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -QPrintPreviewDialog* new_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } - void py_q_done(QPrintPreviewDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_done(result));} - void open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member); - QPrinter* printer(QPrintPreviewDialog* theWrappedObject); - void py_q_setVisible(QPrintPreviewDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_setVisible(visible));} -}; - - - - - -class PythonQtShell_QPrintPreviewWidget : public QPrintPreviewWidget -{ -public: - PythonQtShell_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(printer, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintPreviewWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPrintPreviewWidget : public QPrintPreviewWidget -{ public: -inline void py_q_setVisible(bool visible) { QPrintPreviewWidget::setVisible(visible); } -}; - -class PythonQtWrapper_QPrintPreviewWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ViewMode ZoomMode ) -enum ViewMode{ - SinglePageView = QPrintPreviewWidget::SinglePageView, FacingPagesView = QPrintPreviewWidget::FacingPagesView, AllPagesView = QPrintPreviewWidget::AllPagesView}; -enum ZoomMode{ - CustomZoom = QPrintPreviewWidget::CustomZoom, FitToWidth = QPrintPreviewWidget::FitToWidth, FitInView = QPrintPreviewWidget::FitInView}; -public slots: -QPrintPreviewWidget* new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -QPrintPreviewWidget* new_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QPrintPreviewWidget(QPrintPreviewWidget* obj) { delete obj; } - int currentPage(QPrintPreviewWidget* theWrappedObject) const; - QPrinter::Orientation orientation(QPrintPreviewWidget* theWrappedObject) const; - int pageCount(QPrintPreviewWidget* theWrappedObject) const; - void py_q_setVisible(QPrintPreviewWidget* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewWidget*)theWrappedObject)->py_q_setVisible(visible));} - QPrintPreviewWidget::ViewMode viewMode(QPrintPreviewWidget* theWrappedObject) const; - qreal zoomFactor(QPrintPreviewWidget* theWrappedObject) const; - QPrintPreviewWidget::ZoomMode zoomMode(QPrintPreviewWidget* theWrappedObject) const; -}; - - - - - -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) {}; - - ~PythonQtShell_QPrinter(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void setMargins(const QPagedPaintDevice::Margins& m); -virtual void setPageSize(QPagedPaintDevice::PageSize arg__1); -virtual void setPageSizeMM(const QSizeF& size); -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPrinter : public QPrinter -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } -inline void promoted_setEngines(QPrintEngine* printEngine, QPaintEngine* paintEngine) { this->setEngines(printEngine, paintEngine); } -inline int py_q_devType() const { return QPrinter::devType(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return QPrinter::metric(arg__1); } -inline bool py_q_newPage() { return QPrinter::newPage(); } -inline QPaintEngine* py_q_paintEngine() const { return QPrinter::paintEngine(); } -inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPrinter::setMargins(m); } -inline void py_q_setPageSize(QPagedPaintDevice::PageSize arg__1) { QPrinter::setPageSize(arg__1); } -inline void py_q_setPageSizeMM(const QSizeF& size) { QPrinter::setPageSizeMM(size); } -}; - -class PythonQtWrapper_QPrinter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ColorMode DuplexMode Orientation OutputFormat PageOrder PaperSource PrintRange PrinterMode PrinterState Unit ) -enum ColorMode{ - GrayScale = QPrinter::GrayScale, Color = QPrinter::Color}; -enum DuplexMode{ - DuplexNone = QPrinter::DuplexNone, DuplexAuto = QPrinter::DuplexAuto, DuplexLongSide = QPrinter::DuplexLongSide, DuplexShortSide = QPrinter::DuplexShortSide}; -enum Orientation{ - Portrait = QPrinter::Portrait, Landscape = QPrinter::Landscape}; -enum OutputFormat{ - NativeFormat = QPrinter::NativeFormat, PdfFormat = QPrinter::PdfFormat}; -enum PageOrder{ - FirstPageFirst = QPrinter::FirstPageFirst, LastPageFirst = QPrinter::LastPageFirst}; -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, CustomSource = QPrinter::CustomSource, LastPaperSource = QPrinter::LastPaperSource, Upper = QPrinter::Upper}; -enum PrintRange{ - AllPages = QPrinter::AllPages, Selection = QPrinter::Selection, PageRange = QPrinter::PageRange, CurrentPage = QPrinter::CurrentPage}; -enum PrinterMode{ - ScreenResolution = QPrinter::ScreenResolution, PrinterResolution = QPrinter::PrinterResolution, HighResolution = QPrinter::HighResolution}; -enum PrinterState{ - Idle = QPrinter::Idle, Active = QPrinter::Active, Aborted = QPrinter::Aborted, Error = QPrinter::Error}; -enum Unit{ - Millimeter = QPrinter::Millimeter, Point = QPrinter::Point, Inch = QPrinter::Inch, Pica = QPrinter::Pica, Didot = QPrinter::Didot, Cicero = QPrinter::Cicero, DevicePixel = QPrinter::DevicePixel}; -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; } - bool abort(QPrinter* theWrappedObject); - int actualNumCopies(QPrinter* theWrappedObject) const; - bool collateCopies(QPrinter* theWrappedObject) const; - QPrinter::ColorMode colorMode(QPrinter* theWrappedObject) const; - int copyCount(QPrinter* theWrappedObject) const; - QString creator(QPrinter* theWrappedObject) const; - int py_q_devType(QPrinter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_devType());} - QString docName(QPrinter* theWrappedObject) const; - bool doubleSidedPrinting(QPrinter* theWrappedObject) const; - QPrinter::DuplexMode duplex(QPrinter* theWrappedObject) const; - bool fontEmbeddingEnabled(QPrinter* theWrappedObject) const; - int fromPage(QPrinter* theWrappedObject) const; - bool fullPage(QPrinter* theWrappedObject) const; - void getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const; - bool isValid(QPrinter* theWrappedObject) const; - int py_q_metric(QPrinter* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_metric(arg__1));} - bool py_q_newPage(QPrinter* theWrappedObject){ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_newPage());} - int numCopies(QPrinter* theWrappedObject) const; - QPrinter::Orientation orientation(QPrinter* theWrappedObject) const; - QString outputFileName(QPrinter* theWrappedObject) const; - QPrinter::OutputFormat outputFormat(QPrinter* theWrappedObject) const; - QPrinter::PageOrder pageOrder(QPrinter* theWrappedObject) const; - QRect pageRect(QPrinter* theWrappedObject) const; - QRectF pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; - QPagedPaintDevice::PageSize pageSize(QPrinter* theWrappedObject) const; - QPaintEngine* py_q_paintEngine(QPrinter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_paintEngine());} - QString paperName(QPrinter* theWrappedObject) const; - QRect paperRect(QPrinter* theWrappedObject) const; - QRectF paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const; - QPagedPaintDevice::PageSize paperSize(QPrinter* theWrappedObject) const; - QSizeF paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const; - QPrinter::PaperSource paperSource(QPrinter* theWrappedObject) const; - QPagedPaintDevice::PdfVersion pdfVersion(QPrinter* theWrappedObject) const; - QPrintEngine* printEngine(QPrinter* theWrappedObject) const; - QString printProgram(QPrinter* theWrappedObject) const; - QPrinter::PrintRange printRange(QPrinter* theWrappedObject) const; - QString printerName(QPrinter* theWrappedObject) const; - QPrinter::PrinterState printerState(QPrinter* theWrappedObject) const; - int resolution(QPrinter* theWrappedObject) const; - void setCollateCopies(QPrinter* theWrappedObject, bool collate); - void setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1); - void setCopyCount(QPrinter* theWrappedObject, int arg__1); - void setCreator(QPrinter* theWrappedObject, const QString& arg__1); - void setDocName(QPrinter* theWrappedObject, const QString& arg__1); - void setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable); - void setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex); - void setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine); - void setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable); - void setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage); - void setFullPage(QPrinter* theWrappedObject, bool arg__1); - void py_q_setMargins(QPrinter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setMargins(m));} - void setNumCopies(QPrinter* theWrappedObject, int arg__1); - void setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1); - void setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1); - void setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format); - void setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit); - void setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1); - void py_q_setPageSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setPageSize(arg__1));} - void py_q_setPageSizeMM(QPrinter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->py_q_setPageSizeMM(size));} - void setPaperName(QPrinter* theWrappedObject, const QString& paperName); - void setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1); - void setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit); - void setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1); - void setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version); - void setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1); - void setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range); - void setPrinterName(QPrinter* theWrappedObject, const QString& arg__1); - void setResolution(QPrinter* theWrappedObject, int arg__1); - void setWinPageSize(QPrinter* theWrappedObject, int winPageSize); - QList supportedResolutions(QPrinter* theWrappedObject) const; - bool supportsMultipleCopies(QPrinter* theWrappedObject) const; - int toPage(QPrinter* theWrappedObject) const; - int winPageSize(QPrinter* theWrappedObject) const; - bool __nonzero__(QPrinter* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QPrinterInfo : public QObject -{ Q_OBJECT -public: -public slots: -QPrinterInfo* new_QPrinterInfo(); -QPrinterInfo* new_QPrinterInfo(const QPrinter& printer); -QPrinterInfo* new_QPrinterInfo(const QPrinterInfo& other); -void delete_QPrinterInfo(QPrinterInfo* obj) { delete obj; } - QStringList static_QPrinterInfo_availablePrinterNames(); - QList static_QPrinterInfo_availablePrinters(); - QPrinter::ColorMode defaultColorMode(QPrinterInfo* theWrappedObject) const; - QPrinter::DuplexMode defaultDuplexMode(QPrinterInfo* theWrappedObject) const; - QPageSize defaultPageSize(QPrinterInfo* theWrappedObject) const; - QPrinterInfo static_QPrinterInfo_defaultPrinter(); - QString static_QPrinterInfo_defaultPrinterName(); - QString description(QPrinterInfo* theWrappedObject) const; - bool isDefault(QPrinterInfo* theWrappedObject) const; - bool isNull(QPrinterInfo* theWrappedObject) const; - bool isRemote(QPrinterInfo* theWrappedObject) const; - QString location(QPrinterInfo* theWrappedObject) const; - QString makeAndModel(QPrinterInfo* theWrappedObject) const; - QPageSize maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const; - QPageSize minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const; - QPrinterInfo static_QPrinterInfo_printerInfo(const QString& printerName); - QString printerName(QPrinterInfo* theWrappedObject) const; - QPrinter::PrinterState state(QPrinterInfo* theWrappedObject) const; - QList supportedColorModes(QPrinterInfo* theWrappedObject) const; - QList supportedDuplexModes(QPrinterInfo* theWrappedObject) const; - QList supportedPageSizes(QPrinterInfo* theWrappedObject) const; - QList supportedPaperSizes(QPrinterInfo* theWrappedObject) const; - QList supportedResolutions(QPrinterInfo* theWrappedObject) const; - QList > supportedSizesWithNames(QPrinterInfo* theWrappedObject) const; - bool supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const; - bool __nonzero__(QPrinterInfo* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QProgressBar : public QProgressBar -{ -public: - PythonQtShell_QProgressBar(QWidget* parent = nullptr):QProgressBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QProgressBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString text() const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QProgressBar : public QProgressBar -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_initStyleOption(QStyleOptionProgressBar* option) const { this->initStyleOption(option); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QProgressBar::event(e); } -inline QSize py_q_minimumSizeHint() const { return QProgressBar::minimumSizeHint(); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QProgressBar::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QProgressBar::sizeHint(); } -inline QString py_q_text() const { return QProgressBar::text(); } -}; - -class PythonQtWrapper_QProgressBar : public QObject -{ Q_OBJECT -public: -public slots: -QProgressBar* new_QProgressBar(QWidget* parent = nullptr); -void delete_QProgressBar(QProgressBar* obj) { delete obj; } - Qt::Alignment alignment(QProgressBar* theWrappedObject) const; - bool py_q_event(QProgressBar* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_event(e));} - QString format(QProgressBar* theWrappedObject) const; - void initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const; - bool invertedAppearance(QProgressBar* theWrappedObject) const; - bool isTextVisible(QProgressBar* theWrappedObject) const; - int maximum(QProgressBar* theWrappedObject) const; - int minimum(QProgressBar* theWrappedObject) const; - QSize minimumSizeHint(QProgressBar* theWrappedObject) const; - QSize py_q_minimumSizeHint(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_minimumSizeHint());} - Qt::Orientation orientation(QProgressBar* theWrappedObject) const; - void py_q_paintEvent(QProgressBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_paintEvent(arg__1));} - void resetFormat(QProgressBar* theWrappedObject); - void setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment); - void setFormat(QProgressBar* theWrappedObject, const QString& format); - void setInvertedAppearance(QProgressBar* theWrappedObject, bool invert); - void setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection); - void setTextVisible(QProgressBar* theWrappedObject, bool visible); - QSize sizeHint(QProgressBar* theWrappedObject) const; - QSize py_q_sizeHint(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_sizeHint());} - QString text(QProgressBar* theWrappedObject) const; - QString py_q_text(QProgressBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->py_q_text());} - QProgressBar::Direction textDirection(QProgressBar* theWrappedObject) const; - int value(QProgressBar* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QProgressDialog : public QProgressDialog -{ -public: - PythonQtShell_QProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(parent, flags),_wrapper(NULL) {}; - PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QProgressDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) 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* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() 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* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QProgressDialog : public QProgressDialog -{ public: -inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } -inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } -inline void promoted_forceShow() { this->forceShow(); } -inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } -inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } -inline void py_q_changeEvent(QEvent* event) { QProgressDialog::changeEvent(event); } -inline void py_q_closeEvent(QCloseEvent* event) { QProgressDialog::closeEvent(event); } -inline void py_q_resizeEvent(QResizeEvent* event) { QProgressDialog::resizeEvent(event); } -inline void py_q_showEvent(QShowEvent* event) { QProgressDialog::showEvent(event); } -inline QSize py_q_sizeHint() const { return QProgressDialog::sizeHint(); } -}; - -class PythonQtWrapper_QProgressDialog : public QObject -{ Q_OBJECT -public: -public slots: -QProgressDialog* new_QProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -QProgressDialog* new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } - bool autoClose(QProgressDialog* theWrappedObject) const; - bool autoReset(QProgressDialog* theWrappedObject) const; - void py_q_changeEvent(QProgressDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_changeEvent(event));} - void py_q_closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_closeEvent(event));} - QString labelText(QProgressDialog* theWrappedObject) const; - int maximum(QProgressDialog* theWrappedObject) const; - int minimum(QProgressDialog* theWrappedObject) const; - int minimumDuration(QProgressDialog* theWrappedObject) const; - void open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member); - void py_q_resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_resizeEvent(event));} - void setAutoClose(QProgressDialog* theWrappedObject, bool close); - void setAutoReset(QProgressDialog* theWrappedObject, bool reset); - void setBar(QProgressDialog* theWrappedObject, QProgressBar* bar); - void setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button); - void setLabel(QProgressDialog* theWrappedObject, QLabel* label); - void py_q_showEvent(QProgressDialog* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_showEvent(event));} - QSize py_q_sizeHint(QProgressDialog* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProgressDialog*)theWrappedObject)->py_q_sizeHint());} - int value(QProgressDialog* theWrappedObject) const; - bool wasCanceled(QProgressDialog* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QProxyStyle : public QProxyStyle -{ -public: - PythonQtShell_QProxyStyle(QStyle* style = nullptr):QProxyStyle(style),_wrapper(NULL) {}; - PythonQtShell_QProxyStyle(const QString& key):QProxyStyle(key),_wrapper(NULL) {}; - - ~PythonQtShell_QProxyStyle(); - -virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) 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 element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual bool event(QEvent* e); -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 = nullptr) 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 layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) 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 QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) 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 unpolish(QApplication* app); -virtual void unpolish(QWidget* widget); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QProxyStyle : public QProxyStyle -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void py_q_drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawComplexControl(control, option, painter, widget); } -inline void py_q_drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawControl(element, option, painter, widget); } -inline void py_q_drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const { QProxyStyle::drawItemPixmap(painter, rect, alignment, pixmap); } -inline void py_q_drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const { QProxyStyle::drawItemText(painter, rect, flags, pal, enabled, text, textRole); } -inline void py_q_drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const { QProxyStyle::drawPrimitive(element, option, painter, widget); } -inline bool py_q_event(QEvent* e) { return QProxyStyle::event(e); } -inline QPixmap py_q_generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { return QProxyStyle::generatedIconPixmap(iconMode, pixmap, opt); } -inline QStyle::SubControl py_q_hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const { return QProxyStyle::hitTestComplexControl(control, option, pos, widget); } -inline QRect py_q_itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const { return QProxyStyle::itemPixmapRect(r, flags, pixmap); } -inline QRect py_q_itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const { return QProxyStyle::itemTextRect(fm, r, flags, enabled, text); } -inline int py_q_layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::layoutSpacing(control1, control2, orientation, option, widget); } -inline int py_q_pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::pixelMetric(metric, option, widget); } -inline void py_q_polish(QApplication* app) { QProxyStyle::polish(app); } -inline void py_q_polish(QPalette& pal) { QProxyStyle::polish(pal); } -inline void py_q_polish(QWidget* widget) { QProxyStyle::polish(widget); } -inline QSize py_q_sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const { return QProxyStyle::sizeFromContents(type, option, size, widget); } -inline QIcon py_q_standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const { return QProxyStyle::standardIcon(standardIcon, option, widget); } -inline QPalette py_q_standardPalette() const { return QProxyStyle::standardPalette(); } -inline QPixmap py_q_standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const { return QProxyStyle::standardPixmap(standardPixmap, opt, widget); } -inline int py_q_styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const { return QProxyStyle::styleHint(hint, option, widget, returnData); } -inline QRect py_q_subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const { return QProxyStyle::subControlRect(cc, opt, sc, widget); } -inline QRect py_q_subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const { return QProxyStyle::subElementRect(element, option, widget); } -inline void py_q_unpolish(QApplication* app) { QProxyStyle::unpolish(app); } -inline void py_q_unpolish(QWidget* widget) { QProxyStyle::unpolish(widget); } -}; - -class PythonQtWrapper_QProxyStyle : public QObject -{ Q_OBJECT -public: -public slots: -QProxyStyle* new_QProxyStyle(QStyle* style = nullptr); -QProxyStyle* new_QProxyStyle(const QString& key); -void delete_QProxyStyle(QProxyStyle* obj) { delete obj; } - QStyle* baseStyle(QProxyStyle* theWrappedObject) const; - void py_q_drawComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawComplexControl(control, option, painter, widget));} - void py_q_drawControl(QProxyStyle* theWrappedObject, QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawControl(element, option, painter, widget));} - void py_q_drawItemPixmap(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawItemPixmap(painter, rect, alignment, pixmap));} - void py_q_drawItemText(QProxyStyle* theWrappedObject, QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawItemText(painter, rect, flags, pal, enabled, text, textRole));} - void py_q_drawPrimitive(QProxyStyle* theWrappedObject, QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const{ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_drawPrimitive(element, option, painter, widget));} - bool event(QProxyStyle* theWrappedObject, QEvent* e); - bool py_q_event(QProxyStyle* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_event(e));} - QPixmap py_q_generatedIconPixmap(QProxyStyle* theWrappedObject, QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_generatedIconPixmap(iconMode, pixmap, opt));} - QStyle::SubControl py_q_hitTestComplexControl(QProxyStyle* theWrappedObject, QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_hitTestComplexControl(control, option, pos, widget));} - QRect py_q_itemPixmapRect(QProxyStyle* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_itemPixmapRect(r, flags, pixmap));} - QRect itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; - QRect py_q_itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_itemTextRect(fm, r, flags, enabled, text));} - int py_q_layoutSpacing(QProxyStyle* theWrappedObject, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_layoutSpacing(control1, control2, orientation, option, widget));} - int py_q_pixelMetric(QProxyStyle* theWrappedObject, QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_pixelMetric(metric, option, widget));} - void py_q_polish(QProxyStyle* theWrappedObject, QApplication* app){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(app));} - void py_q_polish(QProxyStyle* theWrappedObject, QPalette& pal){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(pal));} - void py_q_polish(QProxyStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_polish(widget));} - void setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style); - QSize py_q_sizeFromContents(QProxyStyle* theWrappedObject, QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_sizeFromContents(type, option, size, widget));} - QIcon py_q_standardIcon(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardIcon(standardIcon, option, widget));} - QPalette py_q_standardPalette(QProxyStyle* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardPalette());} - QPixmap py_q_standardPixmap(QProxyStyle* theWrappedObject, QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_standardPixmap(standardPixmap, opt, widget));} - int py_q_styleHint(QProxyStyle* theWrappedObject, QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_styleHint(hint, option, widget, returnData));} - QRect py_q_subControlRect(QProxyStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_subControlRect(cc, opt, sc, widget));} - QRect py_q_subElementRect(QProxyStyle* theWrappedObject, QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const{ return (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_subElementRect(element, option, widget));} - void py_q_unpolish(QProxyStyle* theWrappedObject, QApplication* app){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_unpolish(app));} - void py_q_unpolish(QProxyStyle* theWrappedObject, QWidget* widget){ (((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->py_q_unpolish(widget));} -}; - - - - - -class PythonQtShell_QPushButton : public QPushButton -{ -public: - PythonQtShell_QPushButton(QWidget* parent = nullptr):QPushButton(parent),_wrapper(NULL) {}; - PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr):QPushButton(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QPushButton(const QString& text, QWidget* parent = nullptr):QPushButton(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPushButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPushButton : public QPushButton -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } -inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } -inline void promoted_initStyleOption(QStyleOptionButton* option) const { this->initStyleOption(option); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QPushButton::event(e); } -inline void py_q_focusInEvent(QFocusEvent* arg__1) { QPushButton::focusInEvent(arg__1); } -inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QPushButton::focusOutEvent(arg__1); } -inline bool py_q_hitButton(const QPoint& pos) const { return QPushButton::hitButton(pos); } -inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QPushButton::keyPressEvent(arg__1); } -inline QSize py_q_minimumSizeHint() const { return QPushButton::minimumSizeHint(); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QPushButton::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QPushButton::sizeHint(); } -}; - -class PythonQtWrapper_QPushButton : public QObject -{ Q_OBJECT -public: -public slots: -QPushButton* new_QPushButton(QWidget* parent = nullptr); -QPushButton* new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr); -QPushButton* new_QPushButton(const QString& text, QWidget* parent = nullptr); -void delete_QPushButton(QPushButton* obj) { delete obj; } - bool autoDefault(QPushButton* theWrappedObject) const; - bool py_q_event(QPushButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_event(e));} - void py_q_focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_focusInEvent(arg__1));} - void py_q_focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_focusOutEvent(arg__1));} - bool py_q_hitButton(QPushButton* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_hitButton(pos));} - void initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const; - bool isDefault(QPushButton* theWrappedObject) const; - bool isFlat(QPushButton* theWrappedObject) const; - void py_q_keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_keyPressEvent(arg__1));} - QMenu* menu(QPushButton* theWrappedObject) const; - QSize minimumSizeHint(QPushButton* theWrappedObject) const; - QSize py_q_minimumSizeHint(QPushButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_paintEvent(QPushButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_paintEvent(arg__1));} - void setAutoDefault(QPushButton* theWrappedObject, bool arg__1); - void setDefault(QPushButton* theWrappedObject, bool arg__1); - void setFlat(QPushButton* theWrappedObject, bool arg__1); - void setMenu(QPushButton* theWrappedObject, QMenu* menu); - QSize sizeHint(QPushButton* theWrappedObject) const; - QSize py_q_sizeHint(QPushButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->py_q_sizeHint());} -}; - - - - - -class PythonQtWrapper_QQuaternion : public QObject -{ Q_OBJECT -public: -public slots: -QQuaternion* new_QQuaternion(); -QQuaternion* new_QQuaternion(const QVector4D& vector); -QQuaternion* new_QQuaternion(float scalar, const QVector3D& vector); -QQuaternion* new_QQuaternion(float scalar, float xpos, float ypos, float zpos); -QQuaternion* new_QQuaternion(const QQuaternion& other) { -QQuaternion* a = new QQuaternion(); -*((QQuaternion*)a) = other; -return a; } -void delete_QQuaternion(QQuaternion* obj) { delete obj; } - QQuaternion conjugate(QQuaternion* theWrappedObject) const; - QQuaternion conjugated(QQuaternion* theWrappedObject) const; - float static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2); - QQuaternion static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis); - QQuaternion static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle); - QQuaternion static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle); - QQuaternion static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up); - QQuaternion static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles); - QQuaternion static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll); - void getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const; - void getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const; - void getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const; - void getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const; - QQuaternion inverted(QQuaternion* theWrappedObject) const; - bool isIdentity(QQuaternion* theWrappedObject) const; - bool isNull(QQuaternion* theWrappedObject) const; - float length(QQuaternion* theWrappedObject) const; - float lengthSquared(QQuaternion* theWrappedObject) const; - QQuaternion static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t); - void normalize(QQuaternion* theWrappedObject); - QQuaternion normalized(QQuaternion* theWrappedObject) const; - const QQuaternion __mul__(QQuaternion* theWrappedObject, const QQuaternion& q2); - QVector3D __mul__(QQuaternion* theWrappedObject, const QVector3D& vec); - const QQuaternion __mul__(QQuaternion* theWrappedObject, float factor); - QQuaternion* __imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); - QQuaternion* __imul__(QQuaternion* theWrappedObject, float factor); - const QQuaternion __add__(QQuaternion* theWrappedObject, const QQuaternion& q2); - QQuaternion* __iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); - const QQuaternion __sub__(QQuaternion* theWrappedObject, const QQuaternion& q2); - QQuaternion* __isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion); - const QQuaternion __div__(QQuaternion* theWrappedObject, float divisor); - QQuaternion* __idiv__(QQuaternion* theWrappedObject, float divisor); - void writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1); - bool __eq__(QQuaternion* theWrappedObject, const QQuaternion& q2); - void readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1); - QVector3D rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const; - QQuaternion static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to); - float scalar(QQuaternion* theWrappedObject) const; - void setScalar(QQuaternion* theWrappedObject, float scalar); - void setVector(QQuaternion* theWrappedObject, const QVector3D& vector); - void setVector(QQuaternion* theWrappedObject, float x, float y, float z); - void setX(QQuaternion* theWrappedObject, float x); - void setY(QQuaternion* theWrappedObject, float y); - void setZ(QQuaternion* theWrappedObject, float z); - QQuaternion static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t); - QVector3D toEulerAngles(QQuaternion* theWrappedObject) const; - QVector4D toVector4D(QQuaternion* theWrappedObject) const; - QVector3D vector(QQuaternion* theWrappedObject) const; - float x(QQuaternion* theWrappedObject) const; - float y(QQuaternion* theWrappedObject) const; - float z(QQuaternion* theWrappedObject) const; - QString py_toString(QQuaternion*); - bool __nonzero__(QQuaternion* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtWrapper_QRadialGradient : public QObject -{ Q_OBJECT -public: -public slots: -QRadialGradient* new_QRadialGradient(); -QRadialGradient* new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius); -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 centerRadius, qreal fx, qreal fy, qreal focalRadius); -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; } - QPointF center(QRadialGradient* theWrappedObject) const; - qreal centerRadius(QRadialGradient* theWrappedObject) const; - QPointF focalPoint(QRadialGradient* theWrappedObject) const; - qreal focalRadius(QRadialGradient* theWrappedObject) const; - qreal radius(QRadialGradient* theWrappedObject) const; - void setCenter(QRadialGradient* theWrappedObject, const QPointF& center); - void setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y); - void setCenterRadius(QRadialGradient* theWrappedObject, qreal radius); - void setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint); - void setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y); - void setFocalRadius(QRadialGradient* theWrappedObject, qreal radius); - void setRadius(QRadialGradient* theWrappedObject, qreal radius); -}; - - - - - -class PythonQtShell_QRadioButton : public QRadioButton -{ -public: - PythonQtShell_QRadioButton(QWidget* parent = nullptr):QRadioButton(parent),_wrapper(NULL) {}; - PythonQtShell_QRadioButton(const QString& text, QWidget* parent = nullptr):QRadioButton(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& arg__1) const; -virtual void initPainter(QPainter* painter) 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 leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRadioButton : public QRadioButton -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline bool promoted_hitButton(const QPoint& arg__1) const { return this->hitButton(arg__1); } -inline void promoted_initStyleOption(QStyleOptionButton* button) const { this->initStyleOption(button); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QRadioButton::event(e); } -inline bool py_q_hitButton(const QPoint& arg__1) const { return QRadioButton::hitButton(arg__1); } -inline QSize py_q_minimumSizeHint() const { return QRadioButton::minimumSizeHint(); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QRadioButton::mouseMoveEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QRadioButton::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QRadioButton::sizeHint(); } -}; - -class PythonQtWrapper_QRadioButton : public QObject -{ Q_OBJECT -public: -public slots: -QRadioButton* new_QRadioButton(QWidget* parent = nullptr); -QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = nullptr); -void delete_QRadioButton(QRadioButton* obj) { delete obj; } - bool py_q_event(QRadioButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_event(e));} - bool py_q_hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_hitButton(arg__1));} - void initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const; - QSize minimumSizeHint(QRadioButton* theWrappedObject) const; - QSize py_q_minimumSizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_paintEvent(arg__1));} - QSize sizeHint(QRadioButton* theWrappedObject) const; - QSize py_q_sizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_sizeHint());} -}; - - - - - -class PythonQtShell_QRasterWindow : public QRasterWindow -{ -public: - PythonQtShell_QRasterWindow(QWindow* parent = nullptr):QRasterWindow(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRasterWindow(); - -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintDevice* redirected(QPoint* arg__1) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRasterWindow : public QRasterWindow -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline QPaintDevice* promoted_redirected(QPoint* arg__1) const { return this->redirected(arg__1); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QRasterWindow::metric(metric); } -inline QPaintDevice* py_q_redirected(QPoint* arg__1) const { return QRasterWindow::redirected(arg__1); } -}; - -class PythonQtWrapper_QRasterWindow : public QObject -{ Q_OBJECT -public: -public slots: -QRasterWindow* new_QRasterWindow(QWindow* parent = nullptr); -void delete_QRasterWindow(QRasterWindow* obj) { delete obj; } - int metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - int py_q_metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_metric(metric));} - QPaintDevice* redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const; - QPaintDevice* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} -}; - - - - - -class PythonQtShell_QRegExpValidator : public QRegExpValidator -{ -public: - PythonQtShell_QRegExpValidator(QObject* parent = nullptr):QRegExpValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr):QRegExpValidator(rx, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRegExpValidator(); - -virtual void fixup(QString& arg__1) const; -virtual QValidator::State validate(QString& input, int& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator -{ public: -inline QValidator::State py_q_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 = nullptr); -QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr); -void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } - const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; - void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); - QValidator::State py_q_validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegExpValidator*)theWrappedObject)->py_q_validate(input, pos));} -}; - - - - - -class PythonQtShell_QRegularExpressionValidator : public QRegularExpressionValidator -{ -public: - PythonQtShell_QRegularExpressionValidator(QObject* parent = nullptr):QRegularExpressionValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr):QRegularExpressionValidator(re, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRegularExpressionValidator(); - -virtual void fixup(QString& arg__1) const; -virtual QValidator::State validate(QString& input, int& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRegularExpressionValidator : public QRegularExpressionValidator -{ public: -inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegularExpressionValidator::validate(input, pos); } -}; - -class PythonQtWrapper_QRegularExpressionValidator : public QObject -{ Q_OBJECT -public: -public slots: -QRegularExpressionValidator* new_QRegularExpressionValidator(QObject* parent = nullptr); -QRegularExpressionValidator* new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr); -void delete_QRegularExpressionValidator(QRegularExpressionValidator* obj) { delete obj; } - QRegularExpression regularExpression(QRegularExpressionValidator* theWrappedObject) const; - QValidator::State py_q_validate(QRegularExpressionValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegularExpressionValidator*)theWrappedObject)->py_q_validate(input, pos));} -}; - - - - - -class PythonQtShell_QResizeEvent : public QResizeEvent -{ -public: - PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(NULL) {}; - - ~PythonQtShell_QResizeEvent(); - - - 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* oldSize(QResizeEvent* theWrappedObject) const; - const QSize* size(QResizeEvent* theWrappedObject) const; -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp deleted file mode 100644 index ce14bd93..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ /dev/null @@ -1,626 +0,0 @@ -#include "com_trolltech_qt_gui8.h" -#include -#include -#include -#include -#include -#include - -PythonQtShell_QStyleHintReturnMask::~PythonQtShell_QStyleHintReturnMask() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() -{ -return new PythonQtShell_QStyleHintReturnMask(); } - - - -PythonQtShell_QStyleHintReturnVariant::~PythonQtShell_QStyleHintReturnVariant() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() -{ -return new PythonQtShell_QStyleHintReturnVariant(); } - - - -int PythonQtWrapper_QStyleHints::cursorFlashTime(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->cursorFlashTime()); -} - -qreal PythonQtWrapper_QStyleHints::fontSmoothingGamma(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->fontSmoothingGamma()); -} - -int PythonQtWrapper_QStyleHints::keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->keyboardAutoRepeatRate()); -} - -int PythonQtWrapper_QStyleHints::keyboardInputInterval(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->keyboardInputInterval()); -} - -int PythonQtWrapper_QStyleHints::mouseDoubleClickDistance(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->mouseDoubleClickDistance()); -} - -int PythonQtWrapper_QStyleHints::mouseDoubleClickInterval(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->mouseDoubleClickInterval()); -} - -int PythonQtWrapper_QStyleHints::mousePressAndHoldInterval(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->mousePressAndHoldInterval()); -} - -int PythonQtWrapper_QStyleHints::mouseQuickSelectionThreshold(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->mouseQuickSelectionThreshold()); -} - -QChar PythonQtWrapper_QStyleHints::passwordMaskCharacter(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->passwordMaskCharacter()); -} - -int PythonQtWrapper_QStyleHints::passwordMaskDelay(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->passwordMaskDelay()); -} - -void PythonQtWrapper_QStyleHints::setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime) -{ - ( theWrappedObject->setCursorFlashTime(cursorFlashTime)); -} - -bool PythonQtWrapper_QStyleHints::setFocusOnTouchRelease(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->setFocusOnTouchRelease()); -} - -void PythonQtWrapper_QStyleHints::setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval) -{ - ( theWrappedObject->setKeyboardInputInterval(keyboardInputInterval)); -} - -void PythonQtWrapper_QStyleHints::setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval) -{ - ( theWrappedObject->setMouseDoubleClickInterval(mouseDoubleClickInterval)); -} - -void PythonQtWrapper_QStyleHints::setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval) -{ - ( theWrappedObject->setMousePressAndHoldInterval(mousePressAndHoldInterval)); -} - -void PythonQtWrapper_QStyleHints::setMouseQuickSelectionThreshold(QStyleHints* theWrappedObject, int threshold) -{ - ( theWrappedObject->setMouseQuickSelectionThreshold(threshold)); -} - -void PythonQtWrapper_QStyleHints::setShowShortcutsInContextMenus(QStyleHints* theWrappedObject, bool showShortcutsInContextMenus) -{ - ( theWrappedObject->setShowShortcutsInContextMenus(showShortcutsInContextMenus)); -} - -void PythonQtWrapper_QStyleHints::setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance) -{ - ( theWrappedObject->setStartDragDistance(startDragDistance)); -} - -void PythonQtWrapper_QStyleHints::setStartDragTime(QStyleHints* theWrappedObject, int startDragTime) -{ - ( theWrappedObject->setStartDragTime(startDragTime)); -} - -void PythonQtWrapper_QStyleHints::setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior) -{ - ( theWrappedObject->setTabFocusBehavior(tabFocusBehavior)); -} - -void PythonQtWrapper_QStyleHints::setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects) -{ - ( theWrappedObject->setUseHoverEffects(useHoverEffects)); -} - -void PythonQtWrapper_QStyleHints::setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines) -{ - ( theWrappedObject->setWheelScrollLines(scrollLines)); -} - -bool PythonQtWrapper_QStyleHints::showIsFullScreen(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->showIsFullScreen()); -} - -bool PythonQtWrapper_QStyleHints::showIsMaximized(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->showIsMaximized()); -} - -bool PythonQtWrapper_QStyleHints::showShortcutsInContextMenus(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->showShortcutsInContextMenus()); -} - -bool PythonQtWrapper_QStyleHints::singleClickActivation(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->singleClickActivation()); -} - -int PythonQtWrapper_QStyleHints::startDragDistance(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->startDragDistance()); -} - -int PythonQtWrapper_QStyleHints::startDragTime(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->startDragTime()); -} - -int PythonQtWrapper_QStyleHints::startDragVelocity(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->startDragVelocity()); -} - -Qt::TabFocusBehavior PythonQtWrapper_QStyleHints::tabFocusBehavior(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->tabFocusBehavior()); -} - -int PythonQtWrapper_QStyleHints::touchDoubleTapDistance(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->touchDoubleTapDistance()); -} - -bool PythonQtWrapper_QStyleHints::useHoverEffects(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->useHoverEffects()); -} - -bool PythonQtWrapper_QStyleHints::useRtlExtensions(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->useRtlExtensions()); -} - -int PythonQtWrapper_QStyleHints::wheelScrollLines(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->wheelScrollLines()); -} - - - -PythonQtShell_QStyleOption::~PythonQtShell_QStyleOption() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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)); -} - -QString PythonQtWrapper_QStyleOption::py_toString(QStyleOption* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QStyleOptionButton::~PythonQtShell_QStyleOptionButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() -{ -return new PythonQtShell_QStyleOptionButton(); } - -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) -{ -return new PythonQtShell_QStyleOptionButton(other); } - -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(int version) -{ -return new PythonQtShell_QStyleOptionButton(version); } - - - -PythonQtShell_QStyleOptionDockWidget::~PythonQtShell_QStyleOptionDockWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() -{ -return new PythonQtShell_QStyleOptionDockWidget(); } - -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) -{ -return new PythonQtShell_QStyleOptionDockWidget(other); } - -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(int version) -{ -return new PythonQtShell_QStyleOptionDockWidget(version); } - - - -PythonQtShell_QStyleOptionDockWidgetV2::~PythonQtShell_QStyleOptionDockWidgetV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() -{ -return new PythonQtShell_QStyleOptionDockWidgetV2(); } - - - -PythonQtShell_QStyleOptionFocusRect::~PythonQtShell_QStyleOptionFocusRect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() -{ -return new PythonQtShell_QStyleOptionFocusRect(); } - -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) -{ -return new PythonQtShell_QStyleOptionFocusRect(other); } - -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(int version) -{ -return new PythonQtShell_QStyleOptionFocusRect(version); } - - - -PythonQtShell_QStyleOptionFrame::~PythonQtShell_QStyleOptionFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() -{ -return new PythonQtShell_QStyleOptionFrame(); } - -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) -{ -return new PythonQtShell_QStyleOptionFrame(other); } - -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(int version) -{ -return new PythonQtShell_QStyleOptionFrame(version); } - - - -PythonQtShell_QStyleOptionFrameV2::~PythonQtShell_QStyleOptionFrameV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() -{ -return new PythonQtShell_QStyleOptionFrameV2(); } - - - -PythonQtShell_QStyleOptionFrameV3::~PythonQtShell_QStyleOptionFrameV3() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3() -{ -return new PythonQtShell_QStyleOptionFrameV3(); } - - - -PythonQtShell_QStyleOptionGraphicsItem::~PythonQtShell_QStyleOptionGraphicsItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() -{ -return new PythonQtShell_QStyleOptionGraphicsItem(); } - -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) -{ -return new PythonQtShell_QStyleOptionGraphicsItem(other); } - -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(int version) -{ -return new PythonQtShell_QStyleOptionGraphicsItem(version); } - -qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform) -{ - return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); -} - - - -PythonQtShell_QStyleOptionGroupBox::~PythonQtShell_QStyleOptionGroupBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() -{ -return new PythonQtShell_QStyleOptionGroupBox(); } - -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) -{ -return new PythonQtShell_QStyleOptionGroupBox(other); } - -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(int version) -{ -return new PythonQtShell_QStyleOptionGroupBox(version); } - - - -PythonQtShell_QStyleOptionHeader::~PythonQtShell_QStyleOptionHeader() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() -{ -return new PythonQtShell_QStyleOptionHeader(); } - -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) -{ -return new PythonQtShell_QStyleOptionHeader(other); } - -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(int version) -{ -return new PythonQtShell_QStyleOptionHeader(version); } - - - -PythonQtShell_QStyleOptionMenuItem::~PythonQtShell_QStyleOptionMenuItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() -{ -return new PythonQtShell_QStyleOptionMenuItem(); } - -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) -{ -return new PythonQtShell_QStyleOptionMenuItem(other); } - -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(int version) -{ -return new PythonQtShell_QStyleOptionMenuItem(version); } - - - -PythonQtShell_QStyleOptionProgressBarV2::~PythonQtShell_QStyleOptionProgressBarV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() -{ -return new PythonQtShell_QStyleOptionProgressBarV2(); } - - - -PythonQtShell_QStyleOptionRubberBand::~PythonQtShell_QStyleOptionRubberBand() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() -{ -return new PythonQtShell_QStyleOptionRubberBand(); } - -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) -{ -return new PythonQtShell_QStyleOptionRubberBand(other); } - -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(int version) -{ -return new PythonQtShell_QStyleOptionRubberBand(version); } - - - -PythonQtShell_QStyleOptionSizeGrip::~PythonQtShell_QStyleOptionSizeGrip() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() -{ -return new PythonQtShell_QStyleOptionSizeGrip(); } - -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) -{ -return new PythonQtShell_QStyleOptionSizeGrip(other); } - -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(int version) -{ -return new PythonQtShell_QStyleOptionSizeGrip(version); } - - - -PythonQtShell_QStyleOptionSlider::~PythonQtShell_QStyleOptionSlider() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() -{ -return new PythonQtShell_QStyleOptionSlider(); } - -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) -{ -return new PythonQtShell_QStyleOptionSlider(other); } - -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(int version) -{ -return new PythonQtShell_QStyleOptionSlider(version); } - - - -PythonQtShell_QStyleOptionSpinBox::~PythonQtShell_QStyleOptionSpinBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() -{ -return new PythonQtShell_QStyleOptionSpinBox(); } - -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) -{ -return new PythonQtShell_QStyleOptionSpinBox(other); } - -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(int version) -{ -return new PythonQtShell_QStyleOptionSpinBox(version); } - - - -PythonQtShell_QStyleOptionTabBarBase::~PythonQtShell_QStyleOptionTabBarBase() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase() -{ -return new PythonQtShell_QStyleOptionTabBarBase(); } - -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other) -{ -return new PythonQtShell_QStyleOptionTabBarBase(other); } - -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(int version) -{ -return new PythonQtShell_QStyleOptionTabBarBase(version); } - - - -PythonQtShell_QStyleOptionTabBarBaseV2::~PythonQtShell_QStyleOptionTabBarBaseV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2() -{ -return new PythonQtShell_QStyleOptionTabBarBaseV2(); } - - - -PythonQtShell_QStyleOptionTabV2::~PythonQtShell_QStyleOptionTabV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2() -{ -return new PythonQtShell_QStyleOptionTabV2(); } - - - -PythonQtShell_QStyleOptionTabV3::~PythonQtShell_QStyleOptionTabV3() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3() -{ -return new PythonQtShell_QStyleOptionTabV3(); } - - - -PythonQtShell_QStyleOptionTabWidgetFrame::~PythonQtShell_QStyleOptionTabWidgetFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame() -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(); } - -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other) -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(other); } - -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(int version) -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(version); } - - - -PythonQtShell_QStyleOptionTabWidgetFrameV2::~PythonQtShell_QStyleOptionTabWidgetFrameV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabWidgetFrameV2* PythonQtWrapper_QStyleOptionTabWidgetFrameV2::new_QStyleOptionTabWidgetFrameV2() -{ -return new PythonQtShell_QStyleOptionTabWidgetFrameV2(); } - - - -PythonQtShell_QStyleOptionTitleBar::~PythonQtShell_QStyleOptionTitleBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar() -{ -return new PythonQtShell_QStyleOptionTitleBar(); } - -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other) -{ -return new PythonQtShell_QStyleOptionTitleBar(other); } - -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(int version) -{ -return new PythonQtShell_QStyleOptionTitleBar(version); } - - - -PythonQtShell_QStyleOptionToolBar::~PythonQtShell_QStyleOptionToolBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar() -{ -return new PythonQtShell_QStyleOptionToolBar(); } - -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(const QStyleOptionToolBar& other) -{ -return new PythonQtShell_QStyleOptionToolBar(other); } - -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(int version) -{ -return new PythonQtShell_QStyleOptionToolBar(version); } - - - -PythonQtShell_QStyleOptionToolBox::~PythonQtShell_QStyleOptionToolBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox() -{ -return new PythonQtShell_QStyleOptionToolBox(); } - -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(const QStyleOptionToolBox& other) -{ -return new PythonQtShell_QStyleOptionToolBox(other); } - -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(int version) -{ -return new PythonQtShell_QStyleOptionToolBox(version); } - - - -PythonQtShell_QStyleOptionToolBoxV2::~PythonQtShell_QStyleOptionToolBoxV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2() -{ -return new PythonQtShell_QStyleOptionToolBoxV2(); } - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp deleted file mode 100644 index faf50984..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ /dev/null @@ -1,629 +0,0 @@ -#include "com_trolltech_qt_gui_builtin0.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap() -{ -return new QBitmap(); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QBitmap& other) -{ -return new QBitmap(other); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QPixmap& arg__1) -{ -return new QBitmap(arg__1); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QSize& arg__1) -{ -return new QBitmap(arg__1); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QString& fileName, const char* format) -{ -return new QBitmap(fileName, format); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(int w, int h) -{ -return new QBitmap(w, h); } - -QBitmap* PythonQtWrapper_QBitmap::operator_assign(QBitmap* theWrappedObject, const QBitmap& other) -{ - return &( (*theWrappedObject)= other); -} - - - -PythonQtShell_QImage::~PythonQtShell_QImage() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QImage::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QImage::devType(); -} -void PythonQtShell_QImage::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QImage::initPainter(painter0); -} -int PythonQtShell_QImage::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; - } else { - PyErr_Clear(); - } - } -} - return QImage::metric(metric0); -} -QPaintEngine* PythonQtShell_QImage::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (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; - } else { - PyErr_Clear(); - } - } -} - return 0; -} -QPaintDevice* PythonQtShell_QImage::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QImage::redirected(offset0); -} -QPainter* PythonQtShell_QImage::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QImage::sharedPainter(); -} -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); } - -void PythonQtWrapper_QImage::writeTo(QImage* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QImage::readFrom(QImage* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->pixel(pt)); -} - -QColor PythonQtWrapper_QImage::pixelColor(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->pixelColor(pt)); -} - -int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->pixelIndex(pt)); -} - -void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb) -{ - ( theWrappedObject->setPixel(pt, index_or_rgb)); -} - -void PythonQtWrapper_QImage::setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c) -{ - ( theWrappedObject->setPixelColor(pt, c)); -} - -bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->valid(pt)); -} - -QString PythonQtWrapper_QImage::py_toString(QImage* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -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); } - -QBrush PythonQtWrapper_QTextFormat::background(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -bool PythonQtWrapper_QTextFormat::boolProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->boolProperty(propertyId)); -} - -QBrush PythonQtWrapper_QTextFormat::brushProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->brushProperty(propertyId)); -} - -void PythonQtWrapper_QTextFormat::clearBackground(QTextFormat* theWrappedObject) -{ - ( theWrappedObject->clearBackground()); -} - -void PythonQtWrapper_QTextFormat::clearForeground(QTextFormat* theWrappedObject) -{ - ( theWrappedObject->clearForeground()); -} - -void PythonQtWrapper_QTextFormat::clearProperty(QTextFormat* theWrappedObject, int propertyId) -{ - ( theWrappedObject->clearProperty(propertyId)); -} - -QColor PythonQtWrapper_QTextFormat::colorProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->colorProperty(propertyId)); -} - -qreal PythonQtWrapper_QTextFormat::doubleProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->doubleProperty(propertyId)); -} - -QBrush PythonQtWrapper_QTextFormat::foreground(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->foreground()); -} - -bool PythonQtWrapper_QTextFormat::hasProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->hasProperty(propertyId)); -} - -int PythonQtWrapper_QTextFormat::intProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->intProperty(propertyId)); -} - -bool PythonQtWrapper_QTextFormat::isBlockFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isBlockFormat()); -} - -bool PythonQtWrapper_QTextFormat::isCharFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isCharFormat()); -} - -bool PythonQtWrapper_QTextFormat::isEmpty(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QTextFormat::isFrameFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isFrameFormat()); -} - -bool PythonQtWrapper_QTextFormat::isImageFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isImageFormat()); -} - -bool PythonQtWrapper_QTextFormat::isListFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isListFormat()); -} - -bool PythonQtWrapper_QTextFormat::isTableCellFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isTableCellFormat()); -} - -bool PythonQtWrapper_QTextFormat::isTableFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isTableFormat()); -} - -bool PythonQtWrapper_QTextFormat::isValid(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -Qt::LayoutDirection PythonQtWrapper_QTextFormat::layoutDirection(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -QTextLength PythonQtWrapper_QTextFormat::lengthProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->lengthProperty(propertyId)); -} - -QVector PythonQtWrapper_QTextFormat::lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->lengthVectorProperty(propertyId)); -} - -void PythonQtWrapper_QTextFormat::merge(QTextFormat* theWrappedObject, const QTextFormat& other) -{ - ( theWrappedObject->merge(other)); -} - -int PythonQtWrapper_QTextFormat::objectIndex(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->objectIndex()); -} - -int PythonQtWrapper_QTextFormat::objectType(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->objectType()); -} - -bool PythonQtWrapper_QTextFormat::__ne__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const -{ - return ( (*theWrappedObject)!= rhs); -} - -void PythonQtWrapper_QTextFormat::writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QTextFormat::__eq__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const -{ - return ( (*theWrappedObject)== rhs); -} - -void PythonQtWrapper_QTextFormat::readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QPen PythonQtWrapper_QTextFormat::penProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->penProperty(propertyId)); -} - -QMap PythonQtWrapper_QTextFormat::properties(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->properties()); -} - -QVariant PythonQtWrapper_QTextFormat::property(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->property(propertyId)); -} - -int PythonQtWrapper_QTextFormat::propertyCount(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->propertyCount()); -} - -void PythonQtWrapper_QTextFormat::setBackground(QTextFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackground(brush)); -} - -void PythonQtWrapper_QTextFormat::setForeground(QTextFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); -} - -void PythonQtWrapper_QTextFormat::setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -void PythonQtWrapper_QTextFormat::setObjectIndex(QTextFormat* theWrappedObject, int object) -{ - ( theWrappedObject->setObjectIndex(object)); -} - -void PythonQtWrapper_QTextFormat::setObjectType(QTextFormat* theWrappedObject, int type) -{ - ( theWrappedObject->setObjectType(type)); -} - -void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value) -{ - ( theWrappedObject->setProperty(propertyId, value)); -} - -void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths) -{ - ( theWrappedObject->setProperty(propertyId, lengths)); -} - -QString PythonQtWrapper_QTextFormat::stringProperty(QTextFormat* theWrappedObject, int propertyId) const -{ - return ( theWrappedObject->stringProperty(propertyId)); -} - -void PythonQtWrapper_QTextFormat::swap(QTextFormat* theWrappedObject, QTextFormat& other) -{ - ( theWrappedObject->swap(other)); -} - -QTextBlockFormat PythonQtWrapper_QTextFormat::toBlockFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toBlockFormat()); -} - -QTextCharFormat PythonQtWrapper_QTextFormat::toCharFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toCharFormat()); -} - -QTextFrameFormat PythonQtWrapper_QTextFormat::toFrameFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toFrameFormat()); -} - -QTextImageFormat PythonQtWrapper_QTextFormat::toImageFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toImageFormat()); -} - -QTextListFormat PythonQtWrapper_QTextFormat::toListFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toListFormat()); -} - -QTextTableCellFormat PythonQtWrapper_QTextFormat::toTableCellFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toTableCellFormat()); -} - -QTextTableFormat PythonQtWrapper_QTextFormat::toTableFormat(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->toTableFormat()); -} - -int PythonQtWrapper_QTextFormat::type(QTextFormat* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QTextFormat::py_toString(QTextFormat* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QTextLength* PythonQtWrapper_QTextLength::new_QTextLength() -{ -return new QTextLength(); } - -QTextLength* PythonQtWrapper_QTextLength::new_QTextLength(QTextLength::Type type, qreal value) -{ -return new QTextLength(type, value); } - -bool PythonQtWrapper_QTextLength::__ne__(QTextLength* theWrappedObject, const QTextLength& other) const -{ - return ( (*theWrappedObject)!= other); -} - -void PythonQtWrapper_QTextLength::writeTo(QTextLength* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QTextLength::__eq__(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()); -} - -QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const -{ - return ( theWrappedObject->value(maximumLength)); -} - -QString PythonQtWrapper_QTextLength::py_toString(QTextLength* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h deleted file mode 100644 index 73320d2d..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h +++ /dev/null @@ -1,214 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtWrapper_QBitmap : public QObject -{ Q_OBJECT -public: -public slots: -QBitmap* new_QBitmap(); -QBitmap* new_QBitmap(const QBitmap& other); -QBitmap* new_QBitmap(const QPixmap& arg__1); -QBitmap* new_QBitmap(const QSize& arg__1); -QBitmap* new_QBitmap(const QString& fileName, const char* format = nullptr); -QBitmap* new_QBitmap(int w, int h); -void delete_QBitmap(QBitmap* obj) { delete obj; } - QBitmap* operator_assign(QBitmap* theWrappedObject, const QBitmap& other); -}; - - - - - -class PythonQtShell_QImage : public QImage -{ -public: - 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 = nullptr):QImage(fileName, format),_wrapper(NULL) {}; - PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(NULL) {}; - - ~PythonQtShell_QImage(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QImage : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Format InvertMode ) -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, Format_RGBX8888 = QImage::Format_RGBX8888, Format_RGBA8888 = QImage::Format_RGBA8888, Format_RGBA8888_Premultiplied = QImage::Format_RGBA8888_Premultiplied, Format_BGR30 = QImage::Format_BGR30, Format_A2BGR30_Premultiplied = QImage::Format_A2BGR30_Premultiplied, Format_RGB30 = QImage::Format_RGB30, Format_A2RGB30_Premultiplied = QImage::Format_A2RGB30_Premultiplied, Format_Alpha8 = QImage::Format_Alpha8, Format_Grayscale8 = QImage::Format_Grayscale8, Format_RGBX64 = QImage::Format_RGBX64, Format_RGBA64 = QImage::Format_RGBA64, Format_RGBA64_Premultiplied = QImage::Format_RGBA64_Premultiplied, Format_Grayscale16 = QImage::Format_Grayscale16, Format_BGR888 = QImage::Format_BGR888, NImageFormats = QImage::NImageFormats}; -enum InvertMode{ - InvertRgb = QImage::InvertRgb, InvertRgba = QImage::InvertRgba}; -public slots: -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 = nullptr); -QImage* new_QImage(int width, int height, QImage::Format format); -void delete_QImage(QImage* obj) { delete obj; } - void writeTo(QImage* theWrappedObject, QDataStream& arg__1); - void readFrom(QImage* theWrappedObject, QDataStream& arg__1); - unsigned int pixel(QImage* theWrappedObject, const QPoint& pt) const; - QColor pixelColor(QImage* theWrappedObject, const QPoint& pt) const; - int pixelIndex(QImage* theWrappedObject, const QPoint& pt) const; - void setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb); - void setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c); - bool valid(QImage* theWrappedObject, const QPoint& pt) const; - QString py_toString(QImage*); - -QImage* new_QImage( const uchar * data, int width, int height, QImage::Format format ) -{ - QImage* image = new QImage(width, height, format); - memcpy(image->bits(), data, image->byteCount()); - return image; -} - -PyObject* bits(QImage* image) { - return PythonQtPrivate::wrapMemoryAsBuffer(image->bits(), image->bytesPerLine()* image->height()); -} - -#if QT_VERSION >= QT_VERSION_CHECK(4,7,0) -PyObject* constBits(QImage* image) { - return PythonQtPrivate::wrapMemoryAsBuffer(image->constBits(), image->byteCount()); -} -#endif - -PyObject* scanLine(QImage* image, int line) { - return PythonQtPrivate::wrapMemoryAsBuffer(image->scanLine(line), image->bytesPerLine()); -} - -#if QT_VERSION >= QT_VERSION_CHECK(4,7,0) -PyObject* constScanLine(QImage* image, int line) { - return PythonQtPrivate::wrapMemoryAsBuffer(image->constScanLine(line), image->bytesPerLine()); -} -#endif - - -}; - - - - - -class PythonQtWrapper_QTextFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FormatType ObjectTypes PageBreakFlag Property ) -Q_FLAGS(PageBreakFlags ) -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}; -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, LineHeight = QTextFormat::LineHeight, LineHeightType = QTextFormat::LineHeightType, BlockNonBreakableLines = QTextFormat::BlockNonBreakableLines, BlockTrailingHorizontalRulerWidth = QTextFormat::BlockTrailingHorizontalRulerWidth, HeadingLevel = QTextFormat::HeadingLevel, BlockQuoteLevel = QTextFormat::BlockQuoteLevel, BlockCodeLanguage = QTextFormat::BlockCodeLanguage, BlockCodeFence = QTextFormat::BlockCodeFence, BlockMarker = QTextFormat::BlockMarker, FirstFontProperty = QTextFormat::FirstFontProperty, FontCapitalization = QTextFormat::FontCapitalization, FontLetterSpacingType = QTextFormat::FontLetterSpacingType, FontLetterSpacing = QTextFormat::FontLetterSpacing, FontWordSpacing = QTextFormat::FontWordSpacing, FontStretch = QTextFormat::FontStretch, FontStyleHint = QTextFormat::FontStyleHint, FontStyleStrategy = QTextFormat::FontStyleStrategy, FontKerning = QTextFormat::FontKerning, FontHintingPreference = QTextFormat::FontHintingPreference, FontFamilies = QTextFormat::FontFamilies, FontStyleName = QTextFormat::FontStyleName, 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, ListNumberPrefix = QTextFormat::ListNumberPrefix, ListNumberSuffix = QTextFormat::ListNumberSuffix, 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, TableBorderCollapse = QTextFormat::TableBorderCollapse, TableCellRowSpan = QTextFormat::TableCellRowSpan, TableCellColumnSpan = QTextFormat::TableCellColumnSpan, TableCellTopPadding = QTextFormat::TableCellTopPadding, TableCellBottomPadding = QTextFormat::TableCellBottomPadding, TableCellLeftPadding = QTextFormat::TableCellLeftPadding, TableCellRightPadding = QTextFormat::TableCellRightPadding, TableCellTopBorder = QTextFormat::TableCellTopBorder, TableCellBottomBorder = QTextFormat::TableCellBottomBorder, TableCellLeftBorder = QTextFormat::TableCellLeftBorder, TableCellRightBorder = QTextFormat::TableCellRightBorder, TableCellTopBorderStyle = QTextFormat::TableCellTopBorderStyle, TableCellBottomBorderStyle = QTextFormat::TableCellBottomBorderStyle, TableCellLeftBorderStyle = QTextFormat::TableCellLeftBorderStyle, TableCellRightBorderStyle = QTextFormat::TableCellRightBorderStyle, TableCellTopBorderBrush = QTextFormat::TableCellTopBorderBrush, TableCellBottomBorderBrush = QTextFormat::TableCellBottomBorderBrush, TableCellLeftBorderBrush = QTextFormat::TableCellLeftBorderBrush, TableCellRightBorderBrush = QTextFormat::TableCellRightBorderBrush, ImageName = QTextFormat::ImageName, ImageTitle = QTextFormat::ImageTitle, ImageAltText = QTextFormat::ImageAltText, ImageWidth = QTextFormat::ImageWidth, ImageHeight = QTextFormat::ImageHeight, ImageQuality = QTextFormat::ImageQuality, FullWidthSelection = QTextFormat::FullWidthSelection, PageBreakPolicy = QTextFormat::PageBreakPolicy, UserProperty = QTextFormat::UserProperty}; -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; } - QBrush background(QTextFormat* theWrappedObject) const; - bool boolProperty(QTextFormat* theWrappedObject, int propertyId) const; - QBrush brushProperty(QTextFormat* theWrappedObject, int propertyId) const; - void clearBackground(QTextFormat* theWrappedObject); - void clearForeground(QTextFormat* theWrappedObject); - void clearProperty(QTextFormat* theWrappedObject, int propertyId); - QColor colorProperty(QTextFormat* theWrappedObject, int propertyId) const; - qreal doubleProperty(QTextFormat* theWrappedObject, int propertyId) const; - QBrush foreground(QTextFormat* theWrappedObject) const; - bool hasProperty(QTextFormat* theWrappedObject, int propertyId) const; - int intProperty(QTextFormat* theWrappedObject, int propertyId) const; - bool isBlockFormat(QTextFormat* theWrappedObject) const; - bool isCharFormat(QTextFormat* theWrappedObject) const; - bool isEmpty(QTextFormat* theWrappedObject) const; - bool isFrameFormat(QTextFormat* theWrappedObject) const; - bool isImageFormat(QTextFormat* theWrappedObject) const; - bool isListFormat(QTextFormat* theWrappedObject) const; - bool isTableCellFormat(QTextFormat* theWrappedObject) const; - bool isTableFormat(QTextFormat* theWrappedObject) const; - bool isValid(QTextFormat* theWrappedObject) const; - Qt::LayoutDirection layoutDirection(QTextFormat* theWrappedObject) const; - QTextLength lengthProperty(QTextFormat* theWrappedObject, int propertyId) const; - QVector lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const; - void merge(QTextFormat* theWrappedObject, const QTextFormat& other); - int objectIndex(QTextFormat* theWrappedObject) const; - int objectType(QTextFormat* theWrappedObject) const; - bool __ne__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const; - void writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1); - bool __eq__(QTextFormat* theWrappedObject, const QTextFormat& rhs) const; - void readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1); - QPen penProperty(QTextFormat* theWrappedObject, int propertyId) const; - QMap properties(QTextFormat* theWrappedObject) const; - QVariant property(QTextFormat* theWrappedObject, int propertyId) const; - int propertyCount(QTextFormat* theWrappedObject) const; - void setBackground(QTextFormat* theWrappedObject, const QBrush& brush); - void setForeground(QTextFormat* theWrappedObject, const QBrush& brush); - void setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction); - void setObjectIndex(QTextFormat* theWrappedObject, int object); - void setObjectType(QTextFormat* theWrappedObject, int type); - void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value); - void setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector& lengths); - QString stringProperty(QTextFormat* theWrappedObject, int propertyId) const; - void swap(QTextFormat* theWrappedObject, QTextFormat& other); - QTextBlockFormat toBlockFormat(QTextFormat* theWrappedObject) const; - QTextCharFormat toCharFormat(QTextFormat* theWrappedObject) const; - QTextFrameFormat toFrameFormat(QTextFormat* theWrappedObject) const; - QTextImageFormat toImageFormat(QTextFormat* theWrappedObject) const; - QTextListFormat toListFormat(QTextFormat* theWrappedObject) const; - QTextTableCellFormat toTableCellFormat(QTextFormat* theWrappedObject) const; - QTextTableFormat toTableFormat(QTextFormat* theWrappedObject) const; - int type(QTextFormat* theWrappedObject) const; - QString py_toString(QTextFormat*); - bool __nonzero__(QTextFormat* obj) { return !obj->isEmpty(); } -}; - - - - - -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; } - bool __ne__(QTextLength* theWrappedObject, const QTextLength& other) const; - void writeTo(QTextLength* theWrappedObject, QDataStream& arg__1); - bool __eq__(QTextLength* theWrappedObject, const QTextLength& other) const; - void readFrom(QTextLength* theWrappedObject, QDataStream& arg__1); - qreal rawValue(QTextLength* theWrappedObject) const; - QTextLength::Type type(QTextLength* theWrappedObject) const; - qreal value(QTextLength* theWrappedObject, qreal maximumLength) const; - QString py_toString(QTextLength*); -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp deleted file mode 100644 index cf95ba0b..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include "com_trolltech_qt_gui_builtin0.h" - - -void PythonQt_init_QtGuiBuiltin(PyObject* module) { -PythonQt::priv()->registerCPPClass("QBitmap", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QImage", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::self()->addParentClass("QImage", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QTextFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextLength", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); - - -} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp deleted file mode 100644 index d2983cdb..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include -#include -#include -#include "com_trolltech_qt_network0.h" - - - -void PythonQt_init_QtNetwork(PyObject* module) { -PythonQt::priv()->registerClass(&QAbstractNetworkCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QAbstractSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QDnsLookup::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QHstsPolicy", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QHttpMultiPart::staticMetaObject, "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QIPv6Address", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QLocalServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QLocalSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkConfigurationManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkDiskCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkSession::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -#ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -#endif -#ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslError", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -#endif -#ifndef QT_NO_SSL -PythonQt::priv()->registerClass(&QSslSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -#endif -PythonQt::priv()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); - - -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsDomainNameRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsHostAddressRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsMailExchangeRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsServiceRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsTextRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkConfiguration); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkCookie); -#ifndef QT_NO_SSL -PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCertificate); -#endif -#ifndef QT_NO_SSL -PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCipher); -#endif -#ifndef QT_NO_SSL -PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslError); -#endif -PythonQtRegisterListTemplateConverterForKnownClass(QVector, QHstsPolicy); -} From c317896a0723c2ecb35032bc5bf9166e54ee98a0 Mon Sep 17 00:00:00 2001 From: Iakov 'Jake' Kirilenko Date: Sat, 18 Nov 2023 18:57:29 +0300 Subject: [PATCH 3/6] Add Qt 5.15 to Windows CI --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adc0926c..c6edf8dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -244,7 +244,12 @@ jobs: - qt-arch: 'win32_mingw73' python-version: '3.11' python-arch: 'x86' - qt-version: '5.12.*' + qt-version: '5.12' + + - qt-arch: 'win32_mingw81' + python-version: '3.12' + python-arch: 'x86' + qt-version: '5.15' #Either MSVC2015 is sick or Qt5.9 is buggy :( #Main problem is QBasicMutex with default ctor, that (by no means) is missing in dll-export of QtCore, but linker tries to find it @@ -272,7 +277,6 @@ jobs: - name: Install Qt uses: jurplel/install-qt-action@v3 with: - aqtversion: '==2.1.*' version: ${{ matrix.qt-version }} host: 'windows' target: 'desktop' From 66c1ebea25bf2def4c037463941c65577a2bcfd8 Mon Sep 17 00:00:00 2001 From: Iakov 'Jake' Kirilenko Date: Sun, 19 Nov 2023 23:01:24 +0300 Subject: [PATCH 4/6] Use clean_path instead of shell_path in INCLUDEPATH Helps with MinGW shell where returns smth like that is not understood by from Qt SDK --- build/python.prf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/python.prf b/build/python.prf index fb83c3d7..44002ea0 100644 --- a/build/python.prf +++ b/build/python.prf @@ -76,9 +76,9 @@ contains(PKGCONFIG, "python.*"){ $$system_quote(import sysconfig;exit(0 if 0 <= sysconfig.get_platform().find(\'win-amd64\') else 1))\ ):DEFINES += MS_WIN64 - INCLUDEPATH += $$shell_path($${PYTHON_PATH}/include) + INCLUDEPATH += $$clean_path($${PYTHON_PATH}/include) - LIBS += $$shell_path(-L$${PYTHON_PATH}/libs) + LIBS += $$clean_path(-L$${PYTHON_PATH}/libs) LIBS += -lpython$${PYTHON_VERSION_MAJOR}$${PYTHON_VERSION_MINOR}$${DEBUG_EXT} # Hack for "CONFIG+=testcase" and 'make check' to add python's dll to PATH From e53690b9e1463fd23d36dc9ff6793ddbce311dcd Mon Sep 17 00:00:00 2001 From: iakov Date: Thu, 8 Feb 2024 10:41:55 +0300 Subject: [PATCH 5/6] Merge PythonQt from MeVisLab upstream 20240207 Merge MevisLab/pythonqt master --- .github/dependabot.yml | 6 + .github/workflows/build.yml | 121 +++-- .github/workflows/build_latest.yml | 124 ++++++ .github/workflows/builddocs.yml | 32 ++ .gitignore | 9 +- .vimrc | 1 + README | 31 -- README.md | 8 +- build/common.prf | 10 +- build_python | 17 - extensions/PythonQt_QtAll/PythonQt_QtAll.pro | 59 ++- generator/abstractmetabuilder.cpp | 443 ++++++++----------- generator/abstractmetabuilder.h | 12 +- generator/abstractmetalang.cpp | 9 +- generator/abstractmetalang.h | 8 +- generator/generator.pri | 2 +- generator/main.cpp | 203 ++++++++- generator/main.h | 147 ------ generator/parser/ast.h | 10 +- generator/parser/binder.cpp | 66 ++- generator/parser/binder.h | 1 + generator/parser/codemodel.cpp | 22 +- generator/parser/codemodel.h | 17 +- generator/parser/compiler_utils.cpp | 1 - generator/parser/declarator_compiler.cpp | 3 + generator/parser/declarator_compiler.h | 7 +- generator/parser/lexer.cpp | 12 + generator/parser/name_compiler.cpp | 6 - generator/parser/parser.cpp | 427 ++++++++++++------ generator/parser/parser.h | 5 +- generator/parser/rpp/pp-engine-bits.h | 20 +- generator/parser/rpp/pp-engine.h | 3 + generator/parser/rpp/pp-macro-expander.h | 12 +- generator/parser/rpp/pp-qt-configuration | 7 + generator/parser/tokens.cpp | 1 + generator/parser/tokens.h | 1 + generator/parser/type_compiler.cpp | 5 - generator/parser/type_compiler.h | 1 - generator/qtscript_masterinclude.h | 16 + generator/setupgenerator.cpp | 51 +-- generator/shellgenerator.cpp | 37 +- generator/shellgenerator.h | 14 +- generator/shellheadergenerator.cpp | 34 +- generator/shellimplgenerator.cpp | 23 +- generator/typesystem.cpp | 149 +++++-- generator/typesystem.h | 30 +- generator/typesystem_core.xml | 306 ++++++++++++- generator/typesystem_gui.xml | 119 +++-- generator/typesystem_multimedia.xml | 53 ++- generator/typesystem_network.xml | 37 +- generator/typesystem_opengl.xml | 5 +- generator/typesystem_qml.xml | 30 +- generator/typesystem_quick.xml | 13 +- generator/typesystem_sql.xml | 2 +- generator/typesystem_svg.xml | 5 +- generator/typesystem_uitools.xml | 2 +- generator/typesystem_webenginewidgets.xml | 38 +- generator/typesystem_webkit.xml | 2 +- generator/typesystem_xml.xml | 6 +- generator/typesystem_xmlpatterns.xml | 5 +- tests/PythonQtTests.cpp | 18 +- with_pyenv | 45 -- 62 files changed, 1945 insertions(+), 964 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/build_latest.yml create mode 100644 .github/workflows/builddocs.yml create mode 100644 .vimrc delete mode 100644 README delete mode 100644 build_python delete mode 100644 generator/main.h delete mode 100755 with_pyenv diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..7a968a8d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: monthly diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6edf8dc..10fd01c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,12 +15,13 @@ jobs: ubuntu: strategy: fail-fast: false - matrix: - container: - - 'ubuntu:20.04' -# - 'ubuntu:22.04' + matrix: + pythonqtall-config: ['PythonQtCore PythonQtGui PythonQtMultimedia'] + container_version: + - '20.04' + - '22.04' runs-on: ubuntu-latest - container: ${{ matrix.container }} + container: ubuntu:${{ matrix.container_version }} steps: - name: Install Qt run: | @@ -46,7 +47,7 @@ jobs: apt-get clean - name: Checkout PythonQt - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build PythonQt run: | @@ -54,11 +55,15 @@ jobs: echo ======= SYSTEM INFO ======== uname -a; gcc --version | grep "gcc"; python3 --version; qmake --version echo ============================ - qmake -r PythonQt.pro CONFIG+=release CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=generator CONFIG+=tests \ + qmake -r PythonQt.pro CONFIG+=release CONFIG+=force_debug_info \ + PYTHONQTALL_CONFIG="${{ matrix.pythonqtall-config }}" \ + CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + CONFIG+=generator CONFIG+=tests \ PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \ PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname) - make -j 2 - UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ + make -j $(nproc) + PYTHONDEVMODE=1 PYTHONASYNCIODEBUG=1 PYTHONWARNINGS=error PYTHONMALLOC=malloc_debug \ + UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ make check TESTARGS="-platform offscreen" - name: Generate Wrappers @@ -67,31 +72,33 @@ jobs: mkdir /usr/include/qt5; ln -s /usr/include/x86_64-linux-gnu/qt5 /usr/include/qt5/include export QTDIR=/usr/include/qt5 cd generator + UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ ./pythonqt_generator - name: Upload Wrappers - uses: actions/upload-artifact@v3 - if: ${{ matrix.container }} == 'ubuntu:20.04' + uses: actions/upload-artifact@v4 with: - name: wrappers_ubuntu_20_04 + name: wrappers_ubuntu_${{ matrix.container_version }} path: generated_cpp - - name: Upload Wrappers - uses: actions/upload-artifact@v3 - if: ${{ matrix.container }} == 'ubuntu:22.04' - with: - name: wrappers_ubuntu_22_04 - path: generated_cpp - - centos: + oldschool: strategy: fail-fast: false matrix: - container: - - 'centos:7' - configuration: ['debug', 'release'] + container_os: ['centos'] + container_os_version: ['7'] + container_os_python_package: ['python-debug'] + configuration: ['debug', 'release'] + pythonqtall-config: ['PythonQtCore PythonQtGui PythonQtMultimedia'] + include: + - container_os: 'rockylinux' + container_os_version: '9' + container_os_python_package: 'python3-devel' + configuration: 'release' + pythonqtall-config: 'PythonQtCore PythonQtGui PythonQtMultimedia' + runs-on: ubuntu-latest - container: ${{ matrix.container }} + container: '${{ matrix.container_os }}:${{ matrix.container_os_version }}' steps: - name: Install Qt run: | @@ -99,7 +106,7 @@ jobs: yum groupinstall "Development Tools" -y yum install -y \ which \ - python-debug \ + ${{ matrix.container_os_python_package }} \ qt5-qtbase-* \ qt5-qttools* \ qt5-qtsvg \ @@ -115,12 +122,21 @@ jobs: run: | export QT_SELECT=qt5 echo ======= SYSTEM INFO ======== - uname -a; gcc --version | grep "gcc"; python --version; qmake-qt5 --version + which python 2>/dev/null && export PYTHON_VERSION_SUFFIX= || export PYTHON_VERSION_SUFFIX=3 + uname -a; gcc --version | grep "gcc"; python${PYTHON_VERSION_SUFFIX} --version; qmake-qt5 --version echo ============================ - qmake-qt5 -r PythonQt.pro CONFIG+=${{ matrix.configuration }} CONFIG+=generator CONFIG+=tests \ - PYTHON_VERSION=$(python --version | cut -d " " -f 2 | cut -d "." -f1,2) \ - PYTHON_DIR=$(which python | xargs dirname | xargs dirname) - make -j 2 && make check TESTARGS="-platform offscreen" + export PYTHON_VERSION_SHORT=`python${PYTHON_VERSION_SUFFIX} --version | cut -d " " -f 2 | cut -d "." -f1,2` + if [[ `echo ${PYTHON_VERSION_SHORT} | wc -w` = 0 ]]; then export PYTHON_VERSION_SHORT=2.7; fi + export PYTHON_DIR=`which python${PYTHON_VERSION_SUFFIX} | xargs dirname | xargs dirname` + echo PYTHON_VERSION_SHORT=${PYTHON_VERSION_SHORT} + echo PYTHON_DIR=${PYTHON_DIR} + qmake-qt5 -r PythonQt.pro CONFIG+=${{ matrix.configuration }} \ + PYTHONQTALL_CONFIG="${{ matrix.pythonqtall-config }}" \ + CONFIG+=generator CONFIG+=tests \ + "PYTHON_VERSION=${PYTHON_VERSION_SHORT}" "PYTHON_DIR=${PYTHON_DIR}" + make -j $(nproc) && \ + PYTHONDEVMODE=1 PYTHONASYNCIODEBUG=1 PYTHONWARNINGS=error PYTHONMALLOC=malloc_debug \ + make check TESTARGS="-platform offscreen" - name: Generate Wrappers run: | @@ -133,7 +149,7 @@ jobs: - name: Upload Wrappers uses: actions/upload-artifact@v3 with: - name: wrappers_centos7 + name: wrappers_${{ matrix.container_os }}-${{ matrix.container_os_version }}_${{ matrix.configuration }} path: generated_cpp macOS: @@ -141,9 +157,9 @@ jobs: fail-fast: false matrix: macos-version: ['11'] - python-version: ['3.9'] - qt-version: ['5.12.*'] - configuration: ['release'] + python-version: ['3.6'] + qt-version: ['5.9.*'] + configuration: ['release','debug'] include: - macos-version: '12' python-version: '3.9' @@ -167,12 +183,12 @@ jobs: archives: 'qtmultimedia qtmacextras qtbase qttools' - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '${{ matrix.python-version }}' - name: Checkout PythonQt - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Detect exact versions id : versions @@ -202,13 +218,16 @@ jobs: for i in "python${{ steps.versions.outputs.PYTHON_VERSION_SHORT }}-embed" "python${{ steps.versions.outputs.PYTHON_VERSION_SHORT }}" \ "python${PYTHON_VERSION_MAJOR}-embed" "python${PYTHON_VERSION_MAJOR}" do if pkg-config --exists "$i"; then PYTHON_PKGCONFIG_NAME="$i"; break; fi; done - qmake CONFIG+=${{ matrix.configuration }} CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=generator CONFIG+=tests \ + qmake CONFIG+=${{ matrix.configuration }} CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + PYTHONQTALL_CONFIG="${{ matrix.pythonqtall-config }}" \ + CONFIG+=sanitize_undefined CONFIG+=generator CONFIG+=tests \ PYTHON_VERSION=${{ steps.versions.outputs.PYTHON_VERSION_SHORT }} \ PYTHON_DIR="$pythonLocation" \ PKGCONFIG+=$PYTHON_PKGCONFIG_NAME \ -r PythonQt.pro - make -j 2 - UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ + make -j $(nproc) + PYTHONDEVMODE=1 PYTHONASYNCIODEBUG=1 PYTHONWARNINGS=error PYTHONMALLOC=malloc_debug \ + UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ make check TESTARGS="-platform offscreen" - name: Generate Wrappers @@ -216,10 +235,11 @@ jobs: run: | cd generator # workaround to allow to find the Qt include dirs for installed standard qt packages - QTDIR=-UNDEFINED- ./pythonqt_generator --include-paths=$Qt5_Dir/lib + UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ + QTDIR=-UNDEFINED- ./pythonqt_generator --qt-version=${{ steps.versions.outputs.QT_VERSION_FULL }} --include-paths=$Qt5_Dir/lib - name: Upload Wrappers - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wrappers_macos${{ steps.versions.outputs.MACOS_VERSION_SHORT }}_qt${{ steps.versions.outputs.QT_VERSION_SHORT }} path: generated_cpp @@ -229,10 +249,10 @@ jobs: fail-fast: false matrix: qt-arch: ['win64_mingw73'] - python-version: ['3.11'] + python-version: ['3.10'] qt-version: ['5.12.*'] python-arch: ['x64'] - pythonqtall-config: [''] + pythonqtall-config: ['PythonQtCore PythonQtGui PythonQtMultimedia'] # msvc-toolset: ['14.0'] include: # - qt-arch: 'win64_msvc2017_64' @@ -263,20 +283,21 @@ jobs: steps: - name: Checkout PythonQt - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Reset PATH - uses: egor-tensin/cleanup-path@v3 + uses: egor-tensin/cleanup-path@v4 - name: Install MSVC++ uses: ilammy/msvc-dev-cmd@v1 if: ${{ contains(matrix.qt-arch, 'msvc') }} with: - arch: ${{ matrix.python-arch }} + arch: amd64${{ contains(matrix.python-arch, 'x86') && '_x86' || '' }} - name: Install Qt uses: jurplel/install-qt-action@v3 with: + aqtversion: '==2.1.*' version: ${{ matrix.qt-version }} host: 'windows' target: 'desktop' @@ -317,11 +338,15 @@ jobs: run: | qmake -query python --version - qmake CONFIG+=release CONFIG-=debug_and_release CONFIG-=debug_and_release_target CONFIG+=generator CONFIG+=tests ^ + qmake CONFIG+=release CONFIG-=debug_and_release CONFIG-=debug_and_release_target ^ + CONFIG+=generator CONFIG+=tests ^ "PYTHONQTALL_CONFIG=${{ matrix.pythonqtall-config }}" ^ "PYTHON_PATH=%pythonLocation%" ^ "PYTHON_VERSION=${{ steps.versions.outputs.PYTHON_VERSION_SHORT }}" ^ PythonQt.pro + set PYTHONDEVMODE=1 + set PYTHONASYNCIODEBUG=1 + set PYTHONWARNINGS=error mingw32-make -j 2 && mingw32-make check "TESTARGS=-platform offscreen" ^ || nmake && nmake check "TESTARGS=-platform offscreen" @@ -333,7 +358,7 @@ jobs: pythonqt_generator - name: Upload Wrappers - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wrappers_${{ matrix.qt-arch }}_${{ steps.versions.outputs.QT_VERSION_SHORT }} path: generated_cpp diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml new file mode 100644 index 00000000..9856b834 --- /dev/null +++ b/.github/workflows/build_latest.yml @@ -0,0 +1,124 @@ +name: Check generated_cpp + +on: + push: + branches: + - master + pull_request: + +defaults: + run: + shell: bash + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: ['ubuntu', 'windows'] + qt-version: [ '5.12.*', '5.15.*', '6.5.*' ] + python-version: [ '3.12' ] + runs-on: ${{ matrix.os }}-latest + steps: + + - name: Install MSVC + if: ${{ matrix.os == 'windows' }} + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: amd64 + + - name: Install Qt ${{matrix.qt-version}} + uses: jurplel/install-qt-action@v3 + with: + version: ${{ matrix.qt-version }} + modules: ${{startsWith(matrix.qt-version, '6') && 'qt5compat qtscxml qtpositioning qtwebchannel qtmultimedia qtwebengine' || '' }} + arch: ${{ matrix.os == 'ubuntu' && 'gcc_64' || (startsWith(matrix.qt-version, '5.12') && 'win64_msvc2017_64' || 'win64_msvc2019_64') }} + archives: "qtmultimedia qtbase qttools qtdeclarative ${{ matrix.os == 'windows' && 'qtwinextras' || 'qtlinuxextras qtwayland icu' }}" + + - name: Setup Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: '${{ matrix.python-version }}' + + - name: Checkout PythonQt + uses: actions/checkout@v4 + + - name: Set environment + id: setenv + run: | + QT_VERSION_MAJOR=$(cut -f 1 -d . <<< "${{matrix.qt-version}}") + echo "QT_VERSION_MAJOR=$QT_VERSION_MAJOR" >> $GITHUB_ENV + QT_VERSION_SHORT=$(cut -f 1,2 -d . <<< "${{matrix.qt-version}}") + echo "QT_VERSION_SHORT=$QT_VERSION_SHORT" >> $GITHUB_OUTPUT + QTDIR=$(eval echo "\$Qt${QT_VERSION_MAJOR}_DIR") + PYTHON_VERSION_FULL=$(python --version 2>&1 | cut -f 2 -d ' ') + PYTHON_VERSION_SHORT=$(cut -f 1,2 -d . <<< $PYTHON_VERSION_FULL) + echo "PYTHON_VERSION_SHORT=$PYTHON_VERSION_SHORT" >> $GITHUB_OUTPUT + echo "QTDIR=$QTDIR" >> $GITHUB_ENV + echo "$QTDIR/bin" >> $GITHUB_PATH + echo "$pythonLocation/bin" >> $GITHUB_PATH + + - name: Build generator Ubuntu + shell: bash + if: ${{ matrix.os == 'ubuntu' }} + run: | + cd generator + qmake -r generator.pro CONFIG+=release CONFIG-=debug_and_release CONFIG+=force_debug_info \ + CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address + make -j $(nproc) + + - name: Build generator Windows + shell: cmd + if: ${{ matrix.os == 'windows' }} + run: | + cd generator + qmake CONFIG+=release CONFIG-=debug_and_release CONFIG-=debug_and_release_target generator.pro + nmake + + - name: Generate Wrappers + shell: bash + run: | + cd generator + if [[ ${{ matrix.os }} == 'windows' && ${{ matrix.qt-version }} =~ '5.1' ]]; then export QTDIR=$Qt5_Dir; fi + UBSAN_OPTIONS="halt_on_error=1" \ + ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ + ./pythonqt_generator + + - name: Upload Wrappers + uses: actions/upload-artifact@v4 + with: + name: wrappers_${{ matrix.os }}_${{ steps.setenv.outputs.QT_VERSION_SHORT }} + path: generated_cpp + + - name: Build PythonQt Ubuntu + if: ${{ matrix.os == 'ubuntu' }} + run: | + echo ======= SYSTEM INFO ======== + uname -a; gcc --version | grep "gcc"; python3 --version; qmake --version + echo ============================ + qmake -r PythonQt.pro CONFIG+=release CONFIG+=force_debug_info \ + PYTHONQTALL_CONFIG="${{ matrix.pythonqtall-config }}" \ + CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address \ + PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \ + PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname) + make -j $(nproc) + PYTHONDEVMODE=1 PYTHONASYNCIODEBUG=1 PYTHONWARNINGS=error PYTHONMALLOC=malloc_debug \ + UBSAN_OPTIONS="halt_on_error=1" ASAN_OPTIONS="detect_leaks=0:detect_stack_use_after_return=1:fast_unwind_on_malloc=0" \ + make check TESTARGS="-platform offscreen" + + - name: Build PythonQt Windows + shell: cmd + if: ${{ matrix.os == 'windows' }} + run: | + qmake -query + python --version + qmake CONFIG+=release CONFIG-=debug_and_release CONFIG-=debug_and_release_target ^ + "PYTHONQTALL_CONFIG=${{ matrix.pythonqtall-config }}" ^ + "PYTHON_PATH=%pythonLocation%" ^ + "PYTHON_VERSION=${{ steps.setenv.outputs.PYTHON_VERSION_SHORT }}" ^ + PythonQt.pro + set PYTHONDEVMODE=1 + set PYTHONASYNCIODEBUG=1 + set PYTHONWARNINGS=error + nmake && nmake check "TESTARGS=-platform offscreen" + diff --git a/.github/workflows/builddocs.yml b/.github/workflows/builddocs.yml new file mode 100644 index 00000000..2921d135 --- /dev/null +++ b/.github/workflows/builddocs.yml @@ -0,0 +1,32 @@ +name: Build and Deploy Documentation + +on: + push: + branches: + - master + +defaults: + run: + shell: bash + +jobs: + build_docs: + runs-on: ubuntu-latest + steps: + - name: Checkout master + uses: actions/checkout@v4 + + - name: Install Doxygen + run: sudo apt-get install doxygen graphviz -y + + - name: Build documentation + run: | + cd doxygen + doxygen + touch html/.nojekyll + cd .. + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: doxygen/html diff --git a/.gitignore b/.gitignore index 6f89bbdd..86ea24a9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,13 +2,13 @@ src/object_script.* src/pkg-config_wrapper.sh src/.build/* *~ - - # Compiled Object files *.slo *.lo *.o *.obj +*.pdb +*.cbt # By mistake (in pkgConfigExecutable function in features/qt_functions.prf) # qmake generates NUL file on Linux in ./build subdir @@ -52,6 +52,8 @@ ui_*.h *.jsc Makefile* *build-* +*resource.rc +*.FileListAbsolute.txt # CMake CMakeLists.txt.user @@ -91,6 +93,9 @@ Thumbs.db # Visual Studio Code .vscode/* +*.tlog + + # JetBrains tools .idea/* diff --git a/.vimrc b/.vimrc new file mode 100644 index 00000000..d5a9f893 --- /dev/null +++ b/.vimrc @@ -0,0 +1 @@ +set expandtab diff --git a/README b/README deleted file mode 100644 index 9aeab3ee..00000000 --- a/README +++ /dev/null @@ -1,31 +0,0 @@ -PythonQt --------- - -PythonQt is a dynamic Python (http://www.python.org) binding for Qt (http://qt.nokia.com). -It offers an easy way to embed the Python scripting language into -your Qt applications. It makes heavy use of the QMetaObject system and thus requires Qt4.x. - -Licensing of PythonQt ---------------------- -PythonQt is distributed under the LGPL 2.1 license. - -Licensing of Generator ----------------------- -The build system of PythonQt makes use of a patched version of the LGPL'ed QtScript generator, located in the "generator" directory. - -See the LICENSE.LGPL file in the generator subdirectory for details. -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) - -See http://qt.gitorious.org/qt-labs/qtscriptgenerator for the original project. -The PythonQt wrappers generated by the generator are distributed under the LGPL as well. - -The generated wrappers are pre-generated and checked-in for Qt 4.6.1, so you only need to build and run the -generator when you want to build additional wrappers or you want to upgrade/downgrade to another Qt version, but this requires updating the typesystems as well. - -Documentation -------------- - -More documentation is available at: - -http://pythonqt.sourceforge.net/ - diff --git a/README.md b/README.md index c9d52a99..1d058e36 100644 --- a/README.md +++ b/README.md @@ -36,14 +36,12 @@ updating the typesystems as well. ## Building on Windows with MinGW To build PythonQt, you need to set the environment variable `PYTHON_PATH` to -point to the root dir of the python installation and `PYTHON_LIB` to point to -the directory where the python lib file is located. Then you should set the +point to the root dir of the python installation. Then you should set the `PYTHON_VERSION` variable to the Python version number. When using the prebuild Python installer, this will be: ```cmd -set PYTHON_PATH=c:\Python311 -set PYTHON_LIB=c:\Python311\libs -set PYTHON_VERSION=3.11 +set PYTHON_PATH=c:\Python310 +set PYTHON_VERSION=3.10 ``` diff --git a/build/common.prf b/build/common.prf index 6eccc89d..676a190d 100644 --- a/build/common.prf +++ b/build/common.prf @@ -36,16 +36,22 @@ PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp !exists($$PYTHONQT_GENERATED_PATH) { PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp_UNSUPPORTED_QT_VERSION - error(Unsupported Qt version for PythonQt: missing generated_cpp) + error("No generated sources exist for Qt$${QT_VERSION}") } greaterThan(QT_MAJOR_VERSION, 5) | greaterThan(QT_MINOR_VERSION, 9): CONFIG += c++11 win32: CONFIG += skip_target_version_ext -gcc|win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-deprecated-declarations -Wuninitialized -Winit-self -ansi -pedantic +gcc|win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-deprecated-declarations -Wuninitialized -Winit-self -pedantic -ansi win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-unused-command-line-argument #Do not issue warning to system includes gcc:!isEmpty(QT_INSTALL_HEADERS): QMAKE_CXXFLAGS += -isystem $$[QT_INSTALL_HEADERS] +!build_pass { + message("Qt version: Qt$${QT_VERSION}") + message("Using generated sources files from $${PYTHONQT_GENERATED_PATH}") +} + + QMAKE_CXXFLAGS -= -Werror -Werror=pedantic -pedantic-errors -Werror=write-strings clang:QMAKE_CXXFLAGS += -Wno-error -Wno-error=sometimes-uninitialized -Wno-unused-variable -Wno-sign-compare -Wno-error=unreachable-code diff --git a/build_python b/build_python deleted file mode 100644 index ccbf79a8..00000000 --- a/build_python +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -uevo pipefail -git submodule update --init python.git -cat >> python.git/Modules/Setup << EOF -*shared* -*static* -_random _randommodule.c # Random number generator -_datetime _datetimemodule.c # datetime accelerator -_struct _struct.c # binary structure packing/unpacking -math mathmodule.c _math.c # -lm # math library functions, e.g. sin -_csv _csv.c -EOF -cd python.git -./configure --disable-shared --disable-optimizations --disable-ipv6 --prefix=$PWD/../install.dir LDFLAGS="--static" -make LDFLAGS="-static" LINKFORSHARED=" " - diff --git a/extensions/PythonQt_QtAll/PythonQt_QtAll.pro b/extensions/PythonQt_QtAll/PythonQt_QtAll.pro index 09a4650b..1bae3cea 100644 --- a/extensions/PythonQt_QtAll/PythonQt_QtAll.pro +++ b/extensions/PythonQt_QtAll/PythonQt_QtAll.pro @@ -11,13 +11,17 @@ isEmpty( PYTHONQTALL_CONFIG ) { qtHaveModule(svg):CONFIG += PythonQtSvg qtHaveModule(sql):CONFIG += PythonQtSql qtHaveModule(network):CONFIG += PythonQtNetwork - qtHaveModule(opengl):CONFIG += PythonQtOpengl + lessThan(QT_MAJOR_VERSION, 6) { + # module is empty in Qt6 + qtHaveModule(opengl):CONFIG += PythonQtOpengl + } qtHaveModule(xml):CONFIG += PythonQtXml qtHaveModule(xmlpatterns):CONFIG += PythonQtXmlpatterns qtHaveModule(multimedia):CONFIG += PythonQtMultimedia qtHaveModule(qml):CONFIG += PythonQtQml qtHaveModule(quick):CONFIG += PythonQtQuick qtHaveModule(uitools):CONFIG += PythonQtUiTools + qtHaveModule(webenginewidgets):CONFIG += PythonQtWebEngineWidgets qtHaveModule(webkit):CONFIG += PythonQtWebKit } else { @@ -35,7 +39,7 @@ include ( ../../build/common.prf ) include ( ../../build/PythonQt.prf ) TARGET = $$replace(TARGET, PythonXY, Python$${PYTHON_VERSION}) -CONFIG += qt strict_c++ +CONFIG += qt strict_c++ msvc_mp !static:!staticlib { CONFIG += dll @@ -58,7 +62,7 @@ unix { QMAKE_PKGCONFIG_PREFIX = $$INSTALLBASE QMAKE_PKGCONFIG_LIBDIR = $$target.path QMAKE_PKGCONFIG_INCDIR = $$headers.path - QMAKE_PKGCONFIG_INCDIR += $$PREFIX/include/trikPythonQt + QMAKE_PKGCONFIG_INCDIR += $$PREFIX/include/trikPythonQt$${QT_MAJOR_VERSION} QMAKE_PKGCONFIG_VERSION = $$VERSION } @@ -77,63 +81,88 @@ defineTest(Xinclude) { } -PythonQtCore:Xinclude (com_trolltech_qt_core) { +PythonQtCore { DEFINES += PYTHONQT_WITH_CORE + Xinclude (com_trolltech_qt_core) QT += core } -PythonQtGui:Xinclude (com_trolltech_qt_gui) { +PythonQtGui { DEFINES += PYTHONQT_WITH_GUI + Xinclude (com_trolltech_qt_gui) QT += gui widgets printsupport } -PythonQtSvg:Xinclude (com_trolltech_qt_svg) { +PythonQtSvg { DEFINES += PYTHONQT_WITH_SVG + Xinclude (com_trolltech_qt_svg) QT +=svg + !lessThan(QT_MAJOR_VERSION,6): QT += svgwidgets } -PythonQtSql:Xinclude (com_trolltech_qt_sql) { +PythonQtSql { DEFINES += PYTHONQT_WITH_SQL + Xinclude (com_trolltech_qt_sql) QT += sql } -PythonQtNetwork:Xinclude (com_trolltech_qt_network) { +PythonQtNetwork { DEFINES += PYTHONQT_WITH_NETWORK + Xinclude (com_trolltech_qt_network) QT += network } -PythonQtOpengl:PythonQtCore: Xinclude (com_trolltech_qt_opengl) { +PythonQtOpengl { DEFINES += PYTHONQT_WITH_OPENGL QT += opengl + PythonQtCore: Xinclude (com_trolltech_qt_opengl) QT += xml } -PythonQtXmlpatterns:Xinclude (com_trolltech_qt_xmlpatterns) { +PythonQtXml { + DEFINES += PYTHONQT_WITH_XML + Xinclude (com_trolltech_qt_xml) + QT += xml +} + +PythonQtXmlpatterns { DEFINES += PYTHONQT_WITH_XMLPATTERNS + Xinclude (com_trolltech_qt_xmlpatterns) QT += xmlpatterns } -PythonQtMultimedia:Xinclude (com_trolltech_qt_multimedia) { +PythonQtMultimedia { DEFINES += PYTHONQT_WITH_MULTIMEDIA + Xinclude (com_trolltech_qt_multimedia) QT += multimedia multimediawidgets } -PythonQtQml:Xinclude (com_trolltech_qt_qml) { +PythonQtQml { DEFINES += PYTHONQT_WITH_QML + Xinclude (com_trolltech_qt_qml) QT += qml } -PythonQtQuick:Xinclude (com_trolltech_qt_quick) { +PythonQtQuick { DEFINES += PYTHONQT_WITH_QUICK + Xinclude (com_trolltech_qt_quick) QT += quick quickwidgets } -PythonQtUiTools:Xinclude (com_trolltech_qt_uitools) { +PythonQtUiTools { DEFINES += PYTHONQT_WITH_UITOOLS + Xinclude (com_trolltech_qt_uitools) QT += uitools } -PythonQtWebKit:Xinclude (com_trolltech_qt_webkit) { +PythonQtWebEngineWidgets { + DEFINES += PYTHONQT_WITH_WEBENGINEWIDGETS + Xinclude (com_trolltech_qt_webenginewidgets) + QT += webenginewidgets +} + +PythonQtWebKit { DEFINES += PYTHONQT_WITH_WEBKIT + Xinclude (com_trolltech_qt_webkit) QT += webkit webkitwidgets } diff --git a/generator/abstractmetabuilder.cpp b/generator/abstractmetabuilder.cpp index e7cb889b..4a886c42 100644 --- a/generator/abstractmetabuilder.cpp +++ b/generator/abstractmetabuilder.cpp @@ -391,6 +391,28 @@ void AbstractMetaBuilder::sortLists() } } +AbstractMetaClass* AbstractMetaBuilder::getGlobalNamespace(const TypeEntry* typeEntry) +{ + QString package = typeEntry->javaPackage(); + QString globalName = TypeDatabase::globalNamespaceClassName(typeEntry); + + AbstractMetaClass* global = m_meta_classes.findClass(package + "." + globalName); + if (!global) { + ComplexTypeEntry* gte = new NamespaceTypeEntry(globalName); + gte->setTargetLangPackage(typeEntry->javaPackage()); + gte->setCodeGeneration(typeEntry->codeGeneration()); + global = createMetaClass(); + global->setIsGlobalNamespace(true); + global->setTypeEntry(gte); + *global += AbstractMetaAttributes::Final; + *global += AbstractMetaAttributes::Public; + *global += AbstractMetaAttributes::Fake; + + m_meta_classes << global; + } + return global; +} + bool AbstractMetaBuilder::build() { Q_ASSERT(!m_file_name.isEmpty()); @@ -430,6 +452,15 @@ bool AbstractMetaBuilder::build() // Start the generation... + + // First automatically add all enums marked as QEnum into the TypeDatabase + // (if they don't contain an entry already). If there is an QEnum entry, + // the enum is obviously meant for scripting. + for (ClassModelItem item : typeMap.values()) { + autoAddQEnumsForClassItem(item); + } + + for (ClassModelItem item : typeMap.values()) { AbstractMetaClass *cls = traverseClass(item); addAbstractMetaClass(cls); @@ -451,36 +482,21 @@ bool AbstractMetaBuilder::build() AbstractMetaEnum *meta_enum = traverseEnum(item, 0, QSet()); if (meta_enum) { - QString package = meta_enum->typeEntry()->javaPackage(); - QString globalName = TypeDatabase::globalNamespaceClassName(meta_enum->typeEntry()); - - AbstractMetaClass *global = m_meta_classes.findClass(package + "." + globalName); - if (!global) { - ComplexTypeEntry *gte = new ObjectTypeEntry(globalName); - gte->setTargetLangPackage(meta_enum->typeEntry()->javaPackage()); - gte->setCodeGeneration(meta_enum->typeEntry()->codeGeneration()); - global = createMetaClass(); - global->setTypeEntry(gte); - *global += AbstractMetaAttributes::Final; - *global += AbstractMetaAttributes::Public; - *global += AbstractMetaAttributes::Fake; - - m_meta_classes << global; - } + AbstractMetaClass* global = getGlobalNamespace(meta_enum->typeEntry()); global->addEnum(meta_enum); - meta_enum->setEnclosingClass(global); - meta_enum->typeEntry()->setQualifier(globalName); // Global enums should be public despite not having public // identifiers so we'll fix the original attributes here. meta_enum->setOriginalAttributes(meta_enum->attributes()); - } - + // global enums have their own include + if (meta_enum->typeEntry()->include().isValid()) { + global->typeEntry()->addExtraInclude(meta_enum->typeEntry()->include()); + } + } } - // Go through all typedefs to see if we have defined any // specific typedefs to be used as classes. TypeAliasList typeAliases = m_dom->typeAliases(); @@ -593,7 +609,6 @@ bool AbstractMetaBuilder::build() } } - figureOutEnumValues(); checkFunctionModifications(); for (AbstractMetaClass *cls : m_meta_classes) { @@ -609,6 +624,33 @@ bool AbstractMetaBuilder::build() return true; } +void AbstractMetaBuilder::autoAddQEnumsForClassItem(ClassModelItem class_item) +{ + // also do this for sub-classes: + for (ClassModelItem sub_class : class_item->classMap().values()) { + autoAddQEnumsForClassItem(sub_class); + } + + auto qEnumDeclarations = class_item->qEnumDeclarations(); + for (EnumModelItem enum_item : class_item->enumMap().values()) { + if (enum_item) { + const auto& names = enum_item->qualifiedName(); + QString qualified_name = names.join("::"); + QString enum_name = enum_item->name(); + + bool hasQEnumDeclaration = qEnumDeclarations.contains(qualified_name) + || qEnumDeclarations.contains(enum_name); + + TypeEntry* type_entry = TypeDatabase::instance()->findType(qualified_name); + if (hasQEnumDeclaration && !type_entry) { + // automatically add enum type declared as Q_ENUM + type_entry = new EnumTypeEntry(QStringList(names.mid(0, names.size() - 1)).join("::"), names.last()); + TypeDatabase::instance()->addType(type_entry); + } + } + } +} + void AbstractMetaBuilder::addAbstractMetaClass(AbstractMetaClass *cls) { @@ -664,10 +706,20 @@ AbstractMetaClass *AbstractMetaBuilder::traverseNamespace(NamespaceModelItem nam .arg(meta_class->package()) .arg(namespace_item->name())); - traverseEnums(model_dynamic_cast(namespace_item), meta_class, namespace_item->enumsDeclarations()); + traverseEnums(model_dynamic_cast(namespace_item), meta_class, namespace_item->qEnumDeclarations()); traverseFunctions(model_dynamic_cast(namespace_item), meta_class); // traverseClasses(model_dynamic_cast(namespace_item)); + // collect all include files (since namespace items might come from different files) + QSet includeFiles; + for (const auto& item : namespace_item->enums()) { + includeFiles.insert(item->fileName()); + } + for (const auto& item : namespace_item->functions()) { + includeFiles.insert(item->fileName()); + } + // (should we do this for typeAliases and inner namespaces too?) + pushScope(model_dynamic_cast(namespace_item)); m_namespace_prefix = currentScope()->qualifiedName().join("::"); @@ -676,6 +728,7 @@ AbstractMetaClass *AbstractMetaBuilder::traverseNamespace(NamespaceModelItem nam for (ClassModelItem cls : classes) { AbstractMetaClass *mjc = traverseClass(cls); addAbstractMetaClass(mjc); + includeFiles.insert(cls->fileName()); } // Go through all typedefs to see if we have defined any @@ -705,225 +758,13 @@ AbstractMetaClass *AbstractMetaBuilder::traverseNamespace(NamespaceModelItem nam QFileInfo info(namespace_item->fileName()); type->setInclude(Include(Include::IncludePath, info.fileName())); } - - return meta_class; -} - -struct Operator -{ - enum Type { Plus, ShiftLeft, None }; - - Operator() : type(None) { } - - int calculate(int x) { - switch (type) { - case Plus: return x + value; - case ShiftLeft: return x << value; - case None: return x; - } - return x; - } - - Type type; - int value; -}; - - - -Operator findOperator(QString *s) { - const char *names[] = { - "+", - "<<" - }; - - for (int i=0; i 0) { - bool ok; - QString right = str.mid(splitPoint + name.length()); - Operator op; - op.value = right.toInt(&ok); - if (ok) { - op.type = Operator::Type(i); - *s = str.left(splitPoint).trimmed(); - return op; - } - } - } - return Operator(); -} - -int AbstractMetaBuilder::figureOutEnumValue(const QString &stringValue, - int oldValuevalue, - AbstractMetaEnum *meta_enum, - AbstractMetaFunction *meta_function) -{ - Q_UNUSED(meta_function) - if (stringValue.isEmpty()) - return oldValuevalue; - - QStringList stringValues = stringValue.split("|"); - - int returnValue = 0; - - bool matched = false; - - for (int i=0; i 0 && s.at(0) == QLatin1Char('0')) - v = s.toUInt(&ok, 0); - else - v = s.toInt(&ok); - - if (ok) { - matched = true; - - } else if (m_enum_values.contains(s)) { - v = m_enum_values[s]->value(); - matched = true; - - } else { - AbstractMetaEnumValue *ev = 0; - - if (meta_enum && (ev = meta_enum->values().find(s))) { - v = ev->value(); - matched = true; - - } else if (meta_enum && (ev = meta_enum->enclosingClass()->findEnumValue(s, meta_enum))) { - v = ev->value(); - matched = true; - - } else { - /* - if (meta_enum) - ReportHandler::warning("unhandled enum value: " + s + " in " - + meta_enum->enclosingClass()->name() + "::" - + meta_enum->name()); - else - ReportHandler::warning("unhandled enum value: Unknown enum"); - */ - } - } - - if (matched) - returnValue |= op.calculate(v); - } - - if (!matched) { - /* not helpful... - QString warn = QString("unmatched enum %1").arg(stringValue); - - if (meta_function != 0) { - warn += QString(" when parsing default value of '%1' in class '%2'") - .arg(meta_function->name()) - .arg(meta_function->implementingClass()->name()); - } - - ReportHandler::warning(warn); - */ - returnValue = oldValuevalue; - } - - return returnValue; -} - -void AbstractMetaBuilder::figureOutEnumValuesForClass(AbstractMetaClass *meta_class, - QSet *classes) -{ - AbstractMetaClass *base = meta_class->baseClass(); - - if (base != 0 && !classes->contains(base)) - figureOutEnumValuesForClass(base, classes); - - if (classes->contains(meta_class)) - return; - - AbstractMetaEnumList enums = meta_class->enums(); - for (AbstractMetaEnum *e : enums) { - if (!e) { - ReportHandler::warning("bad enum in class " + meta_class->name()); - continue; - } - AbstractMetaEnumValueList lst = e->values(); - int value = 0; - for (int i=0; istringValue(), value, e); - lst.at(i)->setValue(value); - value++; - } - - // Check for duplicate values... - EnumTypeEntry *ete = e->typeEntry(); - if (!ete->forceInteger()) { - QHash entries; - for (AbstractMetaEnumValue *v : lst) { - - bool vRejected = ete->isEnumValueRejected(v->name()); - - AbstractMetaEnumValue *current = entries.value(v->value()); - if (current) { - bool currentRejected = ete->isEnumValueRejected(current->name()); - if (!currentRejected && !vRejected) { - /* Removed because I don't see the sense of rejecting duplicate values... - ReportHandler::warning( - QString("duplicate enum values: %1::%2, %3 and %4 are %5, already rejected: (%6)") - .arg(meta_class->name()) - .arg(e->name()) - .arg(v->name()) - .arg(entries[v->value()]->name()) - .arg(v->value()) - .arg(ete->enumValueRejections().join(", "))); - continue; - */ - } - } - - if (!vRejected) - entries[v->value()] = v; - } - - // Entries now contain all the original entries, no - // rejected ones... Use this to generate the enumValueRedirection table. - for (AbstractMetaEnumValue *reject : lst) { - if (!ete->isEnumValueRejected(reject->name())) - continue; - - AbstractMetaEnumValue *used = entries.value(reject->value()); - if (!used) { - ReportHandler::warning( - QString::fromLatin1("Rejected enum has no alternative...: %1::%2") - .arg(meta_class->name()) - .arg(reject->name())); - continue; - } - ete->addEnumValueRedirection(reject->name(), used->name()); - } - - } + // namespace items might come from different include files: + for (const QString& oneIncludeFile : includeFiles) { + QFileInfo info(oneIncludeFile); + type->addExtraInclude(Include(Include::IncludePath, info.fileName())); } - - - *classes += meta_class; -} - - -void AbstractMetaBuilder::figureOutEnumValues() -{ - // Keep a set of classes that we already traversed. We use this to - // enforce that we traverse base classes prior to subclasses. - QSet classes; - for (AbstractMetaClass *c : m_meta_classes) { - figureOutEnumValuesForClass(c, &classes); - } + return meta_class; } @@ -956,6 +797,8 @@ AbstractMetaEnum *AbstractMetaBuilder::traverseEnum(EnumModelItem enum_item, Abs return 0; } + static_cast(type_entry)->setEnumClass(enum_item->isEnumClass()); + AbstractMetaEnum *meta_enum = createMetaEnum(); if ( enumsDeclarations.contains(qualified_name) || enumsDeclarations.contains(enum_name)) { @@ -1106,12 +949,12 @@ AbstractMetaClass *AbstractMetaBuilder::traverseClass(ClassModelItem class_item) meta_class->setTemplateArguments(template_args); meta_class->setHasActualDeclaration(class_item->hasActualDeclaration()); - parseQ_Property(meta_class, class_item->propertyDeclarations()); - traverseFunctions(model_dynamic_cast(class_item), meta_class); - traverseEnums(model_dynamic_cast(class_item), meta_class, class_item->enumsDeclarations()); + traverseEnums(model_dynamic_cast(class_item), meta_class, class_item->qEnumDeclarations()); traverseFields(model_dynamic_cast(class_item), meta_class); + parseQ_Property(meta_class, class_item->propertyDeclarations()); + // Inner classes { QList inner_classes = class_item->classMap().values(); @@ -1273,8 +1116,15 @@ void AbstractMetaBuilder::traverseFunctions(ScopeModelItem scope_item, AbstractM bool isInvalidDestructor = meta_function->isDestructor() && meta_function->isPrivate(); bool isInvalidConstructor = meta_function->isConstructor() && (meta_function->isPrivate() || meta_function->isInvalid()); + if (isInvalidConstructor && meta_function->arguments().size() == 1 && + meta_class->qualifiedCppName() == meta_function->arguments().at(0)->type()->typeEntry()->qualifiedCppName()) + { + // deleted or private copy constructor, it seems copying is not allowed + meta_class->typeEntry()->setNoCopy(true); + } if ((isInvalidDestructor || isInvalidConstructor) - && !meta_class->hasNonPrivateConstructor()) { + && !meta_class->hasNonPrivateConstructor()) + { *meta_class += AbstractMetaAttributes::Final; } else if (meta_function->isConstructor() && !meta_function->isPrivate()) { *meta_class -= AbstractMetaAttributes::Final; @@ -1323,6 +1173,48 @@ void AbstractMetaBuilder::traverseFunctions(ScopeModelItem scope_item, AbstractM } } } + removeEquivalentFunctions(meta_class); +} + +void AbstractMetaBuilder::removeEquivalentFunctions(AbstractMetaClass* parent) +{ + AbstractMetaFunctionList functions = parent->functions(); + for (AbstractMetaFunction* fun : functions) + { + AbstractMetaArgumentList args = fun->arguments(); + bool candidateToRemove = false; + for (AbstractMetaArgument* arg : args) { + const TypeEntry* argType = arg->type()->typeEntry(); + if (argType && argType->equivalentType()) { + candidateToRemove = true; + break; + } + } + if (!candidateToRemove) { + continue; + } + // check if there are other functions with the same name and equivalent parameters + AbstractMetaFunctionList overloadedFunctions = parent->queryFunctionsByName(fun->name()); + for (AbstractMetaFunction* overload : overloadedFunctions) { + if (overload != fun) { + AbstractMetaArgumentList overloadArgs = overload->arguments(); + if (overloadArgs.size() == args.size()) { + bool equivalentArgs = true; + for (int i = 0; i < args.size() && equivalentArgs; i++) { + const TypeEntry* argType = args[i]->type()->typeEntry(); + const TypeEntry* overloadArgType = overloadArgs[i]->type()->typeEntry(); + // This could have some more equivalency checks, but currently this seems to be sufficient + equivalentArgs = (argType && overloadArgType && + (argType == overloadArgType || argType->equivalentType() == overloadArgType)); + } + if (equivalentArgs) { + parent->removeFunction(fun); + break; + } + } + } + } + } } bool AbstractMetaBuilder::setupInheritance(AbstractMetaClass *meta_class) @@ -1449,17 +1341,11 @@ bool AbstractMetaBuilder::setupInheritance(AbstractMetaClass *meta_class) return true; } -void AbstractMetaBuilder::traverseEnums(ScopeModelItem scope_item, AbstractMetaClass *meta_class, const QStringList &enumsDeclarations) +void AbstractMetaBuilder::traverseEnums(ScopeModelItem scope_item, AbstractMetaClass *meta_class, const QSet &qEnumDeclarations) { EnumList enums = scope_item->enums(); for (EnumModelItem enum_item : enums) { - AbstractMetaEnum *meta_enum = traverseEnum(enum_item, meta_class, -#if QT_VERSION < QT_VERSION_CHECK(5,14,0) - QSet::fromList(enumsDeclarations) -#else - QSet(enumsDeclarations.begin(), enumsDeclarations.end()) -#endif - ); + AbstractMetaEnum* meta_enum = traverseEnum(enum_item, meta_class, qEnumDeclarations); if (meta_enum) { meta_enum->setOriginalAttributes(meta_enum->attributes()); meta_class->addEnum(meta_enum); @@ -1604,11 +1490,6 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(FunctionModelItem fu meta_function->setFunctionType(AbstractMetaFunction::SlotFunction); } - if (function_item->isDeleted()) { - meta_function->setInvalid(true); - return meta_function; - } - ArgumentList arguments = function_item->arguments(); AbstractMetaArgumentList meta_arguments; @@ -1664,7 +1545,7 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(FunctionModelItem fu } } - // If we where not able to translate the default argument make it + // If we were not able to translate the default argument make it // reset all default arguments before this one too. for (int i=0; isetDefaultValueExpression(QString()); @@ -1676,6 +1557,11 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(FunctionModelItem fu } } + if (function_item->isDeleted()) { + meta_function->setInvalid(true); + return meta_function; + } + return meta_function; } @@ -1717,7 +1603,7 @@ AbstractMetaType *AbstractMetaBuilder::translateType(const TypeInfo &_typei, boo return 0; } - TypeParser::Info typeInfo = TypeParser::parse(typei.toString()); + TypeParser::Info typeInfo = TypeParser::parse(typei.toString(/*parsable=*/true)); if (typeInfo.is_busted) { *ok = false; return 0; @@ -1735,7 +1621,6 @@ AbstractMetaType *AbstractMetaBuilder::translateType(const TypeInfo &_typei, boo //newInfo.setArguments(typei.arguments()); newInfo.setIndirections(typei.indirections()); newInfo.setConstant(typei.isConstant()); - newInfo.setConstexpr(typei.isConstexpr()); newInfo.setFunctionPointer(typei.isFunctionPointer()); newInfo.setQualifiedName(typei.qualifiedName()); newInfo.setReference(typei.isReference()); @@ -2233,11 +2118,33 @@ void AbstractMetaBuilder::parseQ_Property(AbstractMetaClass *meta_class, const Q QStringList qualifiedScopeName = currentScope()->qualifiedName(); bool ok = false; AbstractMetaType *type = 0; - QString scope; + int pIndex = 0; + QString typeName = l.value(pIndex++); + bool isConst = false; + if (typeName == "const") { + // use the next part as the type name + typeName = l.value(pIndex++); + isConst = true; + } + QString propertyName = l.value(pIndex++); + QString modifiers; + while (typeName.endsWith("*") || typeName.endsWith("&")) { + modifiers.insert(0, typeName.at(typeName.length() - 1)); + typeName.chop(1); + } + while (propertyName.startsWith("*") || propertyName.startsWith("&")) { + modifiers.append(propertyName.at(0)); + propertyName.remove(0, 1); + if (propertyName.isEmpty() && pIndex < l.size()) { + propertyName = l.value(pIndex++); + } + } for (int j=qualifiedScopeName.size(); j>=0; --j) { - scope = j > 0 ? QStringList(qualifiedScopeName.mid(0, j)).join("::") + "::" : QString(); + QStringList scope(qualifiedScopeName.mid(0, j)); TypeInfo info; - info.setQualifiedName((scope + l.at(0)).split("::")); + info.setIndirections(modifiers.count('*')); + info.setReference(modifiers.contains('&')); // r-value reference seems improbable for a property... + info.setQualifiedName(scope + QStringList(typeName)); type = translateType(info, &ok); if (type != 0 && ok) { @@ -2246,18 +2153,16 @@ void AbstractMetaBuilder::parseQ_Property(AbstractMetaClass *meta_class, const Q } if (type == 0 || !ok) { - ReportHandler::warning(QString("Unable to decide type of property: '%1' in class '%2'") - .arg(l.at(0)).arg(meta_class->name())); + ReportHandler::warning(QString("Unable to decide type '%1' of property '%2' in class '%3'") + .arg(typeName).arg(propertyName).arg(meta_class->name())); continue; } - QString typeName = scope + l.at(0); - QPropertySpec *spec = new QPropertySpec(type->typeEntry()); - spec->setName(l.at(1)); + spec->setName(propertyName); spec->setIndex(i); - for (int pos=2; pos+1setRead(l.at(pos+1)); else if (l.at(pos) == QLatin1String("WRITE")) diff --git a/generator/abstractmetabuilder.h b/generator/abstractmetabuilder.h index 13ddf285..abaf900c 100644 --- a/generator/abstractmetabuilder.h +++ b/generator/abstractmetabuilder.h @@ -82,9 +82,7 @@ class AbstractMetaBuilder bool build(); - void figureOutEnumValuesForClass(AbstractMetaClass *meta_class, QSet *classes); - int figureOutEnumValue(const QString &name, int value, AbstractMetaEnum *meta_enum, AbstractMetaFunction *meta_function = 0); - void figureOutEnumValues(); + void autoAddQEnumsForClassItem(ClassModelItem item); void addAbstractMetaClass(AbstractMetaClass *cls); AbstractMetaClass *traverseTypeAlias(TypeAliasModelItem item); @@ -92,12 +90,16 @@ class AbstractMetaBuilder bool setupInheritance(AbstractMetaClass *meta_class); AbstractMetaClass *traverseNamespace(NamespaceModelItem item); AbstractMetaEnum *traverseEnum(EnumModelItem item, AbstractMetaClass *enclosing, const QSet &enumsDeclarations); - void traverseEnums(ScopeModelItem item, AbstractMetaClass *parent, const QStringList &enumsDeclarations); + void traverseEnums(ScopeModelItem item, AbstractMetaClass *parent, const QSet &enumsDeclarations); void traverseFunctions(ScopeModelItem item, AbstractMetaClass *parent); void traverseFields(ScopeModelItem item, AbstractMetaClass *parent); void traverseStreamOperator(FunctionModelItem function_item); void traverseCompareOperator(FunctionModelItem item); void traverseBinaryArithmeticOperator(FunctionModelItem item); + + //! remove functions/methods that are overloads with equivalent parameter types + //! when called from Python + void removeEquivalentFunctions(AbstractMetaClass* parent); AbstractMetaFunction *traverseFunction(FunctionModelItem function); AbstractMetaField *traverseField(VariableModelItem field, const AbstractMetaClass *cls); @@ -147,6 +149,8 @@ class AbstractMetaBuilder private: void sortLists(); + AbstractMetaClass* getGlobalNamespace(const TypeEntry* typeEntry); + QString m_file_name; AbstractMetaClassList m_meta_classes; diff --git a/generator/abstractmetalang.cpp b/generator/abstractmetalang.cpp index 45703f84..b8c0cd33 100644 --- a/generator/abstractmetalang.cpp +++ b/generator/abstractmetalang.cpp @@ -368,8 +368,6 @@ QString AbstractMetaFunction::signature() const if (isConstant()) s += " const"; - if (isConstexpr()) - s += " constexpr"; return s; } @@ -661,8 +659,6 @@ QString AbstractMetaFunction::minimalSignature() const minimalSignature += ")"; if (isConstant()) minimalSignature += "const"; - if (isConstexpr()) - minimalSignature += "constexpr"; minimalSignature = TypeSystem::normalizedSignature(minimalSignature.toLocal8Bit().constData()); m_cached_minimal_signature = minimalSignature; @@ -1107,6 +1103,11 @@ void AbstractMetaClass::addFunction(AbstractMetaFunction *function) m_has_nonpublic |= !function->isPublic(); } +void AbstractMetaClass::removeFunction(AbstractMetaFunction* function) +{ + m_functions.removeOne(function); +} + bool AbstractMetaClass::hasSignal(const AbstractMetaFunction *other) const { if (!other->isSignal()) diff --git a/generator/abstractmetalang.h b/generator/abstractmetalang.h index f161c5c7..560b8169 100644 --- a/generator/abstractmetalang.h +++ b/generator/abstractmetalang.h @@ -676,6 +676,7 @@ class AbstractMetaClass : public AbstractMetaAttributes m_has_clone_operator(false), m_is_type_alias(false), m_has_actual_declaration(false), + m_is_global_namespace(false), m_qDebug_stream_function(0) { } @@ -688,6 +689,7 @@ class AbstractMetaClass : public AbstractMetaAttributes AbstractMetaFunctionList functions() const { return m_functions; } void setFunctions(const AbstractMetaFunctionList &functions); void addFunction(AbstractMetaFunction *function); + void removeFunction(AbstractMetaFunction* function); bool hasFunction(const AbstractMetaFunction *f) const; bool hasFunction(const QString &str) const; bool hasSignal(const AbstractMetaFunction *f) const; @@ -800,6 +802,9 @@ class AbstractMetaClass : public AbstractMetaAttributes void setHasActualDeclaration(bool on) { m_has_actual_declaration = on; } bool hasActualDeclaration() const { return m_has_actual_declaration; } + void setIsGlobalNamespace(bool on) { m_is_global_namespace = on; } + bool isGlobalNamespace() const { return m_is_global_namespace; } + QString getDefaultNonZeroFunction() const; void addPropertySpec(QPropertySpec *spec) { m_property_specs << spec; } @@ -861,7 +866,8 @@ class AbstractMetaClass : public AbstractMetaAttributes uint m_has_clone_operator :1; uint m_is_type_alias : 1; uint m_has_actual_declaration : 1; - uint m_reserved : 17; + uint m_is_global_namespace : 1; + uint m_reserved : 16; QString m_destructor_exception; const AbstractMetaClass *m_enclosing_class{}; diff --git a/generator/generator.pri b/generator/generator.pri index 332d03ab..0127b292 100644 --- a/generator/generator.pri +++ b/generator/generator.pri @@ -5,6 +5,7 @@ TEMPLATE = app #CONFIG += cmdline -- does not work as expected with old Qt versions, f.e. is missing in 5.9 CONFIG += console CONFIG -= app_bundle +CONFIG += msvc_mp TARGET += DEPENDPATH += $$GENERATORPATH tests parser @@ -37,7 +38,6 @@ win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-language-extension-token -Wno-microsoft- # Input HEADERS += \ $$GENERATORPATH/generator.h \ - $$GENERATORPATH/main.h \ $$GENERATORPATH/reporthandler.h \ $$GENERATORPATH/typeparser.h \ $$GENERATORPATH/typesystem.h \ diff --git a/generator/main.cpp b/generator/main.cpp index b75f06c7..7cb3b79d 100644 --- a/generator/main.cpp +++ b/generator/main.cpp @@ -40,20 +40,181 @@ ****************************************************************************/ #include +#include -#include "main.h" #include "asttoxml.h" #include "reporthandler.h" #include "typesystem.h" #include "generatorset.h" #include "fileout.h" #include "control.h" +#include "pp.h" #include +#include +#include +#include +#include void displayHelp(GeneratorSet *generatorSet); -#include +namespace +{ + + QStringList getIncludeDirectories(const QString &commandLineIncludes) + { + QStringList includes; + includes << QString("."); + + QChar pathSplitter = QDir::listSeparator(); + + // Environment PYTHONQT_INCLUDE + QString includePath = getenv("PYTHONQT_INCLUDE"); + if (!includePath.isEmpty()) + includes += includePath.split(pathSplitter, Qt::SkipEmptyParts); + + // Includes from the command line + if (!commandLineIncludes.isEmpty()) + includes += commandLineIncludes.split(pathSplitter, Qt::SkipEmptyParts); + for (auto it = includes.begin(); it != includes.end();) + { + if (!QDir(*it).exists()) + { + qWarning("Include path %s does not exist, ignoring it.", it->toUtf8().constData()); + it = includes.erase(it); + } + else + { + ++it; + } + } + + // Include Qt + QString qtdir = getenv("QTDIR"); + if (qtdir.isEmpty() || !QDir(qtdir).exists(qtdir)) + { + QString reason = "The QTDIR environment variable " + qtdir.isEmpty() ? + "is not set. " : "points to a non-existing directory. "; +#if defined(Q_OS_MAC) + qWarning((reason + "Assuming standard binary install using frameworks.").toUtf8().constData()); + QString frameworkDir = "/Library/Frameworks"; + includes << (frameworkDir + "/QtXml.framework/Headers"); + includes << (frameworkDir + "/QtNetwork.framework/Headers"); + includes << (frameworkDir + "/QtCore.framework/Headers"); + includes << (frameworkDir + "/QtGui.framework/Headers"); + includes << (frameworkDir + "/QtOpenGL.framework/Headers"); + includes << frameworkDir; +#else + qWarning((reason + "This may cause problems with finding the necessary include files.").toUtf8().constData()); +#endif + } + else + { + std::cout << "-------------------------------------------------------------" << std::endl; + std::cout << "Using QT at: " << qtdir.toLocal8Bit().constData() << std::endl; + std::cout << "-------------------------------------------------------------" << std::endl; + qtdir += "/include"; + includes << (qtdir + "/QtXml"); + includes << (qtdir + "/QtNetwork"); + includes << (qtdir + "/QtCore"); + includes << (qtdir + "/QtGui"); + includes << (qtdir + "/QtOpenGL"); + includes << qtdir; + } + return includes; + } + + bool + preprocess(const QString &sourceFile, const QString &targetFile, const QString &commandLineIncludes = QString()) + { + rpp::pp_environment env; + rpp::pp preprocess(env); + + rpp::pp_null_output_iterator null_out; + + const char *ppconfig = ":/trolltech/generator/parser/rpp/pp-qt-configuration"; + + QFile file(ppconfig); + if (!file.open(QFile::ReadOnly)) + { + fprintf(stderr, "Preprocessor configuration file not found '%s'\n", ppconfig); + return false; + } + + QByteArray ba = file.readAll(); + file.close(); + preprocess.operator()(ba.constData(), ba.constData() + ba.size(), null_out); + + foreach(QString + include, getIncludeDirectories(commandLineIncludes)) { + preprocess.push_include_path(QDir::toNativeSeparators(include).toStdString()); + } + + QString currentDir = QDir::current().absolutePath(); + QFileInfo sourceInfo(sourceFile); + QDir::setCurrent(sourceInfo.absolutePath()); + + std::string result; + result.reserve(20 * 1024); // 20K + + result += "# 1 \"builtins\"\n"; + result += "# 1 \""; + result += sourceFile.toStdString(); + result += "\"\n"; + + preprocess.file(sourceInfo.fileName().toStdString(), + rpp::pp_output_iterator(result)); + + QDir::setCurrent(currentDir); + + QFile f(targetFile); + if (!f.open(QIODevice::WriteOnly | QIODevice::Text)) + { + fprintf(stderr, "Failed to write preprocessed file: %s\n", qPrintable(targetFile)); + } + f.write(result.c_str(), result.length()); + + return true; + } + + unsigned int getQtVersion(const QString &commandLineIncludes) + { + QRegularExpression re("#define\\s+QTCORE_VERSION\\s+0x([0-9a-f]+)", QRegularExpression::CaseInsensitiveOption); + for (const QString &includeDir: getIncludeDirectories(commandLineIncludes)) + { + QFileInfo fi(QDir(includeDir), "qtcoreversion.h"); + if (fi.exists()) + { + QString filePath = fi.absoluteFilePath(); + QFile f(filePath); + if (f.open(QIODevice::ReadOnly)) + { + QTextStream ts(&f); + QString content = ts.readAll(); + f.close(); + auto match = re.match(content); + if (match.isValid()) + { + unsigned int result; + bool ok; + result = match.captured(1).toUInt(&ok, 16); + if (!ok) + { + printf("Could not parse Qt version in file [%s] (looked for #define QTCORE_VERSION)\n", + qPrintable(filePath)); + } + return result; + } + } + } + } + printf("Error: Could not find Qt version (looked for qtcoreversion.h in %s)\n", + qPrintable(commandLineIncludes)); + return 0; + } +}; + + int main(int argc, char *argv[]) { ReportHandler::setContext("Arguments"); @@ -66,9 +227,9 @@ int main(int argc, char *argv[]) QString fileName; QString typesystemFileName; QString pp_file = ".preprocessed.tmp"; - QStringList rebuild_classes; QMap args; + unsigned int qtVersion{}; int argNum = 0; for (int i=1; isetRebuildClasses(classes); } + if (args.contains("qt-version")) { + bool ok; + qtVersion = TypeSystem::qtVersionFromString(args.value("qt-version"), ok); + if (!ok || qtVersion < 0x050000) { + printf("Invalid Qt version specified, will look into header files for version...\n"); + qtVersion = 0; + } + } + fileName = args.value("arg-1"); typesystemFileName = args.value("arg-2"); @@ -143,15 +313,31 @@ int main(int argc, char *argv[]) printf("Please wait while source files are being generated...\n"); + if (!qtVersion) { + printf("Trying to determine Qt version...\n"); + qtVersion = getQtVersion(args.value("include-paths")); + if (!qtVersion) + { + fprintf(stderr, "Aborting\n"); // the error message was printed by getQtVersion + return 1; + } + printf("Determined Qt version is %d.%d.%d\n", qtVersion >> 16, (qtVersion >> 8) & 0xFF, qtVersion & 0xFF); + } + printf("Parsing typesystem file [%s]\n", qPrintable(typesystemFileName)); + fflush(stdout); ReportHandler::setContext("Typesystem"); - if (!TypeDatabase::instance()->parseFile(typesystemFileName)) + if (TypeDatabase::instance()->parseFile(typesystemFileName, qtVersion)) { + TypeDatabase::instance()->finalSetup(); + } + else { qFatal("Cannot parse file: '%s'", qPrintable(typesystemFileName)); + } printf("PreProcessing - Generate [%s] using [%s] and include-paths [%s]\n", qPrintable(pp_file), qPrintable(fileName), qPrintable(args.value("include-paths"))); ReportHandler::setContext("Preprocess"); - if (!Preprocess::preprocess(fileName, pp_file, args.value("include-paths"))) { + if (!preprocess(fileName, pp_file, args.value("include-paths"))) { fprintf(stderr, "Preprocessor failed on file: '%s'\n", qPrintable(fileName)); return 1; } @@ -180,11 +366,7 @@ int main(int argc, char *argv[]) void displayHelp(GeneratorSet* generatorSet) { -#if defined(Q_OS_WIN32) - char path_splitter = ';'; -#else - char path_splitter = ':'; -#endif + const auto path_splitter = QDir::listSeparator().toLatin1(); printf("Usage:\n generator [options] header-file typesystem-file\n\n"); printf("Available options:\n\n"); printf("General:\n"); @@ -195,6 +377,7 @@ void displayHelp(GeneratorSet* generatorSet) { " --no-suppress-warnings \n" " --output-directory=[dir] \n" " --include-paths=[%c%c...] \n" + " --qt-version=x.y.z \n" " --print-stdout \n", path_splitter, path_splitter); diff --git a/generator/main.h b/generator/main.h deleted file mode 100644 index 15fc6dc1..00000000 --- a/generator/main.h +++ /dev/null @@ -1,147 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Script Generator project on Qt Labs. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef MAIN_H -#define MAIN_H - -#include "pp.h" - -#include -#include - -struct Preprocess -{ - static bool preprocess(const QString &sourceFile, const QString &targetFile, const QString &commandLineIncludes = QString()) - { - rpp::pp_environment env; - rpp::pp preprocess(env); - - rpp::pp_null_output_iterator null_out; - - const char *ppconfig = ":/trolltech/generator/parser/rpp/pp-qt-configuration"; - - QFile file(ppconfig); - if (!file.open(QFile::ReadOnly)) { - fprintf(stderr, "Preprocessor configuration file not found '%s'\n", ppconfig); - return false; - } - - QByteArray ba = file.readAll(); - file.close(); - preprocess.operator() (ba.constData(), ba.constData() + ba.size(), null_out); - - QStringList includes; - includes << QString("."); - -#if defined(Q_OS_WIN32) - const char *path_splitter = ";"; -#else - const char *path_splitter = ":"; -#endif - - // Environment INCLUDE - QString includePath = getenv("INCLUDE"); - if (!includePath.isEmpty()) - includes += includePath.split(path_splitter); - - // Includes from the command line - if (!commandLineIncludes.isEmpty()) - includes += commandLineIncludes.split(path_splitter); - - // Include Qt - QString qtdir = getenv ("QTDIR"); - if (qtdir.isEmpty()) { -#if defined(Q_OS_MAC) - qWarning("QTDIR environment variable not set. Assuming standard binary install using frameworks."); - QString frameworkDir = "/Library/Frameworks"; - includes << (frameworkDir + "/QtXml.framework/Headers"); - includes << (frameworkDir + "/QtNetwork.framework/Headers"); - includes << (frameworkDir + "/QtCore.framework/Headers"); - includes << (frameworkDir + "/QtGui.framework/Headers"); - includes << (frameworkDir + "/QtOpenGL.framework/Headers"); - includes << frameworkDir; -#else - qWarning("QTDIR environment variable not set. This may cause problems with finding the necessary include files."); -#endif - } else { - std::cout << "-------------------------------------------------------------" << std::endl; - std::cout << "Using QT at: " << qtdir.toLocal8Bit().constData() << std::endl; - std::cout << "-------------------------------------------------------------" << std::endl; - qtdir += "/include"; - includes << (qtdir + "/QtXml"); - includes << (qtdir + "/QtNetwork"); - includes << (qtdir + "/QtCore"); - includes << (qtdir + "/QtGui"); - includes << (qtdir + "/QtOpenGL"); - includes << qtdir; - } - foreach (QString include, includes) { - preprocess.push_include_path(QDir::toNativeSeparators(include).toStdString()); - } - - QString currentDir = QDir::current().absolutePath(); - QFileInfo sourceInfo(sourceFile); - QDir::setCurrent(sourceInfo.absolutePath()); - - std::string result; - result.reserve (20 * 1024); // 20K - - result += "# 1 \"builtins\"\n"; - result += "# 1 \""; - result += sourceFile.toStdString(); - result += "\"\n"; - - preprocess.file (sourceInfo.fileName().toStdString(), - rpp::pp_output_iterator (result)); - - QDir::setCurrent(currentDir); - - QFile f(targetFile); - if (!f.open(QIODevice::WriteOnly | QIODevice::Text)) { - fprintf(stderr, "Failed to write preprocessed file: %s\n", qPrintable(targetFile)); - } - f.write(result.c_str(), result.length()); - - return true; - } -}; - -#endif // MAIN_H diff --git a/generator/parser/ast.h b/generator/parser/ast.h index 181c6388..6afcbf92 100644 --- a/generator/parser/ast.h +++ b/generator/parser/ast.h @@ -372,10 +372,9 @@ struct DeclarationStatementAST: public StatementAST struct DeclaratorAST: public AST { DECLARE_AST_NODE(Declarator) + enum ValueReferenceEnum { UnspecifiedRef, Lvalue, Rvalue }; // "&" or "&&" after member function - DeclaratorAST() { - _override = false; - } + DeclaratorAST() = default; const ListNode *ptr_ops{}; DeclaratorAST *sub_declarator{}; NameAST *id{}; @@ -385,6 +384,8 @@ struct DeclaratorAST: public AST const ListNode *fun_cv{}; ExceptionSpecificationAST *exception_spec{}; bool _override{}; + bool packedParameter{}; + ValueReferenceEnum valueRef{ UnspecifiedRef }; }; struct DeleteExpressionAST: public ExpressionAST @@ -420,6 +421,7 @@ struct EnumSpecifierAST: public TypeSpecifierAST NameAST *name{}; const ListNode *enumerators{}; + bool is_enum_class{}; }; struct EnumeratorAST: public AST @@ -710,6 +712,7 @@ struct SimpleTypeSpecifierAST: public TypeSpecifierAST TypeIdAST *type_id{}; ExpressionAST *expression{}; NameAST *name{}; + bool is_auto{}; }; struct SizeofExpressionAST: public ExpressionAST @@ -749,6 +752,7 @@ struct TemplateArgumentAST: public AST TypeIdAST *type_id{}; ExpressionAST *expression{}; + bool variadic{}; }; struct TemplateDeclarationAST: public DeclarationAST diff --git a/generator/parser/binder.cpp b/generator/parser/binder.cpp index 6f0e2adb..cfc8d3bb 100644 --- a/generator/parser/binder.cpp +++ b/generator/parser/binder.cpp @@ -365,6 +365,15 @@ void Binder::visitFunctionDefinition(FunctionDefinitionAST *node) Q_ASSERT(node->init_declarator != 0); ScopeModelItem scope = currentScope(); + bool friendWithDefinition = false; + + if (hasFriendSpecifier(node->storage_specifiers) && ast_cast(node)) + { + // check if this function declaration is a "friend" function with implementation body. + // In this case we modify the scope, and remove the "friend" flag later on. + friendWithDefinition = true; + scope = model_static_cast(_M_current_file); + } InitDeclaratorAST *init_declarator = node->init_declarator; DeclaratorAST *declarator = init_declarator->declarator; @@ -384,6 +393,13 @@ void Binder::visitFunctionDefinition(FunctionDefinitionAST *node) } CodeModelFinder finder(model(), this); + if (declarator->valueRef == DeclaratorAST::Rvalue) + { + // rvalue reference methods are ignored, since we can't use them for the wrappers + // (there is usually also a method with lvalue reference binding) + return; + } + ScopeModelItem functionScope = finder.resolveScope(declarator->id, scope); if (! functionScope) { @@ -404,6 +420,12 @@ void Binder::visitFunctionDefinition(FunctionDefinitionAST *node) // << qPrintable(name_cc.name()) << std::endl; return; } + if (p.packedParameter) { + //warnHere(); + //std::cerr << "** Skipping function with packed parameter: " + // << qPrintable(name_cc.name()) << std::endl; + return; + } } Q_ASSERT(! decl_cc.id().isEmpty()); @@ -437,11 +459,30 @@ void Binder::visitFunctionDefinition(FunctionDefinitionAST *node) model_static_cast(_M_current_function)->setVirtual(true); } + if (friendWithDefinition) + { + // unset the friend flag, as we treat this like a stand-alone function definition + _M_current_function->setFriend(false); + // also set the access policy to public, just in case + _M_current_function->setAccessPolicy(CodeModel::Public); + } _M_current_function->setVariadics (decl_cc.isVariadics ()); foreach (DeclaratorCompiler::Parameter p, decl_cc.parameters()) { ArgumentModelItem arg = model()->create(); + + if (_M_current_class && _M_current_class->isTemplateClass()) + { + QStringList qualifiedName = p.type.qualifiedName(); + if (qualifiedName.size() == 1 && !qualifiedName.last().contains('<') && + qualifiedName.last() == _M_current_class->name().split('<').first()) + { + // Fix: add template arguments if the argument type is the current class + // name without template arguments + p.type.setQualifiedName(QStringList(_M_current_class->name())); + } + } arg->setType(qualifyType(p.type, functionScope->qualifiedName())); arg->setName(p.name); arg->setDefaultValue(p.defaultValue); @@ -767,6 +808,7 @@ void Binder::visitEnumSpecifier(EnumSpecifierAST *node) _M_current_enum = model()->create(); _M_current_enum->setAccessPolicy(_M_current_access); + _M_current_enum->setEnumClass(node->is_enum_class); updateItemPosition (_M_current_enum->toItem(), node); _M_current_enum->setName(name); _M_current_enum->setScope(enumScope->qualifiedName()); @@ -827,7 +869,7 @@ void Binder::visitQEnums(QEnumsAST *node) //if (node->isQEnum) { // std::cout << enum_list.at(i).toLatin1().constData() << std::endl; //} - scope->addEnumsDeclaration(enum_list.at(i)); + scope->addQEnumDeclaration(enum_list.at(i)); } } @@ -850,6 +892,24 @@ void Binder::warnHere() const } } +bool Binder::hasFriendSpecifier(const ListNode* it) +{ + if (it == 0) + return false; + + it = it->toFront(); + const ListNode* end = it; + + do + { + if (decode_token(it->element) == Token_friend) { + return true; + } + it = it->next; + } while (it != end); + return false; +} + void Binder::applyStorageSpecifiers(const ListNode *it, MemberModelItem item) { if (it == 0) @@ -904,6 +964,10 @@ void Binder::applyFunctionSpecifiers(const ListNode *it, FunctionMo default: break; + case Token_constexpr: + item->setConstexpr(true); + break; + case Token_inline: item->setInline(true); break; diff --git a/generator/parser/binder.h b/generator/parser/binder.h index e39210f8..92209239 100644 --- a/generator/parser/binder.h +++ b/generator/parser/binder.h @@ -104,6 +104,7 @@ class Binder: protected DefaultVisitor void declare_symbol(SimpleDeclarationAST *node, InitDeclaratorAST *init_declarator); + bool hasFriendSpecifier(const ListNode* it); void applyStorageSpecifiers(const ListNode *storage_specifiers, MemberModelItem item); void applyFunctionSpecifiers(const ListNode *it, FunctionModelItem item); diff --git a/generator/parser/codemodel.cpp b/generator/parser/codemodel.cpp index d2b8523d..52b1f33e 100644 --- a/generator/parser/codemodel.cpp +++ b/generator/parser/codemodel.cpp @@ -142,7 +142,6 @@ TypeInfo TypeInfo::combine (const TypeInfo &__lhs, const TypeInfo &__rhs) TypeInfo __result = __lhs; __result.setConstant (__result.isConstant () || __rhs.isConstant ()); - __result.setConstexpr (__result.isConstexpr () || __rhs.isConstexpr ()); __result.setVolatile (__result.isVolatile () || __rhs.isVolatile ()); __result.setMutable (__result.isMutable () || __rhs.isMutable ()); __result.setReference (__result.isReference () || __rhs.isReference ()); @@ -176,7 +175,7 @@ TypeInfo TypeInfo::resolveType (TypeInfo const &__type, CodeModelItem __scope) return otherType; } -QString TypeInfo::toString() const +QString TypeInfo::toString(bool parsable) const { QString tmp; @@ -184,14 +183,13 @@ QString TypeInfo::toString() const if (isConstant()) tmp += QLatin1String(" const"); - if (isConstexpr()) - tmp += QLatin1String(" constexpr"); + if (!parsable) { + if (isVolatile()) + tmp += QLatin1String(" volatile"); - if (isVolatile()) - tmp += QLatin1String(" volatile"); - - if (isMutable()) - tmp += QLatin1String(" mutable"); + if (isMutable()) + tmp += QLatin1String(" mutable"); + } if (indirections()) tmp += QString(indirections(), QLatin1Char('*')); @@ -209,7 +207,7 @@ QString TypeInfo::toString() const if (i != 0) tmp += QLatin1String(", "); - tmp += m_arguments.at(i).toString(); + tmp += m_arguments.at(i).toString(parsable); } tmp += QLatin1String(")"); } @@ -431,9 +429,9 @@ FunctionList _ScopeModelItem::functions() const return _M_functions.values(); } -void _ScopeModelItem::addEnumsDeclaration(const QString &enumsDeclaration) +void _ScopeModelItem::addQEnumDeclaration(const QString &qEnumDeclaration) { - _M_enumsDeclarations << enumsDeclaration; + _M_qEnumDeclarations.insert(qEnumDeclaration); } FunctionDefinitionList _ScopeModelItem::functionDefinitions() const diff --git a/generator/parser/codemodel.h b/generator/parser/codemodel.h index 71d8ed5b..867e368c 100644 --- a/generator/parser/codemodel.h +++ b/generator/parser/codemodel.h @@ -51,6 +51,7 @@ #include #include #include +#include #define DECLARE_MODEL_NODE(k) \ enum { __node_kind = Kind_##k }; \ @@ -132,9 +133,6 @@ struct TypeInfo bool isConstant() const { return m_flags.m_constant; } void setConstant(bool is) { m_flags.m_constant = is; } - bool isConstexpr() const { return m_flags.m_constexpr; } - void setConstexpr(bool is) { m_flags.m_constexpr = is; } - bool isVolatile() const { return m_flags.m_volatile; } void setVolatile(bool is) { m_flags.m_volatile = is; } @@ -165,7 +163,7 @@ struct TypeInfo // ### arrays and templates?? - QString toString() const; + QString toString(bool parsable = false) const; static TypeInfo combine (const TypeInfo &__lhs, const TypeInfo &__rhs); static TypeInfo resolveType (TypeInfo const &__type, CodeModelItem __scope); @@ -310,8 +308,8 @@ class _ScopeModelItem: public _CodeModelItem TypeAliasModelItem findTypeAlias(const QString &name) const; VariableModelItem findVariable(const QString &name) const; - void addEnumsDeclaration(const QString &enumsDeclaration); - QStringList enumsDeclarations() const { return _M_enumsDeclarations; } + void addQEnumDeclaration(const QString &qEnumDeclaration); + QSet qEnumDeclarations() const { return _M_qEnumDeclarations; } inline QHash classMap() const { return _M_classes; } inline QHash enumMap() const { return _M_enums; } @@ -338,7 +336,7 @@ class _ScopeModelItem: public _CodeModelItem _ScopeModelItem(const _ScopeModelItem &other); void operator = (const _ScopeModelItem &other); - QStringList _M_enumsDeclarations; + QSet _M_qEnumDeclarations; }; class _ClassModelItem: public _ScopeModelItem @@ -357,6 +355,7 @@ class _ClassModelItem: public _ScopeModelItem TemplateParameterList templateParameters() const; void setTemplateParameters(const TemplateParameterList &templateParameters); + bool isTemplateClass() const { return _M_templateParameters.size(); } bool extendsClass(const QString &name) const; @@ -678,6 +677,9 @@ class _EnumModelItem: public _CodeModelItem CodeModel::AccessPolicy accessPolicy() const; void setAccessPolicy(CodeModel::AccessPolicy accessPolicy); + bool isEnumClass() const { return _M_isEnumClass; } + void setEnumClass(bool isEnumClass) { _M_isEnumClass = isEnumClass; } + EnumeratorList enumerators() const; void addEnumerator(EnumeratorModelItem item); void removeEnumerator(EnumeratorModelItem item); @@ -691,6 +693,7 @@ class _EnumModelItem: public _CodeModelItem private: CodeModel::AccessPolicy _M_accessPolicy; EnumeratorList _M_enumerators; + bool _M_isEnumClass{}; private: _EnumModelItem(const _EnumModelItem &other); diff --git a/generator/parser/compiler_utils.cpp b/generator/parser/compiler_utils.cpp index c14f22b4..d924f26c 100644 --- a/generator/parser/compiler_utils.cpp +++ b/generator/parser/compiler_utils.cpp @@ -58,7 +58,6 @@ TypeInfo CompilerUtils::typeDescription(TypeSpecifierAST *type_specifier, Declar TypeInfo typeInfo; typeInfo.setQualifiedName (type_cc.qualifiedName ()); typeInfo.setConstant (type_cc.isConstant ()); - typeInfo.setConstexpr (type_cc.isConstexpr ()); typeInfo.setVolatile (type_cc.isVolatile ()); typeInfo.setMutable (type_cc.isMutable ()); typeInfo.setReference (decl_cc.isReference ()); diff --git a/generator/parser/declarator_compiler.cpp b/generator/parser/declarator_compiler.cpp index ac71f38f..4aaafeef 100644 --- a/generator/parser/declarator_compiler.cpp +++ b/generator/parser/declarator_compiler.cpp @@ -64,6 +64,7 @@ void DeclaratorCompiler::run(DeclaratorAST *node) _M_reference = false; _M_rvalue_reference = false; _M_variadics = false; + _M_packed_parameter = false; _M_indirection = 0; if (node) @@ -81,6 +82,7 @@ void DeclaratorCompiler::run(DeclaratorAST *node) _M_function = (node->parameter_declaration_clause != 0); if (node->parameter_declaration_clause && node->parameter_declaration_clause->ellipsis) _M_variadics = true; + _M_packed_parameter = node->packedParameter; visitNodes(this, node->ptr_ops); visit(node->parameter_declaration_clause); @@ -151,6 +153,7 @@ void DeclaratorCompiler::visitParameterDeclaration(ParameterDeclarationAST *node p.name = decl_cc.id(); p.type = CompilerUtils::typeDescription(node->type_specifier, node->declarator, _M_binder); + p.packedParameter = decl_cc.isPackedParameter(); // ignore case a single void parameter if (_M_parameters.isEmpty() && p.name.isEmpty() && p.type.toString() == "void") diff --git a/generator/parser/declarator_compiler.h b/generator/parser/declarator_compiler.h index f3d3578d..6337e1ae 100644 --- a/generator/parser/declarator_compiler.h +++ b/generator/parser/declarator_compiler.h @@ -60,9 +60,10 @@ class DeclaratorCompiler: protected DefaultVisitor TypeInfo type; QString name; QString defaultValueExpression; - bool defaultValue; + bool defaultValue{}; + bool packedParameter{}; - Parameter(): defaultValue(false) {} + Parameter() {} }; public: @@ -76,6 +77,7 @@ class DeclaratorCompiler: protected DefaultVisitor inline bool isVariadics() const { return _M_variadics; } inline bool isReference() const { return _M_reference; } inline bool isRvalueReference() const { return _M_rvalue_reference; } + inline bool isPackedParameter() const { return _M_packed_parameter; } inline int indirection() const { return _M_indirection; } inline QList parameters() const { return _M_parameters; } @@ -91,6 +93,7 @@ class DeclaratorCompiler: protected DefaultVisitor bool _M_reference; bool _M_rvalue_reference; bool _M_variadics; + bool _M_packed_parameter; int _M_indirection; QString _M_id; QStringList _M_array; diff --git a/generator/parser/lexer.cpp b/generator/parser/lexer.cpp index db614ad1..c2b59288 100644 --- a/generator/parser/lexer.cpp +++ b/generator/parser/lexer.cpp @@ -1426,6 +1426,18 @@ void Lexer::scanKeyword7() { switch (*cursor) { + case 'a': + if (*(cursor + 1) == 'l' && + *(cursor + 2) == 'i' && + *(cursor + 3) == 'g' && + *(cursor + 4) == 'n' && + *(cursor + 5) == 'a' && + *(cursor + 6) == 's') + { + token_stream[(int)index++].kind = Token_alignas; + return; + } + break; case 'd': if (*(cursor + 1) == 'e' && *(cursor + 2) == 'f' && diff --git a/generator/parser/name_compiler.cpp b/generator/parser/name_compiler.cpp index 1b70b879..7e136b4d 100644 --- a/generator/parser/name_compiler.cpp +++ b/generator/parser/name_compiler.cpp @@ -127,12 +127,6 @@ void NameCompiler::visitTemplateArgument(TemplateArgumentAST *node) if (type_cc.isConstant()) _M_name.last() += "const "; - /* An id can't be 'constexpr' but it may have a function type in which - * case constexpr could appear. - */ - if (type_cc.isConstexpr()) - _M_name.last() += "constexpr "; - QStringList q = type_cc.qualifiedName (); if (q.count () == 1) diff --git a/generator/parser/parser.cpp b/generator/parser/parser.cpp index bdf39f76..b115aeb5 100644 --- a/generator/parser/parser.cpp +++ b/generator/parser/parser.cpp @@ -230,6 +230,61 @@ void Parser::keepTrackDebug() #endif } +bool Parser::skipAlignas() +{ + // we are currently not interested in alignas, so we just skip it + if (token_stream.lookAhead() == Token_alignas) + { + nextToken(); + if (token_stream.lookAhead() == '(') + { + if (skip('(', ')')) + { + nextToken(); + } + } + return true; + } + return false; +} + +bool Parser::skipAttributes() +{ + bool any = false; + while (true) { + if (token_stream.lookAhead() == Token___attribute__) + { + parse_Attribute__(); + any = true; + } + else if (token_stream.lookAhead() == '[' && token_stream.lookAhead(1) == '[') + { + nextToken(); + while (true) + { + nextToken(); + int tk = token_stream.lookAhead(); + if (tk == Token_EOF) + { + break; + } + else if (tk == ']' && token_stream.lookAhead(1) == ']') // this has no separate token because "]]" can occur in other contexts + { + nextToken(); + nextToken(); + break; + } + } + any = true; + } + else + { + break; + } + } + return any; +} + bool Parser::skipUntil(int token) { while (token_stream.lookAhead()) @@ -385,7 +440,10 @@ bool Parser::parseName(NameAST *&node, bool acceptTemplateId) std::size_t start = token_stream.cursor(); WinDeclSpecAST *winDeclSpec = 0; - parseWinDeclSpec(winDeclSpec); + while (skipAlignas() || (!winDeclSpec && parseWinDeclSpec(winDeclSpec))) + { + ; + } NameAST *ast = CreateNode(_M_pool); @@ -400,7 +458,7 @@ bool Parser::parseName(NameAST *&node, bool acceptTemplateId) while (true) { UnqualifiedNameAST *n = 0; - if (!parseUnqualifiedName(n)) + if (!parseUnqualifiedName(n, acceptTemplateId)) return false; if (token_stream.lookAhead() == Token_scope) @@ -419,12 +477,6 @@ bool Parser::parseName(NameAST *&node, bool acceptTemplateId) else { Q_ASSERT(n != 0); - if (!acceptTemplateId) - { - rewind(n->start_token); - parseUnqualifiedName(n, false); - } - ast->unqualified_name = n; break; } @@ -511,15 +563,25 @@ bool Parser::parseDeclaration(DeclarationAST *&node) case Token_export: return parseTemplateDeclaration(node); + case Token_inline: + if (token_stream.lookAhead(1) == Token_namespace) + { + nextToken(); + // handle like a normal namespace for now + return parseNamespace(node); + } + // else fallthrough default: { - const ListNode *cv = 0; - parseCvQualify(cv); - - const ListNode *storageSpec = 0; - parseStorageClassSpecifier(storageSpec); + skipAttributes(); - parseCvQualify(cv); + const ListNode *cv = 0; + const ListNode* storageSpec = 0; + // consume all qualifiers/specifiers + while (parseCvQualify(cv) || parseStorageClassSpecifier(storageSpec)) + { + ; + } TypeSpecifierAST *spec = 0; if (parseEnumSpecifier(spec) @@ -702,7 +764,7 @@ bool Parser::parseUsing(DeclarationAST *&node) nextToken(); } - if (!parseName(ast->name)) + if (!parseName(ast->name, /*acceptTemplateId=*/true)) return false; ADVANCE(';', ";"); @@ -1014,6 +1076,15 @@ bool Parser::parseOperator(OperatorAST *&node) ast->close = token_stream.cursor(); nextToken(); } + else if (token_stream.lookAhead() == Token_string_literal + && token_stream.lookAhead(1) == Token_identifier) + { + // string literal operator + ast->op = token_stream.cursor(); + nextToken(); + // skip string literal suffix for now + nextToken(); + } else { return false; @@ -1032,7 +1103,7 @@ bool Parser::parseCvQualify(const ListNode *&node) int tk; while (0 != (tk = token_stream.lookAhead()) - && (tk == Token_const || tk == Token_constexpr || + && (tk == Token_const || tk == Token_volatile || tk == Token_mutable)) { node = snoc(node, token_stream.cursor(), _M_pool); @@ -1081,6 +1152,11 @@ bool Parser::parseSimpleTypeSpecifier(TypeSpecifierAST *&node, { ast->integrals = integrals; } + else if (token_stream.lookAhead() == Token_auto) + { + nextToken(); + ast->is_auto = true; + } else if (token_stream.lookAhead() == Token___typeof || token_stream.lookAhead() == Token_decltype) { @@ -1097,7 +1173,7 @@ bool Parser::parseSimpleTypeSpecifier(TypeSpecifierAST *&node, { ast->type_id = 0; rewind(saved); - parseUnaryExpression(ast->expression); + parseConditionalExpression(ast->expression); } ADVANCE(')', ")"); } @@ -1113,6 +1189,10 @@ bool Parser::parseSimpleTypeSpecifier(TypeSpecifierAST *&node, } else { + if (token_stream.lookAhead() == Token_typename) + { + nextToken(); // simply skip for now + } if (!parseName(ast->name, true)) { ast->name = 0; @@ -1182,6 +1262,7 @@ bool Parser::parseTemplateArgument(TemplateArgumentAST *&node) ExpressionAST *expr = 0; if (!parseTypeId(typeId) || (token_stream.lookAhead() != ',' + && token_stream.lookAhead() != Token_ellipsis && token_stream.lookAhead() != '>' && token_stream.lookAhead() != Token_shift_right)) { @@ -1195,6 +1276,11 @@ bool Parser::parseTemplateArgument(TemplateArgumentAST *&node) ast->type_id = typeId; ast->expression = expr; + if (token_stream.lookAhead() == Token_ellipsis) { + nextToken(); + ast->variadic = true; + } + UPDATE_POS(ast, start, token_stream.cursor()); node = ast; @@ -1205,6 +1291,8 @@ bool Parser::parseTypeSpecifier(TypeSpecifierAST *&node) { std::size_t start = token_stream.cursor(); + skipAttributes(); + const ListNode *cv = 0; parseCvQualify(cv); @@ -1223,7 +1311,7 @@ bool Parser::parseTypeSpecifier(TypeSpecifierAST *&node) return true; } -bool Parser::parseDeclarator(DeclaratorAST *&node) +bool Parser::parseDeclarator(DeclaratorAST *&node, bool asParameter) { std::size_t start = token_stream.cursor(); @@ -1255,14 +1343,23 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) { // unnamed bitfield } - else if (parseName(declId, true)) - { - ast->id = declId; - } else { - rewind(start); - return false; + if (asParameter && token_stream.lookAhead() == Token_ellipsis) + { + // parameter pack + nextToken(); + ast->packedParameter = true; + } + if (parseName(declId, true)) + { + ast->id = declId; + } + else + { + rewind(start); + return false; + } } if (token_stream.lookAhead() == ':') @@ -1312,53 +1409,27 @@ bool Parser::parseDeclarator(DeclaratorAST *&node) return false; } - std::size_t index = token_stream.cursor(); - if (token_stream.lookAhead() == '(') + if (parseDeclaratorParametersAndSuffix(ast)) { + + if (token_stream.lookAhead() == Token_identifier && + token_stream.symbol(token_stream.cursor())->as_string() == "override") { nextToken(); - - ParameterDeclarationClauseAST *params = 0; - if (!parseParameterDeclarationClause(params)) - { - rewind(index); - goto update_pos; - } - - ast->parameter_declaration_clause = params; - - if (token_stream.lookAhead() != ')') - { - rewind(index); - goto update_pos; - } - - nextToken(); // skip ')' - - parseCvQualify(ast->fun_cv); - parseExceptionSpecification(ast->exception_spec); - if (token_stream.lookAhead() == Token_identifier) { - const NameSymbol *name_symbol = token_stream.symbol(token_stream.cursor()); - QString name = name_symbol->as_string(); - if (name == "override") { - nextToken(); - ast->_override = true; - } - } - if (token_stream.lookAhead() == Token___attribute__) - { - parse_Attribute__(); - } + ast->_override = true; } + skipAttributes(); - if (skipParen) + if (skipParen) { if (token_stream.lookAhead() != ')') - { - reportError(("')' expected")); - } + { + reportError(("')' expected")); + } else nextToken(); } + + } } update_pos: @@ -1438,31 +1509,7 @@ bool Parser::parseAbstractDeclarator(DeclaratorAST *&node) return false; } - int index = (int) token_stream.cursor(); - if (token_stream.lookAhead() == '(') - { - nextToken(); - - ParameterDeclarationClauseAST *params = 0; - if (!parseParameterDeclarationClause(params)) - { - rewind(index); - goto update_pos; - } - - ast->parameter_declaration_clause = params; - - if (token_stream.lookAhead() != ')') - { - rewind(index); - goto update_pos; - } - - nextToken(); // skip ')' - - parseCvQualify(ast->fun_cv); - parseExceptionSpecification(ast->exception_spec); - } + parseDeclaratorParametersAndSuffix(ast); } update_pos: @@ -1475,14 +1522,57 @@ bool Parser::parseAbstractDeclarator(DeclaratorAST *&node) return true; } +bool Parser::parseDeclaratorParametersAndSuffix(DeclaratorAST* ast) +{ + std::size_t index = token_stream.cursor(); + if (token_stream.lookAhead() == '(') + { + nextToken(); + + ParameterDeclarationClauseAST* params = 0; + if (!parseParameterDeclarationClause(params)) + { + rewind(index); + return false; + } + + ast->parameter_declaration_clause = params; + + if (token_stream.lookAhead() != ')') + { + rewind(index); + return false; + } + + nextToken(); // skip ')' + + parseCvQualify(ast->fun_cv); + if (token_stream.lookAhead() == '&') + { + ast->valueRef = DeclaratorAST::Lvalue; + nextToken(); + } + else if (token_stream.lookAhead() == Token_and) + { + ast->valueRef = DeclaratorAST::Rvalue; + nextToken(); + } + parseExceptionSpecification(ast->exception_spec); + return true; + } + return false; +} + bool Parser::parseEnumSpecifier(TypeSpecifierAST *&node) { std::size_t start = token_stream.cursor(); CHECK(Token_enum); + bool enum_class{}; if (token_stream.lookAhead() == Token_class) { + enum_class = true; nextToken(); } @@ -1509,6 +1599,7 @@ bool Parser::parseEnumSpecifier(TypeSpecifierAST *&node) EnumSpecifierAST *ast = CreateNode(_M_pool); ast->name = name; + ast->is_enum_class = enum_class; EnumeratorAST *enumerator = 0; if (parseEnumerator(enumerator)) @@ -1699,7 +1790,8 @@ bool Parser::parseStorageClassSpecifier(const ListNode *&node) int tk; while (0 != (tk = token_stream.lookAhead()) - && (tk == Token_friend || tk == Token_auto + && (tk == Token_friend + // || tk == Token_auto // I believe "auto" isn't used as storage class specifier in Qt, and it collides with the type-specifier of the same name || tk == Token_register || tk == Token_static || tk == Token_extern)) { @@ -1716,7 +1808,7 @@ bool Parser::parseFunctionSpecifier(const ListNode *&node) int tk; while (0 != (tk = token_stream.lookAhead()) - && (tk == Token_inline || tk == Token_virtual + && (tk == Token_constexpr || tk == Token_inline || tk == Token_virtual || tk == Token_explicit || tk == Token_Q_INVOKABLE)) { node = snoc(node, token_stream.cursor(), _M_pool); @@ -1860,7 +1952,7 @@ bool Parser::parseParameterDeclaration(ParameterDeclarationAST *&node) int index = (int) token_stream.cursor(); DeclaratorAST *decl = 0; - if (!parseDeclarator(decl)) + if (!parseDeclarator(decl, /*asParameter=*/true)) { rewind(index); @@ -1983,10 +2075,9 @@ bool Parser::parseClassSpecifier(TypeSpecifierAST *&node) nextToken(); WinDeclSpecAST *winDeclSpec = 0; - parseWinDeclSpec(winDeclSpec); - - if (token_stream.lookAhead() == Token___attribute__) { - parse_Attribute__(); + while (skipAttributes() || skipAlignas() || (!winDeclSpec && parseWinDeclSpec(winDeclSpec))) + { + ; } while (token_stream.lookAhead() == Token_identifier @@ -2136,12 +2227,12 @@ bool Parser::parseMemberSpecification(DeclarationAST *&node) rewind(start); const ListNode *cv = 0; - parseCvQualify(cv); - - const ListNode *storageSpec = 0; - parseStorageClassSpecifier(storageSpec); - - parseCvQualify(cv); + const ListNode* storageSpec = 0; + // consume all qualifiers/specifiers + while (parseCvQualify(cv) || parseStorageClassSpecifier(storageSpec)) + { + ; + } TypeSpecifierAST *spec = 0; if (parseEnumSpecifier(spec) || parseClassSpecifier(spec)) @@ -3195,12 +3286,12 @@ bool Parser::parseBlockDeclaration(DeclarationAST *&node) std::size_t start = token_stream.cursor(); const ListNode *cv = 0; - parseCvQualify(cv); - const ListNode *storageSpec = 0; - parseStorageClassSpecifier(storageSpec); - - parseCvQualify(cv); + // consume all qualifiers/specifiers + while (parseCvQualify(cv) || parseStorageClassSpecifier(storageSpec)) + { + ; + } TypeSpecifierAST *spec = 0; if (!parseTypeSpecifierOrClassSpec(spec)) @@ -3283,28 +3374,21 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) // that is for the case '__declspec(dllexport) int ...' or // '__declspec(dllexport) inline int ...', etc. WinDeclSpecAST *winDeclSpec = 0; - parseWinDeclSpec(winDeclSpec); - const ListNode* cv = 0; - parseCvQualify(cv); - - const ListNode *funSpec = 0; - bool hasFunSpec = parseFunctionSpecifier(funSpec); - - if (!cv) - parseCvQualify(cv); - - const ListNode *storageSpec = 0; - bool hasStorageSpec = parseStorageClassSpecifier(storageSpec); - - if (hasStorageSpec && !hasFunSpec) - hasFunSpec = parseFunctionSpecifier(funSpec); - - // that is for the case 'friend __declspec(dllexport) ....' - parseWinDeclSpec(winDeclSpec); - - if (!cv) - parseCvQualify(cv); + const ListNode* funSpec = 0; + const ListNode* storageSpec = 0; + // since it seems that the various specifiers can come in almost any order, + // so just consume then until no specifiers are left. + // Luckily the parse methods can be called multiple times, they just add to existing nodes. + while (skipAttributes() || + skipAlignas() || + (!winDeclSpec && parseWinDeclSpec(winDeclSpec)) || + parseCvQualify(cv) || + parseFunctionSpecifier(funSpec) || + parseStorageClassSpecifier(storageSpec)) + { + ; + } int index = (int) token_stream.cursor(); NameAST *name = 0; @@ -3394,8 +3478,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) start_decl: rewind(index); - if ((token_stream.lookAhead() == Token_const || - token_stream.lookAhead() == Token_constexpr) + if (token_stream.lookAhead() == Token_const && token_stream.lookAhead(1) == Token_identifier && token_stream.lookAhead(2) == '=') { @@ -3428,8 +3511,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) { Q_ASSERT(spec != 0); - if (!hasFunSpec) - parseFunctionSpecifier(funSpec); // e.g. "void inline" + parseFunctionSpecifier(funSpec); // e.g. "void inline" spec->cv = cv; @@ -3440,7 +3522,7 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) if (token_stream.lookAhead() != ';') { - if (parseInitDeclarator(decl) && token_stream.lookAhead() == '{') + if (parseInitDeclarator(decl) && (token_stream.lookAhead() == '{' || token_stream.lookAhead() == Token_arrow)) { // function definition maybeFunctionDefinition = true; @@ -3456,6 +3538,18 @@ bool Parser::parseDeclarationInternal(DeclarationAST *&node) } } + if (token_stream.lookAhead() == Token_arrow) { + // trailing return type, used in conjuction with "auto" return type + nextToken(); + TypeSpecifierAST* trailingReturnTypeSpec = 0; + if (!parseTypeSpecifier(trailingReturnTypeSpec)) { + // todo: replace "auto" return type? But I doubt we can handle these return types anyway. + syntaxError(); + return false; + } + maybeFunctionDefinition = true; + } + switch(token_stream.lookAhead()) { case ';': @@ -3624,6 +3718,7 @@ bool Parser::parsePrimaryExpression(ExpressionAST *&node) parseStringLiteral(ast->literal); break; + case Token_ellipsis: // "..." can occur in constexpr of variadic templates case Token_number_literal: case Token_char_literal: case Token_true: @@ -3650,8 +3745,19 @@ bool Parser::parsePrimaryExpression(ExpressionAST *&node) CHECK(')'); break; + case '{': + nextToken(); + + // support for new-style initializers + if (token_stream.lookAhead() != '}' && !parseExpression(ast->sub_expression)) { + return false; + } + + CHECK('}'); + break; + default: - if (!parseName(ast->name)) + if (!parseName(ast->name, true)) // this can also be a template return false; break; @@ -3887,11 +3993,19 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) L_no_rewind: if (!expr && parseSimpleTypeSpecifier(typeSpec) - && token_stream.lookAhead() == '(') + && (token_stream.lookAhead() == '(' || token_stream.lookAhead() == '{')) { - nextToken(); // skip '(' + int tk = token_stream.lookAhead(); + nextToken(); // skip '(' or '{' parseCommaExpression(expr); - CHECK(')'); + if (tk == '(') + { + CHECK(')'); + } + else + { + CHECK('}'); + } } else if (expr) { @@ -3902,7 +4016,24 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) typeSpec = 0; rewind(start); - if (!parsePrimaryExpression(expr)) + if (token_stream.lookAhead() == Token_noexcept) + { + nextToken(); + CHECK('('); + ExpressionAST* arg_expr = 0; + if (!parseExpression(arg_expr)) + { + return false; + } + CHECK(')'); + + // make noexcept() in expressions an unary expression + UnaryExpressionAST* ast = CreateNode(_M_pool); + ast->op = start; + ast->expression = arg_expr; + expr = ast; + } + else if (!parsePrimaryExpression(expr)) return false; } @@ -3925,6 +4056,12 @@ bool Parser::parsePostfixExpression(ExpressionAST *&node) else node = expr; + if (token_stream.lookAhead() == Token_ellipsis) { + // ignore ellipsis, it might be something like "Pair...", which might appear + // in template arguments of variadic templates + nextToken(); + } + return true; } @@ -3964,6 +4101,12 @@ bool Parser::parseUnaryExpression(ExpressionAST *&node) std::size_t sizeof_token = token_stream.cursor(); nextToken(); + if (token_stream.lookAhead() == Token_ellipsis) { + // sizeof... is used on parameter packs - currently we ignore this + // todo: handle this + nextToken(); + } + SizeofExpressionAST *ast = CreateNode(_M_pool); ast->sizeof_token = sizeof_token; @@ -4673,18 +4816,14 @@ bool Parser::parseQ_ENUM(DeclarationAST *&node) bool Parser::parseQ_PROPERTY(DeclarationAST *&node) { - if (token_stream.lookAhead() != Token_Q_PROPERTY) + if (token_stream.lookAhead() != Token_Q_PROPERTY || token_stream.lookAhead(1) != '(') return false; - if (token_stream.lookAhead(1) != '(') - return false; - - nextToken(); nextToken(); - size_t firstToken = token_stream.cursor(); - while (token_stream.lookAhead() != ')') { - nextToken(); + size_t firstToken = token_stream.cursor()+1; + if (!skip('(', ')')) { + return false; } QPropertyAST *ast = CreateNode(_M_pool); UPDATE_POS(ast, firstToken, token_stream.cursor()); diff --git a/generator/parser/parser.h b/generator/parser/parser.h index 92d87ed3..fdec18dc 100644 --- a/generator/parser/parser.h +++ b/generator/parser/parser.h @@ -93,7 +93,8 @@ class Parser bool parseDeclaration(DeclarationAST *&node); bool parseDeclarationInternal(DeclarationAST *&node); bool parseDeclarationStatement(StatementAST *&node); - bool parseDeclarator(DeclaratorAST *&node); + bool parseDeclarator(DeclaratorAST *&node, bool asParameter = false); + bool parseDeclaratorParametersAndSuffix(DeclaratorAST* node); bool parseDeleteExpression(ExpressionAST *&node); bool parseDoStatement(StatementAST *&node); bool parseElaboratedTypeSpecifier(TypeSpecifierAST *&node); @@ -185,6 +186,8 @@ class Parser bool parseQ_ENUMS(DeclarationAST *&node); bool parseQ_ENUM(DeclarationAST *&node); + bool skipAlignas(); + bool skipAttributes(); bool skipUntil(int token); bool skipUntilDeclaration(); bool skipUntilStatement(); diff --git a/generator/parser/rpp/pp-engine-bits.h b/generator/parser/rpp/pp-engine-bits.h index 550e5bfa..09ae2521 100644 --- a/generator/parser/rpp/pp-engine-bits.h +++ b/generator/parser/rpp/pp-engine-bits.h @@ -1070,9 +1070,7 @@ InputIterator pp::eval_expression (InputIterator _first, InputIterator _last, Va } template -InputIterator pp::handle_if (InputIterator _first, InputIterator _last) -{ - if (test_if_level()) +std::string pp::expand_condition(InputIterator _first, InputIterator _last) { pp_macro_expander expand_condition (env); std::string condition; @@ -1083,10 +1081,19 @@ InputIterator pp::handle_if (InputIterator _first, InputIterator _last) const char* first = condition.c_str (); const char* last = first + condition.size (); expand_condition (skip_blanks (first, last), last, std::back_inserter (condition2ndpass)); + return condition2ndpass; +} + +template +InputIterator pp::handle_if (InputIterator _first, InputIterator _last) +{ + if (test_if_level()) + { + std::string condition = expand_condition(_first, _last); Value result; result.set_long (0); - eval_expression(condition2ndpass.c_str (), condition2ndpass.c_str () + condition2ndpass.size (), &result); + eval_expression(condition.c_str (), condition.c_str () + condition.size (), &result); _M_true_test[iflevel] = !result.is_zero (); _M_skipping[iflevel] = result.is_zero (); @@ -1125,8 +1132,11 @@ InputIterator pp::handle_elif (InputIterator _first, InputIterator _last) } else if (!_M_true_test[iflevel] && !_M_skipping[iflevel - 1]) { + std::string condition = expand_condition(_first, _last); + Value result; - _first = eval_expression(_first, _last, &result); + result.set_long(0); + eval_expression(condition.c_str(), condition.c_str() + condition.size(), &result); _M_true_test[iflevel] = !result.is_zero (); _M_skipping[iflevel] = result.is_zero (); } diff --git a/generator/parser/rpp/pp-engine.h b/generator/parser/rpp/pp-engine.h index 3a7273a4..2704fa27 100644 --- a/generator/parser/rpp/pp-engine.h +++ b/generator/parser/rpp/pp-engine.h @@ -186,6 +186,9 @@ class pp template inline InputIterator eval_expression (InputIterator _first, InputIterator _last, Value *result); + template + std::string expand_condition(InputIterator _first, InputIterator _last); + template void file (std::string const &filename, OutputIterator _result); diff --git a/generator/parser/rpp/pp-macro-expander.h b/generator/parser/rpp/pp-macro-expander.h index a52182c1..14471592 100644 --- a/generator/parser/rpp/pp-macro-expander.h +++ b/generator/parser/rpp/pp-macro-expander.h @@ -71,6 +71,9 @@ class pp_macro_expander std::string const *resolve_formal (pp_fast_string const *_name) { + static const pp_fast_string va_args_name("__VA_ARGS__", 11); + static std::string empty(""); + assert (_name != 0); if (! frame) @@ -78,7 +81,10 @@ class pp_macro_expander assert (frame->expanding_macro != 0); - std::vector const formals = frame->expanding_macro->formals; + std::vector formals = frame->expanding_macro->formals; + if (frame->expanding_macro->is.variadics) + formals.push_back(&va_args_name); + for (std::size_t index = 0; index < formals.size(); ++index) { pp_fast_string const *formal = formals[index]; @@ -89,6 +95,10 @@ class pp_macro_expander else if (frame->actuals && index < frame->actuals->size()) return &(*frame->actuals)[index]; + else if (frame->expanding_macro->is.variadics && index == formals.size()-1) + // variadic argument may also be missing, replace with empty then + return ∅ + else assert (0); // internal error? } diff --git a/generator/parser/rpp/pp-qt-configuration b/generator/parser/rpp/pp-qt-configuration index 590a1426..7ac89908 100644 --- a/generator/parser/rpp/pp-qt-configuration +++ b/generator/parser/rpp/pp-qt-configuration @@ -4,6 +4,7 @@ // Qt #define QOBJECTDEFS_H +#define QTMETAMACROS_H // not yet supported #define Q_SLOTS slots @@ -24,3 +25,9 @@ #define QT_NO_DEBUG #define QT_JAMBI_RUN + +// Qt6 +#define Q_NAMESPACE_EXPORT(...) +#define Q_ENUM_NS(x) +#define Q_FLAG_NS(x) +#define Q_MOC_INCLUDE(...) diff --git a/generator/parser/tokens.cpp b/generator/parser/tokens.cpp index a7b8d0c6..02e02fc7 100644 --- a/generator/parser/tokens.cpp +++ b/generator/parser/tokens.cpp @@ -51,6 +51,7 @@ static char const * const _S_token_names[] = { "Q_PROPERTY", "__attribute__", "__typeof", + "alignas", "and", "and_eq", "arrow", diff --git a/generator/parser/tokens.h b/generator/parser/tokens.h index 416e0a9a..edc6221f 100644 --- a/generator/parser/tokens.h +++ b/generator/parser/tokens.h @@ -52,6 +52,7 @@ enum TOKEN_KIND Token_Q_PROPERTY, Token___attribute__, Token___typeof, + Token_alignas, Token_and, Token_and_eq, Token_arrow, diff --git a/generator/parser/type_compiler.cpp b/generator/parser/type_compiler.cpp index 5c506386..a03ef979 100644 --- a/generator/parser/type_compiler.cpp +++ b/generator/parser/type_compiler.cpp @@ -132,11 +132,6 @@ bool TypeCompiler::isConstant() const return _M_cv.contains(Token_const); } -bool TypeCompiler::isConstexpr() const -{ - return _M_cv.contains(Token_constexpr); -} - bool TypeCompiler::isVolatile() const { return _M_cv.contains(Token_volatile); diff --git a/generator/parser/type_compiler.h b/generator/parser/type_compiler.h index 6b706f50..b6ea6915 100644 --- a/generator/parser/type_compiler.h +++ b/generator/parser/type_compiler.h @@ -61,7 +61,6 @@ class TypeCompiler: protected DefaultVisitor inline QList cv() const { return _M_cv; } bool isConstant() const; - bool isConstexpr() const; bool isVolatile() const; bool isMutable() const; diff --git a/generator/qtscript_masterinclude.h b/generator/qtscript_masterinclude.h index 10f9319b..8c0da0b8 100644 --- a/generator/qtscript_masterinclude.h +++ b/generator/qtscript_masterinclude.h @@ -93,6 +93,12 @@ // don't need this: #define Q_REVISION(v) +#define Q_DECLARE_OPERATORS_FOR_FLAGS(x) + +#include + +// parse still stumbles over this declaration +#define QT_DECL_METATYPE_EXTERN_TAGGED(TYPE, TAG, EXPORT) #include #include @@ -101,6 +107,10 @@ #include #include +#if QT_VERSION >= 0x060000 +#include +#endif + #include #if QT_VERSION >= 0x050000 @@ -117,9 +127,11 @@ #include #endif +#if QT_VERSION < 0x060000 #ifndef QT_NO_XMLPATTERNS # include #endif +#endif #ifndef QT_NO_WEBKIT # include @@ -1222,4 +1234,8 @@ #define GL_LOGIC_OP GL_INDEX_LOGIC_OP #define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT #include +#if QT_VERSION >= 0x060000 +#include +#endif + #endif // QT_NO_OPENGL diff --git a/generator/setupgenerator.cpp b/generator/setupgenerator.cpp index f7eb31d0..e22c6325 100644 --- a/generator/setupgenerator.cpp +++ b/generator/setupgenerator.cpp @@ -52,10 +52,6 @@ void SetupGenerator::addClass(const QString& package, const AbstractMetaClass *c packHash[package].append(cls); } -void maybeDeclareMetaType(QTextStream &stream, const QString &typeName, - QSet ®isteredTypeNames); -bool hasDefaultConstructor(const AbstractMetaClass *meta_class); - static QStringList getOperatorCodes(const AbstractMetaClass* cls) { QSet operatorCodes; AbstractMetaFunctionList returned; @@ -247,34 +243,11 @@ void SetupGenerator::generate() continue; std::stable_sort(list.begin(), list.end(), AbstractMetaClass::less_than); - QString packKey = pack.key(); - QString packName = pack.key(); - QStringList components = packName.split("_"); - if ((components.size() > 2) && (components.at(0) == "com") - && (components.at(1) == "trolltech")) { - // kill com.trolltech in key - components.removeAt(0); - components.removeAt(0); - } - - QString shortPackName; - foreach (QString comp, components) { - comp[0] = comp[0].toUpper(); - shortPackName += comp; - } - // add missing camel case (workaround..) - if (shortPackName == "QtWebkit") { - shortPackName = "QtWebKit"; - } else if (shortPackName == "QtXmlpatterns") { - shortPackName = "QtXmlPatterns"; - } else if (shortPackName == "QtWebenginewidgets") { - shortPackName = "QtWebEngineWidgets"; - } else if (shortPackName == "QtOpengl") { - shortPackName = "QtOpenGL"; - } else if (shortPackName == "QtUitools") { - shortPackName = "QtUiTools"; - } - + QString packKey = ShellGenerator::toFileNameBase(pack.key()); + QString packName = packKey; + QString qtPackageName = "Qt" + pack.key().split('.').back().split('_').front(); + bool isBuiltin = packKey.endsWith("_builtin"); + QString initName = qtPackageName + (isBuiltin ? "Builtin" : ""); { QString fileName(packName + "/" + packKey + "_init.cpp"); @@ -291,7 +264,7 @@ void SetupGenerator::generate() s << endl; QStringList polymorphicHandlers; - if (!packName.endsWith("_builtin")) { + if (!isBuiltin) { polymorphicHandlers = writePolymorphicHandler(s, list.at(0)->package(), classes_with_polymorphic_id, list); s << endl; } @@ -328,11 +301,7 @@ void SetupGenerator::generate() s << endl; // declare individual class creation functions - s << "void PythonQt_init_" << shortPackName << "(PyObject* module) {" << endl; - - if (shortPackName.endsWith("Builtin")) { - shortPackName = shortPackName.mid(0, shortPackName.length()-strlen("builtin")); - } + s << "void PythonQt_init_" << initName << "(PyObject* module) {" << endl; foreach (const AbstractMetaClass *cls, list) { if (cls->qualifiedCppName().contains("Ssl")) { @@ -367,10 +336,12 @@ void SetupGenerator::generate() operatorCodes = "0"; } if (cls->isQObject()) { - s << "PythonQt::priv()->registerClass(&" << cls->qualifiedCppName() << "::staticMetaObject, \"" << shortPackName <<"\", PythonQtCreateObjectname() << ">" << shellCreator << ", module, " << operatorCodes <<");" << endl; + s << "PythonQt::priv()->registerClass(&" << cls->qualifiedCppName() << "::staticMetaObject, \"" << qtPackageName <<"\", PythonQtCreateObjectname() << ">" << shellCreator << ", module, " << operatorCodes <<");" << endl; + } else if (cls->isGlobalNamespace()) { + s << "PythonQt::priv()->registerGlobalNamespace(\"" << cls->qualifiedCppName() << "\", \"" << qtPackageName << "\", PythonQtCreateObjectname() << ">, PythonQtWrapper_" << cls->name() << "::staticMetaObject, module); " << endl; } else { QString baseName = cls->baseClass()?cls->baseClass()->qualifiedCppName():""; - s << "PythonQt::priv()->registerCPPClass(\""<< cls->qualifiedCppName() << "\", \"" << baseName << "\", \"" << shortPackName <<"\", PythonQtCreateObjectname() << ">" << shellCreator << ", module, " << operatorCodes <<");" << endl; + s << "PythonQt::priv()->registerCPPClass(\""<< cls->qualifiedCppName() << "\", \"" << baseName << "\", \"" << qtPackageName <<"\", PythonQtCreateObjectname() << ">" << shellCreator << ", module, " << operatorCodes <<");" << endl; } for (AbstractMetaClass* interface : cls->interfaces()) { // the interface might be our own class... (e.g. QPaintDevice) diff --git a/generator/shellgenerator.cpp b/generator/shellgenerator.cpp index d9de72a4..0b4fa0c4 100644 --- a/generator/shellgenerator.cpp +++ b/generator/shellgenerator.cpp @@ -50,8 +50,6 @@ bool ShellGenerator::shouldGenerate(const AbstractMetaClass *meta_class) const { uint cg = meta_class->typeEntry()->codeGeneration(); - // ignore the "Global" namespace, which contains the QtMsgType enum - if (meta_class->name().startsWith("Global")) return false; return ((cg & TypeEntry::GenerateCode) != 0); } @@ -95,7 +93,7 @@ void ShellGenerator::writeTypeInfo(QTextStream &s, const AbstractMetaType *type, } if (type->instantiations().size() > 0 - && (!type->isContainer() + && (!te->isContainer() || (static_cast(te))->type() != ContainerTypeEntry::StringListContainer)) { s << '<'; QList args = type->instantiations(); @@ -125,6 +123,18 @@ void ShellGenerator::writeTypeInfo(QTextStream &s, const AbstractMetaType *type, s << ' '; } +namespace { + AbstractMetaEnum* findEnumTypeOfClass(const AbstractMetaClass* implementor, const QString& enumName) + { + for (AbstractMetaEnum* enumType : implementor->enums()) { + if (enumType->name() == enumName) { + return enumType; + } + } + return nullptr; + } +} + void ShellGenerator::writeFunctionArguments(QTextStream &s, const AbstractMetaFunction *meta_function, @@ -170,8 +180,20 @@ void ShellGenerator::writeFunctionArguments(QTextStream &s, qualifier = ((EnumTypeEntry *)arg->type()->typeEntry())->qualifier(); } else if (arg->type()->typeEntry()->isFlags() && expr.indexOf("::") < 0) { qualifier = ((FlagsTypeEntry *)arg->type()->typeEntry())->originator()->qualifier(); + } else if (_currentScope) { + int pos = expr.indexOf("::"); + if (pos > 0) { + QString typeName = expr.left(pos); + AbstractMetaEnum* enumType = findEnumTypeOfClass(_currentScope, typeName); + if (enumType && enumType->typeEntry()->isEnumClass()) { + // prepend original class name, otherwise the new enum type from the wrapper will be used, + // which is not compatible + qualifier = _currentScope->name(); + } + } } - if (!qualifier.isEmpty()) { + + if (!qualifier.isEmpty() && !expr.startsWith("{")) { s << qualifier << "::"; } } @@ -399,6 +421,13 @@ void ShellGenerator::writeInclude(QTextStream &stream, const Include &inc) stream << endl; } +const AbstractMetaClass* ShellGenerator::setCurrentScope(const AbstractMetaClass* scope) +{ + const AbstractMetaClass* previousScope = _currentScope; + _currentScope = scope; + return previousScope; +} + /*! Returns true if the given function \a fun is operator>>() or operator<<() that streams from/to a Q{Data,Text}Stream, false diff --git a/generator/shellgenerator.h b/generator/shellgenerator.h index dd383bb6..26b4c1ea 100644 --- a/generator/shellgenerator.h +++ b/generator/shellgenerator.h @@ -53,7 +53,7 @@ class ShellGenerator : public Generator public: virtual QString subDirectoryForClass(const AbstractMetaClass *cls) const { - return "generated_cpp/" + cls->package().replace(".", "_") + "/"; + return "generated_cpp/" + toFileNameBase(cls->package()) + "/"; } void writeTypeInfo(QTextStream &s, const AbstractMetaType *type, Option option = NoOption, TypeSystem::Ownership ownership = TypeSystem::InvalidOwnership); @@ -95,11 +95,19 @@ class ShellGenerator : public Generator static bool isBuiltIn(const QString& name); static bool isSpecialStreamingOperator(const AbstractMetaFunction *fun); - + + static QString toFileNameBase(QString packageName) { return packageName.replace('.', '_').toLower(); } + static void writeInclude(QTextStream &stream, const Include &inc); + // this scope is used in writeFunctionArguments + const AbstractMetaClass* setCurrentScope(const AbstractMetaClass* scope); + const AbstractMetaClass* currentScope() const { return _currentScope; } + protected: - PriGenerator *priGenerator; + PriGenerator* priGenerator{}; + + const AbstractMetaClass* _currentScope{}; }; diff --git a/generator/shellheadergenerator.cpp b/generator/shellheadergenerator.cpp index 89cd64c5..20431a83 100644 --- a/generator/shellheadergenerator.cpp +++ b/generator/shellheadergenerator.cpp @@ -100,10 +100,12 @@ static bool field_lessThan(const AbstractMetaField* a, const AbstractMetaField* void ShellHeaderGenerator::write(QTextStream& s, const AbstractMetaClass* meta_class) { + setCurrentScope(meta_class); QString builtIn = ShellGenerator::isBuiltIn(meta_class->name()) ? "_builtin" : ""; - QString pro_file_name = meta_class->package().replace(".", "_") + builtIn + "/" + meta_class->package().replace(".", "_") + builtIn + ".pri"; + QString fileBaseName = toFileNameBase(meta_class->package() + builtIn); + QString pro_file_name = fileBaseName + "/" + fileBaseName + ".pri"; priGenerator->addHeader(pro_file_name, fileNameForClass(meta_class)); - setupGenerator->addClass(meta_class->package().replace(".", "_") + builtIn, meta_class); + setupGenerator->addClass(meta_class->package() + builtIn, meta_class); QString include_block = "PYTHONQTWRAPPER_" + meta_class->name().toUpper() + "_H"; @@ -221,6 +223,11 @@ void ShellHeaderGenerator::write(QTextStream& s, const AbstractMetaClass* meta_c // always do a direct call, since we want to call the real virtual function here s << "this->"; } + if (fun->originalName() == "operator=") { + // make it clear we don't want to call the (automatically generated) + // assignment operator of the promoter + s << meta_class->qualifiedCppName() << "::"; + } s << fun->originalName() << "("; writePromoterArgs(args, s); s << "); }" << endl; @@ -302,14 +309,26 @@ void ShellHeaderGenerator::write(QTextStream& s, const AbstractMetaClass* meta_c } for (AbstractMetaEnum * enum1 : enums) { - s << "enum " << enum1->name() << "{" << endl; + bool isEnumClass = enum1->typeEntry()->isEnumClass(); + s << "enum " << (isEnumClass ? "class " : "") << enum1->name() << "{" << endl; bool first = true; - QString scope = enum1->wasProtected() ? promoterClassName(meta_class) : meta_class->qualifiedCppName(); + QString scope = meta_class->isGlobalNamespace() ? QString() : + (enum1->wasProtected() ? promoterClassName(meta_class) : meta_class->qualifiedCppName()); + if (isEnumClass) { + scope += "::" + enum1->name(); + } for (AbstractMetaEnumValue * value : enum1->values()) { if (first) { first = false; } else { s << ", "; } - s << " " << value->name() << " = " << scope << "::" << value->name(); + QString assignedValue = scope + "::" + value->name(); + if (isEnumClass) { + s << " " << value->name() << " = " << "static_cast(" << scope << "::" << value->name() << ")"; + } + else { + s << " " << value->name() << " = " << scope << "::" << value->name(); + + } } s << "};" << endl; } @@ -347,7 +366,8 @@ void ShellHeaderGenerator::write(QTextStream& s, const AbstractMetaClass* meta_c } if (meta_class->typeEntry()->isValue() - && !copyConstructorSeen && defaultConstructorSeen) { + && !copyConstructorSeen && defaultConstructorSeen && !meta_class->typeEntry()->hasNoCopy()) + { QString className = meta_class->generateShellClass() ? shellClassName(meta_class) : meta_class->qualifiedCppName(); s << meta_class->qualifiedCppName() << "* new_" << meta_class->name() << "(const " << meta_class->qualifiedCppName() << "& other) {" << endl; s << className << "* a = new " << className << "();" << endl; @@ -431,7 +451,7 @@ void ShellHeaderGenerator::write(QTextStream& s, const AbstractMetaClass* meta_c s << "#endif // " << include_block << endl; - + setCurrentScope(nullptr); } void ShellHeaderGenerator::writePromoterArgs(AbstractMetaArgumentList& args, QTextStream& s) diff --git a/generator/shellimplgenerator.cpp b/generator/shellimplgenerator.cpp index 798e96a2..2145af03 100644 --- a/generator/shellimplgenerator.cpp +++ b/generator/shellimplgenerator.cpp @@ -70,8 +70,11 @@ static void writeHelperCode(QTextStream &, const AbstractMetaClass *) void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_class) { + setCurrentScope(meta_class); + QString builtIn = ShellGenerator::isBuiltIn(meta_class->name())?"_builtin":""; - QString pro_file_name = meta_class->package().replace(".", "_") + builtIn + "/" + meta_class->package().replace(".", "_") + builtIn + ".pri"; + QString fileBaseName = toFileNameBase(meta_class->package() + builtIn); + QString pro_file_name = fileBaseName + "/" + fileBaseName + ".pri"; priGenerator->addSource(pro_file_name, fileNameForClass(meta_class)); s << "#include \"PythonQtWrapper_" << meta_class->name() << ".h\"" << endl << endl; @@ -302,13 +305,13 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla } } s << "("; - if (scriptFunctionName.startsWith("operator>>")) { + if (scriptFunctionName.startsWith("operator>>") && !fun->wasProtected()) { s << wrappedObject << " >>" << args.at(0)->argumentName(); - } else if (scriptFunctionName.startsWith("operator<<")) { + } else if (scriptFunctionName.startsWith("operator<<") && !fun->wasProtected()) { s << wrappedObject << " <<" << args.at(0)->argumentName(); - } else if (scriptFunctionName.startsWith("operator[]")) { + } else if (scriptFunctionName.startsWith("operator[]") && !fun->wasProtected()) { s << wrappedObject << "[" << args.at(0)->argumentName() << "]"; - } else if (scriptFunctionName.startsWith("operator") && args.size()==1) { + } else if (scriptFunctionName.startsWith("operator") && args.size()==1 && !fun->wasProtected()) { QString op = scriptFunctionName.mid(8); s << wrappedObject << op << " " << args.at(0)->argumentName(); } else { @@ -326,7 +329,13 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla s << " theWrappedObject->"; } } - s << fun->originalName() << "("; + if (fun->wasProtected()) { + // this is different e.g. for operators + s << fun->name() << "("; + } + else { + s << fun->originalName() << "("; + } for (int i = 0; i < args.size(); ++i) { if (i > 0) s << ", "; @@ -360,6 +369,8 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla if (meta_class->qualifiedCppName().contains("Ssl")) { s << "#endif" << endl; } + + setCurrentScope(nullptr); } void ShellImplGenerator::writeInjectedCode(QTextStream &s, const AbstractMetaClass *meta_class) diff --git a/generator/typesystem.cpp b/generator/typesystem.cpp index c3f6ded9..c9a2607f 100644 --- a/generator/typesystem.cpp +++ b/generator/typesystem.cpp @@ -153,8 +153,10 @@ class StackElement class Handler : public QXmlDefaultHandler { public: - Handler(TypeDatabase *database, bool generate) - : m_database(database), m_generate(generate ? TypeEntry::GenerateAll : TypeEntry::GenerateForSubclass) + Handler(TypeDatabase *database, unsigned int qtVersion, bool generate) + : m_database(database) + , m_qtVersion(qtVersion) + , m_generate(generate ? TypeEntry::GenerateAll : TypeEntry::GenerateForSubclass) { m_current_enum = 0; current = 0; @@ -195,6 +197,7 @@ class Handler : public QXmlDefaultHandler tagNames["reference-count"] = StackElement::ReferenceCount; } + bool startDocument() { m_nestingLevel = 0; m_disabledLevel = -1; return true; } bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts); bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName); @@ -212,6 +215,7 @@ class Handler : public QXmlDefaultHandler bool importFileElement(const QXmlAttributes &atts); bool convertBoolean(const QString &, const QString &, bool); + bool qtVersionMatches(const QXmlAttributes& atts, bool& ok); TypeDatabase *m_database; StackElement* current; @@ -227,6 +231,10 @@ class Handler : public QXmlDefaultHandler FieldModificationList m_field_mods; QHash tagNames; + + unsigned int m_qtVersion{}; + int m_nestingLevel{}; // current nesting level, needed to reset m_disabledLevel if leaving element + int m_disabledLevel{}; // if this is != 0, elements should be ignored }; bool Handler::error(const QXmlParseException &e) @@ -261,7 +269,7 @@ void Handler::fetchAttributeValues(const QString &name, const QXmlAttributes &at QString key = atts.localName(i).toLower(); QString val = atts.value(i); - if (!acceptedAttributes->contains(key)) { + if (!acceptedAttributes->contains(key) && key != "since-version" && key != "before-version") { ReportHandler::warning(QString("Unknown attribute for '%1': '%2'").arg(name).arg(key)); } else { (*acceptedAttributes)[key] = val; @@ -272,7 +280,14 @@ void Handler::fetchAttributeValues(const QString &name, const QXmlAttributes &at bool Handler::endElement(const QString &, const QString &localName, const QString &) { QString tagName = localName.toLower(); - if(tagName == "import-file") + int oldNestingLevel = m_nestingLevel--; + if (m_disabledLevel >= 0) { + if (m_disabledLevel == oldNestingLevel) { + m_disabledLevel = -1; + } + return true; + } + if(tagName == "import-file" || tagName == "group") return true; if (!current) @@ -321,7 +336,7 @@ bool Handler::endElement(const QString &, const QString &localName, const QStrin m_code_snips.last().addTemplateInstance(current->value.templateInstance); }else if(current->parent->type == StackElement::Template){ current->parent->value.templateEntry->addTemplateInstance(current->value.templateInstance); - }else if(current->parent->type == StackElement::CustomMetaConstructor || current->parent->type == StackElement::CustomMetaConstructor){ + }else if(current->parent->type == StackElement::CustomMetaConstructor){ current->parent->value.customFunction->addTemplateInstance(current->value.templateInstance); }else if(current->parent->type == StackElement::ConversionRule){ m_function_mods.last().argument_mods.last().conversion_rules.last().addTemplateInstance(current->value.templateInstance); @@ -454,13 +469,59 @@ bool Handler::convertBoolean(const QString &_value, const QString &attributeName } } +bool Handler::qtVersionMatches(const QXmlAttributes& atts, bool& ok) +{ + ok = true; + int beforeIndex = atts.index("before-version"); + if (beforeIndex >= 0) { + uint beforeVersion = TypeSystem::qtVersionFromString(atts.value(beforeIndex), ok); + if (ok) { + if (m_qtVersion >= beforeVersion) { + return false; + } + } + else { + m_error = "Invalid 'before-version' version string: " + atts.value(beforeIndex); + } + } + int sinceIndex = atts.index("since-version"); + if (sinceIndex >= 0) { + uint sinceVersion = TypeSystem::qtVersionFromString(atts.value(sinceIndex), ok); + if (ok) { + if (m_qtVersion < sinceVersion) { + return false; + } + } + else { + m_error = "Invalid 'since-version' version string: " + atts.value(sinceIndex); + } + } + return true; +} + bool Handler::startElement(const QString &, const QString &n, const QString &, const QXmlAttributes &atts) { QString tagName = n.toLower(); - if(tagName == "import-file"){ + m_nestingLevel++; + if (m_disabledLevel >= 0 && m_disabledLevel < m_nestingLevel) { + return true; + } + bool ok; + bool versionMatches = qtVersionMatches(atts, ok); + if (!ok) { + return false; // abort + } else if (!versionMatches) { + m_disabledLevel = m_nestingLevel; + return true; + } + + if (tagName == "import-file") { return importFileElement(atts); } + else if (tagName == "group") { // non-functional element to handle version ranges + return true; + } std::unique_ptr element(new StackElement(current)); @@ -844,7 +905,7 @@ bool Handler::startElement(const QString &, const QString &n, return false; } - if (!m_database->parseFile(name, convertBoolean(attributes["generate"], "generate", true))) { + if (!m_database->parseFile(name, m_qtVersion, convertBoolean(attributes["generate"], "generate", true))) { m_error = QString("Failed to parse: '%1'").arg(name); return false; } @@ -1448,14 +1509,27 @@ TypeDatabase *TypeDatabase::instance() TypeDatabase::TypeDatabase() : m_suppressWarnings(true) { - addType(new StringTypeEntry("QString")); + StringTypeEntry* mainStringType = new StringTypeEntry("QString"); + addType(mainStringType); StringTypeEntry *e = new StringTypeEntry("QLatin1String"); e->setPreferredConversion(false); + e->setEquivalentType(mainStringType); addType(e); e = new StringTypeEntry("QStringRef"); e->setPreferredConversion(false); + e->setEquivalentType(mainStringType); + addType(e); + + e = new StringTypeEntry("QStringView"); + e->setPreferredConversion(false); + e->setEquivalentType(mainStringType); + addType(e); + + e = new StringTypeEntry("QAnyStringView"); + e->setPreferredConversion(false); + e->setEquivalentType(mainStringType); addType(e); e = new StringTypeEntry("QXmlStreamStringRef"); @@ -1499,7 +1573,20 @@ TypeDatabase::TypeDatabase() : m_suppressWarnings(true) addRemoveFunctionToTemplates(this); } -bool TypeDatabase::parseFile(const QString &filename, bool generate) +void TypeDatabase::finalSetup() +{ + TypeEntry* byteArrayType = findType("QByteArray"); + if (byteArrayType) { + // Support QByteArrayView as alternative parameter type. + // Using StringTypeEntry for it, because no wrappers are generated for those types + StringTypeEntry* e = new StringTypeEntry("QByteArrayView"); + e->setPreferredConversion(false); + e->setEquivalentType(byteArrayType); + addType(e); + } +} + +bool TypeDatabase::parseFile(const QString &filename, unsigned int qtVersion, bool generate) { QFile file(filename); @@ -1509,7 +1596,7 @@ bool TypeDatabase::parseFile(const QString &filename, bool generate) int count = m_entries.size(); QXmlSimpleReader reader; - Handler handler(this, generate); + Handler handler(this, qtVersion, generate); reader.setContentHandler(&handler); reader.setErrorHandler(&handler); @@ -1681,19 +1768,6 @@ QString FlagsTypeEntry::jniName() const return "jint"; } -void EnumTypeEntry::addEnumValueRedirection(const QString &rejected, const QString &usedValue) -{ - m_enum_redirections << EnumValueRedirection(rejected, usedValue); -} - -QString EnumTypeEntry::enumValueRedirection(const QString &value) const -{ - for (int i=0; ijavaQualifier() + "." + targetLangName(); @@ -1761,8 +1835,9 @@ FlagsTypeEntry *TypeDatabase::findFlagsType(const QString &name) const return fte ? fte : (FlagsTypeEntry *) m_flags_entries.value(name); } -QString TypeDatabase::globalNamespaceClassName(const TypeEntry * /*entry*/) { - return QLatin1String("Global"); +QString TypeDatabase::globalNamespaceClassName(const TypeEntry * entry) +{ + return "Qt" + entry->javaPackage().split('.').back(); } @@ -2048,3 +2123,27 @@ QByteArray TypeSystem::normalizedSignature(const char* signature) result.replace("QStringList", "QStringList"); return result; } + +unsigned int TypeSystem::qtVersionFromString(const QString& value, bool& ok) +{ + ok = true; + QList values; + for (QString dotValue : value.split('.')) + { + dotValue = dotValue.trimmed(); + bool ok2; + values.append(dotValue.toUInt(&ok2)); + if (!ok2) { + ok = false; + } + } + uint result = values[0] << 16; + if (values.size() >= 2) { + result += values[1] << 8; + } + if (values.size() >= 3) { + result += values[2]; + } + return result; +} + diff --git a/generator/typesystem.h b/generator/typesystem.h index bee5b0fc..a6d8b4cb 100644 --- a/generator/typesystem.h +++ b/generator/typesystem.h @@ -78,7 +78,7 @@ * changed to Qt::endl. */ #if QT_VERSION >= QT_VERSION_CHECK(6,0,0) - static const constexpr decltype (Qt::endl) *endl = Qt::endl; + static constexpr decltype (Qt::endl) *endl = Qt::endl; #endif /* END: Qt compatibility. */ @@ -167,6 +167,9 @@ namespace TypeSystem { //! A better normalized signature, which takes care of PODs with the same name QByteArray normalizedSignature(const char* signature); + + //! Determine version ID from version string + unsigned int qtVersionFromString(const QString& value, bool& ok); } struct ReferenceCount @@ -546,6 +549,8 @@ class TypeEntry virtual bool isNativeIdBased() const { return false; } + virtual TypeEntry* equivalentType() const { return nullptr; } + private: QString m_name; Type m_type; @@ -678,7 +683,8 @@ class EnumTypeEntry : public TypeEntry : TypeEntry(nspace.isEmpty() ? enumName : nspace + QLatin1String("::") + enumName, EnumType), m_flags(0), - m_extensible(false) + m_extensible(false), + m_force_integer(false) { m_qualifier = nspace; m_java_name = enumName; @@ -723,8 +729,8 @@ class EnumTypeEntry : public TypeEntry void addEnumValueRejection(const QString &name) { m_rejected_enums << name; } QStringList enumValueRejections() const { return m_rejected_enums; } - void addEnumValueRedirection(const QString &rejected, const QString &usedValue); - QString enumValueRedirection(const QString &value) const; + bool isEnumClass() const { return m_enum_class; } + void setEnumClass(bool enum_class) { m_enum_class = enum_class; } bool forceInteger() const { return m_force_integer; } void setForceInteger(bool force) { m_force_integer = force; } @@ -739,11 +745,11 @@ class EnumTypeEntry : public TypeEntry QString m_upper_bound; QStringList m_rejected_enums; - QList m_enum_redirections; FlagsTypeEntry *m_flags; bool m_extensible; + bool m_enum_class; bool m_force_integer; }; @@ -797,6 +803,7 @@ class ComplexTypeEntry : public TypeEntry m_generic_class(false), m_createShell(false), m_createPromoter(false), + m_noCopy(false), m_type_flags(0) { Include inc; @@ -927,6 +934,9 @@ class ComplexTypeEntry : public TypeEntry bool isGenericClass() const { return m_generic_class; } void setGenericClass(bool isGeneric) { m_generic_class = isGeneric; } + bool hasNoCopy() const { return m_noCopy; } + void setNoCopy(bool noCopy) { m_noCopy = noCopy; } + private: IncludeList m_extra_includes; Include m_include; @@ -944,6 +954,7 @@ class ComplexTypeEntry : public TypeEntry uint m_generic_class : 1; uint m_createShell : 1; uint m_createPromoter : 1; + uint m_noCopy : 1; QString m_polymorphic_id_value; QString m_lookup_name; @@ -1004,8 +1015,14 @@ class ValueTypeEntry : public ComplexTypeEntry virtual bool isNativeIdBased() const { return true; } + virtual TypeEntry* equivalentType() const { return _equivalentType; } + void setEquivalentType(TypeEntry* typeEntry) { _equivalentType = typeEntry; } + protected: ValueTypeEntry(const QString &name, Type t) : ComplexTypeEntry(name, t) { } + +private: + TypeEntry* _equivalentType{}; }; @@ -1216,7 +1233,8 @@ class TypeDatabase static QString globalNamespaceClassName(const TypeEntry *te); QString filename() const { return "typesystem.txt"; } - bool parseFile(const QString &filename, bool generate = true); + bool parseFile(const QString &filename, unsigned int qtVersion, bool generate = true); + void finalSetup(); private: bool m_suppressWarnings; diff --git a/generator/typesystem_core.xml b/generator/typesystem_core.xml index d21f7080..6fe37a3d 100644 --- a/generator/typesystem_core.xml +++ b/generator/typesystem_core.xml @@ -1,5 +1,5 @@ - + @@ -19,21 +19,38 @@ + + + + + + + + + + + + + + + + + @@ -203,6 +220,8 @@ + + @@ -220,6 +239,7 @@ + @@ -241,6 +261,7 @@ + @@ -416,6 +437,8 @@ + + @@ -444,43 +467,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + @@ -952,6 +1080,7 @@ + @@ -973,6 +1102,8 @@ + + @@ -1004,6 +1135,8 @@ + + @@ -1061,8 +1194,11 @@ + + + @@ -1070,6 +1206,7 @@ + @@ -1081,6 +1218,8 @@ + + @@ -1105,8 +1244,9 @@ return PyBytes_FromStringAndSize(b->data(), b->size()); } - + + @@ -1129,16 +1269,24 @@ + + + + + + + + @@ -1146,15 +1294,21 @@ + + + + + + @@ -1179,7 +1333,10 @@ + + + @@ -1281,12 +1438,14 @@ - + + + @@ -1298,31 +1457,35 @@ + - + + PythonQt::Type_EnterExit - void __enter__(QMutexLocker* self) {} - void __exit__(QMutexLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + void __enter__(QMutexLocker* /*self*/) {} + void __exit__(QMutexLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } + + PythonQt::Type_EnterExit - void __enter__(QReadLocker* self) {} - void __exit__(QReadLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + void __enter__(QReadLocker* /*self*/) {} + void __exit__(QReadLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } PythonQt::Type_EnterExit - void __enter__(QWriteLocker* self) {} - void __exit__(QWriteLocker* self, PyObject* type, PyObject* value, PyObject* traceback) { self->unlock(); } + void __enter__(QWriteLocker* /*self*/) {} + void __exit__(QWriteLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } @@ -1391,6 +1554,7 @@ + @@ -1415,6 +1579,13 @@ + + + + @@ -1788,7 +1959,11 @@ + + + + @@ -1808,6 +1983,83 @@ + + + + + + + + + + + + + + + + + + QByteArray readByteArray(QCborStreamReader* theWrappedObject) { + auto result = theWrappedObject->readByteArray(); + return result.status == QCborStreamReader::Ok ? result.data : QByteArray(); + } + + QString readString(QCborStreamReader* theWrappedObject) { + auto result = theWrappedObject->readString(); + return result.status == QCborStreamReader::Ok ? result.data : QString(); + } + + qint64 toTag(QCborStreamReader* theWrappedObject) const { + return static_cast<qint64>(theWrappedObject->toTag()); + } + + + + + + + // replace QCborTag with qint64: + QCborValue* new_QCborValue(qint64 tag, const QCborValue& taggedValue) { + return new QCborValue(QCborTag(tag), taggedValue); + } + + qint64 tag(QCborValue* theWrappedObject, qint64 defaultValue) const { + return static_cast<qint64>(theWrappedObject->tag(QCborTag(defaultValue))); + } + + + + + + + + + + + + void insert(QCborMap* theWrappedObject, qint64 key, const QCborValue& value_) + { + theWrappedObject->insert(key, value_); + } + + void insert(QCborMap* theWrappedObject, const QString& key, const QCborValue& value_) + { + theWrappedObject->insert(key, value_); + } + + + + + + + + + + + + + @@ -1945,7 +2197,9 @@ - + + + @@ -1974,6 +2228,7 @@ + @@ -1984,8 +2239,10 @@ + + @@ -1995,7 +2252,8 @@ - + + @@ -2009,13 +2267,19 @@ + + + + + + @@ -2023,4 +2287,6 @@ + + diff --git a/generator/typesystem_gui.xml b/generator/typesystem_gui.xml index 4b1c638d..dd772ca8 100644 --- a/generator/typesystem_gui.xml +++ b/generator/typesystem_gui.xml @@ -1,5 +1,5 @@ - + @@ -22,11 +22,13 @@ + + @@ -84,6 +86,7 @@ + @@ -104,6 +107,7 @@ + @@ -156,13 +160,15 @@ + + - + @@ -207,6 +213,7 @@ + @@ -247,7 +254,8 @@ - + + @@ -388,6 +396,8 @@ + + @@ -449,6 +459,7 @@ + @@ -523,8 +534,8 @@ - - + + @@ -571,7 +582,8 @@ - + + @@ -602,6 +614,8 @@ + + @@ -609,6 +623,7 @@ + @@ -635,6 +650,7 @@ + @@ -725,6 +741,7 @@ + @@ -766,6 +783,7 @@ + @@ -777,8 +795,8 @@ - - + + @@ -787,8 +805,6 @@ - - @@ -886,6 +902,7 @@ + @@ -972,7 +989,7 @@ - + @@ -1006,7 +1023,11 @@ QImage* new_QImage( const uchar * data, int width, int height, QImage::Format format ) { QImage* image = new QImage(width, height, format); +#if QT_VERSION >= QT_VERSION_CHECK(5,10,0) + memcpy(image->bits(), data, image->sizeInBytes()); +#else memcpy(image->bits(), data, image->byteCount()); +#endif return image; } @@ -1014,7 +1035,11 @@ PyObject* bits(QImage* image) { return PythonQtPrivate::wrapMemoryAsBuffer(image->bits(), image->bytesPerLine()* image->height()); } -#if QT_VERSION >= QT_VERSION_CHECK(4,7,0) +#if QT_VERSION >= QT_VERSION_CHECK(5,10,0) +PyObject* constBits(QImage* image) { + return PythonQtPrivate::wrapMemoryAsBuffer(image->constBits(), image->sizeInBytes()); +} +#elif QT_VERSION >= QT_VERSION_CHECK(4,7,0) PyObject* constBits(QImage* image) { return PythonQtPrivate::wrapMemoryAsBuffer(image->constBits(), image->byteCount()); } @@ -1106,6 +1131,7 @@ PyObject* constScanLine(QImage* image, int line) { + @@ -1266,6 +1292,7 @@ PyObject* constScanLine(QImage* image, int line) { + @@ -1311,6 +1338,7 @@ PyObject* constScanLine(QImage* image, int line) { + @@ -1653,6 +1681,19 @@ PyObject* constScanLine(QImage* image, int line) { + + + + + + + + + + + + + @@ -2082,18 +2123,20 @@ PyObject* constScanLine(QImage* image, int line) { - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -2487,12 +2530,18 @@ PyObject* constScanLine(QImage* image, int line) { - + - + + + + + + + @@ -2900,6 +2949,7 @@ PyObject* constScanLine(QImage* image, int line) { + @@ -3042,6 +3092,7 @@ PyObject* constScanLine(QImage* image, int line) { + @@ -3057,9 +3108,11 @@ PyObject* constScanLine(QImage* image, int line) { - + + + @@ -3080,6 +3133,9 @@ PyObject* constScanLine(QImage* image, int line) { + @@ -3139,6 +3195,15 @@ PyObject* constScanLine(QImage* image, int line) { + + + + + + + + + diff --git a/generator/typesystem_multimedia.xml b/generator/typesystem_multimedia.xml index c206c518..5f1cb7e3 100644 --- a/generator/typesystem_multimedia.xml +++ b/generator/typesystem_multimedia.xml @@ -1,5 +1,5 @@ - + @@ -7,12 +7,23 @@ + + + + + + + - + + + + @@ -52,6 +63,7 @@ + @@ -75,7 +87,7 @@ - + @@ -108,7 +120,7 @@ - + @@ -116,10 +128,18 @@ + + + + + + + + @@ -176,4 +196,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/generator/typesystem_network.xml b/generator/typesystem_network.xml index abb86257..239c574d 100644 --- a/generator/typesystem_network.xml +++ b/generator/typesystem_network.xml @@ -1,16 +1,16 @@ - + - - - - + + + + @@ -42,6 +42,7 @@ + @@ -76,6 +77,7 @@ + @@ -83,6 +85,7 @@ + @@ -105,8 +108,6 @@ - - @@ -167,11 +168,10 @@ - - + @@ -185,6 +185,8 @@ + + @@ -224,6 +226,23 @@ + + + + + + + + + + + + + + + + + diff --git a/generator/typesystem_opengl.xml b/generator/typesystem_opengl.xml index c0c6d851..b8de602c 100644 --- a/generator/typesystem_opengl.xml +++ b/generator/typesystem_opengl.xml @@ -1,7 +1,6 @@ - - - + + diff --git a/generator/typesystem_qml.xml b/generator/typesystem_qml.xml index ebc664fd..60db1e5e 100644 --- a/generator/typesystem_qml.xml +++ b/generator/typesystem_qml.xml @@ -1,20 +1,46 @@ - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + diff --git a/generator/typesystem_quick.xml b/generator/typesystem_quick.xml index bd255e68..ac889ecc 100644 --- a/generator/typesystem_quick.xml +++ b/generator/typesystem_quick.xml @@ -1,5 +1,5 @@ - + @@ -29,9 +29,16 @@ - + + - + + + + + + + diff --git a/generator/typesystem_sql.xml b/generator/typesystem_sql.xml index f3377411..334860d8 100644 --- a/generator/typesystem_sql.xml +++ b/generator/typesystem_sql.xml @@ -1,5 +1,5 @@ - + diff --git a/generator/typesystem_svg.xml b/generator/typesystem_svg.xml index 815cfca5..c4e5a6a7 100644 --- a/generator/typesystem_svg.xml +++ b/generator/typesystem_svg.xml @@ -1,5 +1,5 @@ - + @@ -8,7 +8,7 @@ - + @@ -24,6 +24,7 @@ + diff --git a/generator/typesystem_uitools.xml b/generator/typesystem_uitools.xml index 1b2c2edb..9b5b3b9d 100644 --- a/generator/typesystem_uitools.xml +++ b/generator/typesystem_uitools.xml @@ -1,4 +1,4 @@ - + diff --git a/generator/typesystem_webenginewidgets.xml b/generator/typesystem_webenginewidgets.xml index 1e545dbf..e89b61c9 100644 --- a/generator/typesystem_webenginewidgets.xml +++ b/generator/typesystem_webenginewidgets.xml @@ -1,17 +1,23 @@ - + + + + + + + @@ -20,6 +26,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -38,6 +73,7 @@ + diff --git a/generator/typesystem_webkit.xml b/generator/typesystem_webkit.xml index b1a4eb7f..84ba47e4 100644 --- a/generator/typesystem_webkit.xml +++ b/generator/typesystem_webkit.xml @@ -1,5 +1,5 @@ - + diff --git a/generator/typesystem_xml.xml b/generator/typesystem_xml.xml index f2fbe1bc..27d8f24f 100644 --- a/generator/typesystem_xml.xml +++ b/generator/typesystem_xml.xml @@ -1,5 +1,6 @@ - + + @@ -35,6 +36,8 @@ + + @@ -179,6 +182,7 @@ + diff --git a/generator/typesystem_xmlpatterns.xml b/generator/typesystem_xmlpatterns.xml index 958ddfac..c61126d9 100644 --- a/generator/typesystem_xmlpatterns.xml +++ b/generator/typesystem_xmlpatterns.xml @@ -1,6 +1,5 @@ - - + @@ -112,6 +111,8 @@ + + diff --git a/tests/PythonQtTests.cpp b/tests/PythonQtTests.cpp index 8316ebce..0d90b0f4 100644 --- a/tests/PythonQtTests.cpp +++ b/tests/PythonQtTests.cpp @@ -386,8 +386,8 @@ void PythonQtTestSignalHandler::testSignalHandler() QVERIFY(_helper->emitVariantSignal(12)); _helper->setExpectedVariant(QStringList() << "test1" << "test2"); QVERIFY(_helper->emitVariantSignal(QStringList() << "test1" << "test2")); - _helper->setExpectedVariant(qVariantFromValue((QObject*)_helper)); - QVERIFY(_helper->emitVariantSignal(qVariantFromValue((QObject*)_helper))); + _helper->setExpectedVariant(QVariant::fromValue((QObject*)_helper)); + QVERIFY(_helper->emitVariantSignal(QVariant::fromValue((QObject*)_helper))); PyRun_SimpleString("def testComplexSignal(a,b,l,o):\n if a==12 and b==13 and l==('test1','test2') and o == obj: obj.setPassed();\n"); // intentionally not normalized signal: @@ -497,7 +497,7 @@ void PythonQtTestApi::testCall() QVERIFY(_helper->call("testCall1", QVariantList() << QVariant("test"), QVariant(QString("test2")))); PyRun_SimpleString("def testCall2(a, b):\n if a=='test' and b==obj: obj.setPassed();\n return obj;\n"); - QVariant r = PythonQt::self()->call(PythonQt::self()->getMainModule(), "testCall2", QVariantList() << QVariant("test") << qVariantFromValue((QObject*)_helper)); + QVariant r = PythonQt::self()->call(PythonQt::self()->getMainModule(), "testCall2", QVariantList() << QVariant("test") << QVariant::fromValue((QObject*)_helper)); QObject* p = qvariant_cast(r); QVERIFY(p==_helper); } @@ -512,11 +512,17 @@ void PythonQtTestApi::testVariables() QVariant v2 = PythonQt::self()->getVariable(PythonQt::self()->getMainModule(), "someObject2"); QVERIFY(v2==QVariant()); - PythonQt::self()->addVariable(PythonQt::self()->getMainModule(), "someValue", QStringList() << "test1" << "test2"); + QVariant someValue = QStringList() << "test1" << "test2"; + PythonQt::self()->addVariable(PythonQt::self()->getMainModule(), "someValue", someValue); QVariant v3 = PythonQt::self()->getVariable(PythonQt::self()->getMainModule(), "someValue"); - QVERIFY(v3 == QVariant(QStringList() << "test1" << "test2")); +#if QT_VERSION >= 0x060000 - QStringList l = PythonQt::self()->introspection(PythonQt::self()->getMainModule(), QString::null, PythonQt::Variable); + // value first, so we replicate this first (otherwise the comparison QVariantList <-> QStringList fails) + QVERIFY(someValue.convert(v3.metaType())); +#endif + QVERIFY(v3 == someValue); + + QStringList l = PythonQt::self()->introspection(PythonQt::self()->getMainModule(), QString(), PythonQt::Variable); QSet s; // check that at least these three variables are set s << "obj" << "someObject" << "someValue"; diff --git a/with_pyenv b/with_pyenv deleted file mode 100755 index b17afafb..00000000 --- a/with_pyenv +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -x -# Run `with_pyenv pyenv update` or remove ./.pyenv or your $PYENV_ROOT to update environment -# -if [[ "${BASH_SOURCE[0]}" = bash ]] ; then - SCRIPT_DIR=$(dirname "$0") - else - SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}") -fi - -SCRIPT_DIR=$(realpath "$SCRIPT_DIR") - -echo $SCRIPT_DIR - -CCname=${CC:-${CXX:-default}} -export PYENV_VERSION=${PYENV_VERSION:-3.7.4} -export PYENV_ROOT="${PYENV_ROOT:-${SCRIPT_DIR}/.pyenv-${CCname}}" -if [ ! -x "${PYENV_ROOT}/bin/pyenv" ] ; then - rm -rf "${PYENV_ROOT}" - DOWNLOADER="wget -O-" - $DOWNLOADER --version || DOWNLOADER="curl -Lo-" - $DOWNLOADER https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash -#else -# ${PYENV_ROOT}/bin/pyenv update -fi -export PATH="${PYENV_ROOT}/bin:$PATH" -eval "$(pyenv init -)" -#eval "$(pyenv virtualenv-init -)" -if [ $(uname) = Darwin ] ; then - CFLAGS="${CFLAGS} -mmacosx-version-min=10.9" -fi - -INSTALL_COMMAND='eval env CFLAGS="-O2 -g -fPIC ${CFLAGS}" pyenv install -k -s "$PYENV_VERSION"' - -$INSTALL_COMMAND || pyenv update && $INSTALL_COMMAND - -PKG_CONFIG_PATH=$(python3-config --prefix)/lib/pkgconfig -export PKG_CONFIG_PATH - -if (( "$#" == 0 )) ; then - echo "Use ${BASH_SOURCE[0]} " - echo "Example: " - echo "${BASH_SOURCE[0]} \"echo '\$PKG_CONFIG_PATH' && python --version\"" -else - exec "$@" -fi From 1db898072d0c3b3a6fc0b51d14a7ac102342cc4e Mon Sep 17 00:00:00 2001 From: Iakov 'Jake' Kirilenko Date: Sat, 3 Apr 2021 15:01:02 +0300 Subject: [PATCH 6/6] Lots of fixed. Draft --- src/PythonQt.cpp | 188 ++++++++++++++++++-------------- src/PythonQt.h | 1 + src/PythonQtImporter.cpp | 14 ++- src/PythonQtInstanceWrapper.cpp | 2 +- src/PythonQtSignalReceiver.cpp | 8 +- src/PythonQtSlot.cpp | 12 +- 6 files changed, 124 insertions(+), 101 deletions(-) diff --git a/src/PythonQt.cpp b/src/PythonQt.cpp index 288ae57f..5d6b45c1 100644 --- a/src/PythonQt.cpp +++ b/src/PythonQt.cpp @@ -435,6 +435,16 @@ PythonQt::PythonQt(int flags, const QByteArray& pythonQtModuleName) PythonQt::~PythonQt() { delete _p; _p = nullptr; + + Py_DECREF(&PythonQtSlotFunction_Type); + Py_DECREF(&PythonQtSignalFunction_Type); + Py_DECREF(&PythonQtSlotDecorator_Type); + Py_DECREF(&PythonQtProperty_Type); + Py_DECREF(&PythonQtBoolResult_Type); + Py_DECREF(&PythonQtClassWrapper_Type); + Py_DECREF(&PythonQtInstanceWrapper_Type); + Py_DECREF(&PythonQtStdOutRedirectType); + Py_DECREF(&PythonQtStdInRedirectType); } PythonQtPrivate::~PythonQtPrivate() { @@ -446,7 +456,7 @@ PythonQtPrivate::~PythonQtPrivate() { } PythonQtMethodInfo::cleanupCachedMethodInfos(); - PythonQtArgumentFrame::cleanupFreeList(); + PythonQtArgumentFrame::cleanupFreeList(); } void PythonQtPrivate::setTaskDoneCallback(const PythonQtObjectPtr & callable) @@ -509,7 +519,9 @@ void PythonQt::setRedirectStdInCallback(PythonQtInputChangedCB* callback, void * // Backup original 'sys.stdin' if not yet done if( !PyObject_HasAttrString(sys.object(), "pythonqt_original_stdin") ) { - PyObject_SetAttrString(sys.object(), "pythonqt_original_stdin", PyObject_GetAttrString(sys.object(), "stdin")); + PyObject *_stdin = PyObject_GetAttrString(sys.object(), "stdin"); + PyObject_SetAttrString(sys.object(), "pythonqt_original_stdin", _stdin); + Py_XDECREF(_stdin); } in = PythonQtStdInRedirectType.tp_new(&PythonQtStdInRedirectType, nullptr, nullptr); @@ -526,15 +538,16 @@ void PythonQt::setRedirectStdInCallback(PythonQtInputChangedCB* callback, void * void PythonQt::setRedirectStdInCallbackEnabled(bool enabled) { PythonQtObjectPtr sys; + PythonQtObjectPtr _stdin; sys.setNewRef(PyImport_ImportModule("sys")); if (enabled) { - if( !PyObject_HasAttrString(sys.object(), "pythonqt_stdin") ) { - PyObject_SetAttrString(sys.object(), "stdin", PyObject_GetAttrString(sys.object(), "pythonqt_stdin")); + if( PyObject_HasAttrString(sys.object(), "pythonqt_stdin") ) { + _stdin.setNewRef(PyObject_GetAttrString(sys.object(), "pythonqt_stdin")); } } else { - if( !PyObject_HasAttrString(sys.object(), "pythonqt_original_stdin") ) { - PyObject_SetAttrString(sys.object(), "stdin", PyObject_GetAttrString(sys.object(), "pythonqt_original_stdin")); + if( PyObject_HasAttrString(sys.object(), "pythonqt_original_stdin") ) { + _stdin.setNewRef(PyObject_GetAttrString(sys.object(), "pythonqt_original_stdin")); } } } @@ -627,19 +640,20 @@ void PythonQtPrivate::createPythonQtClassWrapper(PythonQtClassInfo* info, const PythonQtClassInfo* outerClassInfo = lookupClassInfoAndCreateIfNotPresent(outerClass); outerClassInfo->addNestedClass(info); } else { - if (PyModule_AddObject(pack, info->className(), pyobj) == 0) { - // since PyModule_AddObject steals the reference, we need a incref once more... - Py_INCREF(pyobj); + Py_INCREF(pyobj); + if (PyModule_AddObject(pack, info->className(), pyobj)) { + Py_DECREF(pyobj); } } if (!module && package && strncmp(package, "Qt", 2) == 0) { + Py_INCREF(pyobj); // put all qt objects into Qt as well - if (PyModule_AddObject(packageByName("Qt"), info->className(), pyobj) == 0) { - // since PyModule_AddObject steals the reference, we need a incref once more... - Py_INCREF(pyobj); + if (PyModule_AddObject(packageByName("Qt"), info->className(), pyobj)) { + Py_DECREF(pyobj); } } info->setPythonQtClassWrapper(pyobj); + Py_DECREF(pyobj); } PyObject* PythonQtPrivate::wrapQObject(QObject* obj) @@ -1001,8 +1015,8 @@ QVariant PythonQt::evalCode(PyObject* object, PyObject* pycode) { QVariant result; clearError(); if (pycode) { - PyObject* dict = nullptr; - PyObject* globals = nullptr; + PythonQtObjectPtr dict; + PythonQtObjectPtr globals; if (PyModule_Check(object)) { dict = PyModule_GetDict(object); globals = dict; @@ -1010,8 +1024,12 @@ QVariant PythonQt::evalCode(PyObject* object, PyObject* pycode) { dict = object; globals = dict; } else { - dict = PyObject_GetAttrString(object, "__dict__"); - globals = PyObject_GetAttrString(PyImport_ImportModule(PyString_AS_STRING(PyObject_GetAttrString(object, "__module__"))),"__dict__"); + PyObject *moduleName = PyObject_GetAttrString(object, "__module__"); + PyObject *module = PyImport_ImportModule(PyString_AS_STRING(moduleName)); + dict.setNewRef(PyObject_GetAttrString(object, "__dict__")); + globals.setNewRef(PyObject_GetAttrString(module, "__dict__")); + Py_XDECREF(moduleName); + Py_XDECREF(module); } PyObject* r = nullptr; if (dict) { @@ -1156,30 +1174,30 @@ PythonQtObjectPtr PythonQt::createUniqueModule() void PythonQt::addObject(PyObject* object, const QString& name, QObject* qObject) { - if (PyModule_Check(object)) { - auto pyobj = _p->wrapQObject(qObject); - if (PyModule_AddObject(object, QStringToPythonCharPointer(name), pyobj) < 0) { - Py_DECREF(pyobj); + PyObject *wrappedObject = _p->wrapQObject(qObject); + if (PyModule_Check(object)) { + Py_XINCREF(wrappedObject); + PyModule_AddObject(object, QStringToPythonCharPointer(name), wrappedObject); + } else if (PyDict_Check(object)) { + PyDict_SetItemString(object, QStringToPythonCharPointer(name), wrappedObject); + } else { + PyObject_SetAttrString(object, QStringToPythonCharPointer(name), wrappedObject); } - } else if (PyDict_Check(object)) { - PyDict_SetItemString(object, QStringToPythonCharPointer(name), _p->wrapQObject(qObject)); - } else { - PyObject_SetAttrString(object, QStringToPythonCharPointer(name), _p->wrapQObject(qObject)); - } + Py_XDECREF(wrappedObject); } void PythonQt::addVariable(PyObject* object, const QString& name, const QVariant& v) { - if (PyModule_Check(object)) { - auto pyobj = PythonQtConv::QVariantToPyObject(v); - if (PyModule_AddObject(object, QStringToPythonCharPointer(name), pyobj) < 0) { - Py_DECREF(pyobj); - } - } else if (PyDict_Check(object)) { - PyDict_SetItemString(object, QStringToPythonCharPointer(name), PythonQtConv::QVariantToPyObject(v)); - } else { - PyObject_SetAttrString(object, QStringToPythonCharPointer(name), PythonQtConv::QVariantToPyObject(v)); - } + PyObject *value = PythonQtConv::QVariantToPyObject(v); + if (PyModule_Check(object)) { + Py_XINCREF(value); + PyModule_AddObject(object, QStringToPythonCharPointer(name), value); + } else if (PyDict_Check(object)) { + PyDict_SetItemString(object, QStringToPythonCharPointer(name), value); + } else { + PyObject_SetAttrString(object, QStringToPythonCharPointer(name), value); + } + Py_XDECREF(value); } void PythonQt::removeVariable(PyObject* object, const QString& name) @@ -1221,7 +1239,7 @@ QStringList PythonQt::introspection(PyObject* module, const QString& objectname, } else { object = lookupObject(module, objectname); if (!object && type == CallOverloads) { - PyObject* dict = lookupObject(module, "__builtins__"); + PythonQtObjectPtr dict = lookupObject(module, "__builtins__"); if (dict) { object = PyDict_GetItemString(dict, QStringToPythonCharPointer(objectname)); } @@ -1273,38 +1291,36 @@ QStringList PythonQt::introspectObject(PyObject* object, ObjectType type) } } } else { - PyObject* keys = nullptr; - bool isDict = false; - if (PyDict_Check(object)) { - keys = PyDict_Keys(object); - isDict = true; - } else { -#if defined(MEVISLAB) && !defined(PY3K) - int oldPy3kWarningFlag = Py_Py3kWarningFlag; - Py_Py3kWarningFlag = 0; // temporarily disable Python 3 warnings - keys = PyObject_Dir(object); - Py_Py3kWarningFlag = oldPy3kWarningFlag; -#else - keys = PyObject_Dir(object); -#endif + PythonQtObjectPtr keys; + bool isDict = false; + if (PyDict_Check(object)) { + keys.setNewRef(PyDict_Keys(object)); + isDict = true; + } else { + #if defined(MEVISLAB) && !defined(PY3K) + int oldPy3kWarningFlag = Py_Py3kWarningFlag; + Py_Py3kWarningFlag = 0; // temporarily disable Python 3 warnings + keys.setNewRef(PyObject_Dir(object)); + Py_Py3kWarningFlag = oldPy3kWarningFlag; + #else + keys.setNewRef(PyObject_Dir(object)); + #endif } if (keys) { int count = PyList_Size(keys); - PyObject* key; - PyObject* value; - QString keystr; for (int i = 0;i_pythonQtModule = PyModule_Create(&PythonQtModuleDef); + _p->_pythonQtModule.setNewRef(PyModule_Create(&PythonQtModuleDef)); #else _p->_pythonQtModule = Py_InitModule(name.constData(), PythonQtMethods); #endif @@ -1919,7 +1936,11 @@ void PythonQt::initPythonQtModule(bool redirectStdOut, const QByteArray& pythonQ Py_XDECREF(old_module_names); #ifdef PY3K - PyDict_SetItem(PyObject_GetAttrString(sys.object(), "modules"), PyUnicode_FromString(name.constData()), _p->_pythonQtModule.object()); + PyObject *modules = PyObject_GetAttrString(sys.object(), "modules"); + PyObject *nameObj = PyUnicode_FromString(name.constData()); + PyDict_SetItem(modules, nameObj, _p->_pythonQtModule.object()); + Py_XDECREF(modules); + Py_XDECREF(nameObj); #endif } @@ -1939,8 +1960,9 @@ QString PythonQt::getReturnTypeOfWrappedMethod(PyObject* module, const QString& QString PythonQt::getReturnTypeOfWrappedMethod(const QString& typeName, const QString& methodName) { - PythonQtObjectPtr typeObject = getObjectByType(typeName); - if (typeObject.isNull()) { + PythonQtObjectPtr typeObject; + typeObject.setNewRef(getObjectByType(typeName)); + if (typeObject.isNull()) { return ""; } return getReturnTypeOfWrappedMethodHelper(typeObject, methodName, typeName + "." + methodName); @@ -2237,8 +2259,7 @@ const QMetaObject* PythonQtPrivate::buildDynamicMetaObject(PythonQtClassWrapper* PyObject* dict = ((PyTypeObject*)type)->tp_dict; Py_ssize_t pos = 0; PyObject* value = nullptr; - PyObject* key = nullptr; - static PyObject* qtSlots = PyString_FromString("_qtSlots"); + PyObject* key = nullptr; bool needsMetaObject = false; // Iterate over all members and check if they affect the QMetaObject: @@ -2288,12 +2309,13 @@ const QMetaObject* PythonQtPrivate::buildDynamicMetaObject(PythonQtClassWrapper* } } } - if (PyFunction_Check(value) && PyObject_HasAttr(value, qtSlots)) { + if (PyFunction_Check(value) && PyObject_HasAttr(value, _qtSlotsName)) { // A function which has a "_qtSlots" signature list, add the slots to the meta object - PyObject* signatures = PyObject_GetAttr(value, qtSlots); + PythonQtObjectPtr signatures; + signatures.setNewRef(PyObject_GetAttr(value, _qtSlotsName)); Py_ssize_t count = PyList_Size(signatures); for (Py_ssize_t i = 0; i < count; i++) { - PyObject* signature = PyList_GET_ITEM(signatures, i); + PyObject* signature = PyList_GET_ITEM(signatures.object(), i); QByteArray sig = PyString_AsString(signature); // Split the return type and the rest of the signature, // no spaces should be in the rest of the signature... @@ -2339,9 +2361,11 @@ int PythonQtPrivate::handleMetaCall(QObject* object, PythonQtInstanceWrapper* wr } PythonQtProperty* prop = nullptr; // Get directly from the Python class, since we don't want to get the value of the property - PyObject* maybeProp = PyBaseObject_Type.tp_getattro((PyObject*)wrapper, PyString_FromString(metaProp.name())); + PythonQtObjectPtr name, maybeProp; + name.setNewRef(PyString_FromString(metaProp.name())); + maybeProp.setNewRef(PyBaseObject_Type.tp_getattro((PyObject*)wrapper, name)); if (maybeProp && PythonQtProperty_Check(maybeProp)) { - prop = (PythonQtProperty*)maybeProp; + prop = (PythonQtProperty*)maybeProp.object(); } else { return id - methodCount; } @@ -2396,17 +2420,15 @@ QString PythonQtPrivate::getSignature(PyObject* object) PyMethodObject* method = nullptr; PyFunctionObject* func = nullptr; - bool decrefMethod = false; - if (PythonQtUtils::isPythonClassType(object)) { method = (PyMethodObject*)PyObject_GetAttrString(object, "__init__"); - decrefMethod = true; } else if (object->ob_type == &PyFunction_Type) { func = (PyFunctionObject*)object; } else if (object->ob_type == &PyMethod_Type) { method = (PyMethodObject*)object; + Py_XINCREF(method); } - if (method) { + if (method) { if (PyFunction_Check(method->im_func)) { func = (PyFunctionObject*)method->im_func; } else if (isMethodDescriptor((PyObject*)method)) { @@ -2514,9 +2536,7 @@ QString PythonQtPrivate::getSignature(PyObject* object) signature = funcName + "(" + signature + ")"; } - if (method && decrefMethod) { - Py_DECREF(method); - } + Py_XDECREF(method); } return signature; diff --git a/src/PythonQt.h b/src/PythonQt.h index dcce7135..039ca950 100644 --- a/src/PythonQt.h +++ b/src/PythonQt.h @@ -884,6 +884,7 @@ class PYTHONQT_EXPORT PythonQtPrivate : public QObject { bool _hadError; bool _systemExitExceptionHandlerEnabled; + PythonQtObjectPtr _qtSlotsName; friend class PythonQt; }; diff --git a/src/PythonQtImporter.cpp b/src/PythonQtImporter.cpp index b0ff61bf..39df00c2 100644 --- a/src/PythonQtImporter.cpp +++ b/src/PythonQtImporter.cpp @@ -289,7 +289,9 @@ PythonQtImporter_load_module(PyObject *obj, PyObject *args) // The package attribute is needed to resolve the package name if it is referenced as '.'. For example, // when importing the encodings package, there is an import statement 'from . import aliases'. This import // would fail when reloading the encodings package with importlib. - err = PyDict_SetItemString(dict, "__package__", PyUnicode_FromString(fullname)); + PyObject* fullnameObj = PyUnicode_FromString(fullname); + err = PyDict_SetItemString(dict, "__package__", fullnameObj); + Py_XDECREF(fullnameObj); if (err != 0) { Py_DECREF(code); Py_DECREF(mod); @@ -297,7 +299,6 @@ PythonQtImporter_load_module(PyObject *obj, PyObject *args) } #endif } - #ifdef PY3K PyObject* fullnameObj = PyUnicode_FromString(fullname); PyObject* fullPathObj = PythonQtConv::QStringToPyObject(fullPath); @@ -909,7 +910,7 @@ void PythonQtImport::init() } first = false; - PyObject *mod; + PyObject *mod {}; if (PyType_Ready(&PythonQtImporter_Type) < 0) return; @@ -938,13 +939,16 @@ void PythonQtImport::init() PythonQtImportError = PyErr_NewException(const_cast("PythonQtImport.PythonQtImportError"), PyExc_ImportError, nullptr); - if (PythonQtImportError == nullptr) + if (PythonQtImportError == nullptr) { + Py_XDECREF(mod); return; + } Py_INCREF(PythonQtImportError); if (PyModule_AddObject(mod, "PythonQtImportError", PythonQtImportError) < 0) { Py_DECREF(PythonQtImportError); + Py_DECREF(mod); return; } @@ -952,6 +956,7 @@ void PythonQtImport::init() if (PyModule_AddObject(mod, "PythonQtImporter", (PyObject *)&PythonQtImporter_Type) < 0) { Py_DECREF(&PythonQtImporter_Type); + Py_DECREF(mod); return; } @@ -960,4 +965,5 @@ void PythonQtImport::init() PyObject* path_hooks = PySys_GetObject(const_cast("path_hooks")); // insert our importer before all other loaders PyList_Insert(path_hooks, 0, classobj); + Py_DECREF(mod); } diff --git a/src/PythonQtInstanceWrapper.cpp b/src/PythonQtInstanceWrapper.cpp index 5265c6af..5ca06b71 100644 --- a/src/PythonQtInstanceWrapper.cpp +++ b/src/PythonQtInstanceWrapper.cpp @@ -91,7 +91,7 @@ static void PythonQtInstanceWrapper_deleteObject(PythonQtInstanceWrapper* self, } } else { //mlabDebugConst("Python","qobject wrapper removed " << self->_obj->className() << " " << self->classInfo()->wrappedClassName().latin1()); - if (self->_objPointerCopy) { + if (self->_objPointerCopy && PythonQt::self() && PythonQt::priv()) { PythonQt::priv()->removeWrapperPointer(self->_objPointerCopy); } if (self->_obj) { diff --git a/src/PythonQtSignalReceiver.cpp b/src/PythonQtSignalReceiver.cpp index c98605d3..67def844 100644 --- a/src/PythonQtSignalReceiver.cpp +++ b/src/PythonQtSignalReceiver.cpp @@ -100,9 +100,9 @@ PyObject* PythonQtSignalTarget::call(PyObject* callable, const PythonQtMethodInf } } - PyObject* pargs = nullptr; + PythonQtObjectPtr pargs; if (count>1) { - pargs = PyTuple_New(count-1); + pargs.setNewRef(PyTuple_New(count-1)); } bool err = false; // transform Qt values to Python @@ -134,10 +134,6 @@ PyObject* PythonQtSignalTarget::call(PyObject* callable, const PythonQtMethodInf PythonQt::self()->handleError(); } } - if (pargs) { - // free the arguments again - Py_DECREF(pargs); - } return result; } diff --git a/src/PythonQtSlot.cpp b/src/PythonQtSlot.cpp index 16c8ab6f..0636b604 100644 --- a/src/PythonQtSlot.cpp +++ b/src/PythonQtSlot.cpp @@ -568,12 +568,12 @@ meth_get__doc__(PythonQtSlotFunctionObject * m, void * /*closure*/) } else { PythonQtClassInfo* returnTypeClassInfo = PythonQt::priv()->getClassInfo(returnType); // a class wrapper needs not necessarily to exist - if (returnTypeClassInfo && returnTypeClassInfo->pythonQtClassWrapper()) { - PyObject* s = PyObject_GetAttrString(returnTypeClassInfo->pythonQtClassWrapper(), "__module__"); - if (s) { - pyReturnType = QByteArray(PyString_AsString(s)) + "." + returnType; - Py_DECREF(s); - } + if (returnTypeClassInfo && returnTypeClassInfo->pythonQtClassWrapper()) { + PyObject* s = PyObject_GetAttrString(returnTypeClassInfo->pythonQtClassWrapper(), "__module__"); + if (s) { + pyReturnType = QByteArray(PyString_AsString(s)) + "." + returnType; + Py_DECREF(s); + } } } if (!pyReturnType.isEmpty()) {